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
0180352e44730a67d78d69fa44b8ad3841ecc908
6,091
/* * Copyright 2019 Dropbox, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
43.198582
121
0.64111
6e162cb10bc8b4268abcfceb5e13f6f15f8b75e0
2,170
package com.xue.demo.service; import com.xue.demo.netty.ChatMsg; import com.xue.demo.pojo.Users; import com.xue.demo.pojo.vo.FriendRequestVO; import com.xue.demo.pojo.vo.MyFriendsVO; import java.util.List; /** * Created by Mingway on 2019/5/2. */ public interface UserService { /** * 判断用户名是否存在 * @para...
19.375
79
0.603687
bd16113a6a6adfdc9aa67056262bd07689b8503b
2,137
package com.bradz.dotdashdot.randomreddit.services; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.Binder; import android.os.Handler; import android.os.IBinder; import com.android.volley.RequestQueue; import com.bradz.dotdashdot.randomreddit.adapters.SyncA...
29.680556
117
0.67197
d329c1e7c20c5c1a8839bd73568b1d4980c65fb9
704
package com.xiaobin.springaopannonation; import com.xiaobin.service.UserService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import javax.annotation.Resource; @RunWith(Spr...
24.275862
71
0.708807
f3276f83cafa969ffe3fd40d27e980d71cddedcd
49,917
/* * 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 ...
28.106419
118
0.704169
9394695215c6407f85942b8e2de57ed5ea4f7a78
2,545
/* * Copyright (c) 2016, josh * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditions and t...
42.416667
80
0.768173
0a81cdd690b7797494f64d38d6ff84cba47af22d
5,271
/* * 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...
43.204918
162
0.669133
b6172522dbe8fd2262c8afcd493d235e470c784f
26,209
package org.folio.circulation.support; import java.net.MalformedURLException; import org.folio.circulation.rules.CirculationRulesProcessor; import org.folio.circulation.services.PubSubPublishingService; import org.folio.circulation.support.http.client.OkapiHttpClient; import org.folio.circulation.support.http.server....
36.810393
107
0.809874
c21e180b6a9945ae820b12ecf45047ac89bee58c
2,803
package xyz.rk0cc.willpub.pubspec.data; import xyz.rk0cc.josev.SemVer; import xyz.rk0cc.willpub.pubspec.data.dependencies.*; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.net.URL; import java.util.Map; /** * Interface that defining <code>pubspec.yaml</code> field structure to {@link...
21.728682
116
0.596504
08a527039dada97c2e7cb51fd24520f06fb341a2
10,870
/* * Copyright 2015 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 required by applica...
38.546099
119
0.622171
8326e2a9b3c4bcfc65a79727b0870e33bcb07dcd
1,337
package se.ltu.kitting.test; import java.util.*; import se.ltu.kitting.model.Layout; import se.ltu.kitting.model.Surface; import se.ltu.kitting.model.Part; import se.ltu.kitting.model.Dimensions; public class FirstDemoLayouts { // Need to be placed in other order than given, 160 000 points empty, should not rotate....
24.309091
89
0.617053
6acd53b9f36053a7af30af0f4c590bc0b9b8940d
2,164
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
46.042553
153
0.781885
b619b29fc93a32a4c069033a3ea16a02eff24c59
1,879
package com.sparrow.data.tools.validate; public class ValidateError { private String rowId; private String name; private String value; private String error; private int sheet; private int row; private int column; public ValidateError() { } public ValidateError(String rowId, S...
19.989362
79
0.551889
9bb45e85fe5dfe6304f4f75d150699fe10a97859
3,448
package cz.wake.manager.listener; import cz.craftmania.craftlibs.utils.ChatInfo; import cz.wake.manager.Main; import org.bukkit.Material; import org.bukkit.craftbukkit.libs.org.apache.commons.lang3.tuple.Pair; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; impo...
37.478261
128
0.612529
f85add52ffed249fc3556e3aaa57d1a10d451058
917
package cc.dc.algorithm.newcow; /** * 已知一个数组,判断数组是不是二叉树的后续遍历的结果 */ public class day01_1226 { public static void main(String[] args) { int[] array = {1,4,3,5,6,7}; System.out.println(isLast(array)); } private static boolean isLast(int[] array) { if (array.length == 0) { ...
22.925
82
0.476554
614d1a072753004388c2efe277275740b333bbb2
1,079
package com.richard.weger.wqc.domain; import java.util.ArrayList; import java.util.List; public class DrawingRef extends ParentAwareEntity { public DrawingRef() { this.dnumber = 0; this.reports = new ArrayList<>(); this.parts = new ArrayList<>(); setParent(new Project()); } private int dnumber; privat...
18.288136
74
0.70899
9e3234fd543de57d670abe7b7685f2caecd44059
404
package sonar.logistics.api.core.tiles.wireless.transceivers; import net.minecraft.item.ItemStack; /** implemented on Items which can provide Channels for a handling when placed in a Array */ public interface ITransceiver { /** gets the BlockStack retrieved from the last clicked coordinates, typically used for disp...
36.727273
126
0.789604
11f172a9997274c5f437384119cb7975e8371534
467
package com.elekt.blokus.GameLogic; public class Point { public int x; public int y; public Point(Point p){ x = p.x; y = p.y; } public Point(int _x, int _y){ x=_x; y=_y; } void change(){ int temp = x; x = y; y = temp; ...
17.961538
67
0.453961
4d9d43b9d0daaa1baee3664235cd322efd797a52
2,839
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
36.397436
123
0.772103
ce00e0cb9295d9a11c9503d0eec44c46dc7348aa
1,567
package betterwithmods.module.hardcore.crafting.brewing; import betterwithmods.util.ReflectionLib; import net.minecraft.item.crafting.Ingredient; import net.minecraft.potion.PotionType; import net.minecraftforge.fml.relauncher.ReflectionHelper; import net.minecraftforge.registries.IRegistryDelegate; public class MixP...
40.179487
139
0.75686
804f9003603afef81e124162527cd768029f549c
28,193
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
36.144872
224
0.682262
c8140c5b648e4a218bf5f422df7f0b27dc90fae4
222
package axc.AXPlayerHelper.utility; public class ExF { public static String double_to_string_selective_decimal(double value, int decimalPoint) { return String.format("%."+decimalPoint+"f", value); } }
24.666667
91
0.716216
079889e15dc0d17caf779cb95b8d186e3d5aac3a
1,805
package org.adligo.tests4j_v1_tests.models.shared.reference_groups.jse.v1_8; import org.adligo.tests4j.run.api.Tests4J; import org.adligo.tests4j.system.shared.api.Tests4J_Params; import org.adligo.tests4j.system.shared.trials.I_MetaTrialParams; import org.adligo.tests4j_4jacoco.plugin.factories.MockitoPluginFactory; ...
30.59322
84
0.795014
67bde668578ab1625578b6aff8f7f6b9b96c3c9e
586
package org.apache.poi.sl.draw.geom; import java.awt.geom.Path2D.Double; import org.apache.poi.sl.draw.binding.CTAdjPoint2D; public class MoveToCommand implements PathCommand { private String arg1; private String arg2; MoveToCommand(CTAdjPoint2D pt) { this.arg1 = pt.getX().toString(); thi...
24.416667
70
0.656997
e46a6c0dad15d87a0e3c571b636810f947d0a892
914
package com.jpeony.springmvc.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; /** * RequestParam注解绑定请求参数 * * @author yihonglei */ @Controller @RequestMapping("/testRP") public c...
29.483871
89
0.701313
e2cf38c15d7901dcdfb163992cf72fb6fac4709c
19,109
package com.wide.stringer.generator.services; import java.util.ArrayList; import java.util.List; import javax.persistence.PersistenceException; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springfram...
34.806922
95
0.747397
f2435578d6c6b4fb41931ada95b82a0423200744
590
package org.jeecg.modules.cloudtools.runex.service; import java.util.List; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import org.jeecg.modules.cloudtools.runex.entity.RunParamsSet; import com.baomidou.mybatisplus.extension.service.IService; /** * @Description: 设置工具可用参数 * @Author: jeecg-bo...
25.652174
82
0.791525
2f29e7c2b835e581aed21b3c31fea43427b75bf7
1,097
package com.ruoyi.system.service; import java.util.List; import com.ruoyi.system.domain.MaterialChild; /** * 物料Service接口 * * @author ruoyi * @date 2020-12-14 */ public interface IMaterialChildService { /** * 查询物料 * * @param id 物料ID * @return 物料 */ public MaterialChild selectMa...
17.693548
84
0.590702
3d8daabb20f41e51b7705b77a48b22aecc1bba98
7,843
package com.anysoftkeyboard.ui.settings; import android.app.Activity; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.os.AsyncTaskCompat; import android.support.v7.preference.Preference; import android.support....
43.815642
166
0.6968
76e5f35f9f5d0240655df3b5dae6a135ca451898
608
package GoodService; // Status: READY /** * Interface that handles hotels within the GoodService software. * @author João Borges, 1150475 */ public interface HotelService { public static final String ONE_STAR = "*"; public static final String TWO_STARS = "**"; public static final String THREE_STARS...
30.4
65
0.695724
9fd94a51661b8c8881a3ec9f921c055dc6dc6f63
3,727
package cn.davidsu.shadowhelper; import android.graphics.Color; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; import cn.davidsu.library.Shad...
30.54918
89
0.605313
1fcec3d254190626363aed93aa148b1ddc6870bb
991
package com.microsoft.schemas.office.office; import org.apache.xmlbeans.StringEnumAbstractBase; public final class STTrueFalse$Enum extends StringEnumAbstractBase { static final int INT_T = 1; static final int INT_F = 2; static final int INT_TRUE = 3; static final int INT_FALSE = 4; public static fina...
30.96875
244
0.721493
314d872e95de74894620c155346811769dedd414
1,446
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.dev.models; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** Defines values for Buil...
25.368421
73
0.634855
35622250d3a3fb133c7ae297c8120345b910edd1
3,584
package io.starteos.jeos.net.response; import java.util.List; public class BaseResponse{ /** * core : 500 * message : Internal Service Error * error : {"core":3010001,"name":"name_type_exception","what":"Invalid name","details":[{"message":"Name is longer than 13 characters (\t\n11111vs22222) ","...
24.216216
212
0.486328
95d400697de1d039fa8a0cce39a0a8dd551c585b
3,985
package com.github.linkeer8802.octopus.example.book.domain.reader; import com.github.linkeer8802.octopus.core.EventSourcingAggregateRoot; import com.github.linkeer8802.octopus.core.eventbus.OnEvent; import com.github.linkeer8802.octopus.core.util.CollectionUtils; import com.github.linkeer8802.octopus.core.util.Identif...
41.510417
134
0.728231
c951db7954e2a64abf02cd688c460a3452e3c6f2
4,445
/* * 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.434426
127
0.691114
7b3db9651e7b53e82f5dcd2f11c398b0fff10bb3
2,587
package net.jawr.web.test.generator.skin; import static org.junit.Assert.assertEquals; import java.util.List; import net.jawr.web.test.JawrTestConfigFiles; import net.jawr.web.test.utils.Utils; import org.junit.Test; import com.gargoylesoftware.htmlunit.BrowserVersion; import com.gargoylesoftware.htmlunit.TextPag...
33.597403
164
0.775416
3ffb036d7358824cee30a71e7e81b47573a07a67
7,057
package com.wemall.apis.jd.dao.area; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import net.sf.json.JSONObject; import org.springframework.stereotype.Repository; import com.wemall.apis.jd.dao.util.JDBase; @Repository("jDAreaDao") public class JDArea extends JDBa...
34.091787
93
0.703698
926053f95570b9f6e43b3d17448ae1add6138f83
2,060
/* * 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 ...
38.148148
88
0.715049
7f2b09885547bbf6c16d08d7f3d680eb91674fab
639
class Subsets { public List<List<Integer>> subsets(int[] nums) { ans = new ArrayList<List<Integer>>(); set = new ArrayList<Integer>(); finSubset(nums, 0); return ans; } private void finSubset(int[] nums, int index){ // 边界 if(index == nums.length){ ...
24.576923
52
0.517997
c2da2c652506a4556b03c3e83aec18a7611dda13
143
class output3 { public static void main() { int i; for(i=1;i<=10;i++) { if(i%2==0) System.out.print((i+2)); else System.out.print((i-2)); } } }
10.214286
25
0.601399
dc2059a691bad07fdba65e0d74fc7b3c9ab584cc
575
package com.github.anilople.javajvm.heap.constant; import com.github.anilople.javajvm.classfile.constantinfo.ConstantInvokeDynamicInfo; import com.github.anilople.javajvm.heap.JvmClass; public class JvmConstantInvokeDynamic extends JvmConstant { private ConstantInvokeDynamicInfo constantInvokeDynamicInfo; p...
30.263158
109
0.808696
9226b833bdd9ad9936274d499798ee6fda940a43
82,989
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|// Copyright (C) 2013 The Android Open Source Project end_comment begin_comment comment|// end_comment begin_comment comment|// Licensed under the Apache License, Version 2.0 (the "License"); end_comment begin_comment comment|// you m...
14.84332
104
0.80401
f47ef7c9ae85985c6fb6d0b29c922295330ebf53
6,470
package ph.STICKnoLOGIC.aerial.sutikero; import androidx.appcompat.app.AppCompatActivity; import androidx.annotation.*; import androidx.appcompat.widget.Toolbar; import androidx.coordinatorlayout.widget.CoordinatorLayout; import com.google.android.material.appbar.AppBarLayout; import android.app.*; import andr...
30.375587
122
0.700464
12debb6fc392227d1ccdf2ba314adb5f83c5b99a
1,014
package com.jiao.luo.utils; import android.app.Activity; import android.content.Context; import android.support.v4.app.Fragment; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.jiao.luo.R; /** * Created by Administrator on 2017/8/17. */ public class GlideUtils { p...
28.971429
144
0.71499
9a40e6067adf2b87c06498d9988cf18b8a88bdf2
1,611
package com.dnaDetectApi.resources; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.Reque...
30.980769
99
0.769088
a7a1a43c6fbb2074a2d6e7ed851769802ec7f72d
4,751
package com.gohung.hazukie.qhakka; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.qmuiteam.qmui.skin.QMUISkinManager; import com.qmuiteam.qmui.util.QMUIDisplayHelper; import com.qmuiteam.qm...
46.126214
135
0.572932
f844ad5401c1d37a99243f1cd5a100467b7120f9
24,387
/* * Copyright 2018 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
39.978689
112
0.586132
e3638d3da6cb9f9c69f16a8d6e417d820500e0e7
3,588
/* * 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 ...
37.768421
118
0.72408
8de8fe3246ebac25893e657566a261bc9e096856
949
// Copyright (c) 2019, 2020, Oracle Corporation and/or its affiliates. // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. package oracle.kubernetes.operator.utils; import java.util.List; import java.util.stream.Collectors; import javax.json.JsonPatch; import java...
30.612903
105
0.746048
2f5262c277a38acd05ae9455057f189b3348bf7e
6,276
/* * Shop System Plugins - Terms of Use * * The plugins offered are provided free of charge by Wirecard AG and are explicitly not part * of the Wirecard AG range of products and services. * * They have been tested and approved for full functionality in the standard configuration * (status on delivery) of the cor...
39.225
114
0.762428
2001fbed4cab1db233e63b34093f3500a392c138
225
package utils; import org.jsoup.Jsoup; /** * Created by akorovin on 26.02.2017. */ public final class HtmlHelper { public final static String htmlToText(String html) { return Jsoup.parse(html).text(); } }
17.307692
56
0.671111
96de668b54f31e55fd18de8f6567bb6fd59ad400
2,596
package org.owasp.pangloss.infra.repositories; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.ObjectCodec; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import ...
33.714286
112
0.718798
b5f34607de1f1fddf99c85ec300b61153f716009
2,138
/* * Copyright 2011-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
24.860465
114
0.732928
ea71134c4be309c6b69a0f8f7fc7a63f5744843f
1,693
package com.zhc.cloud.gateway.utils; import com.alibaba.fastjson.JSON; import com.zhc.cloud.common.result.Result; import com.zhc.cloud.common.result.ResultCode; import org.springframework.core.io.buffer.DataBuffer; import org.springframework.http.server.reactive.ServerHttpResponse; import reactor.core.publisher.Mono; ...
39.372093
101
0.724158
63e39a5689acd9a11c671753370497c4a40ea5a8
708
public void solve(int testNumber, InputReader in, OutputWriter out) { int N = in.nextInt(), M = in.nextInt(); Nodes[] nodes = new Nodes[N]; for (int i = 0; i < N; i++) { nodes[i] = new Nodes(i); } Edges[] edges = new Edges[M]; for (int i = 0; i < M; i++) { int u = in.nextInt() - ...
28.32
69
0.450565
5f16e996c19627b65572233549533c32047a8b01
12,080
package org.lennartb.gtlaptimer; import android.content.ContentValues; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import and...
38.594249
126
0.650745
898fc8ad7de4b4ea9f4e6a8147bc9b7163fd7d05
1,392
package com.github.sigrarr.lunisolarcalc.spacebytime; import java.util.*; import com.github.sigrarr.lunisolarcalc.spacebytime.periodicterms.SunLongitudeVariationPeriodicTerms; import com.github.sigrarr.lunisolarcalc.time.TimelinePoint; import com.github.sigrarr.lunisolarcalc.util.ConstantsAndUnits; import com.github....
36.631579
118
0.770115
8638d550c5dd12d84951d043ce078329b6aae631
2,340
package com.vimukti.accounter.mobile.commands.reports; import java.util.ArrayList; import java.util.List; import com.vimukti.accounter.mobile.Context; import com.vimukti.accounter.mobile.Record; import com.vimukti.accounter.mobile.Requirement; import com.vimukti.accounter.web.client.Global; import com.vimukt...
30
93
0.744872
4cb869fc9b2fdcd6a563f3e26af2b4ceacdaabf2
2,556
package com.yhkj.yhsx.forestpolicemobileterminal.entity; import java.io.Serializable; import java.util.ArrayList; /** * * 辖区重点人口情况登记表 * * @author zhengtiantian * */ public class KeyPopulationEntity implements Serializable { /** * */ private static final long serialVersionUID = 1L; private int keyId;...
17.387755
65
0.712441
70a7787e7b40f123b43945b81f70bd889fb3190e
6,422
package la.il.sample.ui.fragment; import android.content.Context; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager.LoaderCallbacks; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; impo...
37.776471
132
0.637029
b4e0b5fe8b6583196ffde2855d8e02d961bb81cd
657
package learn; import java.util.ArrayList; import java.util.List; import def.PredicateDef; public class RandomRefinement { public List<PredicateDef> pickPredicates(List<PredicateDef> predicates){ List<PredicateDef> pickedPredicates = new ArrayList<PredicateDef>(); int index = (int) (Math.random()*(predicates.s...
26.28
73
0.739726
1b1f89ac216039148fac8a2bfba2ca4ed34301a2
1,220
package com.ubayKyu.accountingSystem; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import com.ubayKyu.acc...
29.047619
70
0.834426
b29962edb330fa86d0cb71435fd11a570ba43ddc
746
package org.apereo.cas.adaptors.yubikey.dao; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; import org.springframework.data.mongodb.core.mapping.Document; import java.util.ArrayList; import java.util.List; /** * This is {@link MongoD...
26.642857
110
0.781501
06380cf275320009641e6ada076dd35bbdb1a804
27
public class trycatch { }
6.75
23
0.703704
34069c994c689d40d7b2cad377ca5da606417b96
105
package interfaceAndGradeBook; public interface GlobalConstant { public final boolean DEBUG = false; }
17.5
36
0.809524
227c627625f58625e01f4e33a7fb9f57a657b858
2,805
public class LinearProbingHashTable<TKey, TValue> { private int size; //# of elements private TKey[] keys; //The hash table: stored in parallel arrays private TValue[] values; //Initialize hash table public LinearProbingHashTable(int initialCapacity) { keys = (TKey...
31.875
81
0.546168
0c0314c74c20f6e92991d3f616623b9c031d83bd
4,802
package org.stagemonitor.tracing.soap; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.stagemonitor.tracing.SpanContextInformation; import org.stagemonitor.tracing.TracingPlugin; import org.stagemonitor.tracing.utils.SpanUtils; import org.stagemonitor.tracing.wrapper.SpanWrappingTrac...
42.495575
149
0.809454
b0dbcf9b7bf4600b4460a08397b38cd657b670d2
843
package com.github.houbb.rpc.client.support.fail.impl; import com.github.houbb.rpc.client.support.fail.FailStrategy; import com.github.houbb.rpc.client.support.fail.enums.FailTypeEnum; /** * 快速失败策略工厂 * * @author binbin.hou * @since 0.1.1 */ public final class FailStrategyFactory { private FailStrategyFactor...
23.416667
97
0.623962
278bc0896e05acba7ca640c1602d919d294626df
86,596
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
47.475877
383
0.803975
c7accfea8538b6c91fae675204099f7b57460f0d
1,569
/* * Copyright 2018 NotAnotherOne 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 agr...
40.230769
140
0.71638
71cf45e5394ecc813ea2ddc84ac3676fdacb0c24
1,393
package net.jhttp; import java.io.IOException; class HttpClientImpl implements HttpClient { private RequestExecutor requestExecutor; HttpClientImpl() { requestExecutor = new DefaultRequestExecutor(); } void setRequestExecutor(RequestExecutor requestExecutor) { this.requestExecutor = ...
26.788462
73
0.690596
65e1c480cc8a73d2827e2e94979f2461b1e6eb60
3,024
/* * Copyright 2014 the RoboWorkshop 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 applicable law...
27.243243
92
0.677579
4dac1777925fbb0c75d811054f497478a68c4b8b
91
package io.github.shyrkaio.test;; public class MyOtherCRDStatus { // add spec there }
15.166667
33
0.725275
afb671cf5b0726aa186af05a1de333258d66e4e9
613
public class Vaca extends Animal{ private boolean deCorte; public Vaca(String nomeVaca, int numeroPatas){ super(nomeVaca, numeroPatas); deCorte = false; } public Vaca(String nomeVaca, int numeroPatas, boolean deCorte){ super(nomeVaca, numeroPatas); thi...
25.541667
67
0.577488
aa90f92412d93a109edbc2652218f9fe153b995a
5,427
/** * National Cancer Institute Center for Bioinformatics * * OWLKb gov.nih.nci.evs.owl.meta QualifierMeta.java Apr 30, 2009 */ package gov.nih.nci.evs.owl.meta; import gov.nih.nci.evs.owl.exceptions.PropertyException; import java.util.HashMap; import java.util.Vector; /** * The Class QualifierMe...
23.595652
77
0.622996
94a48bed3e2cb0e1cd406514baae3376720be08f
1,366
package fri.rg.zamtrax; import zamtrax.Component; import zamtrax.Input; import zamtrax.Transform; import zamtrax.Vector2; public class FPSController extends Component { private final float speed = 10.0f; private final float mouseSensitivity = 0.25f; private Transform transform; @Override public void onAdd() {...
18.712329
80
0.683748
a1dfd25819919d6b420ea0421ecbf18ec643a0e3
1,088
package mindustry.entities.type.base; import arc.graphics.g2d.Draw; import arc.math.Angles; import arc.math.Mathf; import mindustry.entities.Units; public class HoverUnit extends FlyingUnit{ @Override public void drawWeapons(){ for(int i : Mathf.signs){ float tra = rotation - 90, trY = -g...
31.085714
129
0.609375
7fd708e763066b2a4b16c735b6dd2330cdc036ef
925
package mage.cards.g; import java.util.UUID; import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.target.TargetPlayer; /** * * @author Loki */ public final class GlimpseTheUnthinkable extends Ca...
26.428571
86
0.730811
0ad511f8d997dcb31c6a6a61de0b8cfdfa5e0f6e
6,322
package com.bjlx.QinShihuang.model.specialservice; import com.bjlx.QinShihuang.model.account.RealNameInfo; import com.bjlx.QinShihuang.model.misc.ImageItem; import java.util.List; import org.bson.types.ObjectId; import org.hibernate.validator.constraints.NotBlank; import org.mongodb.morphia.annotations.Entity; impor...
18.928144
68
0.6267
d469eb99d66af65b8458376589224a35a9e910c8
9,360
package org.aries.nam.util; import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import nam.model.Application; import nam.model.Import; import nam.model.Imports; import nam....
33.548387
115
0.746047
8be15b29cb271f1dd4cf3005e5e924565acff61c
1,965
/* * Copyright 2016 Dustriel * * 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 ...
33.87931
113
0.729262
5fcf489b2099aee7ef04df1218f51014706b313c
15,125
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert // Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2021.0...
41.325137
205
0.629421
95f295707b7d87cb72a12399a596e51ab1161193
2,670
package Logined; import java.util.Scanner; import Preparing.Welcome; import Tools.AccountOperation; import Tools.CleanConsole; import Tools.FileOperation; import Tools.Guide; /** * @ClassName AccountSet.java * @Package Logined * @author XHW * @date 2019年12月9日 * @Description 实现账户设置的功能 */ public class AccountSet ...
20.538462
78
0.638202
41cf8c571e4fc0a703071a7da124ac414033637d
4,293
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package edu.wpi.first.wpilibj.examples.mecanumcontrollercommand; import edu.wpi.first.math.controller.SimpleMotorFeedfo...
47.7
100
0.748661
31fb771b74e895c330ba40388ff1f8edec02ee98
3,714
package org.infinispan.functional.impl; import static org.infinispan.functional.impl.Params.withFuture; import java.util.Set; import java.util.Spliterator; import java.util.Spliterators; import java.util.concurrent.CompletableFuture; import java.util.function.Function; import java.util.stream.Stream; import java.util...
39.094737
107
0.728325
dec27e8478bdb0b7d18843b2c7fb90078d8bb151
600
package com.imti.spring.java.money; import java.util.Locale; import javax.money.CurrencyUnit; import javax.money.Monetary; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringbootJavaMoneyApplication { pu...
26.086957
68
0.806667
2f11b4c420ed1ffe5d9521fb48687bd236f90cd2
864
package Fonctionnalities; import java.util.List; import Model.Constantes; import Model.Personage; public class Bloqueur extends Job { private List<Personage> listPers; private int myIndex; public Bloqueur() { super(); estBloqueur = true; } @Override public boolean execute() { Personage pers; ...
18.382979
92
0.659722
2001959c5677ef56824c9ff49d2094bfeca232b2
418
package com.google.cloud.storage; import com.google.common.base.Function; final class BucketInfo$1 implements Function { public BucketInfo apply(com.google.api.services.storage.model.Bucket pb) { return BucketInfo.fromPb(pb); } // $FF: synthetic method // $FF: bridge method public Object apply(O...
26.125
77
0.717703
f6120a55a6721bdcc70d0c2c38ca635e4c900e70
1,881
/* * Copyright 2019 Martin Conrad * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicabl...
34.833333
105
0.675704
b07c86be6cd1e6a9b6a0bcbd2f186ca6ee42cc46
20,718
/** * 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...
38.652985
138
0.716092
602933be59849483ac4bf516ce31f9fa2e123f4b
535
package com.leone.boot.shiro.entity.rbac; import com.leone.boot.shiro.common.enums.ResourceType; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 权限信息 * * @author leone * @since 2018-04-19 **/ @Data public class Permission implements Serializable { private Long permissionId; ...
15.285714
54
0.723364
0a0957aa8078fc29a59d66e46807f4363b2277b9
8,651
package info.u_team.music_player.gui.playlist.search; import static info.u_team.music_player.init.MusicPlayerLocalization.*; import java.io.IOException; import java.nio.file.*; import java.util.List; import java.util.stream.*; import org.lwjgl.glfw.GLFW; import org.lwjgl.util.tinyfd.TinyFileDialogs; import info.u_t...
36.970085
228
0.742226
fc64464a1a40b05aa80ba9919b51ab7de42d97f5
439
package org.aitesting.microservices.passengermanagement.repositories; import org.aitesting.microservices.passengermanagement.models.HasPassengerState; import org.springframework.data.repository.CrudRepository; public interface HasPassengerStateRepository extends CrudRepository<HasPassengerState, String> { HasPa...
33.769231
96
0.842825
9e80e1c73aeddb15b51b821563cbda432505863e
745
package javapt; public class Mat3x3 { public Mat3x3() { m = new Vec3[3]; m[0] = new Vec3(); m[1] = new Vec3(); m[2] = new Vec3(); } public static final Vec3 mul(final Mat3x3 m, final Vec3 a) { return new Vec3(Vec3.dot(m.m[0], a), Vec3.dot(m.m[1], a), Vec3.dot(m.m[2]...
21.285714
87
0.436242
750504884f2895095126d5c702cbb32331c698c5
1,515
package com.salesmanager.core.business.tax.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.salesmanager.core.business.generic.exception.ServiceException; import com.salesmanager.core.business.generic.service.Sale...
26.578947
86
0.8
6fb831fa8ba7281c07ebb62f807a686674c038d4
6,124
package uk.co.mruoc.gildedrose; import org.junit.jupiter.api.Test; import uk.co.mruoc.gildedrose.adapteditems.AgedBrie; import uk.co.mruoc.gildedrose.adapteditems.BackstagePasses; import uk.co.mruoc.gildedrose.adapteditems.Conjured; import uk.co.mruoc.gildedrose.adapteditems.GenericItem; import uk.co.mruoc.gildedrose....
27.836364
93
0.673743
d3b391ddef976f434280e5a452954818c99ce1fc
1,334
package com.example.android.popmovies; import android.os.AsyncTask; import com.example.android.popmovies.data.Movie; import com.example.android.popmovies.sync.MoviesSyncEngine; import java.io.IOException; /** * Class MoviesDataSyncTask is an AsyncTask customization to synchronize for movies data using a given * e...
24.254545
102
0.673913
c718dbae0d55536a1356591c3b7aa897e79fd128
1,529
package com.MyAPI.service; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.List; import com.MyAPI.model.Authors; import com.MyAPI.model.ListofPostsAndAuthors; import com.MyAPI.model.Posts; import com.fasterxml.jackson.core.type.TypeReferenc...
27.8
105
0.752126
57b3092e902bf971e86f3bc10757d0026716b527
4,339
/* * Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
43.39
119
0.665361