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
30187e5c8fa2a8053433d9a2b81fc371a05f8cef
5,710
/* Copyright (c) 2016 OpenJAX * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distr...
35.246914
239
0.686865
ac3b839caad1f1461d8998d4097927cad97044b5
1,590
package fwcd.sketch.view.tools; import java.util.function.Consumer; import javax.swing.ImageIcon; import fwcd.fructose.EventListenerList; import fwcd.fructose.Option; import fwcd.fructose.function.Subscription; import fwcd.fructose.geometry.LineSeg2D; import fwcd.fructose.geometry.Vector2D; import fwcd.fructose.swin...
28.909091
98
0.769811
8807ae2496566d7eb2bc1711d4d560b268ff618a
8,527
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
39.294931
128
0.611939
1ce8b17e9307776deff4b23e79b9f5f8467b62de
2,308
package de.icw.util.collect; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import lombok.EqualsAndHashCode; import lombok.ToString; /** * Default implementation of {@link PartialCollection} based on {@link ArrayList}. * <h...
29.21519
108
0.652946
85da1230f857bc451ef34a20162a1a370172eb0e
5,108
import java.util.HashSet; import java.util.Set; import java.util.Stack; /** * The class is used for recording the status of the player, * including the current location, the caught Poke�ons, the number of Poke balls and the path visited. * @author SNYMac * */ public class Player implements Cloneable{ private C...
24.557692
103
0.659945
afd6b99be07e0f9c62fc57e72cb438aee9391065
2,195
package com.lixuemin.mock.event; /** * @program: bwol-icll * * @description: 学习详情 * * @author: lixuemin * * @create: 2021-05-07 **/ public class LearningDetailEvent { private String resCode;//资源编码 private Integer resType;//资源类型 private Long optTime;//操作时间 private String ansOption;//作答选项 pri...
21.105769
60
0.642825
048ae5f73b10432da864d62f390b5c4a421a1bab
415
package com.loveplusplus.update.sample; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; public class ExitActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //setContentView(R.layout.activity_exit); ...
23.055556
53
0.783133
367c53fb1b0e73e929cd8c7d778a64a397841861
1,441
/** * */ package august_leetcode_challenges; /** * @author PRATAP LeetCode 303 * */ public class Day16_RangeSumQueryImmutable { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } } class NumArray { int tree[]; int newArr[]; public NumArray(int[] n...
20.295775
63
0.590562
f53b69af19eab25fb3db3e07c552a0e7792b1070
2,031
package onethreeseven.common.util; import org.junit.Assert; import org.junit.Test; import java.time.LocalDateTime; import java.time.temporal.ChronoUnit; /** * Testing parsing date/time using {@link TimeUtil}. * @author Luke Bermingham */ public class TimeUtilTest { @Test public void parseDate1() throws Ex...
35.631579
79
0.67356
9ea0169ff6884c33a945edd60ebb1e8c67b2cc69
4,635
package android.preference; import android.MobialiaUtil; import android.Res; import android.content.Context; import android.content.SharedPreferences; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.InputElement; import com.google.gwt.dom.client.SelectElement; import com.google.gwt.user.cli...
37.08
140
0.759008
9db481ba01c3e83cba317404f796127fe365a995
739
package dev.utils.app.assist.floating; import android.app.Activity; import android.view.View; import android.view.ViewGroup; /** * detail: 悬浮窗辅助类接口 * @author Ttt * <pre> * {@link FloatingWindowManagerAssist2} 所需接口方法 * </pre> */ public interface IFloatingActivity { /** * 获取悬浮窗依附的 Activity * @r...
18.948718
60
0.631935
d0dde68a1d5d17ac47f1626988b384908ab36eb6
600
package com.baidu.beidou.navi.server.processor; import com.baidu.beidou.navi.server.callback.Callback; import com.baidu.beidou.navi.server.vo.NaviRpcRequest; import com.baidu.beidou.navi.server.vo.NaviRpcResponse; /** * ClassName: NaviRpcProcessor <br/> * Function: Navi Rpc处理单元接口 * * @author Zhang Xu ...
23.076923
85
0.645
6b5aeced26cf509e066ffdeac2543bdb848203d8
386
package com.google.android.gms.internal.ads; import android.webkit.JavascriptInterface; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ final class zzajx { private final zzake zzdgp; private zzajx(zzake zzake) { this.zzdgp = zzake; } @JavascriptInterface public fina...
21.444444
69
0.681347
fb3c4ffbc93ad0b47b5be5dbb68fbca835f95d9f
1,702
package com.ibcio; import java.io.IOException; import java.nio.CharBuffer; import java.util.HashMap; import java.util.Map; import java.util.Set; public class WebSocketMessageInboundPool { //保存连接的MAP容器 private static final Map<String,WebSocketMessageInbound > connections = new HashMap<String,WebSocketMessageInbound...
27.901639
119
0.708578
dadd1e9a4f7a2d072e4fee84793e1ad533cc78b3
564
package cn.yuanye1818.func4a.test; import android.Manifest; import cn.yuanye1818.func4a.core.hero.Hero; import cn.yuanye1818.func4a.core.permission.PermissionFunc; public class PermissonChecker { public static final int CHECK_STORE_FILE = 0; public static final String CACHE_CHECK_STORE_FILE = "permission_c...
28.2
87
0.748227
eb28d8e279c102eb213538a0c2d5fb8c1961f7db
1,008
/* * Copyright 2015-2018 Micro Focus 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...
30.545455
75
0.712302
17f996d3fae39abc2dd0fac77a61a229e79faff3
413
package edu.uniandes.tsdl.mutapk.selector; public class SelectorAmountMutants extends SelectorType{ private final int amountMutants; public SelectorAmountMutants(boolean isConfidenceInterval, boolean isAPK, int totalMutants, int amountMutants) { super(isConfidenceInterval, isAPK, totalMutants); this.amount...
22.944444
113
0.794189
c66f78f0d7ca56fb568013294bea8e091510f0fa
1,640
/* * Copyright 2007 skynamics AG * * 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 applic...
29.818182
86
0.712805
241a0ef722a55bfe0892c96f474eff80f1e92c71
3,479
package com.example.musicplayerdome.main.other; import android.util.Log; import com.example.musicplayerdome.abstractclass.MvContract; import com.example.musicplayerdome.bean.BannerBean; import com.example.musicplayerdome.main.bean.MvSublistBean; import io.reactivex.Observer; import io.reactivex.android.schedulers.An...
32.212963
79
0.479736
8261068770b62907814406dfb7a8fcaed3216ccb
6,942
/* * #%L * SCIFIO fork of the Java Advanced Imaging Image I/O Tools API Core. * %% * Copyright (C) 2008 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms...
34.71
79
0.648228
1895add96fadcbe167cf96ed6ff7160bf6048dc5
587
package com.google.android.gms.internal.ads; public final class zzbjs implements zzdti<zzcjz<zzams, zzcla>> { /* renamed from: a */ private final zzbjn f25424a; /* renamed from: b */ private final zzdtu<zzclc> f25425b; public zzbjs(zzbjn zzbjn, zzdtu<zzclc> zzdtu) { this.f25424a = zzbjn;...
26.681818
89
0.635434
0ca196d1f36d2867afd39fa18273190272ad8993
4,692
/* * 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 model.character.skill; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringPr...
33.514286
80
0.696718
5dc037184fdafc7066629442dc0ce76f732b1eab
303
package com.robinjonsson.dwquartz.triggers; import com.robinjonsson.dwquartz.AbstractJob; import java.util.Set; import org.quartz.Trigger; public interface CustomTriggerBuilder { boolean canBuildTrigger(final AbstractJob job); Set<? extends Trigger> buildTriggers(final AbstractJob job); }
21.642857
64
0.79868
69e099b146f6916671847ea6942f5b62241d6bd3
2,885
package com.wix.restaurants.availability; import java.util.Calendar; import java.util.Iterator; class TimeWindowsIterator implements Iterator<Status> { private final WeeklyTimeWindowsIterator regularIt; private final DateTimeWindowsIterator exceptionsIt; private Status regularStatus; private Status exc...
33.546512
99
0.721317
247914dcbaeca6187bc92d26e42b96ca427d6eca
690
package com.bdccryptotrader; import android.os.Bundle; // required for onCreate parameter import org.devio.rn.splashscreen.SplashScreen; // required for react-native-splash-screen >= 0.3.1 import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { @Override protected void onCrea...
28.75
98
0.756522
4329bde3334f67a8817ac617750a79c3b1afd434
2,278
//package com.springboot.aop.aspect; // // //import org.aspectj.lang.JoinPoint; //import org.aspectj.lang.ProceedingJoinPoint; //import org.aspectj.lang.annotation.After; //import org.aspectj.lang.annotation.AfterReturning; //import org.aspectj.lang.annotation.AfterThrowing; //import org.aspectj.lang.annotation.Around;...
30.783784
124
0.686128
6bf0a4344ec92536df4d63aca4788509328d579b
1,958
/** * */ package cn.ancono.math.geometry.analytic.space; import cn.ancono.math.numberModels.Calculators; import cn.ancono.math.numberModels.api.RealCalculator; /** * A tool for spaceAG. * @author liyicheng * */ public final class SpaceAgUtils { /** * Returns the angle of {@code ��AOB} * @param A ...
28.794118
123
0.538304
994004adacad3d68cec25eabfcd34dfb350ae0db
11,217
// Copyright 2018 The Bazel Authors. All rights reserved. // // 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...
34.835404
100
0.683338
1b5e3160ddf3159d34c369da8ef7f0b94e660316
12,533
package com.yyl.service; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.hibernate.Query; import org.hibernate.SQLQuery; import org.hibernate.Session; import org.hibernate.transform.Transformers; import org.springframework.stereotype.Service; import org.springfra...
28.484091
406
0.680124
2f5810c991bbd7bfd7f8f1b9c7d5e7c230394189
2,176
package daikon.inv.filter; import daikon.VarInfo; import daikon.inv.Invariant; import java.util.regex.Pattern; import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.regex.qual.Regex; /** * A filter that filters out invariants that contain derived variables of a specified der...
33.476923
101
0.705882
df5fb2556ec84002a252b1cd4ba35b91305af0d2
1,275
package fs.command; import fs.App; import fs.Disk; import fs.util.StringUtils; import java.io.IOException; /** * * @author José Andrés García Sáenz <jags9415@gmail.com> */ public class PrintFileContentCommand extends Command { public static final String COMMAND = "cat"; @Override public void exec...
22.767857
89
0.552157
fc7c7451b03741d5aff0b6d232c0e1f8f6d6e929
2,582
/* * Copyright 2014-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
36.366197
89
0.745159
bd01aca1fec18c99cecfd3a76dcadb126df0cc7a
258
package com.hjg.base.util.log.file; import java.io.File; /** * Created by pengwei on 2017/3/30. */ public interface LogFileEngine { void writeToFile(File logFile, String logContent, LogFileParam params); void flushAsync(); void release(); }
18.428571
75
0.705426
19081f003416700d797929610b02685fdc9b68b3
1,543
package eu.sanjin.kurelic.cbc.view.aspect; import eu.sanjin.kurelic.cbc.business.services.CartService; import eu.sanjin.kurelic.cbc.business.viewmodel.cart.CartItems; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.spri...
34.288889
122
0.747894
06234c8585452373f85586eabc5e3a6c78010de7
1,552
package org.springframework.remoting.caucho; import org.springframework.aop.framework.ProxyFactory; import org.springframework.beans.factory.FactoryBean; import org.springframework.lang.Nullable; /** * {@link FactoryBean} for Hessian proxies. Exposes the proxied service * for use as a bean reference, using the sp...
25.866667
102
0.762887
c80770c5f1387d4805355bfbfb29e6b817dd3810
2,982
package com.java.parkme.controller; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.Resource; import org.springframework.http.HttpHeader...
37.746835
145
0.726023
c5c02c7b06bdd677327bc0d058b6ecf434952e6c
849
package cy.agorise.graphenej; import org.junit.Assert; import org.junit.Test; public class HtlcTest { private final Htlc htlc = new Htlc("1.16.124"); @Test public void testByteSerialization(){ Htlc htlc1 = new Htlc("1.16.1"); Htlc htlc2 = new Htlc("1.16.100"); Htlc htlc3 = new Htl...
31.444444
62
0.63722
d29877ea800620196a892f877177fc4a4a1f2e51
901
//$Id$ package org.hibernate.test.annotations.various; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Version; import org.hibernate.annotations.Index; import org.hibernate.annotations.OptimisticLock; /** ...
16.685185
48
0.72919
55c57d6c53c413c64a997666cb27a3c12e66fbb2
1,324
import java.util.*; public class Bipartite { public int[] color; public boolean[] marked; public LinkedList<Integer>queue = new LinkedList<Integer>(); Bipartite(Graph g,int s) { color = new int[g.V()]; marked = new boolean[g.V()]; for ( int i = 0 ; i<g.V(); i++) { ...
23.642857
100
0.457704
6137d8146f4effba5e7c95f77069e93c610c7361
1,672
package llvmmop.output.combinedaspect.event.advice; import llvmmop.output.MOPVariable; import llvmmop.parser.ast.mopspec.MOPParameters; import llvmmop.parser.ast.type.PrimitiveType; import llvmmop.parser.ast.type.Type; import llvmmop.parser.ast.type.VoidType; public class AroundAdviceReturn { MOPVariable skipAroundA...
23.222222
68
0.616627
5279e4875b3a992ae69ca237e00900af24abb2c0
4,306
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
36.184874
177
0.63725
05334df273888d89c286f39bfb4c6a6711e61875
989
/* * @Description: * @Author: you-know-who-2017 * @Github: https://github.com/you-know-who-2017 * @Date: 2019-12-21 01:25:31 * @LastEditors: you-know-who-2017 * @LastEditTime: 2019-12-21 01:25:31 */ import java.util.*; public class Example15_2 { public static void main(String args[]){ List<String> list...
29.969697
57
0.619818
604949f35ecef5667d769bccd8b3ce4508d67b4c
1,532
package org.springframework.samples.petclinic.ui.view.owner; import com.vaadin.flow.component.ClickEvent; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.data.binder.ValidationException; import com.vaadin.flow.router.BeforeEnterEvent; import com.vaadin.flow.router.BeforeEnterObserver; import com...
30.64
100
0.708877
62aac60aebce58728c88acc251116a7f2c4eaacb
3,660
package features.domain.builders; import features.domain.ParentD; import features.domain.ParentDChildC; import features.domain.ParentDToChildC; import java.util.List; import joist.domain.builders.AbstractBuilder; import joist.domain.builders.DefaultsContext; import joist.domain.uow.UoW; @SuppressWarnings("all") publi...
26.142857
94
0.706831
a8fad6b17f279cef04dabd091f1d87dd4c2d1866
1,767
package com.xxx.pri.domain; import lombok.Data; import cn.hutool.core.bean.BeanUtil; import io.swagger.annotations.ApiModelProperty; import cn.hutool.core.bean.copier.CopyOptions; import javax.persistence.*; import javax.validation.constraints.*; import java.sql.Timestamp; import com.xxx.pri.base.PriBaseEntity; /** *...
29.949153
92
0.691568
930b8dad4222aa23bc729e795ccc08360ec0aac7
2,181
package q450; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * https://leetcode.com/problems/battleships-in-a-board/ * * Given an 2D board, count how many battleships are in it. The battleships...
29.876712
119
0.55204
e6eff475cce28df21bded50607191750b1f8bd58
592
package genepi.io.linkage; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; public class DatFileWriter { private BufferedWriter bw; private boolean first = true; public DatFileWriter(String filename) throws IOException { bw = new BufferedWriter(new Fil...
17.939394
69
0.702703
1eb8b907c2ac806ee96860e158c3019a728a92d4
527
package com.nainai.mobile; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.ServletComponentScan; @SpringBootApplication @MapperScan("com.nainai.mobile.m...
29.277778
68
0.808349
3989133a596ed85a579c367ab65dd126a2691efb
2,618
package pl.agh.wd; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.ResponseEntity; import org.springframework.security.test.context.support.WithMockUser; import pl.agh.wd.contr...
29.41573
93
0.669213
eaf9beacdb1be17732e51297fd43fab0c110ddc0
3,015
/******************************************************************************* * Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands * * This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer). * * ASAPRealizer is free software: you can redistrib...
29.851485
102
0.610282
f35a4adb4789a05f2bb58c9c8496eadccc83ce2b
1,107
package com.dotmarketing.business.cache.provider.hazelcast; import java.text.DecimalFormat; import java.text.NumberFormat; import com.dotcms.cluster.business.HazelcastUtil.HazelcastInstanceType; import com.dotmarketing.business.cache.provider.CacheStats; public class HazelcastCacheProviderClient extends AbstractHaze...
25.744186
82
0.724481
c7ace456ddfa326401b9339c0f945927416c69f4
7,804
package it.unisa.c03.myPersonalTrainer.parameters.service; import it.unisa.c03.myPersonalTrainer.parameters.dao.ParametersDAO; import it.unisa.c03.myPersonalTrainer.parameters.bean.Parameters; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import java.io.IOException; import java.util.ArrayList...
36.297674
112
0.631855
1fbf4cd4c512ba7126f4b6239addc4479aa271aa
1,254
package com.psddev.dari.db; import java.util.UUID; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.github.shyiko.mysql.binlog.BinaryLogClient; import com.github.shyiko.mysql.binlog.BinaryLogClient.AbstractLifecycleListener; import com.google.common.cache.Cache; class MySQLBinaryLogLifecycleListe...
27.866667
104
0.721691
1a1f3aaa1d9413d0fdbd3508db12766a8dd9d282
2,861
/* * Copyright (c) Facebook, Inc. and 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 applic...
36.679487
92
0.706047
cef350208a5d259eb85f4574bcf380cdbb6d439c
192
package net.cuddlebat.skygrid.world; import net.minecraft.world.gen.chunk.OverworldChunkGeneratorConfig; public class SkygridChunkGeneratorConfig extends OverworldChunkGeneratorConfig { }
21.333333
78
0.859375
2cc646a5484d56252fb6c934db1a3adad1da9d58
1,098
/* * Copyright 2017 Artear S.A. * * 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...
27.45
75
0.70765
7c49d183a7600d0575575896474c3044f2d7ee48
5,340
package advent.twenty_seventeen; import advent.common.DailyProblem; import advent.utilities.FileUtilities; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; public class Day20ParticleSwarm implements DailyProblem<Integer, Integer> { private final int part1Answer; ...
31.785714
104
0.472846
d727958a35d128d4efbc184b610660f76a4ef078
2,667
/* * 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")...
48.490909
230
0.745407
1e86900418b9318a0161c881df8c69348c1d0a19
8,464
/* * Copyright 2016 The Netty Project * * The Netty Project 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.org/licenses/LICENSE-2.0 * * Unless ...
40.888889
119
0.633625
291f0cbfd95c69c107cdd959ab6a5e6a482af8cf
574
package view; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.presenter.InjectPresenter; import com.arellomobile.mvp.view.CounterTestView; import com.arellomobile.mvp.view.TestView; import com.arellomobile.mvp.view.TestViewChild2; import presenter.WithViewGenericPresenter; /** * Date: 04.03.2016 *...
22.96
86
0.808362
6d0f8f207db782cc3830a08395972d0c9874d8f1
597
package com.github.sql.builder.criteria; import com.github.sql.builder.model.Column; /** * Represents a <code>is null</code> predicate. * * @author Medhi * */ public class IsNullCriteria implements Criteria { /** * The column to apply the predicate to. */ private final Column column; /** * Constructo...
17.057143
49
0.664992
a8c8b1813935a889700e5ef82dbbdcd5537dc0cf
8,594
package com.comcast.pop.handler.executor.impl.progress.agenda; import com.comcast.pop.api.progress.AgendaProgress; import com.comcast.pop.api.progress.CompleteStateMessage; import com.comcast.pop.api.progress.OperationProgress; import com.comcast.pop.api.progress.ProcessingState; import com.comast.pop.handler.base.pro...
38.711712
161
0.691878
a5f1c48faff5016585eaa3b2febf6e057ce19ab2
12,235
/* * Copyright 2014-2015 Daniel Pedraza-Arcega * * 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 l...
35.057307
180
0.642501
ee2e3eee8481e3fc8b3ff9bedb733f75f1f9c361
30,721
/** * Copyright (C) 2010-2012 eBusiness Information, Excilys Group * * 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 ...
49.1536
189
0.839589
b026a552a82ab0edb29e7169a3c090c823540229
2,297
import arc.util.*; import mindustry.Vars; import mindustry.game.Team; import mindustry.gen.*; import mindustry.mod.Mod; import mindustry.world.*; public class blockPlace extends Mod { @Override public void registerClientCommands(CommandHandler handler){ handler.<Player>register( "place", "<block> <te...
32.814286
167
0.447105
013c8501e53b12f5ca27a35a1a9567f60334f338
2,542
// Copyright (C) 2014 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
35.802817
99
0.709284
c8fa216eb5d6407b228077a4cd548cbe8d427920
774
/* Copyright © 2021, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.sas.ci360.agent.errors; import org.json.JSONObject; public class FailedEvent { private JSONObject event; private int retryCount; public FailedEvent(JSONObject jsonEvent, int retry...
18.428571
77
0.717054
3ed8a4bc1ca72b8b22f265b453ab4101f91b6054
8,134
/******************************************************************************* * Copyright 2012-2019 Phil Glover and contributors * * 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 * ...
43.265957
208
0.719818
1e472d8440061c2e5cd4ee6a7e31f09e4155979b
1,638
package com.societegenerale.commons.plugin.rules; import java.util.Collection; import java.util.List; import java.util.Set; import javax.annotation.Nonnull; import com.societegenerale.commons.plugin.service.ScopePathProvider; import com.societegenerale.commons.plugin.utils.ArchUtils; import com.tngtech.archunit.lang...
44.27027
223
0.795482
53e3cb695469a90a6aa411f7d5ffa4ace39affe6
522
package PackageBusinesses; import java.io.Serializable; import java.util.Set; /** * Interface dos businesses */ public interface IBusiness extends Serializable, Comparable<IBusiness>{ public String getBusID(); public String getName(); public String getCity(); public String getState(); public...
21.75
75
0.67433
bb01c09ca854eb4e5be5580910cd7bc2e1d218b1
2,081
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.policyinsights.generated; import com.azure.resourcemanager.policyinsights.models.AttestationEvidence; import com.azure.resourcem...
47.295455
167
0.699664
a1f61bc1835d6404b756142a034620077b974ae5
792
package br.com.zup.livraria.livraria.controller.form; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import br.com.zup.livraria.livraria.entity.Country; import br.com.zup.livraria.livraria.entity.State; import br.com.zup.livraria.livraria.notation.ItExist; public class Sta...
18.857143
56
0.742424
43ba93ee5c9d458cf32e65a4335d1ef100651bfb
2,540
/* * Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/ * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be ...
35.774648
146
0.78937
a5d39384bef6ac5e5b74764c829e9a96d36871e4
395
package market_store.cards; import market_store.cardholders.Cardholder; public class SilverCard extends Card { public SilverCard(Cardholder cardHolder) { super(cardHolder, CardType.SILVER, 2); } @Override public double finalDiscountRate() { if(this.getTurnover() > 300){ r...
20.789474
46
0.653165
26a321b66aaff7f5cbe4ae4b77524ee3b2f7ac57
353
package com.example.powerincode.popularmovies.network.services; import com.example.powerincode.popularmovies.network.models.genre.GenreList; import retrofit2.Call; import retrofit2.http.GET; /** * Created by powerman23rus on 31.10.17. * Enjoy ;) */ public interface GenreService { @GET("genre/movie/list") ...
20.764706
76
0.753541
101b28b836ee3e8178cc12ae75c65df0922bb208
8,227
package es.deusto.deustotech.capabilities; import android.os.Parcel; import android.os.Parcelable; public class UserMinimumPreferences implements Parcelable { private int layoutBackgroundColor; private float buttonWidth; private float buttonHeight; private int buttonBackgroundColor; private int buttonTextColor;...
25.871069
125
0.778048
f759de445903d0c2b968dea93e1714f1615e546e
9,118
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
39.301724
100
0.655297
ce0b3cb1861a28700bed2e872b925f49710f6682
12,462
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
36.438596
121
0.5922
a85f5bf39e50c1cc88ee257391b72106d96454bf
11,854
/** * Copyright 2011-2012 eBusiness Information, Groupe Excilys (www.excilys.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 * *...
33.485876
146
0.708537
fcfd97ed598519dd5e03f0784b4b7d170d77e854
8,141
/* Copyright (c) 2018, University of North Carolina at Chapel Hill */ /* Copyright (c) 2015-2017, Dell EMC */ package com.emc.metalnx.services.configuration; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.irods.jargon.core.connection.AuthScheme; i...
27.784983
94
0.742169
58cdb888c12277ce11a2c714001a5bf6c6634d15
1,059
package mobile.madridchange.buhon.adapters.beans; import android.widget.ImageView; import android.widget.TextView; /** * Created by omar on 13/11/16. */ public class EventsBaseAdapterBean { private TextView txtName; private TextView txtDescription; private ImageView imagenEvento; public ImageView ...
23.533333
101
0.69594
cb33d773aca71ff2821d50fc2266457354ba97ca
327
package ch.hsr.sai14sa12.blogmicroservice.blog; import ch.hsr.sai14sa12.blogmicroservice.blog.dto.BlogDto; import java.util.List; import java.util.UUID; public interface BlogService { void createBlog(String title, String description, UUID userId); List<BlogDto> getAllBlogs(); BlogDto getBlogById(long ...
20.4375
67
0.767584
f62e6700c41226604d8deb3e0f617551624e5576
1,339
package webflux.cassandra.example.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.cassandra.core.ReactiveCassandraOperations; import org.springframework.ht...
35.236842
116
0.775952
88a2172c48158434883ae19fa4df944194c069da
7,244
package com.autohome.frostmourne.monitor.dao.mybatis.frostmourne.domain; import java.util.Date; import javax.annotation.Generated; public class DataName { @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2020-09-07T18:59:32.979+08:00", comments="Source field: data_name.id") private Long id...
48.61745
155
0.724462
c67fc8febb517df4d5cd8e08e8dba691869f1245
2,049
/* * 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 ...
39.403846
102
0.747194
e9cf3980ea952786778871417af3ae7dabba43b3
2,505
package org.semanticweb.elk.reasoner.saturation.conclusions.classes; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
34.315068
103
0.756886
67d8a937b61bc2cfdd6408ed985e4cc2737b51b1
749
package nl.certificate; import java.io.FileOutputStream; import java.io.PrintStream; import java.security.cert.X509Certificate; import java.util.Base64; public class CertificateWriter { public static final String BEGIN_CERT = "-----BEGIN CERTIFICATE-----"; public static final String END_CERT = "-----END CERTIFICATE...
28.807692
75
0.720961
65640d27206c4e47f1dcdeba558d46f068b8f180
191
package uk.gov.companieshouse.exception; public class DocumentRenderException extends RuntimeException { public DocumentRenderException(String message) { super(message); } }
23.875
63
0.764398
e12ce3f3bad63a94307e65d1d236b5756f2cad35
728
package exam.model.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Enumerated; import javax.persistence.Table; @Entity @Table(name = "categories") public class Category extends BaseEntity { private CategoryName category; private String description; @Enu...
22.060606
60
0.706044
580eda0cdd5c34e3846c0205e2d2b579bf5c9c6f
388
package cn.qumiandan.web.frontServer.games.entity.request; import java.math.BigDecimal; import javax.validation.constraints.NotNull; import lombok.Data; @Data public class AddShareGameOrderParams { @NotNull(message = "订单id不能为空") private String orderId; @NotNull(message = "游戏单价price不能为空") private BigDecimal...
18.47619
58
0.770619
f754e5dc603163b2ae473d6f69cdbb4d5d6465ed
22,975
/* * 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 ...
30.270092
113
0.566877
cb94ca022ee37136d770ffd67f64702141d1e991
18,318
package ui.custom.fx; import javafx.application.Platform; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.geometry.Bounds; import javafx.geometry.Point2D; import javafx.geometry.Rectangle2D; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.Gr...
39.224839
232
0.597281
8b89dc470da2ff1a182e6e978f4b02bd98810778
142
/** * Package that contains all the classes for the UI portion of the export * dialog. */ package io.opensphere.analysis.export.view;
23.666667
74
0.711268
43bc2a21664f9c2d7a75b218cfc3d4fb27c79f35
2,433
package apps.lightrays.raytracer.scene; /** * The Class OpticalProperties. */ public class OpticalProperties { /** The colour. */ public Colour colour; /** The diffusion. */ public double diffusion; /** The luminous. */ public boolean luminous; /** The reflectiveness. */ public double reflectiveness; ...
19.780488
69
0.581998
eeafe120296fb5f06db83bef9b5b600029bb64d9
2,716
package javax.persistence.async; import javax.persistence.FlushModeType; import javax.persistence.LockModeType; import javax.persistence.Parameter; import javax.persistence.TemporalType; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; import java.uti...
29.204301
73
0.67268
af0b9bada66872673899aa38ffc69fc5cb37fb02
968
package designs.UniqueEmails; import java.util.HashSet; import java.util.Set; public class uniqueEmails { public static int numUniqueEmails(String[] emails) { Set<String> uniqueEmails = new HashSet<>(); for(String s:emails){ int indexAt = s.indexOf('@')<0?s.length():s.indexOf('@'); ...
29.333333
140
0.597107
c66a80f0e1d88534cd2d737183df11003929cfca
2,651
package com.mcy.define; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import java.util.ArrayList; import java.util.List; /** * @ProjectName: DefineStudyDemo * @Package: com.mcy.define * @ClassName: DataBaseUtil ...
32.329268
116
0.666541
702da1bf504c2cb0cf24f892a1f98c6a1e447f2d
1,221
package com.packtpub.springrest.inventory.web; import com.packtpub.springrest.inventory.InventoryService; import com.packtpub.springrest.model.Room; import com.packtpub.springrest.model.RoomCategory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; impor...
31.307692
90
0.739558
cec50f60f9e859be4f63b418836cc35019bf2121
3,283
package de.unikoblenz.west.reveal.stackexchange; import java.util.ArrayList; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; public class StackUserParser extends DefaultHandler { public static final String ELT_ROW = "row"; public static final String ATT_I...
34.557895
104
0.731039
fc18ec0e132c4d7c744652b649830515190fae21
2,273
package com.coveo.feign.hierarchy; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.con...
38.525424
99
0.723273