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
9428adba069714ca5460f08eb78ca0cbd5251ae8
880
package br.com.supercloud.arrays; import java.util.Arrays; import java.util.List; public class DiagonalDifference { // https://www.hackerrank.com/challenges/diagonal-difference/problem public static int diagonalDifference(List<List<Integer>> arr) { int primaryDiagonal = 0; int secundaryDiago...
26.666667
72
0.584091
f755c604ea184a99d4396e7ec19a1a6330a833ab
806
package io.eventuate.messaging.kafka.spring.producer; import io.eventuate.messaging.kafka.producer.EventuateKafkaProducerConfigurationProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; @EnableConfigurationProperties(Eventua...
53.733333
207
0.904467
0b89da6bba80fcfaf90cc6c41cfa0768d50890f7
2,009
package com.vasmajom.tars.activities; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.vasmajom.tars.R; import com.vasmajom....
30.439394
97
0.658039
12d6cc62afc1bd927c0445d934a94a39914ebdac
712
package ru.job4j.loop; import java.util.ArrayList; public class Factorial { /** * Factorial.calc(n)высчитывает факторил любого чила n * * @param n число для расчета факториала * @author yura yankovski(mailto:boets003@mail.ru) * @version 1. */ public static int calc(int n) { ...
27.384615
64
0.54073
d1fe403606113b091ef41be79e5a83735ff08f4a
1,868
package io.xpring.xrpl.helpers; import io.xpring.common.XRPLNetwork; import io.xpring.xrpl.model.XRPTransaction; import org.xrpl.rpc.v1.GetAccountTransactionHistoryResponse; import org.xrpl.rpc.v1.GetTransactionResponse; import org.xrpl.rpc.v1.Transaction; import java.util.ArrayList; import java.util.List; /** * Co...
38.916667
115
0.751071
02f848a3cf48583f767a120b391f26e1d0b74055
3,213
/* * Vacations @ Contoso * (C) 2021 Matei Sîrbu. */ package eu.msirbu.tw.tema3.controllers; import eu.msirbu.tw.tema3.entities.Employee; import eu.msirbu.tw.tema3.entities.Manager; import eu.msirbu.tw.tema3.services.EmployeeService; import eu.msirbu.tw.tema3.services.ManagerService; import eu.msirbu.tw.tema3.servic...
37.360465
115
0.743542
db0b0178a5f019a17077129c3b3ce41b7047c618
344
package appl.simpleAppl; import java.net.InetAddress; import java.net.UnknownHostException; public class HostName { public String exec(){ try { return InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { // TODO Auto-generated catch block e.printStackTrace(); re...
19.111111
52
0.68314
b08f73ef708dbb04efc623ac52349a72d71a9c91
5,095
package net.javaci.mobile.bomberman.core.net.appwarp; import net.javaci.mobile.bomberman.core.Synchronizer; import net.javaci.mobile.bomberman.core.net.NetworkListenerAdapter; import net.javaci.mobile.bomberman.core.net.models.RoomModel; import net.javaci.mobile.bomberman.core.net.protocol.CommandFactory; import jav...
33.966667
86
0.601963
8de2f65605903c2935ead8b8c023d60f16f3d67f
7,255
package com.visuality.convenience; import android.app.Activity; import android.content.pm.PackageManager; import java.util.ArrayList; import java.util.Arrays; public class PermissionManager { private static final int REQUEST_CODE = Integer.MAX_VALUE; private OnRequestListener onRequestListener; privat...
32.388393
110
0.457615
13fdc9ad9f70ef91c985f1fcea7afbc0afb7c379
1,516
package pl.polsl.workinghours.ui.user; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; import pl.polsl.workinghours.data.auth.AuthRepository; import pl.polsl.workinghours.data.auth.CredentialDataSource; import pl.po...
30.938776
85
0.685356
65ce9935290b1e789637a2877c45a86ab9d68084
35,483
/******************************************************************************* * Copyright (c) 2014, 2015 Mateusz Matela and others. * 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...
49.765778
250
0.691599
101e33565cdae9d20466d39622ee8499c1333a03
9,660
/* * LinShare is an open source filesharing software, part of the LinPKI software * suite, developed by Linagora. * * Copyright (C) 2015 LINAGORA * * 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 Free * So...
38.031496
80
0.752277
a7bd6a72ec97f985209a129a8fc0cd8bd320e2e7
1,339
/* * Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
31.880952
93
0.705751
d66d619e84fdd03998b7877bf2e68bb02c01d221
2,023
package org.ei.opensrp.repository; import android.content.SharedPreferences; import static org.ei.opensrp.AllConstants.*; public class AllSharedPreferences { public static final String ANM_IDENTIFIER_PREFERENCE_KEY = "anmIdentifier"; private static final String DRISHTI_BASE_URL = "DRISHTI_BASE_URL"; priv...
31.123077
101
0.727632
263746e829fcad10dc88cd186531450f2a9e4ada
4,124
package com.pharma; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.collections.CollectionUtils; public class TestNeighborhoods { public static void main(String[] args) { TestNeighborhoods test = new TestNeighborhoods(); ...
34.082645
145
0.737391
fa0bf48487d7255db529eb462b0da38c070543cb
482
package com.blocklang.marketplace.service; import java.util.List; import java.util.Optional; import com.blocklang.marketplace.model.GitRepoPublishTask; public interface GitRepoPublishTaskService { public GitRepoPublishTask save(GitRepoPublishTask task); public List<GitRepoPublishTask> findUserPublishi...
21.909091
74
0.755187
89ea78dd7286d110c5fab09e209eb77f23b88aa5
4,751
package com.fasterxml.jackson.databind.jsontype.impl; import com.fasterxml.jackson.annotation.JsonTypeInfo.C0078As; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.core.ObjectCodec; import com.fasterxml.jackson.core.util.JsonParserSequence; import...
43.190909
163
0.68996
ff68787de5acfc7fe81d24fea14d7303ddda44a4
6,768
/* * Copyright 2012-2020 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...
33.84
264
0.748818
90db7b42c80d947f587ab9fad1c6d28c5f4f0317
78,859
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that...
38.188378
211
0.563537
80e0e7fb3b0aa0cabbac77d03383ff522c6ab8b5
2,927
/* * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
25.902655
80
0.7137
16924781e7b26115050df899c4d94d79c6e17c11
2,111
package vn.techmaster.demojpa.model.blog; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Gener...
24.835294
59
0.663667
200789d3edafb34917bf4e1dea4719993a8449ec
1,772
package org.pdxfinder.mapping; import joptsimple.OptionParser; import joptsimple.OptionSet; import org.pdxfinder.rdbms.dao.MappingEntity; import org.pdxfinder.services.MappingService; import org.pdxfinder.services.mapping.MappingEntityType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfram...
24.957746
97
0.739842
27aff1a5eea1d2d2ee50d2955755b591bccc678d
3,537
// Copyright 2020 Goldman Sachs // // 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 ...
31.300885
109
0.659033
846f5e5311fb70f0cfa11159723fe1de76a07745
1,313
package com.almasb.fxglgames.gravity.old; import com.almasb.fxgl.core.math.Vec2; import javafx.scene.image.ImageView; import com.almasb.fxgl.physics.box2d.dynamics.BodyType; public class Stone extends GameObject { public Stone(float x, float y) { super(x, y, Config.BLOCK_SIZE, Config.BLOCK_SIZE, BodyTyp...
24.773585
112
0.639756
cbcd80e8bd89290915e078c618b6047892603a65
4,588
package gov.healthit.chpl.scheduler.job.xmlgenerator; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.io.StringWriter; import java.util.ArrayList; import java.util.List; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream....
47.298969
520
0.737358
7108e8031def1beb3c98b78e43bbfdffd0d72d2e
525
package solutions; import java.util.Scanner; import java.io.PrintWriter; public class TaskA { public void solve(int testNumber, Scanner in, PrintWriter out) { int n = in.nextInt(); int d = 0; for (int i = 1; ; ++i) { String digit = String.valueOf(i); for (int j = 0;...
23.863636
68
0.44
e9bbf4a24a8fe9e47be6b038f7edb07ec8f65e7a
3,633
package se.uu.it.dtlsfuzzer.sut; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.util.Scanner; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import se.uu.it.dtlsfuzzer.config.SulDel...
25.765957
79
0.702175
86222c6db366889183710c9acd97542ed6938ff3
5,778
/* * * 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 * "Licens...
35.447853
112
0.712011
43026248be669fad859f4791ac7216becd9a7cff
3,599
package frc.joey.controls; /** * The DriverController class used to control the robot */ public class DriverController extends Xbox { /** * The AxisSettings class contains all of the settings for on axis on the controller */ public class AxisSettings { public double axisDeadzone; ...
33.95283
125
0.643512
d0357ce1239387144ce668e8c4756bd294e823f9
2,235
package io.reactivex.internal.functions; import io.reactivex.functions.BiPredicate; public final class ObjectHelper { static final BiPredicate<Object, Object> EQUALS = new BiObjectPredicate(); static final class BiObjectPredicate implements BiPredicate<Object, Object> { BiObjectPredicate() { ...
26.927711
82
0.536465
79254a8c154a0b744a4eb5a5e78e21f99cd6c496
91
package com.mcal.disassembler; public interface MainView { void loadSo(String path); }
18.2
30
0.758242
76fbdacd77ba261540202ac23e346cf87c9151d8
3,935
package extracells; import appeng.api.AEApi; import appeng.api.features.IRegistryContainer; import com.google.common.base.Preconditions; import extracells.integration.Integration; import extracells.item.storage.CellDefinition; import extracells.network.GuiHandler$; import extracells.network.PacketHandler; import extra...
37.47619
146
0.814485
42a24c2bce8f9656d78ac87fcab092d2b87f80f5
4,586
package com.smart.mvc.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; /** * 字符串公用类 * * @author dgh */ public class StringUtils { /** * 验证可能为空格或者""及null的字符串 * * <pre> * StringUtils.isBlank(null) = true * StringUtils.isBlank(&quot;&...
19.852814
94
0.555604
0cba1eae20a1c65c5276bfb1d5efccb5fa483cab
9,013
package org.batfish.datamodel.vxlan; import static org.batfish.common.util.CollectionUtil.toImmutableMap; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.graph.EndpointPair; import com.googl...
41.155251
100
0.699989
1df2d7704a3c8a9ccf69d7c3cf1b0abce9bb7ffd
1,564
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ package com.sportradar.unifiedodds.sdk.caching.impl; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.sportradar.utils.URN; import java.util.List; import java.util.Locale; im...
30.666667
96
0.689258
76fbaa8c679bc2d1df1a8f02bfac36a0f3413a2c
4,167
package org.cloudfoundry.promregator.endpoint; import java.io.IOException; import java.util.HashMap; import org.cloudfoundry.promregator.JUnitTestUtils; import org.cloudfoundry.promregator.mockServer.DefaultMetricsEndpointHttpHandler; import org.cloudfoundry.promregator.mockServer.MetricsEndpointMockServer; import or...
37.205357
154
0.793617
dfe7c888afefcd273ac188e31beffdbafa609842
1,736
package fr.parisnanterre.pmoo.immobiler_app.model.market; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclud...
24.450704
85
0.700461
08cbcd0487c6ba1acbc2d5fdebbda966de05c0c5
2,335
package jb; import java.util.*; import com.github.javaparser.ast.*; import com.github.javaparser.ast.expr.*; import com.github.javaparser.ast.visitor.*; public class MoveMessageParameterVisitor extends VoidVisitorAdapter<Object> { private static final Set<String> ONE_PARAM_METHODS = new HashSet<>( Arrays.asList...
33.84058
105
0.725054
74ebdbc4206dbb60275a29d5f431551ef79d5564
3,098
/** * */ package org.streaminer.stream.classifier.tree; import org.streaminer.util.math.MathHelper; import java.io.Serializable; /** * <p> * Interface to define a quality criterion to be used to construct the tree. Available:<br/> * {@link EntropyCriterion} (information gain) as used by ID3<br/> * {@link GiniC...
26.033613
106
0.684312
039a2a67e2d7650222e5d82487849561367c31fa
2,709
package com.jpmorgan.cakeshop.dao; import com.jpmorgan.cakeshop.model.NodeInfo; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transac...
30.1
104
0.628645
152e0fa9af6b703191fa89c315ea39f5281f7327
5,018
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
45.207207
97
0.767039
b2cd4cc84684a8b9d2015dd70ac53678d368b175
2,833
/* * 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 Liracs.model.service; import Liracs.shared.interfaceDAO.IInstrucaoComandoDAO; import Liracs.model.DAO.impl.InstrucaoComandoDAO...
38.283784
171
0.728909
c44df6fef975f65fdef67ac5a6bf22501fd8e4c7
5,208
/* * DefaultAtomGroup.java * * Created on November 21, 2004, 11:30 AM */ package org.meta.molecule.impl; import java.util.*; import org.meta.molecule.AtomGroup; /** * An implementaion of a default atom group. * * @author V.Ganesh * @version 2.0 (Part of MeTA v2.0) */ public class DefaultAtomGroup implement...
26.984456
80
0.568356
1a2e9f13406066525bc3d5ed76ed3bc5e5269dd2
1,174
/** * Copyright (c) 2017 LARUS Business Automation [http://www.larus-ba.it] * <p> * This file is part of the "LARUS Integration Framework for Neo4j". * <p> * The "LARUS Integration Framework for Neo4j" is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
26.681818
75
0.706133
4cbbaf2ee04626acfe03ccf83da1dd0d8755b628
1,144
package io.mateu.erp.model.taxes; import io.mateu.erp.model.world.Country; import io.mateu.erp.model.world.Destination; import io.mateu.mdd.core.annotations.Ignored; import io.mateu.mdd.core.annotations.ListColumn; import io.mateu.mdd.core.annotations.SearchFilter; import lombok.Getter; import lombok.Setter; import j...
23.346939
81
0.72465
8be97fb2df31aac144d856336d07a7fa7d9cc746
10,639
/** * This file is part of Erjang - A JVM-based Erlang VM * * Copyright (c) 2009 by Trifork * * 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/L...
22.63617
94
0.672808
6a0323297779706e33d6b7c588f85fbfe2a45b1a
2,087
/* * Spencer Caplan * spcaplan@sas.upenn.edu * University of Pennsylvania */ import java.util.*; public class WorldItem { private String myName = ""; private List<Feature> myFeatures = new ArrayList<Feature>(); private String levelHome = ""; public WorldItem(String name) { myName = name; } /* * For...
23.188889
87
0.671299
5b186b1d66a8d27cad1e547e3eb1c6e888c25c2e
2,139
package no.kabina.kaboot.dispatcher; import org.apache.commons.lang3.builder.HashCodeBuilder; class Branch implements Comparable<Branch> { public String key; // used to remove duplicates and search in hashmap public int cost; public int outs; // number of OUT nodes, so that we can guarantee enough IN node...
32.409091
126
0.601683
989c195d3365f313f5e70c553ddb91e7ed5f11bb
576
package ru.gb.homeworks.hw04.task1.components; import javax.swing.*; import java.awt.event.ActionListener; public class SendPanelListener { public static ActionListener getActionListener(JTextArea textArea, JTextField textField) { return e -> { String currText = textField.getText(); ...
28.8
94
0.633681
b5f1b03c278b2b5ae579e2d46f4640f2be7d2b48
591
package net.qiushao.qsutils.orm.dbtype; import android.database.Cursor; import android.database.sqlite.SQLiteStatement; /** * Created by shaoqiu on 2015-8-27. */ public class LongDBType extends DBType{ public LongDBType() { type = Cursor.FIELD_TYPE_INTEGER; name = "INTEGER"; } ...
24.625
76
0.65313
fde9f93e7735b6db19646b5ce4a91a6d2c5d815f
421
package com.kaesar.designpattern.zen.chp38; /** * 姓名相同的规格书 * * @Author: chengk * @Date: 2021/6/13 1:20 下午 */ public class UserByNameEqual2 extends CompositeSpecification { // 基准姓名 private String name; // 构造函数传递基准姓名 public UserByNameEqual2(String name) { this.name = name; } @Overr...
18.304348
62
0.646081
328ec50fb0b094663b9b0c4168b27621753752f9
759
package com.github.javaparser; import com.github.javaparser.ast.Node; import com.github.javaparser.ast.NodeList; /** * Helper class for {@link GeneratedJavaParser} */ class RangedList<T extends Node> { /* A ranged list MUST be set to a begin and end, or these temporary values will leak out */ TokenRa...
22.323529
76
0.612648
a30fe767c1b14d3c5a0f0bbde0d827afbef4131e
12,092
/* * Copyright (C) 2013 Julien Vermet * * 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 writ...
32.331551
106
0.638687
e86e60f1894612ce5c47cb45eef66d4be44a7299
1,392
package com.alexhqi.saveshare.service.git; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Objects; import java.util.UUID; public class GitSave { private UUID uuid; private String name; private String repoPath; @JsonIgnore private String repoName; public GitSave() { ...
20.470588
66
0.59842
19bad578d5b4f0f8a454cb124648844cdcaccf51
1,522
package com.shenjinxiang.interaction.io.tcp.handler; import io.netty.channel.Channel; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @Author: ShenJinXiang * @D...
27.672727
101
0.672142
99b6521e22b27b70bcb30e578c6927e8d9327783
935
package org.jiucai.appframework.base.service; import java.io.OutputStream; import org.jiucai.appframework.base.mapper.ParameterMapper; /** * 二进制数据服务接口 * <p> * 实现类 serviceId 命名规则 xxxBinaryService * * </p> * * @author zhaidw * */ public interface BinaryService { /** * 返回要下载的文件是否存在...
23.375
87
0.618182
af7f518f007ade888d9d9b7b54d7a765f2ec7808
421
package cc.ifinder.novel.api.domain.user.repository; import cc.ifinder.novel.api.domain.user.User; import cc.ifinder.novel.api.domain.user.UserAccount; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface RepositoryUserAccount ext...
35.083333
81
0.833729
493a03b98ddd05eeef66edc27bafca21d40b07da
8,655
package org.wickedsource.budgeteer.importer.resourceplan; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.util.CellReference; import org.apache.poi.xssf.usermodel.*; import o...
40.443925
171
0.601733
af19f88086f947bb2be8c02775dc3bc259b3fc51
1,315
package com.danielfrak.code.swaggerclientcodegeneration.domain; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; @ApiModel(description = "A standard planet") public class Planet { @ApiModelProperty("Uniquely identifies the planet") private fin...
24.351852
71
0.638023
b916a0acd1a142c150842c0edf72a17279b74d97
2,350
package com.bdilab.dataflow.service.impl; import com.alibaba.fastjson.JSONObject; import com.bdilab.dataflow.common.consts.CommonConstants; import com.bdilab.dataflow.dto.MaterializeDescription; import com.bdilab.dataflow.service.MaterializeJobService; import com.bdilab.dataflow.utils.clickhouse.ClickHouseManager; imp...
30.128205
81
0.741702
1087cb440bb84532f22cabc4c3b726b36c3276ff
3,049
package com.tspeiz.modules.util.oss; import com.tspeiz.modules.util.PropertiesUtil; public class OSSConfigure { private String endpoint;//节点 private String accessKeyId; private String accessKeySecret; private String bucketName;//创建目录 private String accessUrl; private String accessUrls; private String vedioBuck...
32.094737
100
0.784192
0ab39ec2519873f979f7305aa90f08278aa49dfd
2,593
package com.zeligsoft.domain.omg.dds.api.Domain.impl; import com.zeligsoft.base.zdl.staticapi.util.ZDLFactoryRegistry; import com.zeligsoft.domain.omg.dds.api.Domain.DDSEntity; import com.zeligsoft.domain.omg.dds.api.Core.impl.ClassifierZImpl; import com.zeligsoft.domain.omg.dds.api.Domain.QoSProperty; import com.z...
30.151163
76
0.7285
eb18a5df899b3fe6ec22f5630b9b61eb86903ed9
17,941
/* * (C) Copyright IBM Corp. 2020. * * 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 w...
47.588859
669
0.74366
a62ec4681ae63b4344e50d70066bfb8db6daa05b
1,119
package tech.mhuang.fastdfs.function.mapper; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import tech.mhuang.fastdfs.function.model.SysFunction; /** * * 功能Mapper * * @author mhuan...
34.96875
133
0.7605
17558d9d200d42adeb9cb020cead64cfba88791f
4,524
package org.adligo.xml_io_generator.utils; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.u...
24.857143
98
0.660477
fd91a110dff249d706a3bf3bb54aa58789b15725
831
package net.bytepowered.flux.impl.registry; /** * @author 陈哈哈 (chenyongjia365@outlook.com) */ public class ZookeeperRegistryConfig { /** * Session超时:毫秒 */ private final int sessionTimeoutMs; /** * 连接超时:毫秒 */ private final int connectionTimeoutMs; /** * 注册中心地址列表 */...
20.268293
99
0.648616
9272b73081a7e6880b8738e3f326815af8c898f7
17,645
package com.planet_ink.coffee_mud.Abilities.Skills; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.Thief.Thief_Articles; import com.planet_ink.coffee_mud.Abilities.interface...
29.262023
164
0.647549
5e7948938ce15b08c4ab1bc8a4c646ff31d4c796
393
package org.kgusarov.integration.spring.netty.errors.nonsharable; import org.junit.Test; import org.springframework.beans.factory.BeanCreationException; public class NonSharableIntegrationTest { @Test(expected = BeanCreationException.class) public void testThereShouldBeAnException() throws Exception { ...
32.75
71
0.793893
4bbfca9f82467d2fd8cec9f91e8454ee7a804af9
1,559
package com.mrh0.createaddition.index; import com.mrh0.createaddition.CreateAddition; import com.mrh0.createaddition.groups.ModGroup; import com.simibubi.create.foundation.data.CreateRegistrate; import com.simibubi.create.repack.registrate.util.entry.RegistryEntry; import net.minecraft.fluid.Fluid; import net.minecra...
33.170213
180
0.784477
7a7339603fc794364f1f91ce8bbb6ab80e76668e
243
package org.rio.everlesssdk.carnivor.geo.res; import org.rio.everlesssdk.carnivor.APIResponse; import org.rio.everlesssdk.fossile.EVPair; /** * Created by rio.chandra.r on 13/01/18. */ public class XRESGeo extends APIResponse<EVPair> { }
20.25
50
0.765432
7e8c837771209a3093d2b94c453e08c20a8e0a37
1,447
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.utils.codeinspector; import com.android.tools.r8.errors.Unreachable; import j...
22.968254
83
0.733241
1d2a01b4071914c5b5d65b7c58078c69a4b62da0
18,342
package veevaMenuPDFParser; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.TreeMap; import java.util.HashSet; import java.util.ArrayList; import java.util.Collections; import java.util.Ha...
39.787419
277
0.574201
212f7986d759e3ada3a72a2d2e1487bc8b0b112c
744
package com.flc.controller.weixin; public class WXPublicUtils { /** * 验证Token * @param msgSignature 签名串,对应URL参数的signature * @param timeStamp 时间戳,对应URL参数的timestamp * @param nonce 随机串,对应URL参数的nonce * * @return 是否为安全签名 * @throws AesException 执行失败,请查看该异常的错误码和具体的错误信息 */ ...
32.347826
89
0.65457
c54cd0c611a4b0f7b1297550a3d1466bfaf7abf2
1,425
package org.isel.thesis.impads.kafka.stream.topology.model; import com.fasterxml.jackson.annotation.JsonProperty; import org.isel.thesis.impads.connectors.redis.container.RedisHashReadCommandsContainer; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java....
32.386364
116
0.731228
63cc093dbaf9674aec28393341fe96ced385433c
6,568
package morph.avaritia.client.render.item; import codechicken.lib.colour.Colour; import codechicken.lib.colour.ColourRGBA; import codechicken.lib.util.VertexDataUtils; import codechicken.lib.vec.Vector3; import codechicken.lib.vec.Vertex5; import codechicken.lib.vec.uv.UV; import net.minecraft.client.renderer.block.mo...
42.649351
178
0.548569
fb6f20180219b1d97d3518b8b89634a596294902
1,302
package com.owncloud.android.lib.common; import java.util.ArrayList; import java.util.List; import org.apache.commons.httpclient.auth.AuthPolicy; import org.apache.commons.httpclient.auth.AuthScope; import com.owncloud.android.lib.common.network.BearerAuthScheme; import com.owncloud.android.lib.common.network.Bearer...
25.038462
89
0.756528
3e92397bcf9103adf6c1eae0a28b74e7ee25b125
8,402
package main.java.commands.Osu.Standard; import com.oopsjpeg.osu4j.GameMode; import com.oopsjpeg.osu4j.OsuScore; import com.oopsjpeg.osu4j.OsuUser; import com.oopsjpeg.osu4j.backend.EndpointUsers; import com.oopsjpeg.osu4j.exception.OsuAPIException; import main.java.commands.ICommand; import main.java.core.Main; impor...
44.455026
173
0.547727
6116efc06b61ef9f4ec7724289eaa4ff9cf28a2e
70
package cnrs.minides.demo; class Desk { public Customer customer; }
10
26
0.757143
756eb18b3e99e842a94505ab1edfd279f9effab7
2,706
package com.gmail.webos21.aquiz.gcj.cjb2008; import com.gmail.webos21.aquiz.model.AQModel; import com.gmail.webos21.aquiz.util.AQBufferedReader; import com.gmail.webos21.aquiz.util.AQDataWriter; import com.gmail.webos21.aquiz.util.AQMisc; /** * Google Code Jam - Practice Contests - Code Jam Beta 2008 * * Problem ...
21.648
75
0.644124
ebfd441185c9113bef7d2bbe5381960ea7e66ebf
9,348
package com.xpn.spellnote.ui.document.edit.imagetextrecognition; import android.app.Activity; import android.content.Intent; import androidx.databinding.DataBindingUtil; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Null...
38.469136
154
0.671374
1d01704a0c9b4ac73a34f4604d489ed18477ba50
9,771
/* * Copyright (c) 2017 int08h LLC. All rights reserved. * * int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0 * (the "License"); you may not use this Software except in compliance with the License. You may * obtain a copy of the License from the LICENSE file included wit...
36.055351
98
0.657558
6b54edc7def20cd29fd15de9c11bbdc49bb11f5c
263
public class B { static interface T<X> extends C {} // not public, so this shouldn't be tracked as an inherited dependency private class Q implements E<Integer> {} public void x(int i) { // not public, not an inherited dependency D j = new D() {}; } }
21.916667
71
0.673004
b9e4e8fa3a7aa7c0e2857596ea44a242abf71ab4
2,347
package org.mort11.subsystems.dt; import edu.wpi.first.wpilibj.CANTalon; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.command.Subsystem; import org.mort11.Robot; import org.mort11.commands.SubsystemStates; /** * DTSide - Base class controlling drivet...
26.370787
111
0.624627
d6e0be2ce37737765021c253f9d97bbdf28e37c3
547
/** * */ package cjlite.web.handler; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author kevin * */ public interface Handler { /** * Handler Name * * @return name */ public String getName(); /** * initialize method for this handler */ pu...
14.783784
98
0.676417
64f7685144bc029cde776e9d68e1c7567709babe
1,069
package global.models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import core.writeRules.WriteRules; import global.wrappers.PackageTemplateWrapper; import java.util.ArrayList; /** * Created by CeH9 on 06.07.2016. */ public class Directory extends BaseElement { ...
24.295455
94
0.710009
c94089c3aa9984b017df3025c0cd5cb4660ee32c
1,966
package org.robobinding.attribute; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; import static org.robobinding.attribute.Attributes.aValueModelAttribute; import static org.robobinding.attribute.BindingType.ONE_WAY; import static org.robobinding.attribute.BindingType....
37.807692
150
0.791455
65fc9b01866a7fbfcc0f8bac0c24a094b25adce9
3,206
package com.javmarina.client.services.bot; import discord4j.core.DiscordClient; import discord4j.core.DiscordClientBuilder; import discord4j.core.event.domain.lifecycle.ReadyEvent; import discord4j.core.event.domain.message.MessageCreateEvent; import discord4j.core.object.entity.GuildMessageChannel; import discord4j.c...
39.097561
123
0.645041
3290c924c713981ef3bf03c91403d45b904299e2
801
package com.roden.study.java.lang.clazz; import java.io.IOException; import java.net.URL; import java.util.Enumeration; /** * Created by Roden on 2017/3/19. */ public class ClassLoaderPropTest { public static void main(String[] args) throws IOException { //系统类加载器 ClassLoader systemLoader=ClassLo...
29.666667
68
0.679151
fc628f52908cffcd6772a421f2e9c0139412d7c4
11,060
/* * 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 ...
41.578947
111
0.631284
9b52d9185642fac572a9e93528fc47778d97bb70
104
package org.fade.uml.association.uni; /** * 关联关系(单向) * @author fade * */ public class IDCard { }
8.666667
37
0.615385
9d5e6f95424b0825efa985abffb68e904997f7f9
3,682
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
37.958763
136
0.750136
361edc30db69a75fbed082566c8f376a5538e7da
7,236
/** * Exercise 18 */ package com.ciaoshen.thinkinjava.chapter13; import java.util.*; import java.util.regex.*; import java.io.*; public class Exercise18 { private static final String SPLITER = "\n"; private static boolean isInFormalAnnotation = false; // open a file, return a string, return null otherwis...
39.758242
103
0.609176
eff81fe2172245ffbaee151677ebd918eb8e2ba4
2,600
/* * Copyright 2016 CIRDLES. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
34.210526
110
0.6
b8723102eaf42c451f9cab515da3e33edde1dd3c
3,383
package com.plealog.jgaf.genericapp.ui.common; import com.plealog.jgaf.genericapp.api.log.EZLogger; import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.geom.AffineTransform; import java.awt.print.PageFormat; import java.awt.print.Printable...
31.036697
94
0.703222
20cd644157551faf3d06e08d684a1605be86ac3c
969
package de.tudarmstadt.informatik.tk.assistance.sdk.provider; import android.content.Context; import de.tudarmstadt.informatik.tk.assistance.sdk.provider.social.FacebookProvider; /** * @author Wladimir Schmidt (wlsc.dev@gmail.com) * @date 31.12.2015 */ public final class SocialProvider { private static final...
22.534884
84
0.684211
5e811ce9967d6f752409859eb829b956e1d1cad6
2,171
package co.joyrun.videoplayer.videolist.video_list_demo.adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import co.joyrun.videoplayer.videolist.R; import co.joyrun.videoplayer.videolist.video_list_demo.adapter.holders.VideoViewHolder;...
31.463768
164
0.690465
b88deb38f08f6e3c096045e15a50b06cec4890e3
435
package com.ibeetl.admin.core.web.query; import com.ibeetl.admin.core.annotation.Query; /** * @Author: chenxi * @Date: 2019-02-13 10:29 * @description: **/ public class SearchItemQuery extends PageParam { @Query(name="网站",display=true,fuzzy=true) private Integer siteId ; public Integer getSiteId() {...
19.772727
49
0.662069
1bd34231f51d3780e9a30679236e28972267ae2a
7,929
package com.team41.boromi.book; import android.Manifest.permission; import android.annotation.SuppressLint; import android.content.pm.PackageManager; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import a...
34.776316
108
0.707529
5e1fa8bfb18bfc9fedce8a318c161d3bd5db9d1d
693
package com.velocitypowered.proxy.protocol; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; public class PacketWrapper { private final MinecraftPacket packet; private final ByteBuf buffer; public PacketWrapper(MinecraftPacket packet, ByteBuf buffer) { this.packet = packet; ...
22.354839
66
0.614719
594f673b8c0748794a4e041477820d12844ccfe7
1,117
/* xsd2pgschema - Database replication tool based on XML Schema Copyright 2018 Masashi Yokochi https://sourceforge.net/projects/xsd2pgschema/ 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 Licens...
27.243902
72
0.756491