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
45a7ae62e002a5d000e0aeeff01de83e34453892
2,103
package ghostawt.sun; import java.awt.Font; import java.io.File; import java.io.InputStream; import java.nio.file.CopyOption; import java.nio.file.Files; import java.nio.file.StandardCopyOption; import sun.awt.FontConfiguration; import sun.font.Font2D; import sun.font.PhysicalFont; public class GFontManager extends ...
28.808219
106
0.666191
b28843b191fa812d16a9922b7cbc5f9fd2468db1
1,505
package com.jornadajava; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class Pagina { public boolean validaTituloDaPaginaInicial(WebDriver driver) { // busca o titulo da página inicial pel...
35
97
0.665116
c84e8db61adfe382709ffb286f516a63abb9a883
1,356
// CHECKSTYLE:OFF package grafikusFelulet; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Button; import javafx.scene.control.TextField; import javafx.stage.Stage; public class Ja...
27.673469
77
0.702802
f1e4e61a52070f7d30960d1e6ed1a55770f93a27
7,018
/* * Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.array; import java.util.ArrayList; import java.util.List; import ucar.ma2.DataType; import ucar.ma2.InvalidRangeException; import ucar.ma2.Range; import ucar.ma2...
34.067961
108
0.653748
be78573708f580b7a88e4817f77634ece5ca4afc
491
package org.example.silenum.mockito.domain.repository; import java.util.Optional; import java.util.Set; import org.example.silenum.mockito.domain.entity.Canton; import org.example.silenum.mockito.domain.entity.City; import org.example.silenum.mockito.domain.entity.Country; public interface CityRepository extends Bas...
25.842105
68
0.798371
ddfaef42583ae544dde160766e2f9c6da90c6008
1,422
package io.odpf.firehose.sink.log; import io.odpf.firehose.config.AppConfig; import io.odpf.firehose.metrics.Instrumentation; import io.odpf.firehose.sink.SinkFactory; import io.odpf.firehose.metrics.StatsDReporter; import io.odpf.firehose.sink.Sink; import com.gojek.de.stencil.client.StencilClient; import com.gojek...
36.461538
140
0.76301
aa366c3a47fde23b33d1ef148433d069e98c32a9
1,793
/* * Copyright (C) 2016 Original Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
25.253521
75
0.728388
0511bdc1a9194534e7c8d877a61581f3418bb189
1,721
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; class POSTagging{ public static void main(String[] args) { ArrayList<String> input ; ...
26.476923
92
0.582801
898fa246820ad666042b26085c3434a31797ada7
1,658
package resources; public class Resources { public static String userCreateAPI() { String userCreateAPI="/api/user/v2/create"; return userCreateAPI; } public static String userReadAPI(String st1) { String userReadAPI="/api/user/v3/read/"+st1+""; return userReadAPI; } public static String use...
19.057471
66
0.72497
a411c2b7fe865101837d88fa63159f338297f7db
643
package com.whirvex.args; /** * Signals that an error has occurred in parsing due to multiple options sharing * identical IDs. */ public class DuplicateIdException extends ArgsException { private static final long serialVersionUID = -8292663925691172640L; private final String id; /** * Constructs a new {@co...
18.911765
80
0.66563
aa37b09624d489a422811c9ef3ded97b6b5e9d8b
3,945
/* * Copyright 2009-2012 The MyBatis Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
33.151261
103
0.611914
dfa5f97de9247bfeab588027e13bc86f74849e23
16,126
/* * Copyright (C) 2020-2022 Objectos Software LTDA. * * 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 ...
23.0701
98
0.643433
77722e62960e621386f3fa7869b214dafffd5f44
44,217
package android.content.res; import static de.robv.android.xposed.XposedHelpers.findAndHookMethod; import static de.robv.android.xposed.XposedHelpers.getIntField; import static de.robv.android.xposed.XposedHelpers.getObjectField; import java.io.File; import java.util.Arrays; import java.util.HashMap; import java.util...
35.317093
136
0.712102
1d0947a3a76b83f6b94b631fd95f583d4c2bbaaa
3,138
package eu.openminted.registry.domain; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation....
31.38
142
0.622371
2273d854cf6e995d4efe08337effeefda3001cae
2,451
package gov.va.vinci.chartreview.model.schema; import org.apache.commons.lang.builder.ToStringBuilder; import javax.persistence.*; import java.sql.Timestamp; import java.util.Date; import java.util.UUID; @Deprecated @Entity public class ClassDefAttributeDefSortOrder implements java.io.Serializable, Comparable<ClassD...
23.567308
117
0.649939
68baa3053130ce14a5ba5f153bebfff2387b86cc
5,389
package codeu.controller; import codeu.model.data.Conversation; import codeu.model.data.Message; import codeu.model.data.User; import codeu.model.store.basic.BasicConversationStore; import codeu.model.store.basic.BasicMessageStore; import codeu.model.store.basic.BasicUserStore; import codeu.model.store.interfaces.Conv...
34.107595
100
0.730377
8e8d83646d7f5329f6b7149d53dc8ff2d8c2eec9
18,650
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.firebase.client.core; import com.firebase.client.snapshot.ChildKey; import com.firebase.client.snapshot.LeafNode; import com.firebase.client.u...
37.225549
137
0.561394
9bbacd562bf6bd7d0c2624e5683cb47e5b6aa326
2,264
/* * Copyright 2013 Krzysztof Marecki * * 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 agr...
32.811594
89
0.756184
9d57264bc76a9cb57302314075ce8629e506e389
6,037
/* * Copyright (c) 2016-2017, Adam <Adam@sigterm.info> * 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, this * ...
27.820276
82
0.711446
7010204ddedbd766a340756a7a1e945ceaf6105a
4,524
/* * Copyright (C) 2013 The Rythm Engine project * Gelin Luo <greenlaw110(at)gmail.com> * * 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 l...
32.546763
118
0.597701
201c22366f2feb584a1459d003da410bce9fb88a
47,437
//======================================================================== //Copyright 2013 David Yu //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may o...
25.544965
104
0.454961
a06d656e0ad53c757464fb1f0733fb42de33011d
607
package eu.the5zig.mod.chat.network; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToByteEncoder; import javax.crypto.Cipher; public class NettyEncryptingEncoder extends MessageToByteEncoder<ByteBuf> { private final NettyEncryptionTranslator encr...
30.35
111
0.827018
b004f8391a22bfaf429fff5502bf5092a78a227b
698
package org.fluentcodes.projects.elasticobjects.calls; import org.fluentcodes.projects.elasticobjects.testitemprovider.IModelConfigNoCreateTests; import org.junit.Test; /** * Created by Werner on 17.11.2021. */ public class CallImplTest implements IModelConfigNoCreateTests { @Override public Class<?> getMod...
23.266667
90
0.7149
4b5ca93a2079b4c0bb89e7dade4fbdc8c5d70c53
997
package com.example.cameraapp; import android.content.ContentValues; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DBHelper extends SQLiteOpenHelper { private static final int VERSION = 1; private static final Strin...
25.564103
78
0.674022
5a0b1f677828a43930f219cc512de1c97bef7934
3,556
/* * Copyright 2014-2019 JKOOL, LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
36.285714
106
0.799213
641516c0824ce65e74a0416fb64e3dd2dabd0b4c
1,396
package quina.net.nio.tcp; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; /** * 受信Bodyデータの出力処理. */ public interface NioRecvBody extends Closeable { /** * binaryで書き込み. * @param bin * @return * @throws IOException */ public int write(byte[] bi...
16.232558
56
0.657593
a25fe5f4c372e46be82ab84c09ff1ef84e2f726c
893
package com.github.lindenhoney.repository; import com.github.lindenhoney.entity.VerseEntity; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Repository; import org.springframework.data.repository.query.Param; import java.util.List; import java.util.Optional; public in...
40.590909
115
0.767077
335a5e613e032a3e8a8eafb0255bb52674c74909
2,091
/* * Copyright © 2021 LambdAurora <aurora42lambda@gmail.com> * * This file is part of LambdaControls. * * Licensed under the MIT license. For more information, * see the LICENSE file. */ package dev.lambdaurora.lambdacontrols.client.mixin; import dev.lambdaurora.lambdacontrols.ControlsMode; import dev.lambdaur...
38.722222
172
0.710187
402f6e58253654c87d06a8e743d6666c4470d4e5
17,025
/* * Copyright (c) 2022. Alwin Ibba * * 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 ...
46.643836
88
0.71906
bb96849e9e46d628755811db416e634977018bb8
4,267
// Copyright 2021 LinkedIn Corporation. All rights reserved. // Licensed under the BSD-2 Clause license. // See LICENSE in the project root for license information. package com.linkedin.cdi.util; import com.google.gson.JsonObject; import org.apache.gobblin.codec.StreamCodec; import org.apache.gobblin.configuration.St...
41.427184
109
0.736349
f8476a7ff495803d2e461283fe5d916180e382bd
392
package cz.denisfiser.location; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes = DemoApplication.class) public c...
23.058824
71
0.821429
8f95d7810e599a4962580ce4393428a09a92b46a
681
package io.github.vikeshpandey; import java.io.PrintWriter; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class SecondServlet extends HttpServlet { /** * */ private static final long...
20.029412
79
0.726872
fa52a82b9b267f9194577363f129827fd9e6cf2a
297
package net.coding.program.common.model.form; import net.coding.program.common.model.util.PageUtils; public class ProjectForm extends PageUtils { public int type; public int getType() { return type; } public void setType(int type) { this.type = type; } }
16.5
54
0.6633
029301c0072172708a6e076542941ee04e3a8fb5
3,754
/** * Selection class is the second sorting algorithm benchmarking * Author : Marco Men * Computational Thinking & Algorithm Analysis Final Project * Last Changed : 07 - October - 2019 */ // Java program for implementation of Selection Sort import java.io.FileNotFoundException; import java.io.FileOutputStream; ...
25.537415
115
0.541289
4d6b66943a9ca9fda9fc495061bb0c5b9307a6ce
2,772
package com.ms.silverking.cloud.dht.client.example; import java.io.IOException; import com.ms.silverking.cloud.dht.client.ClientException; import com.ms.silverking.cloud.dht.client.DHTClient; import com.ms.silverking.cloud.dht.client.SynchronousNamespacePerspective; import com.ms.silverking.cloud.dht.gridconfig.SKGri...
35.088608
98
0.577201
d1408022ac004abdde7a13f807a144029e68b567
4,515
/* * Copyright (C) 2014 barter.li * * 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 wr...
30.714286
199
0.66711
945a84de774612210bef643621ad292f0c9c4edf
4,107
package xyz.brassgoggledcoders.steamagerevolution.tileentities; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.teamacronymcoders.base.guisystem.IHasGui; import com.teamacronymcoders.base.tileentities.TileEntityInventoryBase; import net.minecraft.client.gui.Gui; import net.minecraft.cli...
32.085938
118
0.624787
ea662fc893003c5d5e28f7a82bea802568b56bfb
4,635
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.94958
97
0.755771
f2f8528c5db00fba1ef50e52f41a67d81e7a69ae
7,053
package com.distil.functional; import com.distil.lang.NotNull; import org.junit.Test; import java.io.FileNotFoundException; import java.io.IOException; import static com.distil.functional.ThrowsAsResult.throwsAsResult; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo;...
32.652778
95
0.595491
60fb87336d138107b1da9e777489d55f013abb30
11,738
package studio.raptor.ddal.dashboard.curator; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Properties; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.framework.imps.CuratorF...
34.934524
127
0.544386
35a729d26650f7b083541b2297db294596691706
1,080
package com.serviciomecanico.serviciomecanico.Modelo; public class Herramienta { public String nombre; public String descripcion; public String marca; public String cantidad; public Herramienta() { super(); } public Herramienta(String nombre, String descripcion, String marca, Stri...
20.377358
90
0.623148
0321b5ee99db996b6b16811a8479cfa8f42c1b26
1,042
package org.odk.collect.android.test; import android.content.Intent; import androidx.test.core.app.ApplicationProvider; import androidx.test.espresso.intent.rule.IntentsTestRule; import org.odk.collect.android.activities.FormEntryActivity; import org.odk.collect.android.storage.StoragePathProvider; import org.odk.co...
33.612903
130
0.786948
7ab704b90840d29d921519ff13602f6c42bbcf5c
2,326
/* * Copyright (C) 2021 Scott Shaffer - 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 appl...
32.760563
89
0.55374
b40f13cb4f39061cda078c47e50499cff7e3e3da
3,283
package com.peepopharma.persistence.model; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import java.io.Serializable; i...
33.845361
106
0.720073
7bea9f8ef6e82a28221ebcd73ae78e6353db0ff3
1,599
package com.yelelen.sfish.helper; import com.raizlabs.android.dbflow.sql.language.SQLite; import com.yelelen.sfish.Model.MmLabelModel; import com.yelelen.sfish.Model.MmLabelModel_Table; import java.util.List; /** * Created by yelelen on 17-10-6. */ public class MMLabelDbHelper extends BaseDbHelper<MmLabelModel> {...
28.553571
70
0.616635
a160a2d52995e70c90e634d87ddda4e75cc39811
428
package io.akwa.traquer.guardtrack.common.updatedevice; import io.akwa.traquer.guardtrack.exception.NicbitException; import io.akwa.traquer.guardtrack.model.ApiResponseModel; public class UpdateDevicePresneter { public interface View { void onDeviceUpdate(ApiResponseModel response, NicbitException e); ...
23.777778
74
0.773364
068cdacefe7d152380d883995a5174effaec1725
940
package com.ssup2ket.store.domain.service; import com.ssup2ket.store.domain.entity.Inbox; import com.ssup2ket.store.domain.entity.ProductInfo; import java.util.List; import java.util.UUID; public interface ProductService { public List<ProductInfo> listProductInfos(UUID storeId, int page, int size); public List<P...
32.413793
97
0.810638
b4010adf066e89d2f032f6e5a9652ceb1a6d543c
72
duplicates test test object extracted extracted extracted system println
72
72
0.888889
a27122404ad1f5423400a48efb98a90f8ac46e33
2,895
/***************************************************************************** * FILE NAME : ResponseFactory.java * VERSION : 1.0 * AUTHOR : avijit * DATE : Nov 7, 2017 * DESCRIPTION : together ****************************************************************************/ package com.avijitmondal...
34.464286
120
0.63247
e7d35b97d2b90162ee0d97d370940555db8554ca
13,506
/* * Copyright 2011 ETH Zurich. All Rights Reserved. * * This software is the proprietary information of ETH Zurich. * Use is subject to license terms. */ package ch.ethz.globis.phtree.bits; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import java.util.Arrays; import java.uti...
25.725714
96
0.627499
35dfa0a8e0cd2e8564e41476a585dd76baa9cb8e
10,412
package com.pixop.sdk.services.media; import com.pixop.sdk.services.accounts.AccountsServiceClient; import com.pixop.sdk.services.accounts.config.AccountsServiceClientConfig; import com.pixop.sdk.services.accounts.response.NewAuthToken; import com.pixop.sdk.services.media.MediaServiceClient.DownloadFuture; import com....
47.543379
232
0.587975
812dc2c433dccc4804f768824d9964946a4667c2
2,610
package com.codeborne.selenide.commands; import com.codeborne.selenide.DriverStub; import com.codeborne.selenide.SelenideElement; import com.codeborne.selenide.ex.ElementNotFound; import com.codeborne.selenide.impl.WebElementSource; import org.assertj.core.api.WithAssertions; import org.junit.jupiter.api.BeforeEach; i...
38.955224
124
0.756322
d2550989eeaa3c5362ac7a88d24ceee1bc74c0c1
1,815
package jdepend.swingui; import java.util.*; import jdepend.framework.*; /** * The <code>AfferentNode</code> class is a <code>PackageNode</code> for an * afferent Java package and its afferent packages. * * @author <b>Mike Clark</b> * @author Clarkware Consulting, Inc. */ public class AfferentNode extends Pac...
27.089552
93
0.630854
dcf42ce00b83a38e41945d33611239f61a6509b2
541
package com.bluethink.entity; import lombok.Data; import java.sql.Blob; /** * @auther BlueThink Cyan * @create 2019/3/18 */ @Data public class GraphInfo { /** 图形信息编号 */ private Integer graphId; /** 用户编号 */ private Integer userId; /** 图形类型 */ private String graphType; /** 图形颜色 */ pr...
17.451613
32
0.600739
1dedaf9b2e068af3fd4aa22be678044a900a2583
5,513
/* * Copyright 2020-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this artifact or file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * *...
34.242236
102
0.763287
365a0480e894819ad1194797d7a9b2e93deef452
3,245
/* * Copyright 2013 Xebia and Séven Le Mesle * * 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 ...
41.075949
134
0.752851
8697de49713e86b40ff14009ec69e006f425d047
2,198
package com.zarbosoft.merman.editor.visual.alignment; import com.zarbosoft.merman.editor.Context; import com.zarbosoft.merman.editor.IterationContext; import com.zarbosoft.merman.editor.IterationTask; import com.zarbosoft.merman.editor.visual.Alignment; import com.zarbosoft.merman.editor.visual.AlignmentListener; imp...
26.804878
97
0.755687
be2a42178db28cb7fc155cd5cc637d56a45d4611
2,455
import java.io.*; // Import the Java I/O Classes import java.text.NumberFormat; // For formatting as $nn.dd or n% public class CDInterest { private KeyboardReader reader = new KeyboardReader(); // Keyboard interface private double principal; // The CD's initial principal...
49.1
89
0.582485
ce0d372bd4ef997050219ba0672f16f0beb94dd2
882
package com.example.appaboutmyself; import android.app.Activity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class Hobbies extends AppCompatActivity { private EditText hobbieInput; ...
24.5
69
0.697279
c1d9c22aab3fb1bbb6a3324d37a474b055f18d95
5,160
package de.numcodex.sq2cql.model.structured_query; import de.numcodex.sq2cql.Container; import de.numcodex.sq2cql.model.Mapping; import de.numcodex.sq2cql.model.MappingContext; import de.numcodex.sq2cql.model.common.Comparator; import de.numcodex.sq2cql.model.cql.BooleanExpression; import de.numcodex.sq2cql.model.cql....
37.391304
98
0.733721
d73a3c6233133300edddca4599dcd24372fbb548
12,156
/* * 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 ...
47.484375
130
0.659592
0fc4ea85b910c27812cff967853d31bd83faae70
222
package com.litee.backup_file_hashes; import java.io.File; /** * User: Andrey * Date: 2015-02-20 * Time: 01:01 */ public interface FileMetadataCalculator { FileMetaData processFile(File file) throws Exception; }
17.076923
57
0.72973
d20c5975ecc4133cdaeec07d8494bdbd9f7bfcf4
2,752
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * Copyright (C) 2007 The Guava 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...
21.84127
602
0.795422
2012d1052681098b73011005cc4c1e58753d4436
4,983
// *************************************************************************************************************************** // * 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 regar...
37.466165
127
0.590608
e039e244051153f1c84c8131513a4a8ef4c57250
126
package org.ohdsi.webapi.cohortcharacterization; public interface CcConst { String dateFormat = "yyyy-MM-dd HH:mm:ss"; }
21
48
0.753968
553a97c16bdc88738e6228bc369e638cb0d4817f
2,365
/* Copyright (C) 2002 Dept. of Computer Science, Univ. of Massachusetts, Amherst This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This program toolkit free software; you can redistribute it and/or modify it under the terms of the GNU General P...
25.706522
80
0.712896
e90bb27dd23c43877ca2f3396e702e7a39284e82
2,204
package cn.ac.dicp.group1809.utilities.mzIdentML_reader.io.input; import cn.ac.dicp.group1809.utilities.mzIdentML_reader.model.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; im...
34.4375
110
0.745463
7c48e2882e0744f102808bc084e22110c9551512
2,205
package edu.hm.hafner.analysis.parser; import edu.hm.hafner.analysis.AbstractParserTest; import edu.hm.hafner.analysis.Report; import edu.hm.hafner.analysis.Severity; import edu.hm.hafner.analysis.assertions.SoftAssertions; /** * Tests the class {@link SbtScalacParser}. * * @author Hochak Hung */ class SbtScalacP...
38.017241
117
0.61678
ee21485bea3bf54efa098b78d04e43d9d9d90f71
1,352
/* * Copyright (c) 2018 Falko Schumann * Licensed under the terms of the MIT License. */ package de.muspellheim.alarmclock.body; import de.muspellheim.util.*; import java.time.*; public class Watchdog { public final Event<Duration> onRemainingTime = new Event<>(); public final Action onWakeupTimeReached...
27.591837
86
0.651627
d6098cca6c4445b647f8a860a27e3c46ef4a6237
6,976
/* * Copyright 2019 Amazon.com, Inc. 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 applic...
41.52381
106
0.749713
ecce96d8ac1cdf6d02deff4c68aa9097feb7a18e
367
package com.xfastgames.witness.mixin.utils; import net.minecraft.client.Mouse; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(Mouse.class) public interface MouseAccessorMixin { @Accessor("cursorLocked") boolean getCursorLocked(); @Accessor("cursorLocked...
22.9375
48
0.773842
d5e8aa465821870ed28b9ebe8b16827492732966
179
package example.dto.thirdparty; import example.dto.Car; import example.dto.carparts.*; public class SwedishCar extends Car { public boolean safe=true; public SafetyBelt sb; }
17.9
37
0.782123
48174c7db017332ce8a149496f80e61ec89a142a
363
package com.github.mirs.banxiaoxiao.framework.core.woodpecker.vpipe; import java.io.Serializable; import org.crsh.command.Pipe; public class Message implements Serializable { /** * */ private static final long serialVersionUID = 1178259458699260621L; public int msgType; public...
15.782609
70
0.661157
bc3379b56ef717fcb1e2b0e1b9ee77401724dc9a
1,562
package joshie.progression.helpers; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.item.ItemStack; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; public class RenderItemHelper { pr...
44.628571
141
0.677977
301f74b4fe49170bbc90cd8bd7bae2608308e409
7,525
package io.axway.iron.spi.kafka; import io.axway.alf.log.Logger; import io.axway.alf.log.LoggerFactory; import kafka.server.KafkaConfig; import kafka.server.KafkaServer; import kafka.server.RunningAsBroker; import org.apache.kafka.common.utils.Time; import org.apache.zookeeper.server.ServerCnxnFactory; import org.apac...
41.346154
146
0.676412
3f33acf5214eb55670714fd7c0b41a78bd7e12f9
2,177
package uk.gov.hmcts.reform.bailcaseapi.domain.service; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import uk.gov.hmcts.reform.bailcaseapi.domain.entities.BailCase; import uk.gov.hmcts.reform.bailcaseapi.domain.entities.ccd.Event; impor...
41.865385
118
0.745521
1903158301b9f8785b6c1789081dfe0d04f37968
10,024
/** * 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...
44.950673
119
0.638168
2cb207b531521f1f67084e9525413e1fcf07513f
269
package method_hiding; public class animal_02 { public static boolean isBiped() { // public boolean isBiped() { return false; } public void getAnimalDescription() { System.out.println("Animal walks on two legs: "+isBiped()); } }
19.214286
67
0.63197
b81beb50f166bea85361714fba50dc7398de96ca
269
package com.sununiq.scaffold.dao; import org.apache.ibatis.annotations.Mapper; /** * @program: springboot-mybatis-scaffold * * @description: 集成mapper分页插件和通用mapper * * @author: sununiq * * @create: 2018-09-06 21:18 **/ @Mapper public class CustomerMapper { }
14.944444
44
0.713755
3aa01f7d0ef369c892a9cf13b9c044eefe0d7a7f
2,892
/* * Copyright (C) mokiat.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
35.268293
95
0.652144
46f6f1d4efe58e4b34efcf8d84b28cedd84f3695
1,240
class Solution { public boolean isValidSudoku(char[][] board) { // Row and Column checked for(int i=0;i<9;i++){ HashSet<Character> rowHs = new HashSet<>(); HashSet<Character> colHs = new HashSet<>(); for(int j=0;j<9;j++){ if(board[...
32.631579
65
0.33629
bfa954a3a4e82b982fd8c02ca37daffac27ca6f9
1,524
package com.ul.ims.apdu.encoding; import com.ul.ims.apdu.apps.ExampleApp; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class ReadBinaryShortFileIDCommandParseTests { @Test public void testReadBinaryOffsetCommandSimple() throws Excepti...
39.076923
129
0.730971
f302b6e33a1eefc2c54a17588224496a39632d07
9,147
package ams; import java.util.*; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.io.File; import java.io.FileWriter; public class Account { private S...
31.43299
127
0.72286
823ae956c15bd0dc962e471aefbade351310d5ef
169
package me.devtools4.saga4j.api; import java.util.function.BiFunction; @FunctionalInterface public interface Fallback extends BiFunction<Throwable, Input, Output> { }
21.125
72
0.816568
f7000089ad4a40a515e117cc16d18e89348824c5
6,568
package org.jgroups.protocols; import org.jgroups.Address; import org.jgroups.Global; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.protocols.pbcast.GMS; import org.jgroups.protocols.pbcast.NAKACK2; import org.jgroups.stack.Protocol; import org.jgroups.util.MyReceiver; import org.jgroups....
37.747126
118
0.630024
2b24ac1a12d82150e2cc0fb6de7957f4a2417759
8,386
/* * 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.510288
99
0.718817
22c2485b161bfd8b2f52cb120a2fb2f45c61a7bd
13,994
/* * Autopsy Forensic Browser * * Copyright 2011-2015 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * 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...
51.260073
175
0.698156
f8cb3ef73e97ece77e123a1cd5d1461b0e70b3ac
17,986
/* * 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 telas; import dados.Cliente; import javax.swing.JOptionPane; import repositorio.RepositorioCliente; /** * * @author fabio ...
46.595855
164
0.604748
133950984137a5cfbcd530c12e88eacaa554b8fa
3,118
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
43.915493
99
0.730276
d9efef3609a94539e4e8af6467055c6453322282
799
package com.lujiahao.java8inaction.chapter11.chapter11_4; import com.lujiahao.java8inaction.Java8Util; import java.util.Random; /** * @author lujiahao * @date 2019-03-23 22:08 */ public class Shop11_4 { private String name; public Shop11_4(String name) { this.name = name; } public String...
24.212121
105
0.653317
496e1f70bbf29e96283495e9f8a812ffdf65c4ac
1,065
package org.firstinspires.ftc.robotcontroller.internal.Core.Sensors; import com.qualcomm.robotcore.hardware.OpticalDistanceSensor; import org.firstinspires.ftc.robotcontroller.internal.Core.RobotBase; /** * Created by pmkf2 on 12/5/2018. */ public class OpticalDistance extends RobotSensor { public OpticalDist...
20.480769
106
0.635681
6b5a6881647b65f52bfafa3841769009ec6c5438
3,997
package com.deepoove.swagger.diff.compare; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import com.deepoove.swagger.diff.model.ChangedParameter; import io.swagger.models.Model; import io.swagger.models.RefModel; i...
35.061404
122
0.682262
79b19db7dc35ce84d83b9923d47d1298acb3ca76
1,837
package oxim.digital.reedly.ui.model; public final class FeedViewModel { public static final FeedViewModel EMPTY = new FeedViewModel(0, "", "", "", ""); public final int id; public final String title; public final String imageUrl; public final String link; public final String description; ...
29.629032
154
0.588459
618a649f69e29b015aa2581a2fcfe11bc13ad0cd
131,161
/* * Copyright 2015-2020 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 "licen...
41.519785
161
0.633062
c2d7de1502ca1e76788d4c59591dda51fe45bb23
2,439
package com.takipi.api.client.functions.input; import com.takipi.integrations.functions.annotations.Function; import com.takipi.integrations.functions.annotations.Param; import com.takipi.integrations.functions.annotations.Function.FunctionType; import com.takipi.integrations.functions.annotations.Param.ParamType; @F...
42.051724
122
0.713407
cc3561225e252dbf822c89df10c39483cef71134
283
package com.group6.shopping.models.services; import com.group6.shopping.models.vo.ModelsVO; import java.util.List; public interface ModelsService { public ModelsVO getModel(ModelsVO modelsVO) throws Exception; public List<ModelsVO> getBrandNewModels() throws Exception; }
25.727273
65
0.798587
9713f4bc82e4808e38d5ff767481174a0fa829e7
935
package com.bug204792.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity implements View.OnClickListener{ TestJava mTest = new TestJava(); ...
27.5
84
0.649198
cbdc55ab4e7241b67994e8a372edfa363c41264f
1,552
package org.basex.io.out; import java.io.*; import org.basex.io.*; /** * This class uses a byte buffer to speed up output stream processing. * * @author BaseX Team 2005-22, BSD License * @author Christian Gruen * @author Tim Petrowsky */ public final class BufferOutput extends OutputStream { /** Buffer size....
21.260274
70
0.643686
1a3cd17a4d77fba01d74f6633a92cb5f8f9f2d87
1,544
package befaster.translators; import befaster.utils.Dim; import befaster.utils.VariableTypes; import java.util.Set; public class DimCommandTranslator implements BasicTranslator { private final Set<Dim> arrays; public DimCommandTranslator(Set<Dim> arrays) { this.arrays = arrays; } @Override...
30.88
90
0.602979
c7761353be8de629c4d113ebf3678059ca03c27b
828
package no.ssb.sagalog.pulsar; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class PulsarSagaLogIdTest { @Test public void thatGetSimpleLogNameWorks() { PulsarSagaLogId logIdFromParts = new PulsarSagaLogId("mycompany", "internal-sagalog-integration-testing"...
36
137
0.737923