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
47bc8037412983b0736d477b18bea3735c9f7002
6,177
/* * Copyright 2004 - 2012 Mirko Nasato and contributors * 2016 - 2020 Simon Braconnier and contributors * * This file is part of JODConverter - Java OpenDocument Converter. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
40.372549
96
0.676542
d9fb193efbda88a8abe7977ca1756505eaf64229
2,363
/* * Copyright (c) 2021 Mastercard * * 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...
35.80303
117
0.766399
3b128fcf65b5275f302b9756fe76a231071f2c8b
23,155
/** * 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...
46.033797
120
0.623278
4dd3caec55df44e56ece5ff184a96eb37c203539
2,571
package com.greedystar.generator.db; import com.greedystar.generator.entity.ColumnInfo; import com.greedystar.generator.utils.ConfigUtil; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * Author GreedyStar * Date 2018/4/19 */ public class ConnectionUtil { private Connection connec...
30.975904
99
0.598989
9ba83533b49bb81dd05643fd8367d1124c88005a
2,843
package entities; import java.io.Serializable; import java.util.Collection; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persiste...
22.210938
110
0.675695
de06893e1ebee1ca21e78ba1c2483b839516dab4
434
package com.softicar.platform.workflow.module.workflow.transition; import com.softicar.platform.emf.source.code.reference.point.EmfSourceCodeReferencePointUuid; import com.softicar.platform.emf.source.code.reference.point.IEmfSourceCodeReferencePoint; @EmfSourceCodeReferencePointUuid("9f12772f-a244-4ea7-a441-0762a221...
39.454545
93
0.861751
480a5ccb981b02c85bdfaf640cb7217b01bb0374
428
package com.sparrow.collect.index.searcher; import com.sparrow.collect.index.searcher.write.EmptyResultWriter; import org.apache.lucene.document.Document; import java.io.Closeable; /** * author: Yzc * - Date: 2019/3/6 17:33 */ public interface ResultWriter extends Closeable { ResultWriter DEFAULT_WRITER = ne...
21.4
66
0.761682
2c955245c13d011924295ce0d0aaff019a063520
3,820
/* * Title: CloudSim Toolkit * Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds * Licence: GPL - http://www.gnu.org/copyleft/gpl.html * * Copyright (c) 2009-2011, The University of Melbourne, Australia */ package org.cloudbus.cloudsim.vms; /** * Historic data a...
24.33121
110
0.604974
1516d1440c80b4d58ed7f59ac9c6d1f808625971
2,233
package com.bookstore.entity; import java.io.Serializable; import java.util.logging.Logger; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.PostLoad; import javax.persistence.PostPersist; import jav...
21.471154
82
0.626064
eab533da37659deb1dd7739da175d66d869e8953
569
package com.test.autoModel.defaults; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; @Component @Slf4j(topic = "log") public class A implements ExampleAware { ExampleBean exampleBean; public A() { log.debug("default Constructor"); } public A(B b, C c) { log.debug("Con...
16.735294
54
0.699473
be89b5ea274f5cc6ae0d74ae62a1ebcc1dac46c1
1,080
package org.opendatakit.sync.client.test; import org.opendatakit.sync.client.SyncClient; public class SuperUserTest extends AbstractPrivTestBase { private String superUserName; private String superUserPassword; private String adminUserName; private String adminPassword; SyncClient createNewSyncPrivClient() ...
21.176471
63
0.755556
319a25fb2f3a89ead5718fba56d6813b1f5c4e2c
3,652
package seedu.address.storage; import java.time.LocalDateTime; import java.util.logging.Logger; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import seedu.address.commons.core.LogsCenter; import seedu.address.commons.exceptions.IllegalValueException; impor...
36.158416
107
0.661555
87fd2aa22613d5a54599f0eba76062659dfe76f0
453
public enum YesNo { YES("YES"), NO("NO"); private String text = null; private YesNo (String text) { this.text = text; } public String toString() { return this.text; } public static YesNo fromString(String text) { if (text != null) { for (YesNo b : YesNo.values(...
15.62069
47
0.496689
4f86cff6f0f141f045db461b92d2ac6892f2f6ff
4,913
/* * 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 ...
49.13
118
0.636475
d2d35b7565e8d2bad7939db46b96da49667d0e9c
9,399
package com.inmobi.commons.core.configs; import com.inmobi.commons.core.network.C10677d; import com.inmobi.commons.core.network.NetworkError; import com.inmobi.commons.core.network.NetworkError.ErrorCode; import com.inmobi.commons.core.p222e.C10659b; import java.util.HashMap; import java.util.Iterator; import java.uti...
37.899194
116
0.506224
32d5f2cf8ccc11d6cb2e1f3b5e09bda968cc32d8
550
package com.angkorteam.fintech.ddl; public interface MTaxGroup { public static final String NAME = "m_tax_group"; public interface Field { public static final String ID = "id"; public static final String NAME = "name"; public static final String CREATED_BY_ID = "createdby_id"; ...
22.916667
77
0.694545
d1ba2ae1d3456c23a9af4584616d903c3edcea0b
6,376
package tv.lid.cinema.api2.models; import java.sql.SQLException; import java.util.List; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.sql2o.Connection; // класс модели киносеанса @Js...
37.505882
127
0.618256
a49b877f601d0c0d2087a0a7f79d08487aa7ced7
435
package fr.bouyguestelecom.tv.bboxiot.events.inter; import fr.bouyguestelecom.tv.bboxiot.datamodel.SmartProperty; /** * Incoming property change event * * @author Bertrand Martel */ public interface IPropertyIncomingEvent { /** * retrieve Smart property object * * @return */ SmartProp...
16.730769
61
0.643678
a24a504d1aeb2d09be9fcb2d723be7d1098c433b
614
package com.davenonymous.bonsaitrees3.registry.sapling; import com.davenonymous.libnonymous.helper.BaseRecipeHelper; import com.davenonymous.bonsaitrees3.setup.Registration; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; public class SaplingRecipeHelper extends BaseRecipeHelper<Sap...
38.375
124
0.825733
716e5b1a0e45d86411b91ef3222b1b3e807476a4
571
package org.xmx0632.exportfile.excel.model; import java.util.List; public class ExcelSheet { private String title; private ExcelDataFormatter edf; private List content; public ExcelSheet() { super(); } public String getTitle() { return title; } public void setTitle(String title) { this.title = title...
14.641026
45
0.705779
9ebfb6ecb74eb6c697a0c4045ef0f27dc0d9aeba
164
package group144.zaicev; class WrongBracketSequenceExeption extends Exception { WrongBracketSequenceExeption(String massege) { super(massege); } }
20.5
54
0.75
3a5568347352648369cdeff45cd1f1d21d923490
964
package frontend.views; import frontend.views.board.boardcomponents.AbstractTileView; import javafx.scene.image.ImageView; import javafx.scene.Node; /** * Represents the View of an icon piece (player gamepiece) * * @author Stephanie */ public class IconView { private ImageView myImageView; /** * Ic...
22.418605
68
0.656639
53bb18f3a0b8db9cbe6038506cafaf9bca85c36c
4,585
/** * Copyright (c) 2013, 2016 ControlsFX * 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 * notice, this list o...
39.869565
128
0.643621
7034416874dbd113f781f4dfbd2cc4a24cb98bf3
9,286
/** * Copyright 2018-2019 CS Systèmes d'Information * * 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 applicabl...
38.371901
125
0.697609
1f71d084ef1fb981429a1168bcf427d03fdf3822
1,070
package org.nd4j.imports.TFGraphs; import lombok.val; import org.junit.Test; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.DynamicCustomOp; import org.nd4j.linalg.factory.Nd4j; import java.util.List; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assert...
29.722222
83
0.646729
f977732985ab9963c7077f03e87d41b0d8f70bba
12,038
/* * Copyright 2018-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
35.615385
168
0.588221
3dca451821f4b3e1eca97987de7f65fd1697deb4
894
package br.matheusmessora.mbot.discord; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import sx.blah.discord.api.IDiscordClient; import sx.blah.discord.handle.obj.IChannel; import sx.blah.discord.handle.obj.IGuild; /** * Created by cin_mmessora on 5/30/...
20.790698
62
0.694631
109cc9043278cf029e181ac46a03be55b0df2a90
220
package com.dotterbear.abztract.factory.pattern.pokemon; public class Growl implements Move { @Override public int getPower() { return 0; } @Override public String getName() { return "Growl"; } }
13.75
56
0.677273
1cb19f4f1986ed67ec417583f4f6da5f8ee8af36
629
package com.chmod0.manpages; import java.io.Serializable; public class Page implements Serializable{ private static final long serialVersionUID = 1L; private String name; private int section; public Page(String name, int section) { super(); this.name = name; this.section = section; } public String get...
16.128205
49
0.688394
012db2f2ca5171846b3ff814ca6767c8c98e534e
5,170
/* * * Copyright 2018 EMBL - European Bioinformatics Institute * * 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 require...
43.813559
114
0.772921
b84bf2b95474004108c06779f8f64efb277a2343
66
package net.ugolok.dto; public enum BarrierState { ON, OFF }
11
26
0.69697
8d0d7bcb9d2a075109a0ba5da9c5de6172283fbd
2,136
package com.moviepilot.sheldon.compactor.util; import com.moviepilot.sheldon.compactor.config.Defaults; import gnu.trove.map.TObjectLongMap; import gnu.trove.map.hash.TObjectLongHashMap; /** * Utility class for progress counters * * * @author stefanp * @since 03.08.12 */ public class Progressor { public st...
29.666667
79
0.600655
1e2d048e3ef8b6f8b343faa424aa87a86f040941
3,157
/******************************************************************************* * Copyright 2012 EMBL-EBI, Hinxton outstation * * 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 * * h...
42.093333
127
0.688628
fe1a7d404c5b65cfe8f943752340cb422873ff34
3,719
package ua.stu.scplib.attribute; import java.io.*; /** * <p>A concrete class specializing {@link com.pixelmed.dicom.Attribute Attribute} for * Unique Identifier (UI) attributes.</p> * * <p>Though an instance of this class may be created * using its constructors, there is also a factory class, {@link com.pixelmed...
33.205357
221
0.732455
109172df46720ba702c4d0d56257ea6c38209f8b
2,991
/** * Copyright (c) 2008, http://www.snakeyaml.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 by applicabl...
35.188235
130
0.660983
007d93f869156d66b2608d4e1b968ebe67bf161a
6,194
package ca.cgjennings.apps.util; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.BindException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketTimeoutException; /** * Prevents multiple instances of ...
36.011628
164
0.533742
68da4c26be24eaab844fa3ddf3459f85e7e1500a
6,207
/** * Copyright (c) 2014, Pablo Lamela Seijas * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list o...
36.298246
85
0.741421
2ae9447d47be0148df4288ca667210a7e9ab76e0
5,462
/* * #%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...
32.129412
119
0.670084
4d66e878f85abe730329225034ec3de9fb6d038f
870
package ru.job4j.ee.store.web.filters; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import static java.nio.charset.StandardCharsets...
32.222222
143
0.775862
5acf3bf334391de97f015393afe6f86d0e1d4e6f
775
package net.sknv.engine.physics.colliders; import net.sknv.engine.entities.Collider; import net.sknv.engine.graph.ShaderProgram; import net.sknv.engine.graph.WebColor; import org.joml.Quaternionf; import org.joml.Vector3f; import java.util.Optional; public abstract class BoundingBox { //todo: REFACTOR THIS interface...
38.75
81
0.784516
e4bc35231e3e34ca215f0f0d8032cf6eae5a08b6
503
package org.springframework.boot.actuate.endpoint.invoke; /** * A single operation parameter. * * @author Phillip Webb * @since 2.0.0 */ public interface OperationParameter { /** * Returns the parameter name. * @return the name */ String getName(); /** * Returns the parameter type. * @return the ...
15.71875
71
0.662028
0fbbd13b0a93f308a177b7382e44edbb68e597b4
2,009
package com.relaxed.common.risk.model.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental...
16.333333
61
0.683922
c4af89b86ba5e6fe28a695d0d7cfb698e3fd347c
2,603
package com.ykushch.prjalgo2.task1; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.List; public class TravellingSalesmanPerson { private static final Logger log = LoggerFactory.getLogger(TravellingSalesman...
31.361446
100
0.540914
0902819b0c3d49f6be8f0de1eede19353d598071
1,055
package br.com.wellingtoncosta.mymovies.validation; import java.util.ArrayList; import java.util.List; import br.com.wellingtoncosta.mymovies.validation.validators.Validator; /** * @author Wellington Costa on 01/05/17. * * TODO create an annotation-based library */ public class Validation { private List<Val...
21.530612
71
0.600948
644c3524a532aa7a8a4bf37050e5e3ee0ca11973
237
package com.aidijing.order.mapper; import com.aidijing.order.domain.Order; import com.baomidou.mybatisplus.mapper.BaseMapper;; /** * @author : 披荆斩棘 * @date : 2017/9/8 */ public interface OrderMapper extends BaseMapper< Order > { }
18.230769
58
0.734177
0a53160fc6c37a7c282badac06e7c26a98aa469c
139
class Test { /** * @see #perform(String, int) */ public void i() {} public void perform(String s, int a) {} }
17.375
43
0.482014
c94d3c0be4a05ea27acf949b19f9ca573bdc2e14
21,900
/* * $Id$ * * 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 * "Lice...
34.006211
87
0.585662
7b91b956055c9a72aeddc75d02154111ffae60b2
1,035
package com.taobao.tddl.executor.handler; import com.taobao.tddl.common.exception.TddlException; import com.taobao.tddl.executor.common.ExecutionContext; import com.taobao.tddl.executor.cursor.ISchematicCursor; import com.taobao.tddl.optimizer.core.plan.IDataNodeExecutor; import com.taobao.tddl.optimizer.core.plan.que...
36.964286
120
0.751691
4f7f55650dc5ea9195eebae38a43447a29351715
6,648
package com.example.awesometic.facetalk; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widge...
38.651163
168
0.58559
b91be68ea8fc003d1b733292246d259b2f68f454
2,308
/* * Copyright 2019-present Open Networking 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 appli...
39.793103
104
0.688908
71438eda4b727fdd7e14eca238d5d9dab9ca08c3
6,948
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.identityprovider.client; import com.yahoo.container.core.identity.IdentityConfig; import com.yahoo.container.jdisc.athenz.AthenzIdentityProviderException; import com.yah...
44.254777
181
0.682355
8aa687e5cd14dbd5c32b8ecf540322d8f7dd688b
1,854
package net.meisen.dissertation.model.dimensions.templates; import java.util.Iterator; import net.meisen.dissertation.model.data.IntervalModel; import net.meisen.dissertation.model.dimensions.TimeLevelMember; import net.meisen.general.genmisc.exceptions.ForwardedRuntimeException; /** * Interface for a template defi...
28.96875
75
0.695254
6a47be2178e5a3773de88462d869bbe1768b580d
4,597
package uk.org.wolfpuppy.minecraft.chunkchecker; import net.minecraft.util.math.ChunkPos; import net.minecraft.world.WorldServer; import net.minecraft.world.chunk.Chunk; import net.minecraftforge.event.world.ChunkEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializat...
36.19685
110
0.655427
60497216ae004c1544469e0025e68e7ce6615064
779
package io.realm; public interface com_news_newsapp_NewRealmProxyInterface { public int realmGet$id(); public void realmSet$id(int value); public String realmGet$author(); public void realmSet$author(String value); public String realmGet$title(); public void realmSet$title(String value); p...
35.409091
61
0.741977
0cdcbfa197ab01e5b55b99c39e7f638b068fabd2
3,089
package com.ducetech.framework.support.service; import com.ducetech.framework.cons.GlobalConstant; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Service; import java.util.Arrays; import java.util.L...
27.336283
88
0.729039
b658367827c1fbb7f683146e2d6820175846599d
584
package io.funraise.dm.blitz.orika; import io.funraise.dm.blitz.CustomConverter; import java.time.LocalDateTime; import java.time.OffsetDateTime; import java.time.ZoneOffset; import ma.glasnost.orika.MappingContext; import ma.glasnost.orika.metadata.Type; public class OffsetDateTimeConverter extends CustomConverter<L...
34.352941
136
0.808219
09db63c622a69b4d6662a4b78f56b23c778fbbda
98
package de.bmoth.parser.ast.nodes; public interface Node { boolean equalAst(Node other); }
12.25
34
0.72449
f5d884ecd1c6193997141082be7db70eade12fd5
3,554
package com.palmelf.eoffice.model.hrm; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persiste...
23.852349
70
0.727349
f3a3fff8bac1c2e9210e62401e8471b3ce9aa2c6
709
package g1001_1100.s1071_greatest_common_divisor_of_strings; // #Easy #String #Math #2022_02_27_Time_1_ms_(82.09%)_Space_42.6_MB_(33.55%) public class Solution { public String gcdOfStrings(String str1, String str2) { if (str1 == null || str2 == null) { return ""; } if (str1.equ...
29.541667
76
0.551481
2f4046559270b3e5ea19fc90b9668983164d653c
3,864
/* * Copyright 2014 Red Hat, Inc. * * Red Hat licenses this file to you 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...
30.666667
166
0.725932
c777793ee8e74b6a3fe266cfc57024b02e17a3bc
409
package net.zestyblaze.malusphaethusa.client; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.zestyblaze.malusphaethusa.init.ClientInit; @Environment(EnvType.CLIENT) public class MalusPhaethusaClient implements ClientModInitializer { ...
24.058824
67
0.792176
52c94563dbb308f9788dd3a2eaf6b7f80031af5a
3,744
package com.sosv.breweryDB.connector.entity; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Locations{ private Country country; private String countryIsoCode; private String createDate; private String id; private String inPlanni...
23.847134
64
0.744925
b770e3800d04d770175a07166f41e731606fe036
870
package org.gridsphere.provider.portletui.beans; /** * The <code>TextBean</code> represents text to be displayed */ public class ValidatorBean extends BaseComponentBean implements TagBean { protected String type = ""; /** * Constructs a default text bean */ public ValidatorBean() { } ...
20.232558
110
0.582759
2e1d1266f8db5fce0c5406cd34c0bbeba9f3a200
5,645
package fr.openwide.core.wicket.more.link.descriptor.builder.impl.main; import org.apache.wicket.Page; import org.apache.wicket.model.IModel; import org.apache.wicket.request.resource.ResourceReference; import org.bindgen.BindingRoot; import org.bindgen.binding.AbstractBinding; import org.javatuples.Unit; import com....
35.062112
117
0.805846
ea33ee75fb961a9776e87aa935b47055fe00e410
1,086
package zmq; class Pull extends SocketBase { public static class PullSession extends SessionBase { public PullSession(IOThread ioThread, boolean connect, SocketBase socket, final Options options, final Address addr) { super(ioThread, connect, socket, options,...
19.052632
62
0.576427
1da267e8e7fbaba570ab2b54dd9aa218231c0872
570
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.kafka; import io.opentelemetry.context.propagation.TextMapSetter; import java.nio.charset.StandardCharsets; import org.apache.kafka.clients.producer.ProducerRecord; public final cla...
30
86
0.780702
ebe2fcc21123e629cbe939ae58761ca8afc0928f
1,017
package ode.vertex.impl.helper.backward; import ode.solve.api.FirstOrderSolver; import ode.vertex.impl.helper.backward.timegrad.NoMultiStepTimeGrad; import ode.vertex.impl.helper.backward.timegrad.NoTimeGrad; import org.deeplearning4j.nn.graph.ComputationGraph; import org.nd4j.linalg.api.ndarray.INDArray; /** * {@li...
32.806452
95
0.73353
de351458b96fe623f67cdde197e9032fe5284c91
928
package br.copacabana.marshllers; import java.lang.reflect.Type; import br.com.copacabana.cb.KeyWrapper; import br.com.copacabana.cb.entities.mgr.JPAManager; import com.google.appengine.api.datastore.KeyFactory; import com.google.gson.JsonElement; import com.google.gson.JsonNull; import com.google.gson.Jso...
29
89
0.753233
a83b919b6dadc9d3e25cf89d8bf2162491bf53c0
398
package com.xxdb.data; /** * * Interface for DolphinDB data form: ARRAY, BIGARRAY * */ public interface Vector extends Entity{ final int DISPLAY_ROWS = 10; Vector combine(Vector vector); boolean isNull(int index); void setNull(int index); int hashBucket(int index, int buckets); Scalar get(int index); void ...
22.111111
53
0.728643
06856d421643784d5b95d7da8d463fdc004b35ac
6,514
package uk.gov.hmcts.reform.finrem.caseorchestration.service.bulkscan.validation; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import uk.gov....
48.977444
141
0.805803
8422d9c0ac00565c47bf1861c3376a9868419c9c
1,442
package com.newer.deal.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import ...
26.218182
70
0.745492
f64a6b8f5e2b6f7429aaddd3b3b773571986c0c5
510
package org.javamaster.b2c.core.exception; import org.javamaster.b2c.core.enums.BizExceptionEnum; /** * @author yudong * @date 2019/6/10 */ public class BizException extends RuntimeException { private final BizExceptionEnum bizExceptionEnum; public BizException(BizExceptionEnum bizExceptionEnum) { ...
24.285714
60
0.739216
0e00ac52c173bc46f25f82697e9ea790032c5c1f
946
package com.bxl.bpm.dao; import com.bxl.bpm.model.SysButton; import com.bxl.bpm.model.SysButtonExample; import java.util.List; import com.bxl.common.generic.GenericDao; import org.apache.ibatis.annotations.Param; public interface SysButtonMapper extends GenericDao<SysButton, Integer> { int countByExample(SysButt...
29.5625
112
0.782241
c067fac89284e7cde4629e256bbacca8ea98ebbe
863
package seedu.docit.testutil.stubs; import static java.util.Objects.requireNonNull; import java.util.ArrayList; import seedu.docit.model.AddressBook; import seedu.docit.model.ReadOnlyAddressBook; import seedu.docit.model.patient.Patient; /** * A Model stub that always accept the patient being added. */ public cla...
25.382353
71
0.727694
6c8a88c1042fea456f3c28865eb787d41a778f94
1,786
package com.example.app; import java.io.File; import java.util.HashMap; import java.util.Map; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class DomParserApp { private static fina...
35.72
102
0.68981
d8be92aeb0fa0dad22a778f3058eb2c483a7ae37
952
/* * 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 cn.hanbell.oa.ejb; import cn.hanbell.oa.comm.SuperEJBForEFGP; import cn.hanbell.oa.entity.HZCW033reDetail; import java.util.Li...
25.72973
90
0.702731
df7bc9ba49e8237fb553707501516378cb0a218b
1,525
package chess.parser; import java.util.ArrayList; import java.util.List; /** * Created by Stanisław Kabaciński. */ public class MovesFilter { public static List<Move> filter(List<Entity> entities, int toPosition) { if (entities.size() <= 1) { return new ArrayList<>(); } Lis...
26.754386
76
0.518689
a96eb97b0d2ab68d33c894f57919903bf80fa459
3,569
/* * The MIT License * * Copyright 2014 Lukas Plechinger. * * 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...
32.153153
104
0.736341
fcd649b11c1102d90eb338131a5dcbe5ef5c4cf6
1,450
package com.example.superapp30.adapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.example.superapp30.R; import com.example.superapp30.mod...
26.851852
87
0.713793
72ae21e5dff9f5579cf292d3e390c5663f8fb4aa
1,664
package com.devom.cndb_example.app; import android.app.Application; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import com.devom.cndb_example.di.component.ApplicationComponent; import com.devom.cndb_example.di.component.DaggerApplicationComponent; import com...
30.814815
101
0.738582
1672c74504b2bb0546fb7cd0a38377c11ff434ca
1,962
package uk.gov.ons.ctp.integration.rhcucumber.selenium.pageobject; import lombok.Getter; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import uk.gov.ons.ctp.integration.rhcucumber.selenium.pages.Country; import uk.gov.ons.ctp.integration.rhcucum...
30.65625
79
0.79052
791aada9bb16a9776e9eabd1f667ef82c99a219d
2,713
package com.onesignal; import android.content.Context; import com.onesignal.OneSignalDbContract; import com.onesignal.influence.model.OSInfluenceChannel; import com.onesignal.outcomes.OSOutcomeTableProvider; class OneSignalCacheCleaner { private static final long NOTIFICATION_CACHE_DATA_LIFETIME = 604800; pri...
49.327273
283
0.731662
af6251d96d9d216715d1c596185e8ea8bfdee03d
2,315
package com.manning.hsia.dvdstore.action; import java.util.List; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.queryParser.ParseException; import org.apache.lucene.queryParser.QueryParser; import org.apache.lucene.search.Query; import org.hibernate.search.FullTextSession; import org.hibernate.s...
33.071429
101
0.722246
876edcfc544ff45eb6eab9830b238fcea9fd08a4
2,607
package com.atguigu.gmall.organization.controller; import java.util.Arrays; import java.util.Map; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import com.atguigu.core.bean.Resp; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframew...
26.602041
87
0.71845
80937439db05531861facce1a000d6800633cd0a
2,456
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.583333
80
0.734528
b28f49c10787c77399262d9009dc34f040945c84
714
package de.rnd7.calexport.renderer; import org.commonmark.node.Node; import org.commonmark.parser.Parser; import org.commonmark.renderer.html.HtmlRenderer; import j2html.tags.DomContent; public final class MarkdownUtil { private MarkdownUtil() { } public static DomContent convertMarkdown(final String text) { ...
23.032258
69
0.739496
b7b43381bfd1430be3da2bd63356c57f4f1770c4
2,410
/* * 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.472222
83
0.743983
e5d346ec88d0952c5a67593ed3d63e3bff400a17
311
package terrails.terracore.block.tile.fluid; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.fluids.FluidTank; public class FluidTankCustom extends FluidTank { public FluidTankCustom(TileEntity tileEntity, int capacity) { super(capacity); tile = tileEntity; } }
23.923077
65
0.755627
dcb9289bef431c892a1524fbea0024b34b5262a6
2,055
package com.hfad.companysyearendparty.views; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.CheckBox; import com.hfad.companysyearendparty.R; import com.hfad.companysyearendparty.constant.EndYearConstants; import com.hfad.companysyearendpart...
34.25
120
0.698297
0eaa8518dcf4f57664d1ae3660ff41759a79fce8
592
package lsieun.bytecode.gen.opcode; import java.io.DataOutputStream; import java.io.IOException; import lsieun.bytecode.core.cst.OpcodeConst; import lsieun.bytecode.gen.opcode.facet.GotoInstruction; /** * GOTO_W - Branch always (to relative offset, not absolute address) */ public final class GOTO_W extends GotoIns...
23.68
68
0.712838
4448d55d87f2c2a2d6ec7a504735ec7d39b7384b
4,102
package com.sample.business.content.entity; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.Lob...
19.07907
67
0.733545
7ebc7b9481301601635f4e9a1df138ea6e153c3f
619
package io.github.lonamiwebs.klooni; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bundle savedInstan...
36.411765
93
0.789984
8fd1d02e6d85a9c3e2aa42a7a76db1e908c95d86
179
public class Solution { public int singleNumber(int[] nums) { int result = 0; for(int i = 0;i<nums.length;i++) result = result ^ nums[i]; return result; } }
19.888889
41
0.592179
e771a8f44c7f869d35f8e4bf4428d5bbd3076b35
1,768
package com.github.dodii.finalreality.model.weapon; import com.github.dodii.finalreality.model.character.playablecharacters.common.EngineerCharacter; import com.github.dodii.finalreality.model.character.playablecharacters.common.KnightCharacter; import com.github.dodii.finalreality.model.character.playablecharacters.c...
26.787879
97
0.687217
9b6b617b618661bc47ce6c3659be6a615165aa65
1,374
/* * 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 ar.com.scvst.server.bean; import java.time.LocalDateTime; /** * * @author tserra */ public class Commit { private...
19.913043
111
0.588064
f69be1b8b32e1bedf54dc29cd03e26196b78944d
3,162
/** * DISCLAIMER: PLEASE TAKE NOTE THAT THE SAMPLE APPLICATION AND * SOURCE CODE DESCRIBED HEREIN IS PROVIDED FOR TESTING PURPOSES ONLY. * <p> * Samsung expressly disclaims any and all warranties of any kind, * whether express or implied, including but not limited to the implied warranties and conditions * of mer...
45.826087
126
0.729918
9e8d631de365ba0668003d19fe2233f6a3c73e5a
1,006
package polimorfismo; public class ClasseDeDados { public int ard; public byte ord; public long ddn; public String variaveis; public String getVariaveis() { return variaveis; } public void setVariaveis(String variaveis){ //polimorfismo é isso um metodo que pode ter varios ...
20.12
85
0.56163
8169d9538daebc33b96443a0da97f114d98ab36a
4,967
package fr.niware.uhcrun.world.populators; import net.minecraft.server.v1_8_R3.ChunkSnapshot; import net.minecraft.server.v1_8_R3.WorldGenCanyon; import net.minecraft.server.v1_8_R3.WorldGenCaves; import org.bukkit.Chunk; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bu...
37.067164
144
0.511576
bbf9713951cd424656da3945f342d256dbcf14fa
2,002
package com.softserveinc.ita.homeproject.api.tests.query; import com.softserveinc.ita.homeproject.client.ApiException; import com.softserveinc.ita.homeproject.client.api.PollQuestionApi; import com.softserveinc.ita.homeproject.client.model.QuestionType; import com.softserveinc.ita.homeproject.client.model.ReadQuestion...
26.693333
109
0.63986
8bdb87ca19d8c8756aa2c92ed1cb1bd57cca7b18
77
package com.api.client.auth; public enum AuthType { NONE, BASIC, CERT }
12.833333
28
0.701299