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
95938a4f496cb1be7d635284f1118b57e70b83c4
1,046
package com.delmar.sysSettings.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.delmar.core.dao.CoreDao; import com.delmar.core.service.impl.CoreServiceImpl; import com.delmar.sysSettings.dao.SysSettingsValuesDao; import com.delmar....
27.526316
121
0.808795
f38bb1b00df72c58985a13cbf51fffdc0391734a
7,322
package org.jeecg.modules.message.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.jeecg.common.api.dto.message.MessageDTO; import or...
35.033493
169
0.577438
1089c408c7cfaf065f457abf8ce3a4514638530d
3,984
package budgetbuddy.model; import static budgetbuddy.testutil.Assert.assertThrows; import static budgetbuddy.testutil.ruleutil.TypicalRules.EQUAL4090_INAMT_SCRIPT; import static budgetbuddy.testutil.ruleutil.TypicalRules.FOOD_DESC_FOOD; import static budgetbuddy.testutil.ruleutil.TypicalRules.LESS10_INAMT_SWITCH; impo...
34.947368
103
0.73996
60c7087e1873145f3b6934bdfa25f05c2fecd249
12,030
package com.sudwood.betterhoppers.tileentities; import java.util.List; import com.sudwood.betterhoppers.TransferHelper; import com.sudwood.betterhoppers.blocks.BlockBetterHopper; import net.minecraft.command.IEntitySelector; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer...
31.328125
277
0.615628
bd7d64be64a9144eb3d6c6beea7f4a96953a6d97
12,279
/* * Copyright (C) 2017 - present Instructure, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
47.045977
267
0.625947
fcef574b02dae2bb11994b0cad2e76c0672ffaf7
5,415
package com.roku.dvp; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.util.concurrent.BlockingQueue; import android.util.Log; public final class Transmitter implements Runnable { ...
28.350785
119
0.628809
8183aca39a31da90e8560ad8c5dab6c06b0b8ef2
470
package br.com.contabancaria.modulos; import javax.persistence.*; @Entity public class Cliente { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; private String nome; @JoinColumn(unique = true) //Anotação para restringir associação do elemento conta com mais de um cliente ...
19.583333
109
0.685106
4d3f3bb8bc36b7a308b6ddedd7ff6c04f7176a2e
309
package edu.pku.gg.pokemonbutton; /** * Created by Gg on 2016/10/12. */ public enum PokemonType { NORMAL, FIRE, FIGHTING, WATER, FLYING, GRASS, POSITION, ELECTRIC, GROUND, PSYCHIC, ROCK, ICE, BUG, DRAGON, GHOST, DARK, STEEL, FAIRY }
11.884615
33
0.543689
a688219cd6ee08c017de3dd7845ba672b1e0f126
154
package com.seydanurdemir.model; import java.util.ArrayList; public class Geometry{ public String type; public ArrayList<Double> coordinates; }
17.111111
41
0.766234
5814e7f83f237a3d0a87bd14408788288a4ae0b5
245
package test; /** * This is the local interface for TestingSession enterprise bean. */ public interface TestingSessionLocal extends javax.ejb.EJBLocalObject, test.TestingSessionLocalBusiness { String testBusinessMethod1(); }
17.5
105
0.75102
59434d0f47b4aeda588b5d9238394f9e5fa196ea
1,323
package datamodel.ex1.entity.validation; import datamodel.ex1.entity.Location; import datamodel.ex1.entity.Person; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import java.util.regex.Matcher; import java.util.regex.Pattern; // tag::validator[] public class ValidPass...
37.8
91
0.699169
af5f934ab3912dade13c89ea8d64788e63e8edcc
1,408
package src; import becker.robots.*; /* CS1A: Assignment 1: Part 2 - What's wrong with this code. The program is supposed to make jo perform diving acrobatics - but it's not yet working. Find, document, and correct all the errors in the code and get jo into the pool. */ public class A1_Part_2 extends Object { publ...
27.607843
89
0.571023
e8236f15b0e1b95fbc8453a46db2c96165ce219b
3,613
/* */ package org.springframework.http.client; /* */ /* */ import java.io.IOException; /* */ import java.io.OutputStream; /* */ import java.net.HttpURLConnection; /* */ import java.net.URI; /* */ import java.net.URISyntaxException; /* */ import org.springframework.http.HttpHeaders; /* ...
30.880342
156
0.496263
8580be0b986a318e2dbff1ed8f23db566293f8a5
837
package treino.basicoavancado.InterfaceGrafica; import java.awt.*; import javax.swing.*; public class RadioButton extends JFrame { JRadioButton masculino = new JRadioButton("Masculino", true); JRadioButton feminino = new JRadioButton("Feminino"); // Resolver o problema de os dois serem marcados ao mesmo ...
24.617647
67
0.64994
3f063c1dc39b08accbdca06d5c8e1f6725f4d584
769
package com.baidu.mapp.tp.bean.auth; import lombok.Data; /** * @description: 小程序基础信息修改次数 * @author: chenhaonan02 * @create: 2021-10-25 11:29 **/ @Data public class AppInfoModifyCount { /** * 名称已使用修改次数 */ private Integer nameModifyUsed; /** * 名称修改次数总额度 */ private Integer nameMod...
17.088889
41
0.592978
1f3ad47c82ede3dc4896d6837a089bae20623a6c
231
package com.example.springbootdynamodb; public class UniquePrimaryKeyConstraintViolationException extends RuntimeException { public UniquePrimaryKeyConstraintViolationException(String message) { super(message); } }
33
84
0.813853
d581b490af8a2a6370a41200e11d98f1eb8898e6
117
package gw.specContrib.generics; public interface BeanPopulator2<T extends CharSequence> { void execute(T Bean); }
23.4
57
0.794872
859094266561367ec9f59150d832ceebdbedbfae
1,322
package com.lhc.ocat.mobileplatform.domain.dto; import com.lhc.ocat.mobileplatform.domain.dos.ApplicationDO; import com.lhc.ocat.mobileplatform.domain.dos.MenuDO; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.beans.BeanUtils; import java.util.ArrayList; import java.util.List; import ...
25.921569
63
0.676248
ccf841a74eb0ca3c3163851209fe32692e62c46b
949
package page16.q1589; import java.util.Scanner; import java.util.TreeSet; public class Main { private static class Key implements Comparable{ private int index; private double time; public Key(int index, int c, int v) { this.index = index; this.time = (double)c / v; } @Override ...
21.568182
54
0.581665
bc76319c0aa45ae0054da8b36e797686f30a2ba0
4,038
package stork.scheduler; import stork.core.server.*; import stork.util.*; import stork.feather.*; import stork.util.*; import java.util.*; import java.util.concurrent.*; /** * Maintains a set of all {@code Job}s and handles ordering {@code Job} for * execution. This class implements a {@code Set} interface so its ...
26.220779
79
0.665428
ed0396026abc5a0b2aa221bf3b2f744964bde00a
2,765
/* * Copyright 2018 ConsenSys AG. * * 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...
34.135802
118
0.739602
fe1c1b81ac7ec73b8e4fc987ae70a784d18dbb2b
385
package factory.simplefactory; import factory.simplefactory.apple.Apple; public class TestSimpleFactory { public static void main(String[] args) { SimpleFactory factory = new SimpleFactory(); Apple red = factory.createApple("red"); red.eat(); System.out.println(); Apple gr...
24.0625
52
0.646753
34e57533cb993002a0a1b6c30cc0dd4a79e2ce58
1,665
package com.reandroid.lib.arsc.decoder; import com.reandroid.lib.arsc.value.ResValueBag; import java.util.HashSet; import java.util.Set; public class ResourceNameStore implements ResourceNameProvider { private final Set<ResourceNameProvider> resourceNameProviders; public ResourceNameStore(){ this.res...
31.415094
80
0.658859
93f3c38216d2017376f5f18dccdd2d4e364e544c
437
package tetris.factories; import tetris.panel.AbsPanel; public class PanelFactory { public static AbsPanel getPanel(String panelName){ try { return (AbsPanel) Class.forName("tetris.panel." + panelName).newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { ...
24.277778
86
0.732265
f7dbc7ecd23c8ef8b87bdc225c8c388fb953029e
1,101
package com.walmartlabs.concord.common.form; /*- * ***** * Concord * ----- * Copyright (C) 2017 - 2019 Walmart Inc. * ----- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
28.230769
83
0.689373
7e9e3bcbb1904b81751ff45ae26210eef71f837a
449
package org.jeecg.modules.party_building.service; import com.baomidou.mybatisplus.extension.service.IService; import org.jeecg.modules.party_building.entity.DataInformationFile; import java.util.List; /** * @Description: data_information_file * @Author: jeecg-boot * @Date: 2020-07-02 * @Version: V1.0 */ publi...
23.631579
84
0.781737
c919798e17a8b35ed4902b42599b92554016c54e
1,501
package net.redbear.board.controller.model.product; import android.content.Intent; import android.util.Log; import net.redbear.board.controller.model.pin.Pin; import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; /** * Created by dong on 3/23/16. */ public class ...
20.847222
71
0.576282
f4a4c7dd0a9019c08e97fadcdf455ffb1272bd15
630
package timeflow.data.db.filter; import timeflow.data.db.Act; import timeflow.data.db.Field; public class MissingValueFilter extends ActFilter { private Field field; private boolean text, array, number; public MissingValueFilter(Field field) { this.field=field; text=field.getType()==String.class; array=fi...
22.5
60
0.674603
4b76423f14946eedab3abb1dfc79857df6e3e7c3
4,665
package controllers; import static akka.pattern.Patterns.ask; import java.util.List; import java.util.concurrent.CompletionStage; import java.util.concurrent.atomic.AtomicInteger; import java.util.function.Function; import javax.inject.Inject; import com.avaje.ebean.Ebean; import com.avaje.ebean.Query; import acto...
29.15625
120
0.728403
60caa8377f5afeb00223e7fbbf6f942e8cfe0b14
462
package dev.hephaestus.automotion.common.block.entity; import dev.hephaestus.automotion.common.AutomotionBlocks; import net.minecraft.block.BlockState; import net.minecraft.block.entity.BlockEntity; import net.minecraft.util.math.BlockPos; public class EntityDetectorBlockEntity extends BlockEntity { public Entity...
35.538462
79
0.820346
b16564c73d58f54067a492d945c290232c6e5b3b
13,554
package kam.hazelrigg; import edu.stanford.nlp.pipeline.StanfordCoreNLP; import kam.hazelrigg.readers.*; import org.apache.commons.cli.ParseException; import org.junit.BeforeClass; import org.junit.Test; import org.junit.rules.ExpectedException; import java.io.File; import java.io.FileNotFoundException; import java.i...
28.296451
102
0.619448
ad287c2d668a6c16cd63e83ce55a19c4d4509aa4
3,462
/* * File : RegisterServlet.java * Authors : Antoine Drabble & Guillaume Serneels * Last Modified : 21.10.2016 */ package com.heig.amt.webapp.web; import com.heig.amt.webapp.services.UserServiceLocal; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logge...
39.340909
137
0.669266
c7a85cf0aac15183b4c84a6e29e09546e9558d09
976
package com.gq.mediaplayer; public class TrackBean { private String subtitleName; private String audioName; private int index; public int getType() { return type; } public void setType(int type) { this.type = type; } private int type; public String getSubtitleCol...
18.769231
56
0.626025
b609895a6367ffa2e18b9b890215cf37286da428
964
package com.example.homework.entity.order9th; public class RecommendManager { private RecommendCloth[] rCloth; private RecommendBook[] rBook; private final int CHOOSENUM = 3; private int serviceCode; public RecommendManager(int TOTAL, int MAX, int serviceCode){ this.serviceCode = servic...
27.542857
70
0.60166
412c122329390d3b12613cf2083b8c79d3c3c1ca
527
package lombok.ast.pg; import lombok.Getter; @Getter public class Ternary extends Expression<Ternary> { private Expression<?> test; private Expression<?> ifTrue; private Expression<?> ifFalse; public Ternary(Expression<?> test, Expression<?> ifTrue, Expression<?> ifFalse) { this.test = test; this.ifTrue = i...
23.954545
119
0.73814
d5eba9af51fefc4be8aeb04e2ad9c378d7f2628e
2,748
package com.covid19.rest; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; i...
29.234043
89
0.729622
37e6e8ddc46789105b358c9ea9eaaed71556e2b6
3,720
/** * Copyright (c) 2012, Hadyn Richard * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights to * use, copy, modify, me...
34.12844
113
0.569892
0d76d298aff3f79c51b9f46da9980edb4f9d7e92
12,173
/******************************************************************************* "FreePastry" Peer-to-Peer Application Development Substrate Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute for Software Systems. All rights reserved. Redistribution and use in source and binary forms, ...
37.2263
189
0.658753
31b0a97b1ac93fb090e758f546e9590038075163
15,430
/* * This file is generated by jOOQ. */ package io.cattle.platform.core.model.tables.records; import io.cattle.platform.core.model.DynamicSchema; import io.cattle.platform.core.model.tables.DynamicSchemaTable; import io.cattle.platform.db.jooq.utils.TableRecordJaxb; import java.util.Date; import java.util.Map; imp...
21.671348
241
0.542709
9c0badd254a6efc513a29547316bb75ecddb8193
842
package book.jeepatterns.dao; import java.time.LocalDate; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; import book.jeepatterns.model.Professor; public class ProfessorDAO { private static Set<Professor> professors; static { Professor p1 = new Professor ("professor a", LocalD...
25.515152
77
0.655582
5310e4c0308e4342156d32ba4eca7ce34e766f1b
391
import org.xbib.settings.SettingsLoader; import org.xbib.settings.datastructures.yaml.YamlSettingsLoader; module org.xbib.settings.datastructures.yaml { exports org.xbib.settings.datastructures.yaml; requires transitive org.xbib.settings.datastructures; requires org.xbib.datastructures.yaml.tiny; uses ...
35.545455
64
0.810742
19beae95e58f3258a0b171bba18289d590f898cb
385
/* * 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 com.github.jittagornp.fluentquery; /** * * @author jitta * @param <T> */ public interface TransactionCallback<...
21.388889
80
0.672727
de4ab3f7745b386a84dfecc96381af40c687ed7d
2,648
/* Copyright 2009, 2012 predic8 GmbH, www.predic8.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...
29.422222
115
0.738671
a534160cd85ed984b206a7d27cbef45a2acb22af
2,867
package org.wrkr.clb.services.security.impl; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationCredentia...
33.337209
94
0.764213
4606b6d0c2107babcf11086f04d630379e2c2a50
286
package dsx.bcv.server.data.repositories; import dsx.bcv.server.data.models.Role; import org.springframework.data.repository.CrudRepository; import java.util.Optional; public interface RoleRepository extends CrudRepository<Role, Long> { Optional<Role> findByName(String name); }
26
68
0.807692
533bb35ac692ebcc9ead8186d697aa55a3ac1624
733
package org.hyojeong.stdmgt.model; public class UpdateHisory { int pid; String memo; String updateDate; public int getPid() { return pid; } public void setPid(int pid) { this.pid = pid; } public String getMemo() { return memo; } public void setMemo(String memo) { this.memo = memo; } public String...
19.289474
92
0.672578
4e75519abe36c843fdb2d0ffce9e134686671410
302
package org.nix.domain.entity.dto; import org.springframework.stereotype.Repository; /** * Create by zhangpe0312@qq.com on 2018/3/11. * * 用于返回前端所需信息的返回接口 */ @Repository public interface ResultDto{ /** * 返回需要的dto组装类 * @return */ ResultDto resultDto(Object... objects); }
14.380952
49
0.668874
098cd5e90ecf1b2609beecddc07b09e814e7c92f
1,503
package com.apchernykh.todo.atleap.sample.network.retrofit; import com.apchernykh.todo.atleap.sample.BuildConfig; import com.apchernykh.todo.atleap.sample.Constants; import com.fasterxml.jackson.databind.ObjectMapper; import retrofit.RestAdapter; import retrofit.converter.JacksonConverter; @SuppressWarnings("SamePar...
34.953488
97
0.7332
f175b105fc455f4bee25a4349935c556d8a21fc1
6,683
/** * 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...
56.159664
169
0.633249
69f7539007ea206076d6f0580d647f52da57bc14
2,225
/* * Copyright 2020-present huanglei.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
35.31746
119
0.658876
750912d1f02069c5197e5aef6b2e2f8b07de609c
11,299
/* * Copyright (c) 2008-2011, Piccolo2D project, http://piccolo2d.org * Copyright (c) 1998-2008, 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 ...
35.984076
117
0.678467
4d717c1a51d26eb72fff54647b43ba469ca86f80
708
package com.miniprofiler; import static org.junit.Assert.*; import org.junit.Test; import java.time.Instant; public class InstantOffsetTest { private Instant now = Instant.now(); private Instant later = now.plusMillis(1); @Test public void testInstantOffset() { InstantOffset offset = new In...
23.6
61
0.666667
777f14c8252f611235900f5b9ed8fb99b7002484
6,916
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
31.436364
124
0.626374
e338b501804eb4357894fffe6554acedb35bb1d5
11,791
package de.ellpeck.prettypipes.terminal; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.ListMultimap; import de.ellpeck.prettypipes.PrettyPipes; import de.ellpeck.prettypipes.Registry; import de.ellpeck.prettypipes.Utility; import de.ellpeck.prettypipes.misc.EquatableItemStack; im...
47.736842
329
0.629209
43858132ab9b9f45795292c3d854d8e7eb4c5439
579
package org.dataportabilityproject.types.transfer.models.contacts; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import org.dataportabilityproject.types.transfer.models.DataModel; /** * A collection of contacts as serialized vCards. */ public class Contac...
26.318182
72
0.75475
bf4c40c1c4a0316084ffdb9555c9d383d6c3a64a
330
package com.neteasemall.service; import com.neteasemall.common.ServerResponse; import com.neteasemall.pojo.User; public interface IUserService { ServerResponse<User> login(String username, String password); ServerResponse<String> checkValid(String str,String type); ServerResponse checkAdminRole(User ...
19.411765
65
0.784848
fbdfd8688e40c8623877be9b180ee5c19d01a74d
2,576
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.jstarcraft.ai.jsat.classifiers.bayesian; import static org.junit.Assert.assertEquals; import java.util.Random; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass...
30.666667
115
0.654891
a7c2d2b46ae9e12db9119cf34bfe28a016bfc8c1
195
package com.manorath.csye6225.exception; public class FileNotSupportedException extends RuntimeException { public FileNotSupportedException(String message) { super(message); } }
24.375
65
0.769231
8592138c18a97a8ae4a6e178d3171bbfbe773d9c
21,133
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: manage_service.proto package com.qingyuanos.core.googleprotobuf.openshiftapis; /** * Protobuf type {@code openshift.CreateOriginProjectRequest} */ public final class CreateOriginProjectRequest extends com.google.protobuf.GeneratedMessage im...
34.815486
188
0.693087
15f4f05fbde02513ad532ec394265bb283df9923
340
package com.gpmall.shopping.form;/** * Created by mic on 2019/7/26. */ import lombok.Data; /** * 腾讯课堂搜索【咕泡学院】 * 官网:www.gupaoedu.com * 风骚的Mic 老师 * create-date: 2019/7/26-下午4:50 */ @Data public class CartForm { private Long userId; private Long productId; private String checked; private Inte...
12.592593
36
0.661765
d2fe73ffbc7af38346d6f742ccb110e20e1778f4
573
package com.helospark.lightdi.annotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Container for {@link PropertySource} ann...
22.92
76
0.769634
9fac951ccf59cfc4a2d9af09a411d4c2565c6e47
3,787
/* * Copyright 2018, OpenCensus 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 or ag...
38.252525
98
0.744125
e01e8db8bda51cf983e8b667208857fdbe71cd8f
3,493
//////////////////////////////////////////////////////////////////////////\ // // Copyright (c) 2012-2019 60East Technologies Inc., All Rights Reserved. // // This computer software is owned by 60East Technologies Inc. and is // protected by U.S. copyright laws and other laws and by international // treaties. This com...
42.597561
116
0.682222
57a6de6c4dd8ecc4d89cc974aa8f46914c58194b
1,899
package com.ringcentral.platform.metrics.rate; import com.ringcentral.platform.metrics.*; import com.ringcentral.platform.metrics.dimensions.MetricDimensionValues; import com.ringcentral.platform.metrics.names.MetricName; import com.ringcentral.platform.metrics.rate.configs.*; import com.ringcentral.platform.metrics.u...
32.741379
127
0.71564
85f457a7becce3ad2534bfb2dadf7f4bf3cc7c14
2,870
package org.cyclaps.cyclaps; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.internal.BottomNavigationMenu; import android.support.design.widget.BottomNavigationView; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.M...
36.794872
100
0.672822
c593ecc620f3bb2e9dbea0c97e0c62b6e326e963
769
package hrms.dataAccess.abstracts; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import hrms.core.dataAccess.BaseDao; import hrms.entities.concretes.IndividualTechnology; public interface IndividualTechnologyDao ext...
42.722222
127
0.808843
b13b9bab42db539a6d69b713835f5132961a529c
1,485
package com.omar.abdotareq.meshkat.adapters; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentStatePagerAdapter; import com.omar.abdotareq.meshkat.activities.FragmentSearch; import java.util.ArrayList; import java.util.List; public class Fragm...
27
95
0.688889
1060fa3fc4ce523e005471c74dc8f224d4e7a808
998
package computing.client; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.stream.Collectors; import org.springframework.http.client.ClientHttpResponse; import org.springframework.web.client.ResponseErrorHandler; import com.google.gson.Gson; import lombok...
29.352941
85
0.759519
60193b9229035416c0b88b006433af9a4d8e8383
2,068
package com.bah.ode.spark; import org.apache.spark.Accumulator; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.function.Function; import org.apache.spark.broadcast.Broadcast; import org.apache.spark.sql.DataFrame; import org.apache.spark.sql.SQLContext; import com.bah.ode.wrapper.MQSer...
30.411765
86
0.679884
61942b2330f3019cac36757af542fe41e64429a7
5,725
package com.redhat.service.bridge.manager.dao; import java.util.List; import javax.enterprise.context.ApplicationScoped; import javax.persistence.TypedQuery; import javax.transaction.Transactional; import com.redhat.service.bridge.infra.models.ListResult; import com.redhat.service.bridge.infra.models.QueryInfo; impo...
47.31405
162
0.727686
5d6f8d15f980adcd851990e327f2b66ca29b5f2a
709
package org.apache.maven.settings.building; import java.util.ArrayList; import java.util.List; import org.apache.maven.settings.Settings; class DefaultSettingsBuildingResult implements SettingsBuildingResult { private Settings effectiveSettings; private List<SettingsProblem> problems;...
12.660714
98
0.736248
5c3adbcc6a87da77ca1b8ec0aa3ff672f80ed12d
1,097
/** * © Copyright IBM Corporation 2016. * © Copyright HCL Technologies Ltd. 2017. * LICENSE: Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 */ package com.hcl.appscan.sdk.scanners.sast.targets; import java.io.File; import java.util.Map; import java.util.Set; import com.hcl.appscan.sdk....
22.854167
90
0.694622
adcd425c0dba76bd97cf97ca25105ce87619388f
4,364
package com.emv.qrcode.decoder.mpm; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.nullValue; import org.junit.Test; import com.emv.qrcode.core.exception.PresentedModeException; import com....
44.989691
159
0.809578
5e2f726e22067bcb950dd52237afabaf1e1de08a
563
package ch.heigvd.amt.repositories; import ch.heigvd.amt.entities.ApiKeyEntity; import ch.heigvd.amt.entities.BadgeEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Optional; import java.util.UUID; @Reposito...
33.117647
87
0.829485
2fb3db76c95dca9fc01776d25cd604c4c48f10b8
122
package steamAPI; import java.util.List; public class AppList { public int appId; public String name; }
13.555556
24
0.663934
0e48821a42487bb4be878d5f09ffc5c53a09fd60
1,934
/** * */ package com.flyover.boot.consul.config; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.support.BeanDefinitionRegistry; import org.springframework.context.EnvironmentAware; import org.springframework.context.annotation.Configuration; import org.springframework.conte...
33.929825
107
0.74302
7df420fe1a8245ba89a2a3a853155facf15784df
1,643
package ru.andreeva.library.web.views; import com.vaadin.flow.component.grid.HeaderRow; import com.vaadin.flow.router.PageTitle; import com.vaadin.flow.router.Route; import ru.andreeva.library.service.dao.Book; import ru.andreeva.library.service.repositories.BooksRepository; import ru.andreeva.library.service.specific...
48.323529
120
0.728545
fc47060e705afae191022b11887e93d79461c442
5,047
/* * 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...
30.77439
129
0.646721
1eb0b8d7c230c261eacea259360369a0305b9eea
414
package com.box.l10n.mojito.cli.command; import com.box.l10n.mojito.phabricator.DifferentialRevision; public class PhabricatorPreconditions { public static void checkNotNull(Object phabricatorDependency) { if (phabricatorDependency == null) { throw new CommandException("Phabricator must be con...
34.5
138
0.746377
c812d2dbcedf1182d8d9200520921f906ee2e563
3,578
package com.game.legendarygiggle; import com.game.legendarygiggle.adventure.Adventure; import com.game.legendarygiggle.adventure.map.UniverseMap; import com.game.legendarygiggle.adventure.player.Player; import com.game.legendarygiggle.menu.InGameMenu; import com.game.legendarygiggle.menu.MainMenu; import com.game.lege...
38.473118
96
0.603689
be18aeaef2eaa843aa0095ed607dd514609b25c0
110
/** * Templates support for email message body. */ package eu.easyrpa.openframework.email.message.templates;
27.5
57
0.772727
1aa50ded7e41828eaaa8744778f651f1731ff92e
14,677
/** * 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...
35.11244
159
0.638823
d40111c751eba7433fbda0d20f03ccfbbf75ea87
523
package sqlru.jobparser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Writer of new offers to the single log file. */ public class LogWriter { /** * The job offers logger. */ private final Logger logger = LoggerFactory.getLogger("ExternalAppLogger"); /** * Writes speci...
19.37037
79
0.604207
8d0f4576e65a07d4a36a57351ebfaa7a97c1204c
7,237
/* * Copyright 2015-2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.client.api.authentication; import com.hp.autonomy.hod.client.config.HodServiceConfig; import com.hp.au...
42.822485
176
0.712588
48bcd3fd97bca87437d26c2d165ab418ebe60171
472
package cn.test11.cc; import java.util.Scanner; public class J1166 { public static void main(String[] args) { Scanner cn = new Scanner(System.in); int[] n = new int[10001]; int i =0; while(cn.hasNext()){ n[i] =cn.nextInt(); i++; } if(isSorted(n,i)) System.out.println("YES"); else System.out.pr...
18.153846
49
0.605932
3e8f97ab330bae1029efebf941bbf55ef572b8f6
4,708
/****************************************************************** * File: TestDatasetMonitor.java * Created by: Dave Reynolds * Created on: 27 Apr 2014 * * (c) Copyright 2014, Epimorphics Limited * *****************************************************************/ package com.epimorphics.appbase.mon...
35.398496
113
0.635302
634481b4917bb26029198188939957c67634d0c3
1,457
package org.demo.learn.util.leetcode.sort; import java.util.Arrays; /** * @author luwt * @date 2021/5/6. * 快速排序 */ public class QuickSort { public static void main(String[] args) { int[] array = {1, 3, 2, 5, 6, 4}; sort(array, 0, array.length - 1); System.out.println(Arrays.toString(a...
26.490909
62
0.382292
23e6379808a25fca8b1c2e1b58d7e5b4f4ac945d
8,096
package master.logica.servicios; import accesoDatos.AccesoDatos; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import master.logica.entidades.Modulo; import master.logica.entidades.Rol; public class ServiciosRoles { public static Rol obtenerRolDadoCodigo(int...
38.736842
109
0.554348
ad4b275f499998413395526033bedb64e544e259
1,381
package org.apache.spark.sql.catalyst.analysis; /** * An inline table that has not been resolved yet. Once resolved, it is turned by the analyzer into * a {@link org.apache.spark.sql.catalyst.plans.logical.LocalRelation}. * <p> * param: names list of column names * param: rows expressions for the data */ public...
62.772727
217
0.751629
7b34c8b53844a7266e0130820b0adfe168ee58c6
584
package com.github.vincemann.ezcompare; import lombok.AllArgsConstructor; import org.checkerframework.checker.units.qual.C; @AllArgsConstructor public abstract class AbstractConfigModifier<M extends AbstractConfigModifier, C extends RapidEqualsBuilder.CompareConfig> { private C config; public M reflectUpToC...
23.36
124
0.702055
2fd4ab65fe4f5678405e7c318d5de51ee11b83ae
33,068
/* * Copyright (c) 2010-2018. Axon Framework * * 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 ...
52.656051
133
0.709296
bfd97fd4b51ee299eb283dc77d9ce6413129ae96
511
package DTO; /** * * @author Lucas Pereira */ public class FuncionarioLoginDTO { private int Id; private String nome, senha; public int getId() { return Id; } public void setId(int Id) { this.Id = Id; } public String getNome() { return nome; } public void ...
17.62069
40
0.555773
cbbda508e83fd41f727ad5f87fe6d6e86f7871b8
1,932
package com.our.news.admin.service.Impl; import com.our.news.admin.dao.CommentDao; import com.our.news.admin.dao.NewInfoDao; import com.our.news.admin.service.CommentService; import com.our.news.admin.service.NewInfoService; import com.ournews.commons.dto.BaseResult; import com.ournews.commons.dto.PageInfo; import com...
31.672131
101
0.693582
b5d7613cc0c599748f08e50acd647669c21e4325
398
package com.web.blog.dao; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface StudentgroupDao { public int creategroup(@Param("group_id") String group_id,@Param("student_id") String student_id,@Param("direction")String ...
30.615385
138
0.788945
fb5c9560dfa2b662241715bd84c9c7fba026e08d
2,283
package de.exceptionflug.protocolize.items; import net.md_5.bungee.api.ProxyServer; import static de.exceptionflug.protocolize.api.util.ProtocolVersions.MINECRAFT_1_13; public enum ItemType { NO_DATA(new ItemIDMapping(0, 0, -1)); private final ItemIDMapping[] mappings; private final int maxStackSize; Item...
28.185185
98
0.601402
c82021f05987724fe304a41c9cbda99e90e35447
41,275
package uk.gov.hmcts.ethos.replacement.docmosis.reports.casescompleted; import org.junit.Test; import uk.gov.hmcts.ecm.common.model.ccd.CaseData; import uk.gov.hmcts.ecm.common.model.ccd.SubmitEvent; import uk.gov.hmcts.ecm.common.model.ccd.items.DateListedTypeItem; import uk.gov.hmcts.ecm.common.model.ccd.items.Heari...
49.195471
127
0.711569
5b7aad3978774f7795234f87c40abda82b15f5bb
5,204
package MapperToSql; import org.dom4j.Attribute; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; import java.io.File; import java.util.Iterator; import java.util.List; public class MapperParse { public static String parse(File f) throws Ex...
41.301587
118
0.417948
de8acfbafd816e3da27347ec71616313ce7db7bb
1,122
/** * Copyright (C) 2010-16 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
38.689655
82
0.749554
86f99836284b330b675991352efd9bc3942498a4
5,668
/* * 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 ...
36.805195
80
0.742061
549789e28c633e7463e60b3b71e0818c2776f7fc
7,283
package codepath.nytarticlesapp.activities; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v4.content.LocalBroadcastManager; import android.support.v4.view.MenuItemCompat; import android.support.v7.ap...
35.70098
155
0.696142