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
30d7a9c03fa5e67241a33295ad988aaf0f69b8aa
5,160
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
21.061224
70
0.617829
be5aa6b7541db06c21e19a97950621adecdbf9ad
6,260
package com.fraktalio.order.command; import com.fraktalio.courier.command.api.Address; import com.fraktalio.courier.command.api.CreateShipmentCommand; import com.fraktalio.courier.command.api.ShipmentAssignedEvent; import com.fraktalio.courier.command.api.ShipmentDeliveredEvent; import com.fraktalio.courier.command.ap...
47.424242
127
0.695367
8019f3c63b923eaca00373eb654cfc9e27066cd9
3,827
/* * Copyright 2020 hornd. * * 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 w...
31.628099
75
0.698458
da0d9df49536dc3d94bbc1efb501852d4eba9e13
1,743
package com.template.app.service.impl; import com.googlecode.jmapper.JMapper; import com.template.app.dao.User; import com.template.app.dao.UserDao; import com.template.app.model.UserDto; import com.template.app.service.UserService; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Serv...
28.112903
95
0.765921
7d20111701088349908b8777ef5bb6f6ff6a57f0
8,113
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
43.154255
123
0.695057
8ad9635c687c63431b656fc94ff5a1ff1da09b35
1,142
package io.github.zekerzhayard.compatibilitylayerforcustomskinloader; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.event.FMLInitializationEvent; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @Mod( modid = CompatibilityLayerForCustomSkinLoader.MODID, name = C...
38.066667
205
0.734676
dae953c67cefc26ef99d5f9c5f87a46dd7d8ba45
492
package seedu.saveit.commons.events.model; import seedu.saveit.commons.core.directory.Directory; import seedu.saveit.commons.events.BaseEvent; /** * Indicates model directory was changed. */ public class DirectoryChangedEvent extends BaseEvent { public final Directory directory; public DirectoryChangedEve...
21.391304
58
0.729675
7209f4074d439d9eba633ddfd2bb87ea95d56f98
3,167
package com.ds365.erp.wms.pda.model.commons; import java.io.Serializable; import com.ds365.commons.base.model.BaseActiveModel; import com.ds365.commons.enums.EnumModel; import com.ds365.erp.wms.pda.model.employee.EmployeeModel; public class SupplierModel extends BaseActiveModel implements Serializable{ /** * ...
18.097143
75
0.747079
1c2f54c046bc76b11bd9f051fef13714b8937a7f
2,760
package ckmbks.framework.util; import ckmbks.framework.lang.Filter; import ckmbks.framework.lang.test.bean.ExamInfoDict; import ckmbks.framework.util.ClassUtilTest.TestSubClass; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Field; import java.lang.reflect.Method; /** * 反射工具类单元测试 * * @a...
26.285714
93
0.730797
01c667618eb521722ea280d43a2b97a7e6174328
6,401
package cd4017be.indlog.render.gui; import cd4017be.indlog.Main; import cd4017be.indlog.render.RenderItemOverride; import cd4017be.indlog.tileentity.Buffer; import cd4017be.indlog.util.VariableInventory.GroupAccess; import cd4017be.lib.BlockGuiHandler; import cd4017be.lib.Gui.DataContainer.IGuiData; import cd4...
37.215116
122
0.652242
e1f112492d3e9d26cb4f7831aa6043ec2c8ace3c
1,197
import java.util.HashMap; import java.util.Map; /** * Skema bestående af DaySchedules */ public class Scheme { protected HashMap<Day, DaySchedule> schema; private final String name; public Scheme(String name) { this.name = name; this.schema = new HashMap<Day, DaySchedule>(); for...
21
69
0.557226
36c43a187ca4e0058575c1b69c7e8a9dd37311b5
1,248
/* * STRATO API * This Swagger interactive documentation makes STRATO API calls to OAuth-protected STRATO demo node. Click 'Authorize' to sign-in with the test account. * * OpenAPI spec version: 4.5.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-a...
22.690909
153
0.713942
ceb0a78093bc28f7ee43ea42ba699193438448fe
15,442
/* * 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 ...
44.501441
149
0.629064
040c6f82152e8ff5d382ef9711cc6085fb3f6719
2,273
package com.tonini.diego.dexpense.wizard; import android.app.Activity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.tech.freak.wizardpager.model.Page; import com.tech.freak.wizardpager.ui.PageFragmentC...
25.255556
76
0.663
1764e52cbe202853866f2bd6491a107677732323
930
package com.znb.java.example; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author zhangnaibin * @Date 2015-12-18 下午5:33 */ public class CollectionExample { // map遍历 public void bianli() ...
23.846154
73
0.58172
1fc8d2f9b59604986d547ee1b22358016bf7e3c2
14,366
/* * KIELER - Kiel Integrated Environment for Layout Eclipse RichClient * * http://www.informatik.uni-kiel.de/rtsys/kieler/ * * Copyright 2012 by * + Christian-Albrechts-University of Kiel * + Department of Computer Science * + Real-Time and Embedded Systems Group * * This code is provided under the t...
39.685083
104
0.572324
7b6f19bcce02b11f696b1d697c7f9a672f695aed
5,224
package com.hrym.auth.controller; import com.alibaba.fastjson.JSON; import com.hrym.common.annotation.Allowed; import com.hrym.common.base.BaseConstants; import com.hrym.common.base.BaseController; import com.hrym.common.base.BaseResult; import com.hrym.common.logUtil.GwsLogger; import com.hrym.common.logUtil.GwsLogge...
26.927835
97
0.611983
4393c69bbfe4b49dad5084489e99e09296fa8274
759
package cracking.coding.interview.ch2; import cracking.coding.interview.LinkedListNode; public class DeleteMiddleNodeFromList { private static boolean deleteMiddleNode(LinkedListNode middleNode){ if(middleNode==null && middleNode.getNext()==null){ return false; } LinkedListNod...
31.625
72
0.694335
5c68d52a2b7b4f56693e843ff62b12bf3c697925
701
package core.misc; import java.util.Calendar; import java.util.GregorianCalendar; public abstract class Misc { public static String getTime() { GregorianCalendar calendar = new GregorianCalendar(); int hour = calendar.get(Calendar.HOUR_OF_DAY); int minute = calendar.get(Calendar.MINUTE...
18.945946
56
0.503566
ac9242fbba654259569be8969347f5a890fd40e7
4,714
package com.emse.spring.faircorp.api; import com.emse.spring.faircorp.dao.BuildingDao; import com.emse.spring.faircorp.dao.HeaterDao; import com.emse.spring.faircorp.dao.RoomDao; import com.emse.spring.faircorp.dao.WindowDao; import com.emse.spring.faircorp.dto.RoomDto; import com.emse.spring.faircorp.dto.WindowDto; i...
34.918519
117
0.657191
92246f9c25c816990c92d067872192f433bfb7ad
5,789
package net.progressit.scriptz.compressui; import java.awt.BorderLayout; import java.io.File; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFileChooser; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax....
33.08
94
0.72275
ba3bd1c1555a5e9cb89f103e924bdb140fb5c971
2,388
/* * Copyright (C) 2013 salesforce.com, 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 ...
26.533333
103
0.701005
290735bb1670a91430f58d1ab1899b95118ef419
1,602
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.interfaces; import io.strimzi.test.timemeasuring.Operation; import io.strimzi.test.timemeasuring.TimeMeasuringSystem; import org.apache.logging.log4j....
43.297297
136
0.750936
e5109658c67b2b9ecd88483d39b9ac8e213b3c03
1,682
/** * Copyright 2021 Viridian Software Ltd. */ package org.mini2Dx.minibus.transmission; import org.junit.Assert; import org.junit.Test; import java.util.List; import java.util.Queue; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.CopyO...
28.508475
144
0.699168
6dc7934181c05328871d6e11ee05442d285aed2d
7,516
package mapwriter.region; public class ChunkRender { public static final byte FLAG_UNPROCESSED = 0; public static final byte FLAG_NON_OPAQUE = 1; public static final byte FLAG_OPAQUE = 2; // values that change how height shading algorithm works public static final double brightenExponent = 0.35; public stat...
35.45283
135
0.634646
86d0c648fc197ec4c1457c4201a42cb16a327921
1,598
/* * Copyright (c) 2014, Dennis M. Sosnoski. * * 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 t...
76.095238
893
0.80413
1a1e8ba16edca517e07c78db4efde7916cad5da2
7,829
package io.sealights.plugins.sealightsjenkins.integration; import hudson.FilePath; import hudson.model.Computer; import hudson.remoting.VirtualChannel; import io.sealights.plugins.sealightsjenkins.entities.FileBackupInfo; import io.sealights.plugins.sealightsjenkins.integration.plugins.SealightsMavenPluginIntegrator; ...
40.989529
154
0.704688
60aa2cc17bd788f3838d7817e909b31736c5e557
3,352
package simpledb.execution; import simpledb.optimizer.LogicalPlan; import simpledb.transaction.TransactionAbortedException; import simpledb.transaction.TransactionId; import simpledb.common.DbException; import simpledb.storage.Tuple; import simpledb.storage.TupleDesc; import java.io.*; import java.util.*; /** * Que...
27.032258
97
0.618437
d8daead71c32b5c89e759d09e6355886bd8d9711
488
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: userservice.proto package com.xxx.userservice.proto; public interface HttpPluginTestReqOrBuilder extends // @@protoc_insertion_point(interface_extends:HttpPluginTestReq) com.google.protobuf.MessageOrBuilder { /** * <code>string usern...
24.4
68
0.711066
b20c968bd4750c152402c577bc428267ffeee70d
544
package io.symphonia.lambda.logging; import static io.symphonia.lambda.logging.DefaultConsoleAppender.NO_REQUEST_ID; public class MetricsConsoleAppender extends LambdaConsoleAppender { @SuppressWarnings("WeakerAccess") public static String DEFAULT_METRICS_PATTERN = "[%d{yyyy-MM-dd HH:mm:ss.SSS}] ...
32
79
0.689338
f0dbe3e1f1f7505665c88f3711310cbcb64535b1
18,192
/* * Copyright 2018 Murat Artim (muratartim@gmail.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 * * Unless required by app...
26.10043
123
0.685246
b38ae4d6cb0a58a72ba4ce7d4155f0216d11efb3
2,201
/* * 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 ...
20.764151
64
0.621536
57c90e8d05b23601beaccd98c3b787ccc8ad8dc1
19,408
package sarong.discouraged; import sarong.NumberTools; import sarong.StatefulRandomness; import sarong.util.CrossHash; import sarong.util.StringKit; import java.io.Serializable; /** * Like PintRNG (uses int math primarily, making it good with GWT and 32-bit machines) and FlapRNG, but with a longer * period than ei...
55.293447
137
0.654112
8115aacf87b7acbc20f07dfe8c4f64f0a33dde70
761
package moonstone.selene.device.sensor; import java.util.List; import moonstone.acn.client.IotParameters; import moonstone.acn.client.model.TelemetryItemType; import moonstone.selene.data.Telemetry; public class LongSensorData extends SensorDataAbstract<Long> { public LongSensorData(String name, Long data) { sup...
24.548387
85
0.749014
371082223abad5109c40fa74f7755ee469a9e895
811
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
33.791667
95
0.753391
b831a7fb77a1db4afdd606beddc4cb17ab289a9f
3,078
package com.themastergeneral.enderfuge; import net.minecraftforge.fml.common.FMLLog; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common....
38.962025
271
0.811241
728a2c27ce5964f871081455cff1b038da96b6d9
2,288
package district2021; import java.util.*; import java.io.*; class Harish { public static void main(String[] args) throws FileNotFoundException { Scanner input = new Scanner(new File("harish.dat")); int runs = input.nextInt(); input.nextLine(); for (int run = 1; run <= runs; run++) ...
36.31746
88
0.329545
c75b77201857d4ab66fbc95114cc5be816a9b645
1,734
/* * Copyright (C) 2017 优客服-多渠道客服系统 * Modifications copyright (C) 2018-2022 Chatopera Inc, <https://www.chatopera.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...
26.272727
84
0.700692
8ad6f0a4edb9f802a739f59a112474db1778b318
593
package com.baeldung; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core.publisher.Flux; import java.time.Duration; import java.util.stream.Stream; @RestController public class DataPr...
28.238095
78
0.748735
eb93dd22c67c530a6983bd8428f59dae509cbd14
7,525
/* Copyright 2009-2015 Comcast Interactive Media, LLC. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
34.360731
108
0.633223
c078c7fac9ba26384c35e554b791eec9def34a65
4,255
package com.ropeok.dataprocess.v2.core; import com.ropeok.dataprocess.common.CommonThreadFactory; import com.ropeok.dataprocess.common.JobRunException; import com.ropeok.dataprocess.v2.core.impl.BaseStep; import com.ropeok.dataprocess.v2.meta.JobMetaV2; import com.ropeok.dataprocess.v2.meta.StepMetaV2; import o...
32.730769
120
0.619271
148025c1d929da71967cafa52ad3f9817c5a18c9
7,290
/* =========================================================================== * Copyright (C) 2017 CapsicoHealth 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:/...
37.193878
194
0.583539
736831c6716565236350e32128753bf0a845f604
192
package net.earthcomputer.multiconnect.protocols.v1_16_2; import net.earthcomputer.multiconnect.protocols.generic.AbstractProtocol; public class Protocol_1_16_2 extends AbstractProtocol { }
27.428571
73
0.864583
d5d81c41c3fda28af84569d5ad8e9cd252e6c175
376
package com.niek125.userconsumer.handlers; import com.niek125.userconsumer.events.Event; public abstract class HandlerMethod<T extends Event> { private final Class<T> clazz; protected HandlerMethod(Class<T> clazz) { this.clazz = clazz; } public Class getHandlingType() { return clazz;...
20.888889
54
0.696809
3570e6d6e21a2fbe39996c607735e88b486c9af1
4,287
import android.support.annotation.NonNull; import android.support.annotation.StringRes; import android.support.design.snackbar.ContentViewCallback; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.Snackbar; import android.support.design.widget.SnackbarContentLayout; import an...
31.065217
156
0.648006
cfe4c46ca053b682af7fddf62af71e4d9208bed2
155
package org.blueskiron.goldilocks.monitoring; public interface ClusterReport { public ClusterStatus clusterStatus(); public LogStatus logStatus(); }
17.222222
45
0.8
7e3f22dedfc6b0f268b79b6067b788e680f50482
24,973
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
24.725743
148
0.614704
c9649bb46d0c675c2d5fc197b144ec1a5412f86c
5,809
/** * 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...
47.614754
116
0.753658
65406aeb9919dbde62943f53aac54389c59f63b6
589
package com.cloud.auth.core.biz; import com.cloud.common.bean.Authorization; /** * 操作员登录 业务 */ public interface OperatorLoginBiz { /** * 登录 * * @param username 用户名 * @param password 密码 * @param isSecurity 是否使用验证码 * @param securityCode 验证码 * @return Authorization ...
20.310345
99
0.62309
4a85958251c5b2ad46a333a72dbe78a8eb4892eb
6,167
package drjoliv.jfunc.trans.state; import drjoliv.jfunc.applicative.Applicative; import drjoliv.jfunc.data.Unit; import drjoliv.jfunc.function.F1; import drjoliv.jfunc.function.F2; import drjoliv.jfunc.function.F3; import drjoliv.jfunc.function.F4; import drjoliv.jfunc.function.F5; import drjoliv.jfunc.hkt.Hkt2; impor...
33.335135
118
0.600616
abe83b39ccae49ee896b3449913816c42c813b7a
1,506
package sustech.edu.phantom.dboj.utils; import com.google.gson.Gson; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereoty...
30.734694
124
0.683931
62d85e0075ce1d853346d7f4677a13559d033af7
316
package com.sheyennevalley.command; import lombok.AllArgsConstructor; import lombok.Data; import org.axonframework.commandhandling.annotation.TargetAggregateIdentifier; @Data @AllArgsConstructor public class ChangeStatusCommand { @TargetAggregateIdentifier private String id; private String status; }
21.066667
78
0.822785
2a13d333d1e78be37e71ecb6e872de8c2f31960f
323
package org.xm.xmnlp.test.seg; import org.xm.xmnlp.util.IOUtil; /** * 测试IO * * @author hankcs */ public class TestIOUtil { public void testSaveTxt() throws Exception { String path = "data/out.txt"; String content = "你好123\nabc"; System.out.println(IOUtil.saveTxt(path, content)); }...
17.944444
58
0.634675
865eab32b4696f7f6919da6b3d7fbd1e55d335b3
5,493
/* * Copyright 2008-2014 Hippo B.V. (http://www.onehippo.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 * * Unless ...
57.821053
131
0.763699
585daa3999d661e775f63c2c8d58742e1d1b8a2f
7,928
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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...
30.375479
121
0.685293
af5631db155f295772ec8b45843284f586358b86
631
package org.jenkinsci.plugins.publishoverdropbox.domain.model.requests; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class CreateFolderRequest { @Expose private String path; @Expose @SerializedName("autorename") private boolean isAutoRename =...
21.758621
71
0.687797
4b4af65198d17c77aafee304fb4c5fa441229e41
1,603
package org.apache.batik.dom; import org.apache.batik.css.engine.CSSEngine; import org.w3c.dom.DOMImplementation; import org.w3c.dom.DocumentType; import org.w3c.dom.Element; import org.w3c.dom.css.CSSStyleDeclaration; import org.w3c.dom.css.DocumentCSS; import org.w3c.dom.stylesheets.StyleSheetList; import org.w3c.do...
27.637931
110
0.722396
1136aba31e5d8032e4f499c53867d1b13b3d270b
1,414
package IconsAddon.icons; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion; import com.megacrit.cardcrawl.core.Settings; public abstract class AbstractCustomIcon ...
30.085106
160
0.692362
304c3c5ac309d5d1972132dc7f2133ea0e51c957
3,286
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.cognitiveservices.vision.computervision.models; import java...
21.906667
75
0.58947
0a912e479b3e8e89e456550edf39e1f4afaa3119
3,585
/* * Copyright The Hypertrace 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 applicable law or agre...
36.581633
98
0.743375
86cc92c1925909a3fad9beecf384c5b1680b52c6
6,627
/** * 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 ma...
34.878947
80
0.713898
cff230bb397e94ceecbde36035addd9572bc3b86
3,465
package com.malikjunaid.drhearing; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BitmapShader; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.RectF; import android.graphics.Shader; import android.os.Bu...
32.083333
76
0.764502
f41b5530685f69ab2ab3071bfd3ceeb8b0463e4c
3,376
package com.knowtech; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaWebView; import org.apache.cordova.PermissionHelper; import org.apache.cordova.PluginResult; import org.json.JSONArray; import org.json....
32.776699
117
0.712678
5729642cdb798483a4048d7e4ac709cb7f2ce426
1,670
package com.lh_lshen.mcbbs.huajiage.capability; import net.minecraftforge.energy.EnergyStorage; /** * This class's author is @Lothrazar * https://github.com/Lothrazar/Cyclic/blob/develop/src/main/java/com/lothrazar/cyclicmagic/block/core/TileEntityBaseMachine.java * Follow The MIT License * @return */ public clas...
29.821429
129
0.65988
c2009c72cf62cfc34b0e6eed75248739851d8642
2,274
package com.youmeek.ssm.module.user.service.impl; import com.youmeek.ssm.module.user.mapper.UserMapper; import com.youmeek.ssm.module.user.pojo.User; import com.youmeek.ssm.module.user.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; ...
21.657143
66
0.627968
ea6e1b23b6e7a52ec523a380c22fa90bd3ccb688
6,050
/** * 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.060109
79
0.689917
7b603dcd9c5e7ce25b11401d91a4064adb684039
1,833
package net.minecraft.world.entity; import net.minecraft.core.BlockPosition; import net.minecraft.world.level.World; import net.minecraft.world.level.block.state.IBlockData; import net.minecraft.world.phys.Vec3D; public abstract class EntityFlying extends EntityInsentient { protected EntityFlying(EntityTypes<? e...
31.067797
143
0.588107
24de09e36c0a9233d9e14aa60983e3e59ef78cc7
3,662
package net.i2p.data; /* * free (adj.): unencumbered; not under the control of others * Released into the public domain * with no warranty of any kind, either expressed or implied. * */ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Date; /** * A six-by...
25.971631
86
0.603495
8d29ccb677a1e586545bed1aa6d88436a36f2750
4,376
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.crashlytics.android.answers; import android.content.Context; import android.os.Looper; import io.fabric.sdk.android.services.common.SystemCurr...
46.553191
229
0.648537
b059f18f43d6fc370c95e5a87e0b6d16710dc11e
11,563
/* * 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 ma...
38.415282
100
0.73052
407d3316d3d075a910831cfbe98b7b402e77497d
4,813
package com.example.dewscheduler; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.View; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widg...
38.198413
185
0.69063
7b2cbc1b9bcd1d4f4df8b9bc7226ddc48eb01a2e
566
package io.github.sskorol.core.wrappers; import lombok.Getter; import lombok.RequiredArgsConstructor; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedCondition; import org.openqa.selenium.support.ui.ExpectedConditions; import java.util.function.Funct...
26.952381
64
0.839223
9264d4d7833d3196384ff7177fd5172d5ae0ccf5
2,001
/* * 문제: 2178 미로탐색 / 152 ms * link: https://www.acmicpc.net/problem/2178 * 알고리즘: BFS * 풀이방법: * * 의사코드(Pseudo Code) * * 시간복잡도(Time Complexity) * * 공간복잡도(Space Complexity) * */ package boj; import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Boj_2178 { static cla...
22.738636
81
0.413293
527d88ab132a45126192dc7d50755cc8afed04d4
8,815
package org.ripple.power.txns.btc; import java.io.EOFException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.UnknownHostException; import java.util.Arrays; /** * A PeerAddress holds an IP address and port number representing the network * location of a peer in the Bitcoin Peer-to-...
22.260101
110
0.658083
221da4f2553ec401c4a14c66480da1a823943fcc
3,339
/* * 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 ...
41.7375
126
0.681342
34819583ca942f751f12eee1e6086442a313f16f
3,519
package mjava.op.java_op; import com.github.javaparser.ast.CompilationUnit; import com.github.javaparser.ast.body.MethodDeclaration; import com.github.javaparser.ast.expr.UnaryExpr; import com.github.javaparser.ast.visitor.VoidVisitorAdapter; import mjava.op.record.MethodLevelMutator; import org.slf4j.Logger; import o...
37.83871
125
0.631429
558adae15faf65e6a32d6f33a448666ef3e71265
2,292
package org.fisco.bcos.web3j.tx; import java.io.IOException; import java.math.BigInteger; import org.fisco.bcos.channel.client.TransactionSucCallback; import org.fisco.bcos.web3j.crypto.ExtendedRawTransaction; import org.fisco.bcos.web3j.precompile.cns.CnsService; import org.fisco.bcos.web3j.protocol.Web3j; import org...
35.261538
96
0.725131
0cc04b4db03e1837a4b5795c2d917744a5cc17e7
34,841
/* Derby - Class org.apache.derby.impl.sql.catalog.TabInfoImpl 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 u...
29.526271
94
0.64714
a45254c909060419d37450474d312caa8d163575
2,328
/** * Copyright 2016 ZTE Corporation. * * 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 agre...
30.233766
75
0.693299
c05160789c6e23ff83613492402dc0b899b1d786
1,858
package org.openforis.collect.earth.app.logging; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.utils.URIBuilder; ...
36.431373
100
0.681916
42766935d6c1a7d5ab19f6fae874086b393a8890
1,568
package ladysnake.pickyourpoison.mixin; import ladysnake.pickyourpoison.common.entity.PoisonDartEntity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.projectile.PersistentProjectileEntity; import net.minecraft.util.hit.EntityHitResult; import org.spongepowered.asm.mixin.Mixin; import org.sponge...
46.117647
158
0.762117
96e54eed0b3c028d73d04695093d06c548959246
670
package ua.com.fielden.platform.web.view.master.api.widgets.spinner.impl; import ua.com.fielden.platform.utils.Pair; import ua.com.fielden.platform.web.view.master.api.widgets.impl.AbstractWidget; /** * An implementation for web integer editor. * * @author TG Team * */ public class SpinnerWidget extends Abstract...
27.916667
96
0.714925
42410443f63cae2b742293d7162f42c10c3fd70c
636
package com.carrotsearch.randomizedtesting.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHO...
28.909091
64
0.757862
69ed8ba5ab50ac15d36a3db6db68371156a16cdf
710
package frc.robot.util.fsm; /** Transition object for Finite State Machine */ public class FSMTransition<T extends Enum<T>> { public String action; // The specified action string public T nextState; // The specified next state /** * This constructor creates a FSMTransition object with the params specified <...
24.482759
83
0.684507
abc3b77949f8a0754491e65670cd454a259d70df
16,624
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
50.83792
169
0.708795
145545f953e68e4c16d8516e535b06fc71be5f81
1,366
package qv21.codingexercise.views; import android.content.Context; import android.util.AttributeSet; import qv21.codingexercise.R; import qv21.codingexercise.application.QV21Application; import qv21.codingexercise.databinding.WellDataDetailsScreenBinding; import qv21.codingexercise.models.viewmodels.WellDataDetailsVM...
35.025641
176
0.773792
832954032d284c6b1044218f618bac9d54307e02
6,039
package jackyy.simplesponge.registry; import jackyy.simplesponge.SimpleSponge; import net.minecraftforge.common.config.Config; import net.minecraftforge.common.config.ConfigManager; import net.minecraftforge.common.config.Configuration; import net.minecraftforge.fml.client.event.ConfigChangedEvent; import net.m...
47.928571
125
0.657228
ca9200fb4ca7dae6370ecbed3f8ff525b62b11d3
400
package generated.fliesenui.core; public class ReturnableObject<K> { private K object; public ReturnableObject(K object){ this.object = object; } public ReturnableObject(){ this(null); } public K getObject() { return get(); } public void setObject(K object) { set(object); } public K get() { ...
13.333333
35
0.66
7c41c1a9a4484ed19b4905d268c9f8cda689e6c1
1,150
package test.badoo.sniper.badootest.models; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import java.lang.reflect.Type; import java.util.ArrayList; import ja...
30.263158
128
0.732174
eef6f1b78e3b87416a9b058720ce50486461905f
2,764
/* * Copyright (c) 2011-2021 PrimeFaces Extensions * * 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, mod...
32.517647
81
0.694645
f5e24e42f115bdbbbc9781e5d3a8750b9c63ad40
1,418
package com.example.l.myapplication; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.ListView; import android.widget.TextView; import java.util.ArrayList; import java.util.List; /** * Created by 刘宇轩 on 2016/8/26. */ //确认订单界面 public cl...
34.585366
108
0.718618
1418c0a91739bee6db9b6fbd78cd034c61350eb4
3,409
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
29.903509
120
0.669698
6d5097f45a7060bb06064b943cac87f09243b247
1,659
/* * Copyright 2021 Root101 (jhernandezb96@gmail.com, +53-5-426-8660). * * 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 * * Or read...
38.581395
96
0.739602
d0cd34117caa61aeeed7828a920191e945a17150
2,251
/* * Copyright (C) 2020, Charles University. * * 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 ...
29.618421
94
0.777876
5007f237697b0706c1626f7a00b583a594360d9a
4,231
package f.a.a.a.n.b; import f.a.a.a.c; import f.a.a.a.l; import java.util.Locale; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import java.util.c...
36.474138
154
0.61593
e8db29106c24a285d727ff244e5049770284f173
898
package com.stevengantz.docker.config; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; public class RegistryItemTest { private RegistryItem reg; @Before public void setUp() throws Exception { reg = new RegistryItem(); } @After public void tearDown...
18.708333
52
0.726058
601acd5774b2490aacb3983c5cd67c272117d384
575
package com.vigekoo.modules.user.service; import com.vigekoo.modules.user.entity.UserAddress; import java.util.List; import java.util.Map; /** * @author sxia * @Description: TODO(用户_收货地址) * @date 2018-03-10 20:51:13 */ public interface UserAddressService { UserAddress queryObject(Long userAddressId); List<U...
19.827586
54
0.749565
492d731c10c52c71e7f98c6b91fb51055d13a22a
7,160
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 * * Unless required ...
37.098446
136
0.655168
3b5d927b1e09c9ca697016f6f8e9fbaaa61b4b3e
2,421
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
30.64557
117
0.667906
04315e6e922af8a57e1defa84c9c636b23b9f585
748
package in.sontx.web.local.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import in.sontx.web.local.bean.Account; import in.sontx.web.shared.net.www.HttpServletRequestWrapper; import in.sontx.web.shared.net.www.HttpServletResponseWrapper; @...
28.769231
94
0.802139