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
a65e75acf4781f8be3b9b66ade8284d362b17e60
1,050
package me.mervin.project.linkPrediction.similarity.global; import java.util.Map; import me.mervin.core.Network; import me.mervin.project.linkPrediction.similarity.Similarity; import me.mervin.util.E; import me.mervin.util.Pair; public class RWR extends Similarity { /* * 迭代次数 */ private int t = 10; /** * ...
17.213115
62
0.641905
3d1845b5b36be5b98ed36391c17b2f00b13129ef
4,299
/* * Copyright (c) 2017 STMicroelectronics – All rights reserved * The STMicroelectronics corporate logo is a trademark of STMicroelectronics * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions...
46.225806
100
0.731333
88b458b46e2c2cb1f9f70720b73d21ec92602396
686
package com.yuzhi.back.service; import com.github.pagehelper.PageInfo; import com.yuzhi.back.dao.entity.User; import com.yuzhi.back.common.JsonResult; /** * Created by tiansj on 15/6/23. */ public interface UserService { boolean addUser(User user); boolean deleteUser(Long userId); boolean updateUser(...
21.4375
63
0.737609
eb77d6610db0027c0fa4d584278c78562de47b3a
1,775
/** * Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same * color are adjacent, with the colors in the order red, white, and blue. * * Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively. * * Follow up: * C...
23.986486
113
0.539155
f6fa756a64398e1f3166d9b9bc18b8f1eaa4d50a
2,219
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
35.222222
99
0.753042
44de91b055413c7edf89a3e40834679f54d0d8a2
2,504
package me.katsumag.itemactionslib.nbt; import org.bukkit.Bukkit; import java.util.Arrays; /** * @author GabyTM */ public enum ServerVersion { UNKNOWN(0), /** * Legacy versions */ V1_8_R1(8_1), V1_8_R2(8_2), V1_8_R3(8_3), V1_9_R1(9_1), V1_9_R2(9_2), V1_10_R1(10_1), ...
25.55102
122
0.641374
c73d0d9974f52e6aacba86dc07fc3f8618186465
5,826
/*- * #%L * anchor-plugin-image-feature * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * 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 S...
41.913669
105
0.718847
1c312f288e4b6c7288e986bb00c5a80b36f3ba32
2,180
/* * Decompiled with CFR 0_110. */ package edu.stanford.crypto.bitcoin; import edu.stanford.crypto.SQLDatabase; import edu.stanford.crypto.database.Database; import org.bouncycastle.math.ec.ECPoint; import java.math.BigInteger; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet...
33.538462
130
0.693119
c3584460121dda00ad5a92058bea3ebd52ef23b9
763
/** */ package de.dc.javafx.xcore.workbench.impl; import de.dc.javafx.xcore.workbench.LeftPane; import de.dc.javafx.xcore.workbench.WorkbenchPackage; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Left Pane</b></em>'. * <!-- end-user...
20.078947
74
0.609436
1244249df840e12ced38fdf98c1d26433d75fe05
4,245
package com.sc.reminder.ui; import java.io.InputStream; import java.util.ArrayList; import java.util.Calendar; import com.sc.reminder.R; import com.sc.reminder.model.trip.Trip; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; impor...
28.877551
226
0.69258
a7f6274dc3d4e303bc6f6a1b6098d4b6c02ef05e
804
package com.hbasebook.hush.table; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.util.Bytes; public class ShortUrlTable { public static final TableName NAME = TableName.valueOf("hush", "surl"); public static final byte[] DATA_FAMILY = Bytes.toBytes("data"); public static final byte[] D...
44.666667
73
0.736318
1e1190714859968c830c597d24b4b4ab6ecf775f
3,874
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
34.900901
123
0.695405
911065c32e210aa4251ef8c7088146b9b92d8a7e
557
package com.zyd.blog.business.service; import com.github.pagehelper.PageInfo; import com.zyd.blog.business.entity.Tags; import com.zyd.blog.business.vo.TagsConditionVO; import com.zyd.blog.framework.object.AbstractService; /** * 标签 * * @author yadong.zhang (yadong.zhang0415(a)gmail.com) * @version 1.0 * @websit...
23.208333
69
0.746858
51e9fd7748b6486ca5c8664a683c044b108f3653
1,915
package com.zhilian.api; import com.fasterxml.jackson.databind.ObjectMapper; import java.util.Map; /** * 封装 accessToken * 正确获取 * {"accessToken":"PYtr70kAdrfdTQjCht8yEcJtfi1LYlUMivgRoJgrZEzNnzmUTm9gFnlif3OtyKmT","expiresIn":7200} * 获取错误 * {"errCode":40001,"errMsg":"invalid credential"} */ public class AccessTok...
21.761364
102
0.68094
f9ec8130a4eb02097014f2d367723f8d2b3e3a74
1,549
package com.x.processplatform.assemble.designer.jaxrs.querystat; import java.util.ArrayList; import java.util.List; import com.x.base.core.container.EntityManagerContainer; import com.x.base.core.container.factory.EntityManagerContainerFactory; import com.x.base.core.exception.ExceptionWhen; import com.x.base.core.ht...
44.257143
100
0.801808
7e3bcd1f36d9e24638bd663613b9449030ac30f9
5,852
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package com.professor.zebrautility; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothClass; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import an...
39.275168
216
0.676863
74f8dc1925519e71733b270c3c8ab3ac107074fc
1,014
/* * 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 easycoding.ch04.encryption.symmetric; import easycoding.ch04.classLoader.Constants; import java.io.FileOutputStream; import ja...
32.709677
79
0.725838
67625c1416839249e60c924a2a4cc18d9b31f7ae
957
/* * Copyright 2017 8Kdata Technology * * 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.90625
86
0.750261
772ac7105885539fc431756e7ae4f68c91d1e3e7
335
package com.github.srec.rec.common; import javax.swing.*; import java.awt.*; /** * Decodes text from JCheckBoxes. * * @author Vivek Prahlad */ public class JCheckBoxDecoder implements ComponentDecoder { public String decode(Component renderer) { return Boolean.toString(((JCheckBox) renderer).isSelect...
19.705882
69
0.710448
47a9980fc36311644927a52627d5857bec1d0c7a
9,121
/** * Copyright 2017 Hortonworks. * * 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 ...
43.850962
130
0.691591
fc701a886dfacac4173bb79ef099a437f827fb37
2,071
package hackovid2020.back.rest; import hackovid2020.back.dto.category.CategoryRequest; import hackovid2020.back.dto.category.CategoryResponse; import hackovid2020.back.dto.category.CategoryResponseList; import hackovid2020.back.service.CategoryService; import io.swagger.annotations.Api; import io.swagger.annotations.A...
36.333333
113
0.811685
5caaaba1432511b3b9135a12d699abfb5b9936e5
3,618
package org.rcsb.mmtf.codec; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.rcsb.mmtf.dataholders.MmtfStructure; import org.rcsb.mmtf.encoder.EncoderUtils; /** * Class to test the codecs (anything that implements {@link CodecInterface}). * @a...
26.217391
133
0.678552
3ea6f9ecb05e5a0da17f3c26583b91656181ef23
3,292
/* * Copyright 2017-2019 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 a...
32.594059
115
0.755772
54459cf401f7c3146c99d2267f2c29017edae19d
214
package com.dcm.easypoi.excel.entity.enmus; /** * Cell 值得类型 * * @Author hourz * @since 2020-01-06 */ public enum CellValueType { InlineStr, String, Number, Boolean, Date, TElement, Null, Formula, None; }
17.833333
76
0.682243
748d4f969d61d904072b8aeca78535aec14e86a1
752
package io.github.talelin.latticy.dto.my; import lombok.Data; import org.hibernate.validator.constraints.Length; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import javax.validation.constraints.Positive; /** * @Author Guiquan Chen * @Date 2021/3/7 15:53 * @Version 1.0...
16.711111
50
0.614362
7619c9809787ae1143f36be9d74ed525947f0a60
1,345
//package Berkeley.CS61B.exercise.list1; public class ExtraIntListPractice { /** Returns an IntList identical to L, but with * each element incremented by x. L is not allowed * to change. */ public static IntList incrList(IntList L, int x) { /* Your code here. */ if (L == null) ...
32.02381
67
0.581413
61830638053603f7c6c123e853ce0604d23c9959
844
package cn.he.zhao.bbs.util; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * 描述: * id生产 * * @Author HeFeng * @Create 2018-09-02 11:46 */ public final class Ids { private static final Lock ID_GEN_LOCK = new ReentrantLock(); private static final long ID_GEN_S...
22.210526
76
0.590047
686c21867a74000e3b72be8fc6eb9b682d72a6d6
297
/** * */ package za.co.sindi.validations.core; import java.util.logging.Logger; /** * @author Bienfait Sindi * @since 23 July 2012 * */ public abstract class AbstractConstraint<T> implements Constraint<T> { protected final Logger logger = Logger.getLogger(this.getClass().getName()); }
17.470588
77
0.710438
ac0af8f2f8cb1522512f4cf90100f5e48ec8cfa6
3,116
package com.bignerdranch.android.loginapp.Service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.IBinder; //import android.support.v7.app.Notificatio...
33.505376
133
0.730103
e175217f50303dc90f2e277492163390ed55828c
2,029
/* Copyright 2004-2015 Jim Voris * * 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 o...
30.742424
89
0.699852
6b810a36ed963093fcfc201ea42b527ea8e22dac
4,724
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
25.12766
118
0.727561
9f7c422ac12ce4889ca497e114f849ec0f84558f
27,060
/* * GROOVE: GRaphs for Object Oriented VErification Copyright 2003--2007 * University of Twente * * 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...
34.871134
100
0.559719
cfa8b082372d7307635b11acdd3e280a8a1bb04b
24
public class Exclude{ }
8
21
0.75
4d437edd00b6914df7be0ff9880b628930a62460
1,780
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.predicate.operator.comparison; ...
33.584906
79
0.693258
4838e4e72b93c8b88d0f6d70c81a703b9caf1330
1,180
/* * Copyright 2020 Acoustic, L.P. * 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 * Apache License, Version 2.0 * www.apache.org * Home page o...
34.705882
131
0.752542
d1d62df51528c6ebc007342f32ac6273362078c1
1,310
package com.slurpy.glowfighter.gui; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.Vector2; import com.slurpy.glowfighter.Core; import com.slurpy.glowfighter.managers.AssetManager.FontAsset; import com.slurpy.glowfighter.utils.Util; public class Label { private String text; public final Positi...
22.586207
72
0.709924
64ee8e71105846080292d5f0551f8644499cfa75
339
package com.ctrip.xpipe.simple; import java.net.InetSocketAddress; import org.junit.Test; /** * @author shyin * * Dec 22, 2016 */ public class InetSocketAddressTest { @Test public void test() { System.out.println(new InetSocketAddress("0.0.0.0", 0)); System.out.println(InetSocketAddress.createUnresolved("0...
17.842105
71
0.705015
cd464df130ef963bdf6ff4482e7d82d48afdeb4c
7,135
package com.jianpan.myrecord.view; import android.content.Context; import android.content.res.TypedArray; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import and...
32.579909
108
0.632796
6e3a892bddec60cb468abd17f776857dbfd4c984
158
package befunge98_gui_glimmer_dsl_swt; /** The soul purpose of this class is to retrieve icons for uri:classloader paths used from JAR */ class Resource { }
26.333333
98
0.78481
906bdc4020b93c5045b2f799c2fc2dd2daa0607a
1,755
package com.eltechs.axs.widgets.touchScreenControlsOverlay; import android.view.View; import com.eltechs.axs.TouchScreenControlsFactory; import com.eltechs.axs.activities.XServerDisplayActivity; import com.eltechs.axs.activities.XServerDisplayActivityInterfaceOverlay; import com.eltechs.axs.configuration.TouchScreenCo...
43.875
171
0.805698
88275a1007be0747dd73cda2fc5e19c3b6e55b15
982
package net.bootsfaces.themes; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; @ManagedBean @SessionScoped public class Theme implements Serializable { private static final long serialVersionUID = 1L; private String currentTheme="default"; private String...
20.893617
58
0.750509
fbb9684b1514064026915190157bc1f1d956e2c5
608
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // package com.alcatel.as.service.concurrent.impl; /** * Defines the supported PlatformExecutor schedule priorities. */ public enum TaskPriority { /** * The task must be scheduled on one executor, u...
24.32
76
0.713816
3ed7a0c77e90b01179094bdfa4a727f0b938a0f3
1,005
class lab70 implements Runnable { public void run() { Thread t = Thread.currentThread(); System.out.println(t.currentThread()+" started execution "); for (int i=0;i<5 ;i++ ) { try { System.out.println(Thread.currentThread()+" is printing"+ i); t.sleep(1000); } catch(InterruptedException i...
25.769231
73
0.655721
e66b36f5736909f431b23f2d36672ab9befddcdb
440
package game_engine.level; import game_engine.Component; /** * * @author Andy Nguyen, Jeremy Chen, Kevin Deng, Ben Hubsch * The purpose of this class is to allow Levels to have a height attribute * */ public class LevelHeightComponent extends Component<Double>{ /** * instantiates a new LevelHeightComponent w...
20.952381
81
0.729545
0e4c9da34cb421c09f035e4f92dee95ecd518249
4,000
package jet.learning.opengl.samples; import android.opengl.GLES20; import com.nvidia.developer.opengl.app.NvSampleApp; import com.nvidia.developer.opengl.utils.GLES; import com.nvidia.developer.opengl.utils.GLUtil; import com.nvidia.developer.opengl.utils.Glut; import com.nvidia.developer.opengl.utils.NvGLSLProgram; ...
37.037037
113
0.6745
52b095282bfcd071dfe6375f2046b65edb2677d0
2,158
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.mongo.v3_1; import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.DB_MONGODB_COLLECTION; import static java.util.Arrays.asList; import com.mongodb.event.CommandStartedEve...
31.275362
97
0.662651
c47d81974f875d8770512afbd4387115be23090a
2,106
package com.company.project.controller; import com.company.project.common.aop.annotation.LogAnnotation; import com.company.project.common.utils.NumberConstants; import io.swagger.annotations.Api; import org.apache.commons.collections.CollectionUtils; import org.apache.shiro.authz.annotation.Logical; import org.apache....
36.947368
203
0.792498
e393bb7446ffe0a23a9a6374b5566ed5a3af380a
903
/* * Copyright (c) 2014, Isode Limited, London, England. * All rights reserved. */ /* * Copyright (c) 2014, Remko Tronçon. * All rights reserved. */ package com.isode.stroke.elements; import java.util.ArrayList; import com.isode.stroke.elements.PubSubOwnerPayload; public class PubSubOwnerSubscriptions extends PubSub...
20.522727
101
0.781838
9bc5b573724149412de5c161882e1e334e9fcd7a
4,470
package com.example.selfunction; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widge...
38.534483
158
0.576734
184191ff3cd5069c816cf3c2ffe4696d85eaa60d
2,799
package xreliquary.entities; import net.minecraft.entity.EntityType; import net.minecraft.entity.IRendersAsItem; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.projectile.ThrowableEntity; import net.minecraft.item.ItemStack; import net.minecraft.network.IPacket; import net.minecraft.parti...
28.85567
174
0.7592
4c46b2c9bedc7920ff9a45f5b5c1316ab1671869
22,971
/* This file was generated by SableCC's ObjectMacro. */ package org.sablecc.objectmacro.codegeneration.java.macro; class InternalsInitializer { private final String _paramName; InternalsInitializer( String paramName) { this._paramName = paramName; } void setHeader( ...
27.152482
80
0.65513
973c6ef0cda92e4ddefcb967942853e080a64d25
2,174
package com.tianzhi.shop520.entity.shop; /** * 商品信息 */ public class GoodsInfo { protected String Id; protected String name; protected boolean isChoosed; private String imageUrl; private String desc; private double price; private int count; private int position;// 绝对位置,只在ListView构造的购物车...
19.763636
82
0.597976
33c4a49b8dee224ec0dee864c73f5491fa6b2a99
9,619
/* * 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") (...
40.586498
178
0.681568
9bd07b76bb3754efab64d0cf3b58950526ae2699
2,567
/* * Copyright (c) 2006-present 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 b...
27.602151
85
0.730425
a5b2de12a41fbd4308ac53a9a59b3305adacff5a
183
package com.knewless.core.dailyProgress.dto; import lombok.Data; import java.time.LocalDate; @Data public class ActivityDto { private LocalDate date; private int seconds; }
16.636364
44
0.765027
b54cc9f09903bee7a2266d78e04bfdfd4b55921e
330
package sdm.sccpms.gift; import java.util.LinkedList; import java.util.List; public class BinaryGiftGivingStrategy implements GiftGivingStrategyInterface { @Override public List<Gift> getGifts(List<Gift> gifts, float goodness) { if (goodness >= .5) { return gifts; } else { return new LinkedList<Gift>(); ...
18.333333
78
0.724242
d23e8c316b6ae104c02f6612f9030b66b0e8f1f4
79
package com.atguigu.gulimall.seckill.config; public class ScheduledConfig { }
15.8
44
0.810127
2befc9db8c6c4b23c5ffc43e3bade2d7ac69de18
162
package com.cardealer.car_dealer.util; public interface Parser { String toJsonString(Object obj); <T> T exportFileContent(String str, Class<T> klass); }
23.142857
56
0.740741
be7623d01b311dabb053b296f795798f34ad7f69
13,876
/* * TopStack (c) Copyright 2012-2013 Transcend Computing, 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 ap...
40.104046
94
0.566734
a441ca72c5b0124bf20bad776cc2c30c2a710dac
224
// Automatically created - do not modify - CSOFF ///CLOVER:OFF package com.opengamma.livedata.msg; public enum LiveDataSubscriptionResult { SUCCESS, NOT_PRESENT, NOT_AUTHORIZED, INTERNAL_ERROR; } ///CLOVER:ON - CSON
20.363636
48
0.754464
58ff65d783c8a198367b1a70ef3853be09a58db8
3,946
package org.tessell.gwt.user.client.ui; import org.tessell.gwt.dom.client.*; import org.tessell.util.Stubs; import org.tessell.widgets.StubWidget; import com.google.gwt.event.dom.client.HasAllDragAndDropHandlers; /** * Attempts to mimick drag/drag behavior just enough for us to * reliably unit test behavior in pre...
29.893939
109
0.706285
6e66256ae6d59309f8a94ccc4fb73aabba022e13
3,520
/* Copyright 2019 The TensorFlow Authors. 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 by applicable law or a...
32.897196
104
0.69517
e0b50ba9ffb2987f142c588c78bc5bf6916cdfaf
947
package com.isa.ISA.DTO; import java.util.ArrayList; import com.isa.ISA.dbModel.enums.TipAdmina; public class AdminDTO { private String username; private String pass; private TipAdmina tipAdmina; private long[] pozBio; private String email; public AdminDTO() { } public String getUsername()...
16.050847
49
0.657867
44300684b51a6d0bf0f0b02554abec0c9a985bcc
229
package models.purchase; public class NormalFee implements PurchaseFee { Double fee; public NormalFee(Double fee) { this.fee = fee; } @Override public Double getFee() { return fee; } }
14.3125
47
0.611354
2422138f09095063ca85c85a2fead15bbf727e28
1,740
package com.kaglobal.malladmin.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.*; import lombok.Data; /** * 品牌表VO * * @author bianj * @version 2020-10-19 */ @Data @ApiModel(descri...
30
67
0.643678
98196584aae2aac3ef6bfb7f6d59f67091de758c
853
package datawave.ingest.mapreduce.job.writer; import java.io.IOException; import java.util.Map; import datawave.ingest.mapreduce.job.BulkIngestKey; import org.apache.hadoop.mapreduce.TaskInputOutputContext; import org.apache.accumulo.core.data.Value; import com.google.common.collect.Multimap; /** * A simple cont...
27.516129
140
0.725674
ca7c96136cc1ad1b7cba165975e2dc1e2edc0984
6,434
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2003 The Apache Software Foundation. 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...
34.591398
79
0.640814
52a0d2dc951459074cea3b0d72fc9367bd030c10
3,011
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
40.146667
100
0.721023
e50aa4f644150d4ff68c9b826f5e744f8e337706
2,009
/* * Copyright 2019 ConsenSys AG. * * 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 wr...
35.245614
118
0.745645
f5cf0efbf39df1b0a13da46b49506ffdb7d3d7b0
2,869
/* * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.validation; /** * Immutable in-memory representation of grammar. * * <p> * This ...
27.32381
104
0.654932
c4703dedc29999e1755903eef7a58594cdc59976
2,383
/* * Copyright 2018 tweerlei Wruck + Buchmeier GbR - http://www.tweerlei.de/ * * 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 * * Unl...
23.135922
142
0.689467
d54111be6ccf2064b2a5b831e9cb009717c026dd
1,594
package si.vilfa.junglechronicles.Events; import com.badlogic.gdx.utils.Array; import si.vilfa.junglechronicles.Component.Loggable; import java.util.HashMap; /** * @author luka * @date 05/12/2021 * @package si.vilfa.junglechronicles.Events **/ public abstract class EventDispatcher implements Loggable { priva...
27.016949
98
0.646801
f24d352376e3f197118e561cf1406670d775c5d9
1,496
/* * Copyright 2014-2018 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 app...
32.521739
79
0.71123
b53483761bf052090c648baf6bf62159bce96b61
1,187
package com.capg.p1; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "MyAccounts") public class Account { @Id @Column(name = "accountNumber") private int accId; @Column(name=" AccountName") private String ...
18.546875
111
0.712721
08ace509ed12e502f41cda8c4e7158157bb99c1f
2,189
package com.boot.mytt.core.redisson; import org.redisson.Redisson; import org.redisson.api.RedissonClient; import org.redisson.config.Config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import java.io.IOException; /** * redisson bean管理 */ @Config...
32.191176
169
0.65418
12e4454897a730742d7f79aae6fc37a52736ea0d
1,799
/* * Copyright 2018 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 applic...
32.709091
105
0.776543
73ecdfcf30637afc2abc9091d19aaab299dab5a0
144
package net.tcpshield.tcpshieldapi.response; import java.util.ArrayList; public class NetworksResponse extends ArrayList<NetworkResponse> { }
20.571429
66
0.833333
abbae265d6659c2dfd1e332d9c670d5effa23cff
4,254
package com.global_relay.globalrelayimagedownloaderproj.view.fragments; import android.net.http.SslError; import android.os.Bundle; import android.util.Patterns; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.SslErrorHandler; import android.webkit.Web...
36.358974
114
0.744476
a709b1ad97cb3f8ef3936d2dc650b5bd2d01bef4
552
package counterforevennumbers; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Class CounterTest. * Tests Counter class. * * @author Mishin Yura (mishin.inbox@gmail.com) * @since 17.09.2018 */ public class CounterTest { /** * Test add. ...
19.714286
60
0.648551
3d506a2c4f1430bb485bbf9d7177c34880879e03
1,850
package gameplayer.front_end.application_scene; import java.io.File; import gameplayer.back_end.resources.FrontEndResources; import gameplayer.front_end.background_display.BackgroundDisplayFactory; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.contro...
31.355932
144
0.784324
b5e38367510d9f29610539ea0d0e9c54e8730960
4,890
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertThrows; import com....
35.955882
108
0.729652
f200ebe70e5e6fa97d448af02aedf8e6b2216729
3,616
package org.apache.ctakes.assertion.medfacts.cleartk.windowed.context.feature.extractor; import org.apache.ctakes.typesystem.type.syntax.BaseToken; import org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation; import org.apache.uima.jcas.JCas; import org.cleartk.ml.Feature; import org.cleartk.ml.feature.extr...
29.16129
113
0.578263
ec52f8e991853d3832d6cbbcf529f83ec3bb53dd
1,496
/* Copyright (C) 2003 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
34
91
0.750668
5ebfb3b25e7e1dd4c615a1258ebe051b3224f6e2
2,303
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
38.383333
120
0.748155
871cf6cdb28257d29cab94b20ce3e918f5d1f53d
1,053
package mekanism.common.integration.crafttweaker.recipe.handler; import com.blamejared.crafttweaker.api.recipe.handler.IRecipeHandler; import com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager; import mekanism.api.recipes.GasToGasRecipe; import net.minecraft.world.item.crafting.Recipe; @IRecipeHandler...
47.863636
126
0.779677
d11b7bd55764be78d1b67e0f8bc2b1992d4d1e1a
2,406
package adt.linkedList.set; import adt.linkedList.SingleLinkedListImpl; import adt.linkedList.SingleLinkedListNode; public class SetLinkedListImpl<T> extends SingleLinkedListImpl<T> implements SetLinkedList<T> { @Override public void removeDuplicates() { if (!isEmpty()) { SingleLinkedListNode au...
28.305882
95
0.545303
6411973e75f909387a7e65aa869c602b83622f05
1,489
package com.danyy.zk.listener; import com.danyy.zk.watcher.ZkWatcher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /** * 监听器回调处理线程池 */ public class ListenerProcessPool {...
29.78
163
0.591672
bd5c265fc9a01e587e5aa94de78ee0dc506b90c7
1,282
/* * Software Name : ATK * * Copyright (C) 2007 - 2012 France Télé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 *...
27.276596
76
0.645086
dbb626245b7e1837c8b21270139f1967cec00aa7
876
package common; /* * defines constants used by both client and server * whole message would look like: (length)##(msg type)##(msg body) * message body would look like: (game status);(player name);(player score);(player attempts);(hint word) * */ public class Constants { /* * used to separate differen...
24.333333
105
0.634703
98171f0129b29a4f44fcf477a32c43f8b28b78d4
3,975
/* * Copyright 1999-2020 Alibaba Group Holding Ltd. * * 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 applica...
27.040816
77
0.588428
ca2972b81156e2f18490a72b1c3d0c775412d9cd
748
package net.evendanan.coffeetable; import android.os.Bundle; import com.google.android.material.snackbar.Snackbar; import androidx.appcompat.app.AppCompatActivity; import android.view.View; import androidx.navigation.NavController; import androidx.navigation.Navigation; import androidx.navigation.ui.AppBarConfigur...
27.703704
87
0.804813
986f2f8239265c86521ff1b7d87fb0841daa3972
1,352
package ru.job4j.coffeemachine; import org.junit.Test; import ru.job4j.coffemachine.CoffeeMachine; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; /** * Class CoffeeMachineTest is testing CoffeeMachine's method. * * @author Evgeny Shpytev (mailto:eshpytev@mail.ru). * @version 1...
27.591837
61
0.630917
0f8c766b74547643dc9c308398ce9e675060a3a3
52,416
/*- * Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle Berkeley * DB Java Edition made available at: * * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html * * Please ...
35.06087
99
0.495631
28e14e782d9e5a0880a17730cebf87b2020a18ef
139
package com.example.scavengerhunt.ViewModels; import androidx.lifecycle.ViewModel; public class LocationViewModel extends ViewModel { }
17.375
50
0.834532
9907eca1bd07a416483ccfcb74df9660e6c160a7
9,569
package technology.tabula; import java.awt.Shape; import java.awt.geom.AffineTransform; import java.awt.geom.GeneralPath; import java.awt.geom.Line2D; import java.awt.geom.PathIterator; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.util.ArrayList; import java.util.Comparator; import java....
35.180147
122
0.601839
cb73516f5cdf5449ef863f877a3e40c34533a8e9
257
package com.store.catalog.dao; import com.store.catalog.model.Category; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; public interface CategoryDao extends CrudRepository<Category, Long> { }
23.363636
69
0.832685
6d5e35553588674706f8870d0aae589bb8352948
4,836
package com.example.aidongprover2; import android.content.DialogInterface; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v...
36.916031
225
0.676592
949c9f16c6b37b1b7028d07ea19618891379d15c
2,433
package com.baseflow.flutter.plugin.geolocator.tasks; import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationManager; import com.baseflow.flutter.plugin.geolocator.Codec; import com.baseflow.flutter.plugin.geolocator.data.LocationOptions;...
33.328767
107
0.681463
46a006817cf3bee3099686ffcfeb26be29a89c1d
18,728
/* * XML Type: CT_TransformEffect * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTTransformEffect * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.drawingml.x2006.main.impl; import javax.xml.names...
33.989111
175
0.595205
81de8d9bb334be8c0240a6cc623b5ffccc98ed36
1,521
package com.yunfei.home; import com.yunfei.common.res.ResPresenter; import com.yunfei.entity.NewItem; import com.yunfei.net.BaseResponse; import com.yunfei.net.NewsService; import com.yunfei.net.RetrofitUtil; import com.yunfei.net.ServerException; import java.util.List; import java.util.concurrent.TimeoutException; im...
27.654545
96
0.668639