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
f92d55ee20e6a3b7db989936b6a4fd43fa2874d1
440
package util; import play.mvc.Http; import play.mvc.Result; import play.mvc.Security; import type.Sessao; import controllers.routes; public class ActionAuthenticator extends Security.Authenticator { @Override public String getUsername(Http.Context ctx) { return ctx.session().get(Sessao.usuario.name()); } @Ove...
20
65
0.775
e9ce0e1bbac48f907dc6586f7b48738f52e5c8e9
3,019
package com.zondy.mapgis.mobile.react; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.zondy.mapgis.android.model.Model; import com.zondy.mapg...
35.104651
116
0.663796
d92c205be4909c9502ccf2536038c761dce483ba
1,693
package io.quarkus.it.hibernate.search.elasticsearch.aws; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; import static com.github.tomakehurst.wiremock.client.WireMock.any; import static com.github.tomakehurst.wiremock.client.WireMock.anyUrl; import java.util.Map; import com.github.tomakehur...
35.270833
110
0.720614
3d0557b5c017e5b18de56900e822a654dd2f478c
18,747
/* * Copyright (C) 2011 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 applicab...
46.750623
100
0.624047
21d99ea30ca8770b7096f438dcb6a3bef83eafae
1,530
package com.xinra.nucleus.interfacegenerator; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Generates an interface th...
33.26087
93
0.73268
cdeeda0ccb7776f154dbab43eead800c92fb88d6
29,084
/*********************************************************************** * Copyright (c) 2000-2004 The Apache Software Foundation. * * All rights reserved. * * ------------------------------------------------------------------- * * Licensed under the Apache...
43.933535
98
0.532423
676f77f9c927634cbbbcf86d8ce1e7d398af2cd6
1,045
package org.openapitools.api; import javax.ws.rs.*; import javax.ws.rs.core.Response; import io.swagger.annotations.*; import java.io.InputStream; import java.util.Map; import java.util.List; import javax.validation.constraints.*; import javax.validation.Valid; @Path("/.cqactions.html") @Api(description = "the .cq...
33.709677
192
0.697608
2fa633374595cd44d96d3fed3c0eca9a01dff166
31,569
/* * Copyright (c) 2008-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...
31.695783
161
0.576927
af75314e1e9d3a0c7366ba550eafe7131211ab48
10,953
package com.weaver.emobile.gateway.filter; import static java.util.function.Function.identity; import static org.springframework.cloud.gateway.support.ServerWebExchangeUtils.ORIGINAL_RESPONSE_CONTENT_TYPE_ATTR; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.ut...
51.665094
128
0.574454
27abd518ef332c9ed5827aa1ed8761f3e4799376
8,612
/* * Copyright © 2005 - 2021 Schlichtherle IT Services. * All rights reserved. Use is subject to license terms. */ package net.java.truevfs.kernel.impl; import lombok.Value; import lombok.val; import net.java.truecommons.shed.ExceptionHandler; import net.java.truecommons.shed.HashMaps; import javax.annot...
38.968326
120
0.593242
1089c9d9e4b052bbe22ae9812c4db5676ef3c7a6
5,221
/* * Copyright (c) 2007-2011 by The Broad Institute of MIT and Harvard. All Rights Reserved. * * This software is licensed under the terms of the GNU Lesser General Public License (LGPL), * Version 2.1 which is available at http://www.opensource.org/licenses/lgpl-2.1.php. * * THE SOFTWARE IS PROVIDED "AS IS." TH...
35.760274
93
0.628041
a1bff3eb89f7a45db44829941b87eb618bdb555f
11,506
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2019 GwtMaterialDesign * %% * 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 * ...
30.358839
122
0.622023
5d7734b3543c2985440628054c6cb42c298956a0
565
package com.jk; import java.io.File; import java.util.Scanner; public class Main2 { public static void main(String[] args) throws Exception{ System.out.println("Start parsing..."); File file = new File(Main2.class.getResource("Add.asm").getFile()); Scanner scanner = new Scanner(file); ...
25.681818
75
0.623009
a358bb8b069c591a695636c2209f412d24cdef2d
4,511
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
28.371069
126
0.706495
99aa8c730abfb816da810cbd2064262e46024a6a
730
package net.alexheavens.graphlib.graph; public class SimpleEdgeFactory<DataClass> implements EdgeFactory<DataClass> { public AbstractEdge<DataClass> generate(AbstractGraph<DataClass> graph, AbstractNode<DataClass> fromNode, AbstractNode<DataClass> toNode) { return new SimpleEdge<>(graph, fromNode, toNode); } ...
33.181818
110
0.79589
529f265f8c18eab4fb3730f0d5034902abb9f5a3
529
package com.airbnb.epoxy; import android.content.Context; import android.view.View; import com.airbnb.epoxy.AfterPropsSet; import com.airbnb.epoxy.ModelProp; import com.airbnb.epoxy.ModelProp.Option; import com.airbnb.epoxy.ModelView; @ModelView(autoLayout = ModelView.Size.WRAP_WIDTH_WRAP_HEIGHT) public class TestF...
22.041667
62
0.79206
8233b26032f4056362b4c2ae9a66f6aebf9f7215
1,265
package org.asaph.happynumber; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; public class HappyNumberTest { @Test public void testHappyNumbersBetweenOneAndOneThousand() { // List of expected numbers cut/pasted from http://en...
50.6
736
0.647431
5f1ce8c406a72055373237b5d76ae373e49d0103
2,370
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
62.368421
160
0.855274
f3be1a3fe521f643e50f963cb72dc7c290518050
193
package parser.tokenizer; public interface IStream<T> { T next() throws Exception; T peek() throws Exception; boolean eof() throws Exception; T[] getAll() throws Exception; }
19.3
35
0.683938
e27557e9b95c7b7d77e85d0aa858401cc63e1432
6,277
/* ==================================================================== 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 Y...
43.590278
159
0.650948
2a615be120990b99102b622127d56166235be555
4,950
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.commons.util.CollectionUtil.requireAllNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_CLASSCODE; import static seedu.address.logic.parser.CliSyntax.PREFIX_GROUPNUMBER; import static seed...
40.243902
116
0.697374
3682ea100d10fc7bd893583fdc09d9ed8bccde19
5,783
package fr.mrmicky.worldeditselectionvisualizer.compat; import com.sk89q.worldedit.LocalConfiguration; import com.sk89q.worldedit.WorldEdit; import com.sk89q.worldedit.bukkit.BukkitAdapter; import com.sk89q.worldedit.extent.clipboard.Clipboard; import com.sk89q.worldedit.regions.Region; import fr.mrmicky.worldeditsele...
32.127778
129
0.66073
8963b6a8152d1b9e6ac69fc314bd4211807372a9
1,555
package it.polimi.se2019.server.actions.conditions; import it.polimi.se2019.server.games.Game; import it.polimi.se2019.server.games.Targetable; import it.polimi.se2019.server.games.board.Tile; import it.polimi.se2019.server.games.player.Player; import it.polimi.se2019.util.CommandConstants; import java.util.List; imp...
37.926829
158
0.692605
bf23574ebcfefc0d4211148e1d27d00067998731
753
package com.comfunmanager.repository; import java.util.Collection; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.rest.core.annotation.RestResource; import com.comfunm...
26.892857
92
0.828685
dd18447d014885ef8e67b9e8276de1b85cc15970
513
package com.andyadc.codeblocks.patchca.text.renderer; import com.andyadc.codeblocks.patchca.color.ColorFactory; import com.andyadc.codeblocks.patchca.font.FontFactory; import java.awt.image.BufferedImage; public interface TextRenderer { void setLeftMargin(int leftMargin); void setRightMargin(int rightMargi...
25.65
101
0.797271
71f7466760601d13f0f2c28bb221543ffce2aff5
12,068
package com.cm.contentmanagementapp.controllers; import com.cm.contentmanagementapp.models.*; import com.cm.contentmanagementapp.payload.request.*; import com.cm.contentmanagementapp.payload.response.MessageResponse; import com.cm.contentmanagementapp.services.MailService; import com.cm.contentmanagementapp.services.U...
41.187713
139
0.652552
c3764bba3ab72a4e2d0dbb18669c3c9a3312f5ca
5,155
/** * The MIT License (MIT) * <p/> * Copyright (c) 2015 Riccardo Cardin * <p/> * 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 rig...
36.560284
116
0.650436
8d03917a9888fcb7478d841b631c4aca1dd6d508
2,072
package no.uib.probe.csf.pr.touch.view; import com.vaadin.server.VaadinSession; import java.util.LinkedHashMap; import java.util.Map; import no.uib.probe.csf.pr.touch.view.core.BusyTaskProgressBar; import no.uib.probe.csf.pr.touch.view.core.ControllingView; /** * This class represents the view controller, the contro...
27.263158
124
0.635618
c73b483e46af000c4af99b4c34b218c06f77b58a
1,636
package in.karthiks.lucenesample.controller; import in.karthiks.lucenesample.lucene.LuceneReader; import in.karthiks.lucenesample.lucene.LuceneWriter; import org.apache.lucene.queryparser.classic.ParseException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEnti...
35.565217
151
0.797677
021acd775d657e59feda192352c5e8d89125f730
359
package com.github.sys.domain.role; import lombok.Data; import javax.validation.constraints.NotNull; /** * Created by renhongqiang on 2019-03-19 20:35 */ @Data public class RoleUpdate { @NotNull(message = "id不能为空!") private Integer id; /**角色名*/ private String name; private String roleKey; ...
15.608696
46
0.671309
4929bf5df5be902ffb93ef69c1328e4c3bee7760
617
package com.ledboot.netmonitor; import com.ledboot.annotation.MonitorTag; import java.util.Set; import okhttp3.Headers; /** * Created by ouyangxingyu198 on 17/3/28. */ @MonitorTag public class Test { public void addHead(Headers.Builder headerBuilder){ Headers headers = headerBuilder.build(); ...
20.566667
75
0.627229
b9783064eb20abc5eb78904c331768ae88687ac6
7,758
/* * 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 org.femass.gui; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import org.fema...
47.304878
201
0.660866
c8c6c0c1b49cfb7164a2548f59d2435fb8172a82
522
package tech.maslov.rgenerator.generator.api.request; import org.bson.types.ObjectId; public class GeneratorFileEditRequest { private ObjectId oldFileId; private ObjectId newFileId; public ObjectId getOldFileId() { return oldFileId; } public void setOldFileId(ObjectId oldFileId) { ...
20.88
53
0.687739
d5a871859a23be9bff19cb9437c7df8db86ed0e0
1,517
package org.zalando.riptide; import com.google.common.reflect.TypeParameter; import com.google.common.reflect.TypeToken; import org.apiguardian.api.API; import org.springframework.http.ResponseEntity; import java.util.List; import static org.apiguardian.api.API.Status.STABLE; @API(status = STABLE) public final clas...
28.622642
100
0.669743
b4c8d79f8f4bd949e3e2f605ef07925cc413fed7
1,356
package com.ljq.demo.springboot.xxljob.job; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.handler.annotation.XxlJob; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; import java.util.concurrent.atomic.AtomicInteger; /** * @Description: 用户定时任务负载类(Bean 模式) * @Au...
22.983051
91
0.639381
76334db1d02cae7f0343ef90211daa118dea915c
1,669
package com.slackernews.service.Implementation; import com.slackernews.model.Post; import com.slackernews.model.PostCreationForm; import com.slackernews.model.User; import com.slackernews.repository.IPostRepository; import com.slackernews.service.Interface.IPostService; import org.springframework.beans.factory.annotat...
28.288136
134
0.700419
469f95de1cdcec062799effc8536abc8bfbf2fd1
234
package com.github.doobo.config; import com.github.doobo.start.AbstractIpfsInitClient; import org.springframework.stereotype.Component; /** * ipfs环境初始化 */ @Component public class IpfsInitBackup extends AbstractIpfsInitClient { }
18
60
0.807692
6573410db6796cbaa4723cb3f5b37d93b58fc511
5,435
package omtteam.openmodularlighting.handler.recipes; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.oredict.ShapedOreRecipe; import omtteam.openmodularlighting.init.ModBlocks;...
58.44086
169
0.618583
01a55c2802b77da4633f79a759a1e3a36a753eaa
2,432
package com.box.l10n.mojito.security; import com.box.l10n.mojito.entity.security.user.User; import com.box.l10n.mojito.service.security.user.UserRepository; import com.box.l10n.mojito.service.security.user.UserService; import org.slf4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.s...
31.584416
116
0.694079
aaa9d8a2f5c81d61cf6381149354f66e1e5b883b
223
package com.beacon.shopping.assistant.action; import android.content.Context; /** * Created by lahiru on 10/04/2018. */ public interface IAction { boolean isParamRequired(); String execute(Context context); }
15.928571
45
0.726457
d4cca34acef55fcbdb74f546ec01fb50a5c57e78
12,242
/*- * #%L * Genome Damage and Stability Centre SMLM ImageJ Plugins * * Software for single molecule localisation microscopy (SMLM) * %% * Copyright (C) 2011 - 2020 Alex Herbert * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
28.737089
100
0.662228
f4e4ba9fb98aba631e32890fc4b22c019c4f0c55
2,648
package com.lanking.uxb.service.file.api.impl; import org.springframework.stereotype.Component; import com.lanking.cloud.domain.base.file.FileType; import com.lanking.cloud.sdk.util.StringUtils; import com.lanking.cloud.springboot.environment.Env; @Component("linuxMediaHandle") public class LinuxMediaHandle...
33.518987
101
0.606873
2f43410e18c5159a72a6cbd2ff68e2c4f1b55e79
729
package cloud.tenon.gradle.bom.library; import java.util.List; public class Group { private final String id; private final List<Module> modules; private final List<String> plugins; private final List<String> boms; public Group(String id, List<Module> modules, List<String> plugins, List<String...
18.692308
92
0.611797
0afc1fce0bcbc6f0760039e7c74d3234eda1c2eb
2,541
package uo.ri.business.impl.transactionScript.contractType; import java.sql.Connection; import java.sql.SQLException; import alb.util.jdbc.Jdbc; import uo.ri.business.dto.ContractTypeDto; import uo.ri.business.exception.BusinessException; import uo.ri.conf.GatewayFactory; import uo.ri.persistence.ContractTypeGateway;...
32.576923
74
0.607635
fbb5cbb7123b9b41bee3fb1c76606f857b95b606
1,778
/* * Copyright 2018 austen. * * 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 ...
22.794872
75
0.613048
48630fa07a189a0136fb8f5183572555dee440e7
1,125
package com.webank.wecube.platform.auth.server.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity @Table(name = ...
18.75
76
0.751111
290b4d4828dc06cf142979bd77656dd3b19bd710
3,126
package dk.alexandra.fresco.framework.sce.evaluator; import dk.alexandra.fresco.framework.ProtocolEvaluator; import dk.alexandra.fresco.framework.ProtocolProducer; import dk.alexandra.fresco.framework.network.Network; import dk.alexandra.fresco.framework.sce.resources.ResourcePool; import dk.alexandra.fresco.suite.Pro...
41.131579
99
0.773193
11f002917f938b2d97841136f2b79aaace34281f
1,481
package leitor; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public abstract class LeitorAbstrato implements Leitor{ private String fileName; private int inic; public LeitorAbstrato(String fileName , int inic) { this.fileName = ...
23.507937
67
0.642134
fb07d5c4fbd7707d585f601f8474cdf879ac45c9
10,356
///*|----------------------------------------------------------------------------- // *| This source code is provided under the Apache 2.0 license -- // *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- // *| See the project's LICENSE.md for details. ...
45.823009
189
0.761974
9fd0f71339945b98af814f1094da52207601f58e
2,085
package pubmed.article; import jam.app.JamLogger; import pubmed.mesh.MeshDescriptor; import pubmed.mesh.MeshDescriptorKey; /** * Defines distinct article publication types. */ public final class PublicationType { private final MeshDescriptorKey descriptorKey; private PublicationType(MeshDescriptorKey de...
26.730769
75
0.646043
83f10d1edbc7ca216feca1ffe86b66b3f74445e1
277
package com.unco.photoliarary; /** * ==============中康================= * * @Author: 陈振 * @Email : 18620156376@163.com * @Action :用于提供图片url的接口 * @Time : 2016/9/21 13:28 * ==============中康================= */ public interface ImageUrl { String getUrl();//获取图片url }
19.785714
36
0.487365
6b69bf8b5f09cfb8d5d7ffe0225918782668184a
21,173
/** * 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...
32.226788
120
0.688424
b458ea1295b2f39e72341a8353f53ffea0f87c44
2,881
package edu.cs4730.dialogdemo; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; public class myDialogFragment extends DialogFragment { static final int DIALOG_TYPE_ID = 0; static final int DIALO...
38.413333
111
0.607775
9319c9a3b833cc304c4ab0cadde5b6f0ac2ae84f
3,562
package com.hy.micro.service.dingding.service.impl; import java.lang.reflect.InvocationTargetException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.hy.micro.service.dingding.dto.OrderDTO; import com.hy.micro.service.dingding.enums.E...
32.678899
105
0.746771
b98f0baab59bc3f0bb875725418a21f42f82f458
1,276
/* * 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 el; import data_classes.Employee; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML; im...
28.355556
80
0.648903
7aaefa5c1636b793eecb310a192e0717e82ba66b
512
package play.mvc.results; import play.mvc.Http; import play.mvc.Http.Request; import play.mvc.Http.Response; /** * 401 Unauthorized */ public class Unauthorized extends Result { String realm; public Unauthorized(String realm) { super(realm); this.realm = realm; } public vo...
21.333333
80
0.652344
27de93c292856af923bbd39ef8c8b516c7b9677e
1,099
package org.ovirt.engine.core.dao; import java.util.List; import org.ovirt.engine.core.common.businessentities.StorageDomainStatus; import org.ovirt.engine.core.common.businessentities.StoragePoolIsoMapId; import org.ovirt.engine.core.common.businessentities.storage_pool_iso_map; import org.ovirt.engine.core.compat.G...
32.323529
100
0.722475
07434dcbca8cb9ff59e741182b55de8c90e7e0dc
595
package com.dnsimple.data; import java.util.List; import com.google.api.client.util.Key; public class TldExtendedAttribute { @Key("name") private String name; @Key("description") private String description; @Key("required") private Boolean required; @Key("options") private List<TldExtendedAttribut...
16.527778
56
0.705882
22d82df52182bb1a70ab8967af6a64304972b429
11,255
/* * 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 ...
36.306452
100
0.608796
3d948e5928fe8492ace6d134b1d0734a13ae61a0
815
package itx.fileserver.services.dto; import java.util.ArrayList; import java.util.List; public class FileList { private final String path; private final List<FileInfo> fileInfo; private final List<DirectoryInfo> directoryInfo; public FileList(String path) { this.path = path; this.fil...
20.897436
52
0.650307
88476452ac899b6508f28c249837ed147d3aa8d2
1,819
/* * Copyright © 2019 The GWT Project 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...
34.980769
75
0.683342
6b3a11c30091e92890b6761e31db12bb3d301f2a
230
package com.c332030.constant.enums.data; import com.c332030.constant.enums.base.IEnum; /** * <p> * Description: IDataDictEnum * </p> * * @author c332030 * @version 1.0 */ public interface IDataDictEnum extends IEnum { }
14.375
46
0.695652
f3c503072035b95c1e1ca9015f4ad75761c01de8
339
package com.ballistic.looks; import java.awt.Font; public class FontType { public FontType(){ } public static Font setTextFont(){ Font font = new Font("INCONSOLATA", Font.BOLD, 16); return font; } public static Font setTextFontForTopMenu(){ Font font = new Font("TREBUCHET MS", Font.BOLD, 15); ...
14.73913
54
0.678466
1e2c0ea7af43a4497489b386239c8513bb2c35ff
1,437
package pl.marcinchwedczuk.javafx.mvvm.container; import java.util.Objects; import java.util.Set; public class RegistrationBuilder<COMPONENT> { private final Class<COMPONENT> componentClass; private ComponentName componentName = null; private final Set<Class<?>> implementingSet = null; private Compon...
30.574468
111
0.727209
c19edca2fe5b609d7849b66f73a5cc18fbd43ef4
3,986
/* * Copyright 2020 赖柄沣 bingfengdev@aliyun.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 ...
27.30137
171
0.666834
417514b8b15753cee4e4feb0b1b93c6e9c2447f1
3,275
/* * Copyright 2020 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or a...
31.490385
93
0.745344
7a79043aecec2a72f7b735308bf753d041915aa0
16,595
/** * */ package uk.co.jemos.podam.api; import net.jcip.annotations.NotThreadSafe; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.co.jemos.podam.common.*; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang....
24.368576
155
0.680566
608214adcd081388d3084d880907f689fdc1e6dd
417
package com.fmatos.crazywallpapers.wallpaper.domain; /** * Created by fdematos on 29/12/15. */ public class Point { private final float x; private final float y; private final int color; public Point(float x, float y, int color) { this.x = x; this.y = y; this.color = color; } public float getX() { re...
14.37931
52
0.652278
710ff480cc8cb06a479f7c8ed4e3e3ac9e5f615e
332
package com.github.hicoincom.api.bean; import java.io.Serializable; import java.util.List; /** * 获取币种列表 * http://docs.hicoin.vip/zh/latest/API-WaaS-V2/api/user_getCoinList.html */ public class CoinInfoListResult extends Result<List<CoinInfo>> implements Serializable { private static final long serialVersion...
23.714286
88
0.762048
f20a2129c19df2d5a2a5b262b14154fd10f1cc57
6,046
/* * Copyright (c) 2019 David Castañón <antik10ud@gmail.com> * * 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...
36.203593
106
0.611479
6b0fccec3eba0ef460d4c2dabc00395d1aa2e6fb
587
package com.laniakea.annotation; import java.lang.annotation.*; import static com.laniakea.config.KearpcConstants.DEFAULT_SIZE; /** * @author luochang * @version KearpcReference.java, v 0.1 2019年05月29日 17:40 luochang Exp */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited p...
19.566667
70
0.746167
1b7244d04a95a0a527fff8d94dd970db1082138e
1,514
package com.github.bottomlessarchive.loa.queue.service.conductor; import com.github.bottomlessarchive.loa.conductor.service.client.extension.InstancePropertyExtensionProvider; import com.github.bottomlessarchive.loa.conductor.service.client.extension.domain.InstanceExtensionContext; import com.github.bottomlessarchive...
45.878788
117
0.781374
f4da520f68af95360ff89092e993c0f228c95589
2,119
package com.asolutions.scmsshd.commands.git; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Properties; import org.apache.sshd.server.CommandFactory.ExitCallback; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spearce.jgi...
33.109375
103
0.809344
62d6305a343725555bb1cc67657250c62a18b604
1,359
package datadog.trace.instrumentation.vertx_sql_client; import static datadog.trace.agent.tooling.bytebuddy.matcher.NameMatchers.named; import static java.util.Collections.singletonMap; import static net.bytebuddy.matcher.ElementMatchers.isConstructor; import static net.bytebuddy.matcher.ElementMatchers.takesArgument;...
35.763158
97
0.797645
b4a402f0c9647fc6564507e82782f20f33ce6bb4
2,646
package uk.ac.ebi.interpro.scan.model.raw; import uk.ac.ebi.interpro.scan.model.PatternScanMatch; import uk.ac.ebi.interpro.scan.model.SignatureLibrary; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Enumerated; import javax.persistence.Index; import javax.persistence.Table...
36.246575
151
0.719955
11e233484846d5c3aa41df9f3d9fa03c876b4bfb
503
package com.stackroute.recommendation.service; import com.stackroute.recommendation.domain.User; import org.springframework.stereotype.Service; import java.util.Collection; @Service public interface UserService { public Collection<User> getAllUsers(); public User findByName(String name); public User cre...
27.944444
70
0.767396
2bef50d8d8e83c7585c0d28388425bc2d338d870
3,010
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
39.090909
99
0.63588
aefe4897b6d36fb6eedea3a72aec9d64da4b09be
3,283
/*- * #%L * jira-cli *   * Copyright (C) 2019 László-Róbert, Albert (robert@albertlr.ro) *   * 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/LI...
35.684783
98
0.647274
bfe4cfb8d3836ecc9f3d94b2d5a7f7b77757441f
252
package twgc.gm.cert; import java.math.BigInteger; /** * @author liqs * @version 1.0 * @date 2021/1/19 14:27 * ref:https://github.com/ZZMarquis/gmhelper */ public interface CertSNAllocator { BigInteger nextSerialNumber() throws Exception; }
18
51
0.714286
228c158a60395834f0f28857175bd59d03a5fe22
14,375
/** * MIT License Copyright (c) 2015 Rob Terpilowski 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, ...
32.596372
851
0.624
7aa760cd71c7ffe1dde4d4a438850c0b296352b1
1,228
package com.slightlyloony.jsisyphus.examples; import com.slightlyloony.jsisyphus.ATrack; import com.slightlyloony.jsisyphus.Point; import java.io.IOException; import static java.lang.Math.PI; /** * @author Tom Dilatush tom@dilatush.com */ public class PolarValentine extends ATrack { private static final in...
22.740741
93
0.532573
ddf9b43753a42217d972086f6e64b27ebff7f765
3,280
package com.example.macromanager; import android.app.ActivityOptions; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.IntentFilter; import android.os.IBinder; import androidx.annotation.Nullable; import com.example.m...
33.814433
82
0.72561
7e82fb72b38260aba8b8c9843934ee48b9695674
588
// Autogenerated from runtime/patterns/predicate_pattern.i package ideal.runtime.patterns; import ideal.library.elements.*; import ideal.library.patterns.*; import ideal.runtime.elements.*; public class predicate_pattern<element_type> extends one_pattern<element_type> { public final function1<Boolean, element_type...
32.666667
82
0.79932
49edaaafcfa918e066b579300aeb9eecacbe423a
2,850
package com.example.spring.narayana.controller; import com.example.spring.narayana.service.PortfolioService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.transaction.Transactional; /** * Portfolio controller exposing REST endpoints for...
39.041096
122
0.675789
762466c6a31ca7c169bbb35bcb853efa721461a8
40,913
/*L * Copyright Northwestern University. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.io/psc/LICENSE.txt for details. */ package edu.northwestern.bioinformatics.studycalendar.service; import edu.northwestern.bioinformatics.studycalendar.core.StudyCalendarTestCase; import ...
49.893902
136
0.715714
99dde32bea6a15563a4484f5efb2ac54b66efa42
4,154
/** * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
23.337079
75
0.581849
13a59cd8ce69d53fb8a62bc3107852f20026361b
432
package com.pbs.middleware.api.user; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; @Getter @Setter @ApiModel(value = "UserUpdate", description = "User DTO for update request") public class UserUpdate extends UserBaseDto { @ApiM...
25.411765
87
0.773148
97d1742e3e7fe261b71c253ce19daa6f0acf58ea
1,229
/** * Copyright 2017 Eternita LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
23.188679
76
0.723352
1f78c3860a15b85be12ccd4076db963d205c2794
1,533
package ch.obsec.net.swsimfx.model; import javafx.beans.property.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ch.obsec.net.swsimfx.IdCounter; /** * @version 1.1 * @since 1.1 * @author mario.oberli@obsec.ch */ public class Device { private static final Logger LOGGER = LoggerFactory.get...
21.591549
79
0.612524
bcd3e598954565a2acdda0cedf4905fb161b2a18
8,398
package com.unideb.qsa.calculator.implementation.calculator; import java.util.HashMap; import java.util.Map; import org.testng.Assert; import org.testng.annotations.Test; import com.unideb.qsa.calculator.domain.SystemFeature; /** * Unit test for {@link SystemMMnKKCalculator}. */ public class SystemMMnKKCalculator...
29.886121
101
0.617171
426faf6723dde89bbf945bb70bff6cae41e55e4c
1,811
package pk.edu.kics.dsl.qa.qe; import java.util.HashMap; import java.util.Map; import pk.edu.kics.dsl.qa.BiomedQA; import pk.edu.kics.dsl.qa.entity.Question; import pk.edu.kics.dsl.qa.util.CollectionHelper; import org.apache.commons.math3.distribution.NormalDistribution; public class BNS extends FeatureSelection { ...
30.694915
118
0.734401
48d19dc0c6c63332ac2cd89ffb18f559371e93fa
1,266
package org.enricogiurin.codingchallenges.leetcode.challenge072020; /* Remove all elements from a linked list of integers that have value val. Example: Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5 */ //@LinkedList //TODO - review it even if simple public class RemoveLinkedListElements { static c...
23.886792
85
0.511848
87b0e8bd602ba310c310a642d9c63c81e2ef94fb
2,672
// This file is part of PDQ (https://github.com/ProofDrivenQuerying/pdq) which is released under the MIT license. // See accompanying LICENSE for copyright notice and full details. package uk.ac.ox.cs.pdq.datasources.schemabuilder; /** * A triple of elements. * * @author Efthymia Tsamoura * @param <T1> T...
19.50365
114
0.571482
9d48acdf99763eb1ab48e60838178863459d2673
3,853
package com.devonfw.application.mtsj.bookingmanagement.logic.impl; import java.util.List; import javax.inject.Inject; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance.Lifecycle; import org.springframework.boot.test.context.SpringBootTest...
39.721649
100
0.767194
2ebb1900752474f86e33c0f9003a3162b7d5de36
6,943
package com.tdlzgroup.educasa.Inicio.Class; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.location.Location; import android.os.Bundle; import androidx.fragment.app.FragmentActivity; import android.util.Log; import android.view.M...
42.858025
253
0.651448
9d6327250bac631914a1bd1f554a95c6498ecf0a
2,415
package org.lpw.photon.ctrl.http.context; import org.lpw.photon.util.DateTime; import org.lpw.photon.util.Numeric; import org.lpw.photon.util.Validator; import org.springframework.stereotype.Controller; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServl...
28.75
89
0.658385
c85d3d50e8095db81a4f8cdde0625c5c85fddac1
6,223
package imj2.draft; import static imj2.tools.IMJTools.*; import static java.lang.Integer.parseInt; import static java.lang.Math.max; import static java.lang.Math.min; import static java.lang.Math.round; import static multij.swing.SwingTools.show; import imj2.tools.SimpleImageView; import imj2.tools.Image2DComponent.P...
24.792829
87
0.667202
8bb157cb35b603413270f04ac7cd111ace7cd387
2,595
/* * 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 * distribut...
33.269231
130
0.645087
33c4cc2985e7023b11d447209f77c27fe74a0add
3,778
package com.camnter.newlife.ui.activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import com.android.volley.RequestQueue; import com.android.volley.VolleyError; import com.android.volley.toolbox.Volley; import com.ca...
25.876712
100
0.547644
b4dc7c6ac499c924ea439fef841b0127319ea111
4,369
package com.sap.cloud.lm.sl.mta.resolvers.v2_0; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.sap.cloud.lm.sl.common.ContentException; import com.sap.cloud.lm.sl.mta.builders.v2_0.ParametersChainBuilder; import com.sap.cloud.lm.sl.mta.model.SystemParameters; import com.sap.cloud....
52.011905
134
0.786679