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
862866e527ac7241a0723947487c470858801ada
4,889
package com.walmartlabs.concord.server.cfg; /*- * ***** * Concord * ----- * Copyright (C) 2017 - 2018 Walmart 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 * * ht...
23.618357
100
0.672326
1cafb455c5690016796ee107486540fe83500104
7,810
package com.sensorup.iot.utility; import com.sun.org.apache.xerces.internal.impl.dv.util.Base64; import org.asynchttpclient.AsyncHttpClient; import org.asynchttpclient.DefaultAsyncHttpClient; import org.asynchttpclient.Response; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.charset.Standard...
41.542553
156
0.548912
7cb569de9b8e774a8551505cba505be0dccc8623
373
package com.zqf.spring.security.oauth2.server.service; import com.zqf.spring.security.oauth2.server.entity.TbUser; /** * Created with IntelliJ IDEA. * Author: Bill Chiu(Qifan Zhao) * Date: Created in : 2019/11/5 13:42 * Description: * * @ Modified By: */ public interface TbUserService { //防止sql注入 先拿到用户名...
21.941176
59
0.710456
a8a3c562c98f0fc257f1370aa5d312da02d2cd4d
2,048
/******************************************************************************* * Copyright (C) 2017-2019 Kat Fung Tjew * * 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 restri...
42.666667
143
0.723633
ed071286eba22c4e21ba05667b334097e0319aed
849
/* * Copyright Lars Michaelis and Stephan Zerhusen 2016. * Distributed under the MIT License. * (See accompanying file README.md file or copy at http://opensource.org/licenses/MIT) */ package de.larmic.butterfaces.component.html.table.export.iterator; import java.util.Iterator; import java.util.List; /** * Exten...
24.257143
87
0.674912
f75ccd2a0ba8b23d13febec6d5ee730cb9e1e64f
15,995
/** * Copyright 2017 StreamSets 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 agree...
38.635266
137
0.726977
6035585361becee0d743c84df69c1b7d63f5ce24
9,619
package games.rednblack.editor.renderer.factory; import com.artemis.EntityEdit; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.physics.box2d.World; import com.badlogic.gdx.utils.IntIntMap; import com.badlogic.gdx.utils.viewport.Viewport; import games.rednblack.editor.renderer.box2dLight.RayHandler; import games....
38.170635
112
0.67533
892cfb0bf4c5dd1880754be3ad16a5966d34a9e5
6,763
package br.com.virtz.virtzsms.repositorio; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import br.com.virtz.beans.Sms; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; impo...
35.783069
152
0.715954
c2bdbd9e2b0e6ada828c78a30b038e8337f9e529
1,328
package modelo; public class Kardex { private int id; private String noDocumento; private Articulo articulo=new Articulo(); private Departamento bodega=new Departamento(); private double entrada=0; private double salida=0.0; private double existencia=0.0; public double getExistencia(){ return e...
17.246753
49
0.668675
5d6163fd79aad776ef4d0d7b3418abdbcbd061e6
1,807
package io.taucoin.sync; /** * Manages sync measurements * * @author Mikhail Kalinin * @since 20.08.2015 */ public class SyncStatistics { private static final long EMPTY_HASHES_GOT_TIMEOUT = 600 * 1000; private long updatedAt; private long blocksCount; private long hashesCount; private int em...
22.5875
93
0.621472
05c46d68fcf36b8826c7fe511d3162c0f068e483
1,512
package com.example.tarento.executer.api; import com.android.volley.Request; import com.example.tarento.model.BaseModel; import com.example.tarento.model.GetNonceApiRequest; import com.example.tarento.model.GetNonceApiResponse; import com.example.tarento.util.Constant; import com.example.tarento.util.Utility; /** *...
25.627119
97
0.670635
3ec3090a83cd3962a663cce9445efbc01ca9e858
22,281
package cs3500.easyanimator.view; import cs3500.easyanimator.controller.EditorListener; import cs3500.easyanimator.model.IAnimatorModelViewOnly; import cs3500.easyanimator.model.shapes.IShape; import cs3500.easyanimator.model.shapes.IShapeVisitor; import cs3500.easyanimator.model.shapes.ShapeNameVisitor; import javax...
33.404798
99
0.663211
3b5c7e0f09f63ba385d9d65d67c2a8b904edf6cc
6,212
package com.cskaoyan.gateway.controller.promo; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.cskaoyan.gateway.config.CacheManager; import com.cskaoyan.gateway.form.promo.CreatePromoOrderInfo; import com.google.common.util.concurrent.RateLimiter; import com.mall.commons.result.Re...
36.116279
165
0.690116
60a4dd2dd0ec4786d67d4e389d8e77ae57e44827
10,232
/* * Copyright 2017 Matthew Tamlin * * 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.272189
137
0.722244
655a0f953841a4c1a961a83682a96d9835d8a91b
9,743
/* * Copyright 2019-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 ap...
41.636752
120
0.677204
e7a98dd267fa43417e0029324e50ac6608728654
12,856
/* * (C) Copyright IBM Corp. 2016,2020 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.whc.deid.providers; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.Objects; import com.fasterxml.jac...
37.923304
101
0.686061
c7f009cb1b975bbf0a3b2dd479dba9eafddfec29
2,884
package gui; import java.awt.Component; import java.util.ResourceBundle; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JPanel; import javax.swing.JTextArea; public class Util { public static String getGUIText(String key) { ResourceBundle textBundle = ResourceBundle.getBundl...
31.692308
91
0.73405
a7507850cf7eb1da372858cf735024c7af396141
2,088
package org.stagemonitor.tracing; import org.junit.Test; import org.mockito.Mockito; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import stati...
33.142857
99
0.79023
30d519d7ce38aa8d44ba2dcc8e002d66eaa04630
297
package cn.com.xuxiaowei.service; import cn.com.xuxiaowei.entity.QrtzBlobTriggers; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author 徐晓伟 * @since 2020-09-23 */ public interface IQrtzBlobTriggersService extends IService<QrtzBlobTriggers> { }
17.470588
78
0.737374
ae8028342e5fd312e1e68ae70b8d88955fc95c47
1,414
package de.hs.mannheim.modUro.model; import de.hs.mannheim.modUro.reader.CellCountEntry; import java.util.List; /** * @author Markus Gumbel (m.gumbel@hs-mannheim.de) */ public class CellCountTimeSeries extends TimeSeries { public CellCountTimeSeries(List<String> cellTypes, List<...
31.422222
90
0.514144
88cf26325a21204733321d9c021e2d283180ef32
3,234
package com.talanlabs.component.configuration; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.reflect.TypeToken; import com.talanlabs.component.mapper.IComponentMapperTypeAdapter; import com.talanlabs.component.mapper.IComponentMapperTypeAdapterF...
40.936709
182
0.769017
ab4eb47437ba5c7fc46b7fe5275acc03b1ca5421
2,195
package eu.drus.jpa.unit.test; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner; import org.junit.R...
27.78481
65
0.727107
b439579e3d9e774885adbe51a5e427ce1a41abaa
2,596
package cn.asxuexi.order.controller; /** * 微信支付 * * @author fanjunguo * @version 2019年8月20日 上午11:22:58 */ import java.util.HashMap; import java.util.Map; import java.util.regex.Pattern; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; impor...
26.489796
110
0.661017
a07b284e738a44b17d13453727353821fbd621d7
4,716
/* * Agave * * This file was automatically generated for Agave Platform Client SDK by APIMATIC BETA v2.0 on 05/20/2016 */ package org.agave.client.models; import java.util.*; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class AbstractApp...
31.026316
200
0.622137
52db72ccfdfa7ff0735745eb923ae8bf27aff62f
6,777
package org.dbsyncer.web.config; import org.dbsyncer.biz.ConfigService; import org.dbsyncer.biz.vo.RestResult; import org.dbsyncer.common.util.JsonUtil; import org.dbsyncer.common.util.SHA1Util; import org.dbsyncer.common.util.StringUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframew...
35.668421
138
0.658699
95011453ad28a48dd6525910d689c58105c8e439
1,030
package MTV; import junit.framework.TestCase; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; public class TestMTV extends TestCase { public static final String headerLineEnd = " degC degC days mm hours"; public void testLoadFile() ...
23.953488
100
0.573786
28ac07080fa69630f448d3525906d6aa88bfa1cb
2,380
/******************************************************************************* * Copyright 2021-2022 Amit Kumar Mondal * * 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://w...
37.777778
114
0.694958
8fd5f3286e69af0619c295c456126b4c2d049b9e
2,152
//package com.taymindis.redis.srf4j.impl.lettuce; // //import com.redislabs.lettusearch.RediSearchClient; //import com.redislabs.lettusearch.StatefulRediSearchConnection; //import com.taymindis.redis.srf4j.intf.SearchFacade; //import com.taymindis.redis.srf4j.intf.SearchSession; //import io.lettuce.core.RedisURI; // //...
34.709677
113
0.633829
0ce4e8b131e08e5397826cae0c9ea1423b131eb9
15,765
/* * Copyright (c) 2016 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com> * All Rights Reserved. */ package me.zhanghai.android.douya.navigation.ui; import android.accounts.Account; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import androidx.core.view.ViewCompat; import an...
35.189732
100
0.656391
6f6949c2926fcea1f9b40864d755a20a974098c7
9,815
/* * 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 ...
48.589109
164
0.757106
099aa5dff582013e79e463eb1c83a2326b05a9be
2,716
package org.liveontologies.puli.pinpointing; /*- * #%L * Proof Utility Library * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2014 - 2021 Live Ontologies 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 obta...
28
104
0.73785
52aa226cb7d5f2bcae02b8e8745cc579bde7f68f
5,674
package de.csbdresden.stardist; import java.net.URL; import java.util.List; import org.scijava.app.StatusService; import org.scijava.command.CommandService; import org.scijava.log.LogService; import org.scijava.plugin.Parameter; import org.scijava.ui.DialogPrompt.MessageType; import org.scijava.ui.UIService; import ...
36.606452
212
0.630067
8292171969bbf4a0fc3b7efcabac9b07a6b99436
2,011
package com.leetcode.strings.easy; // You are given a string allowed consisting of distinct characters and an array // of strings words. A string is consistent if all characters in the string appear // in the string allowed. // // Return the number of consistent strings in the array words. // // // Example 1: // // //...
26.813333
115
0.630532
62415a579360462f5f28386e863667777389d28d
512
package sa.site.lab.petstore.controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import sa.site.lab.petstore.domain.Animal; public interface AnimalController { String findById(int id,Model model); String findAll(Model model); String add(Model mode...
25.6
60
0.753906
d39ac8511dbc9f2af90ba643916956568603a905
3,889
package com.ktfootball.www.dao; // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. /** * Entity mapped to table GAMES. */ public class Games { private Long id; private String game_id; private String game_enter_users_count; private String name; privat...
22.74269
279
0.63281
79d0c985558af1b39cb7b6de79f876a5dbda0f31
10,381
/* ==================================================================== 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 Y...
42.02834
118
0.667951
a0a39131030219f57d723d42863e1acead0beff4
16,126
package eu.woolplatform.utils.json; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import eu.woolplatform.utils.json.JsonAtomicToken.Type; public class JsonStreamReaderFixture { private String newline; private List<TestCase> testCases = new ArrayList<TestCase>(...
36.566893
74
0.688515
f81c9b03923da82bdcd2e39ad5f3eaadb71dbd0e
1,381
package org.apache.hadoop.hive.contrib.udf.hiveudf; import org.apache.hadoop.hive.ql.exec.Description; import org.apache.hadoop.hive.ql.exec.UDFArgumentException; import org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql....
37.324324
95
0.735699
f8cca5c19746deaead3602b28a5dc80b741bf33b
9,160
/* * Copyright 2018 flow.ci * * 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...
34.828897
110
0.671943
4c273722bfe4195e16a2409849f0149112131f40
3,569
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
37.968085
98
0.759597
e79a96dd6d0120fae172a4158616ce4137fa9933
627
package com.ch.model; import com.fasterxml.jackson.annotation.JsonProperty; /** * Created by Aaron.Witter on 01/08/2016. */ public class PresenterAuthRequest { private String presenterId; private String presenterAuth; public PresenterAuthRequest() {// empty constructor for de serialisation } public Pre...
20.9
74
0.744817
42039c068c7cebede662e1df58351c6abc28487f
3,372
package nablarch.core.db.statement.autoproperty; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import java.util.Map; import nablarch.core.cache.StaticDataCache; import nablarch.core.db.statement.AutoPropertyHandler; import nablarch.core.repo...
27.414634
86
0.622776
86f095d59590562f3e6eecac2d524968eee960e5
2,260
/* * Copyright (c) 2020-2021, Koninklijke Philips N.V., https://www.philips.com * SPDX-License-Identifier: MIT */ package com.philips.research.spdxbuilder.controller; import com.philips.research.spdxbuilder.core.BusinessException; import com.philips.research.spdxbuilder.persistence.license_scanner.LicenseScannerEx...
33.731343
105
0.680088
f341b14234a8619d7da8c633b049ab697e71f59d
3,643
package com.github.grzesiek_galezowski.collections.readonly.factory; import com.github.grzesiek_galezowski.collections.readonly.implementation.ReadOnlyCollectionWrapper; import com.github.grzesiek_galezowski.collections.readonly.implementation.ReadOnlyDequeWrapper; import com.github.grzesiek_galezowski.collections.rea...
49.22973
102
0.808674
407afde364b3023050e6d7c1232401c6515d7e80
584
package xyz.esion.manage.model.database; import lombok.Data; /** * @author Esion * @since 2021/7/17 */ @Data public class Field { public static final String[] COLUMN = new String[]{"Field", "Type", "Collation", "Null", "Key", "Default", "Extra", "Privileges", "Comment"}; /** * 字段名 *...
15.783784
110
0.625
8d32691d1fe366c19b3f81947de3316c498e2267
1,676
package com.forum.controllers; import java.util.Locale; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.stereotype.Controller; import org.spr...
30.472727
124
0.819809
917b7a25c9163094d77c67cb291aee4ef80522d1
6,733
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this s...
40.560241
119
0.587851
0d162906b6c52203da3985d1832aa93ffa343bb7
781
package bozels.layouthulp; import java.awt.Color; import java.awt.Component; import javax.swing.*; /** * * @author Titouan Vervack */ public class CellRenderer implements ListCellRenderer { public CellRenderer() { } @Override public Component getListCellRendererComponent(JList list, Object c,...
26.931034
115
0.661972
7033ffc2754e5fb16c1a5fbd253a459c05b8813a
5,561
/* * All GTAS code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP). * * Please see LICENSE.txt for details. */ package gov.gtas.controller; import gov.gtas.constant.CommonErrorConstants; import gov.gtas.constant.WatchlistConstants; import gov.gtas.constants.C...
33.299401
123
0.759396
0996a6782224edd618c188d54761d2a855db9941
1,506
package io.jenkins.plugins.casc; import hudson.security.SecurityRealm; import io.jenkins.plugins.casc.misc.ConfiguredWithCode; import io.jenkins.plugins.casc.misc.JenkinsConfiguredWithCodeRule; import jenkins.model.Jenkins; import org.jenkinsci.plugins.GithubSecurityRealm; import org.junit.Rule; import org.junit.Test;...
38.615385
111
0.747676
d2f8c102b9ae3a3bda2b1816b1b19918d6b80dac
1,056
package com.bitwig.multisample; import java.util.ArrayList; import java.util.List; import jakarta.xml.bind.annotation.*; @XmlRootElement(name = "multisample") @XmlSeeAlso({Group.class, Sample.class}) public class Multisample { /** * Name of the multisample. */ @XmlAttribute(required = true) public...
22.956522
63
0.67803
4ebe203e6539c8075253772b55fb4009fbcffab3
2,210
/* * Copyright 2017 Kenneth Yo * * 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...
28.701299
82
0.671041
18c04a111407e8e1e100059fc38d237fdc42aa8b
645
/* * Copyright (c) 2012-2015 iWave Software LLC * All Rights Reserved */ package com.iwave.ext.linux.command; import org.apache.commons.lang.StringUtils; public class MkfsCommand extends LinuxCommand { public MkfsCommand(String device, String fileSystemType, String blockSize, boolean journaling) { set...
25.8
100
0.64031
29a7f76652d6c94d2f672a23f2ae2ce7c5d6ea3b
1,783
package net.dreamlu.easy.commons.config; import java.util.Date; import javax.servlet.ServletContext; import com.jfinal.core.JFinal; import com.jfinal.upload.OreillyCos; import net.dreamlu.easy.commons.logs.LogPrintStream; import net.dreamlu.easy.commons.owner.ConfigFactory; import net.dreamlu.easy.common...
25.471429
73
0.716769
014d05c51d6f81ee6b67e57d38a8cb118a3ef943
1,729
package everyos.bot.luwu.run.command.modules.currency; import everyos.bot.chat4j.entity.ChatPermission; import everyos.bot.luwu.core.client.ArgumentParser; import everyos.bot.luwu.core.command.CommandData; import everyos.bot.luwu.core.entity.Channel; import everyos.bot.luwu.core.entity.Locale; import everyos.bo...
36.787234
111
0.748409
1522999302d42e5f18dcc93732da18db95e5bd4e
1,162
package example.grpc; import example.grpc.service.HelloServiceImpl; import io.grpc.Server; import io.grpc.ServerBuilder; import io.grpc.util.TransmitStatusRuntimeExceptionInterceptor; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.ste...
30.578947
86
0.697935
5d4ee602c0a60cc95405d9b225ed9adc5077a81e
1,514
package es.uniovi.asw.persistence.model; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @DiscriminatorValue("C") @Table(name="VoteComment") public class VoteComment extends Vote{ @ManyToOne private Comment co...
19.662338
73
0.700793
d9452a0e169435fc0330e4124a06f10bf3499bac
4,534
/* * BasicWorkflows Module * %% * Copyright (C) 2012 - 2018 e-Spirit 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 * * U...
32.618705
125
0.711734
dfa3906338cba142c12cb8bbc3d6bc8b0b819463
21,952
/* * Copyright (c) 2020, https://github.com/911992 All rights reserved. * License BSD 3-Clause (https://opensource.org/licenses/BSD-3-Clause) */ /* WAsys_pojo_http_data File: Fillable_Object_Parser.java Created on: May 13, 2020 10:49:43 PM @author https://github.com/911992 History: 0.3.3 (20200829) ...
47.515152
220
0.646547
88cdc138ef8dce5f598b2246ddb2d6798cc8dd7f
85
package org.distributeme.core.locator; public interface BService extends Parent{ }
14.166667
41
0.811765
ae23244a613e427b2a258750ddf0ae554c498799
619
package com.CashOnline.dto; import com.CashOnline.model.Loan; import lombok.Getter; import lombok.Setter; import org.springframework.data.domain.Page; import java.util.List; import java.util.stream.Collectors; @Getter @Setter public class LoanPageDto { private List<LoanResponseDto> items; private PagingInfor...
28.136364
117
0.74475
46beb029fbe263678bddb3d152966921a4130e1e
554
package com.mmadu.identity.models.user; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import java.util.List; @Data public class MmaduUserImpl implements MmaduUser { @JsonProperty("id") private String id; @JsonProperty("domainId") private String domainId; @JsonProperty(...
24.086957
53
0.727437
335ef7be140253141bd61f6aec33e401972f30c5
1,800
/* * 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 ...
36.734694
81
0.697222
def7faa03897451773bd1f3d0c65d3cc7dff51db
232
package com.dust.exception; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ValidationException extends RuntimeException { public ValidationException(String message) { super(message); } }
16.571429
59
0.75
58724af69ef9fe182869a46d1b7cdd55f8a206ca
2,866
/* * Copyright 2019 The JIMDB Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
21.22963
70
0.722261
feb9cec1090adb6d180a165a0c3e2845c460cce5
2,197
package net.neczpal.interstellarwar.android; import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import net.neczpal.interstellarwar.clientcommon.UserInterface; import net.neczpal.interstellarwar.common.connection.RoomData; import...
20.92381
100
0.729631
cd811005a3de9765ec083203ea7efd81c9e54eb9
1,131
package io.tracee.contextlogger.utility; import java.lang.reflect.Field; /** * Utility class to access fields via reflection. */ public final class FieldUtilities { /** * Hidden constructor. */ private FieldUtilities() { } /** * @param clazz the clazz to look in * @param fieldName the name of the ...
24.586957
94
0.701149
dfd5afa4874e72886de95e7fa469aeb66e043c2d
1,653
package com.example.android.flickster.models; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; public class Movie { public String getPosterPath() { return String.format("https://image.tmdb.org/t/p/w342/%s",posterPath); } public St...
25.828125
80
0.626134
74f14b876d77b9ed7c92dde226693900f46b7947
2,022
/* * Copyright 2017 Danish Maritime Authority. * * 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 applicab...
44.933333
121
0.772008
5653ad9e1ffa2ef51f56ca435383981ea8cd8920
1,852
import java.util.ArrayList; import java.util.List; public class Scorer { //List<Slide> slidelist; public Scorer() { // Set references to Photo //this.slidelist = slidelist; } public int score(List<Slide> slideList) { int ans = 0; // Iterate all the slide...
30.866667
88
0.580994
9155cc6e76d5e3c7f96a7e7c356b7b18e7aeaaf6
2,497
package br.com.caelum.cadastro; import java.io.File; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.view.Menu; import android.view.View; import android.view.View.OnClickList...
23.556604
80
0.734882
a4eef40f2c8455b6d4bf4bba330df4e630a45a59
5,987
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.xquery; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.support.component.PropertyConfigurerSupport; /** * Generated by camel build tools - do NOT ed...
70.435294
173
0.741607
1252d41d3f9287015a0433d855322fa9292dfbf3
3,174
package com.wbars.php.folding.functionCallProviders; import com.intellij.lang.ASTNode; import com.intellij.lang.folding.FoldingDescriptor; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.PsiElement; import com.intellij.psi.tree.IElementType; import com.intellij.psi.tree.TokenSet; import com.i...
41.220779
128
0.755829
1c2ed4cac3c2e8e729d43c9ffa10a0948477997b
1,858
/* * Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.dynamodb.bootstrap; import static org.junit.Assert.*; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.Ex...
29.967742
80
0.740043
91b6be054105e1ea5fc6362ed1c33ff98cf25bf9
2,559
package com.markgrand.moving_ratio; import java.util.concurrent.atomic.AtomicInteger; /** * This is a class that can be used to track the ratio of some subset of events to the total number of events. For * example, the number of requests that produced an error result to the total number of requests. The ratio is *...
32.392405
119
0.624853
f51a3210e61b14469103622a04628b0c7f997352
1,553
package com.example.customer.service; import com.example.customer.model.Customer; import com.example.customer.repository.CustomerRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; im...
26.775862
71
0.736639
cc04af0682b05a183812899ff866bd1ddbc0ec07
1,394
package com.ice.mr.base; import java.io.Serializable; import java.util.List; import org.apache.ibatis.annotations.Param; /** * 所有Dao基类 * @author maguangming * * @param <T> */ public interface IDao<T> { /** * 根据id查询对象 */ public T findById(@Param("id") Serializable id); /** * 根据联合主键查询对象...
19.09589
126
0.568867
6b66d9ffa9e6763afbb693b6c660f9da378254f4
4,199
package com.vaani.leetcode.interval; import com.vaani.dsa.ds.core.visual.Interval; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; /** * https://leetcode.com/problems/insert-interval/ * <p> * 57. Insert Interval * Hard * <p> * Given a set of non-...
37.491071
161
0.567754
6b76683a8f15580a1ef11e1407e1f063c0a22373
2,095
/* * Copyright (C) 2014. * * BaasBox - info@baasbox.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
32.734375
101
0.705012
89c7edfdda6abc6e2df7ae3f3c11ba660d0117c5
2,409
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Scanner; public class CountWorkingDays { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); SimpleDateFormat sdf = ne...
31.697368
88
0.60523
7c2268455f22f49eb3a09260109dfadedb35d03e
641
package cz.mg.toolkit.component.window; import cz.mg.toolkit.event.adapters.WindowStateAdapter; import cz.mg.toolkit.event.events.WindowStateEvent; import static cz.mg.toolkit.utilities.properties.PropertiesInterface.*; public class DialogWindow extends Window { public static final String DEFAULT_DESIGN_NAME = "...
30.52381
71
0.678627
394f94eb6f96d535bdeac4095fae8fd8c900c410
3,254
package chronosacaria.mcdar.entities; import chronosacaria.mcdar.api.interfaces.Summonable; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.attribute.DefaultAttributeContainer; import net.minecraft.entity.attribute.Entity...
32.54
117
0.693301
c9291f5a8f89607e8a81a420944360d81218d42a
1,080
package E3_StackIterator; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
28.421053
85
0.531481
2ac53b32cab2c1128fb20456e6574e45fd5a708c
1,285
package Sesion8; import java.io.*; /** * Esta clase copia el contenido de un archivo a otro archivo */ public class Copia2 { public static void main(String[] args) { try { // Definicion de flujos para procesar el archivo fuente FileReader archReader = new FileReader("archivo3...
29.883721
92
0.554086
7585caba149e68e72cc70b6b97f6ede14478474b
328
package org.guppy4j.plankton.tempfiles; /** * Temp file manager. * <p/> * <p>Temp file managers are created 1-to-1 with incoming requests, to create and cleanup * temporary io created as a result of handling the request.</p> */ public interface TempFiles { TempFile createNew() throws Exception; void cle...
21.866667
89
0.707317
cfb6c4b7899391b6b5f25a3d4a49045b8f367fd1
5,000
/* * Copyright 2020 Jeremy KUHN * * 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...
28.248588
169
0.6896
0c9ec85b75dce71e5cb031a79af0cbe1e547e822
195
package com.yandex.disk.client.exceptions; public class RangeNotSatisfiableException extends WebdavException { public RangeNotSatisfiableException(String msg) { super(msg); } }
21.666667
67
0.758974
feea62e64f008368f24c7509ae5cc01fbd9e0721
989
package com.yclouds.myhelper.web.convert; import com.yclouds.myhelper.utils.DateUtils; import com.yclouds.myhelper.utils.StringUtils; import java.time.YearMonth; import java.time.format.DateTimeFormatter; import javax.annotation.Nonnull; import org.springframework.core.convert.converter.Converter; /** * @author ye17...
28.257143
95
0.722952
63dbe3d6483ce5a3e6694e2c3a18927db00d3a3a
1,465
package eu.de4a.connector.mock.exampledata; import eu.de4a.iem.xml.de4a.EDE4ACanonicalEvidenceType; import eu.de4a.iem.xml.de4a.IDE4ACanonicalEvidenceType; import lombok.Getter; import java.util.Arrays; public enum EvidenceID { MARRIAGE_EVIDENCE("urn:de4a-eu:CanonicalEvidenceType::MarriageEvidence", EDE4ACanonic...
44.393939
155
0.779522
ceabbe22abdd173fc8c805e1f724be0e34f79e77
2,674
package com.tiny.demo.firstlinecode.materialdesign; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.view.MenuItem; imp...
32.216867
122
0.678758
b9c41bdd2c7eb1aa76034b99fe444a62239fa72e
2,683
/* * Copyright 2016 Code Above Lab 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 agr...
36.256757
120
0.723817
1a811a75adf2c94337f7fd2d5f76a3c0995653d9
2,013
package com.jumpwatch.tit.Utils; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IWorldReader; import net.minecraftforge.energy.CapabilityEnergy; import net.minecraftforge.energy.IEnergyStorage; import javax.annotatio...
30.969231
107
0.690512
38fe37e45a601c4743f60d45d80ddfd5d07c0f25
494
package edu.fiuba.algo3.modelo.grados; import edu.fiuba.algo3.modelo.tablero.Dificultad; public class Novato extends GradoDePolicia { public Novato(){ this.tiempoDeViaje = 900; this.tiempoDeDescanso = 8; this.tiempoDeHeridaDeBala = 4; this.dificultadMasFrecuente = new Dificultad(...
26
64
0.684211
09d2ec02f9c41e11c471ec535102e47078517531
3,472
/* * 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 ...
30.191304
77
0.638825
6d547b32caef6dd31aa2fef90c3588719ad06b9f
527
package iftorrent.gui.janelaConfiguracoes; import iftorrent.gui.ferramentas.TuplaXY; public class ConstantesJanelaConfiguracoes { public static final String BOTAO_COR1 = "darksalmon"; public static final String BOTAO_COR2 = "gainsboro"; public static final TuplaXY BOTAO_TAMANHO2 = new TuplaXY(15, 1...
40.538462
71
0.764706
4e5989b8c4a42188df9b121358a29b4bec89f8f3
1,542
package net.sf.esfinge.metadata.container.reading; import static org.apache.commons.beanutils.PropertyUtils.setProperty; import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Field; import net.sf.esfinge.metadata.AnnotationReadingException; import net.sf...
32.808511
134
0.771077
ed29135972a807da69d88bcfd07b63f27dd534e6
1,826
/** * Copyright 2012 Rainer Bieniek (Rainer.Bieniek@web.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 * * Unless requir...
24.675676
76
0.734392
6084d5338e64bf5c49ec76d0b08796ef586032e9
376
package gui; import javax.swing.*; import java.awt.*; public class BoardGame extends JFrame { public BoardGame() { super("New Game"); SplashScreenLayout SSL = new SplashScreenLayout(); setSize(new Dimension(800,800)); setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); getCo...
23.5
58
0.654255
4c6c02b74203ec3f571b84f5d676d9966c19faf7
1,771
package com.mygcc.api; import com.mygcc.datacollection.Chapel; import com.mygcc.datacollection.ExpiredSessionException; import com.mygcc.datacollection.InvalidCredentialsException; import com.mygcc.datacollection.NetworkException; import com.mygcc.datacollection.Token; import com.mygcc.datacollection.UnexpectedRespons...
32.2
71
0.673066
a081380e00a1744401da36c3d03912fc2dde1e2c
1,734
package fimEntityResolution.bitsets; import java.util.ArrayList; import java.util.BitSet; import java.util.List; import javax.transaction.NotSupportedException; import fimEntityResolution.Utilities; import fimEntityResolution.interfaces.BitSetIF; import fimEntityResolution.interfaces.IFRecord; import fimEntityResol...
18.252632
72
0.689158