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
416fa557ee7b7f2e20ac79fc528b351f04ba3122
2,045
package com.cs5513.persistencelayer; import java.util.Date; import java.util.List; import com.cs5513.entities.Event; import com.cs5513.entities.Location; /** * Interface describing what method should contain any * data access layer class implementing this interface * TO BE MODIFIED */ public interface IDAL { /...
27.266667
81
0.718826
f075ba51020f7f1f96d7f037a1d68c7665171c33
2,221
package ooga.view.menus; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.image.ImageView; import javafx.scene.layout.VBox; import javafx.scene.text.Text; import j...
30.847222
92
0.738406
e4561995fc6812a619683fc14d06fc4bf466be16
2,971
/* * Copyright 2016 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 applica...
34.952941
100
0.742174
8d0c70d3fc0a1b69440f31a0c600925c904e2832
1,793
package pl.savemc.shop.data; import net.dzikoysk.cdn.Cdn; import net.dzikoysk.cdn.CdnFactory; import org.panda_lang.utilities.commons.FileUtils; import pl.savemc.shop.SMCShop; import java.io.File; import java.io.IOException; import java.util.logging.Logger; public class ConfigManager { private final Cdn cdn = C...
25.614286
107
0.591746
ab4468b3c6c302ba4dc55e5bba11d72fd566f353
1,370
package is.packetflagon.app.cache; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; /** * Created by gareth on 30/07/15. */ public class OpenHelper extends SQLiteOp...
25.37037
136
0.610949
71b49a5bfa358827009eb9cfa694d2bfb03cde5f
1,206
package org.ednovo.gooru.client.mvp.library.rusd; import org.ednovo.gooru.client.PlaceTokens; import org.ednovo.gooru.client.gin.BaseViewWithHandlers; import org.ednovo.gooru.client.mvp.home.library.LibraryView; import org.ednovo.gooru.shared.util.MessageProperties; import com.google.gwt.core.client.GWT; import com.g...
27.409091
109
0.790216
c93a086572a154b3bb1fa2350886f02cd6672b66
2,030
/* * Copyright (C) 2015 Ferid Cafer * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
30.757576
76
0.69064
6396f1b4672d61067c57a809bd2fd24c875cea43
4,056
package com.ruoyi.ee.controller; import java.util.List; import com.ruoyi.common.utils.ShiroUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; impor...
29.179856
82
0.696992
db57112176e87359b98041fe46d83b4b9a980a05
1,151
package CURD_Operations; import com.datastax.driver.core.Cluster; import com.datastax.driver.core.Session; public class Create_Data { public static void main(String args[]){ //queries String query1 = "INSERT INTO employee (emp_id, emp_name, emp_city, emp_phone, emp_sal)" + " VALUES(1,'si...
29.512821
94
0.594266
587d37c3f01ea2c8ecedf5e2b4ba14ec469d75ef
775
package algorithms.bs; /** * @Author : Avizii * @Create : 2021.01.21 * @CN-URL : https://leetcode-cn.com/problems/valid-perfect-square * @EN-URL : https://leetcode.com/problems/valid-perfect-square/discuss/?currentPage=1&orderBy=most_votes&query=&tag=java * @Solve1 : https://leetcode-cn.com/problems/valid-perfect...
28.703704
123
0.576774
3842124cad8df4dab14c56439db4df49970f3e14
4,462
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
31.64539
243
0.688705
b58e5b65353d61c7b73c9e7e75b22f4202d629e9
17,308
package mkii.mkblock.block; import mkii.mkblock.common.Certificate; import mkii.mkblock.address.MerkleAddressUtility; import javax.xml.bind.DatatypeConverter; import java.security.MessageDigest; import java.util.ArrayList; import static mkii.mkblock.common.Util.OUTPRT; public class Block { public long timestamp...
43.162095
223
0.525595
50188dafff77adee550344538c08d36f18bb2bd5
3,774
/* * Created by IntelliJ IDEA. * User: administrator * Date: Aug 29, 2002 * Time: 4:32:55 PM * To change template for new class use * Code Style | Class Templates options (Tools | IDE Options). */ package test.plugin; import mit.cadlab.dome3.DomeInit; import mit.cadlab.dome3.plugin.Plugin; import ...
30.934426
93
0.602544
6913bd303862221aee5d22ee50a438bae148e520
1,255
package com.teampolymer.polymer.core.client.shader; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.resources.IReloadableResourceManager; import net.minecraft.resources.IResourceManager; import net.minecraft.resources.IResourceManagerReloadListener; import j...
28.522727
93
0.710757
f9e2293e0c8f32188732bf5dd8547a6ee17199d1
1,366
package com.manywho.sdk.api.social; import com.fasterxml.jackson.annotation.JsonProperty; public class Who { private String id; private String avatarUrl; private String fullName; @JsonProperty("isFollower") private boolean follower; public Who() { } public Who(String id, String fullN...
20.69697
80
0.607613
4cd10215ddc25c33f336e16679cac8438b4ac752
1,781
/* * Copyright (c) [2011-2016] "Pivotal Software, Inc." / "Neo Technology" / "Graph Aware Ltd." * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except in compliance with the License. * * This product may include a number of subcomponents w...
33.603774
95
0.791129
7d49947003cd0b04b0a0bf6261c43f394fd13b8d
576
package com.wind.service; import com.wind.entity.AchievementEntity; import com.wind.entity.ProjectAchievementEntity; import java.util.List; import java.util.Map; public interface AchievementService { List<AchievementEntity> queryList(Map<String, Object> map); List<AchievementEntity> queryAchievementStandar...
25.043478
104
0.796875
c99d68c32d239b395cb9a95981d5a511c1c95fe7
271
package org.estatio.dom.budgetassignment.override; public enum BudgetOverrideType { FLATRATE("flatrate"), CEILING("ceiling"), FIXED(null); public final String reason; BudgetOverrideType(final String reason) { this.reason = reason; } }
18.066667
50
0.682657
344958c01bab8b8a9fa316645ca6f1f01c4cdd35
7,786
/* * * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
43.741573
116
0.756871
f855746a2dbee286498d339038c96e69fd8bd14c
185
package com.funtl.my.shop.commons.constant; /** * @author Zhan * @create 2019/8/20 - 20:32 */ public class ConstantUtils { public static final String SESSION_USER = "tbUser"; }
18.5
55
0.691892
33ea3243f8f878035dc8226148334eaa620caf81
3,863
package nedelosk.cultivation.client.models; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import javax.annotation.Nullable; import java.util.List; import java.util.concurrent.TimeUnit; ...
34.185841
132
0.774528
848bd4543cd82904c9ffeff8cff96123a530ebb5
1,452
package com.viktorsimko.wtime.util; import com.viktorsimko.wtime.model.Resource; import org.springframework.http.ResponseEntity; import javax.persistence.Table; import java.net.URI; /** * Utility for checking if a resource is valid. */ public class ResourceChecker { /** * Checks if a resource is created, and...
29.04
122
0.706612
31d0ee764b8ed6c163d905453c8f04e901a7096d
687
package schedule.cist; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectReader; import schedule.models.University; import java.io.IOException; /** * @author Vladyslav Dovhopol */ final class UniversityStructureJson { ...
29.869565
87
0.768559
ab7d6b9bce5a1d630989280ec910f08cf7af267f
12,170
/* * Copyright (c) 2016 Razeware LLC * * 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, publis...
35.377907
187
0.700164
6e0177f562e8358bc4b85b5f1755753912156cc0
1,088
package io.renren.modules.cbs.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.renren.common.utils.PageUtils; import io.renren.common.utils.Query; import i...
37.517241
154
0.790441
b465064b9b95ecbf23713217d63fef7d46d41480
3,676
package controllers; import akka.util.Crypt; import authenticators.AuthenticatedCustomer; import daos.SignupTokenDAO; import daos.UserDAO; import models.ApiToken; import models.SignupEmail; import models.SignupToken; import models.User; import play.data.DynamicForm; import play.data.Form; import play.data.FormFactory;...
29.408
99
0.732046
0d85b6e20f6e21b702c630631a5cd1a1df901e2f
5,931
/* Copyright 2017 Zutubi Pty Ltd * * 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...
32.587912
132
0.645254
39ebebf0db8b7d139ed359ade090fe19474effdd
2,114
/* * Copyright 2018 original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
29.774648
85
0.722327
b39b8e31901880e69b3e6c499366c503e903d6f1
33,634
package com.inipage.homelylauncher.drawer; import android.app.Activity; import android.content.Context; import android.text.SpannableString; import android.text.Spanned; import android.text.style.TextAppearanceSpan; import android.util.Pair; import android.view.HapticFeedbackConstants; import android.view.LayoutInflat...
41.729529
142
0.601207
a7243bd7ae1ddb192cb23e8bf3f0625102d34ac6
1,587
package org.r2.devkit.codec; import org.r2.devkit.Assert; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Base64; /** * Base64编码工具 * 通过{@link java.util.Base64}实现 * 遵循RFC4648 * * @author ruan4261 */ public interface Base64Encoder { /** * 输...
28.854545
97
0.661626
368dfc329e345ce20fb17ba943adf753263e5a17
20,389
package com.sunnsoft.sloa.helper; import com.sunnsoft.sloa.db.vo.User; import com.sunnsoft.sloa.db.vo.UserInfo; import org.apache.commons.lang.ClassUtils; import org.apache.commons.lang3.StringUtils; import org.gteam.db.helper.hibernate.Each; import org.gteam.db.helper.hibernate.HelperException; import org.gteam.db.he...
23.987059
192
0.714258
b5a7eb65f7faf36babc6cd8281a75cb1507f85dc
1,750
package org.fasttrackit.movieappapi.domain; import javax.persistence.*; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.util.HashSet; import java.util.Objects; import java.util.Set; @Entity public class Movie { @Id // @GeneratedValue(strategy = GenerationType...
19.444444
66
0.605143
8ec7567c3474bb8e103ac143e559770970142041
2,977
/* * Copyright 2009 Denys Pavlov, Igor Azarnyi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
30.070707
115
0.655694
871c52eb3fb70c45b18d797b771bc5642c03c176
4,036
package io.github.privacystreams.location; import android.Manifest; import android.location.Location; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import io.github.privacystreams.core.UQI; import io.github.privacystreams.core.PStreamProvider; import ...
34.20339
107
0.710109
1413080c46e5201bed15f1902eff712216866c93
20,597
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.survey; import android.content.Context; import android.content.SharedPreferences; import android.os.Handler; import a...
39.00947
100
0.669855
3d2f0e97755cb548cdf540a3fa04b9d59247b281
95
package p; class A<T> { T g; } class B<E extends Number> extends A<E> { E e = g; }
7.916667
40
0.515789
5781c322d4b26cce5ac6c4246db41f6c55e9ba8d
1,925
/** * Copyright 2017-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
26.736111
91
0.690909
168ecc9a5078f0f04ba5bf702f7a29a1bbc4f675
2,640
package com.kedacom.tsu.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class CacheMap { private static Map<String,Object> map=null; private long cacheTime=30000;//单位秒,默认值为30s private static CacheMap instance = new CacheMap(); publ...
25.631068
77
0.647727
8e135b9451fe73a873dd1901c47c78947838da15
1,156
package com.xaeport.cinsight.ui.service; import com.xaeport.cinsight.ui.data.entity.CustomTag; import com.xaeport.cinsight.ui.data.mapper.CustomTagMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 标签 service * Created ...
19.931034
63
0.66436
834fcb347a0265a6ab1ef3b3e0ea615d89edb7cc
2,589
package test.parallel; import java.util.concurrent.atomic.AtomicInteger; import ij.ImageJ; import ij.ImagePlus; import ijaux.PixLib; import ijaux.Util; import ijaux.datatype.UnsupportedTypeException; import ijaux.datatype.access.Access; import ijaux.hypergeom.PixelCube; import ijaux.hypergeom.index.BaseIndex; import i...
19.915385
80
0.670143
2a7d395adb80334dc08d35fb31197ffcbd7a06d1
1,281
package io.improbable.keanu.vertices.intgr.nonprobabilistic.operators.unary; import io.improbable.keanu.tensor.Tensor; import io.improbable.keanu.tensor.TensorShapeValidation; import io.improbable.keanu.tensor.intgr.IntegerTensor; import io.improbable.keanu.vertices.LoadVertexParam; import io.improbable.keanu.vertices...
33.710526
84
0.725215
394026aa945bf3b61bc3370c661cdc85f0752dd0
331
package com.stylefeng.guns.modular.api.entity; import java.util.ArrayList; public class AqiRoot { private ArrayList<HeWeather6> HeWeather6; public ArrayList<HeWeather6> getHeWeather6() { return this.HeWeather6; } public void setHeWeather6(ArrayList<HeWeather6> HeWeather6) { this.HeWeather6 = HeWeath...
27.583333
97
0.755287
813983a38aaa0c2c57984941f88bc44da53818b1
4,450
package de.codemakers.bot.supreme.listeners; import de.codemakers.bot.supreme.entities.AdvancedGuild; import de.codemakers.bot.supreme.sql.MySQL; import de.codemakers.bot.supreme.util.Standard; import de.codemakers.io.file.AdvancedFile; import java.time.LocalDateTime; import java.util.stream.Collectors; import net.dv8...
48.369565
669
0.642697
8fae32af9ff0e6a709ea4643ef886ded4e998706
381
package com.aycs.unitytoandroid; import android.util.Log; public class testandroid { public void NoParm() { Log.i("Unity","This is NOParm"); } public int OneParm(String val) { Log.i("Unity",val); return 10; } public static int sOneParm(String val) { L...
15.875
42
0.55643
57decc2235504a8dad1c68d82327a9e1742210aa
3,564
package com.numberone.project.system.usermanager.controller; import java.util.List; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springfra...
28.062992
74
0.693883
2d1802f973e05699f9817005a7c6f432f7750d15
311
package com.flywithus.user; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class UserService { @Autowired public UserStore userStore; public User registerUser(User user) { return userStore.save(user); } }
20.733333
62
0.752412
cd62ff5e87702d356f0fb56b77e0d62d1f3d7ded
9,426
package me.F_o_F_1092.AlmostFlatLandsReloaded; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.TreeType; import org.bukkit.block.Biome; import org.bukkit.configuration.file.FileConfiguration; i...
48.839378
177
0.745385
767e9056f8976ee5e013c9b4bd5649b59cec5398
1,845
package main; import java.io.File; import business.FasciaAuto; import business.Noleggio; import business.Sede; import presentation.controllerSchermate.comuni.ControllerSchermataPrincipale; import risorse.GestoreFileTXT; import fileManagement.EntitaEsistenteException; import fileManagement.TXTManager; import javafx.ev...
34.166667
113
0.774526
00db11be7c178d339f4dc7cf13b20edcfdc43988
2,965
/** Copyright 2008-2012 University of Rochester 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 appli...
21.642336
104
0.680607
1d0a91339107d5857c9a9410be23d32e366fa81e
7,660
package org.cee.webreader.client.ui; /* * #%L * News Reader * %% * Copyright (C) 2013 Andreas Behnke * %% * 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....
29.689922
105
0.655222
538c38231c345129b9494e2ffe4453c997d1df0a
1,621
package com.google.android.gms.common.api.internal; import android.os.Looper; import android.support.annotation.NonNull; import com.google.android.gms.common.internal.zzbq; public final class zzcl<L> { private final zzcm zzfrp; private volatile L zzfrq; private final zzcn<L> zzfrr; zzcl(@NonNull Loop...
32.42
118
0.67736
aece76dd1254fc95cf96c26b9d7bfe9262b4b2c4
2,078
package coid.moonlay.pickupondemand.jet.request; import android.content.Context; import coid.moonlay.pickupondemand.jet.R; import coid.moonlay.pickupondemand.jet.Utility; import coid.moonlay.pickupondemand.jet.base.BaseNetworkRequest; import coid.moonlay.pickupondemand.jet.config.ApiConfig; import coid.moonlay.pickup...
33.516129
147
0.732916
65f7155cd793be78d388b7e9187f789bad062de8
1,208
package nl.tno.stormcv.batcher; import java.util.ArrayList; import java.util.List; import java.util.Map; import nl.tno.stormcv.bolt.BatchInputBolt.History; import nl.tno.stormcv.model.CVParticle; /** * This {@link IBatcher} implementation creates batches of received {@link CVParticle} items based on their SequenceN...
27.454545
119
0.751656
78d0a141e5a9a70daac2a927ec7bba064b2da13a
1,697
package com.quake.sort; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; /** * @author AKA二夕 * @create 2020-08-04 15:10 */ public class BubbleSort { public static void main(String[] args) { int[] str = {3, 9, -1, 10, -2}; System.out.print("排序前的数组是:"); S...
27.819672
88
0.494991
5876392835af38691ff07b3d7b7411b2a524c28c
312
package Lev03.task0311; /* Печатаем строки */ public class Solution { public static void main(String[] args) { writeToConsole("Hello world!"); } public static void writeToConsole(String s) { String m = "printing: "; System.out.println(m + s);//напишите тут ваш код } }
18.352941
56
0.621795
140e3dcac76f7a4f8c494c0278b7524229586d19
8,637
/* * 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 ...
29.782759
99
0.692949
a185e6cbc42efec2be93d784836507bfd073fc79
7,102
package com.github.dcsolutions.kalinka.it; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.util.ArrayList; import java.util.List; import org.I0Itec.zkclient.ZkClient; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; im...
36.420513
117
0.733596
9cf85956b0dbc3ffba222d9ddc8f4fdc7f4a42b5
6,761
package xyz.iotcode.iadmin.demo; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.core.toolkit.StringPool; import com.baomidou.mybatisplus.generator.AutoGenerator; import com.baomidou.mybatisplus.generator.InjectionConfig; import com.baomidou.mybatisplus.generator.config.*; import com...
35.772487
109
0.590593
3f4b29b0066a562675ec7aab7e08dad81301b7c7
360
package com.luckydu.dujun.circleoffriends.ui.model; import android.content.Context; import com.luckydu.dujun.circleoffriends.bean.SenderBean; import com.tamic.novate.BaseSubscriber; /** * * Created by dujun on 2017-08-06. */ public interface IUserInfoModel { void getUserInfo(Context context, String user, Ba...
21.176471
90
0.780556
bca2c226f6ccf6e5de30c4dc36ff0dbc1a5753c3
6,251
package jp.androidbook.photostohint; /* 設定モードアカウント管理フラグメント */ import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import a...
39.06875
157
0.645497
f1a847d68ef4def4b4abe6509eb1a830fa77ee5b
652
// In this program, the around advice calls foo() and foo is a private static field in // class PrivateCall. When compiled the around() advice will be inlined and should call // foo() through an inline accessor method. public class PrivateCall { public void test () {foo("test");} private static void foo (String...
21.733333
88
0.644172
627284144ca63b2d89ea6f463b39e0b2a8d75f81
1,853
package dao; import java.sql.Date; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.Query; import metier.modele.Commande; import metier.modele.Livreur; import metier.modele.ProduitCommande; /** * * @author qvecchio */ public class CommandeDao { public void create(Command...
29.887097
85
0.657312
e163d57fe83eaab0bfa08a74ea6ec442aaedc699
4,552
package com.huaweicloud.sdk.devstar.v1.model; import com.huaweicloud.sdk.core.SdkResponse; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java....
23.34359
89
0.627197
c291ef841bc79facdd086b064868e08114951364
3,226
/******************************************************************************* * Copyright (c) 2005 Sybase, Inc. * * All rights reserved. This program and the accompanying materials are made * available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at...
30.149533
131
0.703658
936b3b00dd5340612637fff2b7cfb363dc5c647b
3,978
package com.android.blantik.features.contact_us; import android.app.ProgressDialog; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import com.android.blantik.R; import com.android.blantik.base.BaseFragment; import com.an...
27.818182
87
0.616893
00676cfdf5961fb64b78f14e33a31c31b1a3637c
476
package com.redhat.repository.validator.filter.internal; import com.redhat.repository.validator.filter.BomDependencyNotFoundExceptionFilter; import com.redhat.repository.validator.filter.DependencyNotFoundExceptionFilter; public class BomDependencyNotFoundFilterParser extends DependencyNotFoundFilterParser { @Ov...
34
87
0.838235
107639f302ba2f14cae9c56773b1c7ac4f411da8
2,200
/** * Copyright © 2016-2020 The Thingsboard Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
34.375
133
0.784091
9210725b75c945b268da833845f88e9b56892060
498
package com.orientechnologies.orient.graph.blueprints; import com.orientechnologies.orient.core.config.OGlobalConfiguration; import com.tinkerpop.blueprints.impls.orient.OrientBaseGraph; import com.tinkerpop.blueprints.impls.orient.OrientGraph; public class BlueprintsConcurrentGraphChangesTestTx extends BlueprintsCon...
38.307692
102
0.845382
138cf33950e3a82193dbf62409e997b7e00875f7
512
package com.example.rpc.serialization; import java.io.IOException; /** * @author LAJ * @date 2021-12-25 14:10:37 */ public interface Serialization { /** * 序列化 * @param obj * @param <T> * @return * @throws IOException */ <T> byte[] serialize(T obj) throws IOException; ...
17.655172
68
0.552734
28d8887161b3308d1090d067d06d9f5e314939e2
2,868
/* * Copyright 2020 Björn Kautler * * 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...
39.287671
133
0.730823
45e8e0c1f3bf116ffaa1da8a9febb0bb1df027ce
2,058
/******************************************************************************* * Copyright 2013 SAP AG * * 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/l...
28.985915
86
0.691448
dd98c9e0cfc286f0ea6757bd59b528e248598aac
434
package Recursion; public class NthFibonacciRecursion { public static void main(String[] args) { int nth = 5; System.out.println(fibb(nth)); // 5 System.out.println(fibb(0)); // 0 System.out.println(fibb(1)); // 1 System.out.println(fibb(7)); // 13 } public static int fibb(int n) { if (n == 0) { ...
14.965517
41
0.585253
e20ce9b30f58e6307da11eeac308f602b820d88a
5,572
/* *------------------------------------------------------- * (c) 2006 Das B&uuml;ro am Draht GmbH - All Rights reserved *------------------------------------------------------- */ package com.googlecode.flickrjandroid.interestingness; import java.io.IOException; import java.security.InvalidKeyException; ...
37.146667
288
0.662419
135bbcf80ff61d47df2db2ff080b246c1b800b6c
4,038
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
40.38
122
0.699356
b90de32787d60d0753de9a279010f8598eb1ab7a
4,962
package com.exadel.core.services.impl; import com.day.cq.wcm.api.Page; import com.day.cq.wcm.api.PageManager; import com.day.cq.wcm.api.WCMException; import com.exadel.core.exceptions.DuplicateNewsException; import com.exadel.core.services.PageService; import com.exadel.core.utility.ManualCard; import lombok.extern.sl...
45.109091
100
0.641475
fe209c8bcacca37ea9264bbc353993d1b9859eb8
528
package cn.itcast.day08.demo03; public class MyClass { int num; static int numStatic; //成员方法 public void method(){ System.out.println("这是一个成员方法"); //成员方法可以访问成员变量 System.out.println(num); //成员方法可以访问静态变量 System.out.println(numStatic); } //静态方法. public...
21.12
43
0.585227
c9c0cd1d05ce0376c226f02686ffa607c5bf47df
1,090
package com.luna.tencent.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties(prefix = "luna.tencent") public class TencentConfigValue { private String secretid; private String secretKey; ...
22.244898
75
0.702752
fa65cef848eff43c0733fa8d81475054fc1e0192
1,319
/* * 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 br.senac.sp.agendadecontatos.servicos; import br.senac.sp.agendadecontatos.dao.DaoAgenda; import br.senac.sp.agendadec...
27.479167
97
0.61486
715aa5bc8652ab854770afcbd0006e6a605306b7
671
package org.tain.working.tasks; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.tain.task.Task01Job; import org.tain.utils.CurrentInfo; import org.tain.utils.Flag; import lombok.extern.slf4j.Slf4j; @Component @Slf4j public class Task01Working...
22.366667
62
0.721311
2a175e0a327f9d0f85b0b15a20a22dbb038ec934
163
package com.zpj.fragmentation.dialog.interfaces; /** * Description: * Create by dance, at 2018/12/17 */ public interface OnHideListener { void onHide(); }
16.3
48
0.705521
a9f9cd3b097536f2035664bc2642881dcce27c64
4,017
package xyz.kemix.dubbo.demo.generic; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.alibaba.dubbo.config.ReferenceConfig; import com.alibaba.dubbo.rpc.service.GenericService; /** * @author Kemix Koo * */ public class PojoGenericConsumer extends AbsConsu...
30.9
138
0.580533
0607ded4c6f63853cfd322142d29cefa97752668
221
package com.example.newfeatures.se7; @SuppressWarnings("unused") public class SmallEnhancements { public static void main(String[] args) { int x = 1_000_000; double y = 2_134.564_123; int z = 0b1010_0010; } }
15.785714
41
0.714932
f7f285d55c2605cadebf1edace265eeb6d482f5a
169
@DefaultQualifier(Nullable.class) package test; import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.framework.qual.DefaultQualifier;
33.8
60
0.863905
52c161c9b2539a4f4bc26af0d09dda385d7a872d
1,342
package vn.techmaster.bank.controller; import java.util.Date; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PostMapping; import org.springframe...
31.952381
99
0.763785
78d248260f7ab9a9d90a1d3bac6511c42165655c
2,700
/** * 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.028169
107
0.762593
a25603afcd89c52e42df5548bed5e503bc1c745b
1,947
package org.politecnica.federico.hdfswritertest1; import java.io.IOException; import org.apache.hadoop.fs.FileSystem; import com.backtype.hadoop.pail.Pail; import com.backtype.hadoop.pail.Pail.TypedRecordOutputStream; public class Storage { static int i =0; public static void writeData(Data dato) throws IOExcept...
30.421875
94
0.655881
57a6fc7e7c7506ce7e633d7cecd4adc88af03c52
869
package com.muggle.poseidon.util; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @Description: * @Author: muggle * @Date: 2020/4/29 **/ public class verifyUtils { // 校验手机号 public static boolean verifyPhone(String mobiles){ Pattern p = Pattern.compile("^((13[0-9])|(15[^4,\\...
23.486486
110
0.525892
0f3612ed654ff6d1c7accc96bc118b12e88096b2
7,610
package scc.lexan; import java.io.*; import scc.*; public class LexAn { private boolean dump; private FileReader input; private int currChar; private String lexeme; private int startLine, currLine; private int startColumn, currColumn; public LexAn(String sourceFileName, boolean dump) { this.dump = dump; ...
19.562982
142
0.500394
12b92825f7c4bb8560fe340b640a8a6c518c9b29
20,386
package com.devsolutions.camelus.views; import java.awt.Desktop; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.Date; import java.util.List; import java.util.ResourceBundle; import javafx.collections.FXColle...
29.673945
81
0.684146
4d22bed52c916f68309a744eaba509f9352afa67
1,038
package javassisttest.asm; import jdk.internal.org.objectweb.asm.ClassReader; import jdk.internal.org.objectweb.asm.ClassWriter; import java.io.File; import java.io.FileOutputStream; public class SecurityWeaveGeneratior { public static void main(String[] args) throws Exception { String className = Accou...
39.923077
111
0.703276
515d5dab1b480c57048a5bb3b64a73fd6e3f8d1a
313
package ru.patterns.headfirst.strategy; public class Manok { QuackBehavior quackBehavior; public Manok() { } public void performQuack() { quackBehavior.quack(); } public void setQuackBehavior(QuackBehavior quackBehavior) { this.quackBehavior = quackBehavior; } }
16.473684
63
0.667732
7c7d460a9a67c3f903c87bf9a99fc5c479c18d5d
814
package spring.controller; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.nio.charset.Charset; /** * Created by jorg on 3/14/17. */ public class TestUtil { public static byte[] convertObjectToJsonBytes(Object obje...
32.56
102
0.742015
ba236d67b828b45818df17c4af6b25b98c444da7
1,250
/* * Copyright 2019 Pivotal, 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 ...
40.322581
106
0.756
b625f822d8f5f3c4f4cce64549197ce0ee456b27
7,983
/** * Copyright 2011-2013 Radagio & SDL * <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 applicable l...
36.788018
179
0.685958
6c4a37295c36f3ff078368e25c5e1ecc7d0c417e
5,229
package com.teamnova.server; import com.google.flatbuffers.FlatBufferBuilder; import com.teamnova.server.object.Location; import com.teamnova.server.object.MyData; import com.teamnova.server.object.Packet; import com.teamnova.server.object.PlayerData; import com.teamnova.server.object.Position; import com.teamnova.se...
37.085106
136
0.656531
58ed9d304aeb47da23821569d521bcf17ee6830c
1,850
package com.csselect.game.gamecreation.patterns; import com.csselect.game.Game; /** * The Pattern class represents a memento which can store a {@link GameOptions} object for creating games. */ public class Pattern { private final String title; private final GameOptions gameOptions; /** * This meth...
28.461538
106
0.628649
0448810a0ab2c5e144ae91e86f045a50d17cc0c7
2,975
/* * Copyright 2018-2020 The Code Department. * * 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 applic...
38.636364
100
0.583529
54c6c8b099e19b450a36d91204b255579dda61ae
1,724
package com.project.Thread; import com.project.controller.MessageController; import com.project.utils.AddressMessage; import com.project.utils.MessageControllerInfo; public class ResenderManager implements Manager { private MessageController controller; private Thread threadResender; private Resender resender; ...
22.38961
99
0.693155
6772a432a484ce3c88a30eaff36baa9de543820c
1,262
package com.oim.core.common.chat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.oim.common.chat.util.HtmlContentUtil; /** * * @author XiaHui * @date 2017-12-26 20:56:13 */ public class...
22.535714
78
0.649762
767fb2418190bde29b4564c700b08df1f4159f31
1,261
/** * Copyright (c) 2005-2012 springside.org.cn */ package com.xiamen.chemistry.common.mapper; import java.util.Collection; import java.util.List; import org.dozer.DozerBeanMapper; import com.google.common.collect.Lists; /** * 简单封装Dozer, 实现深度转换Bean<->Bean的Mapper.实现: * * 1. 持有Mapper的单例. * 2. 返回值类型转换. * 3. ...
22.122807
86
0.71927