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
78fac50e089eda7cd1f9b6da8657b88e18b30803
2,055
package ode.solve.impl.util; import ode.solve.impl.DormandPrince54Solver; import org.apache.commons.math3.ode.nonstiff.DormandPrince54Integrator; import org.junit.Test; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.factory.Nd4j; import static org.junit.Assert.assertEquals; /** * Test cases for...
32.619048
101
0.626277
950a160800e4634271f41e985b2216ba4dc65a06
4,353
/** * Copyright 2016-2018 Dell Inc. or its subsidiaries. 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://www.apache.org/licenses/LICENSE-2.0.txt * * or in...
29.214765
108
0.654261
2f74e4dc0e404ce502a819b90a067ba921be5d07
1,277
package com.pattern.tutor.deepinspringmvc.v5.cache.redisson.bean; import com.google.gson.reflect.TypeToken; import com.pattern.common.utils.JsonUtil; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.redisson.api.annotation.REntity; import org.redi...
24.557692
81
0.70556
673b124e6f93830e0c9a12005f752f2af232a4ac
7,324
/* * 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 ...
25.342561
78
0.575505
6a58fe66d0cc86b7c3cb7e0d0d2534dfeaa64fbf
3,341
/* * RVADID3V2Frame.java * * Created on September 4, 2004, 11:33 AM * * Copyright (C)2004,2005 Paul Grebenc * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ...
29.052174
107
0.616881
6e8280f13a75d69a956d6919c247b87064437bd9
3,530
package ru.job4j.tracker; import org.junit.Test; import java.util.ArrayList; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * * @author Kuzenkov Pavel * @since 26.05.2018 */ public class TrackerTest { /** * Test add, generateId and getAll methods. ...
32.385321
78
0.608499
72f9620bebca3870a73a706500211c1e3d30fffc
810
package at.o2xfs.memory.databind; import java.io.IOException; import java.util.Random; import org.junit.jupiter.api.Test; import at.o2xfs.memory.databind.dummies.IntDummy; public class IntTest extends BaseMemoryMapperTest { @Test public void testZero() throws IOException { shouldBeEqualAfterDeserialization(new...
25.3125
98
0.776543
a560207475b5dddf0acc751c3d23b4e7024a4536
2,330
package de.upb.crypto.clarc.protocols.fiatshamirtechnique.impl; import de.upb.crypto.clarc.protocols.arguments.InteractiveThreeWayAoK; import de.upb.crypto.clarc.protocols.fiatshamirtechnique.FiatShamirSignatureScheme; import de.upb.crypto.clarc.protocols.parameters.Problem; import de.upb.crypto.craco.interfaces.signa...
33.285714
104
0.714592
99c810bf4889b2b629d9cccdc1c683e9ba81afd4
1,085
/* * Copyright (c) Mak-Si Management Ltd. Varna, Bulgaria * * License: BSD 3-Clause license. * See the LICENSE.md file in the root directory or <https://opensource.org/licenses/BSD-3-Clause>. * See also <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>. */ package com.mopano.hibernate.org.json.spi; ...
25.833333
114
0.716129
f3525abad3a865eb612e0608628258947e51f693
585
package com.company; public class Test2 { private static String result = ""; public static void main(String[] args) { test(1); result += "*"; test(0); System.out.println(result); } public static void test(int i) { result += "1"; try { if (i...
19.5
47
0.417094
818a24e80cbf84c2effa3acef8720d7275183cde
3,786
package serviciosconcurrentes; /* Diseñar e implementar un servicio de chat sobre protocolo de transporte TCP. Los clientes se unen al chat enviando el mensaje JOIN [name]\n siendo [name] el nombre de usuario que escoge el cliente. Los clientes abandonan el chat enviando el mensaje: LEAVE\n Para enviar un mensaje el c...
31.55
100
0.631537
cee5ad6da3775ef81b9ca7d415dc5967c614bd06
2,882
package com.ykpylcn.kutubisittehadisler_v1.db; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.ArrayAdapter; import android.widget.Im...
30.989247
143
0.678348
1d1b5808b65c4402747736263461317881f2f388
369
package com.criminalIntent.android; import android.support.v4.app.Fragment; import com.criminalIntent.android.view.SingleFragmentActivity; /** * Created by aotu on 2017/10/15. */ public class CrimeListActivity extends SingleFragmentActivity { @Override protected Fragment createFragment() { ...
21.705882
64
0.718157
9b0c7bbbd6140eefb21c95bfac3c9a5804013160
447
package com.heyzqt.entity; /** * Created by heyzqt on 2017/4/6. * * 排行榜类 */ public class Ranking { public String name; public int score; public int time; public double weight; public Ranking() { name = ""; score = 0; time = 0; weight = 0.0; } @Override public String toString() { return "Ran...
12.771429
33
0.543624
1d59821d830755814bb25a9ebe7b5df1fcec6f5b
596
package com.twineworks.tweakstreet.api.desc.readfields; import com.twineworks.tweakflow.lang.types.Type; import com.twineworks.tweakstreet.api.desc.expressions.ExpressionDesc; import com.twineworks.tweakstreet.api.desc.mappings.MappingDesc; public final class ReadFieldDesc { public Type type; public String name; ...
29.8
96
0.780201
6927834939c559ff4406bb0e4823e719596f94a1
1,446
/** * Copyright (C) 1998-2012 enStratus Networks 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://...
33.627907
85
0.63278
265967bb503a862112d728466035f69bfc7fdaa5
1,396
package me.hero.onepop.onepopclient.command.commands; import com.mojang.realmsclient.gui.ChatFormatting; import me.hero.onepop.OnePop; import me.hero.onepop.onepopclient.command.OnePopCommand; import me.hero.onepop.onepopclient.util.OnePopMessageUtil; public class OnePopSettings extends OnePopCommand { public OneP...
34.04878
107
0.64255
b65d0b8f504db2307a3a63af6ecada109c77702f
2,377
/* * Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package goodman.java.beans; import goodman.java.beans.PropertyChangeEvent; import goodman.java.beans.Propert...
26.707865
94
0.702566
d79deeb1f4d34d03a3b4178e276280374c7c9cf1
2,226
/** * 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...
33.727273
81
0.757862
563116291ff74e6f84f40267b10caf5aa6a0471d
959
/* * Copyright 2018 NEM * * 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 writi...
29.96875
75
0.713243
3d478ea4ee801aec1ee3dfe83461561a7dd62feb
2,078
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.projectRoots; import com.intellij.openapi.Disposable; import com.intellij.openapi.util.Disposer; import org.jetbrains.annotations.NotNull; import org...
26.303797
140
0.689605
c71debda505f7105f92f7046fd94a8a83174c6f0
1,091
package backend.web.command.impl; import backend.web.command.Command; import backend.web.database.dao.MusicDao; import backend.web.entity.Song; import backend.web.service.MusicService; import javax.servlet.http.HttpServletRequest; import java.util.List; public class GenreCommand implements Command { MusicDao dao...
35.193548
93
0.703025
d7eb6013abca7527e378f2959c2ebff172dd037e
1,797
package org.hmhb.county; import java.util.Collections; import java.util.List; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; import static org.mockito.Mockito.*; /** * Unit tests for {@link CountyController}. */ public class CountyControllerTest { private static final Strin...
22.746835
66
0.626043
7a6d158f4af7fa067e1849d33bb7fac0a77af24e
1,761
/* * Copyright 2017 drakeet. https://github.com/drakeet * * 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...
26.681818
85
0.723453
529385225539ba591add8657663f353376036a50
8,476
package de.otto.edison.aws.dynamodb.jobs; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import de.otto.edison.jobs.domain.JobInfo; import de.otto.edison.jobs.domain.JobMessage; import de.otto.edison.jobs.repository.JobRepository; import software.amazon.awssdk.services.dynamodb....
38.703196
156
0.649953
fcac1001b03dbf20969a70684e49c94788c24dcb
4,395
package org.ovirt.engine.ui.common.widget.uicommon.popup.vm; import org.ovirt.engine.core.common.businessentities.SerialNumberPolicy; import org.ovirt.engine.ui.common.CommonApplicationConstants; import org.ovirt.engine.ui.common.CommonApplicationMessages; import org.ovirt.engine.ui.common.CommonApplicationTemplates; ...
38.893805
115
0.782253
fc3575031a1eea800ebf0f72e55ebbcdc0e0ae8c
3,840
/* * Copyright (C) 2014, Thomas Obenaus. All rights reserved. * Licensed under the New BSD License (3-clause lic) * See attached license-file. * * Author: Thomas Obenaus * EMail: obenaus.thomas@gmail.com * Project: LogFileViewer */ package thobe.logfileviewer.kernel.source.logline; import java.util.c...
21.818182
134
0.673958
89812415069661fae09e0431e1e0d37cfb19f83e
4,979
package com.github.wujiuye.datasource.sqlwatcher.plugin; import com.github.wujiuye.datasource.sqlwatcher.AsyncConsumer; import com.github.wujiuye.datasource.sqlwatcher.MatchItem; import com.github.wujiuye.datasource.sqlwatcher.TableFieldObserver; import com.github.wujiuye.datasource.sqlwatcher.WatchMetadata; import co...
34.576389
149
0.638482
77e1d19c9f2c10f40b1424561f536d4fda7c82e0
1,826
package ru.job4j.generic; import java.util.Iterator; import java.util.NoSuchElementException; /** * * Class Класс обертка массива * @athor Buryachenko * @since 06.04.19 * @version 1 */ public class SimpleArray<T> implements Iterable<T> { private final Object[] objects; private final int size; private...
24.346667
83
0.531763
347bb08b3e1ac84abb05762550bec9ff4e1ac22f
2,402
package com.cWX708605.javascriptandroid.bridge; import android.content.Context; import android.os.Handler; import android.webkit.JavascriptInterface; import android.webkit.WebView; import android.widget.Toast; import org.json.JSONException; import org.json.JSONObject; /* * 4.2 之后必须使用@JavascriptInterface注释方法,不然js找不到...
26.688889
104
0.615737
1886b2c880eaadfd8dd4f5c8ef68b3a12c02ed4a
1,225
/* * This Java source file was generated by the Gradle 'init' task. */ package QuickSort; import org.junit.jupiter.api.Test; import java.util.Arrays; import static org.junit.jupiter.api.Assertions.*; class AppTest { @Test public void quickSortTester(){ int arr[]={8,4,23,42,16,15}; int left...
30.625
68
0.605714
418258810ee71123dc0cb53f99ba9122f468d719
2,387
/** * 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...
39.783333
97
0.729786
5b887e5d326f0ef45428d668f0ab2e0f92031aea
11,328
package com.luckyliuqs.mymusic.activity; import android.app.SearchManager; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.LinearLayoutManager; import android.sup...
29.5
136
0.656691
23a19da805569ccb13001739d769ce5f1de4c996
515
//CONF: lombok.addGeneratedAnnotation = false import hrisey.InstanceState; import android.app.Fragment; public class InstanceStatePrimitiveArraysFragment extends Fragment { @InstanceState private boolean[] myBools; @InstanceState private byte[] myBytes; @InstanceState private char[] myChars; @InstanceState p...
21.458333
68
0.786408
898e696de5dcab086d1e742bf9153d6cb1585c85
4,744
package ca.on.oicr.gsi.shesmu.runscanner; import ca.on.oicr.gsi.Pair; import java.util.*; import java.util.stream.Collectors; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class LaneSplittingGrouperTest { @Test public void testEmpty() { final var grouper = new Lan...
34.376812
74
0.463111
04f5abecbbd59ec8bec35f078a0ba31e2ea3684d
1,617
/******************************************************************************* * Copyright (c) 2015 Composent, 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 ...
32.34
80
0.606679
e9625b0de9d8e68c88c789205802f8a081ddc025
14,631
/******************************************************************************* * 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...
47.813725
199
0.543298
e1c6bf678f5cd298d3c6da9a30f60a3103515459
1,457
package testsikulixandselenium; import java.util.concurrent.TimeUnit; import org.openqa.selenium.Dimension; import org.openqa.selenium.Point; import org.openqa.selenium.WebDriver; import org.sikuli.script.Match; import org.sikuli.script.Pattern; import org.sikuli.script.Region; public class ThreadSikulix implements ...
30.354167
105
0.716541
1ca7b799c3e13389a87fedea8b1c3d373761c027
326
package com.example.paarthbir.smartmeter; import android.app.Application; public class GlobalClass extends Application { private String mGlobalVarValue; public String getGlobalVarValue() { return mGlobalVarValue; } public void setGlobalVarValue(String str) { mGlobalVarValue = str; ...
20.375
47
0.720859
0e5df158760533389bf93b92187e61e74b703e77
195
package cn.lovepet.shops.helper.looprotary_switchview.listener; import android.view.View; /** * 选择回调接口 */ public interface OnItemSelectedListener { void selected(int item, View view); }
17.727273
63
0.753846
bc7681a277caf4ea8d2ea3988599dd2af153a8d3
990
package com.bingor.utillib.hardware; import android.app.Activity; import android.content.Context; import android.graphics.Point; import android.view.WindowManager; /** * Created by Bingor on 2019/2/12. */ public class ScreenUtil { public static Point getScreenSize(Context context) { WindowManager wm = ...
31.935484
117
0.733333
0fdf668d92e3096d72525a75348cfb4fd0323b19
7,905
package com.xiaomi.common.logger.thrift.mfs; import com.xiaomi.common.logger.thrift.a; import java.io.Serializable; import java.util.Collections; import java.util.EnumMap; import java.util.Map; import org.apache.thrift.protocol.i; import org.apache.thrift.protocol.k; public class c implements Serializable, Cloneabl...
24.703125
126
0.5179
024c02ac8debf58aa0cee705092b30ba1c1be75e
2,403
/** * @author dawson dong */ package com.kisstools.imagehelper; import android.graphics.Bitmap; import android.util.Log; public class BlurPlugin implements ImagePlugin { public static final String TAG = "BlurPlugin"; public int radius; private int iterations; public BlurPlugin(int r) { this.iterations = 1;...
26.119565
69
0.585518
4dd456c35f43798904215476256d4bae7303c920
1,061
package br.com.apex.classes; public class Produto { protected int id; protected int codigo; protected String descricao; protected double peso; protected double preco; protected int qtd_estoque; public int getCodigo() { return codigo; } public void setId(int id) { this.id = id; } public void setCodig...
15.602941
98
0.671065
7f8da8ce7d0e738b11ae6f4ffba549a0338080e0
929
package com.epam.brest.web_app.validators; import com.epam.brest.model.Car; import org.springframework.stereotype.Component; import org.springframework.util.StringUtils; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator;...
29.967742
73
0.717976
8d05d617222ab0086a349def39745ce6187e42a4
431
package com.terahorse.maintenance.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController class HelloController { @RequestMapping("/") public String test() { String message = System.getenv("MESSAGE"); ...
23.944444
62
0.682135
12d2e32bbcfa3de5b5d9b834f22d39973cc0ab65
9,088
/* * Copyright 2018 Braden Hitchcock * * 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...
32.927536
117
0.700924
0ddfd7fa84aed52a16034866aff662402351e381
231
package com.blazebit.storage.modules.storage.classpath; public final class ClassPathStorage { public static final String CLASS_LOADER_PROPERTY = "com.blazebit.storage.classpath.classloader"; private ClassPathStorage() { } }
23.1
97
0.800866
7d4c5fd09b2e5386efcd50ab237e5aabd2a67750
2,028
package com.example.android.tourguideapp; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import java.util.ArrayList; public class ParksFragment extends Fragment { publ...
43.148936
126
0.703156
e9049f706045d01748c4b7a4dd14098920c6cb2a
2,550
package com.tohsoft.airquality.ui.demo.free.forecast; import android.content.Context; import android.text.TextUtils; import android.util.Log; import com.tohsoft.airquality.data.ApplicationModules; import com.tohsoft.airquality.data.network.DataManager; import com.tohsoft.airquality.data.models.aqicn.ForecastModel; im...
38.636364
252
0.685098
13bde913c7e2e7d77ce5d3043371e1aa1cd50ac7
1,154
package com.lhjz.portal.component; import java.util.Map; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpResponse; import org.springframework.stereotype.Component; import org.springframework.web.socket.WebSocketHandler; import org.springframework.web.socket.s...
28.146341
115
0.794627
cbce437152ef1709a1ba91b4db907452f6d575fb
1,136
package com.atguigu.lock.test.controller; import com.atguigu.lock.test.service.RedisService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Red...
23.183673
63
0.651408
71c6155820e91624c3a2e9f7a2886df66191bf9e
17,924
/* * 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 not ...
40.460497
133
0.74894
22e23b0ce9b91f2bf741e9919e6d66439567849e
621
package com.sms.kgnarmaganthirdhomeworkmain.repository; import com.sms.kgnarmaganthirdhomeworkmain.entity.Student; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import java.util.List; @Reposi...
32.684211
79
0.785829
fcbcc36411ed47d407b4e657d68f4953366de0e9
3,199
package com.lingganhezi.utils; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import com.android.volley.toolbox.ImageLoader.ImageCache; import com.lingganhezi.myapp.AppContext...
24.419847
86
0.70522
3337b249d72b4e4e608e85ca446328832f2d00bd
26,165
/******************************************************************************* * Copyright (c) 2000, 2016 IBM Corporation and others. * 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, an...
40.882813
208
0.58712
ec6a33ac666eedd8420db952d9e27a3f9ce2ab21
17,882
package net.glasslauncher.mods.api.gcapi.screen.widget; import net.glasslauncher.mods.api.gcapi.api.CharacterUtils; import net.glasslauncher.mods.api.gcapi.api.HasDrawable; import net.glasslauncher.mods.api.gcapi.api.HasToolTip; import net.minecraft.client.gui.DrawableHelper; import net.minecraft.client.render.Tessell...
34.789883
190
0.527346
2ada82770205fef8e2c4e4ad9e76a4b5ac2213d6
10,100
package org.odk.collect.settings; import static org.odk.collect.settings.support.SettingsUtils.assertSettings; import static org.odk.collect.settings.support.SettingsUtils.assertSettingsEmpty; import static org.odk.collect.settings.support.SettingsUtils.initSettings; import static java.util.Arrays.asList; import org....
39.299611
136
0.649505
85395e1e129da158564b26ee1f27308db72f9912
1,122
package men.brakh.server.handlers; import men.brakh.chat.Message; import men.brakh.chat.UsersTypes; import men.brakh.server.handlers.impl.AgentsHandler; import men.brakh.server.handlers.impl.CustomersHandler; import men.brakh.server.senders.Sender; import men.brakh.server.Server; import men.brakh.server.senders.impl.W...
34
100
0.738859
dec25447ec9b56d286ff91e46ea463773638ecbe
2,666
package com.ca.agency.car.seller.service; import java.time.LocalDateTime; import com.ca.agency.car.seller.domain.Listing; import com.ca.agency.car.seller.domain.ListingState; import com.ca.agency.car.seller.domain.Question; import com.ca.agency.car.seller.dto.AnswerDTO; import com.ca.agency.car.seller.dto.QuestionDTO...
42.31746
130
0.715304
ead9571c250c9469e241e75751fa3e113f15be34
4,461
/* * TaskUnifier * Copyright (c) 2013, Benjamin Leclerc * 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 * n...
32.801471
77
0.732795
3d8245a2cc9bfc7c433e001f9faff04d56cd2101
2,242
/** * */ package com.businessdecision.microservices.currencyexchangeservice.domain; import java.math.BigDecimal; import javax.persistence.Entity; import javax.persistence.Id; /** * A simple exchange value bean. * @author bernard.adanlessossi * */ @Entity public class ExchangeValue { @Id private Long id; ...
16.857143
103
0.669492
5678ef020a67a5a4c05f31f86d1e6172594ac9df
2,063
package org.health.entity; import javax.persistence.*; import io.swagger.annotations.*; @ApiModel(value = "User", description = "Class representing the user.") @Entity @Table(name = "users") public class User { @ApiModelProperty(notes = "Unique identifier", required = true, example = "1", position = 1) @Id ...
22.67033
97
0.629181
975813d1d3f4de0dc5f55767de469672213debc0
10,018
/* * Copyright (C) 2013 tarent AG * * 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, publish, ...
36.695971
93
0.696546
96f4a829bc0c3882849ee44728e130e44419acb1
576
package com.piotr.ets2remotecontrol; import android.app.Application; public class RemoteControlApp extends Application { TCPClient tcpClient; public enum PacketType { // to server WHEEL(0), ENGINE(1), BRAKE(2), CAMERA(3), GEAR(4); private int value...
16.941176
49
0.553819
ddb41e8d9377b60c7b6919db2d93372dd4c8880a
1,273
package org.hspt.entity.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; /** * <b> 用户菜单信息 </b> * <p> * 功能描述: * </p> */ @Data @ApiModel("用户菜单信息") public class UserResourceDTO implements Serializable { @ApiModelProp...
21.576271
54
0.692852
64f5cb006f3af08a85f6302ec5c7bf2465e7b424
2,209
package security.encryption.elgamal; import cn.t.util.security.message.AlgorithmName; import cn.t.util.security.message.AlgorithmUtil; import cn.t.util.security.message.encryption.elgamal.ElGamalUtil; import org.bouncycastle.jce.provider.BouncyCastleProvider; import javax.crypto.Cipher; import javax.crypto.spec.DHPar...
42.480769
150
0.694885
724384c609c582cd234c8a72cab7513b45245ffd
2,242
/** * Copyright (C) 2020 Connectorio Sp. z o.o. * * 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...
40.035714
121
0.776093
f17b5c4d23c10fed2adb664da7287d2951b7acf1
139
package victordev.es.polimorfismo.interfaces; public interface AveJavaInterface { String obtenerAlturaVuelo(); String sonido(); }
19.857143
45
0.769784
b4ad999d10dcd34bca71749a3abe255bc6ee805c
347
package com.quollwriter.tools; import de.schlichtherle.util.*; public class CreateObfuscatedString { public static void main (String[] argv) { try { System.out.println (ObfuscatedString.obfuscate (argv[0])); } catch (Exception e) { e.printStackTrac...
12.851852
70
0.559078
6d7bd9f671fba054cc2b94d82496a5d359ec6401
4,364
/* * #%L * Alfresco Records Management Module * %% * Copyright (C) 2005 - 2021 Alfresco Software Limited * %% * This file is part of the Alfresco software. * - * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * p...
35.479675
177
0.723419
240ce855ff7d2c042b8db91b43a5931551886f87
5,027
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ===================================================================...
38.374046
106
0.61289
f9a90a6440c7806a3bbfc51b537dab32adea0a6a
2,018
/* * 灵蜥Java Agent版 [Web应用安全智能防护系统] * ---------------------------------------------------------------------- * Copyright © 安百科技(北京)有限公司 */ package com.anbai.sec.rasp.servlet.http; import java.io.IOException; import java.lang.reflect.Method; public class RASPServletOutputStream { private Object servletOutputStrea...
26.207792
99
0.70218
5d3a50942673a4e892953f63c72db2f1cc6b2b3d
10,104
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
31.773585
80
0.684679
1442c7aec309b88f28e1183f2b53355077d9958b
27,219
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Login.proto package cn.ztuo.aqmd.core.entity; public final class LoginMessage { private LoginMessage() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerA...
28.235477
93
0.585767
a64cc1d1e86b7a403508e604847523b83794b03c
1,096
package com.zjq; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.amqp.rabbit.core.RabbitTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4Cl...
24.355556
98
0.697993
75f3227f262ca8fd9560e0f87b7fca68a07ccefc
1,611
package io.github.biezhi.ehcache; import java.net.URI; import lombok.extern.slf4j.Slf4j; import org.ehcache.Cache; import org.ehcache.CacheManager; import static java.net.URI.create; import static org.ehcache.clustered.client.config.builders.ClusteredResourcePoolBuilder.clusteredDedicated; import static org.ehcache....
38.357143
107
0.707014
c2f73e9dd44d70c18a916d9db6f533d48b9ebb2c
569
package com.phicomm.smarthome.sharedwifi.model.app.request; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonProperty; /** * 查询用户微信号是否绑定了斐讯帐号 的请求参数 * @author rongwei.huang * */ public class UserAppGetUserBindMsgRequestModel implements Serializable { public UserAppGetUserBindMsgReques...
19.62069
72
0.702988
acc35cc4057298ca97aad6721b4170c1d325d385
765
import java.util.*; public class Q49 { static void rearrange(int[] arr, int n){ int temp[] = arr.clone(); int small = 0; int large = n-1; boolean flag = true; for(int i = 0; i<n; i++){ if(flag){ arr[i] = temp[large--]; } el...
27.321429
49
0.469281
1a5d619031941fc06bb4756c0fed3101cb7288ba
432
/* * 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 org.cricketmsf.example.monitor.out; import java.util.HashMap; /** * * @author greg */ public interface HttpPingerIface { ...
21.6
79
0.722222
4dfbeab4ee8889a7e206befd9fedf4170003955d
7,361
package Vistas; import Controllers.ControladorCliente; import Modelos.Cliente; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; public class DatosClientes { // Esta etiqueta es la que aparecerá en la parte superior de todas las ventanas ...
27.162362
124
0.532808
26b02e9d1e2ccef2360e9ee5ec903c6411324578
1,087
/** * @author Constantin Mihai, 321CD */ package main; /** * Enumerates the types of assets. * Asset.TYPE == true -> Legal Asset * Asset.TYPE == false -> Illegal Asset */ public enum Asset { APPLE(2, 2, 0, true), CHEESE(3, 2, 0, true), BREAD(4, 2, 0, true), CHICKEN(4, 2, 0, true), SILK(9, ...
19.410714
89
0.586937
8f95f3e76304502107404bed222e6b4d101a0212
787
package com.simbest.cores.web; import com.wordnik.swagger.annotations.ApiOperation; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; @Contr...
35.772727
130
0.750953
b40b83ae219bb42486038b97f04fe9d1128e4fc9
1,229
package ru.yoomoney.gradle.plugins.library.dependencies.showdependencies; import org.gradle.api.Action; import org.gradle.api.DefaultTask; import org.gradle.api.Project; import org.gradle.api.tasks.TaskAction; import javax.annotation.Nonnull; import java.util.Set; import static java.util.Objects.requireNonNull; /**...
34.138889
108
0.715216
020cc37052c9f9d8c30d2ae3aac78632dccd2c52
208
package cn.cerc.jmis.tools; import org.junit.Before; import org.junit.Test; public class Login_checkTest { @Before public void setUp() throws Exception { } @Test public void testExecute() { } }
11.555556
39
0.706731
9c753a02500cc8f0b369b8e23f83b931a3413717
226
package com.venafi.vcert.sdk.certificate; public enum CsrOriginOption { LocalGeneratedCSR, ServiceGeneratedCSR, UserProvidedCSR; public static CsrOriginOption defaultCsrOrigin() { return LocalGeneratedCSR; } }
18.833333
52
0.783186
ed3eabe5af4c80269d0e1cb11ce29fb974c8648b
13,009
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this s...
30.39486
99
0.579752
8ec9a12ded011f9b0f6dee423a6be03f9b7d9541
198
package expression.exceptions; public class UnknownVariableException extends RuntimeException { public UnknownVariableException(String msg) { super("Unknown variable: " + msg); } }
24.75
64
0.742424
64efefa6f9a3283cf4ffe4a68ff64d0c776b387f
17,729
package org.finos.legend.pure.runtime.java.compiled.serialization.binary; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.StreamReadFeature; import com.fasterxml.jacks...
36.935417
205
0.653167
1c89cd49404506d7cbad87b4ede74251d01cc1d4
919
package org.openas2.mail; class ServerParameters { private String userId; private String password; private String hostName; private String port; private String mailProtocol; private String javaxMailPropFile; public String getJavaxMailPropFile() { return javaxMailPropFile; } public ServerParameters setJava...
21.372093
73
0.771491
eefea76ede64c34588b69b1345b93720d533d66d
2,938
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
37.666667
107
0.664738
bfaa311c41cd647a88711e43426d0e19787a59ea
1,546
package com.faithfulmc.hardcorefactions.listener.fixes; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerItemDamageEvent; import org.bukkit.inventory.ItemStack; import java.util.Arrays; import java.util.List; import java.util.conc...
32.893617
65
0.652652
8f2bf388d1114864496c86025ef5e0c7858e823e
568
// Code generated by lark suite oapi sdk gen package com.larksuite.oapi.service.sheets.v2.model; import com.google.gson.annotations.SerializedName; public class SpreadsheetsDataValidationDeleteReqBody { @SerializedName("dataValidationRanges") private DataValidationRange[] dataValidationRanges; public Data...
31.555556
85
0.783451
9c8da6c69ef41180d1e0bf4a94b2d8302a937e28
581
package T04methods.extra; import java.util.Scanner; public class P02MaxMethod { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int firstNumber = Integer.parseInt(scan.nextLine()); int secondNumber = Integer.parseInt(scan.nextLine()); int thirdNumber...
27.666667
61
0.669535
c48b6bab20036b4d57669f1c16b97b1c81c56ac4
17,037
package org.esupportail.sgc.services.userinfos; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.Map; import java.util.TreeMap;...
39.34642
141
0.71961
5de9b21a238b259ce9829c8a99cc1482118338a8
464
/* * Decompiled with CFR 0.150. */ package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; import org.yaml.snakeyaml.events.CollectionEndEvent; import org.yaml.snakeyaml.events.Event; public final class MappingEndEvent extends CollectionEndEvent { public MappingEndEvent(Mark startMark, Mark end...
21.090909
58
0.724138
d0313e63c9c751a1d7eafaae5271e8ea70e5f91e
290
package implementations.dm_kernel.GUI.boardEnums; public enum RaspPi2BAnalog{ ; @SuppressWarnings("unused") private final int value; private RaspPi2BAnalog(int value) { this.value = value; } public int getValue() { return -1; } public int getItemCount() { return 0; } }
13.809524
49
0.706897
2abb326c3324f658d2656fc557d1b20276790765
757
package cn.hutool.core.text; import org.junit.Assert; import org.junit.Test; public class CharSequenceUtilTest { @Test public void addPrefixIfNotTest(){ String str = "hutool"; String result = CharSequenceUtil.addPrefixIfNot(str, "hu"); Assert.assertEquals(str, result); result = CharSequenceUtil.addPrefixI...
25.233333
83
0.652576
ed1e6935a703ae6a7e9dc58819c55c5b0e255caa
1,018
package perobobbot.data.service; import lombok.NonNull; import perobobbot.lang.PointType; import perobobbot.lang.Transaction; import perobobbot.lang.TransactionInfo; import java.time.Duration; import java.util.UUID; public class BankTransaction implements Transaction { private final BankService bankService; ...
28.277778
164
0.749509
06b854400a5bd505c97aca0059d5c3c3c3337750
1,635
package org.innovateuk.ifs.competition.transactional; import org.innovateuk.ifs.competition.domain.Competition; import org.innovateuk.ifs.competition.domain.CompetitionFunder; import org.innovateuk.ifs.competition.repository.CompetitionFunderRepository; import org.innovateuk.ifs.competition.resource.CompetitionResourc...
39.878049
112
0.790214