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
aefbe535c611d078be026ab4949858822b69437f
25,685
package org.nutz.ssdb4j; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; import org.nutz.ssdb4j.impl.BatchClient; import org.nutz.ssdb4j.impl.DefaultObjectConv; import org.nutz.ssdb4j.impl.SocketSSDBStream; import org.nutz.ssdb4j.pool2.Pool2s; import org.nutz.ssdb4j....
24.816425
112
0.615145
48a87b0f722d1143d142510706bb70a417c227f6
379
/** * Copyright (c) 2017 European Organisation for Nuclear Research (CERN), All Rights Reserved. */ package io.molr.gui.fx; import io.molr.mole.remote.conf.LocalhostRestClientConfiguration; import org.springframework.context.annotation.Import; @Import({MolrGuiBaseConfiguration.class, LocalhostRestClientConfigurati...
27.071429
93
0.812665
c27e9bd98cf9f40deee13f1cd25f60b672e6a7c1
2,643
package com.yapp.yongyong.infra.fcm; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.auth.oauth2.GoogleCredentials; import com.yapp.yongyong.infra.fcm.FcmMessage.Message; import com.yapp.yongyong.infra.fcm.FcmMessage.Notification; import ...
40.661538
134
0.698449
5216c3649e298ad56e53025a6caff36c475a927a
4,168
/* * Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. 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 *...
38.238532
148
0.731286
935c63f36a5b3128fc8e70e0ffe25d69d794f300
3,079
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
36.223529
140
0.686262
86b25ec65a9698b7bba9a6978d61e900bb9aad91
1,505
package me.ningsk.mediascanlibrary.widget.cropper.nocropper; import android.graphics.Bitmap; import android.graphics.Matrix; import android.graphics.Rect; public class ImageInfo { private Matrix baseMatrix; private Bitmap bitmap; private int degree; private Matrix drawMatrix; private float mScaleF...
22.462687
145
0.657807
c93500ca9a3f74c96051f203f267c0745639de0c
1,561
/* * This file is subject to the terms and conditions outlined in the file 'LICENSE' (hint: it's MIT); this file is located in the root directory near the README.md which you should also read. * * This file is part of the 'Adama' project which is a programming language and document store for board games; however, it...
32.520833
190
0.712364
846f874585075e0064408d29af80dd17e4165416
11,968
/* * Copyright 2017 Axway Software * * 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...
37.167702
119
0.603359
19d3184466394f0e0df03ca6263683f116f1b2ef
5,304
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
61.674419
100
0.76678
abb57158177b8a506c5f70df3f2e426c3c5722ad
1,707
package com.infoworks.lab.rest.breaker; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; public class HttpResponse implements AutoCloseable { private CircuitBreaker.Status status; private Integer code; ...
25.102941
118
0.616286
353eafc442d45c3c15d956d3f07a715563e421c8
5,197
/** * 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.213235
119
0.635174
ba6bee60067d68e7d32f42678333027fed6f809f
184
package codecup2022.stopcriterion; public interface StopCriterion { public abstract void started(); public abstract boolean shouldStop(); public abstract String name(); }
23
41
0.755435
b6e6ab9bf9b1742b6c4a02e4506b6f4561a8cd9d
2,923
package engine; import conventionalsearch.Engine; import conventionalsearch.State; import conventionalsearch.StateProblem; import java.util.LinkedList; import java.util.List; import java.util.Queue; /** * Title: BreadthFirstEngine * Description: Class BreadthFirstEngine implements a Breadth-first search ...
26.572727
101
0.625727
39f8ae706fc114741364e82b441919af4852a5a6
1,323
import java.util.*; import java.io.*; public class Euler22 { public static void main(String args[])throws IOException { BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(b.readLine()),i,l,j; int[] a = new int[n]; Arrays.fill(a,0); ...
24.962264
80
0.417234
4185af18fccdf5d4abfb10b6d3648127fb4ccabf
4,255
package edu.mtu.reactor; import java.util.List; import java.util.Set; import edu.mtu.compound.Molecule; import edu.mtu.parser.ChemicalDto; import edu.mtu.primitives.Entity; import edu.mtu.primitives.Sparse3DLattice; import edu.mtu.reaction.ReactionRegistry; import edu.mtu.simulation.SimulationProperties; i...
28.366667
105
0.688602
26ca43339560c06ffbb4fef3df263c92db771581
3,442
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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/...
31.87037
110
0.676351
a81cb2c8d10fd478c7007ce3be373bd8029a2864
93
package com.alibaba.alink.server.domain; public enum NodeType { SOURCE, FUNCTION, SINK }
11.625
40
0.752688
416f6156e51e6a2ab790503fe5f646fe1ff2de48
2,303
package ulcambridge.foundations.viewer.pdf; import com.itextpdf.io.image.ImageDataFactory; import com.itextpdf.kernel.geom.PageSize; import com.itextpdf.layout.element.Div; import com.itextpdf.layout.element.Image; import org.json.JSONObject; import ulcambridge.foundations.viewer.model.Item; import javax.servlet.http...
38.383333
119
0.657838
ddd95e14e3f63de09090ab4d1b0a01cd68961d9b
83
package infrastructure.database; public class Database implements IDatasource { }
16.6
46
0.831325
5259ab5a88df7bff9b8cc5b5ee2fe7693253ae34
326
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto package com.google.datastore.v1; public interface RollbackResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RollbackResponse) com.google.protobuf.MessageOrBuilde...
32.6
87
0.800613
c144f11723be9a65422496d13c82347324047845
11,005
package com.holypasta.trainer.util; import java.util.Arrays; import java.util.List; /** * Created by q1bot on 17.04.2015. */ public class DictionaryGenerator { private int levelId; public DictionaryGenerator(int levelId) { this.levelId = levelId; } public List<String> getDictionaryItems()...
32.272727
79
0.408723
fec54094a0d7edbb8e9a6dda43b62ee15d23a9d3
509
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013-2014 sagyf Yang. The Four Group. */ package goja.lang; import static java.lang.String.format; @SuppressWarnings("serial") public class InvokingException extends RuntimeException { public InvokingException(String format, Obj...
23.136364
61
0.701375
c023a75545fc5b8c11a6d03e04d5cfa90743e82b
16,696
package org.firstinspires.ftc.teamcode.util; /** * Created by tycho on 2/18/2017, but borrowed some of this from Team Fixit's VortexUtils. All hail Team Fixit!!!!! */ import android.graphics.Bitmap; import android.graphics.Canvas; //import android.support.annotation.Nullable; import android.util.Log; import androi...
40.524272
151
0.613141
233e6c3a744ddffef67376289fd424cebc64694b
4,582
package com.wu.admin.utils; import com.wu.admin.pojo.auth.entity.MenuDO; import com.wu.admin.pojo.auth.entity.RoleMenuDO; import java.util.*; /** * Description : Created by intelliJ IDEA * Author : wubo * Date : 2017/10/12 * Time : 下午5:16 */ public class MenuTreeUtil { private List<MenuDO> nodes; pri...
27.27381
86
0.552597
9015517b9e8c8c9873ff06d05b5492f04161fe45
448
public static void main(String[] args) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(new File("DomainModel.xml")); Element ele = doc.getDocumentElement(); ...
37.333333
78
0.582589
665574a9a661f300e66667b8209a7f1299d10ec3
393
import org.junit.Test; import static org.assertj.core.api.Assertions.*; public class IslandTest { private Island island = new Island(); @Test public void test_IslandTest() throws Exception { int n = 4; int[][] costs = {{0,1,1},{0,2,2},{1,2,5},{1,3,1},{2,3,8}}; int result = 4; ...
21.833333
66
0.597964
4e3e8442eacebc509ea9ae70fdc11219e82a3c8a
398
package main.utility.warframe.market.item; public class WarframeItem { String url_name; String id; String item_name; String thumb; public String getId() { return id; } public String getUrl_name() { return url_name; } public String getItem_name() { return i...
15.92
42
0.600503
ec73e0d3b449740fbed72356cb3f380af3aef4b8
7,284
/** * Copyright (c) 2009-2013, Lukas Eder, lukas.eder@gmail.com * Christopher Deckers, chrriis@gmail.com * All rights reserved. * * This software is licensed to you under the Apache License, Version 2.0 * (the "License"); You may obtain a copy of the License at * * http://www....
42.596491
120
0.63413
ab413925e570b77b49979aae3065309e0b76b16b
956
package org.theeric.auth.user.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org....
29.875
67
0.784519
d52f42e773166f583133a06404e112cf77d43729
3,430
package me.lightdream.skybank.commands; import me.lightdream.skybank.SkyBank; import me.lightdream.skybank.utils.API; import me.lightdream.skybank.utils.Language; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.entity.Player; public class TaxCommand extends BaseCommand{ public TaxComman...
38.539326
116
0.641983
41364d4323693e3a07f789fb6b0b1d7cb3cebf87
1,247
package com.ruoyi.project.system.mapper; import java.util.List; import java.util.Map; import com.ruoyi.project.system.domain.SysOssRecord; /** * OSS上传Mapper接口 * * @author sun * @date 2020-04-27 */ public interface SysOssRecordMapper { /** * 查询OSS上传 * * @param id OSS上传ID * @return OSS上传 ...
18.072464
83
0.596632
f72ae971375efedde31721a835f218b9779ec3a3
1,799
/** * Copyright 2011-2019 Asakusa Framework Team. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
34.596154
92
0.712618
acd527c3b0b7ea1043768b4454ceb011da2d2900
43,243
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.sql.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.az...
42.645957
170
0.691696
33c1babc397c8df4a3e90dad5840863794e75fcd
1,330
package com.booksan.dao; import java.sql.*; public class DBUtils { private DBUtils() { } public static Connection getConnection() { Connection conn = null; try { PropertiesUtil propertiesUtil = PropertiesUtil.getInstance(); Class.forName("com.mysql.cj.jdbc.Driver")...
25.576923
106
0.5
a127dea1bb8444027dbca8e3f8af6776d30c2b93
2,667
/* * Digital Invisible Ink Toolkit * Copyright (C) 2005 K. Hempstalk * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
25.644231
78
0.707912
50d83a766b2aa3d21886b9676a2780c07db372bb
884
package com.mountzoft.bakingapp; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; public class MyRecyclerViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener { TextView mTextView; ImageView mImageVie...
30.482759
99
0.756787
bb5c0c7143c84e08ad3bd4ec5e6d0d7f906f95f4
3,902
package com.radish.master.controller.safty; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.hibernate.type.StringType; import org.hibernate.type.Type; import org.springframework.beans.factory.annotation.Autowired; import org.springfram...
29.78626
127
0.717324
2cd6fb6970d4ca2560dd04d73d0f80cd6b72bd86
1,711
/** * Copyright 2017 The OpenTracing 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 agre...
33.54902
100
0.746932
0c92337c8798ae6013ccc2db5953df50548ae0d0
10,571
package com.mt.user_profile.domain.biz_order; import com.mt.common.domain.model.domain_event.DomainEventPublisher; import com.mt.common.domain.model.validate.Validator; import com.mt.user_profile.application.biz_order.command.CustomerPlaceBizOrderCommand; import com.mt.user_profile.application.biz_order.command.Custom...
50.822115
154
0.666351
702c300e4363e88438996378135db4e023926582
9,358
/* * 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 ...
38.669421
113
0.605685
04dfc24718f991ad5b86f6ee86c0fe46580d1ae4
3,938
package com.guiabolso.mock.helper; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class OperationHelperTest { private final OperationHelper operationHelper = new OperationHelper(); @Test public void testIsLeapYear() { int[] years = new int[] {2000, 2...
33.65812
116
0.608939
7bd1c69b72ba5d6dc54b04f0d8d000f6e49a62b0
14,281
package org.arquillian.algeron.pact.provider.core.httptarget; import au.com.dius.pact.model.RequestResponseInteraction; import au.com.dius.pact.provider.ConsumerInfo; import au.com.dius.pact.provider.HttpClientFactory; import au.com.dius.pact.provider.ProviderClient; import au.com.dius.pact.provider.ProviderInfo; impo...
35.972292
116
0.623976
89115f1156f10f66d72b00c6cfd40cb9e646db77
4,008
package au.com.agilepractices.rules.engine.core.condition; import au.com.agilepractices.rules.engine.core.auditor.RuleAuditor; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.mockito.Mock; import org.mockito.junit.MockitoJUnit; import org.mockito.junit.MockitoRule; import org.mockito....
36.108108
93
0.72505
4fbb8cef9628373d82fdcb731ff9a9e9eb5d8c8b
1,987
/* $Id: TransformerModule.java 18622 2010-08-03 18:56:14Z mvw $ ***************************************************************************** * Copyright (c) 2010 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public Li...
31.046875
96
0.611978
48109e900e526e940a99dcb5646dd82d0388fbe4
4,841
package org.openstreetmap.atlas.checks.validation.linear; import java.util.Arrays; import java.util.List; import java.util.Optional; import org.openstreetmap.atlas.checks.base.BaseCheck; import org.openstreetmap.atlas.checks.flag.CheckFlag; import org.openstreetmap.atlas.geography.atlas.items.AtlasObject; import org....
42.464912
177
0.708118
1e5ce8618a44652a207f0a0410f723245e065207
4,022
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.eventhubs.implementation; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedIterable; import com.azure.resourcemanager.eventhubs.EventHubsManager; import com....
38.304762
112
0.731974
314a695d622f9e693bb66ecf2e2958eaf7ee4adc
1,964
package com.utopia.recovery.core; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.text.TextUtils; import com.utopia.recovery.tools.RecoveryLog; import com.utopia.recovery.tools.RecoveryUtil; import java.lang.reflect.InvocationHandler; import java.lang.reflect....
37.056604
97
0.677699
446dc6a5c86ca930a84163c560ac8455ec932e66
1,006
package net.glowstone.command.minecraft; import org.bukkit.World; import org.bukkit.command.CommandSender; import org.bukkit.command.defaults.VanillaCommand; import java.util.Collections; import java.util.List; public class SaveAllCommand extends VanillaCommand { public SaveAllCommand() { super( "save-all", "Sav...
24.536585
117
0.714712
6f5e6c18cdb0571252ce88f0bd1fadce112e31a1
672
package org.opendata.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import java.util.Da...
26.88
63
0.717262
01eb443c96756509af1d2567d2bdc145f4c6a9f6
580
/** * ************************************************* * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT * ************************************************** */ package org.tilkynna.common.storage; public class ContentStorageException extends RuntimeException { p...
27.619048
70
0.594828
67abeef3f97131f54b43b57ba7480e4b6da011ce
26,786
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.nuklear; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; import static org.lwjgl.system.MemoryStack.*...
52.521569
160
0.73292
42d059c2fb8f7fe39b41849d197be1f6749e24d7
5,464
package me.earth.phobos.features.modules.combat; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import java.util.List; import me.earth.phobos.features.modules.Module; import me.earth.phobos.features.setting.Setting; import me.earth.phobos.util.BlockUtil; import me.earth.phobos.util...
41.393939
206
0.708638
4ba3989216fab6e5aac446e753580c3a79e61551
235
package org.activitymgr.ui.web.logic; public abstract class AbstractEvent { private ILogic<?> source; public AbstractEvent(ILogic<?> source) { this.source = source; } public ILogic<?> getSource() { return source; } }
13.823529
41
0.689362
c4008623d52402e7fe92789a53dcd5e08666492d
17,214
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistrib...
29.782007
103
0.713896
535dbf4c6fcf516e02e69528be649cec5c74dc55
3,488
package authoring.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import authoring.frontend.editor_features.SpawnEntityRow; /** * * @author Frank, Jonathan Ma * */ public class Glo...
24.914286
81
0.627294
3e1b22baf4bc61534e52fb5f21b80bc9368b6cad
693
package com.demo.entity; /** * @author zhang pan * @Description 类描述 */ public class Blog { private Integer id; private String blog; public Blog() { } public Blog(Integer id, String blog) { this.id = id; this.blog = blog; } public Integer getId() { return id; ...
15.4
42
0.477633
bdefa1b4b3253292ecc7f8c886b7be43dfda7c3a
1,735
package com.breeziness.timetable.data.bean; public class CourseBean { private int id; //唯一的id private String cname;//课程名称 private String courseno;//课号 private String name;//老师名字 private String term;//学期 private String croomno;//教师 private int startweek;//起始周次 private int endweek;//结束周次...
17.525253
46
0.573487
33ad0c84b1c146b413e0b940fe0b6acc0f72a64b
349
package me.jessyan.mvparms.hsy.mvp.eventbus; /** * Created by haosiyuan on 2017/5/15. * weibo管理取消解绑 */ public class WeiBoManagerCancleEvent { private int position; public WeiBoManagerCancleEvent(int position) { this.position = position; } public int getPosition(){ ...
17.45
51
0.633238
90d523e08190ee66e61a444ac6c2c860f4848f4e
487
package com.hzqing.system.api.dto.button; import com.hzqing.common.core.service.request.PageRequest; import lombok.Data; import lombok.ToString; /** * @author hzqing * @date 2019-08-12 23:01 */ @Data @ToString(callSuper = true) public class ElementPageRequest extends PageRequest { /** * 菜单id */ ...
17.392857
58
0.681725
6bb0d2f7d03f7d5599af0711c2a854885dc384d3
884
package com.abc.web.filter; import org.springframework.stereotype.Component; import javax.servlet.*; import java.io.IOException; import java.util.Date; //@Component public class TimeFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws ServletException { System.out...
26.787879
132
0.674208
e805011c4a1a1045048f9a6be16023b38b8b6f73
349
package moviles.guiass.data.datasource.memory; import java.util.List; import moviles.guiass.data.models.Document; import moviles.guiass.utils.DocumentCriteria; public interface IMemoryDocumentsDataSource { List<Document> find(DocumentCriteria criteria); void save(Document document); void deleteAll(); ...
18.368421
51
0.770774
1c0352d79ef45c9faf47ceecf49a6838d8932603
228
package life.qbic.projectwizard.control; import java.sql.SQLException; public interface IRegistrationController { void performPostRegistrationTasks(boolean success) throws SQLException; String getRegistrationError(); }
19
73
0.824561
4634c36cf31b445ca888af21d7489fbfac4c36b5
1,193
/******************************************************************************* * Copyright SemanticBits, Northwestern University and Akaza Research * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caaers/LICENSE.txt for details. ******************************************...
27.113636
80
0.654652
55de0edab5f91ebad4b1869f59e68493f6d25feb
7,644
package net.minecraft.src; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Iterator; public class ChunkLoader implements IChunkLoader { private File saveDir; private boolean createIfNecessary; public ChunkLoader(File var1,...
36.227488
210
0.5573
9e89335e2fff493e48a902fb28ec4554d332d6a7
1,702
/** * * Copyright (C) 2011-2017 KSFX. 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 ...
40.52381
89
0.784959
9f49c27e2477050c0ff8a602c9a196a63bccaa24
3,879
package kandrm.JLatVis.lattice.editing.history; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; /** * History manager. Stores history events, supports manipullating with them a moving in history back or for...
25.025806
187
0.59139
6cd381bf95792e0025c96ba98a5bb399baa9a732
819
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package metodosEstaticos; import aula07.*; /** * * @author Lab */ public final class Retangulo extends FormaGeometrica { ...
20.475
79
0.647131
1e4137e74d27b4e613b50759135e3bb001160333
492
package com.luxoft.effectivejava.module02.item11.accounts; public abstract class AbstractAccount { double balance; abstract void verifyAccount(); public AbstractAccount(double balance){ this.balance = balance; } @Override public Object clone() { Object clo...
22.363636
59
0.593496
efdb8de0c6ccf0b3bfdfb346a5da15969e47298c
1,181
package ar.com.javacurisioties.jaxb.lesson5; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import java.util.Date; @XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement @Xm...
21.472727
50
0.616427
1f8b820e27eb511adecc21032821488ee535f3cf
2,709
package com.haohan.platform.service.sys.modules.thirdplatform.feieyun.entity; import com.haohan.platform.service.sys.common.utils.StringUtils; import com.haohan.platform.service.sys.modules.xiaodian.entity.printer.FeiePrinter; import java.io.Serializable; /** * Created by dy on 2018/8/1. */ public class FeieyunRe...
23.973451
114
0.622739
309731cdb873dd94ff41a6a782e5c5a9a236dd03
6,207
package de.fourtytwoways.onion.infrastructure.contracts.db; import de.fourtytwoways.onion.application.repository.ContractRepository; import de.fourtytwoways.onion.application.repository.EnumRepository; import de.fourtytwoways.onion.application.repository.PersonRepository; import de.fourtytwoways.onion.application.repo...
53.508621
128
0.626873
1488496ebc3a3544d35ece15025475f3775aec22
2,007
/* * Copyright 2013-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
26.064935
75
0.674141
5258eb2b6743e7cc1d21248a1ac0dd510c198e1e
2,152
package shopping.content.v2_1.samples.shippingsettings; import com.google.api.services.content.model.PostalCodeGroup; import com.google.api.services.content.model.Service; import com.google.api.services.content.model.ShippingSettings; /** Utility class for working with Shippingsettings resources. */ public class Ship...
50.046512
95
0.657528
5f9c0cb40ece16d87c011a07e00588631f156cac
476
package com.goshgarmirzayev.lastrebound.service.inter; import com.goshgarmirzayev.lastrebound.entity.Link; import com.goshgarmirzayev.lastrebound.entity.Match; import org.springframework.stereotype.Service; import java.util.List; @Service public interface LinkServiceInter { List<Link> findAll(); Link findBy...
20.695652
54
0.768908
06083e4a94605260dc3e6878f85ea35360950d00
1,102
package io.sim.demo.x7; import io.sim.demo.x7.controller.OmsController; import io.sim.demo.x7.controller.OrderController; import io.sim.demo.x7.entity.OrderType; import io.sim.demo.x7.ro.FindRo; import io.sim.demo.x7.ro.OrderRo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans....
23.446809
62
0.713249
80e3a2201b1f011d9281db7ac03938e925ed3971
4,733
package com.example.application.views.pegawai; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Optional; import com.example.application.entity.Customer; import com.example.application.entity.Nilai; import com.example.application.repo.CustomerRepo; ...
40.110169
119
0.691105
0f7d31e827289a1d9f307ffa44d272708a267dfc
5,636
package com.pi.ut.automation.services; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.ConnectException; import java.net.HttpURLConnection; import java.net.URL; import java.util.Arrays; import java.util.HashMap; ...
36.597403
138
0.715224
558e255067f54fca2b0293a9ac985b503c0eeb6c
129
package model.multipleturtle; public interface MultipleTurtleCommand { public AskTellData getData(); public void execute(); }
18.428571
40
0.79845
56edfa202a4353d23949147dd7996a2986147664
1,041
package com.antheminc.oss.nimbus.domain.config.builder; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.springframework.mock.web.MockHttpServletRequest; import com.antheminc.oss.nimbus.InvalidConfigException; import com.antheminc.oss.nimbus.domain.cmd.Action; import ...
40.038462
152
0.820365
67d0fdecbc287243057cbcb160605e4ccbc30c72
546
package tech.xuanwu.northstar.meta; import java.util.ArrayList; import java.util.List; import org.apache.lucene.util.RamUsageEstimator; import tech.xuanwu.northstar.persistence.po.MinBarDataPO; import tech.xuanwu.northstar.persistence.po.TickDataPO; public class ObjectSizeTest { public static void main(String[] a...
24.818182
57
0.754579
81a34123dfaaca02d1aca3e2656c767e47955673
8,503
package edu.ucsd.library.dams.triple; import java.util.Set; /** * Primary interface for TripleStores. All general-purposes classes that work * with TripleStores should use this interface, not the abstract classes or * implementing classes directly. * @author escowles@ucsd.edu **/ public interface TripleStore { ...
34.565041
97
0.634835
64837a768384b1c797b1a5f00a1819ace79921f9
3,567
/* * Copyright 2017 Google, 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 to in...
33.650943
95
0.742361
755ce0d5a8b5e66d3bf925bc788cf09abe0d9bb3
1,928
package com.eiffel.annotators; import com.eiffel.ide.quickfix.EiffelRemoveElementsQuickFix; import com.eiffel.psi.*; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.lang.annotation.Annotator; import com.intellij.psi.PsiElement; import org.jetbrains.annotations.NotNull; import java.util.Array...
47.02439
122
0.704876
b151150179e0fe8f73924d50b9a5af8c75504bd8
4,342
/* * Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
35.300813
151
0.756794
3b1f8d20c2af0a297a8924775b28f43b2c93f0f8
3,787
/* @author-name: Roger Ulate Rivera @author-creation-date: 09/08/2017 */ import javax.swing.JOptionPane; public class LaboratorioCuatro { public static void main(String[] args) { // Nuevas variables String valor; String valorDos; int numeroALetra; String resultadoUno; int resultadoDos; int numer...
38.252525
155
0.736995
252c9ed6964dbb79fda335f69cf667e2206218b8
3,575
package com.kdp.starbarcode.core; import com.google.zxing.BarcodeFormat; import com.google.zxing.BinaryBitmap; import com.google.zxing.DecodeHintType; import com.google.zxing.MultiFormatReader; import com.google.zxing.NotFoundException; import com.google.zxing.Result; import java.util.Collection; import java.util.EnumM...
30.555556
72
0.685035
7d7969f9096e4b3e37507108e0bccbbfff8312ff
586
//,temp,FhirSearchIT.java,40,50,temp,FhirExtraParametersIT.java,44,58 //,3 public class xxx { @Test public void testSearchByUrl() throws Exception { String url = "Patient?given=Vincent&family=Freeman&_format=json"; Bundle result = requestBody("direct://SEARCH_BY_URL", url); LOG.debug("s...
36.625
75
0.665529
75fcf4c27b08cb5615df623d62f9373fb49bfcc8
1,062
package io.redspark.ireadme.init; import javax.servlet.Filter; import org.springframework.core.annotation.Order; import org.springframework.web.filter.CharacterEncodingFilter; import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer; @Order(1) public class AppBootstrap exte...
27.230769
100
0.785311
db8a72b95492be2656f5096fb444f93fa52d0e65
365
package ie.gmit.sw; // 第一步 import java.util.*; public class InheritStack<E> extends ArrayList<E> implements Stackator<E> { private static final long serialVersionUID = 777L; public E peek() { return get(size() - 1); } public E pop() { E element = peek(); remove(size() - 1); return element; } public ...
14.6
75
0.652055
31e86fc9f9b1a5b9a733657accec1d64becf34b0
7,645
/* * Copyright (C) 2010-2015 FBReader.ORG Limited <contact@fbreader.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
30.702811
137
0.724657
eda58d88c543454eb0aa27b37afe9e1fe0ccc330
2,567
/** * Copyright 2013 Mohawk College of Applied Arts and Technology * * 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 re...
23.990654
81
0.67277
45e402d97c517a69d71a6c0c5584d9daef5171ee
14,873
package mobileapp.ctemplar.com.ctemplarapp.billing.view; import static mobileapp.ctemplar.com.ctemplarapp.billing.view.MySubscriptionDialog.CURRENT_PLAN_DATA; import static mobileapp.ctemplar.com.ctemplarapp.utils.DateUtils.GENERAL_GSON; import android.app.ProgressDialog; import android.content.Intent; import android...
43.873156
126
0.640557
8bcb172eabd9f11edbb3582000b7ec0d6c97fb8b
2,050
/** * Copyright 2012 Diego Ceccarelli * * 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 ...
31.060606
132
0.72
57b886a6d2aad6f24bf824675637f79e70569567
812
package r20.top.stream.statistics; import org.junit.Assert; import org.junit.Test; /** * author: roger.luo * * createTime : 2018/8/13 15:06 * * description : **/ public class TestRollingTimeWindowStatistics { @Test public void testRollingTimeWindowStatistics() throws InterruptedException { RollingTim...
18.883721
77
0.683498
8ff825e81759db815313511ed7dd1052f73bcfb5
2,148
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
38.357143
115
0.767225
28722e045391c8da8f95f0f1874bfa3955435450
808
/* * Copyright 2016 West Coast Informatics, LLC */ package com.wci.umls.server.jpa.helpers.content; import java.util.List; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import com.wci.umls.server.helpers.AbstractResultList; import com.wci.umls.server.helpers.content....
26.064516
74
0.766089
5a1ded3a28681b3e46dfdd0e67256028abdd61a7
5,052
package com.c2b.coin.account.entity; import java.math.BigDecimal; import javax.persistence.*; @Table(name = "asset_change_log") public class AssetChangeLog { @Id @GeneratedValue(generator = "JDBC") private Long id; /** * user_id */ @Column(name = "user_id") private Long userId; ...
16.784053
58
0.523159
1bdb346e088d6a24e542b08cf63b053cdc572261
591
package Patterns; import java.util.Scanner; public class PatternTenth { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); System.out.println("Enter the Number: "); int n = sc.nextInt(); int nst = 2 * n - 1; int nsp = 0; int ...
19.7
44
0.543147
c74050f1e5784daf880be5107ead8e733149491c
2,853
package com.weimore.caringhelper.ui.activity; import android.content.Context; import android.content.Intent; import android.databinding.DataBindingUtil; import android.support.annotation.NonNull; import android.text.TextUtils; import com.weimore.base.BaseActivity; import com.weimore.caringhelper.R; import com.weimore...
31.01087
131
0.636523
cc2736edd0f961ff40be29260e4180da78b2cd52
4,933
package com.qlzw.smartwc.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.sql.Timestamp; @Entity public class Dev_repair { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) ...
36.540741
266
0.59254