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
48a4b9f9132abd20200e89319c322fb942b10b90
5,528
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.11.17 at 11:49:...
25.953052
127
0.665159
98129b18778c89b5ab7723342c941a3247a86997
617
package de.uniks.networkparser.test; import java.io.File; import java.io.IOException; import java.nio.file.Files; import org.junit.Test; import de.uniks.networkparser.parser.JavaParser; import de.uniks.networkparser.parser.SymTabEntry; public class JavaParserTest { @Test public void testJavaParser() throws IOExc...
25.708333
124
0.774716
778f9bca1b6aa1fde3b80e8d753092e906503912
30,712
package com.immersion.hapticmediasdk; import android.content.Context; import android.os.Handler; import android.os.SystemClock; import com.immersion.aws.analytics.AnalyticsDataCollector; import com.immersion.aws.analytics.DefaultAnalyticsCollectors; import com.immersion.aws.analytics.ImmrAnalytics; import com.immersio...
35.962529
261
0.570917
7f32a19560da01705458f16dc7c75f908ede781e
5,423
/** * VMware Continuent Tungsten Replicator * Copyright (C) 2015 VMware, 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/licen...
27.810256
162
0.630463
ba0050e79cf7dcb643d2ddc794f9279ad464a921
2,687
package seedu.address.logic.command.delete; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.ParserUtil.ACTIVITY_INDEX; import java.util.List; import seedu.address.commons.core.Messages; import seedu.address.commons.core.index.Index; import seedu.address.logic.command.CommandR...
36.808219
115
0.718273
c4f7fa26f80fcda1aa0a2411fdea7506a7ca86ab
149
package com.liuenci.dao; import com.liuenci.pojo.Dept1; import java.util.List; public interface DeptMapper1 { List<Dept1> selectAllDept(); }
13.545455
32
0.744966
886084222c21ba784c02d91717825c3ad7bf9194
3,988
package org.openur.module.service.security; import java.util.Set; import javax.inject.Inject; import org.apache.commons.lang3.Validate; import org.openur.module.domain.security.authorization.IAuthorizableTechUser; import org.openur.module.domain.security.authorization.IPermission; import org.openur.module.domain.use...
34.08547
164
0.790371
d0cb910f2b7a3759f38ca267bec39e327974d830
2,680
package ua.knu.csc.entity; import java.util.*; // directed graph (or digraph) public class Digraph { private final Map<Vertex, List<Vertex>> adjacencyList = new HashMap<>(); private final Map<Vertex, Integer> indegree = new HashMap<>(); // checks if the specified vertex is in the graph private void ...
29.777778
105
0.631716
389e2d3ecb803ef26cd0b35c028057e6fb9f4722
9,165
package at.porscheinformatik.antimapper; import static at.porscheinformatik.antimapper.TestUtils.*; import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assert.*; import java.util.Collections; import java.util.Map; import java.util.SortedSet; import j...
41.849315
119
0.654446
6c20a32019e526c226af5ccafd8e518d3551da6f
305
package com.exerciseday6; import java.util.*; public class Exercise_3 { public static void main(String[] args) { // TODO Auto-generated method stub List<Integer> rev = new ArrayList<>(); for(int i = 1; i<=10; i++) { rev.add(i); } Collections.reverse(rev); System.out.println(rev); } }
17.941176
41
0.652459
55272d732b9cd85dc64e6d3ec5e8e43505b706aa
4,709
package org.basex.http.restxq; import static org.junit.Assert.*; import java.io.*; import org.basex.core.*; import org.basex.util.http.*; import org.junit.*; /** * This test contains RESTXQ methods. * * @author BaseX Team 2005-16, BSD License * @author Christian Gruen */ public final class RestXqMethodTest ext...
34.123188
98
0.599703
62f2cc4910ca04c84229eb2d142e1617ab1246cc
244
package com.open9527.router.inter; import com.open9527.annotation.router.RouteMeta; import java.util.Map; /** * @author open_9527 * Create at 2021/3/1 **/ public interface IRouteGroup { void loadInto(Map<String, RouteMeta> atlas); }
16.266667
48
0.729508
c1cacb4280b12ae79f4679aad5e68e04f4e2016e
28,747
package com.massivecraft.massivecore.util; import com.massivecraft.massivecore.cmd.CmdMassiveCore; import com.massivecraft.massivecore.collections.MassiveList; import com.massivecraft.massivecore.command.MassiveCommand; import com.massivecraft.massivecore.mson.Mson; import com.massivecraft.massivecore.mson.MsonE...
29.393661
158
0.61836
2193043d5b8928531891c0c6b7ee72e6030e0fdf
15,517
package com.linkedin.dagli.object; import com.linkedin.dagli.function.FunctionResult1; import com.linkedin.dagli.producer.Producer; import com.linkedin.dagli.transformer.PreparedTransformer1; import com.linkedin.dagli.util.array.ArraysEx; /** * Methods that create transformers for common conversions. * * Unless o...
44.717579
121
0.686473
3227230fa19419eeeb39a6dc27a3b885839a00c9
6,457
package com.squareup.okhttp.internal.http; import com.squareup.okhttp.C; import com.squareup.okhttp.I; import com.squareup.okhttp.J; import com.squareup.okhttp.K; import com.squareup.okhttp.Protocol; import com.squareup.okhttp.internal.l; import com.squareup.okhttp.internal.spdy.M; import com.squareup.okhttp.internal....
30.457547
251
0.633421
9646543a3c7cd101a47329b1539cbae533d1ffee
803
package com.manriqueweb.thetvdbclient.services; import com.manriqueweb.thetvdbclient.TheTvDBClient; import com.manriqueweb.thetvdbclient.entities.SerieResponse; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.Query; public interface SearchSeries { @GET("search/...
32.12
79
0.809465
66a183ba5ad6c96483b6b9fc5cab87aeee579b72
516
package com.google.android.gms.internal.ads; import java.io.Closeable; import java.io.IOException; import java.nio.ByteBuffer; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ public interface zzeok extends Closeable { void close() throws IOException; long position() throws IOException; ...
24.571429
69
0.746124
fc13c58c9bc5e5be64c068627d82408a7060d5d8
649
/** * */ package ficheros.excepciones; /** * Clase con las excepciones que se puede producir al leer un fichero de personal * @author Fabricio Isaac Maldonado */ @SuppressWarnings("serial") public class ExceptionLeerPersonal extends Exception { /** * Constructora por defecto de la excepcion */ public Exce...
18.027778
81
0.707242
77c182c975a1ae8b1745d3980b7a1d53d24af0de
367
package travel_agency.transport; public class Seat { private final int seatID; private boolean reserved; public Seat(int seatID) { this.seatID = seatID; reserved = false; } public int getSeatID() { return seatID; } public boolean isReserved() { return reserved; } public void setReserved(boolean...
15.291667
44
0.702997
4b992042c8bb3aff7c8d75675622aa6404ca3f19
2,324
package com.acme.testing.junit5.core.basic; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.RepetitionInfo; import org.junit.jupiter.api.TestInfo; ...
36.3125
168
0.71988
7c64ce3dd51ba3cf061f59d6b12c0323ef1fcdbe
4,325
package com.showcase.register.config; import org.springframework.boot.context.properties.ConfigurationProperties; /** * Properties specific to JHipster. * * <p> * Properties are configured in the application.yml file. * </p> */ @ConfigurationProperties(prefix = "project", ignoreUnknownFields = false) public...
24.573864
110
0.564393
798332cee61c7500e4a0485f9b1608cb6a32ab2a
1,476
/* * 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...
25.894737
78
0.750678
feea3c2aa403a1a11c411a0d0fbd0873aee58e77
618
package com.mzw.pattern.builder; /** * @author Jonathan Meng * @date 06/05/2019 */ public class BuilderPatternDemo { public static void main(String[] args) { MealBuilder mealBuilder = new MealBuilder(); Meal vegMeal = mealBuilder.prepareVegMeal(); System.out.println("veg meal"); ...
28.090909
65
0.642395
bc01e7b4d0a78634848bad97e98c44e821b697e7
441
package aeadvent.code2021.day12.istvan; public record Cave(String name) { public static Cave fromString(String input) { return new Cave(input); } public boolean isBig() { var firstChar = name.charAt(0); return firstChar >= 'A' && firstChar <= 'Z'; } public boolean isStart...
20.045455
52
0.589569
9f22dc717acacd60ecbeabb1d85999db7420b1d4
941
/* * KVertexBetweennessWeightedScorer.java * Created on Apr 24, 2011 * Copyright(c) 2011 Yoshiaki Matsuzawa, Shizuoka University. All rights reserved. */ package kbdex.adapters.jung.scorer; import org.apache.commons.collections15.Transformer; import edu.uci.ics.jung.algorithms.scoring.PageRank; import ...
25.432432
83
0.727949
ac150a62bdc5d32d2ad7ddeaf53ce7efc9ef0707
962
package com.twu.biblioteca; public class PrinterTests { // @Test // public void ShouldReturnWelcomeStatementWhenProgramRuns() { // Library library = new Library(); // assertEquals("Welcome to Biblioteca. Your one-stop shop for great book titles in Bangalore!", library.Welcome()); //// asser...
37
123
0.606029
4cf1d848fc8d5261f968d75983fb9d5d90365fdd
4,648
/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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...
38.413223
116
0.688683
ececab2c03505bea14b5a2b4e4a169a734f4da30
21,815
package it.unimi.di.law.bubing.util; /* * Copyright (C) 2012-2017 Paolo Boldi, Massimo Santini, and Sebastiano Vigna * * 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...
35.413961
201
0.691497
570d5e7f6360d68471d9ba351641def97930202d
2,204
package com.sixsq.slipstream.module; /* * +=================================================================+ * SlipStream Server (WAR) * ===== * Copyright (C) 2013 SixSq Sarl (sixsq.com) * ===== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
31.042254
87
0.665608
f31ec4c0c864b5d8ad5a294eebe79aef888579d4
11,593
/* * 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 ...
50.404348
136
0.70301
4713089f4f054ba7ec74af392dd95b270ac8d1d8
1,269
/* Copyright (c) 2013 OpenPlans. All rights reserved. * This code is licensed under the BSD New License, available at the root * application directory. */ package org.geogit.storage.sqlite; import org.geogit.storage.ConfigDatabase; import org.geogit.storage.GraphDatabase; import org.geogit.storage.ObjectDatabase; i...
32.538462
89
0.760441
ee5a8a5745f39ee59ea49af96df905e34bead102
4,493
/* * 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...
59.118421
126
0.81371
2b4309ebadb22ddaf05677a049271063e111d203
3,692
package com.cose.easywu.message.fragment; import android.content.Intent; import android.preference.PreferenceManager; import android.view.View; import com.cose.easywu.db.HXUserInfo; import com.cose.easywu.find.activity.FindGoodsInfoActivity; import com.cose.easywu.home.activity.GoodsInfoActivity; import com.hyphenate...
33.261261
105
0.641658
fcc6b60c49390c74b9472323f3e52ea05b0b2ef3
979
package io.corbel.lib.token; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author Cristian del Cerro */ public class TokenGrant { private final String accessToken; private final long expiresIn; public TokenGrant(String accessToken, long expiresIn) { this.accessToken ...
19.196078
110
0.728294
72e826f2c2e5a53f5aa740f0dceca64233dfb352
639
package com.andyhawkes.express.functions; import com.andyhawkes.express.Function; import com.andyhawkes.express.exceptions.EvaluationException; import com.andyhawkes.express.utils.Converter; import java.io.FileInputStream; import java.io.IOException; public class LoadFileFunction implements Function { @Override ...
29.045455
82
0.72457
8e33162605410dc1e737125063295d0d6d3d5097
4,006
package fr.esiea; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestContro...
33.949153
127
0.634548
78a15c4a342ff084a15e887015c83e11f3cd67eb
1,954
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.codeInsight; import com.intellij.codeInsight.daemon.LineMarkerInfo; import com.intellij.codeInsight.daemon.impl.LineMarkersPass; import com.intellij....
32.032787
140
0.716991
1ee78f0ac8f2e79ba62e143330fde40fbb9cabc6
5,321
package com.ofte.file.services; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.LinkedList; import java.util.Map; import org.apache.commons.io.IOUtils; import com.jcraf...
29.893258
75
0.690848
7a78659aef4c3c2f783ae456ae09a46612e02141
1,395
// Copyright 2019 The Bazel Authors. 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 appl...
25.363636
89
0.688172
d57f5098293a701b449e6c31354ce36d2f3ca476
460
package com.loiane.java; import java.util.Scanner; public class Exerc02 { public static void main(String[]args) { Scanner scan = new Scanner(System.in); System.out.println("Entre com um numero :"); int num = scan.nextInt(); if(num >= 0){ System.out.prin...
20.909091
66
0.563043
53c0982902beb7f1ca4e5fe8649ea3c13b4171cd
11,629
/* Copyright (c) 2010-2015 Vanderbilt University * * 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, m...
34.202941
111
0.692235
9cf64f3aeb9090431a92bf2d305898107319c82f
1,271
/* * Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 re...
33.447368
82
0.75295
9822eb0a53bfc74dab03a379d890b8edbcc8fec2
514
import java.rmi.Remote; import java.rmi.RemoteException; import java.util.Vector; public interface ClientInterface extends Remote { public void refreshList(Vector namevec, Vector idvec) throws RemoteException; public void setMessage(String id, String msg, String time, Vector smileynum) throws RemoteExcepti...
32.125
103
0.787938
9e63fba27e8a0959c23f1eac4b885edf7f8d1500
2,668
/* * 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 ...
31.388235
105
0.728261
bd113b83502416480feb7bcd6e992da03b5e7262
2,944
package chapter40_dynamic_programming; import java.util.Random; public class KnapsackProblem01LessSpace { public static void main(String[] args) { KnapsackProblem01LessSpace knapsackProblem01 = new KnapsackProblem01LessSpace(); int[] itemsWeight = knapsackProblem01.generateItems(10000, 15000); ...
33.83908
108
0.532609
08231819ce5fd57269bdf6b634b944b6f6a6ffb2
891
package com.uiparts.richbuttons.demo.slice; import com.uiparts.richbuttons.demo.ResourceTable; import ohos.aafwk.ability.AbilitySlice; import ohos.aafwk.content.Intent; import ohos.agp.components.Button; public class MainAbilitySlice extends AbilitySlice { Button plastic; @Override public void onStart(In...
27
71
0.710438
c2f21f6b58cdcd9e2ca59549f7dc2ca996b9aae0
574
package com.wuroc.chapternine; public class AnImplementation implements AnInterface { @Override public void firstMethod() { System.out.println("firstMethod"); } @Override public void secondMethod() { System.out.println("secondMethod"); } public static void main(String[] args) { AnIn...
16.882353
55
0.681185
baa2fb5e1f6adbf8d088ee4213f6113244b87626
2,908
package org.ayo.robot.anim.path; import android.animation.ValueAnimator; import android.graphics.Path; import android.graphics.PathMeasure; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.animati...
30.93617
91
0.654058
0855b367e0e35591e80a7f58d924b494b87ac689
983
package org.squiddev.plethora.integration.cbmp; import codechicken.multipart.PartMap; import codechicken.multipart.TSlottedPart; import com.google.common.collect.Maps; import org.squiddev.plethora.api.meta.BasicMetaProvider; import org.squiddev.plethora.api.meta.IMetaProvider; import javax.annotation.Nonnull; import ...
31.709677
82
0.765005
539c7f5d62789e2d29fada6ac28a0875092de272
846
package io.github.mmm.crypto.symmetric.key; import io.github.mmm.crypto.AbstractCryptoFactory; import io.github.mmm.crypto.key.KeyCreatorFactory; /** * Interface for a {@link AbstractCryptoFactory factory} to {@link #newKeyCreator() create} instances of * {@link SymmetricKeyCreator} for symmetric cryptographic keys...
36.782609
120
0.765957
cefda59a0572ca27eed6dc3727919ce0b7aac7eb
2,428
package com.ags.modules.sys.controller; import java.util.Arrays; import java.util.Map; import com.ags.common.validator.ValidatorUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariabl...
26.107527
77
0.702636
37c2359bb51c4bfd53a8a2a62ef2c139b9c3f972
236
package com.miage.pandemie.business.carte; import com.miage.pandemie.business.enumparam.ERole; /** * * @author alex */ public class Role extends Carte{ public Role(ERole role) { super("/Roles",role.name()); } }
16.857143
51
0.652542
9fa894cce42323da0d6035b5ff6a9ddeae8bbca3
930
package array; /** * 在一条环路上有 N 个加油站,其中第 i 个加油站有汽油 gas[i] 升。 * 你有一辆油箱容量无限的的汽车,从第 i 个加油站开往第 i+1 个加油站需要消耗汽油 cost[i] 升。你从其中的一个加油站出发,开始时油箱为空。 * 如果你可以绕环路行驶一周,则返回出发时加油站的编号,否则返回 -1。 * * 解法: * 1. O(N )的解法,对每个点进行模拟 * 2. O(N) 的解法是,设置两个变量, sum 判断当前的指针的有效性; total 则判断整个数组是否有解,有 * 就返回通过 sum 得到的下标,没有则返回-1。 */ public class ...
25.135135
77
0.517204
e8e8b973704b467bd1984c93251415583d2fbd97
839
/* * 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 pl.altkom.gemalto.spring.ws.client; import java.net.Authenticator; import pl.altkom.gemalto.spring.ws.CrmWebServiceImplService...
23.971429
79
0.67938
070834ee76a0a7b8d1aa6baff49d43d990eb7fd9
2,468
@Override public double[] aggregatePredictions(BasePredictions bp) throws Exception { int numClasses = bp.getNumClasses(); double[] p = new double[numClasses]; double[][] r = new double[numClasses][numClasses]; int numBaseClassifiers = bp.getNumPredictions(); for (int i =...
39.174603
92
0.419773
1ee34783dbad77459c6cf265130b8556b620da6c
3,587
package cfvbaibai.cardfantasy.engine.skill; import cfvbaibai.cardfantasy.GameUI; import cfvbaibai.cardfantasy.data.Skill; import cfvbaibai.cardfantasy.engine.*; import cfvbaibai.cardfantasy.data.SkillType; import java.util.List; public final class UnderworldCall { public static void apply(SkillResolver resolver,...
47.197368
153
0.51826
5c0b807aa075047912880c317900bfd92e80e777
2,365
package com.study.mz.study.recyclerview; import android.graphics.Rect; import android.os.Bundle; import android.view.View; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.jaeger.libr...
39.416667
144
0.727273
83de230a6b72f8589298aaef025d1c6c30b0b4e1
4,605
package ru.spb.reshenie.vaadindemo.ui.moderator; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.grid.Grid; import com.vaadin.flow.component.icon.Icon; import com.vaadin.flow.component.icon.VaadinIcon; import com.vaadin.flow.component.ordered...
33.613139
98
0.683388
8b32c4c6dfaafab4f47e0bb82d72cd07892b5e35
780
package com.squareup.okhttp.internal.spdy; import java.io.IOException; import java.util.List; import java.util.Set; final class E extends com.squareup.okhttp.internal.c { E(A paramA, String paramString, Object[] paramArrayOfObject, int paramInt, List paramList) { super(paramString, paramArrayOfObject); } ...
22.285714
92
0.644872
fcd0dc2cbcb610c5ad2a7e3a14a57506a66f16ad
5,733
package eu.sanjin.kurelic.cbc.business.services; import eu.sanjin.kurelic.cbc.business.utility.LocaleUtility; import eu.sanjin.kurelic.cbc.business.viewmodel.info.*; import eu.sanjin.kurelic.cbc.repo.dao.CityDescriptionDao; import eu.sanjin.kurelic.cbc.repo.dao.TripHistoryDao; import eu.sanjin.kurelic.cbc.repo.dao.Use...
38.22
146
0.663701
d2d0c59b6a157376e3a0f9ca8526630a5cd28172
9,059
/* * Copyright (C) 2007 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...
30.60473
79
0.687052
5aaa947e618a304cd0905633b326d3b0dc68f108
716
package cn.tedu.note.aop; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.Signature; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.stereotype.Component; /** * 对软件的业务层进行性能测试 */ @Component @Aspect public class TimeAspect { @Aro...
18.842105
48
0.723464
53c38c9381cd90a72ca48a1f1521f5e2124fe998
1,136
package nl.davinci.davinciquest.Entity; /** * Created by Vincent on 8-12-2016. */ public class Highscore { private int id; private int score; private int userId; private int questId; private User user; private int markersCompleted; public int getId() { return id; } ...
15.777778
59
0.572183
a24e666cd3ba8f130ca3bc91bb07eec80eec79ca
8,712
package net.osmand.plus.backup; import android.os.AsyncTask; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import net.osmand.plus.OsmandApplication; import net.osmand.plus.backup.BackupImporter.CollectItemsResult; import net.osmand.plus.backup.BackupImporter.NetworkImportProgressListener; ...
33.898833
116
0.741047
e6f7cea942cde11dc251790c68b162b6d7876dd6
254
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ /** * Beans used in providing FFDC context and support to open metadata and governance. */ package org.odpi.openmetadata.commonservices.ffdc.properties;
36.285714
84
0.76378
719e0fdb0a7432b89df7fea65f6fbbc0407db32f
1,547
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 废弃奖品池奖品 * * @author auto create * @since 1.0, 2019-08-19 15:59:02 */ public class AlipayMarketingCampaignPrizepoolPrizeDeleteModel extends AlipayObject { private static final l...
17.988372
85
0.664512
8f088873078e4deaeb57a5e35f392c72e6501387
17,926
package org.recap.matchingalgorithm.service; import com.google.common.collect.Lists; import org.apache.camel.ProducerTemplate; import org.apache.commons.collections.CollectionUtils; import org.apache.solr.client.solrj.SolrServerException; import org.recap.ScsbCommonConstants; import org.recap.ScsbConstants; import org...
47.049869
225
0.714214
49bbe0271f5cd80abb477a9b35b2ab00a5bd9752
99
package minek.ckan.v3.basic.model.enums; public enum ApprovalStatus { approved, denied }
16.5
41
0.717172
9ddb4eb280352ebd3405993675ce5f141c46130b
138
package com.tuyano.libro; public interface SampleBeanInterface { public String getMessage(); public void setMessage(String message); }
19.714286
40
0.797101
ba46b8c0868f1c199be36b0a7cc690f14a3bd5ce
5,180
/* * MIT License * * Copyright (c) 2018 atharva washimkar * Copyright (c) 2019 Vincent Palazzo vincenzopalazzodev@gmail.com * * 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 r...
31.204819
92
0.610618
7136376844586263745df3d25f2a595c5dc63e10
2,596
package com.intershop.adapter.payment.partnerpay.internal.service.config; import java.util.Collection; import java.util.function.Supplier; import javax.inject.Inject; import javax.inject.Named; import com.intershop.adapter.payment.partnerpay.internal.service.PartnerPayServiceIfc; import com.intershop.beehive.configu...
44
157
0.782743
b3c971617c0a34cf96346a0402e32558d998b237
351
package com.savstanis.btcs.exceptions; public class SemanticAnalysisException extends RuntimeException { public SemanticAnalysisException() { } public SemanticAnalysisException(String message) { super(message); } public SemanticAnalysisException(String message, Throwable cause) { ...
23.4
71
0.723647
8de1596489bb646eca42a76190591c2a48f59d5d
1,766
package pacman.game; import algorithms.core.ISearchAlgorithm; import java.awt.Point; /** * Интерфейс управления моделью игры. * <p> * Определяет базовый интерфейс управления моделью игры со стороны контроллера. */ public interface IControlableGameModel { //----------------------------------------...
29.433333
80
0.6359
e597821ea0f9426593443c803db04d67bc3dade7
7,350
package l9g.app.jsmtptest; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import javax.xml.bind.JAXB; import lombok.Getter; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.goo...
27.52809
102
0.648435
22677d4a1ec01b474a1c517ceadd2e69457ced89
1,815
package net.mgsx.game.plugins.g2d.systems; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.badlogic.ashley.systems.IteratingSystem; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import net.mgsx.game.core...
33
137
0.783471
3d747a5aa91c22ac0196b6191d9b1a19956b09b2
386
package pro.taskana.spi.history.api.events.task; import pro.taskana.task.api.models.Task; public class TaskUpdatedEvent extends TaskHistoryEvent { public TaskUpdatedEvent(String id, Task updatedTask, String userId, String details) { super(id, updatedTask, userId, details); eventType = TaskHistoryEventType....
29.692308
87
0.766839
b5746a7ef48d860f8e57dcc3bf3467dccfd598cc
1,230
package ru.job4j.converter; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * * @author Rustem Mukazhanov (r.mukazhanov@gmail.com) * @version $Id$ * @since 0.1 */ public class ConverterTest { /** * Test tengeToDollar. */ @Te...
22.363636
53
0.612195
6da2a9a30c89c80c56c1de2607aa552aae0b19ca
7,067
package com.github.yoojia.anyversion; import android.app.Application; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.text.TextUtils; import android.util.Log; ...
31.269912
102
0.603226
1409c6b16e1d1e7bf553575b1c7ae8db174f3096
6,646
/* * Copyright (c) 2019, 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 * * Unless...
35.540107
101
0.664309
8f94e837ace4f67e0bdebbf49f778945c2c0ec47
673
package com.sap.cec.mkt.insight.models; import com.fasterxml.jackson.annotation.JsonProperty; import com.sap.cloud.sdk.result.ElementName; public class UserDetails { @ElementName("UserID") @JsonProperty("UserID") private String userID; @ElementName("FirstName") @JsonProperty("FirstName") pri...
21.03125
53
0.707281
a1a9c1073f9c5f735570f628366209f35575490b
1,498
package com.ruoyi.note.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiMod...
23.777778
69
0.684246
3a4531cdd720e9f273f1acef903de072a19d3e51
9,903
package mffs.base; import com.google.common.io.ByteArrayDataInput; import dan200.computer.api.IComputerAccess; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.ISidedInventory; import net.minecraft.it...
31.239748
170
0.712915
2008da2e702401c842425742e950e8e9078bbad4
472
package com.csselect.game; /** * This class represents a termination cause in which case the * termination is only caused by a command of the organiser, it is * a null object without functionality. */ public class OrganiserTermination extends Termination { private static final String TYPE = "organiser"; @...
22.47619
66
0.690678
7370a55671ad9abb64b1182dc720a32ec53923e5
1,870
package com.infoclinika.mssharing.model.internal.repository; import com.infoclinika.mssharing.model.internal.entity.restorable.DeletedFileMetaData; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.query.Param; i...
51.944444
120
0.73369
19351ca557f3f3773b762419e9d9b96635962287
1,108
package com.donkeycode.service; import java.util.List; import com.donkeycode.boot.IBaseService; import com.donkeycode.core.page.PageFilter; import com.donkeycode.core.page.PageResult; import com.donkeycode.data.entity.BaseMenu; /** * 菜单资源管理 * @author liuyadu */ public interface BaseMenuService extends IBaseServic...
15.828571
65
0.564982
60cdef4910049bd5d1c82f67c618c95b86709e89
841
package org.cord.ignite.mode; import org.apache.ignite.cache.affinity.AffinityKeyMapped; /** * @author: cord * @date: 2018/8/15 23:05 */ public class PersonKey { private long id; @AffinityKeyMapped private long organizationId; public PersonKey(){ } public PersonKey(long id, long organiz...
17.893617
68
0.576694
95698b5b31ed74ac401da4c87f30ca33b38d4016
718
package org.saiku.olap.util; import org.apache.commons.lang.StringUtils; public class SaikuDictionary { public enum DateFlag { CURRENT, LAST, AGO, EXACT, CURRENTWEEK, LASTWEEK, LAST7, CURRENTMONTH, LASTMONTH, CURRENTYEAR, LASTYEAR, IGNORE }; public final static String DateFlags = "DateF...
17.95
69
0.703343
313edb22c4794de5cf62457b5026aab4088f65b8
1,354
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.ml.action; import org.elasticsearch.action.Ac...
43.677419
133
0.804284
d6575f08e03b4affb7460c22d73607d41c3ebbd1
4,308
package org.smartregister.domain.db.mock; import org.joda.time.DateTime; import org.smartregister.domain.Event; import org.smartregister.domain.Obs; import java.util.List; import java.util.Map; /** * Created by kaderchowdhury on 20/11/17. */ public class EventMock extends Event { public EventMock(String bas...
22.673684
179
0.660631
83d1070bd53f5ec04641a58ac8a3e8b9d0122a3c
52
package administracao; public class matricula { }
8.666667
24
0.769231
da8a5cf185848b21f3f686f18e7e686473932782
3,140
package edu.cooper.ece366.project.borsa.server.controller; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import edu.cooper.ece366.project.borsa.server.exception.ResourceNotFoundException; import edu.cooper.ece366.project.borsa.server.model.Asset; import ...
48.307692
103
0.756051
c7066f222fb4472c318468103145b80a83ddfed6
1,993
/** * * Copyright 2004-2005 The Apache Software Foundation * * 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...
34.964912
163
0.70296
d2329e6e821d4d0247bef5e00f74a211ba2256a1
1,249
package com.android.volley.orientation; /** * Created by Administrator on 2016/10/21. */ public class OrientationOperationFactory { public static OrientationOperation createOrientationOperation(int number) { OrientationOperation orientationOperation = null; switch (number) { case ...
27.755556
79
0.548439
a7b39d99ac4620a4005065231273f65494310282
332
package com.nlf.extend.session; import com.nlf.App; /** * session配置 */ public class SessionConfig { /** 默认保持秒数 */ public static final int DEFAULT_MAX_INACTIVE_INTERVAL = 1800; /** 保持秒数 */ public static final int MAX_INACTIVE_INTERVAL = App.getPropertyInt("session.max_inactive_interval",DEFAULT_MAX_INACTIVE_...
25.538462
132
0.759036
f69c6bd80d1f86108cc6fee409734eeb27770d13
975
package com.tencentcloud.spring.boot.tim.resp.callback; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; /** *单聊消息已读上报后回调 * https://cloud.tencent.com/document/product/269/6169...
19.897959
61
0.735385
d27ee09d286066b33dd0641d43db148b937b01b5
130
package projects.nyinyihtunlwin.news.network; /** * Created by Dell on 12/9/2017. */ public abstract class MMNewsResponse { }
14.444444
45
0.730769
9c258267a3a5f3b4c3001c1a8cbaa8451c33ee72
1,956
/* * Copyright 2019 Mitsunori Komatsu (komamitsu) * * 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 applicabl...
27.549296
90
0.707566
9fe4458fa21b8494deb48bde584ae462de6ce2b8
2,953
package dev.cheerfun.pixivic.biz.web.comment.mapper; import dev.cheerfun.pixivic.biz.web.comment.po.Comment; import org.apache.ibatis.annotations.*; import java.util.List; public interface CommentMapper { @Insert("insert into comments (app_type, app_id,parent_id,reply_from,reply_from_name,reply_to,reply_to_name,...
59.06
229
0.663393
eddbb7e46c6b9e6adfa04315a9b6b565d875a04d
1,988
package dk.jarry.todo.entity; import java.time.ZonedDateTime; import java.util.UUID; public class ToDo { private String id; private String subject; private String body; private ZonedDateTime created; private ZonedDateTime updated; private ZonedDateTime start; private ZonedDateTime end; private Integer pr...
15.653543
48
0.711268
140a7224a326c71888bff3a5e26d4ad040101630
9,251
/* * 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 ...
34.909434
281
0.592476