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
a2adc34a7f88ea0084c492b7c03c51e397f18388
1,720
package uk.gov.companieshouse.company.metrics.converter; import java.lang.reflect.InvocationTargetException; import java.util.Set; import org.springframework.core.convert.TypeDescriptor; import org.springframework.core.convert.converter.GenericConverter; import org.springframework.data.convert.ReadingConverter; impor...
33.72549
100
0.652326
0b798270a27fbec83b713f7a3072351b52ea79fc
995
package it.unisa.dia.gas.crypto.jpbc.fe.ibe.dip10.params; import it.unisa.dia.gas.jpbc.Element; import it.unisa.dia.gas.plaf.jpbc.util.ElementUtils; import java.util.Arrays; /** * @author Angelo De Caro (jpbclib@gmail.com) */ public class AHIBEDIP10EncryptionParameters extends AHIBEDIP10KeyParameters { privat...
23.690476
82
0.667337
1af3275e6ab72a1c37887fda52be5ffb8c76b888
8,356
/* * Copyright 1998-2014 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on...
30.385455
114
0.634873
92828e43bccd92c2d124d103f49384ad3b3061f1
1,882
package com.camnter.reduce.dependency.packaging.plugin.host; import android.app.Application; import android.content.Context; import android.support.annotation.NonNull; import java.lang.reflect.Field; /** * @author CaMnter */ public class SmartApplication extends Application { /** * Set the base context f...
32.448276
88
0.682253
36365fd93c178a784846a3f11d0e840415b185e4
7,235
/* * 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 Front; import backend.Projetos; import backend.Sistema; /** * * @author marga */ public class ProjetoparaAssociados extend...
39.752747
135
0.660677
6012062c54b2c08ff829e8377503c2e383239051
3,382
/* * This source file is part of the Amy open source project. * For more information see github.com/AmyAssist * * Copyright (c) 2018 the Amy project authors. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
28.183333
95
0.727972
f82a5349be6ccf4ac9a17e8a1506fa84947cdd93
694
package com.demo.to; public class UserTo { public UserTo(String username, String password, boolean enabled) { super(); this.username = username; this.password = password; this.enabled = enabled; } public String username; public String password; boolean enabled; public String getUsername...
20.411765
68
0.684438
4ab9dde0e5f98665c2bfc2ac3f775bc4e95eca80
2,817
package slogo.frontEnd; import javafx.collections.ModifiableObservableListBase; import java.util.LinkedList; import java.util.List; public class ObservableQueue extends ModifiableObservableListBase<String> { private final List<String> delegate = new LinkedList<>(); @Override public String get(int index...
36.115385
87
0.594249
9b6075ea11503bf28bbd39ee6e862d3a2a8b70c3
4,053
/* * HashTableSeparateChaining.java * Project libalgojv * * Created by Oleg Potapenko on 12/25/18 12:00 PM. * Copyright © 2018-2019 Oleg Potapenko. All rights reserved. */ package com.libalgojv.hashtables.hashtableseparatechaining; import com.libalgojv.common.interfaces.HashTable; public class HashTableSeparat...
27.951724
121
0.585492
92458086361c605a01e9cf427914bedaa9ea6e02
2,857
package org.csuc.dao.loader; import com.mongodb.WriteResult; import org.bson.types.ObjectId; import org.csuc.entities.loader.Loader; import org.csuc.utils.Aggregation; import org.csuc.utils.Status; import org.mongodb.morphia.Key; import org.mongodb.morphia.dao.DAO; import java.util.Iterator; import java.util.List; ...
46.080645
118
0.627581
54836d0c89ac7ca011a3c22cadf70f88f31209a2
5,670
package org.antlr.intellij.plugin.actions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.LangDataKeys; import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.application.Result; import ...
37.8
111
0.744092
13ee60d97c6fcbd4b687062ade3174b885ecaa02
2,842
package com.zhbit.entity.excel; import java.sql.Timestamp; import org.zhbit.excel.annotation.ExcelVoConfig; import org.zhbit.excel.annotation.Lang; import org.zhbit.excel.bean.BaseExcelVo; @ExcelVoConfig public class PostinfoExcel extends BaseExcelBean implements Cloneable { // Fields @Lang(value="E...
16.619883
112
0.660802
cedc019bcb60979d17b68cb08dfd37e40334648f
1,734
// automatically generated by the FlatBuffers compiler, do not modify package ppx; import java.nio.*; import java.lang.*; import java.util.*; import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Uniform extends Table { public static Uniform getRootAsUniform(ByteBuffer _bb) { return getRo...
43.35
182
0.722607
6c969455bd0792a69ccf5c88c994f0083d658a21
1,010
package com.yomahub.liteflow.test.nullParam; import com.yomahub.liteflow.core.FlowExecutor; import com.yomahub.liteflow.flow.LiteflowResponse; import com.yomahub.liteflow.slot.DefaultContext; import com.yomahub.liteflow.test.BaseTest; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; imp...
28.055556
88
0.770297
fa5c4acaf3e2292365e6fa66dcbf1b4a1b46c945
17,138
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
41.197115
188
0.711402
b9657ab37e7c2be5dc1db585b9c0c82778075d56
275
package com.royken.bracongo.survey.dao; import com.royken.bracongo.survey.entities.Position; import com.royken.generic.dao.IGenericDao; /** * * @author Kenfack Valmy-Roi <roykenvalmy@gmail.com> */ public interface IPositionDao extends IGenericDao<Position, Long>{ }
22.916667
66
0.767273
bbdffa7d8062d4252057dc58e68ee051a7876616
1,341
/* * Copyright 2019 liaochong * * 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 writin...
33.525
101
0.731544
48dc4a69f30586377fa1f3489b15450b236bed70
1,528
package com.micronil.web.controller; import com.micronil.utils.CookieInterpreter; import com.micronil.utils.PrivilegeFilterComponent; import com.micronil.web.entity.Module; import com.micronil.web.entity.User; import com.micronil.web.service.ModuleService; import com.micronil.web.service.UserService; import org.spring...
38.2
172
0.780105
a1348902a5b5f52d6d06e8631f26d6c23c2c83fd
1,082
package gov.noaa.models.enums; import com.fasterxml.jackson.annotation.JsonValue; import com.google.common.collect.ImmutableMap; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.extern.log4j.Log4j2; @Getter @Log4j2 @AllArgsConstructor public enum Urgency { UNKNOWN("Unknown","unknown"), PAS...
24.590909
95
0.695933
c2421db539abdcc584a5ae98f7a3e46f70126e02
954
// // Copyright (c) AIT Austrian Institute of Technology GmbH. // Distributed under the terms of the Modified BSD License. // package at.ac.ait.lablink.clients.csvclient; public enum CsvDataTypes { /** The holding registers. */ INT("INT"), DOUBLE("DOUBLE"), STRING("STRING"), BOOLEAN("BOOL"), LONG("LONG"); /** ...
19.469388
80
0.593291
7f64f5d25f67ab5cea8f1b4724ea17e68b6ef7d1
3,099
package com.zgluis.ricknmorty.ui.main; import androidx.lifecycle.ViewModelProviders; import android.content.Context; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; impor...
28.694444
106
0.709261
e3d148d78f32341770a3ef3c13adc050d169902b
3,490
package eu.the5zig.mod.server.timolia; import eu.the5zig.mod.The5zigMod; import eu.the5zig.mod.gui.ingame.Scoreboard; import eu.the5zig.mod.server.AbstractGameListener; import eu.the5zig.mod.server.GameState; import eu.the5zig.mod.server.IPatternResult; import eu.the5zig.mod.util.Vector3f; import eu.the5zig.util.minec...
42.048193
163
0.722063
64bf8b02fe51aebde9b8d0e5e39ee0bdb3906d1c
1,645
/** * * Copyright 2004-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
25.307692
76
0.57386
cb35484f74e453917741d07e530ca7ece608172e
1,743
/* * Copyright 2019 EIS Ltd and/or one of its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
27.234375
89
0.697648
81d2fd451db1b050a7b2a8f8dc1535b5281067b0
488
package com.github.kerner1000.etoro.stats.transactionsservice.persistence; import com.github.kerner1000.etoro.stats.model.Transaction; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Mappings; @Mapper(componentModel = "spring") public interface TransactionMapper { Transaction enti...
28.705882
74
0.768443
2ab43a8b6a94df2ffdf5ee4a4ad2c849d3ffc9be
273
package com.java.lambda; import java.util.stream.IntStream; /** * @author zing * @date 2018/3/7 20:02 */ public class StreamTest2 { public static void main(String[] args) { // 产生 [0,100) IntStream.range(0, 100).forEach(System.out::println); } }
18.2
61
0.630037
6f9aeac407b8138dc58bac85f3cd7fd3c0adcb78
593
package com.simple.app.raytracer.domain; import org.junit.Before; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import static org.junit.Assert.*; public class RayTracerTest { private RayTracer rayTracer; @Be...
21.962963
62
0.696459
bd1ac4c5ffacb6a6fb1c820084031028d26a533d
22,227
/* * Copyright (c) Tarek Hosni El Alaoui 2017 */ package de.dytanic.cloudnet.bridge; import com.google.gson.reflect.TypeToken; import de.dytanic.cloudnet.api.CloudAPI; import de.dytanic.cloudnet.api.ICloudService; import de.dytanic.cloudnet.api.handlers.NetworkHandler; import de.dytanic.cloudnet.bridge.event.proxie...
40.560219
250
0.617807
c7eb90ff46bb860c632f5cedbb62b7f494c90664
3,615
package aimax.osm.data.impl; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import aimax.osm.data.BoundingBox; import aimax.osm.data.EntityClassifier; import aimax.osm.data.MapBuilder; import aimax.osm.data.OsmMap; import aimax.osm.data.entities.EntityAttribute; import ...
27.386364
80
0.663624
6a7ddcb18dc7e543c1178762cc04e467d00f8e54
1,533
package com.example.lambda; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class Test { public static void process(Runnable r) { r.run(); } public static String proce...
34.840909
117
0.621657
5cc7750b084a0a1f9664f1380fdcfff233007479
601
package com.podio.filter; public final class ProgressInterval { private final int from; private final int to; public ProgressInterval(int from, int to) { super(); this.from = from; this.to = to; if (from < 0 || from > 100) { throw new IllegalArgumentException("From must be between 0 and 100"); } ...
18.212121
72
0.652246
9fc647840a72a1a2dd21916d8c3debec3e6293a9
2,967
package edu.rice.cs.hpcdata.experiment.extdata; import java.io.IOException; import java.util.List; import edu.rice.cs.hpcdata.db.IdTuple; import edu.rice.cs.hpcdata.db.IdTupleType; import edu.rice.cs.hpcdata.db.IFileDB.IdTupleOption; /************************************************************************* * * I...
23.736
85
0.643748
4040cdbf8e98bdc466c7ce09ba72fc550dfaad5d
2,890
/** * Copyright (C) 2013-2017 yvolk (Yuri Volkov), http://yurivolkov.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 * * Unles...
34.819277
124
0.680623
2fdbc5f6ed55db76728483df0bcdaa2739f4c3be
9,061
/* * 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 fundamentosproyectofinal; import java.awt.HeadlessException; /** * * @author Karla */ public class InterfazEditarUsuario e...
44.2
174
0.646397
1544d9a3bd4acc40ccb7ecd95b486a73993e6b67
852
package com.vvv.kodilan.view.enums; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonValue; public enum POST_STATUS { DISAPPROVED(0, "ONAYLANMADI"), APPROVED(1, "ONAYLANDI"), UNPUBLISHED(2, "YAYINLANMADI"); privat...
21.846154
89
0.672535
4c296b689b521dda99644ae1dd7dcb1f5da1d3e3
11,141
/* * The MIT License * * Copyright 2015 Christopher Wells. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
27.992462
140
0.660623
ce6e20024e01fe98a38334ed0d2033129f5e62f6
649
package mil.dds.anet.database.mappers; import java.sql.ResultSet; import java.sql.SQLException; import mil.dds.anet.beans.Comment; import org.jdbi.v3.core.mapper.RowMapper; import org.jdbi.v3.core.statement.StatementContext; public class CommentMapper implements RowMapper<Comment> { @Override public Comment map(...
29.5
77
0.75963
4c68a205da79b7af9f482dc1366b1bdb2e1099f3
6,931
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
31.648402
102
0.499495
19181a44e536ef8b0ae2c283aa9928d6f77123b5
11,432
package com.angkorteam.mbaas.server.page.oauth2; import com.angkorteam.framework.extension.wicket.AdminLTEPage; import com.angkorteam.framework.extension.wicket.feedback.TextFeedbackPanel; import com.angkorteam.framework.extension.wicket.html.form.Form; import com.angkorteam.framework.extension.wicket.markup.html.form...
49.489177
244
0.67556
0af1c2f7c7351c7b9ddd0ac2b3ab333c7c5cac33
10,376
package ratismal.drivebackup.config.configSections; import java.nio.file.InvalidPathException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import org.bukkit.configuration.file.FileConfiguration; import ratismal.drivebackup.config.ConfigParser; import ratismal.dri...
39.007519
141
0.508867
ebf0ec182ccc65500fee9986902e140320716b24
4,313
/** * Copyright (C) Zhang,Yuexiang (xfeep) * */ package nginx.clojure.java; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.Chars...
28.375
146
0.704614
6e9c9cfa98bc03b3d890fc9ad80d08f8bb286dfb
7,034
/* * Copyright (c) 2018 by Gerrit Grunwald * * 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...
40.895349
184
0.610463
7c51588afd491104839e02b9d2b4c0783aba980f
10,385
/** * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICE...
38.321033
135
0.657005
7d3d838940aaf4d5b833251a684e0adffefb6bd1
848
package org.sergei.timetable.jpa.model.mappers; import org.sergei.timetable.jpa.model.Timetable; import org.sergei.timetable.rest.dto.TimetableDTO; import org.sergei.timetable.utils.IMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.uti...
29.241379
95
0.790094
b5a7cd907c676335832facfe5a25b26a953e778c
1,166
import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; //counts of repeated character. //aabcccccaaa will be a2b1c5a3. //if the compressed string is same as original return the original string. //assumption either all capital or all small. public class stringC...
24.808511
88
0.653516
8556e5936aa7fcaa0d83a96829682dba502eee83
1,155
package com.example.userservice.controller; import com.example.userservice.vo.Greeting; import lombok.RequiredArgsConstructor; import org.springframework.core.env.Environment; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetM...
32.083333
74
0.709091
b4ea2b0cbb79b664f218368ea31da36e72490654
483
package filter; import cherry.CherryPick; import java.util.Set; public interface Filter { /** * Filters the given cherry pick candidates for cherry picks * by a given heuristic (and discards objects that are considered * to originate from other git operations like rebase) * * @param cher...
26.833333
87
0.706004
694b013814ef0d6855d3329025d2f8757d6c2c0a
2,039
package com.plusub.lib.view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import android.graphics.RectF; import android.graphics.Bitmap.Config; import android.grap...
27.186667
104
0.669446
28542b83c912030589e6cacf1e2c12e52a43cc36
1,758
/** * Jun 10, 2019 * AinsChatApplication * com.ains.chat.model */ package com.ains.chat.model; import java.util.Date; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence....
18.505263
55
0.736064
75c980a083dc7399a37c770897d03636b40ca979
3,123
package org.jzy3d.plot3d.primitives.vbo.drawable.loaders; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.List; import org.jzy3d.io.BufferUtil; import org.jzy3d.io.IGLLoader; import org.jzy3d.maths.BoundingBox3d; import org.jzy3d.maths.Coord3d; import org.jzy3d.pain...
28.651376
100
0.675953
9e79bb0437d9c030ad5659e5bfeddb6ab1e7ccf8
3,371
package com.general.service.planService; import com.general.IdsGetter; import com.general.dao.EntityDAO; import com.general.dao.entity.PlanEntity; import com.general.dao.entity.PlanTeamEntity; import com.general.dao.entity.ProjectEntity; import com.general.dao.entity.TeamEntity; import com.general.dto.PlanDTO; import ...
37.455556
104
0.592406
cb687f5489b3adb8b6b608697d8313f5ab4d2023
3,861
package gt.muni.chiantla.mymuni; import android.content.Context; import android.graphics.drawable.Drawable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.ImageView; import android.widget.TextView; imp...
30.888
92
0.645688
82600554660fe22b55a6b4b7a30aa2c81c1ae622
1,942
/* */ package mcheli.mcheli.aircraft; /* */ /* */ import com.google.common.io.ByteArrayDataInput; /* */ import java.io.DataOutputStream; /* */ import java.io.IOException; /* */ import mcheli.MCH_Packet; /* */ import mcheli.aircraft.MCH_EntityAircraft; /* */ import mcheli.wrapper.W_Entity; /* ...
29.876923
146
0.517508
48f537cf37c19c87e98d5a157e08ee5e7d09991e
1,146
package com.maple.server.config; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Configuration; /** * shiro 配置 * * @author maple * @version 1.0 * @since 2019-09-09 19:18 */ @Configuration @Slf4j public class ShiroConfig { // /** // * 3.创建身份认证 Realm // */ // @Bean /...
26.651163
93
0.664049
66b80b68a7ae63681ad3eeeec99d12761683ef0a
172
package org.example.msa.springboot.repository.dvo; import lombok.Data; @Data public class OrderStatusDVO { private String id; private String orderHistory; // 주문내역 }
17.2
50
0.767442
15906a100f9ac59551b0a2916b474744c020f8fa
864
package uk.nhs.digital.nhsconnect.nhais.utils; import org.hl7.fhir.r4.model.CodeableConcept; import org.hl7.fhir.r4.model.OperationOutcome; public class OperationOutcomeUtils { public static OperationOutcome createFromMessage(String message) { return createFromMessage(message, OperationOutcome.IssueType....
36
103
0.75463
4e5559aee7aa7b11b180740c2bee2ee16abaa2bd
2,068
package leetcode; import java.util.LinkedList; import java.util.Queue; /** * You are given a m x n 2D grid initialized with these three possible values. -1 - A wall or an obstacle. 0 - A gate. INF - Infinity means an empty room. We use the value 231 - 1 = 2147483647 to represent INF as you may assume that the distan...
29.971014
160
0.590909
4bbf7fb914b92b1f9e11fb9da958058421639c58
3,255
package cn.itrip.biz.service.itripHotel; import cn.itrip.beans.pojo.ItripHotel; import cn.itrip.beans.vo.hotel.HotelVideoDescVO; import cn.itrip.common.Constants; import cn.itrip.common.EmptyUtils; import cn.itrip.common.Page; import cn.itrip.mapper.itripHotel.ItripHotelMapper; import cn.itrip.mapper.itripHotelF...
40.6875
130
0.747465
0640f367aff67415fd85ca15dea39aeb7806f7db
3,283
package com.example.demo.service.impl; import com.example.demo.constants.FileExportPaths; import com.example.demo.constants.FileImportPaths; import com.example.demo.data.dao.CategoryRepository; import com.example.demo.data.entiites.Category; import com.example.demo.dtos.category.CategoriesByProductsCountExportDto; imp...
39.554217
102
0.704843
4c46106cce7aa84a32d117ebaa5819e0763147e6
20,270
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
32.693548
128
0.687321
a66b9f556722b30ea619c2ef50bb16fb6aecec6c
3,241
package marker; import java.util.ArrayList; import java.util.List; import de.dhbw.rahmlab.vicon.datastream.api.DataStreamClient; public class MarkerTracker { private List<Marker> markers = new ArrayList<>(); private final DataStreamClientProvider clientProvider; private DataStreamClient client; public MarkerTra...
24.55303
99
0.714903
9c0c3a089c5e24fbdfe3a4f3b511c2652d40e003
1,697
package com.sequenceiq.authorization.info.model; public final class ApiAuthorizationInfoBuilder { private String path; private String httpMethod; private NewAuthorizationInfo newAuthorization; private LegacyAuthorizationInfo legacyAuthorization; private String message; private ApiAuthoriz...
29.77193
109
0.73954
524b32f48331c2f0a8062087ff2329990f885015
2,156
/* * MIT License * * Copyright (c) 2020 manager * * 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, ...
34.774194
96
0.749072
b30cc286419976c02ec7911a1fb9d45afa025537
247,694
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
57.323305
767
0.836157
1a18de3c6b0b7bccb849310332f0688b9d68f8db
239
package decisiontree; import decisiontree.control.Controller; public class DecisionTree { private static Controller controller; public static void main(String[] args) { Controller.getInstance().initialize(); } }
21.727273
46
0.715481
763cfb3473f88bc7b1b31c7fb94075863abfc1df
4,698
package com.example.srv_twry.studentcompanion.Adapters; import android.content.Context; import android.database.Cursor; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.srv_twr...
39.15
166
0.725841
9f8b8f0b4d3357a4ed740e5145d032dcf077e908
909
package se.cygni.snake.api.event; import org.junit.Test; import se.cygni.snake.api.GameMessageParser; import static org.junit.Assert.assertEquals; public class GameEndedEventTest { @Test public void testSerializationGameEndedEvent() throws Exception { GameEndedEvent gee = new GameEndedEvent("playerW...
36.36
102
0.734873
52fa354a9c02a983ebbcc04d27fece5cbda4bd55
358
package net.mgsx.game.plugins.pd; import net.mgsx.game.core.EditorScreen; import net.mgsx.game.core.annotations.PluginDef; import net.mgsx.game.core.plugins.EditorPlugin; @PluginDef(dependencies=PdPlugin.class, requires="net.mgsx.pd.Pd") public class PdEditorPlugin extends EditorPlugin { @Override public void init...
19.888889
48
0.793296
bf59f5c482c2795614d680c8d78c69057049f4ee
2,126
package com.algorand.algosdk.templates; import java.security.NoSuchAlgorithmException; import java.util.List; import com.algorand.algosdk.templates.ContractTemplate.ParameterValue; import com.algorand.algosdk.templates.ContractTemplate.IntParameterValue; import com.algorand.algosdk.templates.ContractTemplate.AddressP...
38.654545
201
0.786453
9958a95f64b8da840d4bf1ed9eadb5f4b89ed75c
295
package io.nerv.web; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class SSODemoCtrl { @RequestMapping("/keytest") public String keyTest(){ return "hello, keyCloak"; } }
22.692308
62
0.749153
9ff71b4bff39d5d69dbd3a23f8e2628871613883
2,908
/* * This file is part of GriefDefender, licensed under the MIT License (MIT). * * Copyright (c) bloodmc * Copyright (c) contributors * * 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...
35.036145
104
0.708047
4d4d8e978039035c088fb320014f55fd2a4fd92c
366
package com.sequenceiq.authorization.service; import java.util.Collection; import java.util.EnumSet; import java.util.Map; import java.util.Optional; import com.sequenceiq.cloudbreak.auth.altus.Crn; public interface ResourceNameProvider { Map<String, Optional<String>> getNamesByCrns(Collection<String> crns); ...
22.875
74
0.79235
07c8a302d9ecd5b4ad6caaefc011661523ae8599
3,747
package com.xmomen.module.base.controller; import java.util.HashMap; import java.util.Map; import javax.validation.Valid; import com.xmomen.module.base.constant.AppConstants; import org.apache.shiro.SecurityUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.Bi...
39.861702
156
0.694422
b5e0e0be74be921cb247f3884f1542ce8520a180
9,052
/* * The MIT License (MIT) * * Copyright (c) 2014-2017 Sri Harsha Chilakapati * * 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 ri...
39.356522
136
0.676977
34baa00766e447ebce437608e55a4cd395d9e0e4
4,061
/* Copyright 2010 University of Cambridge * Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in * compliance with this License. * * You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt */ package org.co...
41.020202
145
0.747599
63579bdaf9f691f6f34477110d9b1055a45d1ff8
2,266
package water.api.schemas3; import water.api.API; import water.api.SchemaMetadata; import water.util.PojoUtils; import java.util.ArrayList; public class SchemaMetadataV3 extends SchemaV3<SchemaMetadata, SchemaMetadataV3> { @API(help="Version number of the Schema.") public int version; /** * The simple sc...
31.915493
120
0.721977
999395efb926279d6b222fd9b5ae1c562db047ec
1,188
package de.i3mainz.openballoonmap.configuration; import java.util.List; import org.springframework.context.annotation.Configuration; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.springframework.web.servlet.c...
33.942857
88
0.76936
ba59c02689b39f75f657d8173489ae39b3759ea5
1,606
package com.xiaojiezhu.bigsql.server; import com.xiaojiezhu.bigsql.server.bootstrap.Bootstrap; import com.xiaojiezhu.bigsql.server.bootstrap.netty.DefaultBootstrap; import com.xiaojiezhu.bigsql.server.config.BigSqlConfig; import com.xiaojiezhu.bigsql.server.config.ConfigLoader; import com.xiaojiezhu.bigsql.server.conf...
32.77551
108
0.737235
3d749c3aa12441a6da4012e5fbcca47ec9c9cf7a
6,430
package com.isaacbrodsky.zztsearch.query.search; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.isaacbrodsky.zztsearch.que...
42.026144
132
0.651477
4920ffb9f40316f2543d215257554eea784bc203
3,433
/* * Copyright 2015 Zbynek Vyskovsky mailto:kvr000@gmail.com http://kvr.znj.cz/ http://github.com/kvr000/ * * 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...
28.608333
120
0.743956
08924208b78bbe796873b805541298c4109a9bb1
1,789
/* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
39.755556
79
0.745109
2c9ff2bcf786cc3c8916db8b1dc843cfe1797ba2
1,533
import java.math.BigInteger; import java.util.Arrays; import java.util.Scanner; public class CF684_2 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int t = scanner.nextInt(); scanner.nextLine(); while(t!=0){ int n = scanner.nextInt()...
30.66
73
0.446836
68a1f9a0bb4110a482f5b1da770551a007088789
821
/* * 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.goupil.game.wrk; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.assets.loaders.ParticleEffec...
28.310345
85
0.745432
bfe3b8e2f819e1421ba9267b90a5718eda1731d6
7,814
package nl.dirkkok.chemicalcraft.tileentity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity.TileEntity; import net.minecraft.ut...
26.398649
119
0.687612
16cc79c99b4cc40d266218ec414fc51aaa1d10f9
576
package homework1; public class Book { private String title; private Integer pageNum; private String type; public Book(Integer pageNum, String type) { this("默认标题",pageNum,type); } public Book(String title, Integer pageNum, String type) { this.title = title; this.pageNu...
21.333333
74
0.569444
ee8fb6fa38a48aae4b8d12172b83302d6913eef9
2,353
package eu.operando.network; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import okhttp3.OkHttpC...
29.78481
89
0.589885
17d2bb1f0b40a827997d4341d7fa878a410fe57f
2,010
package io.xlogistx.iot.gpio.data; import com.google.gson.annotations.SerializedName; import com.pi4j.io.gpio.PinState; import io.xlogistx.iot.gpio.GPIOPin; import org.zoxweb.shared.util.Const; public class PWMConfig { private GPIOPin[] gpios; private float frequency; @SerializedName("duty_cycle") private ...
18.785047
76
0.691045
91ea35b6a293ce4d02153cd3e2046a60b330a5ab
570
package org.drools.solver.core; import java.util.Random; import org.drools.solver.core.evaluation.EvaluationHandler; import org.drools.solver.core.solution.Solution; /** * @author Geoffrey De Smet */ public interface Solver { void setStartingSolution(Solution solution); Random getRandom(); @Deprecate...
19
67
0.707018
3c04afedc3b1d7bf9fc502bd3f055af85f26b255
2,729
package model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ForeignAuthority complex type. * * <p>The f...
28.726316
142
0.662147
2c5edd5ead61330bc9560e6581cef501541fc48d
82
package Strategy.strategy2.car; public interface Driveable { void drive(); }
13.666667
31
0.731707
3dfdc9e22725c463eace05d29e5a5c0146331d0a
9,750
package org.teherba.jtc.math; /* Fractions of integers * Java Training Course example file * @(#) $Id$ * 2017-11-07: revised in Bekasi * 2017-09-23, Georg Fischer * * Copyright 2017 Georg Fischer <dr.georg.fischer at gmail.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not...
31.967213
112
0.570667
6219a76a7134e1288b299400e72d887a6d811f92
15,978
package com.redroundrobin.thirema.apirest.controller; import com.redroundrobin.thirema.apirest.models.postgres.User; import com.redroundrobin.thirema.apirest.models.postgres.ViewGraph; import com.redroundrobin.thirema.apirest.service.postgres.UserService; import com.redroundrobin.thirema.apirest.service.postgres.ViewG...
37.683962
99
0.554825
0d1ea18f41b907cf179c502558b26b674ef82d35
1,355
package ch.scheitlin.alex.maven; import org.junit.Assert; import org.junit.Test; public class MavensurefireTestTest { @Test public void testClassToFullPath() { // assign variables with test data String testClass = "com.example.Class"; String expectedFullPath = "src/test/java/com/exampl...
29.456522
81
0.670849
f92d672c6d4da08df202f4d38b54e5822554d57c
2,334
package io.odpf.firehose.sink.blob.proto; import com.github.os72.protobuf.dynamic.DynamicSchema; import com.google.protobuf.Descriptors; import io.odpf.firehose.sink.blob.TestProtoMessage; import org.junit.Test; import static org.junit.Assert.*; public class KafkaMetadataProtoMessageUtilsTest { @Test public...
48.625
147
0.802057
eec5e12bdb11bcad318cfacd72244d7e0a729b61
189
package info.xiantang.jerrymouse.core.lifecycle; public interface LifeCycle { void init() throws Exception; void start() throws Exception; void destroy() throws Exception; }
18.9
48
0.73545
31568de877acd50ca15f946f25dca596a0cabac9
2,526
/* * ********************************************************************************************************************* * * blueMarine II: Semantic Media Centre * http://tidalwave.it/projects/bluemarine2 * * Copyright (C) 2015 - 2021 by Tidalwave s.a.s. (http://tidalwave.it) * * *****************************...
42.813559
120
0.536025
21a72a8686193cefaf89a9ef06b39dda4199dec9
972
package org.lumi.chapterfourandfive.controlstatements.parttwo; import java.util.Scanner; /** * Created by John Tsantilis * (i [dot] tsantilis [at] yahoo [dot] com A.K.A lumi) on 22/3/2017. */ public class BarChartPrintingProgram { public static void main(String[] args) { int count = 5; Scanner...
23.142857
73
0.492798
50664eef323453b5cb2dc526a514f0f66305c271
2,561
/* ******************************************************************************************************* Copyright (c) 2015 EXILANT Technologies Private Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal i...
33.697368
108
0.672784
8e2ba75d70500ed398d018c8777e702f10cdec0d
4,804
package us.ihmc.robotics.math.filters; import javax.vecmath.Vector2d; import us.ihmc.robotics.dataStructures.registry.YoVariableRegistry; import us.ihmc.robotics.dataStructures.variable.DoubleYoVariable; import us.ihmc.robotics.geometry.FrameVector2d; import us.ihmc.robotics.math.frames.YoFrameVariableNameTools; impo...
43.672727
225
0.788926
c9340a3683f3f6be307063ca54b7110688adf562
1,313
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.avs.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import java.ut...
34.552632
83
0.728104