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
ee08094fb54baab50557dc7e0adee5db9c6e3cc3
6,213
/** * Copyright (c) 2003-2010, Xith3D Project Group all rights reserved. * * Portions based on the Java3D interface, Copyright by Sun Microsystems. * Many thanks to the developers of Java3D and Sun Microsystems for their * innovation and design. * * Redistribution and use in source and binary forms, with or wi...
33.403226
126
0.649928
dba0e2be7669e5bb3dc70b1822ac652293ff82b2
172
package com.intellij.openapi.actionSystem; /** * Analogue of ToggleAction for option popups * * @author Konstantin Bulenkov */ public interface CheckedActionGroup { }
17.2
45
0.761628
655f9d60603831895027a70f50449f6c6730d594
420
package me.doggy.app.ui.main; import android.content.Context; import android.util.AttributeSet; import android.view.View; import androidx.annotation.NonNull; import com.google.android.material.appbar.AppBarLayout; public class FixedAppBarLayoutBehavior extends AppBarLayout.ScrollingViewBehavior { public FixedA...
22.105263
83
0.795238
5101a6ac5e54296db170f8e881b8f7595c7beb96
709
package com.artifex.mupdf.fitz; public class Font { private long pointer; protected native void finalize(); public void destroy() { finalize(); pointer = 0; } private native long newNative(String name, int index); private Font(long p) { pointer = p; } public Font(String name, int index) { pointer ...
17.292683
60
0.692525
623099dec0a90c6cb34246aebabd3a2e3055ca93
5,063
/* * Copyright 2016 Code Above Lab LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
31.253086
93
0.619988
3a60df4e7f6c23523c3986f8ab20c4f42161eb69
1,803
package jnc.foreign; import javax.annotation.Nonnull; import jnc.foreign.spi.ForeignProvider; @SuppressWarnings("PublicInnerClass") public interface Platform { @Nonnull static Platform getNativePlatform() { return ForeignProvider.getDefault().getPlatform(); } @Nonnull String getLibcName(...
21.211765
60
0.549639
3597d81e2ee52e212bb0e372ddaf022e9d0dce07
1,470
/* * Copyright 2019 Patrik Karlström. * * 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...
32.666667
79
0.715646
ec9bd20b51f35013c214f30abf22381e2a380cb5
1,558
package com.tami.vmanager.entity; import com.tami.vmanager.http.HttpKey; import java.io.Serializable; /** * Created by Tang on 2018/7/4 * 客户端请求 向服务器传递参数 */ public class SearchRequestBean extends MobileMessage implements Serializable { private static final long serialVersionUID = 4465853287643258883L; /*...
18.771084
78
0.619384
954d18ac9feeff6920040d7d794672f8d2b083cc
298
package com.hp.autonomy.frontend.find.hod.export; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest(classes = HodCsvExportController.class, webEnvironment = SpringBootTest.WebEnvironment.NONE) public class HodCsvExportControllerTest extends HodExportControllerTest { }
37.25
108
0.855705
325e7510899951b57fc8dbdef47cca82744e6792
28,254
/* * Copyright 2016-2017 Fukurou Mishiranu * * 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 agr...
34.205811
116
0.548489
d57416a9a7e172c7e79952df47217b190ae7df4c
4,577
/** * Copyright (c) Dell Inc., or its subsidiaries. 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 */ package ...
40.149123
102
0.697837
2c9cf94c4e3f5d1c4709227da89e154522fe8d37
837
package section.catalog.creational.af; import section.catalog.creational.AppConfig; import java.util.Objects; public class ApplicationConfiguration { public static void main(String[] args) throws Exception { GUIFactory factory; AppConfig config = readApplicationConfigFile(); if (Object...
24.617647
68
0.62724
3ac7eb545445e1fc2cf98911546dd1978ed46987
2,683
package controllers.calevent; import play.data.validation.ValidationError; import java.util.ArrayList; import java.util.List; /** * Backing class for the Calevent data form. * Requirements: * <ul> * <li> All fields are public, * <li> All fields are of type String or List[String]. * <li> A public no-arg constru...
23.12931
73
0.725307
8fcb2bc04332916639888b0068e8753fc0c9b1f7
1,392
package examples.hibernate.domainmodel.attributeconverter; import javax.persistence.AttributeConverter; import javax.persistence.Convert; import javax.persistence.Converter; import javax.persistence.Entity; import javax.persistence.Id; import lombok.Getter; import lombok.Setter; class AttributeConverter_1 { @Entity...
18.56
61
0.670977
fc2f24b855c6312c1c06e0b25c4fd5cd10c13d3c
3,196
/* * Copyright 2016 higherfrequencytrading.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 applicabl...
31.96
137
0.700876
fe0f2f46c4f51f368858250eeaeee1b98f56ae0e
95
package lists.chap10.list10_03; public class Inn { void checkIn(Hero h) { h.hp = -100; } }
13.571429
31
0.663158
5b637d31c04d09f73b96d2db67b2a163be81c989
3,425
package com.ewell.core.server.os; import com.ewell.common.GatewayConfig; import io.netty.channel.Channel; import io.netty.channel.EventLoopGroup; import io.netty.channel.ServerChannel; import io.netty.channel.epoll.EpollEventLoopGroup; import io.netty.channel.epoll.EpollServerSocketChannel; import io.netty.channel.epo...
33.910891
98
0.641168
1ac07fa4b59ee1f298b56a7492b51b88bb158e66
1,268
package com.baomidou.mybatisplus.samples.assembly.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.samples.assembly.entity.User; import com.baomidou.mybatisplus.samples.assembly.service.IUserService; import org.slf4j.Logger; import org.slf4j.LoggerFa...
31.7
116
0.731073
14585dd3abf90fb09a2c0229b2cd2d996fe219a8
3,858
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 钱包中地铁票购票,获得核销码,线下地铁自助购票机上凭核销码取票,购票确认 * * @author auto create * @since 1.0, 2019-10-10 16:30:39 */ public class AlipayCommerceCityfacilitatorVoucherConfirmModel extends AlipayObject...
18.198113
85
0.666407
eb096cd41366073fec25b51bbfbb257c9c3ce7e5
10,107
package org.motechproject.newebodac.service; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import java.io.IOException; import java.io.InputStreamReader; import java.time.LocalDate; import java...
39.480469
99
0.699416
245dae90da7654d85cb3442f50fd95935db40709
138
public int diff(int x, int y) { if (!same(x, y)) { return Integer.MAX_VALUE; } return calcWeight(y) - calcWeight(x); }
23
41
0.572464
13c45c99304d83611fe100f4972d68ff416c618d
9,455
/* Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free So...
29.272446
108
0.651296
d50fb03856bfcac810d8fa622dec0b78d3d3af3c
84
package com.nzt.gdx.test.trials.st.utils.pools; public class ClassPoolPoolable { }
16.8
47
0.785714
9da6cf942f498c635ad56efc5a0e9b399fe54081
629
package ct.common.code; import org.apache.log4j.Logger; /** * Boiler plate startup class similar to Basic Startup * @author nikhil * */ public class NonSpringExample1Startup { private static final Logger log = Logger.getLogger(NonSpringExample1Startup.class); public static void main(String[] args) { /* ...
20.290323
83
0.72814
80c64b39b09aed0ae9c451989a531199039ca149
3,583
package io.github.PheonixVX.ThreeDShareware.gui.screen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.render.BufferBuilder; import net.minecraft.client.render.Tessellator; import net.minecraft.client.render.VertexFormats; import net.minecraft.cl...
29.61157
95
0.681831
367b051ad7a58835ed72d2b6d2d6adf2cf45aca8
1,655
package com.eegeo.mapapi.rendering; import android.support.annotation.UiThread; import android.support.annotation.WorkerThread; import com.eegeo.mapapi.EegeoMap; import com.eegeo.mapapi.bluesphere.BlueSphere; import com.eegeo.mapapi.util.NativeApiObject; import java.util.concurrent.Callable; /** * @eegeo.internal ...
28.534483
81
0.649547
b00bd8cb096243437fe1e58b67406ae0fb581684
1,155
import javafx.concurrent.Service; import javafx.concurrent.Task; import sun.awt.Mutex; class MyRun implements Runnable { @Override public void run() { System.out.println("my runnable"); } } class MyThread extends Thread { @Override public void run() { System.out.println("my thread"...
15.608108
54
0.527273
c8804182ea8fbc09dc5a9b45ed484b6ecb5d1ca5
2,740
package com.rapidcassandra.Chapter04.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.Level; import j...
28.842105
82
0.689416
93593511b269322ca2927422cc36526e989363cb
2,611
package org.metaborg.spoofax.core.stratego.primitive; import org.apache.commons.vfs2.FileObject; import org.metaborg.core.build.paths.ILanguagePathService; import org.metaborg.core.context.IContext; import org.metaborg.core.project.IProject; import org.metaborg.core.project.IProjectService; import org.metaborg.core.re...
44.254237
122
0.737265
8bd02b0c3daa36f7fad09963882a08cfe3903ace
840
package br.unb.cic.dojo.bowling; import java.util.ArrayList; import java.util.List; public class Processador { public int[] lista; public static List<Frame> processa(int[] jogadas) { List<Frame> lista = new ArrayList<Frame>(); if(jogadas.length ==0) return lista; Frame f = new Frame(); fo...
16.153846
55
0.567857
716070945a0b91baf1130c28243251c99feb2ee6
1,491
package io.github.chenshun00.web.util; import com.alibaba.druid.pool.DruidDataSource; import io.github.chenshun00.ioc.InitTest; import io.github.chenshun00.ioc.annotation.Bean; import io.github.chenshun00.ioc.annotation.Configuration; import io.github.chenshun00.ioc.bean.aware.Environment; import io.github.chenshun00....
33.886364
83
0.733065
3b7fe7e32a1dad9d8aa19261c3b5e4480a759835
5,665
/* * Copyright 2011 Red Hat inc. and third party contributors as noted * by the author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
43.914729
184
0.652074
173e2dc9ac81a42870c618830647bc38574b4e56
852
package com.azhar.rajaongkir.data.cost; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.io.Serializable; /** * Created by Azhar Rivaldi on 25-12-2020 */ public class DataCost implements Serializable { @SerializedName("value") @Expose public Int...
18.12766
50
0.629108
010f493a5dba587a9ec20f7bbb24673d3abaa573
2,191
package eu.sblendorio.easysaxon.test; import eu.sblendorio.easysaxon.SaxonFacade; import eu.sblendorio.easysaxon.XsltBundle; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.file.Paths; import java.util.Collections; import java.util.Map; import java.util.TreeMap; import junit.framework...
35.918033
113
0.677773
60a2383f02b517afb9b2b5a71b31f1edd5f6ebfb
159
package babroval.eec_iv.dao; import java.io.InputStream; import java.util.List; public interface Dao<T> { List<T> loadAll(InputStream csvFile); }
15.9
39
0.716981
ebf820971ab8b7c8072ed9697c8e9c5b991dcf6b
5,359
package io.virusafe.validation.personalnumber; import io.virusafe.domain.dto.PersonalInformationRequestDTO; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; im...
63.047059
117
0.745662
6c78476b0c1116eff106e198fa6d3ccf812a24f8
2,544
package com.appointment.publishing.controller; import com.appointment.publishing.model.GeneralApiError; import org.hibernate.PropertyValueException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.http.HttpHeader...
42.4
111
0.751179
64a4007d2329dadc330ca8b99a5298f27310c628
622
package cn.gov.modules.system.repository; import cn.gov.modules.system.domain.Dept; import cn.gov.modules.system.domain.Job; import cn.gov.modules.system.domain.Organization; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; /** * @...
27.043478
123
0.757235
1e732fc916444a74165f486b121962e8e809f2cb
3,260
package com.sabag.ronen.refactortonewarchitecturecomponents.notesList; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayou...
35.434783
102
0.715644
944ba89f418a48373708711a01f5a441a27f4945
2,048
package com.commercetools.api.models.category; import java.util.*; import java.util.function.Function; import javax.annotation.Nullable; import io.vrap.rmf.base.client.Builder; import io.vrap.rmf.base.client.utils.Generated; @Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://g...
29.681159
141
0.702148
87a3c7e75e27f8744e39d7553bf504786c9c7e3a
805
package org.atlasapi.query.v4.search.attribute; import com.metabroadcast.sherlock.client.parameter.SingleValueParameter; import com.metabroadcast.sherlock.client.parameter.TermParameter; import com.metabroadcast.sherlock.common.type.KeywordMapping; import org.atlasapi.query.common.coercers.AttributeCoercer; import ja...
32.2
100
0.750311
7a7dda004505b0643715967fda1bcf3b72bd13ba
2,098
/* * The MIT License (MIT) * * Copyright (c) 2011-2021 Rice University, Baylor College of Medicine, Aiden Lab * * 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, inc...
43.708333
117
0.747855
787f6c69e5b11b76cc7b896233d438dc803843e8
1,103
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; @TeleOp(name="DayO", group="DayO") public class DayO extends OpMod...
24.511111
64
0.673617
42fde703ffb9677261422cde651d01b14b062f1f
1,004
Dado un grafo acíclico y dirigido, ordena los nodos linealmente de tal manera que si existe una arista entre los nodos u y v entonces u aparece antes que v. Este ordenamiento es una manera de poner todos los nodos en una línea recta de tal manera que las aristas vayan de izquierda a derecha. SE DEBEN LIMPIAR LAS ESTRUC...
34.62069
156
0.713147
d92c042d982609ec842ed5e9c84a9494bb3a99c6
5,377
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
51.701923
149
0.618189
4680b09bdf42c6288db8479eafb4bf1b80ac808c
4,228
package agenda.gui.utils; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel...
24.298851
76
0.716178
96f3a578d31e3003d4a22538863ea663b7b729cc
1,122
/* Part of Libnodave, a free communication libray for Siemens S7 (C) Thomas Hergenhahn (thomas.hergenhahn@web.de) 2005. Libnodave is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, o...
34
77
0.762032
5e521e924fa1506442992a880b27c0bb26109039
63
package gmbarrera.ga.generic; public abstract class Gen { }
10.5
29
0.746032
832cd8e973d9e745c6d92473dfa6f44d396f0466
309
package com.scraperclub.android.scraping; import com.scraperclub.android.api.model.ScraperResult; import com.scraperclub.android.api.model.ScraperUrl; import io.reactivex.Single; public interface ScrapingCore { Single<ScraperResult> startScraping(ScraperUrl url); void stopScrapingImmediately(); }
25.75
56
0.812298
ef362e2d51b411a5edc0e4028965842e212e56a8
4,603
package org.infinispan.manager; import org.infinispan.Cache; import org.infinispan.configuration.cache.CacheMode; import org.infinispan.configuration.cache.ConfigurationBuilder; import org.infinispan.eviction.EvictionManager; import org.infinispan.eviction.EvictionStrategy; import org.infinispan.interceptors.BatchingI...
42.62037
138
0.762763
d329471f091015dcea15bc42e5a9a81b16645aa1
1,494
package com.bishe.wuliu.pojo; import java.util.Date; public class Express { private String id; private String fromlocation; private String tolocation; private String phone; private Date posttime; private String type; private String company; public String getId() { return...
19.92
78
0.603079
b25bc5ee982ab6a9f5261d71f71e1a6a0be24d00
1,151
package edu.utexas.tacc.tapis.jobs.model; import java.util.ArrayList; import java.util.List; public class IncludeExcludeFilter { private List<String> includes; private List<String> excludes; private Boolean includeLaunchFiles; public IncludeExcludeFilter() {this(true);} public IncludeEx...
28.073171
68
0.662033
fd9c7c26b1dd11a466f7e42cf6a162db9b356769
191
package cn.enncy.scs.swing.frame.base.view.index.card.component; /** * //TODO * <br/>Created in 13:14 2021/4/28 * * @author: enncy */ public enum ManageType { INSERT, UPDATE }
13.642857
64
0.638743
bd7beaf533cec45c883bbe1b15fcc0cdd80f1632
5,287
package org.sec.util; import org.sec.model.ClassFile; import org.apache.log4j.Logger; import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.util.*; import java.util.jar.JarEntry; import java.util.jar.JarInputStream; /** * 和RtUtil配合实现Jar解压读取Class */ @SuppressWarnings("all") public cla...
33.675159
94
0.522981
5f2b57f8ce8f69494d79f9dce5a16522c146ef20
1,350
package com.kleen.selector; import org.assertj.core.api.Assertions; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; /** * @author kleen888@gmail.com <br> */ public class ExtractorsTest { String html = "<div><h1>test<a href=\"xxx\">aabbcc</a></h1></div>"; String html2 = "<...
38.571429
115
0.640741
eba4df35c6b6e3cf475552406814afb75a81aed0
8,860
package mage.game; import java.io.Serializable; import java.util.*; import mage.cards.decks.DeckValidator; import mage.constants.TableState; import mage.game.events.Listener; import mage.game.events.TableEvent; import mage.game.events.TableEventSource; import mage.game.match.Match; import mage.game.result.ResultProto...
28.954248
237
0.61456
baac8824c334893cec712c21f46d62b82811bba3
2,871
/** * @FileName: ExecuteAction.java * @Description: * @author Jacky ZHANG * @date Apr 8, 2015 */ package luna.web.action; import java.awt.Graphics; import java.util.Set; import org.apache.struts2.ServletActionContext; import luna.LunaGlobal; import luna.LunaPlanner; import luna.LunaPlanner.FileT...
20.956204
71
0.683037
49272898872af03de810abb2de3cc006fdee400a
4,840
/** * Copyright [2016] [Muhammad Afzal] * * 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...
20.166667
77
0.637397
cfa4ab710bfc0a793d176f77d4018ac8ffacc3ee
1,310
/* * alert-common * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.alert.common.descriptor.config.field; import java.net.MalformedURLException; ...
33.589744
142
0.722137
b2dc83d544ca9d9c777d9d9d9d197c5e4105cd2c
1,514
package com.jivesoftware.boundaries.restz; import com.jivesoftware.boundaries.restz.layers.ExecutionWrapperLayer; import com.jivesoftware.boundaries.restz.layers.RecoverableFailureLayer; import java.util.Collection; import java.util.LinkedList; /** * Created by bmoshe on 4/8/14. */ public class LayerCollection { ...
24.031746
72
0.641347
a3cf7eabe55679742199e36f28daf2b8a090673f
2,029
/* * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
39.784314
82
0.713652
1e03704224d62d1aebeaf2a04ee10d321ffaf5ff
10,317
package net.milanqiu.mimas.collect.tree; import net.milanqiu.mimas.collect.CollectionUtils; import net.milanqiu.mimas.collect.traversal.CompletedTraverser; import net.milanqiu.mimas.collect.traversal.Traversable; import net.milanqiu.mimas.collect.traversal.TraversalListener; import net.milanqiu.mimas.instrumentation.D...
28.035326
113
0.592517
8823ff2e305b8dc7e85c2d7ef28fd7b6aa795082
595,675
/* * Copyright (c) 2002-2022 Gargoyle Software Inc. * * 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...
75.373276
120
0.690088
a82e7a357deb0812ddee188954e324d3ee730ab7
8,741
/* GraphicsEnvironment.java -- information about the graphics environment Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the...
35.677551
79
0.71342
985c061b393e9ec28534638eb05834a7a761825e
2,127
package org.firstinspires.ftc.teamcode.hardware; import org.firstinspires.ftc.robotcore.external.hardware.camera.WebcamName; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.Point; import org.opencv.core.Rect; import org.opencv.core.Scalar; import org.opencv.imgproc.Imgproc; import org.o...
44.3125
156
0.738599
886ce84227e889ab6fc1c6428b282ffba48b966f
543
package org.geektimes.configuration.microprofile.config.configsource; import java.util.Map; /** * Java系统属性配置源 * <p> * Java 系统属性最好通过本地变量保存,使用 Map 保存,尽可能运行期不去调整 ,-Dapplication.name=user-web * * @author ajin */ public class JavaSystemPropertiesConfigSource extends MapBasedConfigSource { public JavaSystemPro...
21.72
76
0.729282
6b84fb0be37eae54434c22ec74f7fff0451cf59e
2,546
package gov.ca.cwds; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import gov.ca.cwds.rest.api.domain.PerryException; import gov.ca.cwds.rest.api.domain.auth.UserAuthorization; import gov.ca.cwds.util.UniversalUserTokenDeserializer; import java.io.IOException; import java.io.Serializable; import java.util...
24.960784
74
0.736057
d9414648acde18f4d3d3d323f8d135d3a1c6ebf3
6,368
package jetbrains.buildServer.serverSide.oauth.aws.controllers; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Charsets; import com.google.common.base.Function; import com.intellij.openapi.util.Pair; import java.io.IOException; import java.io.PrintWriter; import java.util.List; impor...
49.364341
162
0.762877
641ccf958f0af4c9a686a9646ed97c5f8d3765b6
7,916
/* * Copyright The Original Author or Authors * SPDX-License-Identifier: Apache-2.0 */ package io.jenkins.plugins.opentelemetry; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Strings; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import hudson.Extension; import ...
40.387755
202
0.731809
94cab5dff4f4e03d68fdbf86aa2b8689f09eddcf
509
package src.challenges.hritvikmohan; public class FizzBuzz { public static void main(String args[]){ for (int i=1;i<=100;i++){ if (i%3 == 0 && i%5 ==0){ System.out.println("FizzBuzz"); } else if (i%3 == 0){ System.out.println("Fizz"); ...
24.238095
47
0.40275
c633c87312d0bcc7581a5b58a31e4b44ff0ba48e
106
public interface Skill { public void Attack(); public void qSkill(); public void wSkill(); }
15.142857
25
0.641509
9bbf4e4c381d1177c3acc7e18a32f1628fbaaff8
1,333
package heroes.backend; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMap...
26.137255
78
0.756939
1ec210a9b8379da1f0085929f5459eb1e5c6ef5d
1,298
package net; import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper; import com.viaversion.viaversion.api.type.Type; import com.viaversion.viaversion.protocol.packet.PacketWrapperImpl; import java.util.ArrayList; import net.EN; import net.Zv; import net.aSG; import net.agc; import net.aq3; import net.g4...
25.96
86
0.654854
9f64d7aea998c118d4704daf2f20e3ba1349fe09
1,759
package com.abin.lee.march.svr.common; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.StringWriter; import java.io.Writer; import...
27.484375
115
0.652644
96c56f9f2328fb689c5c1a366ca7ed40cf8978f4
6,731
/* Copyright 2005 Strategic Gains, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
25.888462
110
0.781756
0b6c774298c3dd81ec6165c13b793e48940d84d9
1,250
package visualization; import javafx.scene.control.ToggleGroup; import simulation.State; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Helper Object for the SimPane which helps generate the toggle buttons to be created for new cell state selection */ public class SetCell { pri...
27.777778
115
0.6696
80d9fc2b70486db39d42288787e583d5a9c95864
340
package ru.starksoft.commons; import androidx.annotation.ColorInt; import androidx.annotation.NonNull; public final class ColorUtils { private ColorUtils() { throw new UnsupportedOperationException(); } @NonNull public static String hexColorFromInt(@ColorInt int color) { return String.format("#%06X", (0xFFF...
20
60
0.758824
d9c8e7e840594d074495f29f91aa6e0637f91375
1,708
package com.neu.zhang.servlet; import java.io.IOException; import java.util.List; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;...
31.054545
119
0.764637
07c5012a4fea841901f364f89478516461d5b948
1,121
package com.subbu.todoapp.command; import com.subbu.todoapp.model.Todo; import com.subbu.todoapp.model.TodoService; import org.apache.karaf.shell.api.action.Action; import org.apache.karaf.shell.api.action.Argument; import org.apache.karaf.shell.api.action.Command; import org.osgi.service.component.annotations.Referen...
31.138889
126
0.70116
7f7f01202e5e384eb3171e30bcaab2cf3a05c336
3,896
package com.xyoye.player.danmaku.danmaku.model.android; import android.graphics.Canvas; import android.graphics.Paint; import android.text.Layout; import android.text.Spanned; import android.text.StaticLayout; import android.text.TextPaint; import com.xyoye.player.danmaku.danmaku.model.BaseDanmaku; import java.lang....
37.825243
191
0.620123
61f8e0184b78396d0252e21ae3a9fe9fa922e474
475
package com.example.observable_value_ref; import arez.ObservableValue; import arez.annotations.ArezComponent; import arez.annotations.Observable; import arez.annotations.ObservableValueRef; import javax.annotation.Nonnull; @ArezComponent abstract class BasicObservableValueRefModel { @Observable public abstract lo...
22.619048
58
0.821053
582faba961a6ccaf69445be77868771e3cc194b8
3,498
package DataStructure.Array_String; /* Given a string S, and two numbers N, M - arrange the characters of string in between the indexes N and M (both inclusive) in descending order. (Indexing starts from 0). Input Format: First line contains T - number of test cases. Next T lines contains a string(S) and two numbers(N...
28.909091
168
0.567181
9b6762587fccf58e07830745d63ca180d5eeadfa
1,112
package validation.constraints.validator; import java.util.regex.Pattern; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import message.MessageResource; import validation.constraints.Email; /** * Verify to match the element value to email pattern. * @author hirono...
25.860465
87
0.680755
813ed72b5e0ce313604201d73e607bf682f133d5
331
package fr.univnantes.termsuite.ui.handlers; import org.eclipse.e4.core.di.annotations.Execute; import org.eclipse.e4.ui.workbench.IWorkbench; public class ExitHandler { public static final String ID = "fr.univnantes.termsuite.ui.handler.Exit"; @Execute public void execute(IWorkbench workbench) { workbench.clo...
23.642857
75
0.776435
ad11c5e6634130230df742cacefe91c589308e66
243
package com.how2java.tmall.service; import com.how2java.tmall.pojo.User; import java.util.List; public interface UserService { void add(User c); void delete(int id); void update(User c); User get(int id); List list(); }
17.357143
36
0.683128
3765ded921bb96dd15042532efde15622b59d277
2,600
package com.uc_mobileapps.tests.sqlite.bo.schema; import android.content.ContentValues; import android.database.Cursor; import com.uc_mobileapps.tests.sqlite.bo.Version1; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.os.Parcel; import android.os.Parcelable; public...
23.423423
92
0.709615
e6ae943554f8012bcae8e7df9042e4a61d94efe3
1,755
package com.alekseyzhelo.evilislands.mobplugin.mob.psi; import com.alekseyzhelo.evilislands.mobplugin.mob.EIMobLanguage; import com.intellij.lang.ASTNode; import com.intellij.lang.Language; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; impo...
19.943182
64
0.654701
9b9347d7d14bd7fa89bfc5c93ea4c1444594c875
1,247
package com.zhaoguhong.baymax.mail; import java.util.Map; /** * 邮件发送 * */ public interface MailService { /** * 发送邮件 * * @param mailModel 邮件相关配置 */ void sendMail(MailModel mailModel); /** * 发送简单的邮件 * * @param to 发送到的邮箱地址 * @param subject 邮件标题 * @param content 邮件内容 */ void se...
18.338235
86
0.63753
5b2cd265e5955a874272df50ab684cf0d275897f
292
package top.geminix.circle.service; import top.geminix.circle.domain.BadWordInfo; import java.util.List; public interface IBadWordInfoService { List<BadWordInfo> getAllBadWord(); boolean addBadWordInfo(String badWordContent); boolean removeBadWordInfo(Integer badWordId); }
19.466667
50
0.787671
96d613d5a3a572a459b671b9122735f1311462e8
107
package org.stjs.generator.writer.inheritance; public class Inheritance1 implements MyInterface { }
17.833333
51
0.785047
18130858c863b6dce0853154b931c55c779a0fc1
926
package com.mapswithme.maps; import java.util.Timer; import java.util.TimerTask; public class VideoTimer { private static final String TAG = "VideoTimer"; Timer m_timer; private native void nativeInit(); private native void nativeRun(); public class VideoTimerTask extends TimerTask { @Override ...
14.935484
60
0.652268
5d3e6467aabfe9907c57969b8025eb68a45bca46
367
package com.zjb.ruleengine.core.utils; import java.io.Serializable; /** * @author 赵静波 * @date 2020-07-13 10:11:01 */ @FunctionalInterface public interface SFunction<T, R> extends Serializable { /** * Applies this function to the given argument. * * @param t the function argument * @return ...
19.315789
55
0.653951
99b33d215ae93c974e7e4fc521a469b399c36d5d
1,707
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.ap.internal.checks; import java.util.Collections; import java.util.Se...
29.431034
106
0.763327
917607ea6a29c59f6329ae454d548ae811f147da
729
package fr.cesi.goodfood.domain; import static org.assertj.core.api.Assertions.assertThat; import fr.cesi.goodfood.web.rest.TestUtil; import org.junit.jupiter.api.Test; class IngredientTest { @Test void equalsVerifier() throws Exception { TestUtil.equalsVerifier(Ingredient.class); Ingredient...
30.375
58
0.709191
2bd2501c2d78dcbfd541e2b8df8f8ee4909c2e05
1,654
package com.hmg.json2java.utils.tests; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.URISyntaxException; import org.json.JSONException; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; import com.fasterxml.jackson.core.JsonParse...
30.072727
99
0.630593
9b313bd0ec0e575cbc0c2fad62a76f0ce18fb8c9
25,184
package net.minecraft.client.gui; import com.ibm.icu.text.ArabicShaping; import com.ibm.icu.text.ArabicShapingException; import com.ibm.icu.text.Bidi; import java.awt.image.BufferedImage; import java.io.Closeable; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Locale; impo...
35.173184
338
0.600183
f6ba9e5c63fc9204758c91919d535448c9711a3c
250
package com.torrenal.craftingGadget.dataModel.value; public class ValueSeals extends ValueAbstractToken { public ValueSeals(double tokens) { super(tokens); } @Override public ValueType getType() { return ValueType.CM_TOKENS; } }
13.888889
52
0.74
0c6d01a05640c1611e74ed79ad3ec2f3cc8679e5
896
// // Decompiled by Procyon v0.5.36 // package ch.ethz.ssh2.packets; public class PacketSessionExecCommand { byte[] payload; public int recipientChannelID; public boolean wantReply; public String command; public PacketSessionExecCommand(final int recipientChannelID, final boolean wantReply,...
27.151515
114
0.625
849a95f9286321d3d6c2553c632edbfb4adbd03e
8,357
package com.cyphercove.gdxtween.desktop.examples; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.glutils.ShaderProgram; import com.badlogic.gdx.m...
41.371287
183
0.618284
23252ff18d29868f5fb834ec766e459c8306a403
12,321
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert // Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2021.0...
38.503125
243
0.646133