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
cbd9dc03f0da19a1fc7d4a82a5c01ee27f532ea0
4,145
package io.nlopez.smartlocation.geocoding.providers.android; import android.content.Context; import android.location.Geocoder; import android.location.Location; import androidx.annotation.NonNull; import java.util.List; import java.util.Locale; import io.nlopez.smartlocation.OnGeocodingListener; import io.nlopez.sma...
33.16
132
0.571291
b26264f7d580b0012409f49458e8e93f7115654e
1,349
package org.tmcw.fakesmtp; import java.net.BindException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.subethamail.smtp.server.SMTPServer; /** * Starts and stops the SMTP server. */ public class SMTPServerHandler { private static final Logger LOGGER = LoggerFactory.getLogger(SMTPServerHa...
27.530612
100
0.627131
c0946b9375f70f977292660d0505e298ce51865d
3,079
//Leetcode problem 131 Palindrome Partitioning //Solution written by Xuqiang Fang on 7 April, 2018 import java.util.ArrayList; import java.util.List; import java.util.Iterator; class Solution{ //Solution exceeded time limit public List<List<String>> partition_(String s){ List<List<String>> list = new A...
32.755319
88
0.47353
8bb0edf332a23dfb0c7fa789ee18a3e573108f66
326
package de.sswis; import de.sswis.model.*; import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({CombinedStrategyTest.class, GameTest.class, HistoryTest.class, InitializationTest.class, MixedStrategyTest.class, SimulationTest.class}) public class ModelSuit...
27.166667
109
0.791411
a5ce19210909f7ad7cdacbf5fe021091e0df6f84
4,137
package org.ospic.platform.accounting.statistics.service; import org.ospic.platform.accounting.bills.repository.BillsJpaRepository; import org.ospic.platform.accounting.statistics.data.BillSummations; import org.ospic.platform.accounting.statistics.data.BillsPerDay; import org.ospic.platform.accounting.statistics.data...
47.011364
109
0.773266
5f89ff268d9297c86b98936bc9b2a71e2c220548
717
package com.sasiddiqui.pseudodata.presentation.presenter; import com.sasiddiqui.pseudodata.domain.model.Post; import com.sasiddiqui.pseudodata.presentation.presenter.base.BasePresenter; import com.sasiddiqui.pseudodata.presentation.ui.BaseViewCallback; import java.util.List; /** * Created by shahrukhamd on 15/05/18...
25.607143
75
0.716876
e385897a74a49d49c71ae768d6b2c63a433f985a
17,381
package com.pg85.otg.spigot.materials; import com.pg85.otg.util.materials.LocalMaterials; import net.minecraft.server.v1_16_R3.*; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.stream.Collectors; public class SpigotMaterials extends LocalMaterials { // Default blocks in g...
52.990854
262
0.805017
756da6c36d757a005fd0eaae34bad8a801db47fc
9,456
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
44.186916
119
0.693634
95c780787cb155c065acedc9722ba2b908ff4d97
4,439
package com.example.zstd.microblog.service; import com.example.zstd.microblog.model.BlogPost; import com.example.zstd.microblog.model.FollowData; import com.example.zstd.microblog.model.User; import com.example.zstd.microblog.repository.BlogPostRepo; import com.example.zstd.microblog.repository.FollowDataRepo; import ...
33.628788
111
0.723136
2e34388c9eef556f9f7b88e4534147cf80b9efe3
897
package com.google.refine.tests.process; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.google.refine.process.Process; import com.google.refine.process.ProcessManager; import com.google.refine.tests.util.TestUtils; import com.google.refine.util.JSONUtilities; public class ...
28.935484
89
0.717949
e16391b98c4b14cfa41c99a49103327984dae40a
23,450
package com.rockhoppertech.music.fx.app2; /* * #%L * rockymusic-fx * %% * Copyright (C) 1996 - 2013 Rockhopper Technologies * %% * 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 * * ...
37.460064
112
0.493518
f21d4b9c89e07e497de111f3ffca4187e7486344
4,524
/* ***************** * * created by gparap * * ***************** */ package dmn.games.platformer.physics; import com.badlogic.gdx.maps.MapObject; import com.badlogic.gdx.maps.objects.PolylineMapObject; import com.badlogic.gdx.maps.objects.RectangleMapObject; import com.badlogic.gdx.math.Vector2; import com.badlogic....
53.223529
127
0.629752
672c97921d88b7cb79eac08da3590ddce7c3d623
4,005
package net.voxelindustry.voidheart.common.content.altar; import net.minecraft.block.Block; import net.minecraft.block.BlockEntityProvider; import net.minecraft.block.BlockState; import net.minecraft.block.Material; import net.minecraft.block.ShapeContext; import net.minecraft.block.entity.BlockEntity; import net.mine...
33.940678
126
0.680899
d9e3869765f4512bd435dfb179d27bdd251603e6
518
package net.collaud.hashcode.data; import lombok.Data; @Data public class Topping { private final boolean tomato; private boolean used; public Topping(boolean tomato) { this.tomato = tomato; this.used = false; } @Override public String toString() { if(used){ return "."; // if(tomato){ // return ...
14.388889
40
0.633205
8e0cf6ce958f935ff506af42285b77932e05c871
5,324
package org.smoothbuild.acceptance.lang.assign.convert; import static com.google.common.truth.Truth.assertThat; import static org.smoothbuild.acceptance.lang.assign.spec.TestedType.BLOB; import static org.smoothbuild.acceptance.lang.assign.spec.TestedType.BLOB_ARRAY; import static org.smoothbuild.acceptance.lang.assig...
38.861314
95
0.761082
cc451f294f22ccc8829a2413fe7b55d7784c9d60
860
package com.jeiker.demo.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Collections; import jav...
26.875
85
0.673256
4f0f45a3a346ceac8774d959912f41a583bdba66
8,331
package mx.cecyt9.ipn.calculator_hevc; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { Button bUno, bDos, bTres, bCuatro, bCinco, bSeis, bSiete,...
29.647687
83
0.539431
aaa0d7daa1fc2935bca59fd2e312cc314745ccc7
3,291
/* Class216 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.jagex; import java.awt.Canvas; class Class216 implements Interface44 { Class217 this$0; public static Class472 aClass472_2271; public float method339() { return ((float) Class449.aClass523_Sub33_4946.aClass687_Sub22_10651.met...
38.717647
198
0.728654
701235c8cf93e8296f8280e846ed43decb2384ac
403
package org.zstack.header.rest; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by xing5 on 2016/12/9. */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface R...
23.705882
44
0.754342
5cbc8c40c39245eaab31521bf45f7da29ba58670
3,252
package com.ruoyi.web.controller.system; import java.util.List; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import o...
30.971429
75
0.708487
e45d94bce777de3e74e846df34da9b35c6ad1f2d
4,649
package egov.casemanagement.service; import com.fasterxml.jackson.databind.ObjectMapper; import egov.casemanagement.config.Configuration; import egov.casemanagement.models.cova.CovaData; import egov.casemanagement.models.cova.CovaSearchResponse; import egov.casemanagement.models.user.User; import egov.casemanagement.p...
42.263636
141
0.708324
39a23999045234dbf60165d73ff6f98f5eff57e7
4,257
package gregpearce.archivorg.platform.activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import...
37.672566
85
0.726568
03969440799edece6cde97d12b07a0d7a234160a
4,231
package com.ogiqvo.clock; import java.util.ArrayList; import java.util.List; /** * The MIT License (MIT) Copyright (c) 2017 Izumi Kawashima 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...
33.848
120
0.712834
d846582e144dc8d9444c7e5d93a5de31aa0a0044
626
package de.feffi.jnumber; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author feffi <feffi@feffi.org> */ public class EnumSerialErrorTest { /** * Test method for {@link de.feffi.jnumber.EnumSerialError#toString()}. */ @Test public void testToString() { assertEquals("Che...
27.217391
84
0.739617
231ac28b2f03f76f9ba6aed764f3eb3b1f6042fe
1,129
package com.neusoft.oa.document.web.attachmentManage; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.neusoft.oa.core.OAException; import com.neusoft.oa.core.service.FunctionFactory; import com.neusoft.oa.core.web.serv...
29.710526
100
0.779451
8f544f1e70674003fccf712bc053d3eda58f4810
1,093
package net.apachegui.web; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.json.JSONObject; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.Request...
33.121212
82
0.78774
a3a96299c5199e6a563fef0d310592eaafad061e
2,667
/* * * Copyright 2015 Netflix, 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 ap...
32.13253
83
0.709411
acd2b252d8f9d780fec22da201c82dfd648d83f2
5,913
/* * 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 ...
30.479381
116
0.636394
ee7c710e4e314cc71e6142cc564f8927db9461e6
154
/** * Package for junior.pack2.p9.ch4. JSP. * * @author Gureyev Ilya (mailto:ill-jah@yandex.ru) * @version 1 * @since 2017-11-13 */ package ru.job4j.jsp;
17.111111
49
0.675325
fb7b1ae5f045c1f4cc821d5e180c50a11c80f795
1,409
package com.werdpressed.partisan.undoredo; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import com.werdpressed.partisan.undoredo.activityexample.ActivityExampleActivity; import com.werdpressed.partisan...
29.978723
89
0.702626
752a8dad6f18c660004316de012c67d9cf53559b
2,705
package org.mvss.karta.framework.nodes; import org.mvss.karta.framework.enums.NodeType; import lombok.*; import java.io.Serializable; /** * This class groups the node configuration for a Karta node * * @author Manian */ @Getter @Setter @ToString @AllArgsConstructor @NoArgsConstructor @Builder p...
24.590909
102
0.556377
2b67951634c7f693a89eb6a585c18247042c498e
186
package cz.xtf.builder.builders.limits; public class MemoryResource extends ComputingResource { @Override public String resourceIdentifier() { return "memory"; } }
18.6
55
0.709677
a7d8c79896abce76cd022d267ec2e0c25d942be4
2,451
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
19.608
810
0.747858
4f5b871b4c84d27e4656c54d1919d5067af02a30
5,831
/* * * 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"); y...
52.0625
141
0.70794
7678d9ab92cfab96746a894910bf5ec1ebb0bab4
2,855
package nl.unimaas.ids.autorml.mappers; import java.io.PrintStream; import java.io.PrintWriter; import java.sql.Connection; import java.sql.SQLException; import org.apache.commons.lang3.StringUtils; import nl.unimaas.ids.util.PrefixPrintWriter; public abstract class AbstractMapper implements MapperInterface { Conn...
32.078652
125
0.680911
4d6ff903bf08fb0eb02e06e8298251e6223e1e6a
18,379
/* * Licensed to Leidos, Inc. under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information regarding copyright ownership. * Leidos, Inc. licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file excep...
44.501211
130
0.654062
ec7ec382e1b1813bec19d881c3030d27add261e4
718
package org.basex.util.ft; import org.basex.util.options.*; /** * Full-text options. * * @author BaseX Team 2005-13, BSD License * @author Christian Gruen */ public final class FTOptions extends FTIndexOptions { /** Option: case. */ public static final EnumOption<FTCase> CASE = new EnumOption<FTCase>("case",...
32.636364
93
0.714485
b2d100a28c438326cede3b966a8a661dd829e75c
698
package de.pxav.kelp.core.configuration.type; import de.pxav.kelp.core.configuration.ConfigurationAttribute; import de.pxav.kelp.core.configuration.KelpConfiguration; import java.util.Collection; /** * A class description goes here. * * @author pxav */ public class YamlConfigurationType implements ConfigurationT...
22.516129
132
0.776504
15bf65ac88f8674d2f029be35be3d9bd7fb247fe
5,079
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.ccsu.solutions; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.se...
38.477273
123
0.610159
92c293672aadfbe455b06aa89a37d503f6e69170
1,471
package club.lemos.common.utils; import org.springframework.beans.BeanWrapper; import org.springframework.beans.BeanWrapperImpl; import org.springframework.lang.Nullable; import java.util.HashSet; import java.util.Set; /** * 对象工具类 */ public class ObjectUtil extends org.springframework.util.ObjectUtils { /** ...
27.240741
75
0.611829
0989464904879eceaba984fed04ef8b8d64abfd3
1,090
package {{java_package}}.app.musart; import java.rmi.RemoteException; import java.util.Vector; import psdi.mbo.Mbo; import psdi.mbo.MboRemote; import psdi.mbo.MboSet; import psdi.mbo.MboSetRemote; import psdi.util.MXApplicationException; import psdi.util.MXException; public class {{addon_prefix}}Artist e...
30.277778
102
0.734862
9f697759b7dfba50d3a1b4a4e949552a43808fd7
11,200
/* * 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 n...
41.481481
125
0.688393
6e95333d649de77bf9238d98095871ec49b42891
377
package javax.annotation.sql; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @since Common Annotations 1.1 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface DataS...
22.176471
44
0.793103
1ade44429ab43e1180003422407934e7617a0117
2,912
package com.example.wearablesensorbase.data; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import com.example.wearablesensorbase.R; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import ...
25.54386
81
0.736951
1080272d33dbf2b5b00908182d6e6eaa4f8594d2
3,061
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
33.637363
91
0.654035
a0a90eac8bae29e8ed40f018a91e7e73e561ef34
2,151
package ru.shemplo.ml.lab2; import java.util.StringTokenizer; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.Reader; public class RunF1 { public static void main (String ... args) throws Exception { try...
32.104478
86
0.475128
2604ed5f663a9f03fc6eaa8c2fb5e0c3f84ba485
306
package com.bassoon.stockextractor.model; import java.util.List; public class StockListWrapper { private List<Stock> stockList; public List<Stock> getStockList() { return stockList; } public void setStockList(List<Stock> stockList) { this.stockList = stockList; } }
19.125
53
0.686275
2a0c3cbf1097ad64a7a4c97e74aaf273839eca04
729
// Copyright (c) 2003-2013, Jodd Team (jodd.org). All Rights Reserved. package jodd.typeconverter.impl; import jodd.upload.FileUpload; import jodd.typeconverter.TypeConversionException; import jodd.typeconverter.TypeConverter; /** * Converts given object to {@link FileUpload}. * Conversion rules: * <ul> * <li><c...
24.3
71
0.72428
a1299ba95a037adfa984e88e3f99e14fb577c6b6
1,730
/* * MIT License * * Copyright (c) 2020 Zhixiao Yang * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
35.306122
81
0.692486
7a737d0119d7d1da4ff4d9c55dfcc3fe4fdd5f98
2,317
package com.example.yogesh16991.test_proj; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import org.json.JSONObject; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class EventDe...
32.180556
146
0.666379
ad2c483bac7f74e59b295cc42192bf8ca813989b
269
package solid.ocp.conformance; import java.awt.Graphics; import java.util.List; public class Painter { private List<Drawable> drawables; public void paintComponent(Graphics g) { for(Drawable drawable : drawables) { drawable.draw(g); } } }
16.8125
42
0.687732
7e20fe61400c24da23cf470438a5efae47f8006a
3,570
package br.com.smallbi.rest; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.r...
29.75
86
0.740056
e685d400340a3961141b54fba0ae881e2e7860e7
797
package com.experiments.ai.huddler.utils; import org.apache.avro.Schema; import org.apache.avro.compiler.specific.SpecificCompiler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.IOException; public class AvroClassGenerator { Logger logger = LoggerFactor...
33.208333
98
0.713927
77cbd050f831d5ddd9d8a1f3599e5b08278c3a6b
246
package com.lingx.core.exception; public class LingxNoLoginException extends Exception { private static final long serialVersionUID = 4024446900049242387L; public LingxNoLoginException(String msg,Throwable e){ super(msg,e); } }
22.363636
68
0.768293
7b8b5cd2ba13cba6a53a2fd94521f07c53252a9e
7,407
/* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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 https://www.apache.org/licenses/LICENSE-2.0 Un...
50.387755
101
0.710544
b4c7d1c1ca24bf8f977f3c9c985bf53f459637e7
5,013
/* * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
40.427419
171
0.692599
e0b2d0ac2eccd51a2458b687309772656a4e34c5
2,171
/* * Copyright (C) 2019 Rison Han * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
58.675676
136
0.568862
7195a4c1975fae07d4e31ceaa17dd3ede6b87caf
1,861
package com.vk.api.sdk.objects; import com.google.gson.annotations.SerializedName; import java.util.Objects; public class UserAuthResponse { @SerializedName("access_token") private String accessToken; @SerializedName("user_id") private Integer userId; @SerializedName("expires_in") private ...
25.493151
74
0.6072
0fda80cb541c74808ed364e45adf65c1d31658c0
3,984
/* * JSweet transpiler - http://www.jsweet.org * Copyright (C) 2015 CINCHEO SAS <renaud.pawlak@cincheo.fr> * * 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 3 of the Licen...
35.891892
101
0.721135
306fef4f219ac8bb6a15cd4a5529c1a1a6ca688e
1,457
package com.njp.android.kuweather.utils; import android.Manifest; import android.content.Context; import com.baidu.location.BDLocationListener; import com.baidu.location.LocationClient; import com.baidu.location.LocationClientOption; import java.util.ArrayList; import java.util.List; /** * 百度定位工具类 */ public class ...
27.490566
76
0.735072
5c4d468dd188ee70a9fef25b405d4c53fa3b5bb4
545
package com.senchuuhi.iweb.system.main.controller; import com.senchuuhi.iweb.base.controller.FrontBaseController; import com.senchuuhi.iweb.base.model.ViewModel; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Cont...
28.684211
62
0.779817
716043ba2036f13c334a220de412728a7295951f
3,052
/* * Copyright © 2017 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
28.792453
96
0.710682
22753710b4421ebe092b2bd34e3b5127be28b36d
6,529
package alu.linking.preprocessing.embeddings.posttraining; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.ObjectOut...
41.062893
170
0.720325
3e81a36c0fd11c4e26d55d90ff4a6dd88b7a2e27
6,631
package de.mennomax.astikorcarts.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.electronwill.nightconfig.core.Config; import com.electronwill.nightconfig.core.Config.Entry; import de.mennomax.astikorcarts.config.AstikorCartsConfig; import de.mennomax.astikorcarts.entity...
38.552326
186
0.608355
83c4d626e30c5f08d4daedea38c4d35e609c841b
196
package ui; public interface UI { /** * Launch the maze game. */ public void launchGame(); /** * Display the winner of the maze game. */ public void displayWinner(); }
14
41
0.586735
de0f4dc084981413ac6e7416fe54705f74976cd9
1,782
package slidingWindow; import static org.junit.Assert.assertEquals; import org.junit.Test; import junit.framework.Assert; public class MinimumSizeSubarraySum_209 { public int minSubArrayLen(int s, int[] nums) { if (nums.length == 0) { return 0; } int left, right, minLen, sum; left = right = sum = 0; ...
20.72093
61
0.625701
19893a3408bb88b7c5fac780ef9eede5544a0d85
2,996
package com.microsoft.appcenter.ingestion.models.one; import com.microsoft.appcenter.utils.AppCenterLog; import org.json.JSONException; import org.json.JSONObject; import java.util.Map; import static com.microsoft.appcenter.utils.AppCenterLog.LOG_TAG; /** * Populate Part C properties. */ public class PartCUtils ...
37.45
144
0.515354
1490d183805edcb4c887d6414552f6d7f0672478
571
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 根据PID获取相关的开票资料 * * @author auto create * @since 1.0, 2018-11-27 21:31:19 */ public class AlipayBossFncUserinvoiceinfoQueryModel extends AlipayObject { private static final long...
19.033333
75
0.688266
5641e1ddffe4d585a42f787aa79b1938062d718f
3,044
package com.company.menu; import com.company.product.Drink; import com.company.product.RFood; import com.company.product.Sweet; import java.util.*; public class RMenu extends Menu { private List<Sweet> sweets; private List<RFood> rfoods; public RMenu(){ this.rfoods=new ArrayList<RFood>(); ...
24.352
91
0.54435
fb5d0cfcc14724a4496263699398d1439896c980
1,074
package org.tandembrowsing.io.soap; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.logging.Level; import java.util.logging.Logger; import org.jdom.JDOMException; import org.tandembrowsing.io.Event; import org.tandembrowsing.io.EventQueue; /** * LayoutManagerSOAP is a web...
26.195122
73
0.726257
b1e9f00fc2ae8e6a77fe00fd307c0653b02610f3
243
package cn.plutowu.entity; import lombok.Data; /** * 秒杀订单 * * @author PlutoWu * @date 2021/05/01 */ @Data public class SeckillOrder { private Long id; private Long userId; private Long orderId; private Long goodsId; }
12.15
27
0.658436
9c155700b77e3ad055d6183b53a1ca8b6ca97701
286
/* * This api interface will deal with everything in chatter file api */ public interface ChatterFileApiInterface { public String getFileWithFormatAvailability(String fileId, String formatType); public String insertFileInNewsFeed(ModelUploadFileRequestInNewsFeeds fileDetails); }
31.777778
83
0.828671
5de60ace7cb723eb27c179112172675ede9e33c4
771
package com.simon816.chatui.util; import org.spongepowered.api.service.permission.Subject; import org.spongepowered.api.service.permission.SubjectReference; import java.util.concurrent.CompletableFuture; public class ForwardingReference implements SubjectReference { protected ForwardingSource source; publi...
24.870968
65
0.740597
841011d89f0ffd6bbfc8109a32e46b30ba297e2e
952
package com.amazonaws.services.schemaregistry.integration_tests.kafka; public class LocalKafkaClusterHelper implements KafkaClusterHelper { private static final String FAKE_CLUSTER_ARN = "FAKE_CLUSTER_ARN"; private static final String BOOTSTRAP_STRING = "127.0.0.1:9092"; private static final String ZOOKEEP...
26.444444
70
0.713235
de3a9a6688749b38c813a0f10a907a5b299f86df
92
package br.inatel.cdg.simple.factory.pizza; public class PizzaCalabresa extends Pizza { }
15.333333
43
0.793478
e3e7f100c5d3a9762a23c1994760ef8c15c0511b
1,459
/* * Copyright (C) 2010-2014 The MPDroid 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 applicable ...
28.607843
75
0.73475
b4a02f64d59c42b5abffda90eb1d761413b52468
606
/* * Copyright (c) 2021, the hapjs-platform Project Contributors * SPDX-License-Identifier: Apache-2.0 */ package org.hapjs.common.utils; public class StringUtils { private static final char[] HEX_ARRAY = "0123456789abcdef".toCharArray(); public static String byte2HexString(byte[] bytes) { char[]...
27.545455
77
0.594059
840e4723afa2a185332d5eca9b9e5fe1408e7f53
3,900
package com.py.common.lock.aop; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.py.common.lock.LockInterface; import com.py.common.lock.annotatiop.LockType; import com.py.common.lock.annotatiop.YLock; import com.py.common.lock.exception.LockException; import lombok.extern.slf4j.Slf...
27.083333
118
0.706667
0afe71e11045549d4b5f6133b1d6830b976cfa76
11,825
package com.klemenz; import com.klemenz.Light.Light; import com.klemenz.Light.AmbientLight; import com.klemenz.Light.PointLight; import com.klemenz.Light.SpotLight; import com.klemenz.Light.ParallelLight; import com.klemenz.Surface.Sphere; import com.klemenz.Utility.Color; import com.klemenz.Utility.HitPoint; import c...
44.622642
141
0.567357
bd3b4b7ce5f10be69a50f92b024918b358aeed47
990
package com.shiva.UploadFile.DaoImpl; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery; import javax.transaction.Transactional; import org.springframework.stereotype.Repository; import com.shiva.UploadFile.IDao.IUploadDao...
17.678571
82
0.766667
8bb794661a7c934838223f1d34edb2a449bf6b05
2,073
package questao28; import java.util.Scanner; public class Questao28 { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); Scanner sc = new Scanner(System.in); int idade; int i = 1; float altura,peso; int qtd = 0; ...
25.280488
110
0.499276
3609c3df0a3328cf83ae6bf56d7059b7a4572a77
6,086
/********************************************************************** Copyright (c) 2013 Andy Jefferson and others. 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....
35.590643
176
0.552251
1bf3dc6e8adaa17c478e0cf0af91da2b5045b57b
693
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.aws.greengrass.secretmanager; public class Result<T> { private boolean set; private T value; public Result() { } public Result(T t) { this.value = t; th...
16.902439
69
0.541126
4f8d6d6ecdad836d7de67ce151a42ca533abd1a0
5,757
package com.sheng.one_sheng.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.text.Html; import android.util.Log; import android.view.MenuItem; import android.view.View; im...
35.757764
113
0.649991
3af1cf25eaab1b26cd4622bee14211d41985646a
4,478
/* * 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 ...
42.647619
129
0.771773
4de6a66d168c5e685ee7228dd837c981b11229ec
745
package com.imooc.view; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class GuideFragment extends Fragment { final static String LAYOUT_ID = "layoutid"; public static GuideFragment newInstance(i...
24.833333
104
0.766443
d783f57ca0430bebb38e56e65cdf256fc72abb5a
589
package com.doc.manager.domain; import lombok.Data; import javax.persistence.*; import java.io.Serializable; @Entity(name = "TemplateDocument") @Table(name = "template_document") @Data public class TemplateDocument implements Serializable { @Id @Column(name = "id") @GeneratedValue(strategy = GenerationT...
21.814815
55
0.709677
ac5755693867406ac894e863e9ed013865adf968
1,508
package com.softwareverde.bitcoin.transaction.input; import com.softwareverde.security.hash.sha256.Sha256Hash; import com.softwareverde.bitcoin.util.bytearray.ByteArrayReader; import com.softwareverde.util.Util; /** * Is functionally the same as a regular TransactionInputInflater, however additional checks are in pl...
45.69697
122
0.763926
5c2e4b496e0c64419f1fee99e5f09506627358f3
1,179
package com.yffd.easy.bcap.workflow.service; import org.activiti.engine.FormService; import org.activiti.engine.HistoryService; import org.activiti.engine.RepositoryService; import org.activiti.engine.RuntimeService; import org.activiti.engine.TaskService; import org.springframework.beans.factory.annotation.Autowired;...
23.117647
62
0.77693
1b6327c745514f4c0897dab4cbe9659d03e9c180
1,178
package com.xiwan.NettyGamer.cache; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Future; import java.util.concurrent.FutureTask; import java.util.function.Consumer; import com.xiwan.NettyGamer.entity.RequestData; import io.netty.channel.Channe...
26.177778
122
0.766553
21f4a4589637dbc893303ed8e74c8b6d0a93bfc3
476
package com.ivan1pl.witchcraft.context.annotations; import java.lang.annotation.*; /** * Configuration value will be assigned to the parameter annotated with this annotation. If the assignment is not * possible, an exception will be thrown (in case of commands, the command will fail). */ @Target(ElementType.PARAME...
26.444444
113
0.743697
8f7ac4ef9874cb57d9e03da9997050930cd299b2
2,588
package fr.moderncraft.sql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.bukkit.entity.Player; public class Main_Sql { private Connection conn; private Map_Sql map; public Main_Sql(String url, String us...
24.647619
128
0.668083
c37f60ddc633a328744487dbb35b0d34f42633c9
4,574
package com.barbearia; import java.time.LocalDate; import java.util.Arrays; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import ...
42.351852
114
0.783559
558a9925a4fafbe4f74394d9100d1666125e82bd
56
package inheritance; interface Foo { String foo(); }
9.333333
20
0.696429
00a5cfb9c1f5e2238a13782c109da6a8e66b030d
1,199
package org.facedamon.config; import com.netflix.loadbalancer.*; import org.springframework.cloud.netflix.ribbon.StaticServerList; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import java.util.ArrayList; import java.util.List; /** * @author damon ...
23.057692
67
0.634696
824f70812c88c99e5efd4c737e372255496a5312
4,756
package dh.mygrades.view.activity; import android.os.Bundle; import android.os.Parcelable; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import an...
39.633333
149
0.743482
111d4f63763e4c2acdfe0461bcf30af61ee36e42
7,005
package squarerock.hoot.fragments; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayo...
34.678218
129
0.666809
7cfdfe4702c04751eb7cda54541235d7495f1490
5,289
package yuku.alkitab.yes2.compress; import yuku.alkitab.yes2.io.RandomAccessFileRandomInputStream; import yuku.alkitab.yes2.io.RandomInputStream; import yuku.bintex.ValueMap; import yuku.snappy.codec.Snappy; import java.io.IOException; public class SnappyInputStream extends RandomInputStream { public final String T...
35.02649
182
0.744375
cdfd2566adfb4a075a27ca2f670858acc0939ecc
259
package LightQuestion; public class GarageDoorlightOffCommand implements Command { GarageDoor garagedoor; public GarageDoorlightOffCommand(GarageDoor garagedoor) { this.garagedoor = garagedoor; } public void execute() { garagedoor.lightOff(); } }
18.5
59
0.783784
dba4c2f408cccd2edbc97d0acbe0709769aa5f5d
642
package introwork; import org.junit.Test; import core.ChromeDriverTest; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import java.io.File; /** * 入門課題その5:「チェックボックスを選択してみよう」 * 解答例 */ public class IntroWork5Test extends ChromeDriverTest { @Test public void testClickCheckbox() throws E...
23.777778
77
0.665109