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
faea4c78bc044ecec6466c369ce5cfe84194c35e
1,661
package com.tgorgics.barcode.web.dto; import lombok.Getter; import lombok.Setter; public class BarcodeDTO { @Getter @Setter protected String data; @Getter @Setter protected String label; @Getter @Setter protected boolean drawText = true; @Getter @Setter ...
20.256098
131
0.550873
0c2b469f259d5f4a337975c85d8800efd361bc02
7,074
package io.getmedusa.medusa.core.annotation; import io.getmedusa.medusa.core.util.SecurityContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.reactive.function.server.ServerRequest; import org.springframework.web.reactive.socket.WebSocketSession; import java.lang.reflect.I...
43.134146
185
0.675714
3e315493d8126260eb79ba35dad2168662e4acb9
129
package com.yxkang.android.util; /** * Created by yexiaokang on 2016/11/2. */ public interface Provider<T> { T get(); }
11.727273
38
0.643411
7562002beeebceb4c8921824a1b0ef946daead78
3,152
/* * Copyright 2017-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
30.901961
117
0.725571
8bc46a0797a15ee69b0af2fc6b741fb4bdbcba35
2,674
package net.rizon.moo.plugin.fun; import java.util.HashMap; import java.util.Random; import net.rizon.moo.Command; import net.rizon.moo.CommandSource; import net.rizon.moo.Plugin; class CommandRizonTime extends Command { private HashMap<String, String> cache = new HashMap<String, String>(); CommandRizonTime() { ...
25.961165
84
0.542259
aa513ae69245c273b83d168fe5817153df5300e1
254
package org.mym.ksuite.aop; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.annotation.Aspect; import org.springframework.stereotype.Component; /** * aop * * @author zhangchao */ @Aspect @Slf4j @Component public class HandleAspect { }
12.7
48
0.748031
13f173a4008ef7bf6eedbdc7173d9ccc85ba6306
389
public class LineItem { private int quantity; private Product product; public LineItem(int quantity, Product product) { this.quantity = quantity; this.product = product; } public int getQuantity() { return quantity; } public Product getProduct() { return product; } public i...
13.413793
48
0.652956
41a3211bd7c549dfb237def83332a7c754754508
225
public class HelloNumbers{ public static void main(String[] args){ int x = 0; int y=0; int z=0; while(x<10){ System.out.println(z + " "); y=x; x = x + 1; z=x+z; } } }
16.071429
42
0.448889
20efdf96010b023ae9a919a00559b2a9ebe1fa52
9,275
package ai.enpasos.muzero.platform.agent.slow.play; import ai.enpasos.muzero.platform.agent.fast.model.Network; import ai.enpasos.muzero.platform.agent.fast.model.NetworkIO; import ai.enpasos.muzero.platform.agent.gamebuffer.Game; import ai.enpasos.muzero.platform.config.MuZeroConfig; import lombok.Data; import lombok...
40.859031
202
0.670081
db0fd67abbd29e700a6052d4b0c05573871586e1
14,647
package org.dbflute.erflute.db.impl.mysql; import java.util.List; import org.dbflute.erflute.core.DisplayMessages; import org.dbflute.erflute.core.util.Check; import org.dbflute.erflute.core.util.Format; import org.dbflute.erflute.db.DBManager; import org.dbflute.erflute.db.impl.mysql.tablespace.MySQLTablespaceProper...
42.953079
130
0.529938
88d3f106b446f58c0d47b8235b17c7d564bce65f
7,479
/* * Copyright 2016 Google 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 by a...
36.305825
99
0.665597
225fb72af8773801dffbfe00c62f9e992dc63738
12,604
/* * Copyright 2000-2017 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
29.175926
118
0.640828
a86732ec796905d3272ab6e58fe3922b65e63afb
938
package com.paulandcode.service; import java.util.List; import com.paulandcode.entity.OrganizationEntity; /** * 机构 * * @author 黄建峰 * @date 2017年10月18日 上午10:38:25 */ public interface OrganizationService { /** * 创建机构 * * @param organization * @return */ void insert(OrganizationEntity organization);...
13.594203
65
0.637527
574defc29607e79c9672fe38616ea529146b21bf
836
package org.altaprise.vawr.ui.oswchartwizard; import java.util.ArrayList; import org.altaprise.vawr.ui.common.WizardContentBasePanel; import org.altaprise.vawr.ui.common.WizardRootPanel; public class OSWWizardRootPanel extends WizardRootPanel { public OSWWizardRootPanel() { super(); ...
26.967742
98
0.672249
4f60d8dfeafa214c9f33502199c2eba908e192ac
3,715
package com.vc.ui; import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.view.View.OnClickListe...
28.358779
77
0.712517
3cf8def7239d050dd4fc64ee0baf0075b96ec022
1,150
package org.garrus.driver; import java.util.List; import org.apache.commons.collections4.IterableUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.PathVariable; import org.springframe...
30.263158
92
0.765217
7be103ffa30bb4a3fb0471eb1d4ea08a731ae9b3
1,111
package com.liji.proxy.common.config; import com.liji.proxy.common.model.Server; import java.util.Map; /** * @author jili * @date 2020/1/31 */ public abstract class AbstractConfig implements Config { protected ConfigResolver configResolver; protected void initConfigResolver(Map<String, String> config) {...
25.837209
76
0.688569
6e953a5da8aa32fb8bcc193328d4e6ec33aa9777
10,843
package io.github.xfournet.jconfig.impl; import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; import java.util.function.*; import java.util.stream.*; import java.util.zip.*; import org.testng.annotations.DataProvider; import org.testng.annotations.Tes...
40.458955
149
0.625934
3826f22c8877282a2dac83a919a03583537d818d
2,776
/** * The Percolation class models a percolation system. * * @author Shuai Wang */ public class Percolation { private boolean[][] grid; // grid[i][j] = site at row i, column j private int len; // length of the grid private int top = 0; // virtual top private int bottom; // virtual bottom privat...
28.618557
91
0.519092
c16689f2c36ed4e37c6d87e7aaa56047ddf3cdbc
1,457
package com.idugalic.configuration; import org.springframework.beans.factory.ObjectFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.ConversionService; import org.springframework.data.rest.core.config.Rep...
35.536585
107
0.829101
408cdd733b9043817d4d585454fe2bc1ad0ecee6
3,801
package net.nocturne.utils.sql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import net.nocturne.Settings; import net.nocturne.cache.loaders.ItemDefinitions; import net.nocturne.game.World; import net.nocturne.game.player.CompletionistCapeManager....
30.653226
96
0.646935
ace0b5a6a7d1a769145e82a309b433c464a3e27d
14,403
package marquez.api; import static marquez.api.DatasetResource.Datasets; import static marquez.common.models.ModelGenerator.newDatasetId; import static marquez.common.models.ModelGenerator.newFieldName; import static marquez.common.models.ModelGenerator.newRunId; import static marquez.common.models.ModelGenerator.newT...
42.612426
100
0.760536
a28f94cb3c72acd20d052efc6639e82d64d19441
9,586
/* * Copyright (c) 2009-2019, United States Government, as represented by the Secretary of Health and Human Services. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions ...
58.45122
116
0.765909
a3848df838d4680c6661c762decb5573a44e81fd
3,289
/* * 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...
31.028302
99
0.672241
0736a1dda3b6eb54ea467748f3f63e0cbdbfdcd0
2,809
package org.sag.acminer.database.accesscontrol; import java.nio.file.Path; import java.util.Map; import java.util.Set; import org.sag.acminer.phases.entrypoints.EntryPoint; import soot.SootMethod; public interface IContextQueryDatabase extends IAccessControlDatabase { /** Returns all context query methods for all...
35.556962
102
0.771093
1160b4ade366d1b9e2a3f303844fc6d4b34d0c6a
1,463
package org.ajabshahar.platform.models; import javax.persistence.*; @Entity @Table(name = "SPLASH_SCREEN") @NamedQueries({ @NamedQuery( name = "org.ajabshahar.platform.models.SplashScreenOptions.findAll", query = "SELECT p FROM SplashScreenOptions p" ) }) public class S...
20.9
105
0.602871
c9a1359c7f850642f00143bf77cb74288643beb4
8,248
package gov.nih.nci.evs.restapi.util; import java.io.*; import java.text.*; import java.util.*; public class HTMLTable { public static String generate(Vector v) { String title = null; String table = null; String outputfile = null; PrintWriter pw = null; Vector th_vec = null; String th = null; Vector d...
30.776119
119
0.5879
c4cf3bae5f1e0d4d7226055f77d198571bf4481f
3,983
package fi.riista.api.mobile; import fi.riista.feature.gis.metsahallitus.MetsahallitusGeometryLookupFeature; import fi.riista.feature.gis.metsahallitus.MetsahallitusHirviDTO; import fi.riista.feature.gis.metsahallitus.MetsahallitusMaterialYear; import fi.riista.feature.gis.metsahallitus.MetsahallitusPienriistaDTO; imp...
39.435644
118
0.737133
aae2d9bd960db7f889fe9d226503f42a6b35c92b
3,994
package at.dotpoint.gradle.cross.task; import at.dotpoint.gradle.cross.convention.ConventionUtil; import at.dotpoint.gradle.cross.sourceset.ISourceSet; import at.dotpoint.gradle.cross.variant.model.IVariant; import at.dotpoint.gradle.cross.variant.model.platform.IPlatform; import at.dotpoint.gradle.cross.variant.targe...
23.633136
102
0.654732
34a2d0c59abe3e8b18534895a55d7b276f9b8cee
721
package cn.com.immortals.tasks; import cn.com.immortals.biz.ExceptionBizService; import cn.com.immortals.exceptions.BizException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import org...
24.033333
62
0.753121
329cbd2a29fa8ba6173ab6cfe7f22a208b60e140
2,854
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.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 requi...
33.186047
141
0.637351
4db75ad2535b15501791d3ce2cc686b5ad21be9f
4,705
/* * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. */ package com.ardctraining.facades.process.email.context; import de.hybris.platform.acceleratorservices.model.cms2.pages.EmailPageModel; import de.hybris.platform.acceleratorservices.orderprocessing.model.OrderModificationProcess...
30.751634
124
0.790223
2151bbf0e1b0f597a4b6969f065932073935823e
834
package net.mahdilamb.colormap.reference.sequential; import net.mahdilamb.colormap.SequentialColormap; import net.mahdilamb.colormap.reference.ColormapType; import net.mahdilamb.colormap.reference.ReferenceColormap; import java.awt.*; /** * Burgyl sequential colormap. */ @ReferenceColormap(type = ColormapType.SEQU...
25.272727
84
0.606715
88f7cf872e1e16b051b6037add5b898c588490cb
3,246
package pl.allegro.tech.hermes.test.helper.oauth.server; import io.undertow.util.Headers; import org.apache.oltu.oauth2.as.request.OAuthTokenRequest; import org.apache.oltu.oauth2.as.response.OAuthASResponse; import org.apache.oltu.oauth2.common.exception.OAuthProblemException; import org.apache.oltu.oauth2.common.exc...
45.71831
116
0.711029
4ddae091d2a6de22ddc2103c91d475570aeb73db
1,919
/* * 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 ...
29.984375
83
0.647733
f82356b95baf9c4bc9b17c565e058727305cd0f2
3,565
package com.example.jingbin.cloudreader.adapter; import android.app.Activity; import android.view.View; import com.example.jingbin.cloudreader.R; import com.example.jingbin.cloudreader.base.binding.BaseBindingAdapter; import com.example.jingbin.cloudreader.base.binding.BaseBindingHolder; import com.example.jingbin.cl...
41.941176
124
0.543619
e2b4c4ad308c745233722526f0d451ce4b6fb328
1,431
/** * Copyright (C) 2018-2020 * All rights reserved, Designed By www.yixiang.co * 注意: * 本软件为www.yixiang.co开发研制,未经购买不得使用 * 购买后可获得全部源代码(禁止转卖、分享、上传到码云、github等开源平台) * 一经发现盗用、分享等行为,将追究法律责任,后果自负 */ package co.yixiang.modules.yaoshitong.service; import co.yixiang.common.service.BaseService; import co.yixiang.modules.yaoshiton...
29.204082
104
0.759609
6aad7fc884338239ebb5251fd19c5f820a5b4a85
7,007
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
17.473815
76
0.545883
b322690feb5f2d1bb202e05211bd92dd3b5f8e20
9,926
package org.apache.torque.task; /* * 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 Licen...
27.882022
79
0.550876
9d5b300adc7faf53edd1b0462f575552583e3f2e
39,824
package darksky.ogameapidatabasefx.database.entities; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; imp...
40.024121
174
0.693577
1024a4879db7a0d376815fc8878171172242982f
286
package com.rbkmoney.deanonimus.config; import org.springframework.context.annotation.Configuration; import org.springframework.data.elasticsearch.config.ElasticsearchConfigurationSupport; @Configuration public class ElasticsearchConfig extends ElasticsearchConfigurationSupport { }
28.6
87
0.877622
f6f568c5b00bf6135d7e072971e8b3a1530a3bcc
13,585
package com.poz.mdapi; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import javax.xml.namespace.QName; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.D...
38.267606
109
0.69481
aecd10d97ecd45923e6ef733c9b3580797fe8b3f
687
package com.anteoy.decisiveBattle.created.creator; import java.util.ArrayList; /** * Created by zhoudazhuang on 17-12-9. */ public class Meal { public ArrayList<Item> items = new ArrayList<>(); public String name(String mealName) { System.out.println("meal_name = " + mealName); return mealN...
20.818182
65
0.54294
02355b3bde46efe90f98cd1ebbd8fde9dc9c2555
2,125
package org.dhp.net.netty4; import io.netty.channel.Channel; import lombok.extern.slf4j.Slf4j; import org.dhp.core.rpc.MessageStatus; import org.dhp.core.rpc.Session; import org.dhp.core.rpc.SessionManager; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * @author zhangcb */ @Slf4j public ...
29.109589
76
0.591059
579ba74a41f4143180a8397cfe543dd7679690c0
1,302
package com.hydrogennx.core; /** * A custom location class designed to remove ambiguity when defining where bullets and the player should be. * (0,0) is defined as the center of the playable area, with an increase of 1 indicating a single pixel. * Locations are mutable, so be careful to clone before copying locatio...
21.344262
109
0.601382
45b1882214e39da270b29b028c3fc6edd1d8ff84
2,632
/* * ********************************************************************* * Copyright (c) 2016, Ministry of Education, BC. * * All rights reserved. * This information contained herein may not be used in whole * or in part without the express written consent of the * Government of British Columbia, Ca...
27.416667
80
0.573328
678cc2f7f62cec782ab204fb26c860a5b19aee35
1,942
/* * Copyright 2015 www.seleniumtests.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 applicable law or agreed to in ...
42.217391
106
0.755407
a95f592be97c8413b798bbc5c6659c07c882c6f5
234
package io.eventuate.example.banking.domain; import io.eventuate.Event; import io.eventuate.EventEntity; @EventEntity(entity="io.eventuate.example.banking.domain.MoneyTransfer") public interface MoneyTransferEvent extends Event { }
26
72
0.82906
2833d61736c54a465714f847cc8778d45ea7da72
3,625
package software.amazon.sagemaker.monitoringschedule; import software.amazon.awssdk.awscore.exception.AwsServiceException; import software.amazon.awssdk.services.sagemaker.SageMakerClient; import software.amazon.awssdk.services.sagemaker.model.DescribeMonitoringScheduleRequest; import software.amazon.awssdk.services.s...
48.986486
126
0.766069
10582834ce8556e556d52cb2608add88a22993c1
239
package com.qf.product.type.api; import com.qf.base.IBaseService; import com.qf.entity.TProductType; import java.util.List; public interface IProductTypeService extends IBaseService<TProductType> { List<TProductType> selectAll(); }
21.727273
73
0.794979
08a384ca58c64eac4fabffd0dd009b9e5b2f7062
1,114
package xyz.appint.union.dao.page; import java.io.Serializable; import java.util.Iterator; import java.util.List; /** * Created by Justin */ public interface Page<E> extends Serializable, Iterable<E> { /** * 上一页 * * @return */ int getPrevPage(); /** * 下一页 * * @return ...
12.241758
60
0.440754
2bcfbeb4a4c6571c61eac452eb1ff7c3556f22bc
1,387
package org.cd.repository; import org.cd.bo.Drink; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest; import org.springframework.boot.test.autoconfigure.o...
25.218182
83
0.727469
0a0c9b72500a4607636b46ceec3f33f9db18a5a9
821
package com.jtmcn.archwiki.viewer.data; /** * A page on the wiki which only knows the name and url. */ public class SearchResult { private final String pageName; private final String pageUrl; /** * Create a search result. * * @param pageName the name of the page as shown on the wiki. * @param pageUrl th...
21.605263
62
0.679659
1238ff43c3bec154d9caa07002d945a26257d8c8
1,234
package io.cattle.platform.allocator.constraint; import io.cattle.platform.allocator.service.AllocationAttempt; import io.cattle.platform.allocator.service.AllocationCandidate; import io.cattle.platform.allocator.util.AllocatorUtils; import io.cattle.platform.core.model.StoragePool; import io.cattle.platform.core.mode...
33.351351
137
0.713128
f62a1247da89c11eb535d9aafb2eca95d89151f4
3,795
package com.pearson.entech.elasticsearch.search.facet.approx.date.internal; import java.io.IOException; import org.apache.lucene.util.BytesRef; import org.elasticsearch.ElasticSearchException; import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; import org.ela...
34.189189
101
0.671146
d13a80a55fd9e931da9cb1808f34f8be7946d0a0
1,999
package org.opengis.cite.iso19142.util; import static org.junit.Assert.*; import java.io.File; import java.io.FileNotFoundException; import java.net.URI; import javax.xml.stream.XMLStreamException; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import org.junit.Test; import org....
31.730159
92
0.70035
7b5c3029f1b21a7c6c55c56a2268451634e949e4
2,461
package com.tclibrary.xlib.view; import android.content.Context; import android.os.Handler; import android.os.Looper; /** * Created by FunTc on 2018/10/29. */ public class HttpProgressDialogHelper { private static final class InstanceHolder { private static final HttpProgressDialogHelper INSTANCE = new...
27.344444
96
0.663145
d954698ce1bc4bbfc48448c4bb26717647ac6146
908
package one.yate.spring.cloud.remote.api; import one.yate.spring.cloud.remote.config.FeignConfig; import one.yate.spring.cloud.remote.hystrix.DemoRestServiceFallback; import one.yate.spring.cloud.remote.pojo.dto.UserDto; import one.yate.spring.cloud.remote.pojo.vo.UserVo; import org.springframework.cloud.openfeign.Fei...
41.272727
125
0.805066
9ef51d8cd6fd13fdc72111672b63831b16b3540e
870
// Generated by Dagger (https://google.github.io/dagger). package com.quran.labs.androidquran.database; import android.content.Context; import dagger.internal.Factory; import javax.inject.Provider; public final class TranslationsDBHelper_Factory implements Factory<TranslationsDBHelper> { private final Provider<Cont...
31.071429
90
0.802299
c1a4e23e21e3df41695c46cbf5d4c70b624c00b4
7,981
/* * Copyright 2017 Koma * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
35.314159
127
0.717579
35c508b80d79f1eb134ea7f50c8d54eda3f3db7b
1,875
package com.kshrd.derphsar_api.rest.order.response; import com.kshrd.derphsar_api.rest.orderdetail.response.OrderDetailResponse; import com.kshrd.derphsar_api.rest.shop.response.ShopResponseModel; import com.kshrd.derphsar_api.rest.user.response.UserByShopResponse; public class OrderByShopResponse { private int ...
24.350649
138
0.6224
930c0f9835550057942729e42db36fa05d645aeb
968
package net.fabricmc.example.client; import lombok.Getter; import lombok.NonNull; import net.fabricmc.fabric.api.client.keybinding.FabricKeyBinding; import net.fabricmc.fabric.api.client.keybinding.KeyBindingRegistry; import net.minecraft.client.util.InputUtil; import net.minecraft.util.Identifier; public class Keybi...
27.657143
77
0.778926
345babd984b2261ce2016f66267974c501ed4e7b
322
package com.tui.proof.ws.repository; import com.tui.proof.ws.model.Booking; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * Author: Janty */ @Repository public interface BookingRepository extends JpaRepository<Booking, Integer> { }...
21.466667
77
0.763975
491817ddb4db43409e66504e964a0f0592c6ca72
3,638
package com.javaniuniu.generator.mapper; import com.javaniuniu.generator.domain.Info; import com.javaniuniu.generator.domain.example.InfoExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface InfoMapper { /** * This method was generated by MyBatis Generator. * This ...
28.421875
126
0.658054
afdc31b26666ec74abac339a7032292ca26439db
911
package com.jeremy.util2.wordSraech; import java.util.List; import org.junit.Assert; import org.junit.Test; import com.jeremy.util2.wordSearch.Words; public class WordSearchTest { @Test public void wordSearchTest() { Words words = new Words(); //----------------------------添加敏感词 start words.addWord("敏感词1");...
26.028571
85
0.672887
b2b08242ff629bae6c56d9e6a543aa2690805251
2,581
package com.bbva.kyof.vega.autodiscovery.client; import com.bbva.kyof.vega.exception.LLZException; /** * Interface to be implemented by autodiscovery technologies * Implementations have to be thread safe * <p/> * This interface is designed to be used internally, not by users * If everything @ this interface is ...
37.405797
179
0.724913
9fd11d28c92f02753ccdaef2bb1e37fc709a43d3
1,131
package SecureAuthServer.SecureAuthServer; import java.util.HashMap; /** * This class is used as a data structure to store the transitions originating from a particular state. * * @author lakshya.tandon * */ public class StateTransitions { //private long sessionID; private HashMap<Integer, HashMap<String,...
23.081633
115
0.71176
98bab3d8bb406e8f07f7ecf59237cd9cf60fd0c0
547
package jss.bugtorch.mixins.minecraft.block; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Overwrite; import net.minecraft.block.BlockPumpkin; import net.minecraft.world.World; @Mixin(value = BlockPumpkin.class) public abstract class MixinBlockPumpkin { /** * @author jss2a98aj * ...
24.863636
73
0.753199
f3bc5dfe94eee17eb05bd3b2626a6e735fc95416
2,040
package algorithms.a51_to_a100.a56_MergeIntervals_Hard; import java.util.ArrayList; import java.util.List; /** * Created by 31798 on 2016/8/31. */ public class SolutionWithOwnSort { public List<Interval> merge(List<Interval> intervals) { if (intervals == null) { return null; } ...
29.565217
69
0.52402
53edad78a487f25d00e366c6a21be38abc0012c3
383
package cc.novoline.modules.exceptions; public final class LoadConfigException extends RuntimeException { public LoadConfigException() { } public LoadConfigException(String var1) { super(var1); } public LoadConfigException(String var1, Throwable var2) { super(var1, var2); } public L...
20.157895
65
0.70235
dd1f8c4ee245ca41a6f02363b5facad3752c18a7
66,253
/* * 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 ...
40.546512
146
0.571325
265441e222315cd040fc194af53886d678fa99d7
697
package com.github.wesleyegberto.ordercreator.config.mvc; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com...
34.85
75
0.842181
72d93cd3e86f87794e2ac0bede551d7038251704
3,849
/* * 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 ...
38.878788
100
0.745908
00cb5a0b8e256261ca1b3846463cddcf14931b62
3,186
package com.playman.web.servlet; import com.playman.entity.PageBean; import com.playman.entity.Route; import com.playman.entity.User; import com.playman.service.FavoriteService; import com.playman.service.RouteService; import com.playman.service.impl.FavoriteServiceImpl; import com.playman.service.impl.RouteServiceImp...
35.797753
122
0.66447
c2cdd3e35a872f739ab41035ed98b8fda5912942
1,844
package com.beta.api.v1; import com.beta.RouteCreationDTO; import com.beta.RouteDTO; import com.beta.RouteUpdatesDTO; import com.google.common.base.Optional; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.GenericType; import javax.ws.rs.core....
33.527273
77
0.626356
55531e1ed22fba7cbc184f41551659511b2eb26b
289
package com.bbn.akbc.common; public class PathConverter { public static String convertToWindows(String strURL) { if (!strURL.startsWith("/nfs/") && !strURL.contains("/")) { return strURL; } else { return "\\\\" + strURL.substring(5).replace("/", "\\"); } } }
22.230769
63
0.598616
9b5b34ac774f1d5f2265f3d5c7e37ddec0979e7a
3,260
/* * (c) Carmen * * Created on 01/09/2008 * */ package org.folio.marccat.dao.persistence; import net.sf.hibernate.CallbackException; import net.sf.hibernate.Session; import org.folio.marccat.business.common.Persistence; import org.folio.marccat.business.common.PersistenceState; import org.folio.marccat.dao.Abstra...
21.879195
102
0.66319
1d77fe2968ee5991a56c8735f308c178b49ca845
1,294
package io.ribot.app.data.model; public class Venue { public String id; public String label; public Float latitude; public Float longitude; public Venue() { } public Venue(String label) { this.label = label; } public Venue(String id, String label) { this.id = id; ...
28.755556
99
0.570325
4721c98ba5749056b6519c741ddcb000d00b5ddd
11,632
/***************************************************************************** * $Id$ * * Copyright 2008, The Rules Framework Development Team, and individual * contributors as indicated by the @authors tag. See the copyright.txt * in the distribution for a full listing of individual contributors. * * Licensed u...
35.355623
212
0.757823
9dfd6b25be486951ba90e1f1feeba1c8ccac0f15
1,160
package fi.mkuokkanen.webproto.dropwizard; import io.dropwizard.Application; import io.dropwizard.configuration.ResourceConfigurationSourceProvider; import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; import io.dropwizard.views.ViewBundle; public class DropwizardApplication extends Applicat...
30.526316
92
0.727586
b40a32b366ffaa7b7cfef477a5a3e3f310b4372e
663
package com.soa.circuit.persist; import com.soa.circuit.common.CircuitNode; import com.soa.circuit.common.ElementProperties; import com.syncleus.ferma.DefaultClassInitializer; public class CircuitNodeVertexInitializer extends DefaultClassInitializer<CircuitNodeVertex>{ private final CircuitNode node; pub...
31.571429
94
0.785822
485294dceba51817a5a6e8fd5d8e39e870177772
1,094
package edu.hvrigazov.parallel.parsing; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static edu.hvrigazov.parallel.parsing.Options.*; import static org.junit.Assert.assertEquals; /** * Created by hvrigazov on 30.06.17. */ public class ParsedOptionsTest { @Test public void...
28.051282
62
0.673675
8eaf0dc0a03e96befded5f1d56cec0799de19bd0
1,349
package com.whoiszxl.permission; import cn.dev33.satoken.stp.StpInterface; import com.whoiszxl.constants.RedisKeyPrefixConstants; import com.whoiszxl.utils.RedisUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.util.ArrayList; import jav...
23.258621
121
0.668643
e11aec26f0bf92ad4ff58ef0d45334f679830148
921
package org.codingmatters.value.objects.generation; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.TypeSpec; import javax.lang.model.element.Modifier; /** * Created by nelt on 10/6/16. */ public class ValueChanger { private final ValueConfiguration types; private final MethodSpec con...
29.709677
71
0.653637
ac5df09b8f1999cd87e88671220a1bd80bf1bac7
5,565
package com.hevodata.recoverablekafkaproducer.samples; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.Maps; import com.hevodata.recoverablekafkaproducer.CallbackSerde; import com.hevodata.recoverablekafkaproducer.RecoverableCallback; import com.hevodata.recoverablekafkaproducer.Re...
45.614754
135
0.732435
31ca1bd8f684921c20f1e207a1a32d7bcf4250a4
596
package playground.ee.jaxbadapter; import javax.xml.bind.annotation.adapters.XmlAdapter; import java.math.BigDecimal; import java.math.RoundingMode; /** * @author jhirschbeck */ public class BigDecimalAdapter extends XmlAdapter<String, BigDecimal> { @Override public BigDecimal unmarshal(String v) throws Ex...
22.923077
71
0.66443
3d87f01ad926573f84766cdcbeb271de91461c24
2,438
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.07....
28.682353
141
0.66735
0007ba76156621d28781a557b0c641dd733490f3
2,706
package novoda.lib.sqliteprovider; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.Uri; import android.test.AndroidTestCase; import java.io.IOException; import novoda.lib.sqliteprovider.sqlite.MigratingSQLiteOpenHelper; public ...
37.068493
127
0.665188
20688ea31f8892db1b759dfb8da5aa2f7c89eecd
2,617
package com.prondzyn.numbers.writer; import java.math.BigInteger; import static java.math.BigInteger.*; class BigIntegerUtils { private static final BigInteger TWENTY = new BigInteger("20"); private static final BigInteger HUNDRED = powTenTo(2); private static final BigInteger THOUSAND = powTenTo(3); privat...
23.790909
77
0.67864
24e38f9a56455af51c05568a8784e47ed71aa70e
15,965
package net.canarymod.util; import java.text.SimpleDateFormat; import java.util.Date; import net.canarymod.config.Configuration; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Marker; import org.apache.logging.log4j.message.FormattedMessageFactory; import...
24.867601
128
0.62756
e5822c2c14a1c3d44eeca640e8302ca83aeaa4eb
1,233
package za.co.db; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.BeanPropertyRowMapper; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource; import org.springframework.stereotype.Component...
29.357143
161
0.741281
10bff2dcf518315ed20573f50ddd8f646c4bb34c
8,751
package VIEW; public class FormAluno extends javax.swing.JFrame { public FormAluno() { initComponents(); } @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { txid = new javax.swi...
53.036364
177
0.632956
d96d9bbd3050d4008deb1f885868a92a7390520e
2,225
package com.example.jeremy.controller.view; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.widget.Toast; import com.examp...
26.488095
105
0.643596
8a5910b92504543688ee7e6101ec9a35b730eca6
1,189
package suwu.daopuerp.presentation.helpui; import com.jfoenix.controls.JFXDialog; import java.util.Stack; public class DialogStack { private Stack<JFXDialog> dialogStack = new Stack<>(); public DialogStack push(JFXDialog dialog) { dialogStack.push(dialog); return this; } public Dial...
22.433962
63
0.560976
54daea102f9f2ffe48a596b399087fbfa6d2c32d
4,884
package st.gravel.support.compiler.ast; /* This file is automatically generated from typed smalltalk source. Do not edit by hand. (C) AG5.com */ import java.math.BigInteger; import st.gravel.support.jvm.NonLocalReturn; import st.gravel.support.compiler.ast.LiteralNode; import st.gravel.support.compiler.ast.LiteralN...
27.284916
178
0.754709
b135d9a93d74f82954fc0f36541297f194f93ca7
2,398
package com.github.jeffgbutler; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; /** * Step2 is to use map/filter/reduce, but keep...
28.891566
98
0.606339
3c270d5231311cb555b41a1a0143ba4af3b6faa4
2,210
package com.studies.flutters; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.jsoup.Connection; import org.jsoup.Jsoup; import java.io.IOException; public class musicUnit { public static String getMusicName(String ids) throws JSONException, IOException { ...
34.53125
86
0.695475
9c4ab76f7af97c40563963ef17f55517e8255234
2,670
package org.springframework.roo.classpath.details.comments; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author Mike De Haan */ public class CommentFormatter { private static Pattern commentFormattingRegex = Pattern .compi...
29.340659
80
0.546442
01030ff41d91548f747c5655d97a855e49b804c7
743
package com.github.zhangkaitao.shiro.chapter8.web.filter; import org.apache.shiro.web.filter.AccessControlFilter; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * <p>User: Zhang Kaitao * <p>Date: 14-2-3 * <p>Version: 1.0 */ public class MyAccessControlFilter extends AccessControlF...
29.72
126
0.741588
c48886ef92be309ffeb639c9733302e8512d4e62
12,688
/* * Copyright 2010 MIT Strategic Engineering Research 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 b...
32.121519
128
0.717292