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
6b255f6a81d587c8ecb993270a5a28bd4a9c52b8
269
package com.immplah.repositories; import com.immplah.entities.MedicationPlan; import org.springframework.data.jpa.repository.JpaRepository; import java.util.UUID; public interface MedicationPlanRepository extends JpaRepository<MedicationPlan, UUID> { }
22.416667
88
0.802974
e5c4e159d5034ec427f75f643263277103d46351
7,884
package com.deftwun.zombiecopter; import net.dermetfan.gdx.physics.box2d.Box2DMapObjectParser; import com.badlogic.ashley.core.Entity; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.maps.Map; import com.badlogic.gdx.maps.MapLayer; ...
30.091603
98
0.668696
777029bfb30e3be085503aa12bde12bf348316fa
3,528
package ch.epfl.rigel.coordinates; import ch.epfl.rigel.math.Angle; import ch.epfl.rigel.math.Polynomial; import org.junit.jupiter.api.Test; import java.time.ZoneId; import java.time.ZonedDateTime; import static ch.epfl.rigel.astronomy.Epoch.J2000; import static ch.epfl.rigel.coordinates.CoordinateAssertions.assertE...
44.1
110
0.614229
255465a762653c8938f89f43e9037296ef83cb36
1,533
package com.company.template.client; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot...
33.326087
85
0.778213
79c134690f8ba5fcf1aee1de40ad5f31578c0e58
6,488
/* * Copyright 2018 Marco Helmich * * 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...
41.858065
188
0.682645
a0ef8e369f1e2e560d042f60bc3935e16c801f9d
3,824
package dev.shelenkov.portfolio.security.oauth2.loginprocessors; import dev.shelenkov.portfolio.domain.Account; import dev.shelenkov.portfolio.service.account.AccountService; import dev.shelenkov.portfolio.service.registration.RegistrationService; import lombok.Data; import org.springframework.core.ParameterizedTypeRe...
41.565217
116
0.715481
1e554b750fcf97d15cb3a8703fc03ef1541621d1
16,620
/** * 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...
39.29078
100
0.615463
145288749af2262fd17b306cd5e43338bd4b4546
2,678
package com.fasterxml.uuid; import java.util.Comparator; import java.util.UUID; /** * Default {@link java.util.UUID} comparator is not very useful, since * it just does blind byte-by-byte comparison which does not work well * for time+location - based UUIDs. Additionally it also uses signed * comparisons for long...
34.333333
97
0.592233
5529dceb7c5c813b2a800fdccf16f5ef7c02c110
216
package test.listeners; import org.testng.Assert; import org.testng.annotations.Test; public class SetStatusSample { @Test public void aFailingTest() { Assert.fail("Failing deliberately"); } }
16.615385
44
0.703704
1e6f7fb9d6707e91d23ace9fe239b82bb735b544
7,125
package de.gurkenlabs.litiengine.gui; import de.gurkenlabs.litiengine.Align; import de.gurkenlabs.litiengine.Valign; import de.gurkenlabs.litiengine.graphics.ImageRenderer; import de.gurkenlabs.litiengine.graphics.Spritesheet; import de.gurkenlabs.litiengine.resources.Resources; import de.gurkenlabs.litiengine....
28.614458
101
0.631018
6fa8428495b99e4e1068e4c9f382e9de02d5f2b8
1,634
package edu.psu.sweng500.emrms.mappers; import edu.psu.sweng500.emrms.model.HEncounter; import edu.psu.sweng500.emrms.model.HPatient; import java.util.ArrayList; import java.util.List; public class LocallyCachedPatientMapper implements PatientMapper { List<HPatient> patientList; public LocallyCachedPatientM...
19.686747
72
0.669523
047fe748c1ffa3d9a5191fefa27b5ca1e35a8391
822
/** * Eleventh Java example program. * * @version 1.0 6th of June, 2019 * @author Amurita */ package de.amurita.chaptertwo; // Class to show differences between Remainder and Division public class RemainderAndDivDemo { // Print different Remainder and Division results public static void main ( String []...
32.88
61
0.492701
e810bbdc332c626c9f5aa301f24fa87fb8fb5ace
7,714
package com.github.mx.bizlog.aop; import com.github.mx.bizlog.bean.LogOps; import com.github.mx.bizlog.bean.LogRecord; import com.github.mx.bizlog.context.BizLog; import com.github.mx.bizlog.context.LogContext; import com.github.mx.bizlog.extend.LogOperator; import com.github.mx.bizlog.extend.LogPersistence; import co...
43.829545
142
0.661913
bb56f2847814accf949c75d502c7ae18cc8978f7
1,158
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
38.6
97
0.748705
5da1df9ad1b6fa1e3947bd4d89737bb37af3b6cb
820
/*Given 2 int values, return whichever value is nearest to the value 10, or return 0 in the event of a tie. Note that Math.abs(n) returns the absolute value of a number. close10(8, 13) → 8 close10(13, 8) → 8 close10(13, 7) → 0 */ public class close10 { public static void main(String[] args) { int output=cl...
29.285714
107
0.590244
55ec43ebc727e65a89f3e20ec61aba1fb98031b0
15,140
/** * 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...
34.965358
105
0.662153
ad6499f27f372a234acab74e7a57bdaea21fa65c
18,977
/* * This is the source code of Telegram for Android v. 1.4.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2014. */ package com.yahala.ui; import android.app.Activity; import android.app.AlertD...
49.290909
168
0.547505
0fd1b2f8a28ae93d6bafc606c06455c2877dd700
803
package bleserial; import tinyb.BluetoothDevice; public class BluetoothDeviceWrapper { private final BluetoothDevice device; public BluetoothDeviceWrapper(BluetoothDevice device) { this.device = device; } public BluetoothDevice getDevice() { return device; } @Override p...
21.702703
81
0.628892
044790eeb2ccf6d8e66b666c372fed5b76cb9477
9,339
package org.codehaus.mojo.jaxb2.shared.version; /* * 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 Apa...
38.432099
115
0.633473
bd680254022bc96fbad2d408e7fcdb56749b2caa
2,833
/* * Copyright 1999-2019 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 applicab...
32.94186
114
0.742323
35f300bfa01f8ce99ef25a38f418dc1b8011af08
630
package no.nav.aura.appconfig.security; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class Spnego extends Lo...
25.2
49
0.769841
3c67ee7e19875701b354cf204eeea3cd9fb32e89
1,408
package com.simibubi.create.content.curiosities.tools; import me.pepperbell.simplenetworking.C2SPacket; import me.pepperbell.simplenetworking.SimpleChannel; import net.minecraft.entity.player.ServerPlayerEntity; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.ServerPlayNetHandler; import n...
29.333333
147
0.786932
f5c3d6c98191ee257e9e9d72c17bea30cdcf3095
5,115
package paul.smash.display; import java.awt.Canvas; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import javax.swing.Timer; import paul.smash.framew...
23.901869
111
0.699902
a25a01d2d690a91f18ab546cb288a953ca730704
4,190
package com.centit.app.cmipmodule.gwsp.entity; import java.io.Serializable; /** * <一句话功能简述> * @Description<功能详细描述> * * @author rqj * @Version [版本号, 2015-9-15] */ /** * <一句话功能简述> * * @Description<功能详细描述> * * @author rqj * @Version [版本号, 2015-9-15] */ public class GWSPDetailBizDataResponse implements...
17.102041
62
0.511217
50b06e1be41b365177de5f092f6df1f8bbeb6b13
955
package org.sagebionetworks.web.client.jsinterop; import jsinterop.annotations.JsFunction; import jsinterop.annotations.JsNullable; import jsinterop.annotations.JsOverlay; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsType; @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object...
25.810811
126
0.781152
1feebe0e7a40954934213a8e849ca17c8625ccc7
1,273
package com.study.medium.four.threeSumClosest; import java.util.Arrays; //16. 最接近的三数之和 //给你一个长度为 n 的整数数组 nums 和 一个目标值 target。请你从 nums 中选出三个整数,使它们的和与 target 最接近。 //返回这三个数的和。 //假定每组输入只存在恰好一个解。 // //示例 1: //输入:nums = [-1,2,1,-4], target = 1 //输出:2 //解释:与 target 最接近的和是 2 (-1 + 2 + 1 = 2) 。 //示例 2: //输入:nums = [0,0,0], ta...
28.288889
79
0.498036
a273c7f8edf4b2de84c00ccdef10fbc0fd97f8ac
2,394
package ie.dit.giantbombapp.model.pojos; import com.google.gson.annotations.SerializedName; /** * Author: Graham Byrne * * Created: 22/11/2016 * Modified: 25/11/2016 * * POJO for the Review JSON object found on the Giantbomb API * * SerialisedName annotation is used to specify the JSON form of the variable *...
18
77
0.621136
6910230ab3c948ebf4faf439a7444f36c3f25fbb
1,051
package seedu.address.ui; // @@author itsdickson import static org.junit.Assert.assertEquals; import static seedu.address.ui.ThemesWindow.THEMES_FILE_PATH; import java.net.URL; import org.junit.Before; import org.junit.Test; import org.testfx.api.FxToolkit; import guitests.guihandles.ThemesWindowHandle; import jav...
28.405405
117
0.745956
5692ebd11942728e95933302392cb7db61b5a5cc
10,559
package com.coinninja.coinkeeper.service.client; import com.coinninja.coinkeeper.TestCoinKeeperApplication; import com.coinninja.coinkeeper.service.client.model.CNPricing; import com.coinninja.coinkeeper.service.client.model.GsonAddress; import com.coinninja.coinkeeper.service.client.model.TransactionDetail; import co...
47.138393
811
0.706033
36b22ed04728f1c48b3d012e71d384773bfd5f75
2,044
package org.firstinspires.ftc.teamcode.subsystems; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.Servo; import org.firstinspires.ftc.teamcode.Robot; //6766.2 encoder ticks public class Arm implements SubSystems { public D...
25.234568
76
0.591977
d99166386954dc608e58b015832d0c6f0b1d8acf
3,627
package TreeAutomataParser; import java.io.PrintWriter; import java.util.ArrayList; public class TreeNode { public TreeNode(ArrayList<SymbolWithArityNode> aList, String ID, ArrayList<String> sList, ArrayList<String> fList, ArrayList<TransitionNode> tList){ arityList = aList; myID = ID; stateList = sList; ...
26.474453
149
0.63689
9f540f01c276f3b4a87edfbd685708dfb96ccf28
13,723
package us.ihmc.gdx.ui.affordances; import com.badlogic.gdx.graphics.g3d.Renderable; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.Pool; import controller_msgs.msg.dds.FootstepDataListMessage; import imgui.flag.ImGuiMouseButton; import imgui.internal.ImGui; import us.ihmc.avatar.drcRobot.DRCRobotM...
45.743333
153
0.724331
40f9e6e90450eb0b2a4609489fe1ea85a6b3450b
4,110
/** * */ package org.einnovator.blueprint.entity1.manager; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Optional; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.einnovator.bl...
29.148936
136
0.712409
a649f0ef89b578565d95466e8f8cfbd8961963a9
2,057
package com.app.app1.activities.user; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.app.app1.R; import com.app.app1.config.C...
33.177419
113
0.673797
b714102fcd67c19ee96f39d581340bb3a18deecb
2,835
package com.gioov.oryx.quartz.service.impl; import com.gioov.oryx.common.easyui.Pagination; import com.gioov.oryx.common.util.SpringContextUtil; import com.gioov.oryx.quartz.entity.JobRuntimeLogEntity; import com.gioov.oryx.quartz.mapper.JobRuntimeLogMapper; import com.gioov.oryx.quartz.service.JobRuntimeLogService; i...
39.375
134
0.76649
f217a4537584fbf2f6467779474087fc562d184a
1,110
package io.github.frogastudios.facecavity.facecavities; import io.github.frogastudios.facecavity.facecavities.instance.FaceCavityInstance; import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import java.util.List; import java.util.Map; import java.util.Random; public interface FaceCavityType {...
37
92
0.807207
9851da3439a3d62648457c518092b0c9ba731248
6,551
/* * 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 under t...
44.263514
182
0.748741
a37afb33b0661679793105db7c281813bff936bb
4,723
/* * 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 ma...
29.892405
73
0.632014
cc25114396910ce42588582bee619cdb27237080
6,866
package de.chrlembeck.util.swing; import javax.swing.event.DocumentEvent; import javax.swing.event.UndoableEditEvent; import javax.swing.text.AbstractDocument.DefaultDocumentEvent; import javax.swing.text.BadLocationException; import javax.swing.text.Document; import javax.swing.text.JTextComponent; import javax.swing...
36.136842
120
0.648412
f74024c8cb48e5a6ec644a556e2e6741916827f6
895
package org.infokin.cdcollectionmanager.repository.core; import org.infokin.cdcollectionmanager.model.core.BaseEntity; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; /** * Generic implementation of basic repository operations. */ public abstract class AbstractBaseRepository<T ...
22.375
100
0.682682
8eeb977752dfd6f7e28352f33d49dd74c861c1e5
3,091
package com.universl.hp.vehicle_sale_app; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.RadioButton; import com.universl.smsnotifier.ApiSMSSender; import com.universl.s...
38.160494
220
0.666127
7aa160b23ddaa0d8fb11c6f7115e45f7ba8e5092
2,605
package com.myproject.thymeleaf.es.factory; import lombok.extern.slf4j.Slf4j; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.impl.client.BasicCredentialsProvider; ...
34.733333
130
0.667179
26122fd2f27d64412e383cd1ba06d8d813cc2756
1,887
/** * 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...
27.347826
84
0.669846
0d17f5a280c7dd590db589ef23b4f0a1d2903030
4,762
/*- * #%L * anchor-plugin-gui-import * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * 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 Soft...
40.355932
95
0.727215
e53eff80d59d670eca28366aab56669fecb56336
17,310
package com.temple.web.rest; import static org.assertj.core.api.Assertions.assertThat; import static org.hamcrest.Matchers.hasItem; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import com.temple....
40.162413
137
0.68654
83311dcc575e753cf84b9a1f314d45ec16dd9bd4
315
package com.ibm.panache; import io.quarkus.mongodb.panache.common.MongoEntity; import java.util.List; @MongoEntity(collection = "US_CORE_DATA") public class GoalEntity extends FhirRequestEntity{ public String lifecycleStatus; public DescriptionEntity description; public List<TargetEntity> target; }
24.230769
53
0.796825
7af80bd8a44e79da5c9c2f8b0f15de32fc58ff5f
4,607
/******************************************************************************* * © 2012 Global Retail Information Ltd. ******************************************************************************/ /** * */ package com.becoblohm.cr.sync.converters; import javax.persistence.EntityManagerFactory; import com.bec...
30.309211
114
0.710441
eb25108de2bb24ebfa01e07b9a7ec726dcd3c154
2,055
/** * Copyright 2013, 2014, 2015 Knewton * * 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.943662
100
0.723601
8821fbef2e190fc22f3a7265b630ac77040e69f7
94
package com.cjm721.overloaded.util; public interface IDataUpdate { void dataUpdated(); }
15.666667
35
0.755319
ffb020ebaebe94dda2d5008b2fdea2636dc7a69c
5,338
package de.hamburg.gv.s2; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class ChangeSetDB { private List<Chang...
21.18254
79
0.603784
2befc27966c9f355398e9c2137d1a612baa0ff42
614
package io.github.lasyard.spring.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import javax.annotation.Nonnull; @Controller public class MainContr...
27.909091
62
0.754072
9c3f9d4d3c18c26ea2e99ba172a4e842f0b3166a
1,585
package com.crossoverjie.netty.server.learning.handle; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.*; import io.netty.util.CharsetUtil; import org.slf4j.Logger; /** * Function:消息处理器 * * @author crossoverJie * Date: 14/02/2018 00:39 * @since JDK 1.8 */ @Channe...
31.078431
116
0.690221
7b030a921403ddeba23988e8e6cfbdedd6f55363
558
package com.servlet.project1; public class PendingClaim { private String claimRequestor; private String claimType; public PendingClaim(String claimRequestor, String claimType) { // TODO Auto-generated constructor stub } public PendingClaim() {} public String getClaimRequestor() { return claimRequestor; ...
22.32
63
0.763441
92fa6471ba2b14e8acf81286418f0f7f1b6b6216
3,227
package eu.neclab.ngsildbroker.commons.tools; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.UUID; import eu.neclab.ngsildbroker.commons.datatypes.CSourceNotification; import eu.neclab.ngsildbroker.commons.datatypes.C...
37.523256
261
0.746824
51d113860e52e036b576d695fbb20b1fac3fb056
1,061
package ru.stqa.pft.addressbook.model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.Set; /** * Created by Julia on 5/12/2017. */ public class Contacts extends ForwardingSet<ContactData> { private Set<ContactData> contactDelegate; p...
24.113636
74
0.68049
31f1ed28e549a6a8c5041da06d7efb4b8f9f62dd
2,326
package Service; /* * 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. */ import java.net.Authenticator; import java.util.Properties; import java.util.logging.Level; import java.u...
34.205882
106
0.638865
ca1b05b47138a9d2996c9260131d1b3c48fc8806
394
package edu.udel.cis.vsl.abc.ast.type.common; public class TypeKey { private CommonType type; public TypeKey(CommonType type) { this.type = type; } @Override public boolean equals(Object obj) { if (obj instanceof TypeKey) { TypeKey that = (TypeKey) obj; return type == that.type; } return false; ...
14.592593
45
0.677665
1337cd233e624e9e55c0e335167890b733c24f7e
1,119
/* * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ // $Id: InvCrawlablePair.java 63 2006-07-12 21:50:51Z edavis $ package thredds.cataloggen; import thredds.catalog.InvDataset; import thredds.crawlabledataset.CrawlableDataset; /** * Helpe...
27.975
112
0.778374
07fc77d402be4a884766c1f290e5a1b6b1135275
2,333
package fr.utbm.gl52.graph.model; import java.util.Collection; import java.util.Iterator; import fr.utbm.gl52.graph.factory.GraphFactory; import fr.utbm.gl52.graph.observer.GraphListener; /** This interface represents a graph. Each node and edge may contains data. * * @author sgalland * @param <N> the type of th...
24.302083
107
0.678526
0affbc770a26a0cd9f460f7b690ab3263dfc5d4a
5,860
package model; import com.avaje.ebean.Page; import com.fasterxml.jackson.annotation.JsonIgnore; import play.db.ebean.Model; import javax.persistence.*; import java.util.List; /** * Bean to store generic data generated by a sensor. * Created by Mathieu on 23/01/2015. */ @Entity public class Data extends Model{ ...
27.383178
135
0.532423
49b00cbfcb073f018b0a9198b6537e3f713dd3cc
178
package com.paragon_software.article_manager; interface OnFavoritesButtonStateChangedListener extends ArticleControllerAPI.Notifier { void onFavoritesButtonStateChanged(); }
22.25
85
0.870787
701acaaac52d7120ef493debde66acc005746439
5,199
/* * Copyright 2020 Red Hat * * 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 ...
34.66
167
0.722254
223d9fc0cf9f5c8662301999a3ebc96e872fd092
2,012
package br.ufpb.dcx.sisclinica; import br.ufpb.dcx.sisclinica.exceptions.MedicamentoJaExisteException; import java.util.ArrayList; import java.util.List; public class Receita { private Medico medico; private Paciente paciente; private String data; private List<Medicamento> medicamentos; public Receita(Medico...
23.395349
150
0.662525
bb446113615c861af6403c49c208c9ddf4e2b120
7,568
package results_panel.statistics; import sequenced_tracer_panel.tracer_panel.Trace; import javax.swing.*; import java.awt.*; import java.awt.geom.RoundRectangle2D; import java.util.ArrayList; public class TraceVisualizerPanel extends JPanel { private final int BORDER = 30; private ArrayList<Trace>[] positi...
27.223022
90
0.493922
c58bb5128211cf85d58a15fc8b12cb45d11b0dc0
8,031
package org.apache.fop.render.rtf.rtflib.rtfdoc; import java.io.IOException; import java.io.Writer; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class RtfTextrun extends RtfContainer { private boolean bSuppressLastPar = false; private RtfListItem rtfListItem; privat...
31.996016
173
0.644627
e6aa49bc153302db647b2a36cecc26780f42088e
962
package ru.intertrust.cm.core.gui.model.action; import ru.intertrust.cm.core.config.DefaultFormEditingStyleConfig; import ru.intertrust.cm.core.gui.model.plugin.FormPluginData; /** * @author Denis Mitavskiy * Date: 25.09.13 * Time: 18:19 */ public class SaveActionData extends ActionData { priv...
31.032258
111
0.767152
f7c3eb64251ebffa3a5340f42033e140da7c7b2c
1,170
package com.tvycas.countyinfo.model; import androidx.room.Entity; import java.util.ArrayList; /** * A POJO for storing full information about a country with the bounding box. */ @Entity(tableName = "country_info") public class CountryInfoWithMap extends CountryInfo { BoundingBox boundingBox; public Countr...
33.428571
127
0.682906
bdd9990a1bb53d0bb06dd8eb97ba932553ec3f03
389
package com.contentstack.gqlspring.models; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; @Data public class FooterModel { @JsonProperty public Object logoConnection; @JsonProperty public Object navigation; @JsonProperty public String title; @JsonProperty pu...
19.45
53
0.745501
f4233d8eb648af14112abc9e40ccca7e46d3fc1a
6,279
package com.orientechnologies.orient.core.metadata.security; import com.orientechnologies.common.log.OLogManager; import com.orientechnologies.orient.core.db.record.OIdentifiable; import com.orientechnologies.orient.core.exception.OSecurityAccessException; import com.orientechnologies.orient.core.id.ORID; import com.o...
31.238806
130
0.709667
b37e5e974b5363451f9e0e8b370e614a7e49f3bf
226
class Main { public static void main(String[] s){ A myVar; int x; x = new A().run(new Derived()); } } class Base { } class Derived extends Base { } class A { public int run(Base b) { return 1; } }
11.3
37
0.557522
e23851083fe65e698924580fb75bc53aa44a9728
327
package org.hazelcast.addon.cluster.expiration; public class SessionExpirationServiceStatus implements SessionExpirationServiceStatusMBean { private Integer queueSize = 0; @Override public Integer getQueueSize() { return queueSize; } public void setQueueSize(Integer queueSize) { this.queueSize = queueSize...
20.4375
92
0.792049
068fbaea3c227afe2976ff63e44282b90920b004
7,426
package cherry.sqlapp.db.gen.mapper; import cherry.sqlapp.db.gen.dto.SqltoolLoad; import cherry.sqlapp.db.gen.dto.SqltoolLoadCriteria; import java.util.List; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.DeleteProvider; import org.apache.ibatis.annotations.Insert; import org.apache....
40.802198
117
0.699838
1a7d1fb376096a5edced06837de3b9d39cef6f1e
7,992
// Copyright (C) 2016 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
39.176471
89
0.728353
6da1de650cdf56600d7241e7895c2bb6e4beda55
7,243
package org.deeplearning4j.examples.feedforward.regression; import org.deeplearning4j.examples.feedforward.regression.function.MathFunction; import org.deeplearning4j.examples.feedforward.regression.function.SinXDivXMathFunction; import org.nd4j.linalg.activations.Activation; import org.nd4j.linalg.dataset.api.iterato...
43.89697
138
0.678724
d754f758ff808f715c4cdc9c576dfc81d18009ed
847
package prIndicePalabras; import java.io.PrintWriter; import java.util.*; public class IndiceContador extends IndiceAbstracto{ private SortedMap<String, Integer> indice; public IndiceContador() { indice = new TreeMap<String, Integer>(); } @Override public void resolver(String delimitadores) { indice.clear(...
18.413043
56
0.649351
a5ac85f5b0369cba5d4bbe25614de74830474075
1,458
package net.omniscimus.fireworks.commands; import java.io.UnsupportedEncodingException; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.apache.commons.cli.CommandLine; import net.omniscimus.fireworks.ShowHandler; /** ...
29.16
130
0.65775
fc3a307a4752a5f101a92fbc3d69a5af0c86d1da
5,765
/* * Copyright 2021 Karlsruhe Institute of Technology. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
39.758621
132
0.684302
f5d0cf627e9a0d6ce1998eb702bbe88578715b1a
682
package sample; /* Create java Date from specific time example. This example shows how to create a java Date object for specific date and time. */ import java.util.Date; public class CreateDateFromSpecificTimeExample { public static void main(String[] args) { /* To create a Date object for sepefic ...
23.517241
81
0.671554
6266f170d8cd948d05dcb029b60ec1dcb5a1a144
54,463
/* * 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 ...
40.283284
313
0.669372
d8804ff435df14e49beedc392f3880f73b1e1b7e
3,462
/* * 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 ...
25.455882
100
0.679954
4faf4a1984688886f65fc6a84562b20bb98f4948
515
/* * Copyright (C) 2017 Baidu, Inc. All Rights Reserved. */ package com.baidu.aip.face; import com.baidu.aip.ImageFrame; /** * FaceDetectManager 人脸检测之前的回调。可以对图片进行预处理。如果ImageFrame中的argb数据为空,将不进行检测。 */ public interface FaceProcessor { /** * FaceDetectManager 回调该方法,对图片帧进行处理。 * @param dete...
25.75
74
0.697087
e48dbd9db15e46ebfb7523282cac4229851ba8fa
2,444
package gov.nist.registry.ws.sq.ebxmlrr21.test; import gov.nist.registry.common2.registry.Metadata; import gov.nist.registry.common2.registry.storedquery.StoredQuerySupport; import gov.nist.registry.ws.sq.ebxmlrr21.EbXML21QuerySupport; import gov.nist.registry.ws.sq.test.TestBase; import gov.nist.registry.ws.sq.test.t...
26.565217
73
0.732406
5727e2d98b70fed2da5bd0307d2aeffa8654ce19
1,123
package com.ceiba.festivos.comando.manejador; import com.ceiba.ComandoRespuesta; import com.ceiba.festivos.comando.ComandoFestivos; import com.ceiba.festivos.servicio.ServicioCrearFestivos; import com.ceiba.manejador.ManejadorComandoRespuesta; import com.ceiba.festivos.modelo.entidad.Festivos; import org.springframewo...
40.107143
115
0.821015
9a633c9349e18a2212f31e9fa1170f8b248ba99a
1,196
package hackerrank.datastructures.stacks; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class BalancedBracketsTest { private final BalancedBrackets balancedBrackets; public BalancedBracketsTest() { balancedBrackets = new BalancedBrackets(); } @Test void testIsB...
35.176471
78
0.681438
31b53164e1d92d5336301c921142e1b4889ba4ca
4,469
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
41.37963
98
0.763482
e11313168655eb3ec6953ee609b239fed4019a26
855
package JavaCode.random_records.N1_100; import JavaCode.linked_list.ListNode; /** * author:fangjie * time:2019/11/28 */ public class N83_remove_duplicates_from_sorted_list { /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * Lis...
19.883721
70
0.577778
05a29c510259d98337e17aaa2e5c9253e3210ab7
807
package com.jhnuxer.gametest0.iarm2; import java.util.*; import com.jhnuxer.math.*; import com.jhnuxer.gametest0.*; public class Iarm2SmootheTerrainPass extends AIarm2GenPass { int smootheRadius; UShortMap map; private int x; private int y; public Iarm2SmootheTerrainPass(Iarm2 iarm,int sr) { super("S...
23.735294
79
0.61834
18d9a6c71d5f556888f4c8f74c005db67e458483
18,177
package appointmentscheduler.service.user; import appointmentscheduler.dto.phonenumber.PhoneNumberDTO; import appointmentscheduler.dto.settings.UpdateSettingsDTO; import appointmentscheduler.dto.user.UpdateEmailDTO; import appointmentscheduler.dto.user.UpdatePasswordDTO; import appointmentscheduler.dto.user.UserLoginD...
44.660934
218
0.706442
36a3a29ea8e0d9eb42cfe40586b0daf0f8d360df
807
package com.rarchives.ripme.tst.ripper.rippers; import java.io.IOException; import java.net.URL; import com.rarchives.ripme.ripper.rippers.TapasticRipper; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; public class TapasticRipperTest extends Rippers...
31.038462
93
0.722429
4b772b7edb002ad6d8152acbdc30b5ae59167ae9
1,810
package at.petrak.hexcasting.common.items.colorizer; import at.petrak.hexcasting.api.cap.Colorizer; import at.petrak.hexcasting.api.item.ColorizerItem; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.phys.Vec3; import java.util.UUID; public class ItemPrideC...
33.518519
108
0.61768
4d641f8a7b460ca2aef78c8ba676ecc70cb95683
625
package org.yangdongdong.springcloud.service; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.yangdongdo...
27.173913
71
0.8032
696cccae40e55d9f29a46b5798fecabc230525b7
384
package com.smartling.api.jobs.v3.pto.account; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; @Data @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) @Builder public class IssuesCountsPTO { private i...
20.210526
46
0.817708
56e5a0e00ca7229c53bf41b5da7ff8fac4954b6d
10,104
package application.view.game; import java.util.ArrayList; import java.util.List; import application.Main; import application.ai.Ai; import application.ai.Ai.Node; import application.view.game.HexGrid.Tile; import javafx.event.EventHandler; import javafx.fxml.FXMLLoader; import javafx.scene.Cursor; import j...
35.083333
112
0.66439
92712d5c38c630fada37fac997ac61a70e8acb68
1,004
package com.ronguan.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.view.WindowManager; import com.ronguan.R; /** * 加载页面 * * @author zhou * */ public class LoadingActivity extends Activity { private static final int DE...
23.348837
122
0.74502
47a3b9a5543d9ed73628f3b907aaa94d40f232c8
2,550
/** * 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...
35.416667
87
0.72549
1436fa03f7a2dd2f4338e535aa989d0dd071b2ba
1,770
package com.rockwellcollins.atc.resolute.analysis.views; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.jface.viewers.Viewer; import com.rockwellcollins.atc.resolute.analysis.results.ClaimResult; import com.rockwellcollins.atc.resolute.ana...
26.818182
76
0.758757
28664b57b5d98b8abe0b94a7cf8ed6aead3b0a5c
4,103
package com.github.mauricioaniche.ck.metric; import com.github.mauricioaniche.ck.CKClassResult; import com.github.mauricioaniche.ck.CKMethodResult; import java.util.*; import java.util.stream.Collectors; //we ignore invocations in the super class, because they are always outside the current class and can never return...
54.706667
156
0.720692
6d88443dc9dcf7ba04f29f2955b16de186391988
474
package com.jerry.spel; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestSpel { @Test public void demo() { String xmlPath="com/jerry/spel/bean.xml"; ApplicationContext applicationContext=n...
26.333333
84
0.805907
12b1cda89c0a58f808d0ab2d2aaa058a7179d63b
825
package com.gisquest.webgis.modules.sys.entity; /** * 日志对象 * * @author Jisj1 * */ public class Log { /** 操作用户Id */ private String userId; /** 操作行为 */ private String action; /** 操作信息 */ private String info; /** 操作时间 */ private String date; public String getUserId() { r...
15.865385
47
0.551515
52adef7b51828104415144d13d092b7b2e32014c
3,332
package models; import com.avaje.ebean.Model; import com.avaje.ebean.annotation.DbJsonB; import com.fasterxml.jackson.databind.JsonNode; import io.swagger.annotations.ApiModelProperty; import play.libs.Json; import javax.persistence.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** ...
18.511111
83
0.730492