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
26ae1bd30bb76874bb7a6f1e2b52861612f297d1
1,726
package com.accesscontrol.services.impl; import com.accesscontrol.constants.AccessControlConfigConstants; import com.accesscontrol.services.PasswordEncryptionService; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Aut...
49.314286
164
0.83314
f3905d6f96b2e4d2575d17a18ffdd4485d1591bb
4,715
/* * Copyright (c) 2008 Kasper Nielsen. * * 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 ag...
33.678571
100
0.678473
3da46e3c3ca33a9f34756b0c67d297e08b561da9
306
import searchui.MainWindow; import sun.awt.OSInfo; /** * Created by bclaus on 2/7/17. */ public class Main { public static void main(String[] args) { System.out.printf("Hello you are running %s", OSInfo.getOSType()); javax.swing.SwingUtilities.invokeLater(new MainWindow()); } }
23.538462
74
0.669935
d06d53b6dd994aa07875de57294f16a5bc6ce184
3,950
package com.totvs.tjc.infra.json; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import org.junit.ju...
32.916667
104
0.712658
6f01d8d6f7eab411c809a6afcab8b62540e41738
1,157
package com.twasyl.slideshowfx.snippet.executor.golo; import com.twasyl.slideshowfx.snippet.executor.ISnippetExecutorOptions; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import java.io.File; import java.io.FileNotFoundException; /** * Options that are necessary fo...
36.15625
106
0.757995
9c1f7cb4b71c0fe76103b594ad5c2c7f6751424b
177
/** * The classes for holding information about the distributed systems * * @author Jorge Calderon * */ package org.simulationsystems.csf.sim.core.api.distributedsystems;
25.285714
68
0.757062
f710c97a3906908ed31aa826e9e85bba538c5150
812
package android.support.design.internal; import android.content.Context; import android.support.annotation.RestrictTo; import android.support.p003v7.view.menu.MenuBuilder; import android.support.p003v7.view.menu.MenuItemImpl; import android.support.p003v7.view.menu.SubMenuBuilder; import android.view.SubMenu; @Restri...
35.304348
89
0.761084
bc88c736746a6f1353c4832d35c0c7df2179ed73
6,199
/* * 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 ...
43.048611
140
0.719955
2ff24294cc88603a38815e228f3d6e1582981fd4
303
package com.xwj.ioc; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class MyConfigs { /* @Bean(value = {"cs","cs2","cs3"}) public C c(){ return new C(); } @Bean("ds") public D d(){ return new D(); }*/ }
16.833333
60
0.683168
7bf333e56b49d570e9c481a76d3768a54b72d353
219
package com.java.basic; import java.util.Scanner; public class ConnectedAreasinaMatrix { public static void main(String[] args) { Scanner in = new Scanner(System.in); // todo } }
16.846154
45
0.616438
75ee3b8a610ab3a07b6fb3e0af63c09049473032
3,114
package com.cyc.kb.client.quant; /* * #%L * File: QuantifiedRestrictedVariable.java * Project: KB Client * %% * Copyright (C) 2013 - 2018 Cycorp, 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 cop...
30.529412
103
0.717084
d0fecee90243daa7340e4be3c2d1754845937224
524
package me.albert.amazingbot.events.notice.notify; import me.albert.amazingbot.bot.Bot; import me.albert.amazingbot.objects.contact.Group; public class GroupNotifyEvent extends NotifyEvent { protected long group_id; protected long user_id; public long getGroupID() { return group_id; ...
23.818182
72
0.667939
1a6c00bee4cae549cc8ccb2641f944fde9c195c5
556
package edu.kit.textannotation.annotationplugin.textmodel; /** * This exception is thrown if an annotation profile file was read from disk, but is malformed. * * @see InvalidFileFormatException * @see SchemaValidator */ public class InvalidAnnotationProfileFormatException extends InvalidFileFormatException { ...
25.272727
95
0.733813
ed35d5c13e96a490c0d1125c33eabd6d17f122a1
2,403
// // 이 파일은 JAXB(JavaTM Architecture for XML Binding) 참조 구현 2.2.6 버전을 통해 생성되었습니다. // <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>를 참조하십시오. // 이 파일을 수정하면 소스 스키마를 재컴파일할 때 수정 사항이 손실됩니다. // 생성 날짜: 2012.10.05 시간 10:52:30 AM KST // package com.athena.chameleon.engine.entity.xml.applic...
26.7
90
0.604245
bfcbb70f2bcf2ae73d160c47e978bc0b34452e36
1,119
package com.github.zuihou.authority.controller.common; import com.github.zuihou.authority.dto.common.ParameterPageDTO; import com.github.zuihou.authority.dto.common.ParameterSaveDTO; import com.github.zuihou.authority.dto.common.ParameterUpdateDTO; import com.github.zuihou.authority.entity.common.Parameter; import co...
31.971429
149
0.808758
41cecee90c4569d49edb1b59a83f017eaf0990a3
2,532
package com.dbpj.neo4j.controller; import com.dbpj.neo4j.vo.ResultVO; import com.dbpj.neo4j.enums.ResultEnum; import com.dbpj.neo4j.node.Conference; import com.dbpj.neo4j.service.ConferenceService; import com.dbpj.neo4j.utils.ResultVOUtil; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
28.449438
91
0.635071
0e4c9d80ccd09519da4aa2786dab2e6d194c47c7
2,761
package org.modelmapper.bugs; import static org.testng.Assert.assertEquals; import org.modelmapper.AbstractTest; import org.modelmapper.PropertyMap; import org.testng.annotations.Test; /** * Test that demonstrates how explicitly mapped properties are overwritten by field name matching. * * @author boris.strandj...
24.219298
99
0.74176
537c1dadaea216d5edbdcf513fa2b4538bba6771
4,682
package com.perosa.bot.traffic.http.client; import com.perosa.bot.traffic.http.client.wrap.Get; import com.perosa.bot.traffic.http.client.wrap.Post; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.net.ssl.HttpsURLConnection; import java.io.BufferedReader; import java.io.IOException; import java....
35.469697
123
0.610636
71adf481abeabc5ba92d13ce39d6c9f3ea876bde
1,331
package com.ofdbox.core; import com.ofdbox.core.model.OFD; import java.io.*; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class OFDWriter { public static void write(OFD ofd, File file) { System.out.println(file); try { OutputStream out = new FileOutput...
29.577778
77
0.539444
80f5e2367a98939e256943adac0ffc450fce6893
1,639
/** * */ package org.spring.dubbo.demo.client; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spring.dubbo.demo.intf.Person; import org.springframework.beans.factory.annotation.Autowired; import org....
27.316667
88
0.738255
bb98e8ff5472287e9273b48ca303a8777338b0ba
896
package com.fqa; import java.util.ArrayList; import java.util.List; import java.util.Map; public class Userfactorythree { private Map<String, Userthree> map; public Userfactorythree(Map<String, Userthree> map) { this.map = map; } public Map<String, Userthree> getMap() { return map; } public Userthree get...
19.06383
54
0.680804
d464ea7f43868a1cc5f1736cccac7518567fc24e
785
package draylar.identity.mixin; import net.minecraft.entity.ai.goal.TrackTargetGoal; import net.minecraft.entity.mob.MobEntity; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; import org.spon...
34.130435
81
0.784713
ff243702d6b37252410afc24b43a1648e6fff0cb
1,879
package com.company.cards; import java.util.Random; import java.util.concurrent.ThreadLocalRandom; public class DeskOfCards { private final Card[] deckOfCards = new Card[4 * 8 * 13]; private static void shuffleArray(Card[] ar) { //Fisher–Yates shuffle Random rnd = ThreadLocalRandom.current(); ...
36.134615
78
0.524215
5f7829d8889b87d908eedcdbc668ab8c09e5d46b
992
package io.sandbox.trades.items; import java.util.HashMap; import java.util.UUID; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.StackReference; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.screen.slot.Slot; import net.minecraft.util.ClickT...
28.342857
157
0.764113
56a7fd5210d7797c0bed369e6d9cc1358a1bba46
3,046
package GameTheory; import java.util.Objects; import java.util.Scanner; /** * https://www.hackerrank.com/challenges/game-of-stones-1/problem * minimax, alpha beta pruning * memoization - bottomup */ public class GameOfStones { private static Scanner input = new Scanner(System.in); public static void main...
29.572816
133
0.432699
f185fccece777a3719d447b8d24655bff222e6ba
5,636
package sample; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Menu; import javafx.scene.control.MenuBar; import javafx.scene.control.MenuItem; import javafx.scene.control.TableView; import javafx.scene.image.Image; import javafx.scene.layout.*; import javafx.stage.Stage;...
37.324503
148
0.6077
d37ab7eb957e68050ca2190ccfa6acdafabf3a76
1,543
package it.polimi.tssotn.dataprocessor; import java.io.Serializable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; public class Config implements Serializable { /** * generated serial version UID */ private static final...
25.295082
109
0.701231
bc2582a5add9c2325f8761a87021b8bcacc0d73d
713
package com.exasol.sql.ddl.drop; import com.exasol.sql.Table; /** * Visitor for {@code DROP TABLE} statements. */ public interface DropTableVisitor { /** * Visit a {@code DROP TABLE} statement. * * @param dropTable {@code DROP TABLE} statement to visit */ public void visit(final DropTabl...
23.766667
76
0.639551
ad91c8326d41daaa2187aa329b42288f2f19401a
1,109
package com.yunionyun.mcp.mcclient.utils.pricespec; import java.util.ArrayList; public class RdsSpec { private String brand; private String region; private String zone; private String rdsType; private ArrayList<RdsDiskSpec> disks; public RdsSpec(String brand, String region, String zone, String rdsTy...
29.972973
106
0.703336
3a8680ab745dfb58700c62b177a2f8a116a68269
3,057
package net.svenwollinger.battlemaker.input.editor; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import net.svenwollinger.battlemaker.map.Map; import net.svenwollinger.battlemaker.windows.editor.EditorWindow; public class EditorKeyListener implements KeyListener{ EditorWindow wndInstance; ...
28.305556
129
0.725875
a2b69af1ce5339cce998810ef64a68ece1aa9700
24,025
/** * Copyright (c) ObjectFabric Inc. All rights reserved. * * This file is part of ObjectFabric (objectfabric.com). * * ObjectFabric is licensed under the Apache License, Version 2.0, the terms * of which may be found at http://www.apache.org/licenses/LICENSE-2.0.html. * * This file is provided AS IS with NO W...
30.644133
173
0.581686
8ede234ec0da3994421cd3a7620856eed5bc6bd5
663
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Actions; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; /** * * @author Danielle S. França */ public class SimpleAuth extends Authenticator { public String username = nul...
22.862069
71
0.631976
f9e9cab31ff129c51eee51445167d618ad6c8984
997
package dev.paddock.adp.mCubed.scrobble; import dev.paddock.adp.mCubed.utilities.XMLDocument; import dev.paddock.adp.mCubed.utilities.XMLNode; public abstract class ScrobbleResponse { public static <T extends ScrobbleResponse> T parse(Class<T> clazz, String response) throws ScrobbleException { try { XML...
34.37931
112
0.722166
d32f73909250c08165224af6633f2ed4e5e53351
1,003
package com.example.girish.todo.model.parsingModel; /** * Created by Girish on 8/18/2017. */ public class SupplierOrderDisplayModel { String productName; String productQuantity; String productImage; public SupplierOrderDisplayModel(String productName, String productQuantity, String productImage) { ...
24.463415
103
0.692921
a117674730991f7f9ada00ed7e2471b3d1af4450
291
package paxi.maokitty.source.annotation; import java.lang.annotation.*; /** * Created by maokitty on 19/5/3. * 做些上下文的提醒 */ @Retention(RetentionPolicy.SOURCE) @Documented @Target({ElementType.TYPE,ElementType.METHOD}) public @interface Recall { int traceIndex(); String tip(); }
18.1875
46
0.725086
804aaa53cd50e088cda0a083d0400e34244d7c20
248,238
/* * Copyright (C) 2020 Alberto Irurueta Carro (alberto@irurueta.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
50.475397
119
0.685326
ac3607a1ac8585587ff902d81a6c5214303e2471
666
package com.github.thiagogarbazza.expressionresolver.resolver.log; import lombok.NoArgsConstructor; import java.math.BigDecimal; import static com.github.thiagogarbazza.expressionresolver.resolver.NormalizeResult.normalizeResult; import static lombok.AccessLevel.PRIVATE; @NoArgsConstructor(access = PRIVATE) public ...
25.615385
100
0.803303
d34f8edc20afea8af5bfc82a0e1ee9e82517b169
537
package br.com.elementalsource.mock.infra.property.impl; import br.com.elementalsource.mock.infra.property.FileProperty; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component("FilePropertyModel") public class FilePropertyModel implements FileProperty { ...
25.571429
70
0.756052
d681a96ad2de6c541739adf65142f980528118f8
272
package com.hs.basis; import lombok.extern.slf4j.Slf4j; import org.junit.Test; /** * TODO * * @Author heshang.ink * @Date 2019/9/6 10:31 */ @Slf4j public class StringDemo { @Test public void testFinal() { String s = "Hello"; s = "world"; log.info(s); } }
12.363636
33
0.632353
60eadce04e97d738b910265d128b0b6ba2b91864
1,048
package com.learn.ssm.chapter4.typehandler; import com.learn.ssm.chapter4.enumeration.SexEnum; import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.TypeHandler; import java.sql.CallableStatement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public class...
25.560976
80
0.776718
aa1d4d230a5ce7ec2d10e3ae74a627eec160fa49
5,603
/* * 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 focus; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import javafx.application.Platfor...
35.238994
161
0.62056
4013c0e79374d61f359d9dedd970dd22ba60b52d
5,066
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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....
14.557471
602
0.786814
101ee19cccf0f71a1ac36122006149dd3a79969b
6,486
package com.github.leleact.jtest.apache.http.client.examples; import lombok.extern.slf4j.Slf4j; import org.apache.http.HttpClientConnection; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.ResponseHandler; import...
41.576923
169
0.567993
b9c0d4fac6a96f372e8633d66d02391eb9c95130
4,298
package com.rzspider.project.spider.spidertask.utils; import org.quartz.CronScheduleBuilder; import org.quartz.CronTrigger; import org.quartz.JobBuilder; import org.quartz.JobDataMap; import org.quartz.JobDetail; import org.quartz.JobKey; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.qu...
25.891566
106
0.73127
c3e2ab6fdd9ee56a7c6f4ef59b1dbaf5a559c2eb
622
package com.github.sys.model; import java.time.LocalDateTime; import lombok.Data; /** * link table is sec_menu * Copyright © 2019, github and/or its affiliates. All rights reserved. **/ @Data public class SecMenu { private Integer id; /**父菜单ID,一级菜单为0*/ private Integer parentId; /**菜单名称*/ priv...
16.810811
71
0.62701
af683c44e9b85b929bc3f893ee9d340bc68a1b4a
22,181
/* The following code was generated by JFlex 1.4.1 on 23/07/17 13:45 */ /* * 04/27/2010 * * TouistlTokenMaker.java - Scanner for Touistl. * * This library is distributed under a modified BSD license. See the included * RSyntaxTextArea.License.txt file for details. */ package gui.editionView.editor; import ja...
29.108924
82
0.590009
704eeb39461c2f950cf554798e6c5a6fa5906b69
984
package com.tencent.mm.a; import anet.channel.security.ISecurity; import java.security.MessageDigest; public final class a { public static final String c(byte[] bArr) { int i = 0; char[] cArr = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; try ...
31.741935
113
0.456301
4f7396e7f5777548d212e811a3272758c8f08a6d
6,250
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // th...
35.310734
146
0.71104
d90049f206d51a2f4e862173ae86fe57f57a5fb5
686
package com.parkinfo.request.parkService.serviceFlow; import com.parkinfo.enums.ServiceFlowImgType; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @Data public class AddServiceFlowImgRequest { @ApiMode...
29.826087
131
0.782799
094d8d95249c4930fb63537e0ca1aa3115edbad3
2,228
package com.IceMetalPunk.weatherworks; import java.util.Random; import cpw.mods.fml.common.IWorldGenerator; import net.minecraft.init.Blocks; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; public class WeatherGenerator implem...
35.365079
136
0.710503
9fb726e35c4d42b004c7c2320f38be6c5b5f7e55
1,167
package seedu.address.model.card; import static java.util.Objects.requireNonNull; import static seedu.address.commons.util.AppUtil.checkArgument; /** * Represent an answer to a question. */ public class Answer { public static final String MESSAGE_ANSWER_CONSTRAINTS = "Answer must not be an empty string."; p...
24.3125
98
0.624679
121f41b7b10c52b87468f6d31645d96515982d00
1,195
package us.ihmc.exampleSimulations.harmonograph; import us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry; import us.ihmc.simulationconstructionset.SimulationConstructionSet; public class HarmonographSimulation { private static final double simulateDT = 0.0002; private static final int recordFrequ...
31.447368
101
0.772385
76e1f01579a1a4bcbe351a751e9b41b787991bf4
1,379
package io.basc.framework.aop.support; import io.basc.framework.aop.MethodInterceptor; import io.basc.framework.aop.ProxyInstanceTarget; import io.basc.framework.core.reflect.DefaultMethodInvoker; import io.basc.framework.core.reflect.MethodInvoker; import io.basc.framework.util.ArrayUtils; import java.lang.reflect.M...
34.475
108
0.79913
c52d760ca7d55a597c25b63d53a2e2517f5da908
6,297
package name.imatsko.tinyrenderer; import org.apache.log4j.Logger; /** * Created by rigel92 on 03.03.15. */ public class Canvas extends ImageBuffer { public static final Logger LOG=Logger.getLogger(Canvas.class); public static final int LEFT_TOP = 1; public static final int LEFT_BOTTOM = 2; priv...
24.597656
115
0.408925
48e751a1a7a2aacf4de5ebcab7f2037799cee696
1,842
package com.mon.host.controller; import cn.hutool.log.Log; import cn.hutool.log.LogFactory; import com.mon.host.common.enums.HostType; import com.mon.host.common.rest.RestResponse; import com.mon.host.dto.HostMonAgent; import com.mon.host.service.IHostMonitorService; import io.swagger.annotations.Api; import org.spri...
34.754717
167
0.752986
de46191579a2ef4ec70c5e7ce62dcda6f2b590f9
373
public String XXX(String a, String b) { int p = Integer.parseInt(a, 2); int q = Integer.parseInt(b, 2); int sum = p ^ q; int carry = (p & q) << 1; while (carry != 0) { p = sum; q = carry; sum = p ^ q; carry = (p & q) << 1; ...
24.866667
43
0.412869
8531734174b594d6731fbccde5e36e55e90b488b
1,587
package cn.istary.customview.widget; /* * CREATED BY: Sinry * TIME: 2019/4/2 23:00 * DESCRIPTION: 自由落体 */ import android.content.Context; import android.util.AttributeSet; import android.util.Log; import java.util.ArrayList; public class FreeFallBallView extends AbstractBallView { private static final Strin...
23.338235
84
0.530561
b2319a483d91019f5ed602bd6c9f67ab163c84b4
2,396
package io.particle.android.sdk.cloud.models; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; /** * Required and optional user information used in sign up process. */...
26.043478
103
0.670701
0580c20c1b82ed94a254e830dc9643f796d37951
13,192
package com.CommonUtils.Utils.DynaticUtils.Services.Impls; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import ...
34.087855
172
0.712553
95c153e5626ecbc45b8d909747aca4f76264b37e
162
package com.atguigu.common.valid; /** * @program: gulimail * @description: * @author: Mr.Wang * @create: 2020-07-04 20:39 **/ public interface AddGroup { }
14.727273
33
0.660494
138056d274990d4e30be6e9003e809008bd682e6
2,754
package com.github.birdgeek.breadbot.utility; import java.util.List; import java.util.ArrayList; import org.json.simple.JSONArray; import org.json.simple.JSONObject; public class Service { protected String username; protected String password; protected List<String> moderators; protected List<String> ignoredUsers...
26.228571
312
0.721496
bedf7e11c121524b05e52622d7d3d643b49824e6
1,421
package com.oauth2app.models; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.util.Set; @Entity @Table(name = "user") public class User { private long id; private String username; private String password; private Set<Authority> authorities; public User() { ...
21.530303
79
0.626319
e3c631661a69e274b540548cfdd83575bcbfe6fe
230
package com.yonyou.etl.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.yonyou.etl.entity.SysBdLocalopt; /** * @author yhao */ public interface SysBdLocaloptMapper extends BaseMapper<SysBdLocalopt> { }
20.909091
72
0.8
a57f1ad1e011948f1d8953f05e5c2f1e3b339fbf
1,013
package io.cryptoapis.exchanges.services; import io.cryptoapis.abstractServices.AbstractServicesConfig; import io.cryptoapis.common_models.ApiResponse; import io.cryptoapis.utils.Utils; import io.cryptoapis.utils.config.EndpointConfig; import java.util.Map; public class MetadataService extends AbstractServicesConfig...
28.138889
79
0.732478
b1498e9f5ef2719d8573c881514e384e9b2c24d7
4,071
package com.travelport.schema.air_v29_0; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.X...
28.87234
158
0.615574
8dd153079fb5e22e14599ef386b4510060a04392
428
package org.baifei.modules.message.service; import java.util.List; import org.baifei.modules.message.entity.SysMessageTemplate; import org.baifei.common.system.base.service.JeecgService; /** * @Description: 消息模板 * @Author: jeecg-boot * @Date: 2019-04-09 * @Version: V1.0 */ public interface ISysMessageTemplateS...
25.176471
86
0.775701
eaaf899cf8edc56fc533e1431e24de9c1a593a71
1,247
// Targeted by JavaCPP version 1.5.3-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.arrow_dataset; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import org.bytedeco.arrow.*; import static org.bytedeco.arrow.global.arrow.*; import org.bytedeco.parquet.*; import stat...
36.676471
120
0.768244
37e36213ae8917a212b499720d22e42f614ef55d
3,417
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import java.util.Map; /** * WALFil...
38.829545
81
0.710272
7466fce2dcbb76ce783884847dbe9ac80a3547a9
2,007
package contest.codeforces; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; public class Round_336A_Div2 { static BufferedReader br; static PrintW...
23.892857
62
0.643747
852730297f42fdbd66657486c95a2f6f7ebf034e
2,522
// Copyright 2021 LinkedIn Corporation. All rights reserved. // Licensed under the BSD-2 Clause license. // See LICENSE in the project root for license information. package com.linkedin.cdi.keys; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import software.amazon.awssdk.regions.Region; public class S3Key...
22.122807
74
0.702617
7b896da0216a868e1ddd33e8ca50348fccf9236d
1,493
/*********************************************************** * @Description : * @author : 梁山广(Laing Shan Guang) * @date : 2018/3/18 下午6:57 * @email : liangshanguang2@gmail.com ***********************************************************/ package chapter1basic; public class P19CountOperate extend...
43.911765
101
0.537173
2e3b65072ff15abe1239ddd6708a1bff2eb3f61d
1,749
package com.vinternship.mcmsbackend.controllers; import com.vinternship.mcmsbackend.models.Genre; import com.vinternship.mcmsbackend.repositories.GenreRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; i...
33
98
0.656375
1c4934ab97fff4d5d581a35be70d3bdb00aba944
1,357
package io.github.fallingsoulm.easy.archetype.generate.core; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.Date; import java.util.List; import java.util.Map; /** * 表信息 * * @author luyanan * @since 2021/2...
12.92381
68
0.638909
5015a487c6dce605d58050fb32a642beec16a6f7
135
package nihao; public class hello { public static void main (String [] args) { System.out.println("hello java!"); } }
11.25
43
0.614815
a32885f4ad550faa05db580f8f391a60e713b30a
920
package org.lndroid.framework.usecases.user; import java.io.IOException; import java.lang.reflect.Type; import org.lndroid.framework.WalletData; import org.lndroid.framework.client.IPluginClient; import org.lndroid.framework.common.IPluginData; import org.lndroid.framework.defaults.DefaultPlugins; import org.lndroid....
28.75
81
0.729348
5b1b4c26174690a7ac801e0fe9840974ca733d40
407
package com.ejzblog.mall.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ejzblog.mall.mapper.AbstractBaseMapper; /** * <p> * Description: * </p> * * @author Mango * @version v1.0.0 * @date 2021-12-28 18:35 * @see com.ejzblog.mall.service.impl */ public class Abstr...
20.35
100
0.727273
9ef038b75cecac0141927fe2869db47b2954124b
457
private static void copyImage(String srcImg, String destImg) { try { FileChannel srcChannel = new FileInputStream(srcImg).getChannel(); FileChannel dstChannel = new FileOutputStream(destImg).getChannel(); dstChannel.transferFrom(srcChannel, 0, srcChannel.size()); ...
38.083333
80
0.599562
cc7f2f8f6b423485bc409607fa546347a4b05d20
453
package org.xyy.b2c.root.product.mapper; import org.xyy.b2c.leaf.product.model.ProductCollection; public interface ProductCollectionMapper { int deleteByPrimaryKey(Integer id); int insert(ProductCollection record); int insertSelective(ProductCollection record); ProductCollection selectByPrimaryKey(...
26.647059
62
0.801325
216c2f88bd77871198a88cb9d6c8058d0dd3bc0b
626
/* Copyright (c) 2008-2011, The University of Edinburgh. * All Rights Reserved */ package uk.ac.ed.ph.snuggletex.definitions; import uk.ac.ed.ph.snuggletex.tokens.FlowToken; /** * This enumeration specifies how text-based {@link FlowToken}s should be handled when being merged * into the resulting XHTML DOM. * *...
22.357143
99
0.677316
8af1d8503374a8e4691f7f4011b112e073986f7d
2,059
package com.heroku.sdk.deploy.utils; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import com.heroku.sdk.deploy.App; /** * @author Joe Kutner on 10/24/17. * Twitter: @codefinger */ public class Main { ...
33.209677
114
0.702283
42dbf9ddadfb9ecde2e030391969a08f14141d7f
637
package org.i3xx.util.ctree.parser; import java.io.BufferedReader; import java.io.IOException; public class FileReader extends AbstractLineReader { private String fileName; /** * @param in The reader to read from * @throws IOException */ public FileReader(String fileName) throws IOException...
20.548387
62
0.66876
343c8db8e19d6b9ff1e4659ba2259ece42c182a2
547
package com.mydreamplus.smartdevice.dao.jpa; import com.mydreamplus.smartdevice.entity.DeviceGroup; import org.springframework.data.repository.PagingAndSortingRepository; /** * Created with IntelliJ IDEA. * User: liji * Date: 16/7/11 * Time: 下午5:19 * To change this template use File | Settings | File Templates. ...
24.863636
88
0.736746
049a5ae453260e5f45dd89d5579bbfc74fe45277
21,750
/** * Copyright (c) 2019 by Software.com * All rights reserved */ package com.swdc.netbeans.plugin; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.stream.JsonReader; impo...
35.48124
154
0.627218
0c5c41c89d2c7b3e13fab9cb3903418b008414a3
6,658
package com.example.android.scaletypeexplorer; import android.app.Activity; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceFragment; import android.preference.PreferenceManager; ...
44.386667
117
0.618504
cb0b6bcd74e2d20ff7953415c82e5646660a6317
3,838
package serpapi; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentMatchers; import java.nio.file.Paths; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.*; import static org.mockito.Mockit...
31.983333
123
0.698801
db3f28bd5cb1281b6b23faeb63bed0ccbbba2c85
3,152
package igentuman.ncsteamadditions.network; import io.netty.buffer.ByteBuf; import nc.network.tile.ProcessorUpdatePacket; import nc.network.tile.TileUpdatePacket; import nc.tile.ITileGui; import nc.tile.internal.fluid.Tank; import net.minecraft.util.math.BlockPos; import java.util.Iterator; import java.util.List; pu...
37.082353
244
0.696701
ee103b67dede95430f0526b17dfb7e8c96b4d581
539
package project3; //Name: Duong Phan public class Edge implements Comparable<Edge> { public String ID; public Vertex v1, v2; public double len; public Edge(Vertex v1, Vertex v2) { this.v1 = v1; this.v2 = v2; } public Edge(String ID, Vertex v1, Vertex v2) { this(v1, v2); this.ID = ID; } public Edge(...
14.567568
48
0.621521
823f6c5d7d00b987edbae183b4ffb4aca453bc29
3,311
/* * 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 under t...
36.384615
161
0.710359
49572ced8b8c0713085c1e108216c9fe76a4e312
1,083
package org.kairosdb.core.health; import com.google.inject.Binding; import com.google.inject.Inject; import com.google.inject.Injector; import com.google.inject.Key; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import static com.google.common.base.Preconditio...
29.27027
78
0.700831
9f896337506b5bf3e2281866f9f9d8fdf3c5dd2a
536
package org.example.quickstart.controller; import org.example.quickstart.bean.Mouse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Re...
25.52381
62
0.779851
7f76e6ac645f111f26fab7bbddc81d70ed6362ab
7,270
/* * 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 ...
43.27381
127
0.7011
b2c2e323c8b03e22350bc726b5120e01169c64bd
5,318
/* * $Id: Loader.java,v 1.1.1.1 2004/03/26 12:26:16 edankert Exp $ * * Copyright (C) 2004, Cladonia Ltd. All rights reserved. * * This software is the proprietary information of Cladonia Ltd. * Use is subject to license terms. */ package com.cladonia.util.loader; import java.io.File; import java.io...
34.089744
193
0.613012
f06fc408a57d202dab06a8949a35b709e8ff3b8c
12,131
package examples; /* * @author JJR Kotze (email 15692183@sun.ac.za) * For Department of Civil Engineering, Stellenbosch University * 29 October 2012 (Version 1.0 of CFS design) */ import section.*; import dSM.*; import java.text.*; import capacityDesign.*; import loadFactorscufsm.LoadFactorsCUFSM; public class Eng...
43.794224
277
0.652048
83ce98a911ef03294f1b6c66fa5811f49c375dc3
1,478
package kr.co.popone.fitts.di.module; import dagger.internal.Factory; import dagger.internal.Preconditions; import javax.inject.Provider; import kr.co.popone.fitts.model.api.FittsServiceApi; import retrofit2.Retrofit; public final class ServiceModule_ProvideFittsServiceApiFactory implements Factory<FittsServi...
43.470588
169
0.774696
93abd554f65cb37c965852dd1e995f6a2b5fd393
947
package com.mmnaseri.cs.skiena.ch08.s1; import com.mmnaseri.cs.qa.annotation.Quality; import com.mmnaseri.cs.qa.annotation.Stage; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; /** * @author Mohammad Milad Naseri (mmnaseri@programmer.net) * @since 1.0 (11/13/16, 8:42 AM) */ @Quali...
26.305556
91
0.664203
f3b791ab551491540fa3c888788e6df1f3ec1864
2,236
/* * Copyright 2008-2013 Exigen Insurance Solutions, Inc. All Rights Reserved. * */ package com.exigeninsurance.x4j.analytic.xlsx.core.node; import org.apache.poi.xssf.model.StylesTable; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFCellStyle; import org.apache....
23.787234
77
0.721825
4a1243861b33bb5f016a7eb00fef00cdf09a6522
5,107
package com.egoveris.dashboard.web.vm; import java.util.List; import java.util.Locale; import org.zkoss.bind.annotation.Command; import org.zkoss.bind.annotation.ContextParam; import org.zkoss.bind.annotation.ContextType; import org.zkoss.bind.annotation.Init; import org.zkoss.util.Locales; import org.zkoss.web.Attri...
29.350575
116
0.758175
09b02204d90d0e7eead40856016cdb1856d9aac1
3,448
package net.dijkema.jndbm.streams; import java.io.DataInput; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; public class NDbmDataInputStream implements DataInput { private InputStream _in=null; /////////////////////////////////////////////////////////////////////// pu...
23.944444
76
0.515371
ca4d55a89ca47743b973a7c30e490d453f3c009a
1,185
package daniking.geoactivity.mixin.recharge; import daniking.geoactivity.api.item.Rechargeable; import daniking.geoactivity.common.item.util.GAMiningToolItem; import daniking.geoactivity.common.util.RechargeUtil; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net.mine...
42.321429
140
0.76962
a40cbd4ce641f29b3549aba0ea68a1abebb026d0
2,043
package neo.vm.types; import org.apache.commons.lang3.NotImplementedException; import neo.vm.AbstractStackItem; import neo.vm.IInteropInterface; /** * the interop interface stack item. * * @author coranos * */ public final class InteropInterfaceStackItem extends AbstractStackItem { /** * the interop interfa...
19.457143
73
0.695056