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
cdfb3c85cb081eefaade6abe740de7980d8ac612
457
package org.apache.batik.css.engine; import org.apache.batik.util.ParsedURL; import org.w3c.dom.Element; public interface CSSStylableElement extends Element { StyleMap getComputedStyleMap(String var1); void setComputedStyleMap(String var1, StyleMap var2); String getXMLId(); String getCSSClass(); Pa...
21.761905
66
0.78337
dd89eb570e63aed0eb7f06d76a87048215bfb54a
2,906
package org.ei.opensrp.path.fragment; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v7.app.AlertDialog; import android.view.LayoutInflater; import android.view.View; import android.view.Window; import o...
33.790698
93
0.592223
32817aa3c9cad777d079b39dd7519dc1d276429f
8,744
/******************************************************************************* * Copyright 2015 ShopGun * * 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/li...
32.996226
112
0.620425
1bbaa8d660fab6d1a6c10862f22f83caeb703357
191
package net.minecraft.src; public class ItemCoal extends Item { public ItemCoal(int var1) { super(var1); this.setHasSubtypes(true); this.setMaxDamage(0); } }
19.1
36
0.633508
7fe532241a3ef97b74de749742b1c63cc7cd6ef0
6,322
package voss.discovery.agent.alaxala.profile; import net.snmp.RepeatedOidException; import net.snmp.SnmpResponseException; import voss.discovery.agent.mib.Mib2; import voss.discovery.iolib.AbortedException; import voss.discovery.iolib.snmp.SnmpAccess; import voss.discovery.iolib.snmp.SnmpUtil; import java.io.IOExcept...
28.477477
97
0.650269
fbb204482989d313c7fa9d570a420c6b1e8f3017
259
package com.vuforia; public class CameraDevice { static final CameraDevice cameraDevice = new CameraDevice(); public static CameraDevice getInstance() { return cameraDevice; } public void setFlashTorchMode(boolean enabled) { } }
21.583333
64
0.710425
0aaaa23371878d0a433b377f184ec23456ec78a3
1,461
package main; import java.io.File; import kepLib.KepInstance; import kepLib.KepParseData; import kepLib.KepTextReaderWriter; import unosData.UnosData; import unosData.UnosDonorEdge; import unosData.UnosExchangeUnit; import com.google.common.base.Function; import com.google.common.base.Functions; import exchangeGrap...
35.634146
109
0.755647
e3aea64bc450aa7a187094a17d2a8823b27cb5f2
1,172
package com.devsuperior.userdept.entities; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name = "tb_...
18.3125
87
0.732935
d5c6c75df80ae167fcd6390a8af49656c682d824
8,724
package com.github.forax.tomahawk.vec; import static java.nio.file.Files.list; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; ...
31.723636
90
0.626662
9c320bd037edfed40ae2a0b151b5728280a0c5df
8,152
class k4b { public int DScVoZ7; public static void pDjGM (String[] T_r9IPwhl4FHC) throws XSb5ACJpB { e5WnqHS7R[] u8bGlF3Tqslb; ; boolean[] Cv = new ug4l6[ false[ !-true.fDWgGi()]].m = -!Nerv57()[ -PZeh().AveQr2NR]; void[][] M2dVBNz = !this.wVuox21meyNw() = !true.oFYEs42; ...
36.392857
181
0.488592
dd64885902955afc7482080bff2990abfe7bc8c2
3,567
/* * 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 applicable l...
39.633333
124
0.736193
39a882e31875971a08ab462c496d4ac0bcc0ad04
1,728
package com.obank.kafka.connect.cassandra; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; import org.apache.kafka.connect.sink.SinkConnector; public class OBankCassandr...
24.685714
78
0.70081
bff5f16ba1886ec86bc9825d9a6197017ae289bb
16,925
package com.github.abagabagon.verifico.automation.web.selenium; import java.util.List; import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.By; import org.openqa.selenium.StaleElementReferenceException;...
47.542135
279
0.688154
c770bc8578ac1d85d95fb262f7cc7c40e306c5f1
3,020
/** * Copyright 2010-2016 the original author or authors. * * 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 ...
26.26087
97
0.677483
595874a78a015843003a16673525bbb0c3d18c5c
181
package com.github.taymindis.nio.channeling.http; public enum HttpResponseType { PENDING, TRANSFER_CHUNKED, CONTENT_LENGTH, PARTIAL_CONTENT // Not supporting yet }
20.111111
49
0.751381
0c2a3c92659f0a405b16971d6627f06e346805d0
31,188
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
46.618834
157
0.585417
dba6569a09257ba3934f71efef1c9abaef0d8c72
2,426
/* 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 writing, software * distributed ...
37.90625
124
0.774938
c5536f115d120ca3cc6ca3eb107544323b3cb8c0
490
package com.jiuzhang.flashsale.exception; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; @Getter @Setter @EqualsAndHashCode(callSuper = false) public class RedisStockException extends RedisException { private static final long serialVersionUID = 1L; private Long activityId; ...
22.272727
65
0.746939
11a8bb4bba82617a0dd5f997b67ba7f2ec38f9ba
3,106
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the Smart Developer Hub Project: * http://www.smartdeveloperhub.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
34.131868
123
0.624276
5290324bb90eb69abe85727f5aaba1ad76757928
6,359
/* * Copyright 2020 Arthur Sadykov. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
41.292208
111
0.650102
b75ab95e8137af5f888ed353c290d33fd4a85833
1,436
package us.ihmc.humanoidBehaviors.taskExecutor; import us.ihmc.humanoidBehaviors.behaviors.primitives.HandDesiredConfigurationBehavior; import us.ihmc.humanoidBehaviors.behaviors.simpleBehaviors.BehaviorAction; import us.ihmc.humanoidRobotics.communication.packets.dataobjects.HandConfiguration; import us.ihmc.humanoid...
43.515152
182
0.840529
6348813a177aadd7a399713e36d304aa89b5bc9c
83
package org.batfish.representation.azure; public class ConvertedConfiguration { }
16.6
41
0.831325
7ef05c879b07aac50b94a88986442afde8c45923
5,839
package Practice2; import java.sql.*; import java.util.ArrayList; import java.util.List; public class PetDao { static { try { Class.forName("com.mysql.jdbc.Driver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } } public static Connection getC...
36.267081
141
0.53999
02f1f789f79541d8b85316f50d53cde19482a571
7,363
/* * 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 org.ftd.educational.mvc.cmds; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util....
38.348958
126
0.585902
40b871332358eb1f6cd72c322ee41b355d43dbaf
2,058
package com.chylee.fxiaoke.controller.quartz; import com.chylee.fxiaoke.common.event.ResponseEvent; import com.chylee.fxiaoke.common.event.RestResponse; import com.chylee.fxiaoke.common.event.support.Page; import com.chylee.fxiaoke.core.model.QrtzTrigger; import com.chylee.fxiaoke.core.service.QrtzTriggerService; impo...
32.15625
99
0.693878
7cf6ed43cbecd61aa08c6f6b53e7878ce022b122
11,600
// Pecan 1.0 nodes. Free and open source. See licence.txt. package pecan; import java.util.*; import static pecan.Op.*; /* A Node represents any parsing expression, together with source text and annotation information. A node has an op, up to two subnodes, a source string, some flags, some counts, and a te...
38.283828
81
0.48931
f1c3ac1cf74346a523d53d8e96904da1bcd2d51d
495
package edu.northeastern.cs5200.models; public class Priviledge { private int id; private String priviledge; public Priviledge() { super(); } public Priviledge(int id, String priviledge) { super(); this.id = id; this.priviledge = priviledge; } public int getId() { return id; } public void set...
15
47
0.684848
ce784f5f4c18712c7dbcc4b691110c0021eafd54
191
package io.eventuate.tram.springcloudsleuthintegration; public interface MessageHeaderAccessor { void put(String key, String value); String get(String key); void remove(String key); }
23.875
55
0.78534
433d3f79607a13757e3e97e23dff78dc94d8a17e
3,297
/* * Copyright (c) 2019 Nextworks s.r.l * 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...
30.813084
168
0.73764
b27651916c671faaf43eb19cb45db0e3881b2c58
585
package com.abin.lee.serialize.fst; import org.nustaq.serialization.FSTConfiguration; /** * Created by abin on 2018/4/15 17:14. * serialize-svr * com.abin.lee.serialize.fst * https://blog.csdn.net/z69183787/article/details/53005961 */ public class FstSerialize { public static FSTConfiguration fstConfigurati...
24.375
99
0.729915
2b4a723ef41a4e47b76a3a898fbbd2223fd070f4
2,164
package seedu.address.logic.commands.debtcommands; import static java.util.Objects.requireNonNull; import java.util.List; import seedu.address.commons.core.Messages; import seedu.address.commons.core.index.Index; import seedu.address.logic.CommandHistory; import seedu.address.logic.commands.Command; import seedu.add...
35.47541
104
0.725046
6ed312a316293831af2998e0bbd88a948b1bba30
1,016
package atomic; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Tester { List<Integer> numbers = new ArrayList<Integer>(); private List<Thread> threads; public void test() { threads = new ArrayList<Thread>(); for (int i = 0; i < 4000; i++) { Thread thread = new...
20.32
55
0.610236
6cbd5d17f6a381822c7093fed13610646c36d33e
589
package Lab_7; /** * Created by Ahmed Al masade on 01/03/2022. */ public class LinkedQueue<E> implements Queue<E> { SinglyLinkedList<E>list=new SinglyLinkedList<E>(); @Override public boolean isEmpty() { return list.isEmpty() ; } @Override public int size() { re...
17.848485
55
0.548387
5868ba3ae9a005d12c5cd7b228ecc38d0c2d630d
2,882
package org.usfirst.frc.team1736.robot; import org.usfirst.frc.team1736.lib.Calibration.Calibration; import org.usfirst.frc.team1736.lib.Util.CrashTracker; import edu.wpi.first.wpilibj.Spark; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.AnalogInput; import edu.wpi.first.wpilibj.DigitalIn...
23.430894
79
0.679042
614fb96792701afca77d33679f4f78425e5bdd99
1,310
package com.example.demo.application.webhook; import com.example.demo.domain.fundamentals.url.Url; import com.example.demo.domain.model.webhook.MultiWebHook; import com.example.demo.domain.model.webhook.WebHookItem; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; impor...
36.388889
104
0.691603
bf07abbbaec289d897364694bec90d5178550fe5
3,845
package io.aftersound.weave.service; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; @Configuration public class WeaveServiceProperties { @Value("${security-asset-directory}") private String securityAssetDirectory; @Value("${cache-f...
29.351145
88
0.742783
d79e591861675eec51210b6690409a09307ac4fa
5,646
/* * ACDD Project * file PackageAdmin.java is part of ACCD * The MIT License (MIT) Copyright (c) 2015 Bunny Blue,achellies. * * * 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 with...
48.25641
104
0.685087
26c348dcbf106c192afb7b7d6e80bf201af4876f
1,532
package fr.paris10.poa.td4.filesystem; /** * Created by vabouque on 24/10/2016. */ public class WinFactory implements AbstractFileFactory { WinFactory() { } @Override public File createFile(String fileName, String userName) { return new WinOrdinaryFile(fileName, userName); } @Overr...
20.157895
72
0.619452
e3b919d26800f5866f0ea38a36592c8df12df686
643
package com.toconnor.pool.model; import java.io.Serializable; import com.googlecode.objectify.annotation.Embed; import com.toconnor.pool.Team; /** * RankedTeam */ @Embed public class RankedTeam implements Serializable { private static final long serialVersionUID = 1L; private int rank; private String team; p...
13.978261
49
0.698289
3dbb0ab8da366d5dc2062eac03456691ff7001de
393
package pull.domain; public class ProductCategory { private String name; public ProductCategory() { super(); } public ProductCategory(String name) { super(); this.name = name; } @Override public String toString() { return "ProductCategory [name=" + name + "]"; } public String getName() { retur...
13.551724
47
0.659033
07bcaaa14248a812110498d4d55fae197e7b916f
1,112
package fr.syncrase.ecosyst.service; import fr.syncrase.ecosyst.domain.Racine; import java.util.Optional; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; /** * Service Interface for managing {@link Racine}. */ public interface RacineService { /** * Save a racin...
21.803922
52
0.614209
ef2351c72cd7bb99228fc5438f39b2929736c441
1,427
package scoopy.client.command; import net.minecraft.command.ICommandSender; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.server.command.CommandTreeBase; import net.minecraftforge.server.command.CommandTreeHelp; import scoopy.Scoopy; import scoopy.common.command.CommandDataParameters; import s...
31.021739
90
0.718991
a9b8aa0e40d649d67ec4ba5ad64d3b2a86d9bd33
1,258
import javax.swing.JOptionPane; public class BlackJack { public static void main(String[] args) { weiterSpielen(); } public static int karteZiehen() { int rueckgabePunkt = 0; int karteZahl = (int) (Math.random()*13)+1; for (int i = 1; i <= 13; i++) { switch(karteZahl) { case 1: rueckgabePunkt=11;brea...
27.955556
89
0.673291
f867b42d6d2834d9c26b0fde2d39a75293f34b6d
481
package cn.mulanbay.face.api.web.bean.response.chart; /** * 日历饼图明细 * * @author fenghong * @create 2017-07-10 21:44 */ public class ChartCalendarPieDetailData { private String name; private long value; public String getName() { return name; } public void setName(String name) { ...
15.516129
53
0.602911
3efebe433cda049514d23815db5b236d34a993ef
494
package org.synyx.urlaubsverwaltung.restapi.person; import java.util.List; /** * @author Aljona Murygina - murygina@synyx.de */ public class PersonListResponse { private List<PersonResponse> persons; public PersonListResponse(List<PersonResponse> persons) { this.persons = persons; } pu...
17.034483
61
0.680162
a745e520b3f402c91427d1ea5bc1a21c62310db5
314
package ucacue.edu.ec.dto; import lombok.Getter; import lombok.Setter; @Getter @Setter public class CuentaDTO { private long id; private ClienteDTO clienteDTO; private TipoCuentaDTO tipoCuentaDTO; private int estado; private String fechaCreacion; private String descripcion; }
13.083333
40
0.726115
9fafb6caf3cd73b34ee60dfd91c07226ff888035
1,525
/* * 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 ...
31.122449
71
0.714098
1ca1dd78382538e2142a4af1492858e6eb311bc3
225
package com.godfunc.modules.merchant.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.godfunc.entity.MerchantBalance; public interface MerchantBalanceMapper extends BaseMapper<MerchantBalance> { }
28.125
76
0.848889
d6d4d91f8075f6597491cd2c32ebe7c7b0f9da13
1,317
package net.encode.wurmesp.feature.hook; import java.lang.reflect.Field; import java.util.logging.Level; import org.gotti.wurmunlimited.modloader.ReflectionUtil; import com.wurmonline.client.renderer.GroundItemData; import net.encode.wurmesp.Unit; import net.encode.wurmesp.WurmEspMod; public class GroundItemCellRe...
37.628571
149
0.654518
1aa621535f59f7cff165585e0e7ec73b311408be
889
package com.ning.http.pool; public abstract class Connection<T> { private String baseUrl; private T channel; private long lastTimeUsed; private AsyncConnectionPoolImpl<T> pool; public Connection(T channel2) { this.channel = channel2; this.lastTimeUsed = System.currentTimeMillis(); } /** * Implement ...
17.78
90
0.715411
1c76dd3d7b7b97d3953c361c298b54f90329ea05
3,131
package net.lintim.algorithm.tools; import net.lintim.exception.ConfigNoFileNameGivenException; import net.lintim.io.ConfigReader; import net.lintim.io.InfrastructureReader; import net.lintim.io.InfrastructureWriter; import net.lintim.io.ODReader; import net.lintim.model.Graph; import net.lintim.model.InfrastructureNo...
44.098592
126
0.65123
f72a4df500bd7d348be1af0480385a506a62b264
615
package org.zbus.net; import org.zbus.net.core.Dispatcher; import org.zbus.net.http.Message; import org.zbus.net.http.MessageClient; public class MyClient { public static void main(String[] args) throws Exception { final Dispatcher dispatcher = new Dispatcher(); final MessageClient client = new MessageCl...
22.777778
77
0.689431
67ae2a76d46c99adcaf16c5f9556eb1d55e22282
2,207
package org.rays3d.builder.java.transform; import java.util.Deque; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; import org.rays3d.builder.java.AbstractBuilder; import org.rays3d.transform.RotationTransform; import org.rays3d.transform.ScaleTransform; import org.ray...
28.662338
139
0.721794
2c8f3b6e7d470a69b926052d24899664d9c1bfd0
6,021
package dev.codesoapbox.dummy4j.dummies.finance; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit...
51.025424
108
0.55705
c997b85a9b87282f16d05a30d8235fb805b5bdcf
930
package me.retrodaredevil.solarthing.message.event; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeName; import me.retrodaredevil.solarthing.message.MessageSender; import me.retrodaredevil.solarthing.packets.Packet; import me.retrodaredevil.solarthing.packets.colle...
35.769231
87
0.826882
d923898ad67ae632eafde1913ad1a040cf4de3a2
1,477
package com.github.salvatorenovelli.seo.websiteversioning.crawler.crawler4j; import com.github.salvatorenovelli.seo.websiteversioning.domain.PatternGenerator; import edu.uci.ics.crawler4j.crawler.Page; import edu.uci.ics.crawler4j.crawler.WebCrawler; import edu.uci.ics.crawler4j.url.WebURL; import java.util.regex.Pat...
31.425532
81
0.659445
2951987e0319326e899c3046d737aea241809ca1
3,082
package sxg.main; import java.nio.ByteBuffer; public class BitMap { public static final long LimitMaxValue = 0xffffffffl; long max; long offset; ByteBuffer buffer; public BitMap(long max, long offset) throws IllegalArgumentException { long value = normalized(max, offset); if (value == -1) { ...
23.526718
100
0.592472
b91ac9f90a2c00a5ff508aca1160befc96fedd43
5,229
package edu.rice.rubis.servlets; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** ...
25.632353
137
0.61331
42215b030498ac18b8258c61ffccde33e7db25e1
598
package com.aumum.app.mobile.core.service; import com.aumum.app.mobile.core.Constants; import com.aumum.app.mobile.core.api.ListWrapper; import com.aumum.app.mobile.core.model.EventCategory; import retrofit.http.GET; import retrofit.http.Query; /** * Created by Administrator on 21/03/2015. */ public interface Even...
29.9
68
0.668896
3d0e14f2a6b6f79b129d0582648dc2336fac0d7b
1,187
package nxt.http; import nxt.Account; import nxt.Escrow; import nxt.NxtException; import nxt.util.Convert; import org.json.simple.JSONObject; import org.json.simple.JSONStreamAware; import javax.servlet.http.HttpServletRequest; public final class GetEscrowTransaction extends APIServlet.APIRequestHandler { static...
26.377778
89
0.751474
dc3d044a528825f1c45cdc44f8043bf694d46e31
877
package com.taihui.springboot.db.entity; import org.springframework.format.annotation.DateTimeFormat; import javax.persistence.*; import java.io.Serializable; import java.util.Date; @Table(name = "t_role") @Entity public class Role implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDEN...
19.931818
60
0.657925
79ddc4f5ea3b527e3683d6fdb2a50fafbab09312
1,696
/* * Copyright (c) 2013 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 ...
30.285714
100
0.694575
ed4d3150f3964b1fdb68037f95c193a5a0434b10
491
package com.neo.springexamples.ioc.context.pojo.annotation; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; @Slf4j public class TestDemo { @Setter @Getter private String demo; public TestDemo() { log.info("-----------new TestDemo()--------------"); this....
20.458333
66
0.570265
98c78c0d1374d8aacf4402d23faa41ef416128a7
6,358
/* * SoapUI, Copyright (C) 2004-2016 SmartBear Software * * Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of t...
30.714976
118
0.6134
e06956efdb2d5aef0d506ba6dd75a9b290f7f710
1,238
package com.example.android.quakereport; /** * Created by Capri on 25.04.2018. */ public class Earthquake { private double mMagnitude; private String mCity; private long mTimeInMilliseconds; private String mUrl; // Create a new Earthquake object. public Earthquake(double magnitude, String ...
23.807692
91
0.584006
11ba3896ef2b166a020f71c00652793e3377a679
612
package l04_Introducing_Objects_P2; /** * Card Ranks as they appear on the card. */ public class Ranks { public static final int TWO = 0; public static final int THREE = 1; public static final int FOUR = 2; public static final int FIVE = 3; public static final int SIX = 4; public static final...
27.818182
41
0.665033
5633e743929d3c95f76af9080df0aebbd27d50a6
750
package com.webside.shiro.filter; import javax.inject.Inject; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.apache.shiro.SecurityUtils; import org.apache.shiro.web.filter.PathMatchingFilter; import com.webside.user.mapper.UserMapper; /** * * @author wjggwm * ...
26.785714
123
0.737333
49553cddfd936e3ad232f794f3ac0b29eaba302e
787
import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; public class ResizableCanvas extends Canvas { public ResizableCanvas() { // Redraw canvas when size changes. widthProperty().addListener(evt -> draw()); heightProperty().addListe...
21.27027
52
0.631512
11cab85d61167b6ddced81b21c9344cd299b888f
6,851
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.60101
109
0.638739
caee4f081e24988a4a12e4ac40a039dc7ec4bf8a
343
package com.protonail.leveldb.jna; public class KeyValuePair { private byte[] key; private byte[] value; public KeyValuePair(byte[] key, byte[] value) { this.key = key; this.value = value; } public byte[] getKey() { return key; } public byte[] getValue() { ...
17.15
51
0.565598
cfa4d07c6e1945cfe4d6c53b697a6d40071733fa
17,359
package mil.dds.anet.database; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Optional; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response.Status; import org.joda.time.DateTime; import org.skife.jdbi.v2.GeneratedKeys; imp...
41.232779
131
0.707184
fba49280a7ec265231d97fb30460e00a4ec4489f
312
package com.gzc.cloud.dao; import com.gzc.cloud.domain.Order; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Repository public interface OrderDao { void create(Order order); void update(@Param("userId") Long userId, @Param("status") Integer status); }
22.285714
79
0.762821
a274d0607bc903dc4ddb6226e3c08986a3fb61bd
2,337
package com.nshmura.recyclertablayout.demo.years; import com.nshmura.recyclertablayout.RecyclerTabLayout; import com.nshmura.recyclertablayout.demo.Demo; import com.nshmura.recyclertablayout.demo.R; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.view...
32.915493
72
0.69662
96cf8e3c2724d9ed29b0846de692611a2030defc
247
package ru.schernigin.list; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; /** * class ArrayListTest. * @author schernigin * @since 8.02.2017 * @version 1.0 */ public class ArrayListTest { }
16.466667
38
0.716599
6082bedb1f03a07cb7704f5d047dccdd87e1c21b
761
package com.yirendai.oss.lib.webmvc.starter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; /** * Created by Meifan...
33.086957
96
0.812089
aabeaa879bbe0868dcc72f24680d6a2d21777708
2,931
package com.gxl.core.tracing; import java.io.Serializable; import com.alibaba.dubbo.common.URL; /*** * * <p>description:</p> * @author songkejun * @since 2017年7月24日下午4:25:04 */ public class TraceBean implements Serializable{ /** * */ private static final long serialVersionUID = 1L; private Long trac...
17.241176
52
0.711361
c350ace94ec9dd12ed05db7a03e7f7b2b8150c4d
4,500
package algorithm.leetcode; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import utils.JsonHelper; import java.util.*; /** * 滑动窗口中位数 * * 中位数是有序序列最中间的那个数。如果序列的长度是偶数,则没有最中间的数; * 此时中位数是最中间的两个数的平均数。 * * 例如: * * [2,3,4],中位数是3 * [2,3],中位数是 (2 + 3) / 2 = 2.5 * 给你一个数组 nums,有一个长度为 k 的窗口从最左端滑动到最右端。 * 窗口中...
25.862069
73
0.445333
9b946dd1b779114a17f7a16d04f23529578ce50c
7,374
package com.artur.JocDeRol.joc; import java.util.ArrayList; import java.util.Objects; /** * Clase abstracta per a crear diferents tipus de personatjes. * * @author artur * @version 2.0 */ public abstract class Player { static int VIDA = 100; protected String name; protected int attackPo...
28.361538
121
0.541633
7066bf772f6df19d707bc83cf9db95d77c5fdfcf
13,842
/* * Copyright (C) 2010-2019, Danilo Pianini and contributors listed in the main project's alchemist/build.gradle file. * * This file is part of Alchemist, and is distributed under the terms of the * GNU General Public License, with a linking exception, * as described in the file LICENSE in the Alchemist distribut...
42.072948
126
0.589727
4988aec2603d68b06e30753ed4f6169386545998
1,244
package com.korochun.neutrino.test; import com.korochun.neutrino.*; public class NeutrinoTest implements Game { public static void main(String[] args) { new Neutrino(new NeutrinoTest()).start(); } @Override public String getTitle() { return "Neutrino Test"; } @Override pu...
29.619048
73
0.528939
2a4e070af9bab52639d5b42ebca5a79784ab9ab2
5,673
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.stdext.identity; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; ...
23.345679
118
0.740173
123928b382f523df6cf421f28ef54143d8a67763
460
package elevator; import designs.elevator.Direction; import designs.elevator.ElevatorManagementSystem; public class ElTest { public static void main(String[] args) { ElevatorManagementSystem ems = new ElevatorManagementSystem(3, 5); ems.addPickup(1, Direction.UP); ems.addPickup(2, Direct...
24.210526
74
0.684783
29529981e98aeeceeddcc22e9cda504d09c7fcf2
14,961
package com.github.Eddyosos.integracao20171.esus.cds.procedimento; import br.gov.saude.esus.cds.transport.generated.thrift.procedimento.FichaProcedimentoChildThrift; import com.github.eddyosos.e_sus_ab_factory.cds.esus.cds.procedimento.IFichaProcedimentoChild; import java.util.Iterator; import java.util.List; public ...
25.487223
123
0.607112
8a26f86967934ab75b47eade722a5050b221832c
2,180
/** * */ package le.cache.bis.services.impl; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.context.annotation.Scope; import org.springframework.st...
30.277778
125
0.673853
f4051f3dd121796abde63971ae09247e788b33b3
1,668
package com.abforce.toop.popups; import org.andengine.entity.modifier.MoveYModifier; import org.andengine.entity.scene.IOnSceneTouchListener; import org.andengine.entity.scene.Scene; import org.andengine.entity.sprite.Sprite; import org.andengine.input.touch.TouchEvent; import com.abforce.toop.entities.SSprit...
26.0625
79
0.703837
7b96e64dce624a5a1c9f017667f4888bd6bab018
3,816
package com.uhasoft.smurf.ratelimit.sentinel.configuration; import com.alibaba.csp.sentinel.adapter.spring.webmvc.SentinelWebInterceptor; import com.alibaba.csp.sentinel.adapter.spring.webmvc.config.SentinelWebMvcConfig; import com.alibaba.csp.sentinel.slots.block.flow.FlowRule; import com.alibaba.csp.sentinel.slots.b...
41.934066
119
0.669811
97c1c83960f73b196e9cf8f0e54dd882cecf0e98
302
package com.DesignPatterns.CreationalPatterns.abstractFactory.material; import com.DesignPatterns.CreationalPatterns.abstractFactory.TextBox; public class MaterialTextBox implements TextBox { @Override public void render() { System.out.println("Rendering material text box"); } }
27.454545
71
0.778146
0acfd3c36e5add39546186e94c4852bb21ef0e7a
873
package com.example.demo.diagnosis.dto; import com.example.demo.diagnosis.domain.Air; import com.example.demo.diagnosis.domain.Corna; import com.example.demo.diagnosis.domain.Diagnosis; import com.example.demo.diagnosis.domain.Macak; import com.example.demo.member.domain.Member; import lombok.Builder; import lombok.Ge...
26.454545
51
0.690722
b09fcce308f453e126ecef0383ad4c29038863cf
1,154
package com.google.android.gms.internal.ads; import android.os.Bundle; import android.view.ViewGroup; import com.google.android.gms.internal.ads.zzbtp; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ public final class zzcwd extends zzcwe<zzboq> { private final zzccw zzeve; private final...
36.0625
207
0.684575
1eaaeaccee72cc96ea923562ca94f5a9c4715e20
2,442
package io.github.rowak.nanoleafdesktop.ui.dialog; import io.github.rowak.nanoleafdesktop.IListenToMessages; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; public cl...
34.885714
108
0.634726
6ed7a361fb131eae76d07ba894844c6b57e77de8
3,285
package br.com.villsec.model.configuration; import java.util.Arrays; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.se...
39.107143
110
0.812177
e4ce0c2696d0cf4d9cddf06276acacd9babb99f9
3,408
package kr.msleague.bcsp.bukkit; import io.netty.channel.Channel; import kr.msleague.bcsp.bukkit.event.connection.BCSPDisconnectedEvent; import kr.msleague.bcsp.bukkit.event.packet.ASyncPacketReceivedEvent; import kr.msleague.bcsp.bukkit.event.packet.PacketReceivedEvent; import kr.msleague.bcsp.internal.BungeeComsoSer...
48
194
0.664026
3459f14d14263e294c45ca4810ad88bf8e6ed9a1
1,478
package hashing; import java.util.TreeMap; import java.util.Vector; import java.util.Map.Entry; public class VerticalOrderBtree { static class Node{ int key; Node left; Node right; Node (int data){ key=data; left=null; right=null; } } static void getVerticalOrder(Node root,in...
24.633333
84
0.639378
1271618d9717fa7095d8edef4b998d75b9b4688e
2,010
// Copyright (c) 2003 Per M.A. Bothner. // This is free software; for terms and warranty disclaimer see ./COPYING. package gnu.kawa.xml; import gnu.lists.*; import gnu.mapping.*; import java.io.*; /** Abstract class that scans part of a node tree. * Takes a node argument, and writes matching "relative" nodes * ou...
26.103896
77
0.674627
186414d07cc22552fb00015cc40421d95c4c1b6e
1,061
/* * Copyright (c) 2022 Amadeus * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0 * * SPDX-License-Identifier: Apache-2.0 * * Contributors: * Amadeus - initial ...
30.314286
97
0.765316
f10b9dadee5766b6e3f5e398d9d227b9938fb250
3,685
/** * Copyright 2017 Remi Guillemette - n4dev.ca * * 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 Ap...
21.300578
95
0.569607
e54f7172b48de6ea7cc4af855f714d6b40a122f1
7,027
package com.zdran.springboot.guava; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.base.Predicate; import com.google.common.collect.*; import com.google.common.primitives.Ints; import com.zdran.springboot.dao.AccountInfo; import org.checkerframework.checker.nulln...
33.783654
113
0.581756
9fcddb782e74b3fc6d7b22ef45d4743125f88a04
6,266
/* * Copyright 2004-2009 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...
36.011494
166
0.691829
586a99f825798fda8754d5a16715af1fe99dab8f
9,671
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.47 * Generated at: 2020-08-16 09:42:28 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
57.565476
156
0.440182
52776e6f532947479b87b02b02d098e92393b574
497
// // このファイルは、JavaTM Architecture for XML Binding(JAXB) Reference Implementation、v2.2.8-b130911.1802によって生成されました // <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>を参照してください // ソース・スキーマの再コンパイル時にこのファイルの変更は失われます。 // 生成日: 2015.08.14 時間 10:22:22 PM JST // @javax.xml.bind.annotation.XmlSchema(name...
49.7
180
0.768612