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
08edbd782a2184ca15931b76b8f1add9144db884
1,425
package greeter; import static org.junit.Assert.assertEquals; import greeter.api.Greeter; import java.io.File; import org.apache.commons.io.FileUtils; import org.jboss.modules.LocalModuleLoader; import org.jboss.modules.Module; import org.jboss.modules.ModuleClassLoader; import org.jboss.modules.ModuleUnloader; impo...
30.978261
104
0.748772
4f15306d7365cbfaefb6180e8c0295b84ec86df8
5,064
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
35.166667
99
0.707543
f47c5ff8a2bc0d09b1622ac5fec898dd415fa8b5
1,736
import java.util.*; class Q1 { public void strconcat(String a,String b) { String c = a.concat(b); System.out.println("CONCAT()"); System.out.println(c); } public void strequals(String a , String b) { System.out.println("EQUALS()"); if(a.equals(b)) ...
24.8
80
0.497696
be58bf2352fb9f951446768dfc66c00b86c29d75
919
package loon.media; public class SoundOpenAlSource { private int sourceId; private SoundOpenAlBuffer buffer; public SoundOpenAlSource(SoundOpenAlBuffer buffer) { this.buffer = buffer; this.sourceId = OpenAlBridge.addSource(buffer.getId()); } public void setPosition(float x, float y, float z) { OpenAlBri...
19.978261
57
0.722524
7bc4e8211a11135f2409e0ab1329c099d0f5eb6d
14,492
/* * Copyright 2021 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 required by applicable law or ag...
42.374269
100
0.67727
c99a5e383c11b60be5a631b745e354e872bba5e2
1,435
package info.source4code.jaxb; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import info.source4code.jaxb.MarshalHelper; import info.source4code.jaxb.model.Car; import javax.xml.bind.JAXBException; import javax.xml.bind.MarshalException; import org.junit.BeforeClass; import org.juni...
27.596154
65
0.659233
4238bbca2f6363955445c6de2a50102c976c0edc
3,448
package com.me.gmall.realtime.app.dws; import com.me.gmall.realtime.app.func.KeywordUDTF; import com.me.gmall.realtime.bean.KeywordStats; import com.me.gmall.realtime.common.GmallConstant; import com.me.gmall.realtime.utils.ClickHouseUtil; import com.me.gmall.realtime.utils.MyKafkaUtil; import org.apache.flink.streami...
41.047619
133
0.633701
523b71155200e799ac4b11c6e7e0425af3e5ebb5
8,576
// Copyright (C) 2016 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
40.262911
100
0.743004
fc1abc354b5aa7a05770f16d29f262ed1844cd96
5,371
package com.zjcoding.zmqttbroker.processor.message; import com.zjcoding.zmqttcommon.factory.ZMqttMessageFactory; import com.zjcoding.zmqttbroker.security.IAuth; import com.zjcoding.zmqttcommon.message.CommonMessage; import com.zjcoding.zmqttcommon.session.MqttSession; import com.zjcoding.zmqttstore.message.IMessageSto...
39.20438
189
0.696518
d84027424b4d2402ef392ed31fdc39f4bffcca96
10,003
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.sdk.iot.service; import com.microsoft.azure.sdk.iot.deps.serializer.*; import com.microsoft.azure.sdk.iot.deps.twin.DeviceCapabiliti...
36.641026
169
0.688893
0bd6ae4b56e6fdc38ff288f0727350a39b11ddbf
2,055
package com.octopus.quizon.viewmodel; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import com.octopus.quizon.data.ListActiveGame; import com.octopus.quizon.data.ResponseGameId; import com.octopus.quizon.data.Respon...
33.688525
78
0.778589
ffe19e95321fc0704df3f12acc58208d9e60dc69
4,862
/*** Copyright (c) 2014 CommonsWare, 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 law or agreed to in writin...
27.942529
79
0.680173
14cc455a7551b14833b37f6c090c3e0dbdbd03cd
2,993
package etl.model; import java.math.BigInteger; /** * A single store-format record to be inserted. A dumb data structure. */ public class FileRecord { private BigInteger productId; private String productDescription; private Money regularSingularPrice; private Money promotionalSingularPrice; pri...
24.941667
77
0.702974
6655469ce6a383c7e7d19c6d5201fe6e1b3c3780
2,076
package people.jobs; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.stream.Stream; import people.conf.PeopleConfig; import people.dict.NamesDictionary; import people.dict.WordDictionaryWriter; import people.dict.model.Gender; import people.dict.model.PersonName; i...
29.657143
109
0.712909
856aaaa3d8df3f132cc82f81b1a0ade7b7e52d86
8,424
package com.example.awesometic.facetalk; import android.app.FragmentManager; import android.content.Intent; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import andro...
37.110132
112
0.621201
22c067f1e8a43cace8fa4eb52cb006ebf0bacc7a
12,405
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
32.137306
124
0.644095
a561102e38f13c6890102f39321b5c8d1a2d0c1c
1,058
package org.davidmoten.executors.more; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; public final class Executors { private Executors() { ...
34.129032
113
0.747637
b63cda8ed521b35f6f81c49887c6c8de77bc7a7b
694
package org.smartframework.cloud.examples.mall.rpc.enums.order; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Getter; /** * 支付状态(1:待支付;2:支付成功;3:支付失败;4:待退款;5:退款成功;6:退款失败) * * @author liyulin * @date 2019-04-16 */ @Getter @AllArgsConstructor(access = AccessLevel.PRIVATE) public enum Pa...
15.772727
63
0.563401
100650d43bd86ebb8fcac7006e732ae7417af47c
19,794
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.jdisc.state; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.inject.AbstractModule; import com.yahoo.c...
45.925754
118
0.577953
48f8f84c488c187af73d27f48758d446a48cdec6
93
package com.artezio.arttime.web; public enum EffortsGrouping { BY_PROJECTS, BY_EMPLOYEES }
15.5
32
0.806452
491a13f5a5f69324bec20f844bb5f2211a0b2e6e
779
package designs.ecommerce; import java.util.List; //Subject public class InventoryProduct { Product product; public InventoryProduct(Product p) { this.product = p; } List<InventoryProductObservers> observers; void RegisterObserver(InventoryProductObservers observer) { observers.add(observer); } void D...
19
62
0.757381
10372ff655ae8d4d01acb29e7ee59f61413144ef
3,050
// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2020-2021 MariaDB Corporation Ab package org.mariadb.r2dbc.client; public class ServerVersion { public static final ServerVersion UNKNOWN_VERSION = new ServerVersion("0.0.0", true); private final String serverVersion; private final int majorVersion; pri...
24.015748
87
0.628525
581a6979cd34dcda99342cd85e7a3636d52b9f2f
1,694
/* * Copyright 2017-2021 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
30.25
105
0.739079
8945951eef850787fe0fb534cfa9d64282fed367
12,385
package com.touwolf.mailchimp.api.lists; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.touwolf.mailchimp.MailchimpException; import com.touwolf.mailchimp.data.MailchimpResponse; import com.touwolf.mailchimp.impl.MailchimpBuilder; import com.touwolf.mailchimp.impl.MailchimpUtils; import co...
45.533088
219
0.689625
e197d1ad778162aca1090e46b8cb28ba397942ab
1,319
package io.resourcepool.dashboard.model.metadata; import java.util.List; /** * TODO class details. * * @author Loïc Ortola on 03/03/2017 */ public class Feed { private String uuid; private String name; private List<String> bundleTags; public String getUuid() { return uuid; } public void setUuid(...
17.355263
54
0.62699
9159e53cc41da7eee96ed1e008ba7800d8200f6a
134
package vn.bhxh.bhxhmail.mail.store.imap; interface UntaggedHandler { void handleAsyncUntaggedResponse(ImapResponse response); }
22.333333
60
0.813433
ee7787262c663b20128337d9607f3379d5517a3a
3,490
package src.train.common.items; import java.util.List; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumMovingObjectType; import net.minecraft.util.MathHelper; ...
43.08642
151
0.751289
e1d4587dc38c28839f1586997471742747ae17e1
592
package imnotjahan.mod.danmachi.objects.itemblocks; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; public class DungeonWallItem extends ItemBlock { public DungeonWallItem(Block block) { super(block); setHasSubtypes(true); } ...
21.925926
104
0.673986
dd84d78c36e63948e6f3c0bbaf98a741c067beca
2,747
// Copyright (C) 2016 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
35.217949
96
0.733892
64b8d58010e488693db1653b74b75f137fb99bde
1,812
package pizza.serviceImpl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pizza.mapper.OrderItemMapper; import pizza.pojo.OrderItem; import pizza.pojo.OrderItemExample; import pizza.pojo.Product; import pizza.service.OrderIt...
24.821918
73
0.691501
a6f2a8bd2e5bf40c3143eac6b460994f379a9875
2,457
package com.revature.shop.daos; import java.util.List; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import com.revature.shop.connection.DatabaseConnection; import com.revature.shop.models.Product; public class Prod...
24.088235
127
0.586895
90ce86619e00ac0d4c32136dd81fe6809a01acdd
808
package so.sample.worker; import java.util.List; import java.util.concurrent.CompletableFuture; import so.engine.IWorker; import so.engine.ProcessResult; import so.engine.ResultStatusEnum; /** * A woker that join a list of int into a single int * * Basically it sums values of the given list * * @author marc_...
25.25
91
0.675743
c63eace09062e48937d0044b4f5d0ce9bdb0b003
1,277
package com.qa.ims.persistence.dao; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Before; import org.junit.Test; import com.qa.ims.persistence.domain.Items; import com.qa.ims.utils.DBUtils; public class ItemDAOTest { private final ItemsDAO DAO = new...
22.017241
101
0.707126
6e4e8100b33ddc78251e6af93e4348162ed427db
2,704
package com.koch.ambeth.cache.chunk; /*- * #%L * jambeth-cache * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache...
30.727273
96
0.756287
be28d8cf2d782e34abade6bded8af9da9e0724d3
400
/** Fetches the names of the available ALC device specifiers. Equivalent to the C call alcGetString(NULL, ALC_DEVICE_SPECIFIER). */ public java.lang.String[] alcGetDeviceSpecifiers(); /** Fetches the names of the available ALC capture device specifiers. Equivalent to the C call alcGetString(NULL, ALC_CAPTURE_D...
50
81
0.785
939cbde1e1646dbfa7ebeee97c93897ff1f93e80
17,759
package com.gat.data.book; import com.gat.common.util.MZDebug; import com.gat.data.api.GatApi; import com.gat.data.exception.CommonException; import com.gat.data.id.LongId; import com.gat.data.response.BookResponse; import com.gat.data.response.DataResultListResponse; import com.gat.data.response.ResultInfoList; impor...
40.731651
162
0.677966
8bfcb8c2aed208975e00099e125d18b11d897722
9,389
/* * Copyright (C) 2016 Square, 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 agre...
37.110672
96
0.691021
2ee78730e7b2946022bf386c4ab0a723620957ba
3,321
package koodi.selenium; import java.io.Console; import java.util.concurrent.TimeUnit; import koodi.Main; import org.fluentlenium.adapter.FluentTest; import org.fluentlenium.core.annotation.AjaxElement; import org.fluentlenium.core.domain.FluentWebElement; import org.hibernate.cfg.AvailableSettings; import static org....
32.242718
83
0.671183
b0ecec70e1933d15fd0b5ec3b655f0efb7fde63a
1,077
package uk.gov.hmcts.ccd.definition.store.domain.validation.casetype; import org.springframework.stereotype.Component; import uk.gov.hmcts.ccd.definition.store.domain.validation.ValidationResult; import uk.gov.hmcts.ccd.definition.store.domain.validation.authorization.AuthorisationValidationContext; import uk.gov.hmct...
39.888889
104
0.766017
486673df547a959d830ca0d0b8214b1b9cace299
3,278
package org.kaelbastos.view.CLI; import org.kaelbastos.Domain.Entities.Client.Client; import org.kaelbastos.Domain.Entities.Client.ResidenceType; import org.kaelbastos.Domain.Entities.Product.Product; import org.kaelbastos.Domain.Entities.Product.ProductCategory; import org.kaelbastos.Domain.Entities.Service.Service; ...
37.678161
194
0.693716
416df048718bfbc807a11107831bc469c16d1b23
865
package org.example.com.leetcode.array.middle; /** * 713. 乘积小于K的子数组 * https://leetcode-cn.com/problems/subarray-product-less-than-k/ */ public class Q78 { // 连续子数组:固定一边,动态修改另一边界 // 对于长度为n的数组,当一侧边界固定时,连续子数组数量为: n(长度1~n) public int numSubarrayProductLessThanK(int[] nums, int k) { if (k <= 1) { ...
22.763158
65
0.495954
0216b079743d47262a4c94f55aa16b77ae6f67f2
2,539
package com.openxava.naviox.web; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.openxava.controller.*; import org.openxava.jpa.*; import org.openxava.util.*; import com.openxava.naviox.*; import com.openxava.naviox.impl.*; import com.openxava.naviox.model.*; import com.openxava.na...
31.345679
129
0.708547
6dc308fe46de90ab0bba54c3d4037c98fe2aeb94
405
package service.impl; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org.springframework.stereotype.Service; import service.SubjectService; /** * @author tmblount */ @Service("subjectService") public class SubjectServiceImpl implements SubjectService { @Override publi...
20.25
57
0.755556
038b9f6667c94ab011fe3693c7e99b20bc293557
963
// Test case for kelloggm 214 // https://github.com/kelloggm/checker-framework/issues/214 import org.checkerframework.checker.index.qual.IndexFor; import org.checkerframework.checker.index.qual.IndexOrHigh; import org.checkerframework.checker.index.qual.LTLengthOf; public class ShiftRight { void indexFor(Object[]...
34.392857
80
0.596054
1ec23e71e8a6245e2a8da793d2a4c9c7fbe8c2c7
726
package com.evg.ss.lib.msc; import com.evg.ss.SimpleScript; import com.evg.ss.parser.ast.Expression; import com.evg.ss.parser.ast.ExpressionStatement; import com.evg.ss.parser.ast.Statement; public final class MSCGenerator { private SimpleScript.CompiledScript script; public MSCGenerator(SimpleScript.Compil...
25.928571
84
0.727273
7187f221c77dc3b8747293354e75f7d47dd5257b
6,020
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
41.805556
154
0.680731
c2aa69825bf25cf5793b0d032ce3058fe79f9f01
18,437
package com.ggxiaozhi.lib.class13; import java.util.ArrayList; import java.util.List; /** * @Description: * @Author: ggxz * @CreateDate: 2020/3/25 21:21 * @UpdateUser: * @UpdateDate: 2020/3/25 21:21 * @UpdateRemark: 更新说明 * @Version: 1.0 * <p> * 首先 在二分搜索树中 * <p> * 刚开始是平衡的 比如 * ---A * 一个节点或者null都是平衡二叉树, 当下...
27.153166
92
0.453436
3c5285db11ab26f294d3b82f22320f40cf517605
28,279
package org.adligo.tests4j_v1_tests.gwt_refs.v2_6; import java.util.Set; import org.adligo.gwt_refs.v2_6.GWT_2_6_Lang; import org.adligo.tests4j.models.shared.reference_groups.jse.JSE_Lang; import org.adligo.tests4j.shared.asserts.reference.AllowedReferences; import org.adligo.tests4j.shared.asserts.reference.I_Class...
37.258235
88
0.736412
4ffb376d791c776ebf78b48c574aaca4ae413ebb
723
package me.osm.dkiselev.intervaltimer.persistence; import android.arch.persistence.room.Dao; import android.arch.persistence.room.Delete; import android.arch.persistence.room.Insert; import android.arch.persistence.room.Query; import android.arch.persistence.room.Update; import java.util.List; import me.osm.dkiselev...
20.657143
53
0.715076
543fde4e253c73a2e201eaa16717d8fef4ec0107
2,579
/* * 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 hu.cherubits.wonderjam.entities; import java.io.Serializable; import java.util.List; import java.util.UUID; import javax.persi...
26.050505
102
0.675843
2e97e8d29cbdfa6707bdc9cb5e33d8cb0a929f25
114
package com.itheilv.mybatisplus.test; /** * @author WSQ * @since 2020-09-25 */ public class MybatisTest { }
10.363636
37
0.666667
3f39b8d5460c5895a3685c5e2511a9e6fcf67ab9
773
package com.javamaster.b2c.cloud.test.pattern; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springf...
24.15625
72
0.751617
061ad23da4f38d74f770c1741722e263e840ef6f
980
// Unique Email Addresses // Leetcode problem 929 // https://leetcode.com/problems/unique-email-addresses/ class Solution { // Implementation that prioritizes low memory usage over // low running time. public int numUniqueEmails(String[] emails) { String[] processedEmails = new String[emails.length...
32.666667
63
0.539796
75a885c86982a912463b5c214d9b75e9c5c5da3e
371
package com.hunk.route.domain; import org.springframework.data.jpa.repository.JpaRepository; /** * @author hunk * @date 2022/2/24 * <p> */ public interface BankInfoRepository extends JpaRepository<BankInfo, Long> { /** * 查询银行信息根据bankId * * @param bankId id * @return BankInfo */ ...
18.55
75
0.665768
8dbc638b30b561ed35c930a03de6cd1d1542e66b
1,654
/* * Copyright 2017-2018 Crown Copyright * * 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...
39.380952
118
0.76179
38e3de7e0f893afb773b84fa9d945ca454910754
1,733
package br.com.zup.anaminadakis.transacao.compra.controller; import br.com.zup.anaminadakis.transacao.cartao.model.Cartao; import br.com.zup.anaminadakis.transacao.cartao.repository.CartaoRepository; import br.com.zup.anaminadakis.transacao.novatransacao.dto.TransacaoDto; import br.com.zup.anaminadakis.transacao.novat...
39.386364
107
0.788806
4f92a882afb13e35afdd7d9b0db592564c2bc641
3,349
package com.bnd.math.task; import java.util.Collection; import com.bnd.core.domain.task.Task; import com.bnd.math.domain.evo.Chromosome; import com.bnd.math.domain.evo.EvoGaSetting; import com.bnd.math.domain.evo.EvoRun; import com.bnd.math.domain.evo.EvoTask; import com.bnd.math.task.EvoTaskParts.EvoRunHolder; impor...
21.888889
114
0.739922
ff58415075e9f158946fe0366cd50b472478b0d6
2,894
package com.taobao.atlas.update.util; import java.io.Closeable; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; /** * Created by wuzhong on 2016/11/23. */ public ...
33.264368
80
0.493435
b8d45ab549962494abdf73fc297fd63530037a25
508
package com.project.lithodemo.recyclerview.viewholder; import android.view.View; import android.widget.TextView; import com.project.lithodemo.R; import com.project.lithodemo.data.Article; public class TextViewHolder extends ItemViewHolder { protected TextView mTitleLabel; public TextViewHolder(View v) { ...
23.090909
64
0.730315
011687f3226e93c7e5cd0de3a39ed5ab7a1d573e
15,587
/* * Copyright (c) 2016, Kinvey, Inc. All rights reserved. * * This software is licensed to you under the Kinvey terms of service located at * http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this * software, you hereby accept such terms of service (and any agreement referenced * there...
34.792411
119
0.642458
91d19a9805aee3e9b5b6b74980ebac998efa0718
1,519
package explorviz.server.login; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import explorviz.server.database.DBConnection; import explorviz.shared.auth.User; import explorviz.visualization.login.LoginService; public clas...
26.649123
84
0.77551
de325aa228efdda6e5449ebf1a9a322eef5c2896
174
package com.example.hellostudiotesting; /** * Created by ian on 2016-07-13. */ public class DataModel { public String getName() { return "Robin Good"; } }
15.818182
39
0.637931
bbacbd857b57c7a7e832a41d126f5e05c3b275b4
6,679
package com.example.sagar.helpthem; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; im...
35.152632
92
0.647402
319bddb752ddb5e5e25f9b6c5209b8544bbfb5a2
6,783
package com.gempukku.swccgo.cards.set9.dark; import com.gempukku.swccgo.cards.AbstractLostInterrupt; import com.gempukku.swccgo.cards.GameConditions; import com.gempukku.swccgo.common.*; import com.gempukku.swccgo.filters.Filter; import com.gempukku.swccgo.filters.Filters; import com.gempukku.swccgo.game.PhysicalCard;...
51.386364
255
0.613593
3abf5c1a37c05a36e04d475a4297942e6523d4e7
230
package com.huiketong.cofpasgers.json.data; import lombok.Data; @Data public class VoucherDetailData { String price; String title; String context; String user_count; String start_time; String end_time; }
16.428571
43
0.721739
4bc936eca5703a41fe1e98b6062075d0b3cc7688
3,480
package com.planetpeopleplatform.mybakingapp; import android.content.Intent; import android.content.SharedPreferences; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import com.planetpeopleplatform.mybakingapp.a...
33.461538
120
0.645402
f04fb84a7a22daf625a3cdb3ad6dbf187f1b38a1
4,088
package jetbrains.mps.lang.constraints.rules.editor; /*Generated by MPS */ import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder; import org.jetbrains.annotations.NotNull; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.openapi.editor.EditorContext; import jetbrains.mps.openapi.edito...
40.078431
118
0.769569
2bc3b87d897fa10c81e13f4b526475d3f360a055
1,471
/* * Copyright (c) 2018. houbinbin Inc. * markdown-toc All rights reserved. */ package com.github.houbb.markdown.toc.core.impl; import com.github.houbb.markdown.toc.util.TestPathUtil; import org.junit.Assert; import org.junit.Test; import java.util.Locale; /** * AtxMarkdownToc 国家化编码测试 * * @author author * @...
28.288462
122
0.613188
cea4a32703771ef123a6e4295ba33e00f1ffc150
3,456
package org.xcolab.view.pages.contestmanagement.beans; import org.xcolab.client.contest.ContestClientUtil; import org.xcolab.client.contest.pojo.Contest; import org.xcolab.view.pages.contestmanagement.wrappers.WikiPageWrapper; import java.io.Serializable; import javax.validation.constraints.NotNull; public class Co...
27.428571
88
0.689525
094a39ab24efe069590842d64cc16030b90177fd
318
package com.emerchantpay.gateway.api.constants; public class ReminderConstants { public static String REMINDERS_CHANNEL_EMAIL = "email"; public static String REMINDERS_CHANNEL_SMS = "sms"; public static Integer MIN_ALLOWED_REMINDER_MINUTES = 1; public static Integer MAX_ALLOWED_REMINDER_DAYS = 31; }
35.333333
59
0.789308
778067e4f0e94bcd0a62cc49f8516405d7d1d04f
716
import java.util.Comparator; public class WorkerComparator implements Comparator<Worker> { @Override public int compare(Worker worker1, Worker worker2) { Integer exp1 = worker1.getExp(); Integer exp2 = worker2.getExp(); Integer result1 = exp2 - exp1; if (result1 == 0) { ...
31.130435
61
0.553073
cc5269281718015a1f4ae4f563c2ae901d76d09a
611
package org.pcsoft.framework.jfex.controls.ui.component.workflow.component.cell; import javafx.scene.control.ListCell; import org.pcsoft.framework.jfex.controls.ui.component.workflow.type.WorkflowElementInfoDescriptor; public class WorkflowElementListCell extends ListCell<WorkflowElementInfoDescriptor> { @Overr...
30.55
99
0.731588
b31fbc3a935dec106499bdefb2b13ed17a15ac81
1,147
package com.vehicle.framework.mvc.render; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.vehicle.common.RESULT_BEAN_STATUS_CODE; import com.vehicle.common.ResultBean; import com.vehicle.framework.mvc.param.RequestChain; import lombok.extern.slf4j.Slf4j; import j...
31
115
0.738448
675d7200dfa980f3a1192639b1ccd4b448dd76ef
4,272
/* * Copyright 2017 Software Engineering and Synthesis Group * * 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 a...
42.29703
118
0.781601
e800d1408929f367713f3970b2aab1b9caaa8127
529
package com.microservice.backend.entity; import com.microservice.backend.enums.OrderStatus; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Data @Builder @NoArgsConstructor @AllArgsConstructor public class UserOrder { ...
18.241379
51
0.746692
a77c4967818ced6e9e4e2fb4cd403263a2e8940e
1,685
/* * Copyright 2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
30.636364
91
0.64273
cc9c54821bb8d51d3d48173f73de5a4aeaabb05a
748
package edu.pdx.cs410J.jcaillie; import edu.pdx.cs410J.InvokeMainTestCase; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.StringContains.containsString; public class KataIT extends InvokeMainTestCase { @T...
31.166667
88
0.779412
ac27de5d1613e8fe82ce19d24f999b5886477cba
4,649
package com.sequenceiq.cloudbreak.converter.v4.environment.network; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.UUID; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import o...
39.398305
129
0.739084
02a0c70e9207923bd9dc3b9ee0e81357a17487e2
1,321
package com.github.jenya705.mcapi.rest; import com.github.jenya705.mcapi.BoundingBox; import com.github.jenya705.mcapi.Vector3; import lombok.*; import java.util.Objects; /** * @author Jenya705 */ @Getter @Setter @ToString @NoArgsConstructor @AllArgsConstructor public class RestBoundingBox { private double x0...
24.924528
70
0.626798
7dd8f7c0c061bbead98aba8fbd46d2e4f3d132e1
330
package heavy.test.plugin.model.data.assertion.data; import heavy.test.plugin.model.data.Assertion; /** * Created by heavy on 2017/6/2. */ public class EndWith extends Assertion { public EndWith(String content) { description = content; } public String getContent() { return description...
17.368421
52
0.672727
6ca2b0011b128e78f8756ad97c107cd02bf0ba4a
3,569
package io.prplz.skypixel.gui; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.util.MathHelper; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; import java.util.ArrayList; import java.util.List; public abstract class Pane extends GuiItem { protected int contentHeight = 0; ...
37.177083
142
0.616139
74fbefe0ef97de2c2310f5e7e24f4f50f070c9c3
6,577
/* * Maintained by brightSPARK Labs. * www.brightsparklabs.com * * Refer to LICENSE at repository root for license details. */ package com.brightsparklabs.asanti.model.schema.type; import static com.google.common.base.Preconditions.*; import com.brightsparklabs.asanti.model.schema.DecodingSession; import com.br...
42.432258
100
0.587958
988053ede217304990cdf63e5e73c78183c6dc0d
305
package com.javainsider.apisimulator.apiserver; import org.springframework.web.bind.annotation.RequestMapping; @org.springframework.web.bind.annotation.RestController public class RestController { @RequestMapping("/api/hello") public String welcome() { return "Welcome to API Server app!!!"; } }
21.785714
62
0.783607
6282c9db6e4c9f14a9d330c63a3eb15fc69b54b2
332
package com.example.jdbcexamples.dto; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor @Builder public class UserAddress { private Long Id; private Long userId; private String name; private String...
17.473684
37
0.783133
065109231ea584cfe084d11a113387c7642167b6
1,375
/* * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * */ package org.graalvm.compiler.core.amd64.test; import static org.graalvm.compiler.core.common.GraalOptions.R...
18.581081
110
0.641455
e2ce9a06d0599d02ea7a4d6d8a4d9529b9b4296d
608
package com.diguage.didp.singleton; import java.io.Serializable; /** * 带 <code>volatile</code> 修饰的懒汉式单例类 * * @author D瓜哥, https://www.diguage.com/ * @since 2014-5-26. */ public class VolatileLazySingleton implements Serializable { private static volatile VolatileLazySingleton instance = null; private Volati...
22.518519
64
0.675987
d4209f2d554dd7d96d3b1891ee806c4d066dbd09
1,666
package com.dchprojects.mydictionaryrestapi.service.impl; import com.dchprojects.mydictionaryrestapi.domain.dto.CreateLanguageRequest; import com.dchprojects.mydictionaryrestapi.domain.dto.CreateUserRequest; import com.dchprojects.mydictionaryrestapi.domain.entity.LanguageEntity; import com.dchprojects.mydictionaryres...
35.446809
87
0.783914
ec08b7c118ad3c9e95f987d2855eb37c922542f3
3,997
package com.lizhy.model; import com.alibaba.fastjson.JSON; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.Serializable; import java.util.Map; /** ...
26.646667
100
0.668752
28efc7b9dc38828cbfba62fc04714be56c54c33b
475
package javassist.expr; static final class LoopContext { NewOp newList; int maxLocals; int maxStack; LoopContext(final int a1) { super(); this.maxLocals = a1; this.maxStack = 0; this.newList = null; } void updateMax(final int a1, final int a2) { ...
19
48
0.517895
16fac718ef32c047ead73d62df090e8491099764
2,048
package dynamic_programming; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Boj14846 { private static final String NEW_LINE = "\n"; private static final int INF = 11; private static int[][][] dp; public static void main(String[] args) throws Exce...
28.444444
109
0.566895
d489d630c2e2bdeb6408529614a3e3f967048325
4,144
/* */ package com.birosoft.liquid; /* */ /* */ import java.awt.event.MouseWheelEvent; /* */ import java.awt.event.MouseWheelListener; /* */ import java.beans.PropertyChangeEvent; /* */ import java.beans.PropertyChangeListener; /* */ import javax.swing.JComponent; /* */ import javax.swin...
28.777778
172
0.454875
14135f5a2bbc31fa4140167a8ac2b42067e266da
4,829
package com.battlelancer.seriesguide.util; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.text.TextUtils; import android.view.MenuItem; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.Te...
38.632
99
0.661006
6aef56cfc42c443b5d50fdc578c7206a6d41d3da
5,012
package hierCluster; import java.util.ArrayList; import java.util.List; public class upgma { private double[][] dmatrix; public List<int[]> TreeList; private node[] nodes; private int[] nums; private int n, global_n; private boolean[] state; public upgma(double[][] matrix) { this....
33.192053
101
0.485235
6980de99fe7e01390ff859af7a26c139660766e1
18,075
package com.igormaznitsa.GameKit_FE652.Slalom; import com.igormaznitsa.GameAPI.GameStateRecord; import com.igormaznitsa.GameAPI.PlayerBlock; import com.igormaznitsa.GameAPI.StrategicBlock; import com.igormaznitsa.GameAPI.GameActionListener; import com.igormaznitsa.GameAPI.Utils.RndGenerator; import java.io.*; public...
33.659218
122
0.543071
22cac4bfd3813f871fe289a38f9a7f8933693757
9,107
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
39.942982
108
0.478643
2160c3cc1c0cec4634923b1e8822f1e300d66166
8,907
/* * Copyright 2006-2009, 2017, 2020 United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA World Wind Java (WWJ) platform is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this f...
37.741525
141
0.615696
a2993d3c6271ed84a0f729488c28e78e161dbc3e
2,806
/** * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version * 2.0 (the "License"); you may not ...
35.974359
139
0.710264
47ce0143374988ca183c610f1bb72e0c6cbe6c3a
1,250
package multithread; // Author : iTimeTraveler // Date : 2018-01-23 import java.util.concurrent.atomic.AtomicInteger; public class AtomicMutex { public static void main(String[] args) { int THREAD_NUM = 10; TestMutex test = new TestMutex(); Thread[] threads = new Thread[THREAD_NUM]; // 创建10个线程,让它们不断地去增加t...
18.656716
61
0.5992
31745873a22e3af7592b0b748d9d60c33b14bdb0
2,853
package com.github.mrglassdanny.mdk.lang.groovy.util; import org.codehaus.groovy.ast.ASTNode; import org.codehaus.groovy.syntax.SyntaxException; import com.github.mrglassdanny.mdk.lang.util.Position; import com.github.mrglassdanny.mdk.lang.util.Range; public class GroovyLanguageUtils { public static final String...
49.189655
238
0.702769
2f9fd6daf4421eca3226616425dec3d716b6fc62
1,389
package it.polimi.ingsw.server.model.game.match_Tests; import it.polimi.ingsw.server.model.cards.GlassWindow; import it.polimi.ingsw.server.model.cards.schemeCard.Battlo; import it.polimi.ingsw.server.model.cards.schemeCard.Virtus; import it.polimi.ingsw.server.model.dice.Sack; import it.polimi.ingsw.server.model.game...
38.583333
106
0.668826