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
fb01878079bf40f561bff976d90e52e99b146c9b
194
package com.arleex.wechat.miniprogram.api.urlscheme; /** * @author cat */ public class UrlSchemeServiceImpl implements UrlSchemeService { @Override public void generate() { } }
14.923077
63
0.706186
a414d01f00844d1297125907e0e02e508e3ac3da
580
package org.zstack.header.simulator; import org.zstack.header.host.AddHostMsg; public class AddSimulatorHostMsg extends AddHostMsg { private long memoryCapacity = 1000000000; private long cpuCapacity = 1000000000; public long getMemoryCapacity() { return memoryCapacity; } public void set...
23.2
56
0.706897
ac00e23a466d2ec9db6091e5351cba5ed17ce29a
3,731
package ru.pvg.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import ru.pvg.addressbook.model.GroupData; import ru.pvg.addressbook.model.Groups; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java...
26.274648
126
0.686143
6f5627d75531057183519b5a6e84ef134d572e7f
1,367
package com.daaao.bid.policy.redis; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.data.redi...
29.717391
164
0.719824
8022fc6d767b6fcf67b5480d25d5d7d138beb779
3,491
/** * Copyright (C) 2016 Mehdi Bekioui (consulting@bekioui.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 requ...
38.362637
146
0.760527
2d28691b8f97ed5282a872802721ffe668895288
4,796
/** * * Copyright (c) 2006-2019, Speedment, 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 requ...
33.075862
111
0.685154
0e429775a81f17841384081c674f122de426b90c
2,112
package com.mnaseri.cs.homework.ch24; import com.mmnaseri.cs.clrs.ch22.s1.*; import com.mmnaseri.cs.clrs.ch22.s4.DFSTopologicalSorter; import com.mmnaseri.cs.clrs.ch22.s4.TopologicalSorter; import com.mmnaseri.cs.clrs.ch23.s1.WeightedEdgeDetails; import java.util.List; public class DagSingleSourceShortestPathFinder<...
39.111111
104
0.618371
d0a08c1a2f05edfcf7b0512d90e7dbe047c8e4fb
9,554
/** * Copyright (c) 2014 Lemur Consulting Ltd. * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless requi...
35.385185
126
0.707976
f7db82a40587e1a38a526bc0e65b31afc4d48d24
16,101
/** * Copyright (c) 2014 Baidu, 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 r...
42.708223
100
0.632445
368dc71996c878669fac28b2827bdba68fbcbf04
4,978
/* * MIT License * * Copyright (c) 2021 TerraForged * * 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, copy, modi...
40.803279
123
0.681599
5dc524e0bf7563b19efb8ca92cec43daa75b30ec
1,550
/******************************************************************************* * Copyright (c) 2012, 2013 Arron Ferguson. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * whic...
38.75
105
0.671613
0f12fa9e9a3313f71de252f033ae9fa04cd929d8
6,367
package nl.sense_os.service.ctrl; import nl.sense_os.service.DataTransmitter; import nl.sense_os.service.constants.SensePrefs; import nl.sense_os.service.constants.SensePrefs.Main; import android.app.AlarmManager; import android.content.Context; import android.content.SharedPreferences; import android.location.Locatio...
35.372222
116
0.600911
e4ce71dad42c445cd1f9697d5498b01a3e5431fb
2,122
/** * The MIT License * * Copyright (C) 2021 Asterios Raptis * * 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, copy...
27.558442
100
0.698869
76f088345532193545fec4c7228b51036d4fd6cb
843
package cn.hust.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.NotBlank; /** * 用户信息VO * @author zz */ @Data @Builder @AllArg...
21.075
76
0.673784
985d777abefd26ad80a6b394f2b2177011049287
403
package com.lives.platform.web.mapper; import com.lives.platform.web.entity.Register; public interface RegisterMapper { int deleteByPrimaryKey(Integer registerId); int insert(Register record); int insertSelective(Register record); Register selectByPrimaryKey(Integer registerId); int updateByPr...
23.705882
53
0.781638
db15d02365635efb3251bf1e7afbcdc9a285f9ed
18,328
package seedu.inventory.model; import static java.util.Objects.requireNonNull; import static seedu.inventory.commons.util.CollectionUtil.requireAllNonNull; import java.nio.file.Path; import java.util.function.Predicate; import java.util.logging.Logger; import com.google.common.eventbus.Subscribe; import javafx.coll...
30.546667
118
0.674269
f76ece8664fc92a75e9e3fc3adf67984d2b702cc
14,369
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
39.584022
134
0.707565
5a036bda182b2817cc0e5c39e1fe2dbed00b6011
89
package lwjgui.geometry; public interface Resizable { public boolean isResizeable(); }
14.833333
31
0.786517
9d997b76fcf2f86aa12d6c4a5d90f4c19155e284
886
package io.stat.nabuproject.core.net.channel; import io.netty.channel.ChannelHandler; /** * Simply wraps an instance of a ChannelHandler, and returns that. * * @author Ilya Ostrovskiy (https://github.com/iostat/) */ final class SimpleHandlerWrapper<T extends ChannelHandler, U> implements FluentHandlerWrapper<T> {...
26.848485
98
0.67833
d086a9d5c079bc849f0145eddb2d3993d64afbf8
1,347
package com.skeqi.finance.service.asset; import com.skeqi.finance.domain.asset.TFaAssetTypeGroup; import com.skeqi.finance.pojo.vo.asset.TFaAssetTypeGroupVo; import com.skeqi.finance.pojo.bo.asset.TFaAssetTypeGroupQueryBo; import com.skeqi.finance.pojo.bo.asset.TFaAssetTypeGroupAddBo; import com.skeqi.finance.pojo.bo....
22.830508
84
0.755011
b6616c275670a60ef56d0ec1704878078ef597a1
10,105
package synergynet3.apps.numbernet.controller.numbernettable; import java.util.UUID; import java.util.logging.Logger; import multiplicity3.csys.MultiplicityEnvironment; import multiplicity3.csys.factory.ContentTypeNotBoundException; import multiplicity3.csys.items.container.IContainer; import multiplicity3.csys.items...
30.345345
131
0.774666
617e691b1a493757117ab67239ec10f4426ca9d3
1,003
package vop.groep7.vop7backend.database.mongodb; import com.mongodb.MongoClient; /** * * @author Backend Team */ public class EventDataAccessContext { private final MongoClient client; private EventDAO eventDAO; /** * The constructor of a EventDataAccessContext needs a connection to a * dat...
21.804348
77
0.60319
d67696db13d4acf3e32fbfe388a197e028cc8379
8,328
/* * Copyright 2010 DTO Labs, Inc. (http://dtolabs.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...
39.098592
117
0.639769
2e91db6ab1226254b149d5b8c3b2fe044ce9019f
382
package de.martinspielmann.wicket.chartjs.data.dataset.property.spangaps; import de.martinspielmann.wicket.chartjs.core.internal.JsonAware; public enum BooleanSpanGaps implements SpanGaps, JsonAware { TRUE(true), FALSE(false); private boolean json; BooleanSpanGaps(boolean json) { this.json = json; } ...
19.1
73
0.743455
c84f92a5a10f2c902241d1a62e3f1982728669b6
12,690
/* * Copyright (c) 2018-2019 ActionTech. * License: http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 or higher. */ package org.apache.servicecomb.saga.alpha.server.accidenthandling; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.apa...
47.886792
223
0.674941
ac8fbadbacdcf1696bc92391cc697f110d82c31e
169
package specs; public enum Symbol { ADD, SUB, MUL, DIV, REM, EQ, LT, LE, AND, OR, NOT, HEAD, TAIL, CONS, BOOL, INT, LIST, OBJECT, }
7.347826
20
0.508876
cc25454bac8d236d37235c0398965dba4d5d020b
2,322
/* Copyright 2020 Twitter, Inc. SPDX-License-Identifier: Apache-2.0 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 ...
22.764706
89
0.673127
3030dd7f2a581ee9037a0a34ee166a492720f72e
15,750
package net.osdn.aoiro.report; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.time.LocalDate; import java.util.ArrayList; im...
35.958904
136
0.609524
67939ea61497952559118afbaf80cf49109725b5
1,186
package org.openstreetmap.atlas.geography.geojson.parser.domain.geometry; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.openstreetmap.atlas.geography.geojson.parser.GeoJsonParser; import org.openstreetmap.atlas.geography....
33.885714
96
0.720067
c4913bd7e3568fffe3cf47b36bbc76e6e6ec25ff
1,528
/* * Copyright (c) 2021 Hanbings / hanbings Cynops Toolbox. * * 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...
28.296296
81
0.723822
c0bb298158efc323bb986d82aa7af0615ba98b2d
4,752
package org.twak.viewTrace.facades; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.swing.JBut...
24.75
130
0.661195
9b99bab95b78d62586c7f9d3c603fafe211d8d34
3,333
/** * Copyright (C) 2014 Xillio (support@xillio.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 app...
38.310345
119
0.725173
2a437a5394cb28087ba80b8ebd0e6bd6deb75905
1,562
/* * Copyright 2018-2021 Pranav Pandey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
26.931034
91
0.684379
0d1a11cbe88b9571f829998207d78134e5328e4d
3,088
/* * Copyright 2014-2015 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...
35.090909
106
0.702073
7683ea3c95cd9ab76329b81292fbd794d4e0b51f
12,610
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
42.891156
193
0.671134
3569b59cd060831f98884b72a2c633f24f5eb450
4,045
/* * Copyright 2000-2017 Holon TDCN. * * 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...
31.850394
120
0.70754
076eb08f873f01beee19caecf5f14d620a1e71f5
499
package com.wlgdo.avatar.activiti.task.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.wlgdo.avatar.activiti.task.entity.LeaveBill; import com.wlgdo.avatar.activiti.task.mapper.LeaveBillMapper; import com.wlgdo.avatar.activiti.task.service.LeaveBillService; import org.spr...
31.1875
111
0.843687
948b20cb593704f7d61c182ed850fb01217cc2b1
1,693
package org.ywb.ono.toolkit; import java.util.Random; /** * @author yuwenbo1 * @date 2020/10/20 7:50 下午 星期二 * @since 1.0.0 */ public class RandomUtils { /** * 随机数种子 */ private static final Random RAND = new Random(); /** * 生成随机整数数 * * @param bound 整数...
20.646341
66
0.484347
8421950d31188cac23410b44e1730b22545003d6
11,000
// (c) Copyright 2010 Cloudera, Inc. All Rights Reserved. package com.cloudera.sqoop.netezza; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java....
29.810298
119
0.644182
713e74455b0c2c9416b69dd36a4fa13cbe172a1d
4,610
/* * Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 David Berkman * * This file is part of the SmallMind Code Project. * * The SmallMind Code Project is free software, you can redistribute * it and/or modify it under either, at your discretion... * * 1) The term...
35.19084
274
0.745987
766688952509c41daef2741e99d8229c8868fe57
5,476
/* * Copyright 2002-2020 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...
36.506667
109
0.794375
0ea4ea30cad152d2970c07fcfbbf8d1015a00c05
1,688
package org.moparscape.msc.ls.packethandler.loginserver; import org.apache.mina.common.IoSession; import org.moparscape.msc.ls.Server; import org.moparscape.msc.ls.model.World; import org.moparscape.msc.ls.net.LSPacket; import org.moparscape.msc.ls.net.Packet; import org.moparscape.msc.ls.packetbuilder.loginserver.Rep...
33.098039
74
0.723341
fddbe0eab2666746004db7b34eef92988bd3c8be
1,402
package org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine; import org.ovirt.engine.core.common.businessentities.VM; import org.ovirt.engine.ui.uicommonweb.models.vms.VmAppListModel; import org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel; import org.ovirt.engine.ui.webadmin.section.main.presenter...
42.484848
183
0.771041
90c33ff5c5d4e7a7265fba032ffcc45f24a17fc8
3,824
/* * 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 ...
38.24
122
0.771444
bd22bc15c95615ff7ef0fe2337a6af4bbfb9c524
3,982
package br.com.sistema.rotinas.produtos; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Enumerated; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import...
23.28655
100
0.718734
28472ae8158721a9e83e9469738ec19c34e5b2bc
91
package org.lasencinas.interfaces; public interface Adder { int add(int n1, int n2); }
11.375
34
0.725275
6cc701b5fba94547a794a6c9e1dcb5c427043b8c
3,514
package ua.com.fielden.platform.dao.dynamic; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import ua.com.fielden.platform.entity.AbstractEntity; import ua.com.fielden.platform.entity.annotation.IsProperty; import ua.com.fielden.platform.entity.annotation.KeyTyp...
24.068493
72
0.664485
58fc9eed48131a94d5698b0e59352a11abf0c0af
863
package io.github.edwinmindcraft.apoli.common.condition.block; import io.github.edwinmindcraft.apoli.api.power.factory.BlockCondition; import io.github.edwinmindcraft.apoli.common.condition.configuration.AdjacentConfiguration; import java.util.Arrays; import net.minecraft.core.Direction; import net.minecraft.world.lev...
39.227273
91
0.801854
11009bff4b44be9e56432a4886ada47addfcfa98
367
package tk.gushizone.distributed.seata.api; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; /** * @author gushizone@gmail.com * @date 2021/8/20 3:25 下午 */ @FeignClient("demo-seata-client-producer") public interface SeataProducerApi { @PostMap...
22.9375
59
0.754768
882b0dcb767e978236f4e237fd7367a58cb38554
658
package io.jenkins.plugins.pipelinegraphview.consoleview; import hudson.Extension; import hudson.model.Action; import java.util.Collection; import java.util.Collections; import jenkins.model.TransientActionFactory; import org.jenkinsci.plugins.workflow.job.WorkflowRun; @Extension public class PipelineConsoleViewActio...
27.416667
91
0.803951
b3b582aa4315e0b2ef16530b509105ec3f4751c9
4,252
package openmods.inventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import openmods.inventory.StackEqualityTesterBuilder.IEqualityTester; import org.junit.Assert; import org.junit.Test; public class EqualTest { private static void assertSymmetricEquals(IEqualityTester tester, I...
33.746032
104
0.771872
fc2bb24e1512697d1e80c7d35ae9afeb857bdff4
977
package liquibase.snapshot; import liquibase.database.Database; import liquibase.structure.DatabaseObject; /** * Listener interface to be called during the snapshot process. Attach instances to {@link liquibase.snapshot.SnapshotControl} */ public interface SnapshotListener { /** * Called before a snapshot...
37.576923
194
0.750256
7d73a22cd4da0fd8fa477d8ce5e39c444d47eb32
2,733
/* ************************************************************************************ * Copyright (C) 2001-2017 Openbravo S.L.U. * Licensed under the Apache Software License version 2.0 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agr...
37.438356
100
0.670692
26004863a40a2eaaf0652ef5045840bb4d30de27
3,466
package com.xcynice.XMvp.module.register; import android.text.TextUtils; import com.xcynice.XMvp.api.TestApi; import com.xcynice.XMvp.bean.User; import com.xmvp.xcynice.base.XBaseBean; import com.xmvp.xcynice.base.XBaseObserver; import com.xmvp.xcynice.base.XBasePresenter; import com.xmvp.xcynice.util.XUtil; /** * ...
34.66
164
0.631852
e0383858f8cf4e6d0e625f80931ed5b42db3af42
1,338
package org.kafka.etl.load; import com.google.inject.Inject; import org.apache.kafka.clients.producer.KafkaProducer; import org.kafka.etl.kafka.IPartitionKeyCalculator; import org.kafka.etl.kafka.IProducerCallback; import org.kafka.etl.kafka.IProducerManager; import javax.inject.Named; import java.util.Properties; ...
21.934426
72
0.736921
f9dce75e20b87e1dd333e00aec87c910e44b19af
225
package me.leiho.blog.services; import me.leiho.blog.services.impls.IndexSettingServiceImpl; import java.util.Map; public interface IndexSettingService { IndexSettingServiceImpl getValueMap(Map<String, Object> map); }
22.5
65
0.808889
fdf83c2e1787a6a512854de421fdacf4f4d863df
9,103
package com.highjet.common.base.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.apache.commons.lang.StringUtils; import org.joda.time.DateTime; import org.joda.time.LocalDate; import org.joda.time.format.DateTimeFormat; import org...
22.588089
77
0.543996
147dd8c3d117d48902bc588777ea303ebe582df9
526
/* * Copyright (C) 2016-2020 Lightbend Inc. <https://www.lightbend.com> */ package docs.home.serialization.v2d; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.lightbend.lagom.javadsl.immutable.ImmutableStyle; import com.lightbend.lagom.serialization.Jsonable; import org.immutables.valu...
26.3
69
0.798479
ce60f3e65debb1b35860b98187c9ad0d93953972
1,979
package io.stargate.graphql.schema; import static org.assertj.core.api.Assertions.assertThat; import graphql.schema.GraphQLInputObjectType; import io.stargate.db.schema.Column; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import ...
38.803922
99
0.774128
86ef3bdf35c552afe4d44407f55103dca20edb28
2,295
package zes.core.utils; /** * 캐릭터 관련 유틸 클래스 * * @author wisepms * @version 23 2011-07-13 05:20:04Z */ public class CharUtil { /** * 캐릭터 배열을 바이트 배열로 변환한다. * * @param carr 변환할 캐릭터 배열 * @return 변환된 바이트 배열 */ public static byte[] toByteArray(char[] carr) { if(carr == null...
24.157895
77
0.475381
d8dab82204e6cd3aef74da3077373ada964590fa
1,404
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.largeFilesEditor; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class UtilsTest { ...
29.25
140
0.740028
3631d61365a49b3fa0346e3d61fd94e8e031ddd4
884
package com.hui.common.dao.core; /** * <code>BaseDaoStrategy</code> * <desc> * 描述: * <desc/> * Creation Time: 2019/12/10 1:17. * * @author Gary.Hu */ public enum BaseDaoStrategy { /** * INIT SINGLE */ MYSQL { @Override public BaseDao createBaseDao(RunnerDao runnerDao, String ...
23.263158
100
0.618778
903475caea63a5bb70f9b5fca6159bc0442951e6
1,454
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
37.282051
98
0.73934
44fa2214a697b30aac1069935d678d8fd9ab187c
1,032
package com.caliven.config.client; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.core.env.Environment; import org.springframework.web.bind.anno...
26.461538
95
0.731589
f3887d0dc8a2aa2b06a65a7ddf69c4639a844be4
575
package com.github.aites.framework.dbcomponent; public class DBForeignKey { private String fkTableName; private String fkColumnName; private int fkSequence; public DBForeignKey(String fkTableName, String fkColumnName, int fkSequence){ this.fkColumnName = fkColumnName; this.fkTableName = fkT...
23.958333
81
0.70087
c1bcc146db47d0ca406833b820a05e9b51965978
7,827
/* * 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.services.udr; import gov.gtas.constant.CommonErrorConstants; import gov.gtas.constant.RuleConstants; import gov.gtas.enumtype.YesNo...
28.988889
120
0.757762
78da94f537cfe9c32db5b2fa34b7184df761150c
2,560
package sm.vpc.graficos; import java.awt.Point; import java.awt.geom.AffineTransform; import java.awt.geom.GeneralPath; /** * Clase que hereda de Geometrix para la representación de * un trazo libre con sus propios atributos. * @author Víctor Padilla */ public class Trazo extends Geometrix { ...
30.843373
91
0.605859
d6280462a5acfcc4ebc1aa752ba1a4f6f8a6646c
1,186
package pl.pawelirla.pbd.web; import com.gargoylesoftware.htmlunit.Page; import com.gargoylesoftware.htmlunit.WebAssert; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.*; import com.sun.webkit.WebPage; import dagger.multibindings.ElementsIntoSet; import javax.inject.Inject; ...
29.65
101
0.726813
3f94d5590fd9d3baedcd55f6a0e599d6af555162
502
package learning.messages; /** * It is an annotation based interface which indicates that * the implementing class is a message i.e. it can be sent * through the network.<br/> * There is one very important, non-syntactical requirement for the * implementation: each piece of data in the message has to be a * <b>d...
29.529412
67
0.739044
9be8e08cb261971ea0a29a7c9430e9c2be27bb35
83
public void printlnArray(long[] arr) { printArray(arr); writer.println(); }
20.75
38
0.662651
2cd4382f99cabc4109778e14156c16572e5710a5
196
package io.bootique.linkrest.demo.cayenne; import io.bootique.linkrest.demo.cayenne.auto._Domain; public class Domain extends _Domain { private static final long serialVersionUID = 1L; }
19.6
54
0.780612
0a1cc9b84d9831fc04488e703e92e1cb539cf88f
727
package org.prosolo.web.lti.json.data; import java.util.List; import com.google.gson.annotations.SerializedName; public class ToolService { @SerializedName("@type") private String type; //must match the "@id" from service offered in Tool Consumer Profile private String service; //subset of actions from Tool Co...
19.648649
69
0.723521
d5361435d00b4636a54c48e131cca1d355f76c1b
331
package com.eu.habbo.plugin.events.rooms; import com.eu.habbo.habbohotel.rooms.Room; public class RoomLoadedEvent extends RoomEvent { /** * Triggered whenever a room is fully loaded. * * @param room The room that has been loaded. */ public RoomLoadedEvent(Room room) { super(roo...
20.6875
49
0.655589
3a0aed6019a499b182b61aa2112f831b56c8304c
10,997
package eu.cosbi.qspcc.ast; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Function; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Lo...
30.211538
112
0.688824
764905c73160a7db571e297f78861492268cd3a0
20,818
/* * Copyright 2010 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...
45.653509
195
0.652128
c01a491f8c96c81b224eb29d64f7ee7a813f57a7
583
package Lotto649_Package; public class lotto649_Predict { public int get_x4(int x1,int x2) { System.out.println(x1+"*"+x2+"="+(x1*x2)); return x1*x2; } public int rollLotto(int s) { System.out.println(s); return s; } public static void main(String[] args) { // TODO Auto-generated method s...
20.103448
49
0.626072
42ae102de7f2d318fc6ba30793895dbdf6975ea5
1,736
/* * Copyright © 2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
29.931034
115
0.722926
ed197cbe322df40d1960c7aa4cd2cfa7ae9504cd
3,319
package com.grolinger.java.service.adapter.exportdata; import com.grolinger.java.controller.templatemodel.DiagramType; import com.grolinger.java.service.data.ApplicationDefinition; import com.grolinger.java.service.data.InterfaceDefinition; import com.grolinger.java.service.data.ServiceDefinition; import com.grolinger...
45.465753
238
0.741187
0f66d1e01bd267e3ac795dce96cd241ddc5ee675
6,930
/* * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
36.282723
128
0.563348
6e010db1955f3c93d6634e8ef9873d3e4afd1d27
5,554
package observatorio.utils; //JAVA import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.List; //HTMLUNIT "http://htmlunit.sourceforge.net"; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlAnchor; import com.gargoylesoftware.htm...
30.685083
85
0.527368
800d7c07c0b6fb60c8f36d10cf875aaab404125e
7,707
package org.onebillion.onecourse.mainui.oc_countmore; import android.graphics.Color; import android.graphics.PointF; import android.graphics.RectF; import android.view.View; import org.onebillion.onecourse.controls.OBControl; import org.onebillion.onecourse.controls.OBGroup; import org.onebillion.onecourse.controls.O...
32.382353
120
0.572726
8140bf1be90544a0f2563666ed79d9ba30a7885b
188
package com.qthegamep.pattern.project2.model.container; public enum IoStrategy { SAME_IO_STRATEGY, WORKER_IO_STRATEGY, LEADER_FOLLOWER_IO_STRATEGY, DYNAMIC_IO_STRATEGY }
18.8
55
0.787234
e213eb5a5875ea37cf0e07f48b64190cf07c7b8e
478
package org.openestate.io.is24_xml.xml; import java.math.BigDecimal; import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter36 extends XmlAdapter<String, BigDecimal> { public BigDecimal unmarshal(String value) { return (org.openestate.io.is24_xml.Is24XmlUtils.parsePreisAufAnfrage...
22.761905
85
0.748954
fdb77d45278500558c4663c6e47c26102a403d8e
5,725
package org.vcell.sbml; import java.io.File; import java.io.IOException; import java.util.HashMap; import javax.xml.stream.XMLStreamException; import org.junit.Ignore; import org.junit.Test; import org.vcell.sbml.vcell.SBMLImporter; import cbit.util.xml.VCLogger; import cbit.vcell.biomodel.BioModel; ...
36.935484
130
0.726812
3c6143843af218b72e60b714a1b925ad27cbf164
31,244
/* * Copyright 2016, Yahoo Inc. * Licensed under the terms of the Apache License, Version 2.0. * See the LICENSE file associated with the project for terms. */ package com.yahoo.bullet.storm; import com.yahoo.bullet.common.BulletConfig; import com.yahoo.bullet.common.Config; import com.yahoo.bullet.common.Utili...
53.04584
138
0.694725
5a8fb2196170a940b26e4486a2202022c326672a
1,433
/* * BooleanType.java * * Created on 19 de enero de 2004, 20:47 */ package com.innowhere.jnieasy.core.impl.common.classtype.model.mustbe.data; import com.innowhere.jnieasy.core.impl.common.classtype.model.ClassTypeNativeBooleanImpl; import com.innowhere.jnieasy.core.impl.common.classtype.model.ClassTypeManagerImpl...
29.854167
108
0.732729
edd2d02f64e89c38114bdc5f0a26eebc18821586
1,161
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2018 Adobe * %% * 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...
32.25
98
0.727821
e777b75a3f1ec9ab13a5b270647e7196bd5320c3
510
class StringComparison { private static final String CONST = "foo"; public void test(String param) { String variable = "hello"; variable = param; String variable2 = "world"; variable2 += "it's me"; // OK if("" == "a") return; // OK if("" == param.intern()) return; // OK if("" == CONST) ...
15.454545
43
0.541176
c496b994c84c243a88f6dc3b65a0218532375e5a
5,324
/* * Copyright 2015 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.project.editor.variables; import java.util.ArrayList; import java.util.List; import java.util.function.Supplier; i...
40.953846
120
0.660406
7d81fb4db4f4715ec60fc558c3eb628a1c091d2b
9,434
package es.udc.paproject.backend.rest.controllers; import static es.udc.paproject.backend.rest.dtos.ProgramConversor.toFullProgramDto; import static es.udc.paproject.backend.rest.dtos.ProgramConversor.toProgramDto; import static es.udc.paproject.backend.rest.dtos.ProgramConversor.toProgramDtos; import java.util.Array...
33.572954
97
0.780581
3e83a4fb09bab7818367d86fc073a81109d53eda
704
package com.paascloud.provider.model.vo; import com.paascloud.provider.model.dto.user.BindRoleDto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Set; /** * The class Role bind user dto. * * @author paasclou...
21.333333
68
0.755682
47923e84d7a93f9087241fb1970ea1050cad8a55
8,980
/* * 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 ...
38.212766
100
0.560579
f92b4ddf50a4922b74677f83803581452d348a53
382
public class SauceMozzarella extends Decorator { public SauceMozzarella(Interface pizza_interface) { super(pizza_interface); } public int price = 5; public String getDescription() { return super.getDescription() + "\n+ Mozarella = " + price + " euro"; } @Override public int ...
25.466667
77
0.63089
721e4c0c1d28e8ae9786187f7c1d2a728502afe7
1,745
package com.qa.choonz.service; import com.qa.choonz.exception.ArtistNotFoundException; import com.qa.choonz.persistence.domain.Artist; import com.qa.choonz.persistence.repository.ArtistRepository; import com.qa.choonz.rest.dto.ArtistDTO; import org.modelmapper.ModelMapper; import org.springframework.beans.factory.anno...
30.086207
93
0.704298
d2b25ca3294fa0924e10f86d66ac93b9a1d3812f
7,694
// The Worker servlet should be mapped to the "/worker" URL. package student; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; import java.util.logging.*; import com.google.appengine.api.datastore.*; import com.google.appengine.api.memcache.*; import com.google.appen...
46.914634
103
0.579283
ffa7970e1c85dbffe74c68fd91700e18c94ee5a5
1,702
package datadog.trace.instrumentation.java.completablefuture; import static datadog.trace.agent.tooling.bytebuddy.matcher.DDElementMatchers.extendsClass; import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.nameStartsWith; import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.nam...
41.512195
115
0.82785
d8fc442665c518d49760940a1c86326d97982574
80
package com.spbsu.flamestream.runtime.edge.api; public class BatchAccepted { }
16
47
0.8
ed196c967d3513303fe9e4742db7740282d52ea8
5,792
// Copyright 2019 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
38.357616
99
0.731699
e1869068eedf106bc9e2c9e3c4bfdc524ddf5b00
5,892
package com.cisco.axlsamples; // Performs a <getPhone> operation and extracts the 'product' type // using the AXL API. // Copyright (c) 2019 Cisco and/or its affiliates. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwar...
46.761905
132
0.692804
dafb40212061aa6f6a069c7fb188daab012913cd
8,999
/* * Free Public License 1.0.0 * Permission to use, copy, modify, and/or distribute this software * for any purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABIL...
35.152344
96
0.567063