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
f7f83484bab2c9c41fa8f1fa50cb3982426851f0
535
package refs; import com.axellience.vuegwt.core.annotations.component.Component; import com.axellience.vuegwt.core.annotations.component.Data; import com.axellience.vuegwt.core.annotations.component.Ref; import com.axellience.vuegwt.core.client.component.IsVueComponent; import elemental2.dom.HTMLDivElement; import jav...
25.47619
71
0.826168
4f95d722f293e8e20d7c02a89d5f7f4f8a001b69
28,626
/** * 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 m...
35.604478
110
0.560994
025dcb7fcdd6a09ef88a82c5fc9d507e8579d6b5
4,814
package com.coditory.freemarker.reactor; import java.io.File; import java.nio.file.Path; import java.util.Collection; import java.util.regex.Pattern; import static com.coditory.freemarker.reactor.TemplateConstants.INDEX_FILE; import static com.coditory.freemarker.reactor.TemplateConstants.PROTECTED_TEMPLATE_PREFIX; i...
46.737864
151
0.640631
5b12ba7336d0cb98fb2dd52ca0b4c6c4e8a311ca
239
package main.flowstoneenergy.api.energy.direct; import net.minecraft.util.EnumFacing; public interface IDirectGenerator extends IDirectSocket { int extract(int flow, int force, EnumDirectType type, EnumFacing side, boolean real); }
26.555556
89
0.803347
4508711164d71d58646e756ee25dcf389604b2f5
325
package play.learn.java.design.queue_based_load_leveling; public class Message { private final String msg; // Parameter constructor. public Message(String msg) { this.msg = msg; } // Get Method for attribute msg. public String getMsg() { return msg; } @Override public String toString() { return msg; ...
15.47619
57
0.707692
dfcf960f216a63a179297e29d83004c5fd5039a5
2,370
/* * Copyright (C) 2019-2021 ConnectorIO Sp. z o.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 applicab...
37.03125
120
0.792827
fbd297605661abea5d6fdaae6e4cd6305505cd29
1,786
package org.wavescale.sourcesync.config; import org.wavescale.sourcesync.api.ConnectionConfiguration; import org.wavescale.sourcesync.api.ConnectionConstants; /** * **************************************************************************** * Copyright (c) 2014-2107 Faur Ioan-Aurel. ...
35.72
81
0.588466
83d1a5257d7d0981d27575008f4fa257b651e0b9
2,959
package se.vandmo.textchecker.maven; import static java.util.Arrays.asList; import static java.util.Collections.unmodifiableList; import static se.vandmo.textchecker.maven.utils.PathMatchers.any; import static se.vandmo.textchecker.maven.utils.PathMatchers.anyFolder; import static se.vandmo.textchecker.maven.utils.Pat...
34.811765
108
0.719838
f790272f4983b7a898700bd24269a55e32e161f2
2,811
/******************************************************************************* * Copyright (c) 2000, 2010 IBM Corporation 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, an...
26.271028
81
0.610459
a6e9c9a7e4163b6babd6955dd666e917d84de3b0
1,092
/* * Copyright (c) 2006-2011 Christian Plattner. All rights reserved. * Please refer to the LICENSE.txt for licensing details. */ package ch.ethz.ssh2.packets; import java.io.IOException; import java.math.BigInteger; import ch.ethz.ssh2.PacketFormatException; import ch.ethz.ssh2.PacketTypeException; /** * @autho...
23.234043
113
0.657509
76220123fadae6e6e8adb83d94d12dae60c17683
7,708
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.base; import android.content.pm.ApplicationInfo; import android.os.Build; import android.system.ErrnoException; import...
42.351648
100
0.639595
9cc59c8c87c0c4e4f2f08da6e3ab990653e50b8f
15,420
package com.sv.mc.repository; import com.sv.mc.pojo.AreaEntity; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import java.util.List; ...
43.68272
164
0.549157
e349a1090df798c6eefc2b9614d6d7660802ee52
301
package com.cloud.resource.server.api; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class ResourceController { @GetMapping("/getInfo") public String getInfo(){ return "详情"; } }
20.066667
62
0.747508
7ecaf733f1cb3b3c7561cf5931ec879fe97584cf
2,905
package uk.ac.cam.cl.dtg.picky.dataset; /* * #%L * Picky * %% * Copyright (C) 2015 Daniel Hintze <dh526@cl.cam.ac.uk> * %% * 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 * * h...
27.666667
77
0.758692
5c8b3126badda5eb8c919518c750b881c62b4c15
3,278
package com.salaboy.cdf.handlers.run; import com.salaboy.cdf.CloudEventHandler; import com.salaboy.cdf.model.entities.build.Module; import com.salaboy.cdf.model.entities.build.Project; import com.salaboy.cdf.model.entities.run.Environment; import com.salaboy.cdf.model.entities.run.Service; import com.salaboy.cdf.servi...
37.25
149
0.630567
9cbf89f1ec4ed8a9189ab5628b355677d49baffc
551
package org.pac4j.play.deadbolt2; import be.objectify.deadbolt.java.models.Role; import org.pac4j.core.util.CommonHelper; /** * A simple role from pac4j. * * @author Jerome Leleu * @since 2.6.0 */ public class Pac4jRole implements Role { private final String name; public Pac4jRole(final String name) { ...
18.366667
72
0.651543
22cb1a4ab774be7855794bf6b4de1aeeb152103b
542
package org.kyojo.schemaorg.m3n4.doma.bib.clazz; import org.seasar.doma.ExternalDomain; import org.seasar.doma.jdbc.domain.DomainConverter; import org.kyojo.schemaorg.m3n4.bib.impl.COVER_ART; import org.kyojo.schemaorg.m3n4.bib.Clazz.CoverArt; @ExternalDomain public class CoverArtConverter implements DomainConverter...
23.565217
77
0.800738
9dbf08db0555b8cb9cff2e765a0d6912259d982b
301
package onion.poc.domain.model; import lombok.*; @Builder @AllArgsConstructor @NoArgsConstructor @Getter @Setter public class Customer { private long id; private String firstName; private String familyName; private String cpf; private String cnpj; private Address address; }
17.705882
31
0.740864
7491799937bd1d03ce437ed638669d515b8b9164
484
package com.skytala.eCommerce.domain.product.relations.prodConfItemContent.event.type; import com.skytala.eCommerce.framework.pubsub.Event; import com.skytala.eCommerce.domain.product.relations.prodConfItemContent.model.type.ProdConfItemContentType; public class ProdConfItemContentTypeUpdated implements Event{ priv...
25.473684
109
0.82438
26a0d212bcc80e56c8520d3db96215bf103173a6
688
package com.tagsys.zhenlin.lab1; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class Main2Activity extends AppCompatActivity { public final String EXTRA_MESSAGE1 = "com.example.myfirstapp.M...
29.913043
74
0.738372
7413322842ca296fa8e2cef1403e6036584959d9
2,432
package rocks.inspectit.ocelot.core.instrumentation; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.event.EventListener; import org....
39.868852
123
0.751234
174e83f6a021766e84dc858dcf4b05db9db20e87
12,416
package c.zju.jianshu.activity; import android.annotation.SuppressLint; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.app.Fragment; i...
38.320988
161
0.492268
afdc7d2df3a75aad953bcd5756508a90b6707984
112
package fun.epoch.learn.design.pattern.creational.simplefactory; public interface Video { void record(); }
18.666667
64
0.767857
09a48f8d24ae74e975bd74807070fe21f35a9561
4,292
/* * Copyright 2021 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...
39.376147
181
0.697577
f8b03276c7a541189fddb5399d27b607cf3c5588
7,747
package com.smartgwt.mobile.client.widgets.form.fields; import java.util.Date; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.InputElement; import com.google.gwt.user.client.Event; import com.smartgwt.mobile.SGWTInternal; import com.smartgwt.mobile.cl...
30.027132
115
0.681296
619ab4686c4cd2dd617a715998307d1e7354b153
20,180
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
36.491863
221
0.745937
79e7df4341f3a7dd21c85419a21555798599b83b
10,002
package de.bogenliga.application.business.vereine.impl.business; import de.bogenliga.application.business.regionen.api.RegionenComponent; import de.bogenliga.application.business.regionen.api.types.RegionenDO; import de.bogenliga.application.business.vereine.api.types.VereinDO; import de.bogenliga.application.busines...
33.34
98
0.657269
bad85ab25a1c94398651f95fd9a6d3c2af258968
12,491
/* * 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...
32.360104
83
0.513169
130e4ff63e0b251d44f995d505d399fe2739076e
137
package org.webpieces.http2client.api; public interface Http2SocketListener { public void socketFarEndClosed(Http2Socket socket); }
17.125
52
0.817518
4536166da789d19d574edb3ec72fae5a899ee150
711
package challenges; //import challenges.stackandqueues.PseudoQueue; import challenges.stackandqueues.Queue; import org.junit.Test; import static org.junit.Assert.assertEquals; public class PseudoQueueTest { // @Test // public void testEnqueueAndDequeueAndPeek () throws Exception { //// confir...
28.44
69
0.628692
2e0cb3fa5296a8deb04e80b3f2bb8199176092fc
966
package de.hawLandshut.scrum.services; import java.util.List; import javax.ejb.Stateless; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import de.hawLandshut.scrum.model.Backlogitem; @Stateless public class BacklogitemServiceBean implements BacklogitemServi...
24.15
126
0.810559
b3a8d2b1c485a2e8d410d8d909877ab669aabb89
494
package edu.fiuba.algo3.modelo.InteraccionConArchivos.lectoresTest; import edu.fiuba.algo3.modelo.InteraccionConArchivos.Lector; import edu.fiuba.algo3.modelo.ladron.Ladron; import java.util.ArrayList; public class LectorLadronesParaTest implements Lector { private final ArrayList<Ladron> policias; public ...
24.7
67
0.755061
fb0ddd8aa0ffe51891cdec4020d1bae5b8fd8722
10,849
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of ...
36.284281
133
0.626325
7dd05794f60bce992c9f8906bac4918014f7e48f
73
package com.github.solymus.entity.passive; public class Ocelot { }
12.166667
42
0.726027
b90afd1b7d97aa888f76be1ccb1c03579fe6ea4f
1,393
package org.woo.framework.util; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import org.apache.commons.codec.binary.Base64; /** * Created by Administrator on 2017/6/10. */ public class GenerateKeyUtil { /** * @param t * @return * @throws NoSuchAlgorithmExc...
28.428571
77
0.620962
3a4288196597cc0015f27f9cf61dc3b2a87785e6
2,153
package com.dyhdyh.helper.viewvisible; import android.graphics.Rect; import android.view.View; /** * @author dengyuhan * created 2017/12/5 14:24 */ public class ViewVisibleInfo { private View itemView; private int position; //true完全可见/部分可见;false不可见 private boolean visible; //可见的坐标信息 priva...
22.427083
85
0.69438
fd95fb6805c8ac3f3e388aa99dad15298a151b72
815
package org.ixming.androidrubick.db4android; import android.content.ContentValues; /** * if you want to update some data, you'd determine the specific fields you'd modify, * use this class to put names and values of bean's fields to ContentValues * * <p> * 如果想要更新(Update,delete)表中的信息——又不需要更新所有的字段,或者调用处知道Bean中包含的...
31.346154
85
0.757055
bd56422fb32a081e5d52ca2635e1d2ff0ded5c72
7,129
package org.im97mori.ble.characteristic.u2b3a; import static org.im97mori.ble.BLEUtils.BASE_UUID; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import android.bluetooth.BluetoothGatt...
40.050562
115
0.736429
2538ba677653d85b9e8dd682f02e9e9b08730a34
808
package com.leetcode.tree; import com.leetcode.model.TreeNode; import com.leetcode.utils.TreeUtils; import org.junit.Test; public class MergeTrees { private TreeNode mergeTrees(TreeNode t1, TreeNode t2) { if (t1 == null) { return t2; } if (t2 == null) { return t1; } TreeUtils.prin...
21.837838
58
0.636139
24183df1dbfca026a7b4d1453e81a89dd1259b65
15,399
import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.Desktop; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.GregorianCalendar; import java.util.List; import java.util.concurrent.ThreadLocalRandom; ...
51.33
323
0.466978
b7b61d09abac28d0a5b7fe21bc807d2e71b522ec
3,943
/* * Copyright (c) 2015, 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 ...
31.798387
87
0.622115
80a9a3bafbaa525b7bda2b218d16ea8671ebbde2
3,091
package com.yusuf.bentenmod.data.loot; import com.yusuf.bentenmod.Main; import com.yusuf.bentenmod.core.init.BlockInit; import com.yusuf.bentenmod.core.init.ItemInit; import net.minecraft.block.Block; import net.minecraft.data.loot.BlockLootTables; import net.minecraftforge.registries.ForgeRegistries; import java.uti...
42.342466
112
0.681333
f1de851f3c8e0ea84a801cfb1a34c53de8d15403
1,110
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.team8410.subsystems; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants;...
21.764706
105
0.740541
2d77f0b4322b66d7e6acd69996083e8ed5ee6c4f
1,981
package vdsMain.transaction; public class TxInfo { //f13350a String sendAddress; //f13351b String receiveAddress; /* renamed from: c */ String f13352c; //f13353d String sumVinValue; //f13354e String sendSumValue; //f13355f String selfAddressValue; //f13356g ...
18.174312
49
0.597678
da3ed49a75f1b10de6aba8ea8b114dac476e04c2
6,775
package com.github.restup.service; import com.github.restup.bind.MethodArgumentFactory; import com.github.restup.bind.param.ParameterProvider; import com.github.restup.errors.ErrorFactory; import com.github.restup.errors.Errors; import com.github.restup.query.PreparedResourceQueryStatement; import com.github.restup.qu...
35.846561
123
0.614465
6dd8fc676644e3f451ee0cf524ac0c2447a9d000
5,659
package com.yuuko.modules.audio.handlers; import com.sedmelluq.discord.lavaplayer.track.AudioTrack; import com.sedmelluq.discord.lavaplayer.track.AudioTrackEndReason; import com.yuuko.Yuuko; import com.yuuko.database.function.GuildFunctions; import com.yuuko.events.entity.MessageEvent; import com.yuuko.scheduler.Sched...
30.424731
141
0.620074
406c547f4ed23ec9e3096a8430064b46a9c3a25a
1,870
package org.cukesalad.rest.support; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Properties; import javax.ws.rs.core.MultivaluedMap; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationExcep...
35.961538
96
0.779679
6906936107ed1e6373adfa9478359cb51dac6881
459
package com.lambdaschool.javagdp; import lombok.Data; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Data @Entity public class Country { private @Id @GeneratedValue Long id; private String country; private Long gdp; public...
17.653846
45
0.649237
a6af95c5b019bcec1b1a13f2eeae285f781bf2b3
3,061
package com.groupdocs.comparison.examples.advanced_usage.generate_page_previews; import com.groupdocs.comparison.Comparer; import com.groupdocs.comparison.common.delegates.Delegates; import com.groupdocs.comparison.examples.SampleFiles; import com.groupdocs.comparison.examples.Utils; import com.groupdocs.comparison.op...
48.587302
144
0.523685
6950f0ed7d72a483828c44affa0fb51837e3ae81
4,513
package com.oneliang.test.others; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import java.util.Set; import com.oneliang.util.common.ClassUtil; import com.oneliang.util.common.StringUtil; public class TestParameterParse { public String getString(){ return "test"; } public ...
39.938053
118
0.741192
fb82d5c58054ef5ed4236b17fb1b224ef86139d3
830
package com.github.guitsilva.battleship.view.frames; import com.github.guitsilva.battleship.view.Console; public class InitialFrame extends Frame implements Renderable { public void render() { Console.clear(); this.renderHeader(); Console.print("Options:", 100, true, ' '); Console.print(""); ...
20.75
63
0.593976
2a9e4fc87f23eba9b5eb371cccd27f22140f40c4
891
package seedu.address.logic.commands.strategy; import static seedu.address.commons.core.Tabs.DEFAULT; import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; import static seedu.address.logic.commands.strategy.ExportCommand.MESSAGE_EXPORT_ACKNOWLEDGEMENT; import org.junit.jupiter.api.Test; i...
35.64
109
0.785634
52474e026f2c58274c13e704f649e85ebbbafa01
1,977
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
26.716216
82
0.704603
235b3ea151b62280ae2aadff6a295871b67228d0
1,483
// javac arraylist.java // java arraylist import java.lang.String; import java.util.List; import java.util.Arrays; import java.util.ArrayList; public class arraylist { public static void main(String[] args) { // Object based empty ArrayList ArrayList<Object> jlist = new ArrayList<Object>(); ...
30.265306
59
0.621713
9c9f813bdc267f9fdeb38e88c438b420c349139c
112
public class Foo { void m() { int foo = 1; foo<caret> + 2 /* comment */; // comment2 } }
18.666667
49
0.446429
dedc0e1230c428b93f06ccaf531613db760b207b
186
import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.io.*; import java.text.*; import java.util.regex.*; public class Test { }
13.285714
26
0.650538
4dfdd8fa5c7a41af926d1ee1c0aa8c27177a3291
343
public class PrimeNumb { public static void main(String[] args) { int numb= 0; for (int n=1; n<=100; n++) { for (int i= 2; i<=n-1; i++) { if (n%i==0) { numb=numb+1; } } if (numb==0) { System.out.println(n); } else { numb=0; } ...
10.71875
42
0.379009
4cd135174b7e4c56486e9701cb98aba412c8ec09
2,014
package com.byd.wms.webservice.ewm.sap.rfc.functions; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>anonymous complex ...
21.655914
95
0.553128
e7b5d867c01439e75585cf420122cf17955cc362
11,899
/* $Id: ArchiveReaderFactory.java 4977 2007-03-09 23:57:28Z stack-sf $ * * Created on August 18th, 2006 * * Copyright (C) 2004 Internet Archive. * * This file is part of the Heritrix web crawler (crawler.archive.org). * * Heritrix is free software; you can redistribute it and/or modify * it under the terms of ...
37.536278
83
0.645432
6d44dc138d628953f5a723611ba67a53970a8ece
1,396
package us.ihmc.robotics.geometry.shapes; import javax.vecmath.Point3d; import us.ihmc.robotics.geometry.FramePoint; import us.ihmc.robotics.referenceFrames.ReferenceFrame; public class FrameSphere3d extends FrameShape3d<FrameSphere3d, Sphere3d> { private final Sphere3d sphere; public FrameSphere3d() { ...
22.516129
99
0.681948
003f1fc7fde9c0d2df12b40198934a277af561e7
2,690
package net.giovannibotta.sets; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import java.util.Arrays; /** * @author giovanni * @since 4/15/14 */ public final class DisjointSetForest { private final int[] parent; private final int[] rank; public DisjointSet...
26.9
120
0.539777
44d8d87c73727c0417fe23178342b49c6c901ac7
1,776
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
32.290909
114
0.769707
c3003f19e63afa79592f2503b82830dcd7595b65
232
package io.astraeus.util; import java.util.logging.Logger; public final class LoggerUtils { public static Logger getLogger(Class<?> clazz) { return Logger.getLogger(clazz.getName()); } }
19.333333
55
0.625
afd61587a4c0be8d71dd743fa5a4f6b9eb747921
50,868
package com.svs.ensign.resort.service.impl; import java.util.List; import net.sf.json.JSONObject; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.svs.ensign.resort.bean.AggingaccountpaybleBean; import com.svs.en...
40.085106
176
0.783911
bd4db23dd19e773b78cfbec57f7f085627a34987
2,475
/* * Copyright 2015 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 applica...
33
98
0.74303
e19136bea80623290545525d4fe2b2b1c20112cf
440
package com.capinfo.utils; public class Result { private int status; private String msg; private DataBean data; public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = ...
13.75
37
0.677273
42ba9810c7def61b2f125f54da0c941cd67774de
1,803
package com.booking.utilities; import com.opencsv.CSVReader; import org.testng.annotations.DataProvider; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Method; import java.util.*; public class CsvDataProviders { @DataPro...
39.195652
111
0.573489
2edf9faeb460fcc4c218819d8fa737ab5128a009
2,501
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.machinelearning.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fas...
29.423529
120
0.646941
76aea7b0e99dfe99ecd425e0494c04ef361f9177
3,775
package me.roybailey.springboot.controller; import com.fasterxml.jackson.databind.ObjectMapper; import feign.*; import feign.jackson.JacksonDecoder; import feign.jackson.JacksonEncoder; import lombok.extern.slf4j.Slf4j; import me.roybailey.data.schema.UserDto; import me.roybailey.springboot.UserServiceApplication; imp...
30.443548
115
0.662252
6cc476d07cf753b43a5db1c92c74bacfba9b873e
42,158
/* * Copyright (c) 2021, 117 <https://twitter.com/117scape> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, thi...
32.504241
246
0.66163
bff006f118e2c778e1fd30a264700ac42ee81f96
3,081
package com.linln.admin.system.service.impl; import com.linln.admin.core.enums.StatusEnum; import com.linln.admin.system.domain.Dept; import com.linln.admin.system.repository.DeptRepository; import com.linln.admin.system.service.DeptService; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
25.46281
107
0.636806
67463e3c086b346b05879802c8621363f2580261
1,661
package com.egoveris.ffdd.render.zk.ws; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; public class Client implements FactoryBean<Object>, InitializingBean { privat...
23.069444
83
0.783263
70985741adb0bcaf35ecd682bf516c4eee851af6
543
package aima.core.nlp.ranking; import java.util.List; import java.util.Map; /** * * @author Jonathon Belotti (thundergolfer) * */ public class RunHITS { public static void main(String[] args) { List<Page> result; // build page table Map<String, Page> pageTable = PagesDataset.loadDefaultPages(); // Crea...
20.111111
64
0.679558
185c899addcccffb8c4d6be8f0197d55f4bb4932
2,083
package org.blacksmith.finlib.math.analysis.interpolation; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import org.blacksmith.finlib.math.analysis.UnivariateFunction; public class PolynomialSplineFunction extends AbstractSplineFunction impleme...
31.089552
119
0.719155
4c9324fb40a3ee4a8979c3bc04253a3b03f44921
396
package top.chenqwwq.leetcode.archive.$20200418.common; import java.util.stream.IntStream; /** * @author CheNbXxx * @description * @email chenbxxx@gmail.con * @date 2019/1/22 13:34 */ public class LeetCode977 { static class Solution { public int[] sortedSquares(int[] A) { return IntStream...
22
85
0.633838
8c9531403ab9dc6900a671823afadeabd7d70621
4,668
package com.BookStore.core.service; import com.BookStore.Controller.Controller; import com.BookStore.ControllerService; import com.BookStore.Model.Validators.BookValidator; import com.BookStore.Model.Validators.ClientValidator; import com.BookStore.Models.Book; import com.BookStore.Models.Client; import com.BookStore....
29.358491
144
0.633033
b3d6dd7c0f74692635d5888ad32b543392001b1c
4,222
package aduial.ithildin.dao; import aduial.ithildin.dbutils.DBManager; import aduial.ithildin.entity.Root; import aduial.ithildin.util.Utilities; import aduial.ithildin.exception.SauronException; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.dao.DaoManager; import com.j256.ormlite.logger.Logger; import com....
36.08547
102
0.614164
eb0f54d2a1569fb6fac2c4fd92181a3ec5795bbc
4,598
package jspetrinet; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Map; import java.util.Set; import java.util.TreeSet; import jspetrinet.exception.JSPNException; import jspetrinet.exception.JSPNExceptionType; import jspetrinet.marking.*; import jspetrinet.parser....
27.532934
124
0.621792
2ae3f35280798bdd4c6010bd2a47e4fcc52c1cf6
6,800
/* * Copyright 2021 IBM Corporation * * 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...
34
99
0.696176
de817979cc4b36071e8ae50445965bc7ade06688
2,286
package com.hvnis.niscrum.cache; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.c...
34.119403
111
0.741032
e4b92b6dbdb99c6ee3cabf6e39f9158fa8e6ab79
8,027
package com.zagula.JPK; import java.math.BigDecimal; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Arrays; public class FileValidator { final static String DATE_FORMAT = "yyyy-MM-dd"; final static String COUNTRY_CODE_EU = "AT|BE|BG|CY|CZ|DK|EE|F...
44.104396
787
0.682198
aca0ecd8b9ff9cf604a0c16a7d5afe3e00f5a1e1
1,706
/** * Copyright © 2019 Apache IoTDB(incubating) (dev@iotdb.apache.org) * * 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 ...
25.848485
75
0.700469
6568a545f6ffbac375ea6416754dee2ba1bd9b2b
154
/** * Created by Andrey on 09.08.2017. * 3. Реализовать собственный механизм блокировок Lock. на основе synch wait notify */ package ru.apetrov.MyLock;
30.8
83
0.746753
98cc5a95e69885f09fcbf8cb8b4332c924706f0a
10,504
package com.alibaba.smart.framework.engine.test.process; import java.util.HashMap; import java.util.List; import java.util.Map; import com.alibaba.smart.framework.engine.constant.DeploymentStatusConstant; import com.alibaba.smart.framework.engine.constant.RequestMapSpecialKeyConstant; import com.alibaba.smart.framewo...
47.103139
130
0.769326
927ab1760962a4316f0a8a3ce0c223198e8ebbbf
1,839
package com.netease.nim.camellia.redis.proxy.monitor; import com.netease.nim.camellia.core.model.Resource; import com.netease.nim.camellia.core.model.ResourceTable; import com.netease.nim.camellia.core.util.ReadableResourceTableUtil; import com.netease.nim.camellia.core.util.ResourceTransferUtil; import com.netease.ni...
35.365385
113
0.671561
d23a27630a26f44d896713d54ebed33d88f332b8
5,708
package fr.inria.spirals.repairnator.pipeline; import com.martiansoftware.jsap.FlaggedOption; import fr.inria.spirals.repairnator.notifier.PatchNotifier; import fr.inria.spirals.repairnator.process.inspectors.ProjectInspector; import fr.inria.spirals.repairnator.process.inspectors.RepairPatch; import org.junit.Ignore;...
38.829932
148
0.681324
f51bcc46f24f6c9aac6273c604b7e7183a4ba6ae
3,503
package uk.gov.ida.rp.testrp.metadata; import net.shibboleth.utilities.java.support.component.ComponentInitializationException; import net.shibboleth.utilities.java.support.xml.BasicParserPool; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.opensaml.core.config.InitializationExce...
46.706667
145
0.786754
2c316cbc0b261f21270c0d57a746d75189275742
1,076
/* * Copyright 2018 LinkedIn Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
30.742857
80
0.728625
84883de57cd878fa69a1596abec7d94ff5d99d2f
3,150
/* * Copyright (c) 2018 - 2021, Zaphod Consulting BV, Christine Karman * This project is free software: you can redistribute it and/or modify it under the terms of * the Apache License, Version 2.0. You can find a copy of the license at * http://www.apache.org/licenses/LICENSE-2.0. */ package nl.christine.schwart...
40.909091
111
0.766349
c0a7b4a16ab397076e3fac27e55f43c47185502c
2,535
package it.marcoberri.dockitech.model; import it.marcoberri.dockitech.resources.CollectionNames; import it.marcoberri.dockitech.resources.FieldsName; import java.util.HashMap; import java.util.Map; import org.mongodb.morphia.annotations.Entity; import org.mongodb.morphia.annotations.Indexed; import org.mongodb.morph...
21.125
89
0.718738
2f45548842c0c246610ddd1485a8821c8af720bb
759
package application; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Group; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import javafx.scene.media.MediaView; import java.io.File; public class AudioMedia extends Application { public void start(Stage ...
23
117
0.73386
3d4bc08868c10554185cdc102323ed8a20157ffe
1,183
package com.hsy.record.model; /** * Created by developer2 on 2017/7/11. */ public class PlanInfo { private Long id ; private String description; private Long startTime; private Long completeTime; private String remark; private Integer status; public Long getId() { return id...
16.661972
52
0.608622
d049b81e0c307a727525b87ffb902ba66985a40a
2,250
/* * 7/26/19 7:15 PM. Created by Bartosz Kruba. */ /* * 7/26/19 7:12 PM. Created by Bartosz Kruba. */ package com.company.chess_online_bakend_api.controller; import com.company.chess_online_bakend_api.data.command.UserCommand; import com.company.chess_online_bakend_api.service.AuthenticationService; import io.sw...
34.090909
117
0.744444
8df42c2474c48629f968e2f47129a20edf41a091
891
import java.io.*; import java.net.*; public class DailyAdviceServer{ String[] adviceList={"Take smaller bites","Go for the tight jeans","One word:inappropriate","Just for today, be honest","You might want to rethink that haircut"}; public void go(){ try{ ServerSocket serverSock=new ServerSocket(4242); ...
29.7
164
0.65881
811be7b6ea80a948f4e6e6339a9f78c04498b8c4
674
package com.zfoo.tank.admin.model.gm; /** * @author jaysunxiao * @version 1.0 * @since 2020-06-05 21:26 */ public class ChangePlayerLevelRequest { private String userName; private int playerLevel; private int exp; public String getUserName() { return userName; } public void set...
16.85
49
0.614243
0e98a57b94fed82db9873148bf5cb16d86c6621a
5,233
import javax.swing.JOptionPane; public class App { /** * Multilista de la aplicacion. */ private static Universidad universidad = new Universidad(); public static void main(String[] args) throws Exception { int opcionMenu = 0, dato; String datoStr; PrecargaDatos(); ...
39.052239
117
0.588955
4dc702c765971bdc4cf29859fd66ac9595204194
2,873
package com.icepoint.framework.data.util; import org.hibernate.annotations.*; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.data.util.Optionals; import org.springframework.data.util.ProxyUtils; import org.springframework.lang.Nullable; import org.springframework.util.Assert; i...
32.280899
112
0.656109
2a42058ab89e579187e45b828c8b0af8cd47b099
7,107
package com.project.convertedCode.globalNamespace.namespaces.TheSeer.namespaces.Tokenizer.classes; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.classes.StaticBaseClass; import com.runtimeconverter.runtime.classes.RuntimeClassBase; import com.runtimeconver...
42.556886
113
0.556916
dd1f589317c616a3bc0f3f5b6bf663e8f3870492
1,253
package net.openid.conformance.openid.client; import net.openid.conformance.condition.Condition; import net.openid.conformance.condition.as.ExtractNonceFromAuthorizationRequest; import net.openid.conformance.testmodule.PublishTestModule; import net.openid.conformance.testmodule.TestFailureException; import net.openid....
39.15625
113
0.820431
c1c580b0fe5dda821b43739d9de8323cbb2673bb
7,329
package L09; import java.io.File; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SAXE...
49.187919
158
0.629963