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
796508e9c6629d0f19a900c732765863c16d9b79
7,409
/* * Copyright 2007 skynamics 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 applic...
24.862416
132
0.608314
1333c43fbcc11bef7e018b243f5fda3f614d2f18
838
package com.microsoft.azure.cosmosdb.kafka.connect; import org.apache.kafka.common.config.ConfigDef; import org.junit.Test; import java.util.HashMap; import static org.junit.Assert.assertEquals; public class SettingsTest { @Test public void verifyMasterKeyIsPasswordType() { HashMap<String, String> ...
28.896552
81
0.634845
3d02b70f3ea24b8d68c2e607dcf248ff79af74ab
810
/** A class that represents a path via pursuit curves. */ public class Path { // TODO private Point curr; private Point next; public Path(double x, double y) { this.curr = new Point(x, y); this.next = new Point(x, y); } public double getCurrX() { return this.curr.getX(); } public double getCurrY...
18.409091
57
0.648148
c94000ad9863dfc68a455ad1192eed0b32e7cf11
7,559
package world; import java.util.ArrayList; import java.util.Collections; import java.util.Random; import combat.Player; /** * Simple world class containing an array of Tiles making up the world. Used for representing a game world as an array. */ public class World { private final int width; private ...
25.112957
179
0.556026
63a8834c7bfa8d0c64c3c77590719de2095eaef9
400
package com.sms.server.stream; import com.sms.server.messaging.IProvider; /** * Provider that is seekable */ public interface ISeekableProvider extends IProvider { public static final String KEY = ISeekableProvider.class.getName(); /** * Seek the provider to timestamp ts (in milliseconds). * @param ts Timest...
22.222222
68
0.7325
5f810c6dada5549a49e61f3a4cd8bcb4271900b1
1,673
package io.ebeaninternal.server.query; import io.ebean.config.dbplatform.DbHistorySupport; import java.util.Map; /** * Helper to support history functions. */ class CQueryHistorySupport { /** * The DB specific support. */ private final DbHistorySupport dbHistorySupport; /** * The mapping of base t...
23.56338
111
0.710102
b0cc6dec2faa166ccb3cd1d9263114b8c2c64ac7
2,200
package no.nav.foreldrepenger.behandlingslager.behandling.resultat.beregningsgrunnlag; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import no.nav.foreldrepenger.behandlingslager.kodeverk.Kodeliste; @Entity(name = "FaktaOmBeregningTilfelle") @DiscriminatorValue(FaktaOmBeregningTilfell...
62.857143
205
0.823182
ab8ccac8d19db6035c605476c694ede02ec648f0
6,467
/** * Copyright 2016 OpenSemantics.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 required by applicable law or a...
41.191083
139
0.682697
4ea4b8a570e4ebda4665e71e6933ab48078f5af4
185
package abstractfactory; /** * @author tonyc */ public class Square implements Shape{ @Override public void draw() { System.out.println("we draw a square."); } }
15.416667
48
0.627027
b1ea251b45eeadefcbca712e40b77b854dd5a7a4
1,408
/* * Copyright 2014 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 applica...
24.701754
75
0.678977
78ea22c697d397ca42bde554950120b4e310adfb
9,207
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
47.215385
120
0.68752
7e408f82eb8d51b2d55215dd11d7e176d2df0029
1,948
package com.lazydash.audio.visualizer.spectrum.plugin; import com.lazydash.audio.visualizer.spectrum.core.audio.TarsosAudioEngine; import com.lazydash.audio.visualizer.spectrum.core.service.FrequencyBarsFFTService; import com.lazydash.audio.visualizer.spectrum.ui.fxml.spectrum.SettingsController; import javafx.scene.P...
37.461538
127
0.760267
9eda3a64de27f021075014daac154b2f869fc45d
3,097
/* * Copyright 2006-2021 The JGUIraffe Team. * * 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...
34.032967
80
0.711011
c53889ccf552c25c2185d07a51577b78fce6ef3f
280
package com.alibaba.test.steed.constant; /** * Created by liyang on 2019/8/30. */ public interface RuleEndPoint { String EXECUTE = "/testruleengine/smoke"; String REFRESH = "/rules/refreshRuleSet"; String GET_RULE_SET = "/rules/getRuleSetByTags?type=&tags="; }
18.666667
64
0.7
ba7cbbc72a82e7e895fca034acfe6279436e5c14
19,313
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2015-2021 Andres Almiray * * 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 * ...
47.923077
97
0.672966
882352d70b0c7c13df32f9c288b0c6a7b7ced92b
13,215
// Copyright (C) 2013 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 ...
36.505525
100
0.730685
d10944b5858e53ed8d6f0e3f0934dc0ad5adf527
8,674
package issco.eval.ts; import issco.eval.util.SegmentedText; import issco.util.mgDebug; /* * <p> Implementation of the evaluation metric proposed by (Georgescul et al., 2006) for topic segmentation algorithms. </p> <br> * The evaluation metric called "Pr_error" is defined as: * <br> Pr_error = C_Miss * Pr_Miss + C_Fa...
38.723214
141
0.571247
4dfeefbc168d105a76c6e42589143e4734f1f7dd
2,554
package net.ninjaenterprises.dialer; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.net.Uri; import android.content.ActivityNotFoundException; import android.util.Log; import org.apache.cord...
29.356322
109
0.667972
f9955814e87e62f55bbd3ddc2d9e32cd76f77a2a
296
package org.flyants.book.utils; import android.util.Log; public class LogUtils { public static final String TAG = "LOG_UTILS"; public static void d(String tag,String log){ Log.d(tag,log); } public static void d(Object log){ d(TAG,String.valueOf(log)); } }
18.5
49
0.64527
902a352bc43f1d475e561963f332286270c06433
6,958
package com.ksa.model.logistics; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import com.ksa.util.StringUtils; public class ArrivalNote extends BaseLogisticsModel { private static final long serialVersionUID = 2741955471843294574L; private static DateFormat format...
22.301282
74
0.579764
a3ebe134eebf0e4bdfdb0eb87016dc9182f7ce4f
6,867
/* * Copyright 2014 Mahiar Mody. * * 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...
36.526596
157
0.793796
bd073935004bcb0cd2513cf405f3b2b592336444
1,243
package daos; import java.util.List; import java.sql.PreparedStatement; import java.util.ArrayList; import java.sql.ResultSet; import models.TipoEstrato; import java.sql.Connection; import javax.inject.Inject; import play.db.*; public class TipoEstratoDAO{ private Database db; @Inject private TipoEstra...
26.446809
78
0.572808
14a2068a7aca9fa7c152bbe8afb8208b8aa0e1fd
4,700
package org.openmrs.module.mentalhealth.activator; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.openmrs.api.FormService; import org.openmrs.api.context.Context; import ...
51.086957
207
0.703617
cda14a4c85f21fbf79a0464cf858cfb9592a341c
215
package io.github.stereo.items; import io.github.stereo.Main; import net.minecraft.item.Item; public class Items extends Item { public Items() { super(new Item.Properties().group(Main.TAB)); } }
16.538462
53
0.688372
b1fd16db061dc8063e3058b7a239daf06fa11f19
690
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.py.hib.mytest.generator; //import org.hibernate.*; /** * * @author Administrator */ @SuppressWarnings("serial") public class GeneratorTest implements java.io.Serializable { private Integer id;...
15.681818
60
0.573913
f5c65a5b7dc21d7e900601145ada0040d62d000a
2,242
package org.smartregister.cbhc.fragment; import android.os.Bundle; import android.support.v4.view.GestureDetectorCompat; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.View; import org.smartregister.cbhc.activity.BaseProfileActivity; import org.smartregister.view.fragment.Se...
35.03125
130
0.668153
4096738a4c7a7167b06eef46a34c3b37ab9e58c0
2,456
package org.kuali.kpme.edo.item.web; import java.util.LinkedList; import java.util.List; import org.apache.struts.upload.FormFile; import org.kuali.kpme.edo.api.checklist.EdoChecklistItem; import org.kuali.kpme.edo.api.item.EdoItem; import org.kuali.kpme.edo.base.web.EdoForm; import org.kuali.kpme.edo.service.EdoServ...
24.078431
137
0.681596
934add342354c9fba38714c1a66f40acea4726bd
5,109
package com.example.starsucks; import androidx.appcompat.app.AppCompatActivity; import android.app.DatePickerDialog; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.DatePicker; import android.widget.EditText; import android.widget.ImageView; import android.widg...
39.604651
119
0.607947
04502698a1b6db926d642947bf26e82d2021f1e2
1,661
package uk.gov.hmcts.reform.hmc.helper.hmi; import org.springframework.stereotype.Component; import uk.gov.hmcts.reform.hmc.model.PartyDetails; import uk.gov.hmcts.reform.hmc.model.hmi.EntityCommunication; import java.util.ArrayList; import java.util.List; import static uk.gov.hmcts.reform.hmc.constants.Constants.EM...
41.525
101
0.686334
921d7a21534271fa0d50820c4d48b7140dca3033
332
package io.github.reflekt; import java.util.Set; public interface ReflektSubClasses { /** * Returns all classes that are sub types of the parameter class * @param clazz scanning subclasses for * @return all classes that are sub types of the parameter class */ Set<Class> getSubClasses(Clas...
23.714286
68
0.704819
424d1cf320871d902058e579e088f6b1c4f40143
1,569
package com.virjar.vscrawler.core.processor; import com.google.common.collect.Lists; import com.virjar.vscrawler.core.seed.Seed; import java.util.Collection; import java.util.List; /** * Created by virjar on 17/4/16. * 请使用GrabResult * * @author virjar * @see GrabResult * @since 0.0.1 * @deprecated */ public ...
24.138462
98
0.641173
017fcf424cea74a19805bc11a1333e5f22485494
6,673
package cn.com.sciencsys.sciencsys.UImaker; import android.content.Context; import android.content.DialogInterface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import android.widget.RadioGroup; import android.widget.TextView; import java...
35.306878
150
0.580698
571401b96162d3aeca5a231d676db2fcbf6f8fff
311
package fun.lovexy.reverseproxy.service; import fun.lovexy.reverseproxy.entity.Mapping; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; public interface MappingService extends IService<Mapping> { List<Mapping> enabledList(); boolean removeByIdCascade(int id); }
20.733333
59
0.794212
a20c6b2f44dc6c43e213842199201dbda535bdaa
141
package mappers; import java.util.List; public interface ICityMapper { public List<String> queryCityInfo(String str)throws Exception; }
14.1
63
0.787234
14c8343c1eea34d9d87bee322be9b0aa2c9ac149
11,028
package com.github.steveice10.mc.protocol; import com.github.steveice10.mc.auth.data.GameProfile; import com.github.steveice10.mc.auth.exception.request.RequestException; import com.github.steveice10.mc.auth.service.SessionService; import com.github.steveice10.mc.protocol.data.SubProtocol; import com.github.steveice10...
45.570248
145
0.647624
a568607494343e6a272722ba74329038cc1ca143
350
package com.example.adapterdemo.model; public class Product { public String name; public int price; public int image; public boolean checked; public Product(String _describe, int _price, int _image, boolean _checked) { name = _describe; price = _price; image = _image; ...
23.333333
80
0.645714
41e85b2bd5b9b1fd0e17a143a45196638b7ed97e
4,233
/* * Copyright 2016 Yan Zhenjie * * 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...
34.414634
90
0.609261
729e94cb9f01868bd0e58850d6f4308ae78bc840
2,353
package com.ubergeek42.WeechatAndroid.utils; import android.content.Context; import android.util.AttributeSet; import android.view.View; import androidx.viewpager.widget.ViewPager; // this code by Nikhil Kumar has been found here: // https://medium.com/winkl-insights/how-to-have-a-height-wrapping-viewpager-when-imag...
47.06
134
0.688483
223554b32249f0405b7692906c35737c592a085a
2,260
package org.inaetics.pubsub.examples.pubsub.common; import java.io.Serializable; public class Location implements Serializable { public static final String MSG_POI_NAME = "poi1"; //Has to match the message name in the msg descriptor in the C bundle! public static final double MIN_LAT = -90.0F; public st...
21.730769
124
0.565929
8dc265abfd56fa8e2efa6bf3cf84f124068ef46d
344
//,temp,sample_3875.java,2,9,temp,sample_3873.java,2,9 //,2 public class xxx { public boolean removeAllLoadBalanacersForIp(long ipId, Account caller, long callerUserId) { List<FirewallRuleVO> rules = _firewallDao.listByIpAndPurposeAndNotRevoked(ipId, Purpose.LoadBalancing); if (rules != null) { log.info("found lb rul...
26.461538
103
0.767442
aacad11d60de242e912f05ef69faa64a481b9fb8
1,725
/* * Copyright 2021 DataCanvas * * 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 i...
26.136364
75
0.674203
f0b7f1d8d2a39d7a346c724a26e972caa62ea549
564
package site.zido.coffee.extra.limiter; import org.springframework.context.annotation.AdviceMode; import org.springframework.context.annotation.AdviceModeImportSelector; import org.springframework.context.annotation.AutoProxyRegistrar; public class LimiterConfigurationSelector extends AdviceModeImportSelector<EnableL...
35.25
91
0.760638
705bf7821203d7e44442853a92ca151e7855aafc
1,366
package uk.co.idv.method.adapter.json.otp.policy.delivery; import com.fasterxml.jackson.core.Version; import com.fasterxml.jackson.databind.Module; import com.fasterxml.jackson.databind.module.SimpleModule; import uk.co.idv.method.adapter.json.otp.policy.delivery.email.EmailDeliveryMethodConfigModule; import uk.co.idv...
40.176471
95
0.779649
263d3a795c68cfeeb2633532c9e8ba5416c528f1
2,738
package io.github.armani.server.handler; import io.github.armani.common.protocol.packet.request.LoginRequestPacket; import io.github.armani.common.protocol.packet.response.LoginResponsePacket; import io.github.armani.common.utils.AttributeKeyConst; import io.github.armani.common.utils.SessionMember; import io.github.a...
37
103
0.719869
a9d81550e5fc90e095132ef5d2a2e7f92b14d715
1,432
package jp.gr.java_conf.ya.yumura.Network; // Copyright (c) 2013-2017 YA <ya.androidapp@gmail.com> All rights reserved. --><!-- This software includes the work that is distributed in the Apache License 2.0 import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import a...
34.095238
205
0.631983
2843bcc2320780e673a82f0f3a3447758ccb3985
428
package com.emajliramokade.api.model.Sigurnost.repositories; import com.dslplatform.patterns.*; import com.dslplatform.client.*; public class KorisnikRepository extends ClientPersistableRepository<com.emajliramokade.api.model.Sigurnost.Korisnik> { public KorisnikRepository( final Servi...
30.571429
86
0.75
75ff1cf8bcb1c0c733b57c62aedf5c22b1dd5ed6
327
public class ParameterScopeExercise4 { // what does the following program print out? public static void main(String[] args) { int x = 7; int y = 10; myMethod(x, y); x -= 2; y -= 3; myMethod(x, y); } public static void myMethod(int x, int y) { for (int i = x; i <= y; i++) { System.out.println(i); ...
19.235294
46
0.593272
8c9ec37e7c9cc2183aa3c55bd69592ee2c25fe95
1,357
import java.util.Scanner; import java.util.stream.IntStream; public class EnterNumbers { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { try { printNumbers(sc); break; } catch (NumberFormatException...
27.693878
74
0.551216
aad25fba235e62cec77f7d6796da62b62d76b701
5,259
package com.example.medical.fragment; import android.content.Intent; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android...
38.669118
119
0.574634
f906990859dfb2df97cf7f0909023962248ed1a4
2,571
/* * The MIT License * * Copyright (c) 2009 The Broad Institute * * 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...
51.42
93
0.763516
dee1ad6cc5aac245f175fdd336eac3eeab23380a
6,702
package com.xialan.beautymall.utils; /** * Created by liunian on 2017/12/13. */ import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.drawable.Bitmap...
36.622951
126
0.699493
4bf2e573a6e65dc104eab2b1eea1d1163c05f21a
4,554
package parser.json; import java.time.LocalDate; import java.time.YearMonth; import java.util.List; import java.util.stream.Collectors; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import co...
35.030769
132
0.635485
6aeca4c64292c9e4ad95b65e10ce3f5b60011cf6
3,404
/* * Copyright 2019 Grabtaxi Holdings PTE LTE (GRAB), All rights reserved. * * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. * */ package org.openstreetmap.josm.plugins.improveosm.gui.details; import java.awt.event.ActionEvent; import java.awt.event.ActionListe...
37.822222
119
0.650411
a89bb3d957260efc542d8933c55d63620a1cbe78
2,288
/** * Leetcode - remove_max_number_of_edges_to_keep_graph_fully_traversable */ package com.leetcode.remove_max_number_of_edges_to_keep_graph_fully_traversable; import java.util.*; import com.ciaoshen.leetcode.util.*; /** * log instance is defined in Solution interface * this is how slf4j will work in this class: ...
28.6
80
0.33479
2f28780e977148b911ce38671bc8df6eb6b26014
1,945
package org.meridor.perspective.rest.data.listeners; import org.meridor.perspective.beans.Project; import org.meridor.perspective.backend.storage.ProjectsAware; import org.meridor.perspective.backend.storage.StorageEvent; import org.meridor.perspective.rest.data.converters.ProjectConverters; import org.springframework...
49.871795
140
0.794344
76b3b6c0d0d4270aa23acb2a9dd878bcbb748e1d
14,152
package com.lilithsthrone.game.sex.sexActions.baseActionsSelfPartner; import com.lilithsthrone.game.character.attributes.CorruptionLevel; import com.lilithsthrone.game.dialogue.utils.UtilText; import com.lilithsthrone.game.sex.ArousalIncrease; import com.lilithsthrone.game.sex.Sex; import com.lilithsthrone.game.sex.Se...
42.626506
234
0.712761
cef23de93739d7f835e678ae32e067dd7c7d3a14
5,077
/* * Copyright 2020-2021 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...
38.755725
113
0.747686
7c3a4da9bc87d135246e7a2f46b863e07272b99c
139
/** * this package is for domain models in regionizer project * @author Min Zheng * */ package org.wallerlab.yoink.regionizer.domain;
19.857143
58
0.726619
7e78301aab5ff1a0470885e8935ff7d8fe637028
127
package models; /** * Created by arkady on 16/02/16. */ public enum VenueRequestStatus { APPROVED, REQUESTED, PREVIOUS }
11.545455
33
0.700787
b0ecaf52af3ea0fe799b88eb842990ce88a6fdbd
1,800
package com.holmes.hoo.blackwatch.model.entity; import com.holmes.hoo.blackwatch.common.Code; import org.apache.http.HttpStatus; import java.io.Serializable; /** * @author A20019 * @since 2022/1/8 10:39 */ public class Result<T> implements Serializable { private static final long serialVersionUID ...
24
72
0.578889
36d3f6e0dbb806cbcfc456a0fd89f60579b2419a
1,419
/* * (C) Copyright 2015-2017 Nuxeo (http://nuxeo.com/) and others. * * 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 requi...
23.262295
92
0.661029
317fcb64f3d0fda83faa5d8b4fbca58237876cc3
1,078
package com.sda.practicalproject.phonebook.database.contact; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; @Entity @Table(name = "contact") @Getter @Setter @NoArgsConstructor @EntityListeners(ContactListener.class) public class Contact { @Id @Genera...
19.6
81
0.641002
72818e87091fca3452378d4a48b73e44398d1ffa
2,082
package com.jinjunhang.contract.controller; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.util.Log; import com.jinjunhang.contract.BuildConfig; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by lzn on 16/4/3. */ publ...
30.173913
118
0.682037
e3542b5f2349906c9e207d409beb5e8bbf12671a
6,510
package com.infoclinika.mssharing.services.billing.persistence.helper; import com.infoclinika.mssharing.model.internal.repository.LabPaymentAccountRepository; import com.infoclinika.mssharing.model.read.BillingInfoReader; import com.infoclinika.mssharing.model.write.billing.BillingManagement; import com.infoclinika.ms...
42.272727
118
0.696313
9523f9e60481e06f2379502f32735c9dcc3958a9
634
package com.vzome.core.editor; import static org.junit.Assert.*; import org.junit.Test; public class VersionComparisonTest { @Test public void testVersionComparison() { Application app = new Application( false, null, null ) { @Override public String getCoreVersion() { return "0.8.10"; } }; ...
18.647059
56
0.654574
879a727c102dd1dd6a640f7a73426b30a6060683
226
package com.twitter.hraven.mapreduce; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; @Data @NoArgsConstructor public class ReplaceRule { @NonNull String regex; @NonNull String with; }
14.125
37
0.769912
3526ce2141e8e192658b9fdc5f9ba9e983f931ff
2,950
package com.shejiaomao.weibo.service.listener; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.view.Display; import android.view.MotionEvent; import android.view.WindowManager; import android.view.GestureDetector.OnGestureListener; import com.shejia...
27.830189
88
0.721356
98f40d9ed6c68bd968d95f4ed212336031921cf1
4,101
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
29.085106
120
0.671544
16ba8c224a2bac751c8d3ad435842a06c7921a58
832
package com.linln.modules.system.repository; import com.linln.modules.system.domain.Interview; import com.linln.modules.system.domain.Scale; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframe...
26
87
0.800481
8cda2c336b29172d3d62ae2ef87b551f9cc5dc07
902
package org.example.dto; import javax.validation.constraints.NotEmpty; /** * @author <a href="mailto:itfuyun@gmail.com">Tanxh</a> * @since 1.0 */ public class UserDTO { /** * 登录名 */ @NotEmpty(message = "登录名不能为空") private String loginName; /** * 登录密码 */ @NotEmpty(message = "登...
17.686275
55
0.584257
ee18ef1d8b199621a228bc74c3ccfb471148a7c0
4,591
package github.nisrulz.sample.usingfirebasejobdispatcher; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android....
34.518797
96
0.675234
270337585db04ac2c4099d89010f6adc349750b2
90
/** * Contains various utility classes */ package com.github.ruediste.salta.jsr330.util;
22.5
46
0.755556
90832a60a548154fb25adde0c01e3c871a302513
1,205
import java.util.Scanner; class Main { public static void main(String[] args) { int i, j; int sum_row, sum_col, sum_diagonal = 0, sum = 0; boolean magic=true; int[][] square = new int[3][3]; Scanner input = new Scanner(System.in); System.out.print("enter numbers"); for (i=0; i<3; i++) for (j=0; j<3; j++) square[i][j] ...
16.283784
48
0.579253
b9cc5e7c59c2443dd708ea319afed64a654cecae
6,859
package com.cuong.cdroid.util; import android.app.Activity; import android.content.Context; import android.widget.TextView; import android.widget.Toast; /** * Created by Clover on 5/10/2016. * Open Source: This source has been wrote by CuongNguyen * Contact: vcuong11s@gmail.com or unme.rf@gmail.com */ public fina...
30.083333
98
0.556349
7022363d038646209a79adbaeb2237d7afe8cadd
2,757
/* * 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 ...
37.256757
83
0.723975
e451b4359c0c3c85a5c54452c85fd1493fb142ab
3,207
package controllers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import play.mvc.Controller; import play.mvc.Result; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultS...
36.443182
116
0.587153
1a854a63f37e70d3ae207b65ad2de0e722729a4e
12,937
/* * 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 ...
44.304795
100
0.780011
60d16a9813f164240197634a01988e01716a86d6
49,758
/** * * 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"); ...
39.334387
121
0.702621
7356e5de0137f7713be42bbb0cd6b1d235b31d11
1,711
package org.ethereum.beacon.ssz.access.list; import java.lang.reflect.Array; import java.util.List; import org.ethereum.beacon.ssz.access.SSZField; import org.ethereum.beacon.ssz.type.SSZType; public class ArrayAccessor extends AbstractListAccessor { @Override public boolean isSupported(SSZField field) { ret...
31.109091
86
0.683226
9f66e18ae69b1fba4cf3796125b4ea9e08bb7b17
1,641
package de.beachboys.aoc2016; import de.beachboys.Day; import java.util.List; import java.util.function.Function; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Day09 extends Day { private Function<String, Long> getRepeatedStringLength; public Object part1(List<String> input) ...
35.673913
134
0.607556
2593386640d264b6bbca52420a71f8f94bc3a9d4
7,197
package cz.johnyapps.jecnakvkapse.Adapters; import android.content.Context; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView; import java....
33.319444
159
0.645686
c7bd48b80d324dc91a63ee07ea196b4fd7b60eaa
6,896
/* * 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...
38.099448
121
0.68228
c909b111ca864eb2d625616d34567ba06f0b948e
1,295
import java.util.ArrayList; import java.util.Scanner; public class IndexOfSmallest { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ArrayList<Integer>list = new ArrayList<>(); while(true){ System.out.println("Enter a number:"); ...
27.553191
62
0.487259
60e2e2bfcaa95f37c39d143c8b05d0372d28e666
1,076
// GraphicsLab01st.java // Student starting version of the GraphicsLab01 assignment. // Resave this program as GraphicsLab01v80 for the 80 point version. // Repeat this process as you progress to the 90 and 100 point versions. import java.awt.*; import java.applet.*; public class GraphicsLab01st extends Applet { ...
20.692308
72
0.643123
978a61330969e74e811154c88568c34e578d9533
2,293
package com.bbn.akbc.evaluation.tac; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class Filt...
27.963415
93
0.633668
75a64492ec8d87578273b0da6990dc35bf733204
264
package ru.geekbrains.lesson8.clients; import ru.geekbrains.lesson8.apps.ClientApp; /** * Java Core. Advanced level. Lesson 8 * * @author Zurbaevi Nika */ public class ClientOne { public static void main(String[] args) { new ClientApp(); } }
17.6
44
0.67803
c63804b5b86fab92aa5744467f8e14f495c8e983
2,303
package cn.com.woong.serialdemo; import android.os.Bundle; import android.view.View; import android.widget.Button; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import cn.com.woong.serialdemo.base.BaseActivity; import cn.com.woong.serialdemo.packets.TestMsg; import cn.com.wo...
30.302632
88
0.595745
c8ee1e4919df7074d3a52fb4107ceb96fac559cd
3,004
/* * 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 nicta.com.au.patent.pac.index; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java....
33.377778
141
0.605526
9170676899e23114aae8888b61f7b5d58342c781
317
package leetcode.easy; public class LC168 { public String convertToTitle(int columnNumber) { String ans = ""; while(columnNumber > 0) { columnNumber--; ans = (char) ('A' + columnNumber % 26) + ans; columnNumber /= 26; } return ans; } }
17.611111
57
0.514196
e8692eb05b4cdf7d4ffdd44196b93f7dbdc2e19b
113
package superpkg; public class Simple { public void moo() { System.out.println("Simple.moo() running"); } }
14.125
45
0.681416
c158b2dcd01c3d6165cc300dc704f5eb285754e9
543
package com.daycaptain.systemtest.frontend.actions; import java.util.List; import static com.codeborne.selenide.Condition.visible; import static com.codeborne.selenide.Selenide.$; public class EditBacklogItemAction extends EditInformationAction { public EditBacklogItemAction() { waitForLoading(); } ...
23.608696
66
0.71639
8579563fb5adf5042cafa41e8dc69a0ad16e0751
977
package io.potato.test; import io.potato.task.PotatoTaskApplication; import io.potato.ts.sms.SmsContent; import io.potato.ts.sms.SmsSender; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest;...
26.405405
118
0.720573
fb9c2401b33eb036db3af8e7e63bb02fdd1c2307
4,282
/** * 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...
38.927273
100
0.694302
f294c7d5a5b6e0525a6daf2869c4ab71939f2f7f
1,681
package gov.samhsa.acs.xdsb.common; import static org.junit.Assert.*; import gov.samhsa.acs.xdsb.common.XdsbDocumentReference; import org.junit.BeforeClass; import org.junit.Test; public class XdsbDocumentReferenceTest { private static XdsbDocumentReference xdsbDocumentReference; private static final String DOCUM...
34.306122
83
0.813801
886e43e927cced5e787a6dc3fd71ca5555a9690c
639
package com.parkinfo.request.parkCulture; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.math.BigDecimal; /** * When I wrote this, only God and I understood what I was doing * Now, God only k...
22.821429
64
0.733959
80d03e8408469fd2183cc8c5e30083fde4dc421c
333
package WebPresentationPatterns.ApplicationController; import java.util.Map; /** * @author <a href="kayvanfar.sj@gmail.com">Saeed Kayvanfar</a> on 2/3/2017. */ public interface ApplicationController { DomainCommand getDomainCommand (String commandString, Map params); String getView (String commandString, Ma...
27.75
76
0.765766
4189c9e85261de26bc5cf6a4103bddf6dc462427
1,433
package com.git.vladkudryshov.testparsejson.parser.json; import com.git.vladkudryshov.testparsejson.parser.IUser; import org.json.JSONObject; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; class UserJson implements IUs...
26.537037
99
0.699232
1482ef1ded1bb16b3af0caccf2f80d3a9c96c83f
3,555
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
42.321429
121
0.699859
70f0e3cd78da3a17ab8e855adf76d3221810c30c
2,981
/* * IntPTI: integer error fixing by proper-type inference * Copyright (c) 2017. * * Open-source component: * * CPAchecker * Copyright (C) 2007-2014 Dirk Beyer * * Guava: Google Core Libraries for Java * Copyright (C) 2010-2006 Google * * */ package org.sosy_lab.cpachecker.cfa.types.c; import static com...
24.040323
86
0.679973
a15a45514a91bf8fbbd0a772e322cc13b23afafa
1,308
import com.wangxt.redis.helper.config.RedisConfig; import com.wangxt.redis.helper.helper.Cache; import com.wangxt.redis.helper.helper.RedisHelper; import com.wangxt.redis.helper.pojo.RedisDBIdentity; import lombok.AllArgsConstructor; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java....
24.222222
70
0.658257