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
bc14e0d13195b923f2a11d50e9b8fcf5cbac6177
710
package eas.com.Exception; import eas.com.entity.ErrorMessage; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; /** * Created by eduardo on 12/7/2016. * * This is a best way to management the exception in JAX-RS * * */ @Provider public class AuthorExcep...
27.307692
133
0.766197
ef3224e4ade7de9dc9da8066c10e91b110b263e3
2,480
/* * Copyright (c) Joachim Ansorg, mail@ansorg-it.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 la...
31.794872
157
0.734274
d697f0c38486c6929c47d9d323da692ecde0b80c
2,191
/* * Copyright 2015 Adaptris Ltd. * * 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 agree...
37.135593
117
0.759471
ffd16304df0fcf1dcc80d68853e85270f067f502
38,604
// 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...
56.687225
320
0.613304
0807eb337b137888d2ad40d810864c1f2dc953e4
1,674
package org.prebid.server.util; import org.apache.commons.compress.utils.IOUtils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.stream.Collectors; /** * This class consists of {@code...
35.617021
115
0.706093
7fa32aa3cbb38b736ba50dc183e88ace43656771
985
/** * @(#)CRTFlags.java 1.4 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.tools.javac.v8.code; /** * The CharacterRangeTable flags indicating type of an entry. */ public interface CRTFlags { /** * C...
28.970588
68
0.739086
19defc5d70d8b7d17baf93973173d7fc538af6a9
3,453
package com.elementary.tasks.notes.editor.layers; import android.graphics.Canvas; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.ItemTouchHelper; /** * Copyright 2017 Nazar Suhovich * <p/> * Licensed under the Apache Lice...
37.129032
166
0.713293
4bbd238db2e4641746a0f449cf40b2cc9057bf07
413
package com.blade.ioc.annotation; import java.lang.annotation.*; /** * Bean annotations can be injected * * @author <a href="mailto:biezhi.me@gmail.com" target="_blank">biezhi</a> * @since 1.5 */ @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Bea...
19.666667
74
0.707022
fca682d1f9338953f8e4513de822c6a71544f3c1
2,740
/******************************************************************************* * * This file is part of iBioSim. Please visit <http://www.async.ece.utah.edu/ibiosim> * for the latest version of iBioSim. * * Copyright (C) 2017 University of Utah * * This library is free software; you can redistribute it and/o...
31.860465
101
0.684307
90943ecdd5032d8d01df7dca2609006f9e0e7111
762
package leetcode; import java.util.Arrays; public class leetcode31 { class Solution { public void nextPermutation(int[] nums) { for (int i= nums.length-1;i>0;i--) { if (nums[i]>nums[i-1]){ Arrays.sort(nums,i,nums.length); for (int j=i;j< ...
26.275862
53
0.380577
a65303832e9a52b5453ca7f5985c8f5da5f20bb8
7,033
/* * Copyright 2019 ukuz90 * * 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...
33.975845
104
0.573155
8cfa3482c2a3dac70afd10456758102fc39f65f7
507
package cn.rui97.ruigou.service.impl; import cn.rui97.ruigou.domain.CommodityExt; import cn.rui97.ruigou.mapper.CommodityExtMapper; import cn.rui97.ruigou.service.ICommodityExtService; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 商品扩展 服务实现类 * ...
24.142857
124
0.792899
f7ac78c55fe2d6c6af8f6febb278e201bf0d3a39
1,384
package com.pubmedknowledgegraph.worker.pubmedknowledgegraph_worker.model.compositekeys; import com.pubmedknowledgegraph.worker.pubmedknowledgegraph_worker.model.db.Article; import javax.persistence.Embeddable; import javax.persistence.ManyToOne; import java.io.Serializable; @Embeddable public class ArticleHistoryKe...
21.968254
88
0.649566
2ecb1e98de1757e3c6e3eacdc86f37202bba4a93
211
package com.lanking.uxb.service.sys.api; import java.util.List; import com.lanking.cloud.domain.yoo.common.Banner; public interface BannerService { List<Banner> listEnable(BannerQuery query); }
17.583333
51
0.744076
d70534e29f69fa8779aa90bfca36a88ac5d9dbaf
11,338
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Fensterbank.ultiMinePlugin.Objects; import org.bukkit.Server; import org.bukkit.plugin.Plugin; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import Fensterbank.ultiMinePlugin.ultiMinePlugin; impo...
42.148699
250
0.587141
e56d502300ceffcd8b64dfcd8253ab771c38a7bf
109
package ch05; public class Car { public static void main(String[] args) { System.out.println("Car"); } }
15.571429
41
0.678899
018e10f2a7d49ff74337c75b88007895b871bfdf
1,912
/* * Copyright 2018-present, Nike, Inc. * All rights reserved. * * This source code is licensed under the Apache-2.0 license found in * the LICENSE file in the root directory of this source tree. * */ package com.nike.epc.model.gid; import static com.nike.epc.util.Validation.notNullOrEmpty; /** * From the sta...
26.191781
97
0.721757
f3e85bfde9236c206ba87a59c5a04012b38bba42
3,771
/*- * #%L * BigDataViewer-Playground * %% * Copyright (C) 2019 - 2021 Nicolas Chiaruttini, EPFL - Robert Haase, MPI CBG - Christian Tischer, EMBL * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redis...
33.371681
121
0.750729
4ade33b243221dbeb80ac9ef1e2859adbecd8aa2
3,453
package com.vmware.spring.workshop.services.facade.impl; import java.util.Collection; import javax.inject.Inject; import org.apache.commons.collections.CollectionUtils; import org.junit.Assert; import org.junit.Test; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.s...
41.60241
124
0.706053
bca89b2146659cfa42acb9ae2c9b70ab64190c8f
3,803
/* * Copyright 2021 Whilein * * 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...
22.502959
111
0.534841
6443f9dde7276f4fa96622aab83ccbd50913d759
497
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.search.models; import com.azure.core.annotation.Fluent; /** * Describes an API key for a given Azure Cognitive Search service that has permissions * for query operations only. */ @Flue...
20.708333
87
0.676056
a8c535b6ff95a7906c84fee2bc55d5b8ee9434c8
3,468
package pl.kania.warehousemanager.services.security.jwt; import com.auth0.jwt.JWT; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.interfaces.Claim; import com.auth0.jwt.interfaces.DecodedJWT; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; impo...
51
137
0.634948
8fe910fe0dce3716296a3385ef6c5c9315257646
38,180
package com.example.tyl.timer.util; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.ArrayList; import java.util.LinkedList; /**数据库工具 * Created by TY...
39.605809
244
0.571922
0dec752102b8524692de8d0d781902e7f233cdfd
615
package com.fasterxml.jackson.databind.node; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.JsonSerializable; import com.fasterxml.jackson.databind.SerializerProvider; impo...
38.4375
147
0.842276
b60da2266d8af03b3123eb8811b8beb97877189e
1,203
package org.folio.marccat.resources; import org.folio.marccat.ModMarccat; import org.folio.marccat.config.Global; import org.folio.marccat.resources.domain.HeadingTypeCollection; import org.springframework.web.bind.annotation.*; import static java.util.Optional.ofNullable; import static org.folio.marccat.integration....
31.657895
86
0.771405
e2e49beea95e967dd6abbd81cbf3753920af7dd1
484
package it.smartcommunitylab.innoweee.engine.repository; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.data.mongodb.repository.Query; import org.springframework.stereotype.Repository; import it.smartcommunitylab.innoweee.engine.model.Catalog; @Repository public interf...
34.571429
77
0.832645
8f2e1609104298d8faafe693e79d5b757ecc6897
6,678
package com.rajpriya.home.utils; import android.app.Activity; import android.app.AlertDialog; import android.bluetooth.BluetoothAdapter; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageMan...
41.7375
159
0.54103
2582ab8acb29d9b23dc677de003567f9f3d2d538
202
package org.omg.zx.globaldefs; /** * Automatically generated from IDL const definition * @author JacORB IDL compiler */ public interface interfaceVersion { java.lang.String value = "V2.02.02"; }
18.363636
53
0.732673
6b485e2382f134df3f9649398c6b5e73a440d4df
146
/* * Copyright (c) 2007, tamacat.org * All rights reserved. */ package org.tamacat.core; public interface Core { String getCoreName(); }
13.272727
34
0.671233
4784d46cc2220ce4a9b8ddbff22f14b7dc49be2d
4,967
package vb.obama; import java.io.File; import java.io.IOException; import org.antlr.runtime.*; import org.antlr.runtime.tree.CommonTreeNodeStream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.rules.TemporaryFolder; import vb.obama.antlr.ObamaChecker; import vb.o...
29.217647
131
0.729011
e2534160397c4d3079fc47de8d13114f0677e8dd
2,712
package org.blockchainnative.quorum.transactions; import org.blockchainnative.ethereum.transactions.EthereumBaseTransactionRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.web3j.protocol.exceptions.TransactionException; import org.web3j.quorum.Quorum; import org.web3j.quorum.tx.ClientTransa...
35.220779
127
0.696903
13fbdf129f37d17c3ed89e5bbd0f974d0978cec8
1,969
package com.elderresearch.commons.rjava.util; import org.apache.commons.lang3.ArrayUtils; import org.rosuda.REngine.REXPMismatchException; import org.rosuda.REngine.REngineException; import com.elderresearch.commons.jri.PackageScope; import com.elderresearch.commons.jri.PackageType; import com.elderresearch.commons.j...
33.948276
102
0.74708
7c3216c38e4539c9ffbf3fca55cbb56abdaa2a51
9,511
package org.ovirt.engine.core.bll; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.concurrent.CopyOnWriteArraySet; import org.ovirt.engine.core.bll.job.ExecutionHandler; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.co...
40.99569
105
0.671433
cb827ce62eef62a585c79c12811c951c640462a8
7,190
package com.imageServer.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.util.ArrayList; import java.util.List; /** * Copyright 2014-2015 the original ql * 文件操作工具类 * * @author qianlong * */ public class FileUtil { private static final Logger log = LoggerFactor...
26.433824
101
0.527538
c5f45b82af6a11c8d595deaa823f6914c77a82c6
3,832
package cc.mrbird.febs.blog.controller; import cc.mrbird.febs.common.annotation.Log; import cc.mrbird.febs.common.domain.FebsConstant; import cc.mrbird.febs.common.domain.FebsResponse; import cc.mrbird.febs.common.domain.QueryRequest; import cc.mrbird.febs.common.utils.FebsUtil; import cc.mrbird.febs.common.controller...
33.321739
115
0.688674
474189cb93e70e600adff54f13b4ab2fc76b25b5
665
package io.github.edwinvanrooij.trackmyfuel.util; import android.content.Context; import com.orhanobut.hawk.Hawk; /** * Author: eddy * Date: 14-1-17. */ public class Preferences { public static void setValue(Context context, String key, Object value) { Hawk.init(context).build(); Hawk.put(key...
22.166667
76
0.622556
f59007c87509dd1acaa69b32f7cadeba23237d08
1,177
package com.example.androidstudiotutorial; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import androidx.appcompat.app.AppCompatActivity; public class HomeActivity extends AppCompatActivity implements View.OnClickListener{ Button btnComp...
31.810811
88
0.650807
a0ac586407f2c50453a009efe2508a91247bd09f
3,964
package me.gaigeshen.wechat.mp.message; import me.gaigeshen.wechat.mp.Config; import org.apache.commons.lang3.Validate; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; import java.io.StringReader; /** * 抽象消息请求 * * @author gaigeshen */ public...
33.59322
141
0.730071
968e0ca6e8a4e9427345d9c8bd878b83eefb32f6
515
package com.japlj.healthydiet.api; import com.japlj.healthydiet.food.FoodParameter; import net.minecraft.item.ItemFood; /* * 栄養素情報が設定された食料 */ public class ItemNutriousFood extends ItemFood { private final FoodParameter param; public ItemNutriousFood(float protein, float carbohydrate, float vitaMine, float satu...
23.409091
109
0.770874
3818631cbdb0aac1576a4d06b9b7394ca2632370
2,765
/* * Copyright (c) 2020. Yuriy Stul */ package com.stulsoft.rxjava.basics; import io.reactivex.rxjava3.core.Single; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; /** * @author Yuriy Stul */ p...
28.505155
92
0.517179
62b2e99b9bad37d92b6d72898329a2f20e6274fe
7,415
package project.pamela.slambench.activities; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.appcompat.BuildConfig; impo...
36.348039
160
0.660283
bee4b0a97c2685eed18f0923ce92707caf9fb533
3,557
package io.github.incplusplus.betterstat.persistence.model; import java.math.BigDecimal; import java.time.LocalDateTime; import javax.validation.constraints.NotNull; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.springframework.data.annotatio...
26.94697
85
0.720832
0609cd8fc6d699dd6f38c44cf20b6aae6d776825
192
package com.solomatoff.jdbc; import org.junit.Test; public class StylizerTest { @Test public void whenStylizerRunTest() { Stylizer.stylizerRun("1.xsl", "1.xml"); } }
17.454545
47
0.651042
5eb4c4d9c0bd1b673c2b663386dd8fdc84cfa219
2,409
package org.mightyfish.openpgp; import java.io.IOException; import java.io.InputStream; import org.mightyfish.bcpg.HashAlgorithmTags; import org.mightyfish.bcpg.S2K; import org.mightyfish.util.io.Streams; /** * Utility functions for looking a S-expression keys. This class will move when it finds a better home! * <...
23.617647
147
0.572437
08cc595bb7eb6f1bf90128529a75cd68b7cecef1
4,682
/* * 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 ...
27.22093
95
0.644383
7282263a311851852ba6bbdb0b95c46f9a9cdcae
3,808
/** * (C) Copyright ParaSoft Corporation 2010. All rights reserved. * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ParaSoft * The copyright notice above does not evidence any * actual or intended publication of such source code. */ package com.github.sdarioo.testgen.recorder.values; import static org.junit.Ass...
33.403509
99
0.639706
605fc0ea019d5db8c3d9f1476d551422f022e4e2
1,009
package com.guosen.zebra.maven.plugin; import java.util.Map; import org.apache.commons.lang3.StringUtils; public final class CommonUtils { private CommonUtils(){ } public static String findPojoTypeFromCache(String sourceType, Map<String, String> pojoTypes) { if(sourceType.equals(".com.guosen.zebr...
32.548387
102
0.70664
e206a232ac55616c75f101e3199b6eee106ae05f
8,829
/* * Copyright 2019 xuelf. * * 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...
32.821561
93
0.557821
f3777a52abbece7c175383e3b0d43f8c5a9dce71
433
package com.ag.testapplication; import android.app.Application; import com.ag.lfm.Lfm; public class TestApplication extends Application { @Override public void onCreate() { super.onCreate(); //Initialize here. Lfm.initializeWithSecret(this); //You can initialize without secre...
22.789474
113
0.692841
f6cb8b3046143bc4bf6aee820e91e6d012a968f2
15,013
/** * 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 m...
42.290141
111
0.64997
c1028101dcb31f304bd6dff38077add2b58ab9c1
364
package com.zerobase.fastlms.course.mapper; import java.util.List; import org.apache.ibatis.annotations.Mapper; import com.zerobase.fastlms.course.dto.CourseDto; import com.zerobase.fastlms.course.model.CourseParam; @Mapper public interface CourseMapper { List<CourseDto> selectList(CourseParam courseParam); long ...
24.266667
53
0.824176
8973bb118375dcaa224efe87d394a02342ff1fb3
2,995
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
35.235294
114
0.722871
4a8e4ccdedab93f3b9a027211698fe157f117509
1,644
package com.tvajjala.web.resource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; impor...
31.018868
100
0.739051
cc2fff1c8ba669158b64e2573eb2b1cad69fc2a3
25,759
package it.polimi.ingsw.server.model.player.board; import it.polimi.ingsw.network.jsonutils.JsonUtility; import it.polimi.ingsw.server.model.*; import it.polimi.ingsw.server.model.cards.DevelopmentCard; import it.polimi.ingsw.server.model.cards.DevelopmentCardColor; import it.polimi.ingsw.server.model.cards.production...
57.497768
135
0.661982
e2398f37dde120b86f1a9f57dc359a924b82fcdb
9,147
package ru.job4j.logic; import org.apache.commons.dbcp2.BasicDataSource; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * @author Alexander Belov (whiterabbit.nsk@gma...
38.758475
120
0.601509
43f722635ff5b170e32ebebd1e3399a6c22404f0
992
package org.usfirst.frc1123.RecycleRushCode.subsystems; import org.usfirst.frc1123.RecycleRushCode.Robot; import org.usfirst.frc1123.RecycleRushCode.RobotMap; import org.usfirst.frc1123.RecycleRushCode.commands.*; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wp...
19.45098
55
0.760081
6b4eb636e8d7f4c89cb1a0014cd794f46ece6db7
6,079
/* * 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 m...
40.258278
80
0.67725
ff92ea2e963a06419444a1ae5d3af5ac1ae0b5fe
706
package io.pckt.restc.contract; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient...
26.148148
73
0.740793
a403c81984c9f3192137738460c406e98ea1983f
4,278
/* * citygson - A Gson based library for parsing and serializing CityJSON * https://github.com/citygml4j/citygson * * citygson is part of the citygml4j project * * Copyright 2018-2019 Claus Nagel <claus.nagel@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this ...
24.586207
101
0.654979
ae5ec41c9360339daed0df5b80b616d7793b942a
5,454
package org.plugins.simplefreeze.managers; import org.bukkit.Bukkit; import org.bukkit.Sound; import org.bukkit.entity.Player; import org.plugins.simplefreeze.SimpleFreezeMain; /** * Created by Rory on 3/2/2017. */ public class SoundManager { private final SimpleFreezeMain plugin; private Sound freezeSoun...
39.521739
155
0.638431
c0b5a9c6dad2681fdb3edb577232683f0fccb9ad
13,007
/* * Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ /* * Calculation * You use the Calculation service for SAP Omnichannel Promotion Pricing in your sales channel application to determine the effective sales prices by applying promotional rules in the relevant customer context. The ...
37.592486
465
0.749212
c1cec467fa8648a232119b14995d1f327a0676c6
1,947
/* * Copyright 2017 Antonio Vieiro (antonio@vieiro.net) * * 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 appl...
35.4
104
0.725218
ece478eb9759e97b475a14d607f57ea021669bda
7,455
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
32.986726
111
0.734406
2a26f0d1e8ecc35aea4b9028323cda72f5c38787
769
package com.javarush.task.task18.task1817; /* Пробелы */ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; public class Solution { public static void main(String[] args) throws IOException { //C:/Users/Dimka/Documents/JavaRushHomeWork/JavaRushHomeWork_2_0/...
21.971429
145
0.616385
9d378f479cd696ddb2278b9707e0d1c4880b7308
3,885
package com.free4lab.webrtc.action.filter; import java.io.IOException; import java.util.HashSet; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse;...
41.774194
143
0.701931
0717ca233099a78347bdcce6919c75ce7bc3a3c2
1,196
package org.gbif.occurrence.download.license; import org.gbif.api.vocabulary.License; import com.google.common.base.Preconditions; /** * Builder type that returns concrete implementation(s) of LicenseSelector. */ public class LicenseSelectors { /** * Return a LicenseSelector implementation that will collect ...
30.666667
114
0.737458
6c9835e8d1b40447f99d8373817858b1e0051e88
2,204
package com.payu.ratel.tests; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import com.payu.ratel.Discover; import com.payu.ratel.context.ProcessContext; import com.payu.ratel.t...
29.386667
92
0.723684
78dd6507e937df786d572f3e13a1dfc1c6f4aa9f
2,010
package it.unive.quadcore.smartmeal.model; import androidx.annotation.NonNull; import java.util.Objects; /** * Classe che rappresenta i prodotti del locale */ public class Product implements Comparable<Product>{ @NonNull private final String name; @NonNull private final Money price; // Categori...
25.769231
122
0.616418
a6fc0cf3f2ac7b93a60c16f242f7febf0c312fc2
145
package fr.javatronic.blog.massive.annotation1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_503 { }
18.125
51
0.827586
f7c1f8fdb792907e59c060a4921f41ef8b5863b5
649
/** * Project "HRUtils-SB" * * @author Victor Kryzhanivskyi */ package victor.kryz.hr.sb.tracing.specific; import java.sql.SQLException; import org.slf4j.Logger; import victor.kryz.hr.sb.tracing.ObjectTracer; import victor.kryz.hrutils.generated.ents.HrUtilsCountriesEntryT; import victor.kryz.hrutils.generated.en...
29.5
92
0.784284
1be6d118bb81ccdef44d596020040f7985563553
704
package com.gentics.mesh.util; import com.google.common.collect.ImmutableSet; import java.util.Set; /** * Various utility functions regarding nodes. */ public class NodeUtil { private static final Set<String> processableImageTypes = ImmutableSet.of( "image/gif", "image/png", "image/jpeg", "image/bmp", // Not ...
27.076923
74
0.725852
2d42f842ba9116c58bc52c3818ad8476abf5a429
1,181
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.layout.service; import java.sql.SQLException; import org.dspace.content.Item; impo...
31.078947
82
0.713802
3944f34a6019d503c63c73a154ec87204ec68454
11,269
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
35.437107
113
0.694915
f8e08c42084c16b7a9cae453accfbc75f596a014
405
package com.todos.webapp.validator; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import com.todos.webapp.models.User; public class UserValidator implements Validator { public boolean supports(Class<?> clazz) { return User.class.equals(clazz); } public void val...
20.25
53
0.77037
b57534cebf85fc81a66c60c0a3a4ab573f93f3a1
31,351
package aitoa.structure; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.util.Map; import java.util.Objects; import java.util.TreeMap; import java.util.function.LongSupplier; import java...
34.989955
90
0.439029
bdc65ff517197ec4e94969ed268ccab4a0d6b7d1
2,341
package FinancialCalc.EvalModules; import FinancialCalc.EvalModule; import FinancialCalc.MenuActionListener; public class NetPresentValue extends EvalModule { private double d_NCF; private double d_INV; private double d_Result; private static final int FIELD_NCF = 0; private static final int FIEL...
20.008547
77
0.512601
263bde15522ce35e7ad6f88a06b616354d29d939
316
package com.zyplayer.doc.data.service.manage; import com.zyplayer.doc.data.repository.manage.entity.UserGroup; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 用户组 服务类 * </p> * * @author 暮光:城中城 * @since 2021-02-08 */ public interface UserGroupService extends IService<UserGroup> { }
18.588235
64
0.734177
aade0c55d9b2fceb0685ebaa7652ca49ecbb9132
15,300
/* * Copyright @ 2017 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
31.677019
114
0.706928
98b5e3805803d5dbbb4518873a0c4bf1e709d199
444
package vini2003.xyz.bodyshuffle.registry.client; import net.fabricmc.fabric.api.client.screenhandler.v1.ScreenRegistry; import vini2003.xyz.bodyshuffle.client.screen.BodyPartSelectorScreen; import vini2003.xyz.bodyshuffle.registry.common.BodyShuffleScreenHandlers; public class BodyShuffleScreens { public static voi...
37
101
0.851351
d5325ac43c85fdf4d277cbc0e2f1bb243ddce8d7
4,656
package com.mohsenoid.androidutils.location; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.location.LocationProvider; import android.os.Bundle; import android.util.Log; public class LocationHelper { ...
32.333333
81
0.587414
bb9becaa537a7a0ff2be9601804cfb62833dd6dd
5,432
package de.unistuttgart.vis.vita.persistence; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import javax.persistence.Query; import org.junit.Test; import de.unistuttgart.vis.vita.data.EntityRelationTestData; import de.unistuttgart.vis.vita.data.PersonTestData; import de.unist...
34.379747
94
0.74908
b0fee0bdbebad042d5c28c516589b6ce2224a0fb
144
package com.major94.TetrisX.input; public interface StandardInput { public boolean isClicked(Key key); public boolean isPressed(Key key); }
18
35
0.784722
30ea51f2643f29839a9db14e8d6e3b866fffb716
3,716
package com.sdl.selenium.extjs3.form; import com.sdl.selenium.extjs3.ExtJsComponent; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.form.IField; import com.sdl.selenium.web.form.ITextField; import com.sdl.selenium.web.utils.MultiThreadClipboardUtils; import ...
29.03125
117
0.616254
9872c7ba717c1761141be67a1d342446ec76b35f
2,395
/* * Copyright 2017-2020 original 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 applicable law or agr...
35.220588
123
0.715658
e50a2c8fb6bcb5635dc0ed26e4e2d5ef1a66bf17
2,033
/* * $Id$ */ /* Copyright (c) 2000-2003 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
37.648148
78
0.765371
8c6fecab60841d98ca63e47f7856588c0292e95c
992
package org.dwcj.panels; import com.basis.bbj.proxies.sysgui.BBjWindow; import com.basis.startup.type.BBjException; import org.dwcj.App; import org.dwcj.Environment; /** * This class represents a div container, which behaves as a panel and * can be styled and hold other divs (panels) and controls */ public final c...
26.810811
194
0.654234
a29c4abe63b2b6479562236d3915c8dd1096d1df
274
package com.south.worker.ui.user_info; import com.bumptech.glide.annotation.GlideModule; import com.bumptech.glide.module.AppGlideModule; /** * 描述 : * <p> * 作者 :Created by DR on 2018/6/15. */ @GlideModule public class MyAppGlideModule extends AppGlideModule { }
17.125
54
0.733577
c9710784ca8919cbc7fbc3325af588ea47746686
6,995
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
40.668605
141
0.75025
8fff2bd9c0cbae79c70d0f818de540fd50acca58
6,577
package com.chimericdream.minekea.block.furniture.seating; import com.chimericdream.minekea.ModInfo; import com.chimericdream.minekea.compat.ModCompatLayer; import com.chimericdream.minekea.util.MinekeaBlockCategory; import net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry; import net.fabricmc.f...
33.385787
96
0.585221
039592d9df981cc9c5b296c7593931cf77433993
3,073
package com.movetogbg; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android.widget.RelativeLayout; import android.widget.Sp...
32.010417
141
0.665148
e591bfbfaa35660632076403669b4f7fecb6efe7
951
package com.chat.zipchat.clone; public class UserRegister { private String id; private String name; private String mobile_number; private String profile_url; private String status; public String getId() { return id; } public void setId(String id) { this.id = id; }...
18.647059
56
0.616193
6ff31664e502ddc5c8d464e9d93fa5eec7ea37e0
867
package com.detroitlabs.katalonmobileutil.component.mobile; import com.detroitlabs.katalonmobileutil.component.TwoStatePressableComponent; import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords; import com.kms.katalon.core.model.FailureHandling; import com.kms.katalon.core.testobject.TestObject; /** * Mobi...
37.695652
118
0.811995
fdd23fbe91dd3fa61f7685679fb75f0e4a03ae59
265
package com.xuchg.dao; import java.util.List; import com.xuchg.base.dao.BaseDAO; import com.xuchg.vo.ConnectVO; public interface ConnectDAO extends BaseDAO<ConnectVO>{ /** * 查找是否重名 * @param name * @return */ List<ConnectVO> findByName(String name); }
15.588235
55
0.720755
63107161dd31f14ed366f0ec515fd904c7e6e135
4,558
package com.machinestalk.android.utilities; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.Resources; import android.net.ConnectivityManager; import android.n...
28.848101
107
0.735849
de7995053b310b1f8382d21212ae39ee98d74229
1,588
/* * ----------------------------------------------------------------------- * Copyright 2013 - Alistair Rutherford - www.netthreads.co.uk * ----------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
29.962264
76
0.661839
b48859e6415a9dccdf17921adeb4c4421ad09967
19,128
/* * The MIT License * * Copyright 2019 Tom. * * 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, mer...
26.383448
150
0.593632
84430331cdf62f5d6e94160234053ce8d363d794
928
package com.buddy.sdk; import java.io.File; import java.io.InputStream; public class BuddyFile { File file; InputStream stream; String contentType; public BuddyFile(File file, String contentType) { if (file == null || contentType == null) throw new IllegalArgumentException(); this.co...
21.090909
88
0.607759
30fbeb9dbf65c4008365bb4e5d7d29444633b9c8
153
package mp.jprime.rest.v1; /** * Урлы базовых контроллеров */ public final class Controllers { public static final String API_MAPPING = "api/v1"; }
17
52
0.718954
8a4e1aaff764d151305860cc07219c4f0523bcbf
4,314
package eu.scape_project.planning.application; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.annotation.PreDestroy; import javax.enterprise.context.ContextNotActiveException; import javax.enterprise.context.ConversationScoped; import javax.enterprise.inject.Alternative; imp...
26.304878
117
0.605471
aa4bff7fe6d95beb97f9a75e74cb7b9fcefcef2f
1,306
package com.tinkerpop.pipes.util.structures; import com.tinkerpop.pipes.util.AsPipe; import com.tinkerpop.pipes.util.FluentUtility; import com.tinkerpop.pipes.util.MetaPipe; import java.util.HashMap; import java.util.Map; /** * The current object at a named step in a PipesFluentPipeline can be accessed via AsMap. ...
31.095238
93
0.692956