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
ec36cc93ae04f29c16d731b3fc8975b8d396cf24
4,048
package com.cerner.ccl.parser.text.documentation.parser; import com.cerner.ccl.parser.data.EnumeratedValue; import com.cerner.ccl.parser.exception.InvalidDocumentationException; import com.google.code.jetm.reporting.ext.PointFactory; import etm.core.monitor.EtmPoint; /** * A parser that produces {@link EnumeratedVa...
36.8
120
0.578557
796acc37692e50006e819aab6250190b59d8120d
2,183
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
36.383333
101
0.802565
58c938c570aa6da4132d6aab1da4c62b021b84a1
852
package java004; import java.util.Scanner; public class A01 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String text = sc.nextLine(); String textLow = text.toLowerCase(); String textResult = textLow.replaceAll(" ", ""); int consonant = 0, vowel = 0; for (int i = 0; ...
29.37931
107
0.579812
0a7cff14cbf515389e83476bd1ac3d62235882e3
6,800
package com.mapswithme.maps.routing; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.DialogInterface; import android.graphics.drawable.ColorDrawable; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.Ale...
33.830846
106
0.655294
c1b4bbf42ca628b87e150ddb6271f7b8f62891bb
2,981
import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; /** * * @author yahao.sun * */ public class Question2 { public List<String> getDirectFriendsForUser(String u...
34.662791
102
0.591412
fc4fee7e2f4cfbad4e23c320eb2679ce29b1067e
2,216
package com.example.demo.controller; import com.example.demo.model.User; import com.example.demo.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework....
36.327869
105
0.697653
dd82cbda53fb6b559c90514cefc27c718159da07
12,244
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL")...
39.118211
215
0.605766
fef3ae98a40c0e8341857fa4602b46642e225ce5
317
package fabuco.performer; public interface PerformerCall<P extends PerformerParameter<R>, R> { PerformerCallState getState(); boolean isSucceeded(); boolean isExpired(); P getParameter(); R getResult(); boolean isRecoverableError(); String getFaultCode(); Throwable getRecoverableError(); }
14.409091
68
0.731861
59a558e762d86a9ec8f38c0480095318ab103d9c
1,061
package videosTest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; import org.openqa.selenium.By; import org.openqa.selenium.chrome.ChromeDriver; public class Test { private static ChromeDriver driver; public static void main(String[] args) th...
29.472222
121
0.747408
ec5d22bc4b7e608bff42876bbb912d0f5f534fd1
758
package com.mapi.docadm.dto; import java.io.Serializable; import org.springframework.data.domain.Page; import com.mapi.docadm.entities.Funcionario; public class FuncionarioDto implements Serializable { private static final long serialVersionUID = 1L; private Long id; private String nome; public FuncionarioDto...
17.227273
79
0.726913
5e25fbfc61e9e4bc48cae26908afacb12ad861a1
904
package info.ericlin.redditnow.recyclerview; import android.content.Context; import android.view.View; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import java.util.List; import org.greenrobot.eventbus.EventBus; public abstract class RedditViewHolder<T extends RedditListItem> ...
23.789474
98
0.754425
0084e576a10b11205574ccd4c8769b10509672e0
166
package com.forgottenartsstudios.networking.packets; /** * Created by forgo on 10/15/2017. */ public class SendTryAttack extends Packet { public int index; }
16.6
52
0.73494
02d9bfe2909e2913bf009ba863f05178fae450bd
1,922
/* * Copyright 2017-2021 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
39.22449
122
0.75078
bed9edf540f9cbce93b206d3d2eec9abe47a6f0e
12,349
package co.mide.kanjiunlock; import android.content.SharedPreferences; import android.graphics.PixelFormat; import android.os.Bundle; import android.provider.Settings; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.view.Gravity; import an...
39.328025
137
0.630334
69a7e4bbde61e844a8f4f11aef5c424757a7f934
341
package com.thinkgem.jeesite.modules.sys.utils; public class AccessUtils { private static final ThreadLocal accessInfo = new ThreadLocal(); public static AccessInfo getAccessInfo() { return (AccessInfo) accessInfo.get(); } public static void setAccessInfo(AccessInfo info) { accessInf...
22.733333
68
0.70088
357f0b2570c58d0c55f54ce403d481a24eb7869b
4,724
/* * 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 ...
41.438596
121
0.740686
f162c86b22f8d5bee13de3a1b4bb2e5cf0c93a02
14,460
package main; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.beans.PropertyChangeEvent; import jav...
32.714932
136
0.694537
921fda0cbb9b410c94cd9f2d135304684f24b7fa
148
package org.nanotek.entities.immutables; import java.io.Serializable; public interface ArtistCreditNameEntity<K> { K getArtistCreditName(); }
14.8
44
0.790541
31c5b9ba90a55bf9e420c43afbc400f1a1311646
5,251
package org.treez.javafxd3.d3.scales; import org.treez.javafxd3.d3.arrays.ArrayUtils; import org.treez.javafxd3.d3.core.Value; import org.treez.javafxd3.d3.time.TimeScale; import org.treez.javafxd3.d3.core.JsEngine; import org.treez.javafxd3.d3.core.JsObject; /** * {@link QuantitativeScale} with a continuous range...
28.851648
91
0.691106
265c7559adf24057dba2f3e371603a2627a1467e
698
package com.dingdong.party.serviceBase.common.api; import io.swagger.annotations.ApiModelProperty; import java.util.List; /** * 为了契合前端的数据处理, 从而生成这个 无用的类 * * @author retraci */ public class CommonList<T> { @ApiModelProperty("列表数据") private CommonPage<T> list; /** * 封装一个 CommonPage */ ...
18.864865
60
0.627507
8b320966057c646eeec61fb536868daa89a3fd8d
15,021
package cs555RS.nodes; import cs555RS.transport.TCPConnection; import cs555RS.transport.TCPSender; import cs555RS.util.Protocol; import cs555RS.wireformats.ChunkServerMajorHeartbeat; import cs555RS.wireformats.ChunkServerMinorHeartbeat; import cs555RS.wireformats.ChunkServerRegistration; import cs555RS.wirefor...
41.494475
195
0.534319
edacf3c494350998fb8a0a43abdcb34bfddd516e
152
package rosetta; public class MDC_DIM_X_INTL_UNIT_PER_MIN { public static final String VALUE = "MDC_DIM_X_INTL_UNIT_PER_MIN"; }
16.888889
69
0.703947
f882bf38c7dfd5473afeea0997aa69b51cf858c0
869
package io.nosqlbench.activitytype.cqlverify; public enum DiffType { /// Verify that fields named in the row are present in the reference map. rowfields(0x1), /// Verify that fields in the reference map are present in the row data. reffields(0x1<<1), /// Verify that all fields present in either ...
25.558824
79
0.650173
6667ad77004cbaaf29761197a71c5fec1908c279
1,187
package gmlviewer.gis.style; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Shape; import java.awt.Stroke; import java.awt.BasicStroke; import gmlviewer.gis.model.Project; public class StrokeStyle extends Style { protected StrokeStyle(Color lineColor, float width, float [] dash ) { this.lin...
24.729167
87
0.655434
98c4100bf91bb2a8d9bbbceca6179bebdc0b7802
829
package com.moqbus.app.service; import com.moqbus.app.service.mqtt.ControlProxy; public class QueryAndSubscribeThread extends Thread { private static ChildThreadExceptionHandler exceptionHandler; static { exceptionHandler = new ChildThreadExceptionHandler(); } public static class ChildThreadEx...
27.633333
96
0.750302
411a3750423bae1fc91f09e4fddbb2bdf49a245f
2,771
package com.hmsoft.pentaxgallery.ui.camera; import android.content.Intent; import android.os.Bundle; import android.view.Display; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; import android.view.Surface; import android.view.WindowManager; import com.hmsoft.pentaxgallery.R; imp...
30.119565
96
0.656442
b3f8f1688ce5ffed583c5181e79729a2a9113e6b
4,602
/* * Copyright 2010-2019 Australian Signals Directorate * * 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 appl...
46.959184
247
0.726641
a2b87edf887f542164650c98f232394a6e2a791f
1,400
package com.linkedbear.spring.transaction.dao; import com.linkedbear.spring.transaction.util.JdbcUtils; import org.springframework.stereotype.Repository; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; @Repository public class FinanceDao { public void addMoney(Long i...
34.146341
98
0.64
4f7a01cd37b9631f9d7b7caefad27c3c23748ef3
2,578
package io.github.putrasattvika.jrmcremote.utils.request; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import org.w3c.dom.Document; import org.xml.sax.InputSource; import java.io.ByteArrayInputStream; import java.io.StringReader; import java.net.URL; import java.util.List; import java.util....
31.82716
101
0.66796
6f609f4729418d79a6133cc89b315844bd9315e4
6,892
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.omnibox; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObje...
33.619512
99
0.627249
8650158e675dda7909f9f26a3058dfff1933433f
489
package com.example.bootiful_restaurant_reviews.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToOne; import java.io.Serializable; @Data @NoArgsConstructor @AllArgsConstructor @En...
20.375
54
0.785276
c4843c6f5997a49befdce12f50147935b31f0678
3,890
package org.apache.ofbiz.shipment.receipt; import lombok.experimental.FieldNameConstants; import java.io.Serializable; import lombok.Getter; import lombok.Setter; import java.sql.Timestamp; import java.math.BigDecimal; import org.apache.ofbiz.entity.GenericValue; import java.util.List; import java.util.ArrayList; /**...
21.731844
76
0.734447
e35bbd5939a1922a972854b7c819eb3aee820c7f
3,286
import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import javax.xml.stream.XMLStreamException; imp...
39.590361
93
0.400183
d91ac8542d91653360a8ca2303fe48d79fb82670
287
package com.yizhiteamo.ufood.entity; import lombok.Data; /** * @author Ralts */ @Data public class Order { private Integer id; private String orderTime; private String userInfo; private String orderContent; private String createTime; private String status; }
16.882353
36
0.710801
9b8b3306c1f99abeed575a10a62b87df629174c2
605
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: compiler/ir/serialization.common/src/KotlinIr.proto package org.jetbrains.kotlin.backend.common.serialization.proto; public interface IrErrorDeclarationOrBuilder extends // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backen...
33.611111
125
0.757025
3139506499380f9877fd4c76fa38d301721eee91
2,834
package scraper.hooks; import scraper.annotations.ArgsCommand; import scraper.annotations.NotNull; import scraper.annotations.node.NodePlugin; import scraper.api.di.DIContainer; import scraper.api.plugin.Hook; import scraper.api.specification.ScrapeInstance; import scraper.api.specification.ScrapeSpecification; import...
36.333333
116
0.667255
4558fdfb84fa0232eb73ef66836d78d936057cf5
851
package com.phaosoft.android.popularmovies.model; /** * Trailers data model module */ public class Trailer { private String key = null; private String name = null; private String videoUrl = null; private String pictureUrl = null; public Trailer() {} public Trailer(String key, String name, S...
20.261905
81
0.60047
2d6ab170a4ea34e8bb79474647e125ab506a8dcd
973
package ar.com.ada3d.frontend; import com.ibm.xsp.extlib.tree.impl.BasicLeafTreeNode; import com.ibm.xsp.extlib.tree.impl.BasicNodeList; public class LayoutTitleBarActions extends BasicNodeList { private static final long serialVersionUID = 1L; public LayoutTitleBarActions() { addLeaf("Nuevo Gasto", "btnClose"); a...
30.40625
69
0.677287
32bd673a13e3e897c69099aecce41387f1162d6e
1,688
package workerManagerResourceSpotAllocation; import java.util.HashMap; import bwapi.Unit; /** * RefineryManager.java --- {@link ResourceManager} for refineries. The * {@link GatheringSource}s that this Class holds are all the currently existing * / constructed refineries on the map of the Player. * ...
30.690909
99
0.710308
5a3f5d5b505dd50bbd7b1c51e34a2b76510ceeed
2,007
import java.util.HashMap; import java.util.Map; public class TabIdent { private int nbVar; private int nbParam; private HashMap<String,IdFunct> table_globaux; private HashMap<String,Ident> table_locaux; public TabIdent() { this.nbVar = 0; this.nbParam = 0; this.table_locaux = new HashMap<String, Ident...
20.90625
71
0.678127
21433ab4de7ebe1660bcaf07ebaa8364e3d0b575
2,398
package top.zhogjianhao; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import java.util.*; @Slf4j @DisplayName("集合工具类测试") public class CollectionUtilsTest { private void println(Object source) { System.out.println(source); } @DisplayName("i...
32.405405
88
0.651376
8d85846c989a9ce8e48ef3b7945a9415521add59
1,409
/** * Created by mt on 11/10/2015. */ package socketex.core; import java.net.Inet4Address; import java.net.UnknownHostException; public class HostName { String ip; int port; public HostName(String ip, int port) { if(ip.equals("127.0.0.1") || ip.equals("localhost")) { try { ...
25.160714
92
0.551455
6ebdfcdcdf87fcae1c36704b4c00e2a31d8c09e7
766
package org.scaffoldeditor.scaffold.io; import java.io.IOException; import java.io.InputStream; import org.scaffoldeditor.nbt.schematic.Structure; import net.querz.nbt.io.NBTDeserializer; import net.querz.nbt.tag.CompoundTag; public class StructureAsset extends BlockCollectionAsset<Structure> { public StructureA...
23.212121
84
0.761097
abc7079c38fe35027fb80a24efc9e8d974100e3c
2,471
/** * <p>Copyright: Copyright (c) 2019</p> * * <h3>License</h3> * * Copyright (c) 2019 by Jonatan Gomez-Perdomo. <br> * All rights reserved. <br> * * <p>Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * <ul> * <l...
36.338235
92
0.719951
5b569b682503bbf839baccedec6cb830788e6b3d
651
package HW2_Copy_List_with_Random_Pointer_138; import java.util.HashMap; // 138. Copy List with Random Pointer. // first define a Node class public class Solution { public Node copyRandomList(Node head){ HashMap<Node, Node> map = new HashMap<>(); Node curr = head; while(curr != n...
25.038462
56
0.557604
0b5e7da1be0cb3a9a2067c081b189ce1d65fcf74
5,736
package de.citec.sc.sentence.preprocessing.sparql; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.apache.jena.query.Query; import org.apache.jena.query.QueryExecution; import org.apache.jena.query.QueryExecutionFactory; import org.apache.jena.query.QueryFactory; import org.a...
42.176471
125
0.537308
4da5d0cabeba2368f173dc4db24380e820423306
4,718
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
31.878378
119
0.597923
a7de6053c28695bb6fd9bef616af64b8330f83c0
351
package org.gameontext.iotboard.provider.browser; import java.util.ArrayList; import java.util.List; public class DeviceList { private List<String> devices = new ArrayList<String>(); public void add(String deviceId) { devices.add(deviceId); } public List<String> getDevices() { ...
17.55
59
0.65812
7a03cc340e19c906db2e3dbbe522a58b91e2582a
2,635
/** * Copyright 2007 Cordys R&D B.V. * * This file is part of the Cordys Email IO Connector. * * 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.o...
26.616162
98
0.632258
ee93365aeab72cdf3bd4d37f9b3e1b7cc26aced8
4,678
/* * See LICENSE file in distribution for copyright and licensing information. */ package org.yecht; /** * * @author <a href="mailto:ola.bini@gmail.com">Ola Bini</a> */ public class YAML { public final static int BLOCK_FOLD = 10; public final static int BLOCK_LIT = 20; public final static int BLOCK_PL...
39.644068
110
0.609876
62d5d3e5ebd6e1b5d4e4609fc92a82783f31706c
5,310
package com.planet_ink.coffee_mud.Abilities.Druid; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; imp...
38.201439
156
0.702637
c2e1dff3b7f345b14c55f5cea16a206657ff41f0
1,449
package support.actions.plugin; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; public class CreateIgnore { public Boolean UpdateIgnore(String ignoreName, ArrayList<String> localPaths) { // String fileName=ignoreName; ...
22.292308
80
0.646653
2a9bf052844f8a5e4d2e78bcc0e083562f34662e
375
package com.ilargia.games.logicbrick.component; import com.badlogic.gdx.math.Vector2; import com.ilargia.games.entitas.api.IComponent; import com.ilargia.games.entitas.Component; @Component(pools = {"Core"}) public class Motion implements IComponent { public Vector2 velocity; public Motion(float x, float y) ...
22.058824
48
0.730667
52c5319f0a908ac758c79749c1b6eacb08b707b2
4,660
/* * Copyright (c) 2015-2021, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com> * Distributed under the terms of the MIT License */ package com.github.tonivade.resp.protocol; import static com.github.tonivade.purefun.Precondition.checkNonNull; import static java.nio.charset.StandardCharsets.UTF_8; import j...
31.486486
97
0.66824
e9d0130fdd3eef1be08786bddb4cb0a4646a7db5
3,028
package Vinkkitietokanta.DAO; import Vinkkitietokanta.Attribuutit; import Vinkkitietokanta.Formaatit; import Vinkkitietokanta.LukuStatus; import Vinkkitietokanta.Vinkki; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashMap; imp...
36.047619
167
0.587517
24ad30ad5a4802023a23a0a8c3f50a632589bd72
1,716
/* * JFLAP - Formal Languages and Automata Package * * * Susan H. Rodger * Computer Science Department * Duke University * August 27, 2009 * Copyright (c) 2002-2009 * All rights reserved. * JFLAP is open source software. Please see the LICENSE for terms. * */ package edu.duke.cs.jflap.gui.editor; import edu...
25.61194
76
0.710373
57f570bd6bc78e735992bca0f647c441a508df55
1,321
package leetcode.stringbinarytree; /** * https://leetcode.com/problems/construct-string-from-binary-tree/description/ */ class Solution { public String tree2str(final TreeNode root) { if (root == null) { return ""; } // 1 // / // 2 // -> 1(2) // 1 // \ // 2 /...
22.775862
79
0.588948
68db4cbdaa9d93560212e7e2754de6910faf8496
2,018
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.acm.models; import com.aliyun.tea.*; public class UpdateOperatorRequest extends TeaModel { // OAuth模式下的授权token @NameInMap("auth_token") public String authToken; // 邮箱 @NameInMap("email") public String...
23.465116
94
0.645689
01e11d3ace1047e020867ce8928b5b610316cfff
294
package net.minecraft.world.inventory; import net.minecraft.world.item.ItemStack; public interface ContainerListener { void slotChanged(AbstractContainerMenu p_39315_, int p_39316_, ItemStack p_39317_); void dataChanged(AbstractContainerMenu p_150524_, int p_150525_, int p_150526_); }
32.666667
86
0.823129
746d24d661b518b809e390ef865bdeb3a27b41bd
714
package uk.gov.hmcts.reform.sscs.common; import static com.google.common.io.Resources.getResource; import com.google.common.io.Resources; import java.io.IOException; import java.net.URL; import org.apache.commons.codec.Charsets; public class TestHelper { public static final String TEST_SERVICE_AUTH_TOKEN = "test...
29.75
78
0.740896
5e2a4edb3ae099afb949d329504f087cf79ecbdc
5,729
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
41.514493
157
0.676732
10c303547054bbca6aa157970e592b997f23efaa
1,068
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.credit.market; import com.opengamma.financial.analytics.isda.credit.CreditCurveDataKey; import com.opengamma.util.result.Result; /** * Implements map...
33.375
86
0.742509
df10edb1b8fe6f87979216636a3d7989afa82338
630
package com.scottlogic.deg.generator.outputs; import com.scottlogic.deg.generator.inputs.RuleInformation; import java.util.stream.Stream; public class TestCaseDataSet { public final RuleInformation violation; private final Stream<GeneratedObject> rows; public TestCaseDataSet(RuleInformation violation, G...
26.25
85
0.722222
afa559ceaeed0989e312a40b656ef78fbe8f61c8
1,837
package Props; import java.io.*; /* Entidade de Usuarios. */ public class Usuario implements Registro{ private int id; private String nome; private String email; private byte[] senha; private byte[] salt; public Usuario(){ this(-1,"","",new byte[32],new byte[32]); }//end of void constructor public Usuar...
24.171053
74
0.670114
ca266347d228954a87fbdf6557f89140fcf1007d
3,396
package com.koch.ambeth.xml; /*- * #%L * jambeth-test * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * 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...
29.789474
506
0.7553
436d0d56018a544ae42bc5360aa3cbc12e7c8c60
2,050
/* * 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 modelo; import java.util.Date; /** * * @author Vik-t */ public class Renta { private int idrenta; ...
21.578947
131
0.599512
8338f2ccf6420549080e123eb6ff510d859bccfe
1,525
package com.example.ruolan.cainiaogo.adapter; import android.support.v7.widget.RecyclerView; import android.util.SparseArray; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; /** * Created by ruolan on 2015/11/13. */ public class BaseViewHolder...
23.106061
92
0.651803
7adf14c9a7a095c7e4e935c844acaca677de3df4
397
package io.github.ealenxie.gitlab.webhook.dto; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; /** * Created by EalenXie on 2021/12/1 9:31 */ @Getter @Setter public class User { private Long id; private String name; private String username; @JsonProp...
19.85
53
0.732997
02085ed9f5cdaeff31c2aabd1406500f164eb1ad
1,609
package org.kokzoz.dluid.content.test; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.control.Accordion; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.VBox; import lombok.Data; import org.kokzoz.dluid.content.TabModelTestController; @Data public class ModelTestTestingC...
38.309524
119
0.786203
63b0b6d0a8e4f354f7cf8ab38adb9bca48bcc643
932
package com.linuxtek.kona.app.comm.service; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.linuxtek.kona.app.comm.entity.KSms; import com.linuxtek.kona.app.core.entity.KUser; public abstract class KAbstractSmsService<SMS extends KSms,SMS_EXAMPLE,USER extends KUser> ...
25.189189
91
0.648069
8b62836ea8b41975d598f1694f599ed99ffa5eae
1,254
package calculator.model; // Represents a node of the expression binary tree. Holds a value and a right and left branch. // INVARIANT: Nodes with children are always operators, leaves are always operands public class ExpressionNode { private ExpressionNode leftBranch; private ExpressionNode rightBranch; pr...
28.5
94
0.688995
6462c8213f3bbc367c7f7a0ccaa862f854774a1e
323
package com.openthinks.svm.core.service; import com.openthinks.svm.core.model.BizUserConfig; /** * ClassName: UserConfigService <br> * date: May 20, 2019 9:11:34 AM <br> * * @author dailey.dai@openthinks.com * @since JDK 1.8 */ public interface UserConfigService { BizUserConfig findUserConfig(long userId); ...
19
51
0.727554
440de49c13fadddab78df995a7930bf2843d5b05
869
package org.gollum.core.messaging; import java.util.Map; /** * @author wurenhai * @date 2017/12/31 */ public abstract class BaseMessage<T> implements Message<T> { private final String id; private final long timestamp; public BaseMessage(String id) { this(id, System.currentTimeMillis()); }...
18.891304
66
0.626007
ba0990c95ff737b5eaf0deef77717d561917c918
914
package jarvis.utils; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.atomic.AtomicInteger; public class SequenceUtils { private String day; private AtomicInteger atomicInteger; private int incrementAndGet() { SimpleDateFormat sdf = new SimpleDateFor...
23.435897
71
0.611597
a0ab3d382f48cd067f005a8ec658d6e131f4cf3f
2,812
package com.bs.flower.action; import com.bs.flower.entity.Users; import com.bs.flower.service.UserService; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; import org.apache.struts2.ServletActionContext; import javax.servlet.http.HttpServletResponse; import java.io.IOExcepti...
25.333333
90
0.59175
72e1a53425151b5473589853362066f3862fa0b1
526
package com.soecode.lyf.book.service; import com.soecode.lyf.book.pojo.Book; import com.soecode.lyf.exception.ParamInvalidException; import java.util.List; /** * 业务接口:站在"使用者"角度设计接口 三个方面:方法定义粒度,参数,返回类型(return 类型/异常) */ public interface BookService { /** * 查询一本图书 * * @param bookId * @return */ Book get...
13.487179
55
0.6673
96239b70171e5cdd6013b7dddfef45c92a77907b
5,537
/* * Copyright 2000,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
35.722581
80
0.654325
4a1b6b85a1cb41da939d7eb2f0c8e07f22a17110
9,688
/* * Copyright (c) 2011-2019, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
32.293333
120
0.683216
dfca47d71298072dc3381533c58cf38eaf240754
1,352
/* * Copyright (C) 2020 Baidu, Inc. All Rights Reserved. */ package com.baidubce.common; import java.util.Map; import com.baidubce.http.HttpMethodName; /** * Api info for v2 client to create request * * @author zhangquan07 */ public class ApiInfo { /** * Api method name */ private HttpMethodN...
21.125
84
0.591716
dc278209eae7e398cedb7988c35687f8ee033bd8
3,753
package org.lnu.is.domain.asset.address; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.lnu.is.annotation.dbtable.OD; import org.lnu.is.domain.InformationModel; import org.lnu.is.doma...
20.620879
73
0.681855
632e88bd27f2d79035711dbfad9e01cd278abde4
3,345
package tech.avente; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.Charset; import java.nio.file.Files; import java.util.Date; import java.util.List; import java.util.logging.Level; import jav...
26.547619
112
0.684006
97215d519344789c0e36fdb1f2062cb1926af303
3,542
package org.djr.retrofit2ee.jaxb; import okhttp3.OkHttpClient; import okhttp3.logging.HttpLoggingInterceptor; import org.djr.retrofit2ee.BeanLookupUtil; import org.djr.retrofit2ee.RetrofitProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import retrofit2.Retrofit; import retrofit2.converter.jaxb.Jax...
45.410256
136
0.730378
0eadfc04a34b26082eaf4a56216d2a94481454f8
7,065
/** */ package CIM.IEC61970.Generation.Production.impl; import CIM.IEC61970.Core.impl.PowerSystemResourceImpl; import CIM.IEC61970.Generation.Production.CombinedCyclePlant; import CIM.IEC61970.Generation.Production.ProductionPackage; import CIM.IEC61970.Generation.Production.ThermalGeneratingUnit; import java.util....
29.560669
254
0.724699
f1dbb06cd312b57a547a9e97cc464aca3dc5b956
3,972
/* * Copyright © 2019 admin (admin@infrastructurebuilder.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
26.837838
119
0.693102
3588496c332e241924ca02f1ca19516b7bbec7ee
7,282
/* * The MIT License (MIT) * * Copyright (c) 2017-2020 Yegor Bugayenko * * 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 *...
28.224806
80
0.496018
c363f8e052f599ebf43ab86bc6e1ed4431809537
934
package ru.job4j.menu; import java.util.ArrayList; import java.util.List; /** * Class Menu | Create menu [#4748] * @author Aleksey Sidorenko (mailto:sidorenko.aleksey@gmail.com) * @since 14.01.2020 */ public class Menu { List<MenuContainable> elements; /** * Constructor. */ public Menu() {...
19.87234
69
0.586724
ca8c6cd9ba5d5bfe0bcdccc80a2bdd70e83fe33e
1,826
package se.kth.tracedata.jvm; import se.kth.tracedata.MethodInfo; public class FieldInstruction extends se.kth.tracedata.FieldInstruction{ protected MethodInfo mi; protected String fname; protected String className; protected String varId; protected String sourceLocation; public FieldInstruction(String ...
18.444444
79
0.719606
de704997d61f73dee384e2ffb0e7c8decb22b244
49
package cn.iocoder.dashboard.modules.system.job;
24.5
48
0.836735
248f510871570772ba95d56a13919889974d2d2e
171
package com.xurent.live.exception; public class UnAuthException extends RuntimeException { public UnAuthException(String message) { super(message); } }
17.1
55
0.725146
62d19e2b57794aefc1c96d9d80c66b990fc4c92a
3,108
package org.netlib.lapack; import org.netlib.err.Xerbla; import org.netlib.util.intW; public final class Sormr2 { public static void sormr2(String paramString1, String paramString2, int paramInt1, int paramInt2, int paramInt3, float[] paramArrayOfFloat1, int paramInt4, int paramInt5, float[] paramArrayOfFloat2, int...
29.884615
332
0.512548
ff729a48efd78a01927b1eccc21ce67ee535943a
852
package analyzer.tests; import analyzer.ast.ParserVisitor; import analyzer.visitors.IntermediateCodeGenFallVisitor; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.io.File; import java.util.Collection; @RunWith(Parameterized.class) public class Intermediate...
25.818182
94
0.746479
fd3a2565a24cdfd5dc06de50baae4e30aec01d32
7,257
package uk.ac.ebi.spot.goci.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import uk.ac.ebi.spot.goci.model.Association; import uk.ac.ebi.spot.goci.model.Gene; import uk.ac.ebi.spot.goci.mod...
36.651515
133
0.643792
5260ba5787bfa19f2eff1f7297395576988371ca
606
/** * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.jfinal.weixin.sdk.msg.in.event; import com.jfinal.weixin.sdk.msg.in.InMsg; public abstract class EventInMsg extends InMsg { protected String event; public EventInMsg(String toUserName, String fromUserName, Integer crea...
20.2
111
0.661716
b9ba34cf96d055be017d4bacb8ae52f2c70f8e75
135
package com.matejdro.wearutils.lifecycle; public interface LiveDataLifecycleListener { void onActive(); void onInactive(); }
16.875
44
0.755556
ef2c81e74d4a251f8cf8b6650a0ae0e1e72befd9
820
package com.a9ski.entities; import java.util.Date; import javax.annotation.Generated; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; @Generated(value="Dali", date="2018-03-11T16:17:21.093+0200") @StaticMetamodel(AuditableEntity.class) public class Au...
45.555556
77
0.82439
b238fd4451058bf761ea21944c7080cd74336fcc
1,635
package br.com.caelum.stella.validation.ie; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import org.junit.Test; import org.mockito.Mockito; import br.com.caelum.stella.MessageProducer; import br.com.caelum.stella.validation.InvalidStateException; import br.com.caelum.stella.validat...
35.543478
106
0.809174
0142bf28cf5c0ccd1e500911e4945f609fa617e0
1,022
package com.abe.order.model; import java.math.BigDecimal; import java.time.LocalDate; import io.swagger.annotations.ApiModelProperty; public class SupplierAnswer { @ApiModelProperty private Long client; @ApiModelProperty private String budgetNumber; @ApiModelProperty private BigDecimal discount; ...
24.333333
73
0.75636
05b39c05b84216096dfb9cae9fcd4b973c43c0c2
1,449
package com.hwangfantasy.config; import com.hwangfantasy.service.MainService; import com.hwangfantasy.service.QqService; import com.hwangfantasy.service.impl.MainServiceImpl; import com.hwangfantasy.service.impl.QqServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.co...
31.5
76
0.6853
00b4007a57887cc41e1964c0683a0583d38fd04f
335
package org.folio.processing.exceptions; public class ReaderException extends RuntimeException { public ReaderException(Throwable throwable) { super(throwable); } public ReaderException(String message) { super(message); } public ReaderException(String message, Throwable cause) { super(message,...
19.705882
59
0.740299
4c38a7f36b49a0f9b46bec14d721cfffe93a40ab
2,249
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
40.160714
114
0.751