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
1c081bce13191a4a385e96bf8daa5fa5575bbed0
490
package cb.test; public class User { private String userName; private String userPass; public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getUserPass() { return userPass; } public void setUserPass(String use...
19.6
72
0.661224
d9bf3fccc23b27855995aa512b27d264d2c0f3e9
1,875
package com.croquis.crary.restclient.gson; import android.test.AndroidTestCase; import com.google.gson.JsonArray; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import java.util.Date; public class BuilderTest extends AndroidTestCase { public void testObjectBuilder() { JsonObject jso...
35.377358
87
0.530133
0418ec0c37f3d5e7ed9310dab257fbb8df6b10e1
3,792
package de.sambalmueslie.wot_api_lib.strongholds_api.response; import java.util.Map; import de.sambalmueslie.wot_api_lib.common.BaseWotResponse; public class StrongholdInfoResponse extends BaseWotResponse { public class StrongholdBuilding { public String getDirectionName() { return direction_name; ...
20.835165
63
0.710707
a746243686032a3104a46c9ae348bcd2ec04356d
459
package cn.ts.rpc.upms.api; import cn.ts.core.mybatis.BaseService; import cn.ts.rpc.upms.model.UpmsUser; import cn.ts.rpc.upms.model.UpmsUserExample; /** * UpmsUserService接口 * * @author Created by YL on 2017/4/27. */ public interface UpmsUserService extends BaseService<UpmsUser, UpmsUserExample> { /** * ...
22.95
81
0.703704
ee41e293142e8259911b5732b3cb59e7b6432044
334
package com.mohammedatif.medium.lombok.builder; import com.mohammedatif.medium.lombok.data.HumanName; import lombok.Builder; import lombok.Getter; @Getter @Builder public class UserInfo { private HumanName humanName; private int age; private Gender gender; @Builder.Default private boolean isActi...
17.578947
53
0.757485
9201b60df5cb21c4b1bd49f7da55ed85d07066cf
4,729
package ru.moneyshar.site.config; import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso; import ru.moneyshar.site.auth.UserAuthenticationProvider; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework...
37.531746
107
0.675619
b30d888dc5b8c4e457f0d77aae3ce15fc97f24f3
2,176
/* * 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 ...
39.563636
100
0.79136
c5efaab9b3a23901ec38a2e31d96be8f54d409a0
1,444
package com.luv2code.java14.elearning.controller.user; import javax.validation.Valid; import org.springframework.http.ResponseEntity; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.b...
30.723404
61
0.786011
0ff577411cd25aaf9fec7c95f077f844c7e5c609
13,289
package edu.rutgers.css.Rutgers.api.bus; import android.location.Location; import android.support.annotation.NonNull; import com.google.gson.JsonSyntaxException; import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Compar...
43.006472
186
0.665513
5abb28892e05fab130b9ef214ac1185d39dd46f8
7,180
package services; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http...
42.994012
144
0.676045
c39d05f20b2ef7985f9cf3150b4950b592bd5b8e
792
package bg.galaxy.nuggetsconsumer.service; import bg.galaxy.nuggetsconsumer.repository.NuggetRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * Created...
26.4
64
0.760101
83ff0cea1b179eeec680aa2c520255b18e1166c4
1,478
package com.github.mubbo.core; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.stream.JsonReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.Reader; import java.io.Writer; public class Presetter { private static final String ...
27.886792
66
0.61502
9079966ff99b3b351692cc2fb4c0d991d9eecdbd
2,121
/* * 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 TCPThread; import java.io.IOException; import java.io.PrintStream; import java.net.Socket; import java.util.Scanner; import ja...
26.848101
117
0.610561
0eab3a63e4f4a38618e9152d42e1802e55825b35
966
package com.example.share.model; import java.io.Serializable; import java.util.Date; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; public class Response implements Serializable { /** * 回复的作者名字 */ private String mUserName; /** * 回复的作者头像 */ private String m...
14.41791
51
0.707039
f9159d1ce75dbed91b9e185e8fa7e2089c4fca64
230
package heli.htweener.ease.impl.cubic; import heli.htweener.ease.IEaseFunction; public class CubicIn implements IEaseFunction { @Override public double transform(double ratio) { return ratio*ratio*ratio; } }
20.909091
47
0.734783
e2fb87752e873269a93c6598568297628368e950
260
package com.example.demo.exception; public class GeneralError extends RuntimeException{ public GeneralError(String message) { super(message); } public GeneralError(String message, Exception e) { super(message,e); } }
23.636364
55
0.665385
1a22db8f0e61cf2838fb83727d78602194953950
150
package com.kgc.service; import com.kgc.pojo.User; /** * @author shkstart */ public interface UserService { User selectByName(String name); }
13.636364
35
0.706667
0ed5ead4c3c53694a11c2a6a5afdfe9afdd6a259
2,051
package de.fau.fuzzing.logparser; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Paths; import java.util.Properties; public class ApplicationProperties { private static final String PROPERTIES_PATH = Paths.get(ApplicationPrope...
26.986842
111
0.660166
3369f891448d4987e6257fecbd1cd3588bb7d547
193
package tester; import org.openqa.selenium.WebElement; import elementRepository.ElementFactory; import utility.Log; import pages.*; public class SampleTestPage_tester extends SampleTestPage{ }
24.125
58
0.84456
dc90937b8fd42040ec70b7311604d373f89bf55c
525
package dataforms.devtool.field.common; import dataforms.field.sqltype.VarcharField; /** * パッケージ名フィールドクラス。 * */ public class PackageNameField extends VarcharField { /** * フィールドコメント。 */ private static final String COMMENT = "パッケージ名"; /** * コンストラクタ。 */ public PackageNameField() { s...
15.441176
53
0.624762
10aa64fec791e6a9f1d05cc631330b96097ab477
5,969
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
28.15566
121
0.602614
351b5f603ee5a35ab4a2eee17f003d726d3a3ddc
1,347
/* * 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 it.terrinoni.gdgtorino.hashcode.model; /** * * @author Marco Terrinoni <marco.terrinoni@gmail.com> */ public class Endpoint...
23.631579
91
0.562732
9c2b3cc2aa88cfae0222fc4019f862f35fcaa179
579
package com.rideaustin.repo.jpa; import javax.persistence.LockModeType; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Lock; import org.springframework.data.jpa.repository.Query; import org.springframework.data.querydsl.QueryDslPredicateExecutor; import c...
30.473684
67
0.818653
a0000bf71ccef639701cb68e0c454ff46d930c04
1,567
package org.optsol.jdecor_pojo_template.model; import com.google.ortools.linearsolver.MPSolver; import com.google.ortools.linearsolver.MPVariable; import java.util.List; import org.optsol.jdecor.core.AbstractVariableManager; import org.optsol.jdecor.core.IConstraintManager; import org.optsol.jdecor.core.IObjectiveMana...
31.34
80
0.756222
b2bbb0335c1d70e433505ad05ddd5961ebda707e
314
package net.minidev.ovh.api.dbaas.queue; /** * Region */ public class OvhRegion { /** * Region name * * canBeNull && readOnly */ public String name; /** * Region ID * * canBeNull && readOnly */ public String id; /** * Region URL * * canBeNull && readOnly */ public String url; }
11.214286
40
0.579618
332bb88fd2e12a72a84a0c01c87d33f7c727b0bc
265
package uk.ac.belfastmet.constituencies.domain; import java.util.ArrayList; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; @Data public class AllMembersList { @JsonProperty("Member") ArrayList<Member> members; }
16.5625
54
0.739623
c5c9988b04b5a256e78a3313fd94c5c60f03d568
160
package algochess.engine.interfaces.casillero; import algochess.engine.entidades.Entidad; public interface ColocarHandler { void colocar(Entidad other); }
22.857143
46
0.8125
b31f975729f3ac31dadbe8d27760b6fca20ba103
1,967
/* Copyright 2016 Google 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 to in ...
32.783333
97
0.72547
474fee995e96429cafa5d8e9c4e3242dd999bd1e
6,891
package com.gaoyehau.watchdog; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.os.PersistableBundle; import android.os.SystemClock; import android.util.DisplayMetrics; import android.util.Log; import android.view.MotionEvent; import android.view...
36.654255
117
0.508925
9fa01fdd1207fe6fd7a66acb67bea2a8a51f9049
538
module net.pincette.jes.util { requires java.json; requires net.pincette.json; requires net.pincette.mongo; requires net.pincette.common; requires org.mongodb.driver.reactivestreams; requires org.mongodb.bson; requires org.mongodb.driver.core; requires net.pincette.rs; requires com.fasterxml.jackson.d...
28.315789
49
0.776952
1b720798600f05e2c2b889933eac9a328df3a712
10,825
/* * Copyright 2018-2021 Prebid.org, 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 ...
33.934169
128
0.669284
c0a95561a65ab6f33a4aaaab4860f7a3abc30638
2,511
/** * 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 * distribu...
37.477612
104
0.633214
dd9761ce052f0b42d421f5861eee5bab85658855
1,079
package com.yore.medium; import com.yore.base.TreeNode; import java.util.*; /** * @author jia bing wen * @date 2021/4/26 9:30 * @description */ public class Number102 { public static List<List<Integer>> levelOrder(TreeNode root) { if (root == null) { return new ArrayList<>(); } ...
25.690476
65
0.481928
15f7e91b232b1b6f84639c435e7a5a3980bea7ed
1,412
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
44.125
144
0.816572
67e893c6b3145a4aa99e58892aae9bb1a53b0b11
384
package io.renren.modules.app.v1.dao; import io.renren.modules.app.v1.entity.AppFpsProdDataEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * * * @author wangkang * @email 784706982@qq.com * @date 2021-07-14 15:12:44 */ @Mapper public interface A...
21.333333
77
0.765625
e7eb7a239a50779fd5507bdf500129844d947c78
1,497
package com.industrial.domin; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.util.Date; import lombok.AllArgsConstructor; import lombok.Data; ...
20.791667
65
0.676019
a16719344e4eaccb6e53b7538d631ae48bd28eec
973
package com.marverenic.music.view; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.support.v7.widget.RecyclerView; import android.view.Gravity; public class InsetDecoration extends RecyclerView.ItemDecoration { private Drawable mInset; private int mHeight; privat...
27.027778
85
0.652621
7c44b9898858b1d7e8dbc363779452c7fda91118
2,292
package com.wrapper.spotify.model_objects.miscellaneous; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.google.gson.JsonObject; import com.wrapper.spotify.model_objects.AbstractModelObject; /** * Retrieve information about Restriction objects by building instances from this class. <br><...
28.65
120
0.693281
68fe890ba0a88f37430452919ad3798ba4f6ba36
500
import java.util.*; class prime { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int i = 0; int c = 0; for (i = 2; i < a; i++) { if (a % i == 0) { c = c + 1; } ...
21.73913
45
0.362
47ed14ab4f6505acdd84adfd29c328d5bb1c984b
2,486
package net.golikov.springdddexample.ddd.model.filesystem.basic; import net.golikov.springdddexample.ddd.model.Grade; import net.golikov.springdddexample.ddd.model.Student; import net.golikov.springdddexample.ddd.model.filesystem.StudentFs; import org.springframework.beans.factory.annotation.Lookup; import org.springf...
29.951807
112
0.685438
8c54c03b3e264ee3e52f7769e5612708cd51e10b
6,442
/* * 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 CMS; import java.awt.event.ItemEvent; import java.util.List; import javax.swing.DefaultComboBoxModel; import javax.s...
26.401639
80
0.62077
5b3cc055460b2f298b22b3ae69ac70dacd92cb72
1,768
package shipmaker.knobs; import java.awt.event.MouseEvent; import java.awt.geom.AffineTransform; import java.awt.geom.NoninvertibleTransformException; import java.awt.geom.Point2D; import physics.XYTSource; import render.MouseEventType; import render.XYTRenderNode; public abstract class Knob extends XYTRenderNode im...
22.379747
76
0.673077
7848878ec64f5ccd2cda73ac76eebc3dc866be62
103
package alexmog.rulemastersworld.packets.skills; public enum SkillType { PASSIVE, ACTIVABLE }
14.714286
48
0.757282
9c87f5ebd40efa49685e65ee8dfe5e33fa98433f
1,080
package net.blog.controller.portal; import net.blog.response.ResponseResult; import net.blog.services.ISolrService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springf...
40
107
0.687963
ed19c28f14b7404162e9326afcfd4773c5e8aa67
1,707
/* * Licensed to GraphHopper and Peter Karich under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
29.947368
76
0.681312
02d6104f7aa347d2fc8a980e322c8004fd37ebc5
112
package com.github.seckillsystem.common; public interface Code { String getMessage(); int getCode(); }
16
40
0.714286
65b0a90865e55257778aebdfba9b6a777e18d525
4,639
package io.woleet.idserver.api; import io.woleet.idserver.ApiClient; import io.woleet.idserver.ApiException; import io.woleet.idserver.Config; import io.woleet.idserver.api.model.*; import org.apache.http.HttpStatus; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.List; impor...
33.861314
117
0.659194
18dc50dc79bc7b876ad427af3f56f52755f25ac4
1,106
package ru.job4j.profession; /** * Diploma. */ class Diploma { } /** * Date. */ class Date { } /** * Profession. * @author Aleksandr Shigin * @version $Id$ * @since 0.1 */ public class Profession { /** * Name. */ private String name; /** * Diploma. */ private Diploma diplom...
17.555556
64
0.528029
92c35b5d56774220b6aad2a58ec87bc799a6b743
371
package fr.ubordeaux.jmetrics.project; /** * Service that traverses directories to generate a Project Structure containing bytecode class files. */ public class BytecodeFileSystemExplorer extends SimpleFileSystemExplorer { private static final String CLASS_EXTENSION = ".class"; public BytecodeFileSystemExp...
24.733333
102
0.762803
fcd2ac2325b086a803df77b076afbedef6a5642b
315
package io.github.syst3ms.skriptparser.parsing; /** * An exception thrown whenever something goes wrong at parse time. */ public class SkriptParserException extends RuntimeException { private static final long serialVersionUID = 0L; public SkriptParserException(String msg) { super(msg); } }
26.25
67
0.742857
2ae34ee1f83a840f31e8eda56c9ec06d6b56d0c3
1,841
/* * 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 com.eagerlogic.cubee.client.properties.ext; import com.eagerlogic.cubee.client.components.AComponent; import com.eagerlogic.c...
31.741379
101
0.669202
d8af4b799f5d1e2f08810a7a1b8056b7b9745419
1,597
package com.gluk.z2j.app; import java.io.File; import java.io.InputStream; import javax.xml.transform.Result; import javax.xml.transform.TransformerFactory; import javax.xml.transform.sax.SAXResult; import javax.xml.transform.sax.SAXSource; import javax.xml.transform.sax.SAXTransformerFactory; import javax.xml.transf...
29.036364
84
0.725736
05cffa24f843ecef7ebb4d202b6820ea776703a3
1,003
package com.bazaarvoice.emodb.blob.client; import com.bazaarvoice.emodb.blob.api.AuthBlobStore; import com.bazaarvoice.emodb.blob.api.BlobStore; import com.bazaarvoice.ostrich.dropwizard.healthcheck.ContainsHealthyEndPointCheck; import com.bazaarvoice.ostrich.pool.ServicePoolProxies; /** * Dropwizard health check. ...
37.148148
111
0.782652
efaee4ade7694670f84cd780b3eb6f3c02a7f217
1,959
package it.besil.jweb.server.conf; import java.io.FileInputStream; import java.io.IOException; import java.util.Collections; import java.util.List; import java.util.Properties; import java.util.stream.Collectors; /** * Created by besil on 19/07/2016. */ public class JWebConfiguration extends Properties { public...
27.208333
103
0.673303
04fbe7d38d1b491d794aed8d7f4fa39a83e3e4c3
3,278
package com.theteam.bpmn.engine; import java.util.*; import com.microsoft.signalr.HubConnection; import com.microsoft.signalr.HubConnectionBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.reactivex.Single; public class Monitor { public HubConnection hubConnection; public Monit...
31.219048
258
0.694631
7d3a36e31a88316046179a60d845d0fb5d656292
1,715
package com.belonk.net; import java.io.*; import java.net.InetAddress; import java.net.Socket; /** * Created by sun on 2021/12/24. * * @author sunfuchang03@126.com * @since 1.0 */ public class JabberClient { //~ Static fields/constants/initializer //~ Instance fields //~ Constructors //~ Methods publ...
25.220588
115
0.683965
a1388c83f4766d8dc2bb24d45d1fd2618de2291c
2,386
/* * Copyright 2009-2020 Tilmann Zaeschke * * 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 ...
30.589744
94
0.698659
d488881e7b1791b86d4f7dfd75bd0943b75175da
1,200
package com.testflow.apitest.business; import com.testflow.apitest.stepdefinations.FileExecutor; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.ArgumentsProvider; import org.junit.jupiter.params.support.AnnotationCon...
27.272727
100
0.685
4124e9944fad3e9308968ef797fe76392b2b769b
5,839
package com.unascribed.yttr.content.block.big; import java.util.Random; import com.unascribed.yttr.Yttr; import com.unascribed.yttr.init.YSounds; import com.unascribed.yttr.inventory.HighStackGenericContainerScreenHandler; import com.google.common.base.Ascii; import net.minecraft.block.Block; import net.minecraft.b...
33.176136
125
0.731975
9f61eec54ee06a984371ca1f63e06bcdab399ca3
6,289
// This file was generated by the TNO Bean Generator. // Any modifications to this file will be lost upon re-generation. // Generated on: 2020/03/27 12:19:05 package nl.tno.rpr.interactions; import nl.tno.rpr.datatypes.EntityTypeStruct; import nl.tno.rpr.datatypes.MinefieldSensorTypeEnum32; import nl.tno.rpr.datatype...
30.235577
99
0.784385
ed0bf34d53226e02434c818c1f802e9d4c830909
358
package de.saxsys.workshop_cdi.exercise_01; import javax.inject.Inject; public class MethodInjection { private CDIGreeting greeting; public CDIGreeting getGreeting() { return greeting; } @Inject protected void setCDIGreeting(CDIGreeting greeting) { this.greeting = greeting; } public String greet() {...
15.565217
54
0.743017
38376c19d148e6d919ec2d23388afdab65f4f0e9
276
package scaffold.api; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; class ScaffoldPluginTests { @Test void livingInModuleScaffold() { assertEquals("scaffold", ScaffoldPluginTests.class.getModule().getName()); } }
21.230769
78
0.768116
b69e938ad6218048527d90594865221d3544fb42
1,358
package com.divitbui.config; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import com.fasterxml.jackson.module.afterburner.AfterburnerModule; import com.fasterxml.jackson.module.blackbird.Blac...
59.043478
132
0.61782
60602bd7ca8ae8a0510d22680347f53e01e61df8
2,521
package com.ss.editor.extension.util; import com.jme3.bullet.control.PhysicsControl; import com.jme3.bullet.control.RigidBodyControl; import com.jme3.light.Light; import com.jme3.light.LightList; import com.jme3.scene.SceneGraphVisitor; import com.jme3.scene.Spatial; import com.jme3.scene.control.Control; import org.j...
31.5125
102
0.603332
15b767432fcc36ef2a48e1ae513ce5bd6028dae8
2,108
package com.xqbase.bn.schema; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; @RunWith(Parameterized.class) public class TestRecordSchema extends SchemaTestBase { @Parameterized.Paramet...
39.037037
101
0.517078
2ef3a8850363828ea69bd02dd5b0f23a99c390bb
74
package com.migration.refactoring_rules.model; public class Function { }
14.8
46
0.810811
42c98fa19531d9ea21c6aa71912bc92638dd3e85
422
package tech.taoq.web.mvc.result; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * 如不希望被 ResultResponseBodyAdvice 代理时,可在方法上增加此注解 ...
21.1
59
0.796209
1c97e833ded1d8666b5a0c354e35d698d6126615
874
package jscast.ui; import javafx.fxml.FXML; import javafx.scene.image.Image; import javafx.scene.image.ImageView; public class FrameSamplerController { // the FXML area for showing the current frame @FXML private ImageView originalFrame; /** * Init the controller, at start time */ publ...
21.85
65
0.630435
6b0d0f110d94d9e9ea236db8b283c32bead937ee
14,632
package com.zhongjh.albumcamerarecorder.preview; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import android.support.v7.a...
36.671679
106
0.638464
60c9113c524821da748269386a4aa2f48d9a80d0
4,937
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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...
36.57037
118
0.658902
ac890560a818d7b96273b780465c40f5969a1c43
1,358
public class DifferentEquals { /** A demonstration to see how == and an equalArrays method are different. */ public static void main(String[] args) { int[] c = new int[10]; int[] d = new int[10]; int i; for (i = 0; i < c.length; i++) c[i] ...
23.824561
76
0.430781
7e15cfc697365cf47e95f2e392485ea20f67fd01
880
package uk.co.idv.otp.adapter.delivery; import com.amazonaws.services.simpleemail.AmazonSimpleEmailService; import lombok.Builder; import lombok.extern.slf4j.Slf4j; import uk.co.idv.otp.entities.delivery.DeliveryRequest; import uk.co.idv.otp.usecases.send.deliver.DeliverOtpByMethod; @Builder @Slf4j public class SesDe...
29.333333
76
0.760227
4a9295731c9ab9e7a782c9d2e1ac0a92637a099f
17,480
package edu.internet2.middleware.grouperMessagingRabbitmq; import java.io.IOException; import java.net.InetAddress; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.TimeoutException; import com.rabbitmq.client.AMQP.Basic.RecoverOk; import com....
24.077135
121
0.715561
bf17cab66edc5a264c710acbba77c29ce9f9df7c
5,055
package org.apache.fop.events; import java.io.InputStream; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.MissingR...
38.884615
164
0.662117
74924e8b2f82e3be5ef7f74042126b99621eecbd
2,907
/* * Copyright 2021 Sonu Kumar * * 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 ...
43.38806
102
0.811146
4c6d50a84689a3df0619c190506c8c46e8c30a33
2,531
/** * Copyright 2016-present Open Networking Laboratory * 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 ...
33.302632
78
0.739629
de9af9b3eca66c28b79e9f9159503325d2afddaa
3,535
package ca.marklauman.dominionpicker; import java.util.Arrays; import android.database.Cursor; import android.os.Parcel; import android.os.Parcelable; import ca.marklauman.dominionpicker.database.TableCard; import ca.marklauman.dominionpicker.database.TableSupply; /** Contains all information about a supply set. *...
31.283186
77
0.608204
5f0035dfc7fc72e93c8eba57a028409068a3014f
508
package com.example.coolweather.android.dto.gsonDto; import com.google.gson.annotations.SerializedName; /** * Created by angel beat on 2017/8/9. */ public class Basic { @SerializedName("city") public String cityName; public String cnty; public String id; @SerializedName("lat") public S...
18.814815
52
0.669291
19b75d801df1261d858e4d7577263f8665ccd295
3,357
/* * Copyright 2016, Stuart Douglas, and individual contributors as indicated * by the @authors tag. * * 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/lice...
28.449153
96
0.71969
d8f6cad1b82a3d3f0f5aceb3987ac457529ec2a9
11,578
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openal; import org.lwjgl.system.*; import java.util.Set; import org.lwjgl.*; import java.util.function.IntFunction; import static org.lwjgl.system.Checks.*; /** Def...
39.247458
226
0.664709
89261d544a4f6327c20d5aa508bf1684b55accab
4,045
package func.nn.backprop; import func.nn.Link; /** * * @author Andrew Guillory gtg008g@mail.gatech.edu * @version 1.0 */ public class BackPropagationLink extends Link { /** * The derivative of the error function * in respect to this node, or in the case * of batch training possibly the sum ...
21.515957
68
0.5822
5a6844e969ca08ba7b33896407dd458b9521de52
402
package ru.mihkopylov.operation; import javax.annotation.Nullable; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class Action { @NonNull private String actor; ...
18.272727
33
0.778607
1fe8d2c5b66c7d3019e9df5370a78ee95946f6cb
187
package ru.stqa.pft.sandbox; public class Point { public double p1; public double p2; public Point( double p1, double p2) { this.p1=p1; this.p2=p2; } }
14.384615
41
0.588235
6cfbc39f896f408b74a1260a90c468d9c2686356
5,902
/* * 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 ...
29.51
79
0.660115
a481c41bcef4c2d01af56ceebd726e93871c4e65
568
package com.projeto.backend.helpdesk.enums; public enum StatusEnum { New, Assigned, Resolved, Approved, Disapproved, Closed; public static StatusEnum getStatus(String status) { switch(status) { case "New":return New; case "Assigned":return Assigned; ...
21.037037
55
0.56338
caa65db5594a0e8a32281b6d56c999331f12a2bc
1,111
import java.util.Random; public class Program { public static void main(String[] s) { Restaurant restaurant = new Restaurant(10, 15, 5); OutputClass show = new OutputClass(restaurant); for (int i = 1; i <= 8; i+=2) { restaurant.addDish(new Drink("Drink " + (i), Math.abs(new Random().nextInt() % 20))); ...
25.837209
90
0.628263
5926e660c74999a2fbb3a14e232f65ad95897d8d
14,215
/** * This project is licensed under the Apache License, Version 2.0 * if the following condition is met: * (otherwise it cannot be used by anyone but the author, Kevin, only) * * The original JSON Statham project is owned by Lee, Seong Hyun (Kevin). * * -What does it mean to you? * Nothing, unless you want to ...
33.684834
137
0.697432
5455e18fdf45290f0fbe7b6f05de7a8d41d7c738
39,325
/* * 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...
44.942857
82
0.649053
d54934e507078f6028292064b96f592f3440ee7f
726
public final class realMoneyUser extends User { public realMoneyUser(String userName, String passWord, double balance) { super(userName, passWord, balance); } public realMoneyUser(String userName, String passWord, double balance, double profit) { super(userN...
25.928571
91
0.62259
b4f25e8e2d21494dcb78747c37642f3cb3988c4e
1,606
package cn.conque.config; import org.springframework.amqp.core.Binding; import org.springframework.amqp.core.BindingBuilder; import org.springframework.amqp.core.FanoutExchange; import org.springframework.amqp.core.Queue; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation...
28.175439
92
0.740971
1a37c3c931f740e26053810d852e0e874feeff9e
3,008
package com.nuc.menu.child; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.input.SAXBuilder; import org.jdom2.output.Format; import org.jdom2.output.XMLOutputter; import java.io.File; import java.io.FileWriter; ...
35.388235
132
0.686835
6680ef0f316a0b610a07ef73b8ff221fbc1213fa
1,913
package dialight.observable.map; import org.jetbrains.annotations.NotNull; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Set; public class ObservableMapWrapper<K, V> extends ObservableMap<K, V> { protected final Map<K, V> map; public ObservableMa...
29.430769
94
0.578672
c106fbb39473a7d01fbfecdad24e643b6d35dd78
3,233
// Template Source: BaseEntity.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------...
32.989796
164
0.685431
06b269d36d22059006d23d5c51856f784a891586
112
package net.denwilliams.homenet.domain; public interface Switch { String getId(); String getValue(); }
16
39
0.714286
dd210280f6e302f255a19ed43288bfcb96436b84
381
package com.neusoft; public class Phone { //品牌 String brand; //价格 int price; //颜色 String color;//成员变量 //方法 //给name 打电话 public void call(String name) { int a = 45; //局部变量 System.out.println("给"+name+"打电话"); } //发短信 public voi...
13.607143
43
0.48294
6febcd70a0de9aa84d1de635a039db41f722f29d
265
package gov.cms.mat.fhir.rest.dto.spreadsheet; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class DataType { private String dataType; private String validValues; private String regex; private String type; }
18.928571
46
0.766038
c1df7763d44e018979f4268e41827715d2128172
5,616
package com.winterwell.es.client; import java.util.List; import java.util.Map; import com.winterwell.gson.RawJson; import com.winterwell.utils.containers.ArrayMap; import com.winterwell.utils.io.FileUtils; import com.winterwell.utils.time.Dt; /** * Update a document based on a script provided. * https://www.elast...
28.653061
116
0.688568
74574d97e5a587e7935d4e2720f4746c14da74e6
6,368
package com.Simone.Giuseppe.Help_Smart; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.telephony.PhoneStateListener; import android.telephony.SmsManager; import android.telephony.TelephonyManager; import android.util.Log; ...
47.879699
317
0.504868
49498620836693a59fff951cd46265d68a9f1173
1,678
/** * Write a description of Part1 here. * * @author (your name) * @version (a version number or a date) */ import edu.duke.*; import java.io.*; public class Part1 { public StorageResource getAllGenes(String dna){ StorageResource sr = new StorageResource(); int startIndex = dna.indexOf("ATG...
32.269231
75
0.580453
424896d6f0016b7c4dc7a519d780592a91ddccda
2,428
package org.ldlood.controller; import org.ldlood.VO.EventInfoVO; import org.ldlood.VO.EventVO; import org.ldlood.VO.ResultVO; import org.ldlood.dataobject.EventCategory; import org.ldlood.dataobject.EventInfo; import org.ldlood.service.CategoryService; import org.ldlood.service.EventService; import org.ldlood.utils.Re...
33.722222
128
0.7014