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
413a2bc01dcc4ca7db25cddb0b5c386c0e3a65ca
10,322
/** * Copyright Indra Soluciones Tecnologías de la Información, S.L.U. * 2013-2019 SPAIN * * 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...
43.923404
130
0.67545
58605ba2756eda3e01897e222d5ceae06e2be336
569
package com.technumen.models; import lombok.Data; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import java.io.Serializable; import java.util.Calendar; @Component @Scope(value = "prototype") @Data public class LoginActivity implements Serializable { privat...
22.76
52
0.783831
38547e9d2bbac756afcfa91f9cc3ef24c5fca663
1,183
package com.impassive.test.provider; import com.impassive.rpc.context.RpcContext; import com.impassive.test.Result; import com.impassive.test.TestRpc; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.collections4.CollectionUt...
26.886364
76
0.712595
12cf5e2c7414949731b311218f427b6a8f579f81
2,589
package a06_sorting_searching; public class BinarySearch { public static int binarySearch(int[] a, int x) { int low = 0; int high = a.length - 1; int mid; while (low <= high) { mid = (low + high) / 2; if (a[mid] < x) { low = mid + 1; } else if (a[mid] > x) { high = mid - 1; ...
26.690722
97
0.546157
18f046986e8bf46c79982a3ffae4710d3e910fd2
1,043
package com.react_native_crash; import com.facebook.react.TurboReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.module.model.ReactModuleInfo; import com.facebook.react.module.model.ReactModuleInfoProvider; import java.util....
27.447368
63
0.683605
d018e0745753b3e0b769da6bccb3884cacd8bf5d
41,488
package com.qidu.jiajie.activity; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.Instrumentation; import android.content.BroadcastReceiver; import android.content.Context; import android.content.D...
41.117939
210
0.589713
760b067f403c9d4f71853e0cbb507202f8ffb00b
5,914
package LiveRadioPackage; import java.io.IOException; import java.net.MalformedURLException; import org.openqa.selenium.remote.RemoteWebDriver; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import com.p...
43.807407
186
0.690227
8521a16d72d2ad0f2f0f37ae5a4432586e236f34
12,468
package id.rojak.election.application.candidate; import id.rojak.election.ElectionApplication; import id.rojak.election.client.AnalyticsServiceClient; import id.rojak.election.domain.model.candidate.*; import id.rojak.election.domain.model.election.*; import org.junit.Assert; import org.junit.Before; import org.junit....
38.841121
125
0.566731
43bcfcbd7c710bd4fb7b2d863f164c02cc3eb0c7
3,113
package com.limpygnome.daemon.util; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.HttpClients; import org.apache...
27.069565
113
0.629618
71db04653e813add6ed04d60c8927302c499edfd
15,361
package io.dronefleet.mavlink; import io.dronefleet.mavlink.annotations.MavlinkMessageInfo; import io.dronefleet.mavlink.ardupilotmega.ArdupilotmegaDialect; import io.dronefleet.mavlink.asluav.AsluavDialect; import io.dronefleet.mavlink.autoquad.AutoquadDialect; import io.dronefleet.mavlink.common.CommonDialect; impor...
41.404313
120
0.632576
70e5c0f624ced850641865a67bf1120422c72c6d
2,138
package livroslembrete.com.br.livroslembrete.model; import android.os.AsyncTask; import android.util.Log; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import livroslembrete.com.br.livroslembrete.Application; import livroslembrete.com.br.livroslembrete.dao.DataBaseHelper; import li...
35.633333
90
0.717961
e3ed078baf4f5c530acaef68c873858348efb40c
2,127
package com.javapatterns.builder.messagebuilder; import java.util.*; import java.io.*; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; abstract public class AutoMessage { protected String subject = ""; protected String body = ""; protected String from = ""; protected Stri...
19.513761
60
0.610249
4997568ba325c76e2eb70c2461a1c6ed2ec453b3
1,148
package no.nav.registre.udistub.core.database.model; import com.fasterxml.jackson.annotation.JsonBackReference; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import no.udi.mt_1067_nav_data.v1.ArbeidOmfangKategori; import no.udi.mt...
24.425532
58
0.803136
09a246e84c6b959dd255158fd18d41033a9aa433
2,850
package com.valhallagame.instanceserviceserver.repository; import com.valhallagame.instanceserviceserver.model.Dungeon; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import java.util.List; imp...
79.166667
274
0.76386
7f4a44c9c9e2bc6bd1639dda670cecb22afcf5bc
4,795
package com.vladmihalcea.book.hpjp.hibernate.audit.envers; import com.vladmihalcea.book.hpjp.hibernate.association.BidirectionalManyToManyListTest; import com.vladmihalcea.book.hpjp.util.AbstractTest; import org.hibernate.annotations.NaturalId; import org.hibernate.envers.AuditReaderFactory; import org.hibernate.enver...
25.77957
88
0.53806
d34bb1ba3e283526173a448f5e6b3ae6f319a9ce
69
package com.zsoft.signala.hubs; public class HubResultCallback { }
11.5
32
0.782609
f5d5bfdd7d7b85d3a76b5404c4c7b70f2d05d7d8
131
package polyglot_integration; // Not working // public class SpeakingCat implements SpeakTrait { } public class SpeakingCat { }
16.375
53
0.770992
663a856cd3f095e38e05ff028aa8ebe5d24f4920
1,602
package org.jenkinsci.plugins.gitchangelog; import static hudson.tasks.BuildStepMonitor.NONE; import static org.jenkinsci.plugins.gitchangelog.perform.GitChangelogPerformer.performerPerform; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.Run; import hudson.model.TaskListe...
28.105263
100
0.796504
6f1f94d5ce3952ce91bfce81ea27c4c75a571eea
3,402
/* * Copyright (c) 2017, 2018, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
42.525
99
0.740153
13814519cc0c4de456c00365bb87cce4eeff1964
84
package io.riguron.command.base; public enum SenderKind { PLAYER, CONSOLE; }
10.5
32
0.714286
87e44ebd0b72e9894db45719fad1a6eb06d958c4
5,751
/* * Copyright 2016-2018 Axioma srl. * * 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...
53.747664
117
0.78682
f11631ca7fd46814b2ad1cc3ad73825d74922b23
15,644
package api.loans; import static api.support.matchers.PatronNoticeMatcher.hasEmailNoticeProperties; import static org.folio.circulation.domain.notice.session.PatronActionSessionProperties.ACTION_TYPE; import static org.folio.circulation.domain.notice.session.PatronActionSessionProperties.ID; import static org.folio.ci...
38.249389
100
0.761506
4e29f604a8b0589845df6c0e3266ab76e929040b
300
package org.toubassi.rl.catmouse; /** * A player that moves purely randomly. It can be used for both * the cat or the mouse. */ public class RandomMovePlayer extends Player { public Move makeMove(CatMouseGame game, float reward) { return moves[random.nextInt(moves.length)]; } }
25
64
0.706667
25ba5fda6a767fe7d5e4174f9a06ba2b67c1c50b
792
package net.openhft.chronicle.releasenotes.model; import static java.util.Objects.requireNonNull; import java.util.Objects; public final class Label { private final String name; public Label(String name) { this.name = requireNonNull(name); } public String getName() { return name; ...
20.307692
66
0.566919
2d6fdaf4a19d9eb086554eeb512e6bb4f7779e28
143
package SingleFactory; public class Orange extends Fruit { @Override public void show() { System.out.println("我是橙子"); } }
15.888889
35
0.636364
8824a10fcd31f4e2001417e79b6244bc9fc3f880
13,827
package voss.multilayernms.inventory.web.mpls; import naef.dto.NodeDto; import naef.dto.mpls.RsvpLspDto; import naef.dto.mpls.RsvpLspHopSeriesDto; import naef.dto.mpls.RsvpLspIdPoolDto; import org.apache.wicket.PageParameters; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Lab...
48.1777
120
0.58082
c9d6f2911991a3b57216c262bc028fec90e9e18f
7,563
package com.helospark.spark.builder.handlers.it; import static java.util.Optional.empty; import static java.util.Optional.of; import static org.mockito.BDDMockito.given; import static org.mockito.Matchers.any; import java.util.List; import java.util.Optional; import org.eclipse.jdt.core.ICompilationUnit; import org....
51.101351
162
0.745207
e08553a8eaa777fbbed854b22ac3ecf4a751bc59
12,688
/* * 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...
26.323651
102
0.562894
07b4df273cc57b5cba2eb49e981b213057f221fa
223
package com.softcafe.developer.demo; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository interface CarRepository extends JpaRepository<Car, Long> { }
27.875
61
0.843049
a117b066759e80cd2887c53500ba01c183b059d9
3,524
/* * Copyright (c) 2018 Varmetek - MIT License * * 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,...
28.419355
144
0.71765
fb015a06c945f6c2610408a10726dd72688bb24e
862
package mage.cards.h; import java.util.UUID; import mage.MageInt; import mage.constants.SubType; import mage.abilities.keyword.FlashAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; /** * * @author TheElk801 */ public final class HiredBlade extends CardImpl { ...
22.102564
77
0.670534
f06f4a97ab439426659513f8003a9eb28e662dde
6,183
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: XXX // ...
24.831325
122
0.559275
59794ee1ef508421cef7be37a5799c90466c5a0d
2,006
package com.tybest.tcc.bean; import com.tybest.tcc.exception.InternalException; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; import java.util.ArrayList; import java.util.List; /** * @author tb * @date 2018/12/10 17:25 */ @NoArgsConstructor(access = AccessLevel.PRIV...
29.5
110
0.543868
8dae82b620fa8b4648b75f68f7511975fb601475
2,342
/* * Copyright 2020 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 applica...
37.774194
96
0.733988
da4b641dcf62349824ed1cab42011bfed797bd39
1,793
package com.bkav.training.week2.session3; import com.bkav.training.week2new.session3_1.Point; public class LineSub extends Point { private Point end; // Constructors public LineSub(int beginX, int beginY, int endX, int endY) { super(beginX, beginY); // construct the begin Point this.end = new Point(endX, end...
19.27957
90
0.636364
ed7f44beebaa84323c7ac60f7b5a94b05aad02ea
2,429
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
20.241667
97
0.631124
371c858d3d7d7e1163e3c09426ca4be59214cfb4
454
package cei.impl; public class CEILog { public static void setLogLevel() { } public static void showFailure(String message, Object... args) { throw new CEIException(String.format(message, args)); } public static void showWarning(String message, Object... args) { } public stati...
18.916667
69
0.651982
5d8925f886a90b9a7fc468b77ffff102568dfd7d
6,081
package com.flickr.app.ui.photo.explore; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityOptionsCompat; ...
29.376812
112
0.691005
f8468dcbb3a979e7759b7e8725775fb99b120e9b
632
package io.botic.response; import java.util.List; public class ResultListTimedBenchResult extends TimedBenchResult { private List results; public ResultListTimedBenchResult() { } public ResultListTimedBenchResult(String text) { super(text); } public String getResultList() { ...
22.571429
78
0.662975
aadb6e72e5068f39fc82a63436a17b72f0656a68
316
package com.flaviolisboa.siaa.negocio.logins; import javax.ejb.Local; import javax.ejb.Stateless; import com.flaviolisboa.siaa.util.entidades.impl.ValidadorBv; @Stateless(name = "ValidadorLogin") @Local(ValidadorLogin.class) public class ValidadorLoginBv extends ValidadorBv<Login> implements ValidadorLogin { }
24.307692
84
0.81962
9a1f52f6c2bd2eee4f47a8d2385bd509445e5bd2
5,474
package au.com.iglooit.searchcloud.web.rest; import com.codahale.metrics.annotation.Timed; import au.com.iglooit.searchcloud.domain.SearchHistory; import au.com.iglooit.searchcloud.service.SearchHistoryService; import au.com.iglooit.searchcloud.web.rest.util.HeaderUtil; import au.com.iglooit.searchcloud.web.rest.util....
40.850746
175
0.707892
d51123d538677c2304b9ce30b57e4da4b8df4630
25,255
/* * Copyright 2008-2011 Mohawk College of Applied Arts and 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 * * Unle...
34.548564
322
0.659671
7eb48db1d70d22fcc1d92a85e17ca6949af96dc9
4,351
package oysd.com.trade_app.modules.otc.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.util.List; import oysd.com.trade_app.R; import oysd.com.trade_app.base.BaseAdapter; import oysd.com.trade_app.base.BaseHolder; import oysd...
36.872881
129
0.630889
ab48b27b8d203c74cf90960fe6c41e436d9c22cd
1,178
package nl.michelbijnen; import java.awt.*; public class Result { private ChessPiece chessPiece; private Point toPoint; private int valueOfBoard; public Result() { this.valueOfBoard = 0; } public Result(int valueOfBoard) { this.valueOfBoard = valueOfBoard; } public R...
22.226415
129
0.633277
d9fe3621b21a873f0e84191466c93202afc266fe
2,628
package com.github.fosin.anan.platformapi.entity; import java.util.Date; import com.github.fosin.anan.jpa.entity.AbstractOrganizIdJpaEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import org.hibernate.annotations.DynamicUpdate; import ...
28.565217
100
0.700533
9f074979f5236afc88ae8e93a890fa820dde9197
11,628
package com.tom.logisticsbridge.gui; import java.io.IOException; import network.rs485.logisticspipes.util.TextUtil; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.renderer.GlStateManager;...
38.76
222
0.727468
713802db942ab8d724ae0dc28d1b7ac2133bea0d
65,724
/* * Copyright 2019-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
44.139691
232
0.730479
1723cce4f2247d8853257a793184c08cd6eb2384
476
package com.dpgrandslam.stockdataservice.domain.config; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ApiClientConfigurationProperties { private String url; private String authorizationToken; private Integer port; private String authType; public String getUrlAndPort() ...
19.833333
55
0.651261
ab8bd4b8395766992171e53db02c3ba300808a28
2,177
/* * Copyright (c) 2018-2020 NetFoundry, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
29.821918
88
0.575103
3fbf8dd848926aa3c7888f378314358d4c6a5788
1,024
package com.bitfire.uracer.screen; import com.badlogic.gdx.graphics.glutils.FrameBuffer; import com.badlogic.gdx.utils.Disposable; import com.bitfire.uracer.screen.ScreenFactory.ScreenId; public abstract class ScreenTransition implements Disposable { private ScreenFactory screenFactory; public ScreenTransition (S...
23.272727
106
0.766602
173d217fbd8b3a16cf1d49f716e9c814fdf5f4cf
1,299
package jit.wxs.express.controller.admin; import jit.wxs.express.controller.GlobalFunction; import jit.wxs.express.interactive.Msg; import jit.wxs.express.pojo.SysUser; import jit.wxs.express.service.SysUserService; import jit.wxs.express.utils.PasswordUtils; import org.springframework.beans.factory.annotation.Autowir...
29.522727
78
0.717475
32918ef530906bb712ee3d9a7fd590f53eb41a77
7,668
package com.padcmyanmar.poc_screen_implementation.fragments; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager; import android.support.v4.content.Cu...
32.769231
116
0.700965
4ff94659365185f0a3ed5043032cd3b971458ad7
1,375
package ir.sharifi.spring.repository.test; import ir.sharifi.spring.model.model.security.SecurityUser; import ir.sharifi.spring.model.model.test.LeaveTimeRequest; import ir.sharifi.spring.model.model.test.LeaveTimeRequestStatus; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.d...
44.354839
149
0.786182
75d7b6307b92ab82551ca891a46737ba0accc518
231
// "Invert 'if' condition" "true" class A { public static void foo() { <caret>if (1 + 2 != 3) { } else { System.out.println("say"); } System.out.println("something"); } }
19.25
40
0.450216
b4dbe2048c5c430b8a4947fd4f7b75cf87406d61
1,044
package org.opensrp.scheduler.repository; import java.util.List; import org.joda.time.DateTime; import org.opensrp.repository.BaseRepository; import org.opensrp.scheduler.Action; public interface ActionsRepository extends BaseRepository<Action> { List<Action> findByProviderIdAndTimeStamp(String providerId, long t...
33.677419
121
0.821839
4b4c1a71c0ae5a89e2bcd8dc6c7b0c6c3b67ed1c
6,918
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.strategy.spi; import java.io.Serializable; import or...
41.927273
122
0.779705
e9fa2e39048784c5e1574c73bbdb58f2079f27e0
669
package com.github.aureliano.cgraml.helper; import java.util.Arrays; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.github.aureliano.cgraml.code.gen.Generator; public class GeneratorHelperTest { @Before public void beforeTest() { Generator.currentRamlMap = RamlHelper.parseY...
29.086957
144
0.780269
57a0fbaf53d7338d549af17562c2544d608a2454
3,472
package utils; import java.util.ArrayList; import java.util.List; import java.util.Set; import minions.AT; import minions.GenerativeMinion; import minions.ST; import operators.IOperator; public class Util_ST_AT { public static List<Set<List<Integer>>> findFirstRandomized(int relationArity, int number, int iter) {...
28
102
0.644297
9ad3c54e305d660a3816254a6eb4ab6f49b0b49e
1,686
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; /* * To change this license header, choose License Headers in Project Properties. * To change this templat...
30.654545
83
0.587782
7b541c35ce44ac2b73009b519ee036007c339b06
2,005
package com.dd.dp.cp.builder2; import java.time.LocalDate; import java.time.Period; import com.dd.dp.cp.builder.Address; /** * This is final product class who is also having builder class. This will always create immutable object of it as its all setter methods are private. * * @author DIPANJAN DAS * */ public...
19.656863
150
0.683791
31c8cc660e4eb30f1fc337fc7da87cba624a5b9d
6,067
/* * Copyright 2012 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 applica...
34.668571
196
0.736443
3ee4b2a8f03b165b3e3377475615722599a03c1a
380
package com.jeecms.common.util; /** * @author Tom */ public class ArrayUtils { public static Integer[] convertStrArrayToInt(String[]strArray){ if(strArray!=null&&strArray.length>0){ Integer array[]=new Integer[strArray.length]; for(int i=0;i<strArray.length;i++){ array[i]=Integer.parseInt(strArray[i...
21.111111
64
0.665789
8a6d8271763e1e874fd9e59e6d6ba58edee73df6
877
package edu.eci.arsw.seguritas.model; import java.util.ArrayList; public class Tablero { private String id; private ArrayList<Actividad> actividades; private ArrayList<Nota> notas; public Tablero() { } public Tablero(String id) { this.id = id; actividades = new ArrayList<Actividad>(); notas = new...
16.240741
53
0.702395
e158233e09438d4784f53c6ea35d02d0e1f01a68
12,703
package org.apache.batik.dom.svg12; import java.net.URL; import org.apache.batik.css.engine.CSSContext; import org.apache.batik.css.engine.CSSEngine; import org.apache.batik.css.engine.SVG12CSSEngine; import org.apache.batik.css.engine.value.ShorthandManager; import org.apache.batik.css.engine.value.ValueManager; impo...
39.086154
152
0.724632
cdf55ea0adad0d215c3efbc5ddc44f778d8fe337
2,080
package de.florian_timm.aufgabenPlaner.gui.table; import de.florian_timm.aufgabenPlaner.entity.Aufgabe; import de.florian_timm.aufgabenPlaner.entity.Bearbeitung; import de.florian_timm.aufgabenPlaner.entity.Entity; import de.florian_timm.aufgabenPlaner.entity.Person; import java.text.SimpleDateFormat; @SuppressWarni...
29.714286
93
0.671635
ed324e93329aa4c69e616241124425af3703aa2e
2,258
package org.sunbird.content.mgr.impl.operation.event; import org.sunbird.common.dto.Response; import org.sunbird.common.mgr.BaseManager; import org.sunbird.graph.dac.model.Node; import org.sunbird.taxonomy.mgr.impl.BaseContentManager; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; ...
41.814815
120
0.691763
56f05e57e7537950b89ee188fd44216fe4f90b53
545
package br.com.zupacademy.juliana.casadocodigo.localizacao; import br.com.zupacademy.juliana.casadocodigo.Config.EstadoValido; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @EstadoValido public class EstadoDTO { @NotBlank private String nome; @NotNull pr...
18.793103
66
0.699083
55859268d408e16c2c49fd1d183ebb7a619aa876
7,356
package com.zyplayer.doc.db.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.zyplayer.doc.core.annotation.AuthMan; import com.zyplayer.doc.core.exception.Con...
32.839286
129
0.755302
5180639a2e5de922f344f775fbd482f4620dcff7
962
package cc.ccoder.springbootjpathymeleafcurd.common; import lombok.Data; import java.util.Iterator; import java.util.List; import java.util.Spliterator; import java.util.function.Consumer; /** * @author chencong(ccoder.cc) * @since 2019/3/3 14:55 */ @Data public class Page<T>{ /** * 显示数...
18.150943
70
0.599792
565a750d3f21e2fdd838e2cd03f1d99e63b7a173
5,761
package io.github.ramboxeu.techworks.client; import io.github.ramboxeu.techworks.Techworks; import io.github.ramboxeu.techworks.common.DataConstants; import io.github.ramboxeu.techworks.common.property.TechworksBlockStateProperties; import io.github.ramboxeu.techworks.common.registration.TechworksBlocks; import io.git...
41.15
215
0.688075
1c61f349010d435cd4523db34d726686efd16b29
7,500
/*! ****************************************************************************** * * NoREL API * * Copyright (C) 2018 by Adam Fowler : http://www.adamfowler.org/ * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License")...
41.666667
173
0.7088
033d0fa3ed7ef9d3c186fda1e2d5d775ce2488c5
2,870
package ix.ginas.utils.validation.validators; import ix.core.validator.GinasProcessingMessage; import ix.core.validator.ValidatorCallback; import ix.ginas.models.v1.Relationship; import ix.ginas.models.v1.Substance; import ix.ginas.utils.validation.ValidationUtils; import java.util.Iterator; /** * Created by katzel...
40.422535
126
0.596864
5e46c0abd5c42d7ddfcb9940d898885171eed566
895
package com.ossez.jackson.bidirection; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.data...
30.862069
160
0.781006
71095bd9a56a6db9758d131b6b4421f93fb6d0cf
5,029
/* * 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 lib; import java.util.ArrayList; /** * * @author JOSEF Clase para calcular la ecuacion lineal Y sobre X * Unidad 7 de esta...
24.177885
155
0.516803
d01e314494e87dcd44dbd2a35b1e8f8b7432023c
3,666
/* * Source code generated by Celerio, a Jaxio product. * Documentation: http://www.jaxio.com/documentation/celerio/ * Follow us on twitter: @jaxiosoft * Need commercial support ? Contact us: info@jaxio.com * Template pack-backend-jpa:src/test/java/service/RepositoryIT.e.vm.java * Template is part of Open Source ...
33.327273
91
0.718494
99196fa5b7d933535ae77bacb738e94067903291
2,169
package com.lemon.im.activity; import android.content.Intent; import android.os.CountDownTimer; import android.view.View; import android.widget.TextView; import androidx.cardview.widget.CardView; import com.gyf.immersionbar.BarHide; import com.lemon.im.R; import com.lemon.im.base.BaseActivity; import com.lemon.im.be...
24.370787
88
0.618718
d69e84b61642e415459026f07b3dcf1d243ee34b
671
package ch16.synchronize; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class Main { public static void main(String[] args) { List<Integer> list = new ArrayList<>(); list = Collection...
26.84
51
0.627422
c34669e9c7a2e64473862edc01ae757ef947669c
5,058
/* * Copyright 2012-2018 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 ap...
34.882759
129
0.683472
795dc114dd20bcc5d47e67e6b9022183570178a0
14,232
package april.jmat; import java.util.*; /** Sparse vector implementation using a column-sorted row. **/ public class CSRVec extends Vec { public int length; // logical length of the vector public int indices[]; public double values[]; public int nz; // how many elements of indices/values...
24.453608
101
0.43894
8a133abc05869dafae0f14556bb53c57f2e656e2
3,066
package employeetracker.logic.commands; import static employeetracker.logic.parser.CliSyntax.PREFIX_ADDRESS; import static employeetracker.logic.parser.CliSyntax.PREFIX_DATE_OF_BIRTH; import static employeetracker.logic.parser.CliSyntax.PREFIX_DATE_OF_JOINING; import static employeetracker.logic.parser.CliSyntax.PREFI...
38.325
111
0.672864
4a995331edc571a386e68114ed89a3d27abf1741
318
package com.stylefeng.guns.modular.biz_one.service; import com.stylefeng.guns.modular.system.model.ResourcePost; import com.baomidou.mybatisplus.service.IService; /** * <p> * 动态发布资源表 服务类 * </p> * * @author Chase * @since 2018-08-30 */ public interface IResourcePostService extends IService<ResourcePost> { }
18.705882
70
0.745283
c684880712bb0ee09b33f0b7174750a4a8830838
1,377
/* */ package org.springframework.web.servlet.mvc.annotation; /* */ /* */ import java.lang.reflect.Method; /* */ import org.springframework.lang.Nullable; /* */ import org.springframework.ui.ExtendedModelMap; /* */ import org.springframework.web.context.request.NativeWebRequest; /* */ import org.s...
22.209677
195
0.484386
32667dca02699b0ef73a92b38cfd37453847a008
1,366
package de.baltic_online.bobo; import de.baltic_online.base.store2.StoreKeeper; /** * Darstellung einer EMail-Adresse. * <p> * Diese Klasse behandelt nur die Primärdaten dieser Adresse und muss * deshalb nicht weiter kommentiert werden. * * @see AddressRecord * @see AddressContainer */ public class EMail ext...
17.973684
69
0.647145
19b094dfb90263e8a6eb31ef8b67ea56ba0fe14d
890
/* * 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.lucenejdbc.example; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** ...
23.421053
81
0.706742
c83781d7f565ef243541d6ac6f4cba86bd81c2da
10,676
package cn.gyyx.bumblebee.service.impl; import cn.gyyx.bumblebee.dao.BumblebeeDao; import cn.gyyx.bumblebee.model.BumblebeeAgent; import cn.gyyx.bumblebee.model.BumblebeeUser; import cn.gyyx.bumblebee.model.CommandBlacklist; import cn.gyyx.bumblebee.model.OperateLog; import cn.gyyx.bumblebee.service.TerminalService; i...
36.43686
131
0.578025
2aef667454dcca7a5679f229efecd312d42d98a7
5,474
import lib.jadsl.collections.data.vector.DataVector; import lib.jadsl.collections.data.vector.DataVectorType; import lib.jadsl.collections.list.DataVectorArrayList; import lib.jadsl.collections.list.StaticSizeArrayList; import java.util.*; /** * Created by Pascal Jarod Kuthe on 28/04/2016. * Copyright (c) <2016> <P...
55.292929
463
0.686335
c1e9b2708d203b8354e237c2f0fd802bc35496b2
1,527
/* * Copyright (C) 2020-2022 Lightbend Inc. <https://www.lightbend.com> */ package jdocs.stream.operators.sourceorflow; import akka.NotUsed; import akka.actor.ActorSystem; import akka.stream.Materializer; import akka.stream.ThrottleMode; import akka.stream.javadsl.Sink; import akka.stream.javadsl.Source; import ja...
31.8125
99
0.703995
46ad2523c02c3924ec43c5be83d72f023b2049a9
8,829
package io.split.android.client.service.sseclient; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import java.util.HashMap; import java.util.Map; import io.split.android.client.service.sseclie...
39.591928
119
0.748669
4259d1d5ca0ef17104a1adb307c5be45142e0f2f
19,620
package com.koushikdutta.async.http.server; import android.annotation.TargetApi; import android.content.Context; import android.content.res.AssetManager; import android.os.Build; import android.text.TextUtils; import com.koushikdutta.async.AsyncSSLSocket; import com.koushikdutta.async.AsyncSSLSocketWrapper; import co...
39.005964
119
0.519317
b4a76db77f7caa00e78a5f9c8b0730c7d757c44b
330
package com.amazon.aws.serverless.airline; public enum LoyaltyStatus { ACTIVE("active"), REVOKED("revoked"), EXPIRED("expired"); private final String key; private LoyaltyStatus(final String key) { this.key = key; } @Override public String toString() { return this.key...
16.5
45
0.621212
efde39c65616f58ad2e7f7bd0a6933ba5b6171b2
130
package org.jabref.gui.autocompleter; public interface AutoCompletionStrategy { AutoCompletionInput analyze(String input); }
21.666667
46
0.815385
40870e46fecbc516e63db64164d979564b05e2f3
2,773
/* * Copyright (c) 2021 EbiggerR * * 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, merge, publish, d...
36.973333
159
0.747926
6abf2efd5be79d399d8f18c011adbb86b5bf2b34
657
package tian.pusen.juc.basic; //合并,就是等待其它线程执行完, // 再执行当前线程,执行起来的效果就好像把其它线程合并到当前线程执行一样。 public class JoinSample { public static void main(String[] args) throws InterruptedException { JoinThread t1 = new JoinThread("t1"); JoinThread t2 = new JoinThread("t2"); t1.start(); t2.start(); ...
26.28
87
0.57382
65134fa6d0034085f64ac18086c617efa0355a38
574
package au.id.tindall.distalg.raft.threading; import java.util.concurrent.ThreadFactory; import static java.lang.String.format; public class NamedThreadFactory implements ThreadFactory { private final ThreadGroup threadGroup; private int sequenceNumber = 0; public NamedThreadFactory(String threadGroupN...
27.333333
107
0.74216
920727d15b808238818839ccee1a3ecf2e0df4db
3,959
package com.cisco.trex.stl.gui.controllers.dashboard.global; import javafx.fxml.FXML; import javafx.scene.layout.AnchorPane; import javafx.stage.WindowEvent; import java.util.Locale; import java.util.Map; import org.apache.log4j.Logger; import com.cisco.trex.stl.gui.controllers.dashboard.GlobalStatsBaseController; ...
37
97
0.703208
905c71b21363fb3ad665ab2dc215129d0efff8a9
1,318
package com.demo.todos.model.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import java.util.Date; import java.util.UUID; @Entity(name = "todo_transaction") public class TodoListTransaction { @Id @Column(name = "id") private UUID id; @Column(n...
19.101449
50
0.638088
935ee2584f4b37cd0263cc6dfbd15d089709dd7c
1,702
/** * * Copyright (C) 2013 Nicolas Hernandez * 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 Apach...
21.012346
63
0.678613
5835670a4b23618d76ea37a84094a9e4ed3818a2
1,568
package programs; import java.io.Serializable; import java.util.Calendar; import java.util.Date; /* Schedules programs, acts as a sorting mechanism and can be utilized by the nutrition client to adjust settings. */ public class Schedule implements Serializable { private byte repeatCycle; ...
29.584906
94
0.645408
188abf0212ced3481d39fe11a882d919f34522bf
2,295
package sim.com; import java.util.function.Predicate; /** * @QQ交流群: 648741281 * @Email: 177300883312@163.com * @微信: londu19930418 * @Author: Simon.Mr * @Created 2020/7/23 */ public class PredicateDemo { /** * @see java.util.function.Predicate 断言 * 包括3个default函数 一个static函数 一个抽象函数 * * @...
20.675676
80
0.56122
f595cec04b7d77d6d51ba844d026a56be31f6f8a
19,103
/** * Copyright 2006-2010 Daniel Henninger. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */ package net.sf.kraken.roster; import net.sf.kraken.avatars.Avatar; import net.sf.kraken.type.NameSpace; import n...
31.47117
135
0.584777