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
621f63042f11a74cd2a2f4af91a31f9cb1ea4ef7
10,801
/* * Copyright 2003 - 2016 The eFaps Team * * 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 ...
36.244966
114
0.568188
525d12315e7240b3ff7fb45cbd2cd85505784bb0
4,574
package com.afcrowther.coinbase.connector.printer; import com.afcrowther.coinbase.connector.domain.coinbase.Product; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.concurrent.atomic.AtomicLongArray; public class ConsolePrinterTest { private ConsolePrinter UNDER_TEST; ...
45.287129
146
0.654351
346ac56d802885f25aa869088921a53233bb21c2
3,853
package com.yaozuw.logistics_server.controller; import java.security.Principal; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.security.core.GrantedAuthority; import org.springframewor...
39.316327
111
0.765378
536d0dde47d507c5ca55a30329ffe2fea4c7991d
359
package com.hurence.webapiservice.http.api.modele; import com.hurence.webapiservice.http.api.grafana.model.AnnotationRequestType; import java.util.List; public interface AnnotationRequest { Long getFrom(); Long getTo(); AnnotationRequestType getType(); List<String> getTags(); int getMaxAnnota...
17.095238
78
0.735376
15d19ef3827b4d1049badda9e5580d012f2c35b4
2,317
package controllers.organization; import play.data.validation.ValidationError; import java.util.ArrayList; import java.util.List; /** * Backing class for the Organization data form. * Requirements: * <ul> * <li> All fields are public, * <li> All fields are of type String or List[String]. * <li> A public no-arg...
22.940594
85
0.725076
32496070528ab2db94040f922e1b28887de404a5
2,104
package basestation.bot.connection; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.Socket; public class TCPConnection extends Connection { private String ip; private int port; private transient Socket clientSoc...
28.821918
105
0.605513
4006866e413397f351af3f68429a149159f72a17
1,053
package Models; import java.util.ArrayList; public class QuestionsModel { String question; ArrayList<String> options; String correctAns; int correctAnsIndex; public QuestionsModel(String question, ArrayList<String> options, String correctAns, int correctAnsIndex) { this.question = questio...
23.931818
111
0.584995
277b17b56d203d19585c045b73d2361918ed49a1
3,155
package mc.ajneb97.juego; import java.util.ArrayList; import org.bukkit.Location; import org.bukkit.entity.Player; public class Jugador { private Player jugador; private int puntos; private String color; private ElementosGuardados guardados; private Pieza piezaObservada; private Pieza piezaSeleccionada; pri...
23.37037
188
0.75309
9c5b529669f4f5a29faa803ed7e282c5c7da33b8
1,863
package com.ruoyi.project.system.softwareCopyright.mapper; import com.ruoyi.project.system.dept.domain.Dept; import com.ruoyi.project.system.softwareCopyright.domain.SoftwareCopyright; import com.ruoyi.project.system.softwareCopyright.domain.SoftwareCopyrightForFileNameConfig; import java.util.List; /** * 软件著作权 数据层...
22.178571
105
0.701557
dba74db42235b8776e35dbf4270d9a7fd984014e
803
package cl.uchile.dcc.scrabble.type.typeFactory; import cl.uchile.dcc.scrabble.type.IType; import cl.uchile.dcc.scrabble.type.ScrabbleFloat; public class ScrabbleFloatFactory extends AbstractTypeFactory { /** * getScrabbleType: Method for getting a Scrabble Type, which uses a flyweight design where duplicat...
32.12
116
0.671233
61c09952d3d7bde8bc67e28c2b9a9260cba144b6
528
package com.lee.jxmall.ware.service; import com.baomidou.mybatisplus.extension.service.IService; import com.lee.common.utils.PageUtils; import com.lee.jxmall.ware.entity.WareInfoEntity; import com.lee.jxmall.ware.vo.FareVo; import java.math.BigDecimal; import java.util.Map; /** * 仓库信息 * * @author lee * @email 11...
21.12
67
0.755682
b35f21266a149908e9df927c0899499791529c60
7,741
package com.app.pixstory.ui.dashboard.you.adapter; import android.view.View; import androidx.recyclerview.widget.LinearLayoutManager; import com.app.pixstory.R; import com.app.pixstory.base.BaseAdapter; import com.app.pixstory.core.binding.BindingUtils; import com.app.pixstory.data.model.get_story_user.Story; import...
36.342723
152
0.583258
8cb0390965b89684e3a3757d7279ab96eca0f65e
3,129
package com.mkp.basic.twoLinkedListIntersection.method1; //Java program to find union and intersection of two unsorted //linked lists public class IntersectionOfTwoLinkedList { Node head; // head of list /* Linked list Node*/ class Node { int data; Node next; Node(int d) { data = d...
22.673913
76
0.599553
dc6b31be6b8c377ff4b8863f0c286038d69148da
3,707
package uk.ac.ebi.interpro.scan.persistence; import org.springframework.transaction.annotation.Transactional; import uk.ac.ebi.interpro.scan.genericjpadao.GenericDAOImpl; import uk.ac.ebi.interpro.scan.model.Signature; import javax.persistence.Query; import java.util.Collection; import java.util.HashSet; import java....
34.971698
95
0.61829
9293d0b0f3e88040aff81a58b1572bbeebdb4673
2,114
package com.cypress.cysmart.CommonUtils; import android.content.Context; import android.view.MotionEvent; import org.achartengine.GraphicalView; import org.achartengine.chart.LineChart; import org.achartengine.chart.XYChart; import org.achartengine.model.XYMultipleSeriesDataset; import org.achartengine.model.XYSeries...
43.142857
152
0.677862
654cb6706dd8d27de98072e6dd82e0c5358fa482
3,409
package org.evomaster.client.java.instrumentation.coverage.methodreplacement.classes; import org.evomaster.client.java.instrumentation.coverage.methodreplacement.DistanceHelper; import org.evomaster.client.java.instrumentation.shared.ObjectiveNaming; import org.evomaster.client.java.instrumentation.staticstate.Executi...
43.705128
99
0.738046
f7ce0e407de44669c45fda5668b573df59506cc8
17,707
package com.maxieds.chameleonminilivedebugger; import android.content.res.ColorStateList; import android.graphics.Typeface; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.CompoundButtonCompat; import android.util.Log; import android.view.LayoutInflater; import androi...
52.079412
245
0.654092
4fed9fb78b80091ec820cade519394586d9bbaa4
268
package ru.job4j.tracker; import java.util.List; /** * Input. * * @author Dmitriy Nikulin (nikos-dima@mail.ru) * @version 1.1 * @since 06.04.2018 */ public interface Input { String ask(String question); int ask(String question, List<Integer> rang); }
15.764706
49
0.66791
576d5af0a2e4c9355df026928bdfb0e0412a907a
2,834
/* * Copyright (c) 2019, 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.or...
40.485714
107
0.677841
1bc822ef0d6254569284847a5ff94161f6b3e4d7
32,902
package com.example.test; import com.google.common.collect.ImmutableMap; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.remote.DesiredCapabilities; import java.io.File; import java.net.URL; import io.appium.j...
53.239482
204
0.63987
490d6420032893aca27cf21ff106b89ac2fcc5af
1,129
package com.baidubce.services.cdn.model.domain; import com.baidubce.services.cdn.model.JsonObject; /** * create by changxing01 on 19/8/28 */ public class MediaDragConf extends JsonObject { private MediaDrag mp4; private MediaDrag flv; /** * @return mp4 */ public MediaDrag getMp4() { ...
19.465517
56
0.575731
ed2f02b698be18f90af0d6cd6f112e52529694c5
189
package com.google.appinventor.components.runtime.util; public interface KodularContentProtection$OnValidationResultListener { void onResult(boolean var1, boolean var2, String var3); }
31.5
70
0.830688
10df9516a399da2f9b703411ee48e34c89b1b30d
477
package org.cyclopsgroup.jmxterm.io; import java.io.IOException; /** * Unchecked version of IOException * * @author <a href="mailto:jiaqi.guo@gmail.com">Jiaqi Guo</a> */ public class RuntimeIOException extends RuntimeException { private static final long serialVersionUID = -2304094504586109315L; /** * @pa...
22.714286
69
0.725367
60de1157c90a564203ce0b18b863afe540b67c26
4,281
/** * Copyright 2014 Netflix, 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 t...
31.248175
111
0.599393
5b305cd1f387f41d4280f2e1decd4e1ad5f69b1f
1,878
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
38.326531
156
0.765708
9082f7bbd3f425a00c989221afb8efdec71606d4
540
package com.garyhu.test; import com.garyhu.util.OuterHelper; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * @author: garyhu * @Since: 2017/11/14 0014. * @Decription: */ public class TestConstructorDI { public static void ...
28.421053
83
0.72963
88390a730bd596130bc59d6c694ba56bac718d13
11,246
/** * Copyright 2015-2025 FLY的狐狸(email:jflyfox@sina.com qq:369191470). * * 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 * ...
29.21039
108
0.601814
fbbe145265416bea49239db3a1ef5d038993f114
10,113
package com.cockpit.api.controller; import static org.junit.Assert.assertEquals; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.cockpit.api.service.AuthService; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mockito; import org.modelmappe...
36.641304
116
0.700485
5f4625502523f61bb0609fb0635c404c06e56f19
5,319
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.internal; import java.sql.PreparedStatement; import java.sql...
23.959459
99
0.702764
250f355d6d080153edd47115ee8d06b51b115400
1,480
package fr.polytech.permispiste.entities; import java.io.Serializable; import java.time.LocalDateTime; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; ...
18.974359
52
0.739189
baba68fd67482eb6b446a0c74de8e72c38ed9f6e
1,759
package com.jbatista.bricks.components.builtin; import com.jbatista.bricks.Instrument; import com.jbatista.bricks.components.Controller; import com.jbatista.bricks.components.FilterModule; import com.jbatista.bricks.components.InputConnector; import com.jbatista.bricks.filter.BandPass; public class BandPassFilter ext...
31.410714
119
0.624787
1b263ed60f3f9099c05ca424668316b40537be6c
442
package com.hrym.rpc.auth.dao.mapper; import com.hrym.common.annotation.DataSource; import com.hrym.rpc.app.dao.model.task.GongFoMusic; import org.apache.ibatis.annotations.Select; import java.util.List; /** * Created by mj on 2017/10/28. */ public interface GongFoMusicMapper { /** * 查找供佛音频 * @retur...
20.090909
51
0.69457
ef0c558f07f4dd192df70a6bb639e6d09fe51fe5
6,338
package io.gomatcha.matcha; import android.content.Context; import android.os.Handler; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.Relat...
37.282353
171
0.629536
6acaab7f32f587c1d1eb3869d7b3deda354fa30a
1,017
package cn.dmego.seata.saga.product.dao; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import org.springframework.stereotype.Repository; /** * ProductDao * * @author dmego * @date ...
32.806452
104
0.720747
37dd1153b3e0b9f5d7bc03ab4ce27ca5a583b85c
2,606
package server.client; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.Unpooled; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel; import io.netty.util.AttributeKey; import...
33.844156
116
0.666155
cf972e8cd048c7b2f52a9670d75ac775bed6a697
1,059
package pl.pjatk.mas.project.boundary; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import pl.pjatk.mas.project.boundary.dto.*; import pl.pjatk.mas.project.control.securi...
31.147059
85
0.785647
ef07700612a5038d01238c95fb6babc1cb2444a2
9,835
/* * 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 n...
46.391509
133
0.677885
3a466569a901c229ae29ddc13165044fb10f2dc0
628
package mekanism.common.inventory.container; import mekanism.common.inventory.slot.SlotOutput; import mekanism.common.tile.TileEntityFluidTank; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Slot; public class ContainerFluidTank extends ContainerFluidStorage<TileEntityFluidTank> { ...
33.052632
84
0.769108
92003eea240e02f8d3cac8cc40983004747b3859
3,231
package com.axiomalaska.crks.vo; import java.util.HashSet; import java.util.Set; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; import com.axiomalaska.crks.dto.AbstractDTO; import com.axiomalaska.crks.dto.ParameterDTO; public class Parameter extends AbstractVO { private Integer id; ...
27.381356
106
0.672547
ec6d5d6bf643ab04c6902257ad7293c3aee59c81
3,294
package com.bitmesra.bitotsav.features.events.timeline; import android.content.Context; import com.bitmesra.bitotsav.database.DataManager; import com.bitmesra.bitotsav.database.models.details.EventDto; import com.bitmesra.bitotsav.database.models.details.ExampleModel; import com.bitmesra.bitotsav.features.EventDtoTyp...
39.686747
105
0.614147
5576004322b11f03ba0cb1a26a8267b2d9278bce
4,700
/** * This document is a part of the source code and related artifacts * for CollectionSpace, an open source collections management system * for museums and related institutions: * http://www.collectionspace.org * http://wiki.collectionspace.org * Copyright 2009 University of California at Berkeley * L...
33.81295
134
0.72766
79e67c9ceb989f740c3cd03126abfac36925cb0d
1,775
package deadline.statebutton; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { StateButton text; StateButton background; StateButton radius; StateButton stroke; StateButton dash; @Ov...
26.492537
72
0.599437
9ca46252ced98860f99b592278817e2bf49161a1
25,349
// ============================================================================ // // 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...
50.096838
131
0.642511
e8898c6fa492302089a83fe43dad3d00b7e1ae59
8,628
package org.black_ixx.bossshop.misc; import org.black_ixx.bossshop.core.prices.BSPriceType; import org.black_ixx.bossshop.core.rewards.BSRewardType; import org.black_ixx.bossshop.managers.ClassManager; import org.bukkit.entity.Player; public class CurrencyTools { //NOTE: THIS CLASS DOES NOT INCLUDE MULTIPLIERS...
39.040724
210
0.566296
1db7c81eddb3c344a75ab255190cf9669a0b6466
4,210
package pnet.data.api.company; import java.util.Arrays; import java.util.List; import pnet.data.api.PnetDataClientException; import pnet.data.api.client.PnetDataClientResultPage; import pnet.data.api.util.AbstractGet; import pnet.data.api.util.ById; import pnet.data.api.util.ByMatchcode; import pnet.data.api.util.Com...
39.716981
118
0.776247
d25ca56cb82329962eec3359b601400f48e8fd23
1,126
package com.azuriom.azlink.velocity.command; import com.azuriom.azlink.common.command.CommandSender; import com.velocitypowered.api.command.CommandSource; import com.velocitypowered.api.proxy.Player; import net.kyori.text.serializer.legacy.LegacyComponentSerializer; import java.util.UUID; public class VelocityComman...
26.809524
91
0.711368
aa56c494160fd740307a153f359f327961254284
5,696
package edu.kit.mima.gui.components.tabbedpane; import com.weis.darklaf.components.ScrollPopupMenu; import edu.kit.mima.gui.icon.Icons; import edu.kit.mima.gui.components.button.IconButton; import edu.kit.mima.gui.components.listeners.PopupListener; import org.jetbrains.annotations.Contract; import org.jetbrains.annot...
29.360825
90
0.591117
5100b203c35b4dfe438f8044e3012e5fae508d77
1,881
/* * Copyright 2018 Aleksander Jagiełł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 ag...
33
101
0.700159
96b99db637196d98ee4fcad21e167fa024f08467
1,662
package roadgraph; import geography.GeographicPoint; public class Node implements Comparable<Node> { private GeographicPoint location; private double distance; private double priority; public Node(GeographicPoint location) { this.location = location; this.distance = Double.MAX_VALUE...
20.268293
66
0.584838
58477939f7053e8464086050090844b925889a90
19,554
package mod.lucky.drop.value; import java.util.ArrayList; import java.util.Random; import mod.lucky.drop.func.DropProcessData; import mod.lucky.util.LuckyUtils; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.Entity; import net.minecra...
48.281481
115
0.616805
1518c1bf121d5faa4a04e8aab084689838bc5886
1,943
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
41.340426
106
0.750386
88b43bf92b86b41ceb5e75ea747d029d48e6d16b
56,556
package org.hl7.fhir.instance.model; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above co...
47.52605
509
0.637793
abbe5abf95eecfb0475ef9e4fb72a14d60d40a59
1,160
package org.orecruncher.dsurround.processing; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import org.orecruncher.dsurround.Client; import org.orecruncher.dsurround.lib.GameUtils; import org.orecruncher....
34.117647
145
0.701724
49fd3c4f5241127462727727bfef808d8d89fc76
11,721
/* * 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 n...
31.508065
142
0.535705
e58f0dbc3a482269f33e2955ce29060cc2ab2fdd
633
package models.boissons.hot; public class Coffee extends HotBoisson { private int id; public int getId() { return id; } public void setId(int id) { this.id = id; } @Override public double cost() { return 50.5; } @Override public String getDescription...
15.071429
45
0.552923
3a343936e48f3a2fa4f8b5c6d03c0cfe16c802ba
1,363
package org.squonk.types.io; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import org.squonk.types.MoleculeObject; import java.io.IOException; import java.util.Map; /** * * @author Tim Dudgeon */...
30.288889
154
0.709464
71de9e1b84262dff9258153cbb0e5f4af058e605
4,205
/* * Copyright 2017 Piruin Panichphol * * 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...
32.851563
98
0.727705
a92404e751ba49d4bb02a68b9df37b0116201d24
2,625
package com.appjishu.fpush.client.handler; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; import com.appjishu.fpush.core.constant.FMessageType; import com.appjishu.fpush.core.model.MsgData; import com.appjishu.fpush.core.proto.FBody; impor...
34.090909
85
0.660952
c5703061b4fe54c8a7f39d9d1b6a7e85e9663fc0
9,564
/*L * Copyright SAIC, Ellumen and RSNA (CTP) * * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details. */ package gov.nih.nci.nbia.lookup; import gov.nih.nci.nbia.util.HashCodeUtil; import gov.nih.nci.nbia.searchresu...
23.270073
93
0.602154
68c62764dda386ff9d1dffba29a8bd7aece4159d
297
package org.jfrog.artifactory.client.model; import java.util.List; /** * Created by Eyal BM on 30/11/2015. */ public interface StorageInfo { FileStorageSummary getFileStoreSummary(); BinariesSummary getBinariesSummary(); List<RepositorySummary> getRepositoriesSummaryList(); }
17.470588
57
0.750842
8370b961f9654875d93530a724a2f0d13ff3664b
1,035
package org.bouncycastle.cert; import org.bouncycastle.asn1.x509.HybridSignature; import java.io.IOException; import java.security.cert.CertificateEncodingException; import java.security.cert.X509Certificate; import static org.bouncycastle.utils.ByteArrayUtils.replaceWithZeros; public class HybridCertUtils { /...
35.689655
118
0.74686
e83009ddf04e24e4b0bcf2c85e88328067e871a3
6,450
package com.jaquadro.minecraft.storagedrawers.block.tile; import com.jaquadro.minecraft.storagedrawers.StorageDrawers; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.oredict.OreDictionary; import java.util.ArrayList; import java....
29.861111
115
0.58
b8ad0445a717eba2748d13dc0b1028aad4e7cf38
1,428
package cap7; // Desenhando um arco-íris com arcos e um array de cores. import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; public class DrawRainbow extends JPanel { // define as cores índigo e violeta private final static Color VIOLET = new Color(128, 0, 128); private final static Color IND...
31.733333
66
0.683473
36510714ff3deb97e45c3a0dd42f63f22388c3d3
2,544
package c.q; import java.io.File; import java.io.RandomAccessFile; import java.util.zip.CRC32; import java.util.zip.ZipException; /* access modifiers changed from: package-private */ public final class c { /* access modifiers changed from: package-private */ public static class a { long a; /...
31.8
106
0.523978
5b518883e068d9ca4f45353b61e0698be3b57177
128
package oscarblancarte.ipd.builder; /** * @author oblancarte */ public interface IBuilder<T> { public T build(); }
16
36
0.648438
a37601648e180f25affddd17ba5e65f70f8fd5a8
2,217
/* The MIT License (MIT) Copyright (c) 2016 Christopher James McCutcheon (github user: cjmccutcheon) 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 limitat...
27.7125
78
0.711773
03829440400eaa417151bcaf2e4038dce096bace
2,620
package xyz.theasylum.zendarva.rle.component; import xyz.theasylum.zendarva.rle.palette.OptionButtonPalette; import xyz.theasylum.zendarva.rle.palette.Palette; import xyz.theasylum.zendarva.rle.palette.PaletteManager; import java.awt.*; import java.util.LinkedList; import java.util.List; public class OptionButton ex...
28.172043
97
0.605725
16665efc565aeb3965a475957b3f6d780da5068b
348
package com.example.canvas; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); MyView w = new MyView(this); ...
21.75
56
0.727011
1a7fe29afd9a56fc25feab7aa462f93637be1dc5
16,270
/* * Copyright 2017 Danish Maritime Authority. * * 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 applicab...
49.603659
270
0.670928
2a858949abf6596d3042bd24dfa6f7d217c05cf8
3,268
/* * 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.311111
197
0.649633
012c7dee663f9422f9296c589c7eea9d9a3c588b
3,926
/******************************************************************************* * Copyright 2018 HungPV * 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/licen...
24.08589
147
0.691034
4d1d754239ebdfa3fb35cf6dd44d01e0f68c6de5
765
package org.noear.snack.core.exts; import java.lang.reflect.Field; import java.lang.reflect.Type; /** * 字段包装 * */ public class FieldWrap { public Field field; public Class<?> clz; public Type type; public FieldWrap(Field f) { field = f; clz = f.getType(); type = f.getGeneric...
19.125
43
0.541176
4b3686ac11c78a63013e06d33c5133bda0d2828d
2,908
package serguei.http; import static org.junit.Assert.*; import java.io.ByteArrayInputStream; import java.io.InputStream; import org.junit.Test; public class UpToBorderStreamReaderTest { private static final String CHARSET = "ASCII"; @Test public void readDataSimple() throws Exception { String ...
36.35
106
0.673659
21133c24fcedd0418cddf5cef60ad35e32191c30
5,996
package info5100.assignment2.MengzheZhang; import java.util.ArrayList; import java.util.Comparator; /** * The deadline of this assignment is 09/25/2020 23:59 PST. * Please feel free to contact Yafei and Yaqi for any questions. */ class Employee { String name; int age; Gender gender; double salary;...
31.893617
128
0.637592
6bf7d56963f98e2d27d3e5dc95debe4b86f6c8c1
4,460
package com.wanjian.sak.layer; import android.app.Application; import android.graphics.Canvas; import android.graphics.PorterDuff; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.support.annotation.NonNull; import android.view.InputEvent; import android.view.View; import ...
26.081871
116
0.652018
8d96c4c5b616d62e0c8c2479064e0320ee42326d
2,701
/* * Esta classe fornece as derivadas das funções de forma para substituição de variável * A classe requer os parâmetros relativos à geometria e aos pontos de cálculo * As derivadas são avaliadas consoante o tipo de elemento finito */ package app.variablesubstitution; import static app.variablesubstitution.Derive...
33.7625
132
0.596816
a192b2a960cc92e26249e6790a5fde61f2c5a6cb
294
module lab3db { requires javafx.fxml; requires javafx.controls; requires java.logging; requires java.sql; //noinspection Java9RedundantRequiresStatement requires mysql.connector.java; opens pogrebenko.lab3db.controller; opens pogrebenko.lab3db.model.medicine; }
26.727273
50
0.748299
08ebeb3070850bfaaab9bbf016d9b29a2b177ec0
330
package com.example.injectable.types; import javax.annotation.Nonnull; import javax.annotation.processing.Generated; @Generated("sting.processor.StingProcessor") public final class Sting_NoTypesModel { private Sting_NoTypesModel() { } @Nonnull public static NoTypesModel create() { return new NoTypesModel...
20.625
45
0.769697
0aea7120575a3d0972d8eaa16446d51a0a1e57fe
3,502
package br.ufrn.mala.dto; import java.io.Serializable; /** * Created by Hugo Oliveira on 24/11/17. */ public class MaterialInformacionalDTO implements Serializable { private String autor; private String codigoBarras; private String colecao; private Long dataDisponivel; pr...
32.728972
133
0.742433
32cef3b9ba77fc7add50eda798003663562fd75d
3,632
/* * 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 uk.ac.cam.ceb.como.paper.enthalpy.utils; import com.cmclinnovations.data.collections.ObjectPool; import java.util.Collection; ...
31.582609
126
0.660793
f893e6347d3c2de552268c452bf0a500f2f8c096
417
package io.github.picodotdev.blogbitix.javainnerclasses; import java.math.BigDecimal; public class Product implements Comparable<Product> { private BigDecimal price; public Product(BigDecimal price) { this.price = price; } public BigDecimal getPrice() { return price; } @Ove...
19.857143
56
0.673861
3bb1dacb222684b7c72fd36d455bac87be6d3b78
13,985
/* * MIT License * * Copyright (c) 2018 Davi Saranszky Mesquita https://github.com/frkr/druuls * * 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 ...
34.445813
114
0.512835
dcc0b7eb49d0ae750a161fa28f0abbe0ff2ae42a
2,268
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.calc.runner; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import com.opengamma.strata.basics.Calculati...
31.943662
103
0.728836
835dc6a4d86076fa5a91c6a3a77277be79d748ae
1,351
/******************************************************************************* * Copyright (c) 2005 - 2013 Nos Doughty * * 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 * * ...
34.641026
80
0.636566
a1a71411472f117b0fcb10eb43af463f709b6e56
628
package com.aire.ux.test; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** specify which route a @ViewTest begins on */ @Documented @Retention(RetentionPolicy.RUN...
29.904762
71
0.773885
93b8c5e1688548b6a8f9db4cbd9ba8ffadf34dc8
232
package io.paul; public class Bicycle { public int cadence; public int gear; public int speed; public String serialId; public float[] seatHeight; public String[] color; public GeoLocation geoLocation; }
19.333333
35
0.689655
7dd881ecb7cf5ee81a163e4c38fe08b4a5f2979c
6,687
package com.hyd.animationart.views; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.animation.TypeEvaluator; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.co...
31.691943
142
0.670405
a74a84a99b13cc22b86acd52f5223f389a3e10ec
1,395
//https://leetcode.com/problems/increasing-triplet-subsequence/ //1. bidriction traversal class IncreasingTripletSubsequence334A { public boolean increasingTriplet(int[] nums) { int n = nums.length; if (n < 3) { return false; } int[] leftMin = new int[n]; leftMi...
26.320755
72
0.450896
7fceebfea90f79dd87cfadaa703003c61f8efac9
3,992
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.egeria.connectors.ibm.ia.clientlibrary.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.dataformat.xm...
45.363636
111
0.676102
ce057de15f39d3cb4c313801e6580e2b6b828bdb
3,037
package com.othershe.dutiltest; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.support.annotation.Nullable; import android.widget.Toast; import com.othershe.dutil.DUtil; import com.othershe.dutil.callback.S...
31.968421
131
0.573263
88664330adb5816a000e41606ff9112865cd4a86
1,074
package skin.support.widget; import android.content.Context; import androidx.appcompat.widget.AppCompatRatingBar; import android.util.AttributeSet; import skin.support.appcompat.R; /** * Created by ximsfei on 17-1-21. */ public class SkinCompatRatingBar extends AppCompatRatingBar implements SkinCompatSupportable ...
28.263158
94
0.738361
dcf5ecaac725848ee0d1b6eef7f922c2698ed2bb
261
package com.alibaba.tesla.gateway.common.exception; /** * @author qiuqiang.qq@alibaba-inc.com */ public class TeslaIllegalArgumentException extends RuntimeException { public TeslaIllegalArgumentException(String message) { super(message); } }
23.727273
69
0.750958
32d34028bbf89a22e4ce2ee66f48be7bb5862c52
1,204
package es.juvecyl.app.navs; import java.util.ArrayList; import android.content.Context; import es.juvecyl.app.R; import es.juvecyl.app.utils.Province; import es.juvecyl.app.utils.ProvinceSingleton; public class MainNav { private String title, bgcolor; private ArrayList<MainNav> navMain; public MainNav...
25.083333
78
0.581395
d1a4471e858d2f55fb9521aac1100886f272422b
5,639
package io.toolisticon.annotationprocessortoolkit.templating.templateblocks; import io.toolisticon.annotationprocessortoolkit.templating.NextDetectedBlockResult; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.Test; /** * Test for {@link TemplateBlockType}. */ public class Template...
48.196581
228
0.717148
f21ca83ddeff523c4035e501ba120546200bcfa9
1,766
package yhao.micro.service.surety.business.apilist.form.guarantee; import io.swagger.annotations.ApiModelProperty; import yhao.infra.apilist.validate.IdUnForm; import java.sql.Date; /** * @Description: * @Created by ql on 2019/1/2 17:50 * @Version: v1.0 */ public class CreditRecordSaveForm extends IdUnForm { @A...
19.622222
66
0.741223
e709d0360dbaa6c337337d28c6959b6f7467a2c5
970
package com.tryme.projectk.model; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.io.Serializable; @Entity @Table(name = "Note") @Getter @Setter public class Note imple...
23.095238
71
0.716495
0a2399fc192affdcef701c3ef985dcda0b8b563e
1,586
/** * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
28.321429
75
0.716267
f05aea4abe0587727ff2660a091e6b6b2e2626dc
3,091
package com.superspeed.test.multithread; public class StudyNotes { /** * 线程的状态 * * 1. 创建(new)状态: 准备好了一个多线程的对象 * 2. 就绪(runnable)状态: 调用了start()方法, 等待CPU进行调度 * 3. 运行(running)状态: 执行run()方法 * 4. 阻塞(blocked)状态: 暂时停止执行, 可能将资源交给其它线程使用 * 5. 终止(dead)状态: 线程销毁 */ // 当需要新起一个线程来执行某个...
27.598214
75
0.682627
65807e70d39efa5ab5a8ba8a5246b40e37a74357
7,223
package com.sjoerdmulder.trident.mongodb; import com.mongodb.Mongo; import com.mongodb.MongoURI; import com.mongodb.WriteConcern; import org.jongo.Jongo; import org.jongo.MongoCollection; import org.jongo.marshall.jackson.JacksonProcessor; import storm.trident.state.*; import storm.trident.state.map.*; import java.io...
39.906077
124
0.610273
7eca921eecefe1fa328a92ba04f59e847f228a82
633
//////////////////////////////////////////////////////////////////////////////// // This file is subject to the terms and conditions defined in the / // file '.github/LICENSE.md', which is part of this source code package. / /////////////////////////////////////////////////////////////////////////////...
42.2
142
0.567141