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
68df7f4f9007cc970c0e787b9cacf08d54724709
4,081
package pinacolada.powers.fool; import com.megacrit.cardcrawl.cards.DamageInfo; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.monsters.AbstractMonster; import com.megacrit.cardcrawl.monsters.EnemyMoveInfo; import pinacolada.ef...
35.486957
139
0.64249
041a414c2ff1170062092fddbde51e9f219216fe
569
package com.rh.constats.api.data; public class MergeRequestRaw { private int id; private int mr_id; private int page; private String raw_json; public int getId() { return id; } public void setId(int id) { this.id = id; } public int getMr_id() { return mr_id; } public void setMr_id(int mr_id) { th...
16.257143
43
0.680141
532c2328790c856db97116559411982968b9839e
8,681
package net.macu.UI; import net.macu.settings.*; import net.macu.util.SelfUpdater; import javax.swing.*; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import java.awt.*; import java.awt.event.ItemEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import...
43.189055
113
0.585301
88fd593c128fb6523e1df15b0bd3e5de6ac4524f
3,581
package com.example.ljd.mylibstreaming.LibRTSP.rtp; import android.media.MediaCodec; import android.media.MediaFormat; import android.util.Log; import com.example.ljd.mylibstreaming.LibRTSP.utility.RunState; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; /** * Created by ljd-pc...
37.302083
144
0.575258
da795ee54286c6283ae9c6e0a886f69c5e5c3809
2,729
package agua; import java.sql.*; import javax.swing.table.DefaultTableModel; public class ConnectionDB { private ResultSet resultado; private Connection miCon; public String bd = "dbagua"; public String login = "root"; public String password = "laurapas1"; public String url = "jdbc:mysql://loca...
29.031915
79
0.536094
25de2115d551c7142e9a8b0886d8a8e22353c1f0
4,930
/** * Copyright (c) 2018 BITPlan GmbH * * http://www.bitplan.com * * This file is part of the Opensource project at: * https://github.com/BITPlan/com.bitplan.simplegraph * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
30.432099
109
0.674645
9f1c70fe54fb1fb81504fd1bd10cc39f02a4f0b7
8,954
/* TestBuildMaker.java */ package org.xlattice.overlay.builds; import junit.framework.*; /** * @author Jim Dixon **/ import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.util.HashSet; import org.xlattice.crypto.builds.BuildList; import org.xlattice.crypto.builds.BuildMaker; ...
36.847737
76
0.536967
9a47ede7d5d3575e2a10e89f9f5d230797cf604a
879
package math; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * * @author minchoba * 백준 2745번: 진법 변환 * * @see https://www.acmicpc.net/problem/2745/ * */ public class Boj2745 { public static void main(String[] args) throws Exception{ // 버퍼를 통한 값 입력 Bu...
21.439024
75
0.584755
27ca7807d9055793d7a7f8cecedbd27618f56482
608
/** * Alina Akram * Course CS-665 * Summer 2 * Assignment #3 * July 27, 2020 */ package edu.bu.met.cs665; public class BusinessCustomerFactory implements EmailFactory { //implements EmailFactory @Override public Email createEmail(String name, String address) { //creates the email Bus...
24.32
88
0.654605
b0981be1e47b5d540cf0bfa43984ce6f2e79ecce
4,601
/* * Gray8Fft.java * * Created on October 31, 2007, 4:02 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. * * Copyright 2007 by Jon A. Webb * This program is free software: you can redistribute it and/or modify * it under the terms of the ...
35.666667
103
0.558574
ba2febdc754011ed891d91bbeb6fe0cf1095b8b5
6,088
/* * Copyright 2012 Bangkok Project Team, GRIDSOLUT GmbH + Co.KG, and * University of Stuttgart (Institute of Architecture of Application Systems) * 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 ma...
34.011173
148
0.649639
36d1f417fb2198bc4e4b1332260c0813a4cafa8f
15,296
package firemerald.mechanimation.util; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.function.Consumer; import javax.annotation.Nullable; import cofh.redstoneflux.api.IEnergyContainerItem; import firemerald.mechanimation.Main; import firemerald.mechanimation.api.craftin...
32.894624
225
0.714174
718d036becaaeec23ecd647ae591fc8131e6e628
1,932
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.master.orgs; import com.opengamma.DataNotFoundException; import com.opengamma.id.UniqueId; import com.opengamma.master.AbstractChangeProvidingMaster; import co...
33.894737
97
0.755176
b864dd0e592d27dfdc1cb589ade63fdabbafd4fc
41,072
/******************************************************************************* * Copyright 2015 EMBL - European Bioinformatics Institute * * 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.338182
272
0.661643
03405626829d4daa0b5c801597e802836467eaaa
15,512
package com.estebanluengo.easylearnmaths; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.database.SQLException; import android.os...
39.073048
140
0.7373
069ff0c748a31e08f7f2573c387e5da1395ceed9
1,291
/* * Copyright (C) 2021-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 ...
30.023256
75
0.725794
402e5bc38781f216cf17b5a73e3a09c5331e2905
1,671
package com.jobits.dsm.benecia.domain.enterprise.presentation.payload.response; import com.jobits.dsm.benecia.domain.enterprise.code.EnterpriseDivisionCode; import com.jobits.dsm.benecia.domain.enterprise.code.EnterpriseEmployeeCountCode; import lombok.Builder; import lombok.Getter; import java.util.List; @Getter @B...
34.8125
190
0.715141
6c8a67b2380b0140c21a1850bc10b674a656ae29
11,192
package com.tsy.sdk.video; import android.content.Context; import android.graphics.Rect; import android.graphics.RectF; import android.hardware.Camera; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; import android.view.MotionEvent; import android.view.SurfaceHolder; import andr...
34.975
126
0.569782
308fbc028b537b93d59c5c987db448f822b6cb62
691
package com.qaplus.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import com.qaplus.entity.vo.Page; import com.qaplus.entity.vo.PaperVo; @Repository public interface QaPaperMapperExt extends QaPaperMapper { List<PaperVo> queryAllPaperFo...
34.55
188
0.755427
1c0c03f5460cf6d147bf45bd24e9e445c32163c7
3,300
package io.openraven.magpie.plugins.aws.discovery.services; import io.openraven.magpie.api.Emitter; import io.openraven.magpie.api.MagpieEnvelope; import io.openraven.magpie.plugins.aws.discovery.services.base.BaseIAMServiceIT; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; impo...
34.020619
303
0.748182
b5f79b1ec9c845d405e54089bbdb4ca0709335da
165
package com.salesforce.graphql.entities; import lombok.Data; @Data public class ManagedContentType { private String developerName; private String label; }
16.5
40
0.775758
200ee20cac52bc02e15ab2f016549b8c8d98dd0a
915
package mat.server.service.impl.helper; import lombok.SneakyThrows; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.File; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.file.Files; import java.util.List; import static org.junit.jupiter.api....
30.5
102
0.740984
9f18a8f35fec82c367b4d65c6371780a4c3a2e1b
1,702
/* MIT License Copyright (c) 2016 AlexMarco7 https://github.com/AlexMarco7 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, cop...
27.451613
78
0.739718
452dece1a0af3e32ffdd93b08ae3e1b10c0173c1
2,790
/** * 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 ...
34.444444
80
0.731541
0fd2a1bbd5ceca60cfeb8b1b869db81d0fd08452
4,074
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
32.07874
110
0.669121
18155755f3e2b5411efc8c99111d24ea99f2816e
1,453
package nl._42.max_login_attempts_spring_boot_starter; import static org.springframework.http.MediaType.APPLICATION_JSON; import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.anonymous; import static org.springframework.security.test.web.servlet.setup.SecurityMockMvc...
38.236842
115
0.783895
fd5b54aac191e21f1bd7d24c2dfb100facdccc97
567
package org.accela.udppunchholetest.bombard.test; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintStream; import org.accela.udppunchholetest.bombard.PortGenerator; import org.junit.Test; public class TestPortGenerator { @Test public void test() throws FileNotF...
23.625
70
0.719577
10c0104b65389d4b9aff4ffbd2d89b025ec0c157
4,027
/* * ============LICENSE_START======================================================= * DCAEGEN2-SERVICES-SDK * ================================================================================ * Copyright (C) 2019-2020 Nokia. All rights reserved. * ==================================================================...
34.715517
105
0.631239
b55ae7cec246136c937f5b5ad4c0ff4d6931f49f
2,938
/* * * * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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.o...
41.971429
145
0.732811
00d32d1a144a110706e207b3755ae801308803d3
963
package com.tns.gen.com.twitter.sdk.android.core; public class Callback_ftns_modules_nativescript_twitter_src_android_twitter_l87_c57__ extends com.twitter.sdk.android.core.Callback implements com.tns.NativeScriptHashCodeProvider { public Callback_ftns_modules_nativescript_twitter_src_android_twitter_l87_c57__(){ s...
32.1
181
0.768432
8a2764bea633a4adb583008709152bb57c9ce16f
35,422
package iurii.job.interview.google; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; /** * 1) There is a two-dimensional area (n x n), where in each cell represents a cost for the cell. * There is a cost value. It is needed to take the biggest possible rectangle area from t...
42.068884
144
0.556801
0c9a2887fa149afa9d6e45d804afbb6cef4fdc7b
9,863
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2008, 2009, 2010, 2011 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may obtain a copy ...
26.728997
83
0.630133
885e6599f0804fa015331cd77ffe454ef1a4eead
3,478
package eu.datex2.schema._2._2_0; import java.math.BigInteger; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlSchemaType; import jakarta.xml.bind.annotation.XmlType; /** * <p>...
28.508197
138
0.656699
72c814a78a0252b0f4ac2b2e2a02e9f9d51f981c
1,434
package org.aikodi.chameleon.support.input; import org.aikodi.chameleon.core.document.Document; import org.aikodi.chameleon.input.ModelFactory; import org.aikodi.chameleon.input.ParseException; import org.aikodi.chameleon.plugin.LanguagePluginImpl; import org.aikodi.chameleon.workspace.View; import org.antlr.runtime.R...
26.072727
110
0.758717
c302b183cb68dbcc58ca5c6dcc3a9cb9a336a05c
8,499
/** * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.cms; import java.util.ArrayList; import java.util.List; import com.opengamma.strata.basics.currency.CurrencyAmount; import com.opengamma.strata....
37.606195
119
0.718673
b84602f128f74a774a3a4376116e91e686950267
9,094
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
42.101852
139
0.53024
27e300dd077ae32b7c69ab08bb8f0b7bc024959c
532
import org.junit.Test; import static org.junit.Assert.*; public class CityTest { private double delta = .01; @Test public void getDistanceWithIntegerTest() { City c1 = new City(0,0,0); City c2 = new City(1,1,1); assertEquals(Math.sqrt(2),c1.getDistanceWith(c2), delta); } ...
25.333333
65
0.618421
29fb720c0028f0a3f2cb2ee0d1611cbc801990bc
635
package io.ebeaninternal.server.transaction; import io.ebeaninternal.api.SpiTransaction; import java.sql.Connection; /** * AutoCommit based TransactionManager. * <p> * Intended to be used if when autoCommit mode is desired. */ public class AutoCommitTransactionManager extends TransactionManager { public AutoC...
23.518519
78
0.76378
e6da11f1e37f3eae8c4e5ae56b906ff4b080666c
1,309
package com.doomedcat17.scpier.scraper.div.componetnts; import com.doomedcat17.scpier.data.content.ContentNode; import com.doomedcat17.scpier.data.content.HeadingNode; import com.doomedcat17.scpier.data.content.ParagraphNode; import com.doomedcat17.scpier.data.content.TextNode; import com.doomedcat17.scpier.scraper.di...
37.4
81
0.737968
116537726fc4970b74606c7bad00a4e00da5bc8a
60,550
package android.support.v4.view; import android.animation.ValueAnimator; import android.content.ClipData; import android.content.res.ColorStateList; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PorterDuff.Mode; import android.graphics.Rect; import android.graphics.drawable.Dra...
33.638889
178
0.642609
71717588359de75361e2f2ba2193e7c7e3a7a77e
3,513
package net.avicus.magma.database.model.impl; import lombok.Getter; import lombok.ToString; import net.avicus.quest.annotation.Column; import net.avicus.quest.model.Model; import org.joda.time.Days; import org.joda.time.Duration; @ToString public class ExperienceLeaderboardEntry extends Model { @Getter @Colu...
25.273381
127
0.616282
bc6ac7ee19fb5cf12f7af14bb087ee02b23288e3
1,616
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.ContactData; import java.util.Arrays; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.MatcherAssert.*; ...
38.47619
112
0.707302
fd0476d34c0e8842895f59edb5ce74c295d58253
2,140
package com.bunkstur.storage.subjects; import java.util.Map; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import io.reactivex.annotations.NonNull; import io.smallrye.mutiny.Multi; import io.smallrye.mutiny.Uni; import software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient; imp...
42.8
111
0.524766
32df66e6c3e4e714506dd5ac3dca4405993d0cb5
776
package com.axway.apim.servicebroker.model; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; public class CreateServiceInstanceResponse { @JsonInclude(JsonInclude.Include.NON_EMPTY) private String dashboardUrl; @JsonIgnore //not sent on the wire as...
25.866667
82
0.737113
daa324a1538e21dfbe5c52ec6bbaf3938826c11d
1,029
package de.sedriz.smartboot.service; import de.sedriz.smartboot.database.entity.Device; import de.sedriz.smartboot.mqtt.MQTTService; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.Sc...
33.193548
91
0.710398
2a15f9a1cb00c77f9e86b94be3706132a7e7e8d1
508
package uk.gov.dvla.osl.eventsourcing.projection; import uk.gov.dvla.osl.eventsourcing.api.Event; public class ProjectedEvent { private Event event; private Integer positionEventNumber; public ProjectedEvent(Event event, Integer positionEventNumber) { this.event = event; this.positionEve...
22.086957
69
0.704724
4b8ed14a96efad6a5ce8d30e0c3d2a156511c9b0
7,313
package pl.edu.mimuw.changeanalyzer.extraction; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Stack; import org.eclipse.jgit.diff.DiffConfig; import org.eclipse.jgit.diff.DiffEntry; import org.eclipse.jgit.lib.Constants; import org.ecli...
32.502222
107
0.73677
140f04d134662066c2b01401053c2fedb766fb4e
22,883
/** * 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 * distrib...
52.604598
204
0.558712
b207b486fb754947ca5b08c5a66c61197aa9f88a
1,798
package engine.frontend.overall; /** * @author austinwu */ import java.util.ResourceBundle; public abstract class ResourceUser { private ResourceBundle myResources; private static final String DEFAULT_LOCATION = "engine/frontend/resources/"; /** * Instantiates ResourceUser * * @param s * - s...
25.685714
77
0.678532
6453812facd0a4889b9e7bce6374dc7f4aed967b
10,352
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v4.widget.SwipeRefreshLayo...
40.124031
145
0.60993
5a81a4ed46adb17b431d1d141b514e25b244b869
708
package me.vickychijwani.thrones.network; import me.vickychijwani.thrones.network.entity.HboSynopsisId; import me.vickychijwani.thrones.network.entity.HboSeasonList; import me.vickychijwani.thrones.network.entity.HboSynopsis; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; interface Hbo...
30.782609
81
0.733051
f9ebb591a5d20debf92fc74b0cf18f9ce280336d
6,551
package gui.util; import gui.images.Images; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JTextField; import org.w3c.policy.util.NSRegistry; import util.XMLUtil; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.Ke...
24.814394
77
0.695008
e5909badbc55f6c7f70efe343616142e15ea202e
5,343
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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...
33.603774
134
0.598166
07e8c5119fae8a918c55c3243f7a03628d6e56a7
712
package 刷题.待完成; import java.util.List; /** * 给定一个数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。 * * candidates 中的每个数字在每个组合中只能使用一次。 * * 说明: * * 所有数字(包括目标数)都是正整数。 * 解集不能包含重复的组合。  * 示例 1: * * 输入: candidates = [10,1,2,7,6,1,5], target = 8, * 所求解集为: * [ * [1, 7], * [1, 2, 5], * [2,...
16.55814
78
0.571629
495369d8bf1e69bbd893d37a701b74dfcc047aca
556
package com.woshidaniu.service.svcinterface; /** * 系统配置服务 * * 编写这个类的初衷是让开发人员能够在运行期通过jmx方式修改配置值 * * 这样比较方便开发人员自测业务系统时,能够随时切换配置值,比较在不同配置状况下的运行轨迹情况 * * 这样的方式避免了为了修改某一个配置而频繁重启系统,减少无所谓的时间耗损 * * @see com.woshidaniu.service.impl.SystemConfigServiceImplMBean * @see com.woshidaniu.service.impl.SystemConfigService...
16.848485
64
0.721223
146cf53a2ebe4a4a3f19cc2113158194435cf5f8
5,097
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the Apache License; either * version 2.0 of the License, or any later version. * * THIS SOFTWARE...
34.910959
144
0.624093
1256631d7c93aee2f70c11b16a97906db6ddbf28
304
package gov.cdc.usds.simplereport.service; import gov.cdc.usds.simplereport.db.model.ReportStreamResponse; import javax.servlet.http.HttpServletRequest; public interface ReportStreamCallbackService { boolean validateCallback(HttpServletRequest request); void log(ReportStreamResponse response); }
27.636364
63
0.842105
e3c535a3c1a84d3d453e8dc92d237f849baa26c2
958
package com.devlei.netease.util; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Environment; import java.io.File; public class ImageUtil { public static boolean checkImageIsDownLoad(String imageName){ File image = getFileByName(imageName); if...
27.371429
76
0.629436
c1b8f38c01f70d6b399eb67a6ecdab44a7cf0905
1,930
package sorts.exchange; import main.ArrayVisualizer; import sorts.templates.Sort; final public class CompleteGraphSort extends Sort { public CompleteGraphSort(ArrayVisualizer arrayVisualizer) { super(arrayVisualizer); this.setSortListName("Complete Graph"); this.setRunAllSortsName...
22.705882
74
0.541451
1cce717e8bbd39c4d5822dc35fd3c6d1b7a55c68
3,406
package com.github.mars05.crud.intellij.plugin.action; import com.github.mars05.crud.intellij.plugin.util.*; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataKeys; import com.intellij.openapi.application.Result; impo...
38.704545
107
0.769524
bb2d7df37cd82238540d122cd52b124c9db5a7d3
704
package com.example.login; public class list_bookings { private String UserName; private String ServiceType; private String Date; private String time; public list_bookings() { } public list_bookings(String userName, String serviceType, String date, String time) { Use...
19.555556
90
0.582386
8e35f176030f770a7c826e21ac67078b6e9f56b4
8,981
package jaist.css.covis.util; /* * Copyright (c) 2002-@year@, University of Maryland * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * Redistributions of source code must retain the abov...
32.539855
115
0.708718
acaa2606dbd6e54e47a189ffda21fa0a5f3e519a
1,878
/* * Copyright 2012-2018 ISP RAS (http://www.ispras.ru) * * 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 ...
30.290323
100
0.7082
ef80b10ca1097afbb06c64948d418e101fcc6c7e
166
/** * Package for class ConvertListTest. * * @author Maxim Ignashov (mailto:ignashov.m@icloud.com) * @version 1.0 * @since 22.10.17 */ package ru.job4j.convert;
20.75
56
0.686747
09988f35116edec7f2ebbee199c68bd3cf9db380
1,141
package me.wendysa.contactsdemo.services; import java.util.*; import me.wendysa.contactsdemo.contracts.*; import me.wendysa.contactsdemo.models.*; public class ContactService extends ServiceBase<Contact> implements IContactBehaviour { public ContactService(IRepository<Contact> repository) { super(repository); ...
28.525
141
0.692375
9eb461db8ea5072d3cf863d3f25f3fc59da075c6
2,126
package org.apache.spark.monitoring.client.domain.tasksummary; import java.util.List; /** * Created by Talal Ahmed on 12/10/2017 */ public class ShuffleReadMetrics { private List<Double> remoteBlocksFetched; private List<Double> localBlocksFetched; private List<Double> fetchWaitTime; private List<...
27.25641
74
0.661336
96ed4b72e6e9d734d8a025cf69f3d7b9b10f003b
536
package eu.jrie.abacus.ui.domain.workbench; import eu.jrie.abacus.core.domain.cell.Cell; import eu.jrie.abacus.core.domain.cell.Position; import eu.jrie.abacus.core.domain.cell.style.CellStyle; public interface WorkbenchAccessor { Cell getCell(Position position); default String getText(Position position) { ...
26.8
56
0.746269
346c8ca96570205b4a0d3bdc4154b23855467a3d
49,558
/* * Copyright 2017-present Open Networking Foundation * * 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 appli...
40.990902
106
0.66173
fd8a2ce6f97ce15aadcc96bdb783f6eb7ec60df8
9,021
/* * Copyright 2021 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
42.957143
120
0.698925
e668803c5460daa31c02ff785c13cf2db3428049
5,676
package io.smallrye.graphql.tests.client.parsing; import static io.smallrye.graphql.client.core.Document.document; import static io.smallrye.graphql.client.core.Field.field; import static io.smallrye.graphql.client.core.Operation.operation; import static org.junit.Assert.assertEquals; import java.net.URL; import java...
40.542857
127
0.710536
cad50984f7d77ae961e7fc17f740a93bdecee1ae
4,716
package com.selcukcihan.android.namewizard; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app...
31.651007
113
0.67324
6383f0ec25ba16f9cd54fb18b27fdbf095e4b5d6
3,950
package com.zs.java8; import java.util.*; import java.util.function.Predicate; import java.util.function.Supplier; public class Java8Tester { public static void main(String[] args) { List<String> names1 = new ArrayList<>(); names1.add("Google "); names1.add("Runoob "); names1.add...
27.622378
79
0.543544
ddf69ae0692035476f168293d8c4454d20e85c85
1,617
package com.k2.mobile.app.model.adapter; import java.util.List; import com.k2.mobile.app.R; import com.k2.mobile.app.model.bean.FileBean; import com.k2.mobile.app.utils.ImageLoaderUtil; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import ...
24.134328
89
0.739023
b1da812b2152bbe24bfa198eaebc622f344e035a
1,841
package model; import java.util.ArrayList; import java.util.List; import model.KpsModel.Day; /** * Created by Jack on 6/3/2017. */ public class TransportOption { private String transportFirm; private int priority; private double weightCost, volCost, maxWeight, maxVol; private int frequency; private double dura...
18.59596
103
0.715915
aa8af3cbe591a72d5b3c6b14ed4a32a55d2a62a7
4,152
package com.easyctrl.dialog; import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import android.widget.CheckBox; import com.easyctrl.iface.OnTransmitText; import com.easyctrl.ldy.activity.R; import com.easyctrl.ldy.activity.UserActivity; import com.easyctrl.ldy.util.Stri...
39.923077
147
0.608622
1c4f85bcaf58d826efdd1f3191b0cabd710d103e
16,204
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc; import static java.nio.charset.StandardChars...
43.913279
120
0.618798
024482805b2d28a2eb5a13c9a8f4d8bbc0384ce3
818
package sagan.search.support; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; public class SearchResult_DefaultResultTests { @Test public void resultText_returnsSummary_whenNoHighlight() { SearchResult result = ...
32.72
117
0.662592
879401e2a09549152923cefddb308533561534e5
390
package jav_king; public class Ch4_009 { public static void main(String[] args) { //三元 運算子 int x, y,larger,smaller; x=100; y=50; larger=x > y? x:y; //_____ ? : ..... ==> _____(運算式true 傳前者 ;false 傳後者) System.out.println("較大值: "+larger); smaller=x < ...
24.375
80
0.494872
f6ba7c2e8ceb0e533e5d38a66c3a1e08f003190a
2,559
package net.yupol.transmissionremote.app.preferences; import android.annotation.TargetApi; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceFragment; import android.preference.PreferenceScreen; import android.pro...
38.19403
115
0.753419
d07fcb17db8c0b5e7fae225d615e8dc8c5afa1cc
11,472
package seedu.address; import java.io.IOException; import java.nio.file.Path; import java.util.Optional; import java.util.logging.Logger; import javafx.application.Application; import javafx.stage.Stage; import seedu.address.commons.core.Config; import seedu.address.commons.core.LogsCenter; import seedu.address.commo...
43.619772
119
0.688633
9402f7288a5e8276bb7cd832794ec959034de1f8
4,237
package com.sanri.tools.modules.core.validation.custom; import lombok.Getter; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.CharUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.lang3.time.DateUtils; import jav...
24.211429
84
0.547557
7f158ec53e014aa8567332b707d7e70a3a125d28
1,995
package com.bbn.serif.constraints; import com.bbn.bue.common.symbols.Symbol; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static com.google.common.collect.Iterables.transform; public fin...
39.117647
94
0.7599
0a6a26d6eebdf7fde93e05e64a1643b07b77f25a
5,161
/* * Copyright 2013 Harald Wellmann * * 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 ...
25.423645
99
0.63011
f53d80a05a4e7db3e03b78316e8ee7ac0e89af8f
4,760
/* 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 * dist...
28.502994
119
0.716387
84989cc4d3cbc362eaf585d3d0c4df0edb987371
530
package com.coffeearmy.marvelheroes.data.net; import com.coffeearmy.marvelheroes.data.entity.BaseResponse; import io.reactivex.Flowable; import io.reactivex.Observable; import retrofit2.Call; import retrofit2.Response; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; /** * */ p...
23.043478
130
0.783019
bc2835a0a50bd431a666bad96275896c0f2b916c
3,068
package pers.tavish.leetcode.medium; /* Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and a list (List[Node]) of its neighbors. class Node { public int val; public List<Node> neighbors; } Test case format:...
27.63964
233
0.638201
c6b48d9896eaed48aeac25ce298f580c82d5a750
1,338
import java.util.Map; import java.util.Stack; import java.util.stream.Collectors; import java.util.stream.Stream; /** * https://leetcode.com/problems/valid-parentheses/ */ class ValidParentheses { public static boolean isValid(String s) { Stack<Character> temp = new Stack<>(); temp.push(s.charAt(...
33.45
103
0.477578
8699e095cf965b4d54cd8be62349fe0a0a9ead3f
1,464
package edu.southwestern.evolution.mutation.tweann; import edu.southwestern.evolution.genotypes.Genotype; import edu.southwestern.evolution.genotypes.TWEANNGenotype; import edu.southwestern.MMNEAT.MMNEAT; import edu.southwestern.networks.TWEANN; import edu.southwestern.parameters.CommonConstants; import edu.southweste...
28.705882
75
0.770492
0866957c4197852fdf10533b350578bab8676d38
1,290
package com.schlimm.springcdi.decorator.model; import java.lang.reflect.Field; import org.springframework.beans.factory.config.DependencyDescriptor; /** * Wraps the delegate {@link Field} that is declared in a decorator. * * @author Niklas Schlimm * */ public class DelegateField { /** * The ...
24.807692
96
0.737209
088df5283dbc1f7f63a72fba4bc7acfaa6e7db3d
12,670
/* * Original author: Daniel Jaschob <djaschob .at. uw.edu> * * Copyright 2018 University of Washington - Seattle, WA * * 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 * * ...
44.929078
184
0.726835
6d4a269740e171c04ea2174520faec07ae34bd36
227
package com.apollo.messages; import com.apollo.Message; public class DamageLifeMessage extends Message { public int amount; @Override public Class<? extends Message> getType() { return DamageLifeMessage.class; } }
14.1875
47
0.753304
edeeecf3e7702223b13b07751e532f830333eac5
1,303
/* * Copyright 2019 Alex Andres * * 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 ...
29.613636
77
0.742901
4361130820574ae195e3b5f988b8eba769c832ea
490
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.template; import gw.lang.reflect.IType; import java.io.IOException; import java.io.Writer; public class SurroundTestSuperDeniesRender { public static boolean beforeRender( IType template, Writer writer ) throws IOException { return f...
20.416667
88
0.746939
57241114a19ce260946fbdb8d088a2ce07e517fc
5,737
/** * Copyright (c) Codice Foundation * * <p>This is free software: you can redistribute it and/or modify it under the terms of the GNU * Lesser General Public License as published by the Free Software Foundation, either version 3 of * the License, or any later version. * * <p>This program is distributed in the ...
34.560241
100
0.706292
e39b0791c3c02d8482456ec82abb89f843cc26b6
3,996
package com.hui.Math; import java.util.Arrays; /** * @author: shenhaizhilong * @date: 2018/9/3 23:34 */ public class SingleNumberIII { /** * * 260. Single Number III * DescriptionHintsSubmissionsDiscussSolution * Given an array of numbers nums, in which exactly two elements...
39.176471
321
0.588839
9d9f62b3e925b1e9750c823a6c39f3d044496575
1,548
package edu.planon.lib.client.common.behavior; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxRequestTarget; import org.wicketstuff.wiquery.ui.resizable.ResizableContainment; import org.wicketstuff.wiquery.ui.resizable.ResizableHandles; import org.wicketstuff.wiquery.ui.resizable.ResizableStopAj...
28.666667
104
0.75969
4c9c0b347b76327eb41618672f353f6ab75583c8
691
package me.ANONIMUS.proxy.protocol.packet.impl.client.status; import me.ANONIMUS.proxy.protocol.Protocol; import me.ANONIMUS.proxy.protocol.packet.Packet; import me.ANONIMUS.proxy.protocol.packet.PacketBuffer; import java.util.Collections; import java.util.List; public class ClientStatusRequestPacket extends Packet ...
30.043478
115
0.742402
3a43b9caffa34610f0aea842e876b8ce95b9e669
3,674
package com.hotvect.vw.util; import com.hotvect.api.data.DataRecord; import com.hotvect.api.data.SparseVector; import com.hotvect.api.data.raw.Example; import com.hotvect.api.data.raw.RawValue; import com.hotvect.core.audit.AuditableVectorizer; import com.hotvect.core.audit.RawFeatureName; import com.hotvect.vw.VwExam...
40.373626
146
0.603974
7330488a3aaf5c4780eb3a175c96300cb0c4da16
12,570
package org.jhades.service; import org.jhades.model.ClazzLoaderFactory; import org.jhades.model.ClasspathResource; import org.jhades.model.ClasspathEntry; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Enumeratio...
39.404389
147
0.665632
da050c07252a0c3c0f4afb8f89ff115445633fcd
272
package com.midnightnoon.junior.patterny.observers; import java.util.Observable; import java.util.Observer; public class Blog implements Observer { @Override public void update(Observable o, Object arg) { System.out.println("Blog píše: " + arg); } }
22.666667
51
0.716912