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
19922a1fb8d342074bb42dc922ff06482d55092d
1,188
package com.quarkdata.yunpan.api.model.vo; import com.quarkdata.quark.share.model.vo.DepartmentSearchVO; import com.quarkdata.quark.share.model.vo.GroupSearchVO; import com.quarkdata.quark.share.model.vo.UserSearchVO; import java.io.Serializable; import java.util.List; public class MemberInfoVO implements Serializab...
26.4
116
0.703704
1ab7eefdbda98f9e31d4001b081fb712ae73d334
13,614
package org.corfudb.infrastructure; import static org.assertj.core.api.Assertions.assertThat; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.UUID; import java.util.concurrent.CompletableFuture; import org.corfudb.protocols.wireprotocol.CorfuMsgType; import org.corfudb....
45.38
135
0.672984
4841264bd7bc0e18145a1f4a1d668917b4473e3a
419
package org.xm.xmnlp.dic; public class DictPair<K> { public K key; public Double freq = 0.0; public String nature = ""; public DictPair(K key, double freq, String nature) { this.key = key; this.freq = freq; this.nature = nature; } @Override public String toString()...
20.95
86
0.556086
6a9a76a0a91369871bb53c3e181349824efc99aa
2,493
/* * Developed by Softeq Development Corporation * http://www.softeq.com */ package com.softeq.accelerator.flyway.mapper; import com.softeq.accelerator.flyway.dto.AssessmentDto; import com.softeq.accelerator.flyway.dto.CreateUserDto; import com.softeq.accelerator.flyway.dto.UserDto; import com.softeq.accelerator.f...
36.130435
103
0.69996
d3c793b0b6d7d0f533892dc9aa6ac85bcc5da096
312
package de.karthaus.heatingControl3.producer; import io.micronaut.configuration.rabbitmq.annotation.Binding; import io.micronaut.configuration.rabbitmq.annotation.RabbitClient; @RabbitClient("hc-lcd-display") public interface LcdStatusMessageProducer { @Binding("hc-lcd-display") void send(byte[] data); }
24
67
0.810897
d4be7219364d920089e75bd655cbae35f4c9e4d1
2,023
package com.intita.ws; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.actuate.endpoint.WebSocketTraceEndpoint; import org.springframework.boot.actuate.trace.InMemoryTraceR...
31.609375
79
0.836382
5779f35581bfcfbb04e4d71a73845bc05075d5e1
3,485
/** * */ package jp.mydns.sys1yagi.android.greendaosample.history; import java.text.SimpleDateFormat; import jp.mydns.sys1yagi.android.greendaosample.DaoSession; import jp.mydns.sys1yagi.android.greendaosample.R; import jp.mydns.sys1yagi.android.greendaosample.Todo; import jp.mydns.sys1yagi.android.greendaosample....
36.302083
80
0.682353
d6e16cb82a8a4030b2021cf2f5be008ee52d3da3
1,116
package com.atguigu.gmall.wms.config; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; /** * @author Only when I saw the e...
32.823529
101
0.741935
ec6d37a6e09a0c7af29e53412b24648850072a65
247
// "Replace 'if else' with '?:'" "INFORMATION" class Test { String foo(String currentBranch) { <caret>if (currentBranch.isEmpty()) { return currentBranch; } else { return currentBranch.substring(0); // comment } } }
22.454545
51
0.611336
44e3edabd74b4f83c447eff7101e6408c882638f
776
package com.fulton_shaw.idea.plugin.lang.properties.view; import com.intellij.lang.Language; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.FileViewProvider; import com.intellij.psi.FileViewProviderFactory; import com.intellij.psi.PsiManager; import org.jetbrains.annotations.NotNull; /*...
36.952381
156
0.787371
f2024e21f0b7c34e61c476b5d6b31b2ac6e4ea95
5,249
package aleksander73.doom.weapon_system; import java.util.ArrayList; import java.util.List; import aleksander73.doom.animation.SpriteAnimation; import aleksander73.doom.enemies.Enemy; import aleksander73.doom.hud.StatusBar; import aleksander73.doom.player.Player; import aleksander73.math.linear_algebra.Vector2d; impo...
35.228188
249
0.675557
4368a079a7312a23a987519d4cb1786dfcb13811
5,669
/* * Copyright 2020-2021 Alexengrig Dev. * * 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 a...
30.478495
119
0.643147
6395f5931a324691167c43738a524066fd49e435
5,900
/* * Copyright (c) 2017 org.hrodberaht * * 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...
29.949239
91
0.649322
75d0c8717b04e5eb65f44868b4376d24cf2d0087
2,169
package core.services.interfaces; import core.domain.Customer; import core.exceptions.APIException; import java.util.List; /** * Interface for the Customer Service. * This service acts as a layer between the view controllers and the database * repository. */ public interface CustomerServiceInterface { /*...
32.863636
82
0.691563
8edf20b5b93dd03fe758e3ea5ae7f23853c762a4
469
package com.smarttoni.models.wrappers; import java.util.List; public class MealWrapper { String mealId; public List<RecipeWrapper> recipes; public String getMealId() { return mealId; } public void setMealId(String mealId) { this.mealId = mealId; } public List<RecipeWrap...
18.038462
57
0.646055
a6cf22ee766faf720304c764b52607d49e49e037
4,426
package glredbook10; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.media.opengl.GL; import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; imp...
28.012658
79
0.582693
e84470c711ccda12f39190ca913d161c5ab64615
251
package com.atguigu.designPattern03.day21strategy.demo.improve; /** * Create by koala on 2021-06-09 */ public class BadFlyBehavior implements FlyBehavior { @Override public void fly() { System.out.println(" 飞翔技术一般 ~~~"); } }
16.733333
63
0.669323
89198d5c71184a58bf7f4235917b51c2e70b4e74
1,923
/** * Copyright (C), 2015-2020 * FileName: BasePage * Author: 呵呵哒 * Date: 2020/11/16 14:42 * Description: */ package org.springblade.common.tool; import java.util.ArrayList; import java.util.List; /** * @创建人 hyp * @创建时间 2020/11/16 * @描述 */ public class BasePage<T> { private int _$9 = 1; private int ...
16.159664
135
0.613105
36bd4b96a92570f73564ea1d23a99bedb0825818
789
package org.rdfhdt.hdt.gremlin.iterators; import java.util.Iterator; import org.rdfhdt.hdt.iterator.utils.IteratorConcat; public class NumberIterator implements Iterator<Integer> { int pos; int max; public NumberIterator(int pos, int max) { super(); this.pos = pos; this.max = max; } @Override public b...
17.931818
58
0.690748
a95ad43a79c4c2df8957778ae1fa3f2ea703c3bc
1,750
/* * 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.458333
124
0.750857
a6d02d1f123db875984c9ec09fb60cebf6b33827
1,484
package org.vitrivr.cineast.core.decode.shotboundary; import java.io.File; import java.io.FileNotFoundException; import java.util.List; import org.vitrivr.cineast.core.data.entities.MediaSegmentDescriptor; public final class ShotBoundaryDecoder { private ShotBoundaryDecoder(){} public static List<MediaSegmentDe...
28.538462
156
0.726415
2649310b5e8dfb1a6755ae5147af3a971ae90ed5
1,089
package Utility; /** * Author : Sivasankaramalan */ import org.apache.log4j.Logger; import Driver.desiredCapabilities; public class Log extends desiredCapabilities{ //Initialize Log4j instance private static Logger Log = Logger.getLogger(Log.class.getName()); //We can use it when starting tests ...
22.22449
70
0.636364
7131d2085aa05b1360614c0afb01d734115ecb4d
5,342
package cg.morfismo; import java.awt.*; import java.awt.geom.*; import java.util.Timer; import java.util.TimerTask; import java.awt.image.BufferedImage; public class MorphingCandS extends TimerTask { //The window in which the transformation is shown. private BufferedImageDrawer buffid; //The two images ...
31.423529
88
0.614938
ed126837bde248c33b5dec3952224182fdc5f4dd
8,414
package engine.linear.material; import engine.core.sourceelements.RawModel; import engine.core.sourceelements.SourceElement; import engine.render.overlaysystem.OverlayRenderer; import org.lwjgl.opengl.Display; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Vector2f; import org.lwjgl.util.vector.Ve...
31.395522
150
0.68184
9bfb532de137d860e1c5bf07352cc0a93579da31
988
package edu.pdx.cs410J.lang; /** * This class demonstrates throwing exceptions. It reads two * <code>double</code>s from the command line and divides the second * by the first. If the second is zero, an * <code>IllegalArgumentException</code> is thrown. */ public class DivTwo { /** * Reads two <code>doubl...
23.52381
69
0.604251
5fd22d6abb48689a52a50d8417f319827f2ae49b
193
package com.trampcr.developerrepository.plugin; public class Title { public String getTitle() { // return "It's a original app"; return "It's forth hotfix version"; } }
21.444444
47
0.65285
8f6be9ec8615c84c32046ffe200d91c5e9e771a6
10,042
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory...
38.475096
105
0.64051
96b0a9b0f624b32c0f741a60cd81ad0f3d6ceef0
11,254
/* * 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 indiesvsgamersbropals; import bropals.lib.simplegame.animation.Animation; import bropals.lib.simplegame.animation.Track; impo...
40.049822
100
0.508264
7db90f755c7d85a22248808cd48f52a1caefb558
3,399
package com.learn.controller; import com.learn.pojo.UserInfo; import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation...
39.523256
113
0.65637
d6fae4fcadfc61a1d0d277b2de36035bbc8d6912
1,932
package me.jessyan.mvparms.photomark.mvp.model.entity; import java.io.Serializable; /** * Created by zhiPeng.S on 2017/5/9. */ public class PList implements Serializable{ /** * pid : 1 * pno : p-123456 * pname : postertest * type : 1 * originalsrc : left_img.png * thumbnailsrc : ...
18.576923
56
0.59472
84f33e81afd036f04d0016e442ef4d39b6c80e3b
3,525
package com.zhengzhou.hadoop.multiple_In_out; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.Mapper; import org.apache.hadoop.mapreduce.Reducer; import org.apache.hadoop.mapreduce.l...
37.105263
119
0.643404
4f6956778733011d3c07b51c0000f692a84be2e0
872
package mariculture.api.fishery; import mariculture.api.fishery.fish.FishSpecies; import net.minecraft.inventory.IInventory; import cpw.mods.fml.common.eventhandler.Cancelable; import cpw.mods.fml.common.eventhandler.Event; @Cancelable public class FishTickEvent extends Event { /** This event is called everytime,...
36.333333
85
0.732798
99dfa322c38fc6f7626640a04a17ed06b8a77e78
7,757
// Template Source: BaseEntityRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------...
44.58046
233
0.75622
02df66eb307f6f41eb25537cc1a844b84ae2ad31
1,495
/******************************************************************************* * * Copyright FUJITSU LIMITED 2020 * * Creation Date: 27.02.2020 * *******************************************************************************/ package org.oscm.logging; public enum AppenderConfiguration { SYSTEM_LOG_APPEND...
26.696429
84
0.6301
2a4c3c4bcbb6717db1a3dbd50c579dede047c2b0
1,159
package org.openexi.proc.common; import java.io.IOException; public final class BinaryDataSource { private byte[] m_byteArray; private int m_startIndex; private int m_length; private long m_n_remainingBytes; private IBinaryValueScanner m_scanner; public final byte[] getByteArray() { ...
21.072727
124
0.656601
1e82de05c2132a3f0ce1978b0db511b7fbff945a
11,018
package org.bf2.admin.kafka.admin; import org.apache.kafka.clients.consumer.Consumer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.common.PartitionInfo; import org.apache.kafka.common.TopicPartition; import org.apache.kafka.common.e...
41.265918
176
0.581503
d43abcf62def8ff44f315164abda4a8da3305cd8
1,859
package com.paragon464.gameserver.io.database.table.definition.shop; import com.paragon464.gameserver.io.database.pool.impl.ConnectionPool; import com.paragon464.gameserver.model.item.ShopItem; import com.paragon464.gameserver.model.shop.Shop; import com.paragon464.gameserver.model.shop.ShopManager; import org.slf4j.L...
39.553191
114
0.640129
6d8b670b076cf089557788e15c3ff75214e6e0ad
1,532
/* * The MIT License (MIT) Copyright (c) 2020-2021 artipie.com * https://github.com/artipie/http/blob/master/LICENSE.txt */ package com.artipie.http.rs; import com.artipie.http.Connection; import com.artipie.http.Headers; import com.artipie.http.Response; import io.reactivex.Flowable; import java.nio.ByteBuffer; im...
23.212121
75
0.608355
012472e5616fe5d98e643c9606ef99421cb21501
5,766
/* * Copyright (c) 2015 Nokia Solutions and Networks. All rights reserved. */ package com.nsn.ood.cls.rest.filter.certificates.util; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.powermock.api.easymock.PowerMock.replayAll; import static org.powermock.api.eas...
33.917647
116
0.805931
d6ebc85494e4adad9ae2d2d78530d344b7ed82e3
105
package ferrari; public interface Car { String getDriverName(); void brake(); void gas(); }
13.125
27
0.638095
8ab96a54cf764be6352f927d829458b44e1346cb
1,415
//给定一个字符串,你需要反转字符串中每个单词的字符顺序,同时仍保留空格和单词的初始顺序。 // // // // 示例: // // 输入:"Let's take LeetCode contest" //输出:"s'teL ekat edoCteeL tsetnoc" // // // // // 提示: // // // 在字符串中,每个单词由单个空格分隔,并且字符串中不会有任何额外的空格。 // // Related Topics 字符串 // 👍 271 👎 0 import java.util.Arrays; import java.util.List; import java.util.str...
26.203704
79
0.554064
301b88fc504027d101344c879a027453ae8b63b0
376
package com.clj.fastble.callback; import com.clj.fastble.exception.BleException; public abstract class BleIndicateCallback extends BleBaseCallback{ public abstract void onIndicateSuccess(String strMac); public abstract void onIndicateFailure(String strMac, BleException exception); public abstract void...
26.857143
82
0.808511
e3946192261297fa4277b18ccb09e0baf0f7832a
7,853
// // ======================================================================== // Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
39.069652
144
0.582707
52f0ca664533678f18a7e09b36d3a832f3e8c7b5
1,711
package run.mojo.actor; import java.lang.reflect.Method; import run.mojo.MojoError; import run.mojo.MojoError.Code; import run.mojo.message.MessageCodec; /** * */ public class AskDescriptor { public final MessageCodec messageCodec; public final MessageCodec responseCodec; public final Method method; public...
26.323077
87
0.708358
844f0d45edea747fce93d61e0cbaec37f3d95cec
1,077
/*L * Copyright Northrop Grumman Information Technology. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/nci-term-browser/LICENSE.txt for details. */ package gov.nih.nci.evs.browser.test.utils; import java.util.*; import gov.nih.nci.evs.browser.properties.*; ...
33.65625
72
0.661096
0c5d10be543d4267264bae64baff861fa3ae59ef
4,114
import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import java.io.*; import org.apache.hadoop.mapreduce.Mapper; import java.security.NoSuchAlgorithmException; import javax.xml.bind.DatatypeConverter; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.util....
35.465517
94
0.701021
fe09cc4c19e99a90ea1f79db0e47649102c86336
2,702
package com.example.customview.telescope; import android.os.Bundle; import android.widget.SeekBar; import android.widget.TextView; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.example.customview.MyUtils; import com.example.customview.R; /** * @author: LiuSaiSai ...
32.166667
94
0.676906
cb8f558072673474fab6cb73b1c5344f6ba45057
493
package net.socialhub.twitter.web.entity.response; import com.google.gson.annotations.SerializedName; /** * TODO: * "responseObjects": { * "feedbackActions": {} * } */ public class Timeline { @SerializedName("id") private String id; @SerializedName("instructions") private Instruction[] instructi...
17.607143
50
0.643002
1f38f82c11dd36de4c28c07536410005302eeff7
86
package com.google.android.gms.internal; public interface zzbeh { void zzmF(); }
14.333333
40
0.72093
418eb2b00a33ef6c547e19cf22ea22e9ca453981
95
package agh.cs.oop.project1; public class InvalidFormatException extends RuntimeException { }
19
62
0.831579
72fbbb70c778a6f78c2345afa6fcfe6794a191cc
6,154
package us.ihmc.avatar.multiContact; import static org.junit.jupiter.api.Assertions.assertTrue; import java.awt.Color; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import us.ihmc.avatar.drcRobot.DRCRobotModel; import us.ihmc.avatar.initialSetup.DRCRobotInitialSetup; import us.ihm...
47.338462
158
0.784205
9e4cbed8be436ee7253a430a268690a69c436f26
28,609
package common.output; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Hashtable; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.DefaultCellEditor; import javax.swing...
36.631242
118
0.533818
9d3109e6a1e0d65ba1eeaedae55afbdf4a9585bd
1,762
package benchmark.WordCount; import org.apache.samza.application.StreamApplication; import org.apache.samza.config.Config; import org.apache.samza.operators.KV; import org.apache.samza.operators.MessageStream; import org.apache.samza.operators.OutputStream; import org.apache.samza.operators.StreamGraph; import org.apa...
44.05
119
0.69353
4b82cca5821998725c6e4fcc1355a74386531974
2,875
package ubc.pavlab.rdp.controllers; import lombok.extern.apachecommons.CommonsLog; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.stereotype.Controller; import org...
34.638554
125
0.662261
d2cf22171f0027a536f621cf3dcf4fc242d51dc9
863
/******************************************************************************* * Copyright (c) 2018 Red Hat, Inc. Distributed under license by Red Hat, Inc. * All rights reserved. This program is made available under the terms of the * Eclipse Public License v2.0 which accompanies this distribution, and is * avai...
37.521739
80
0.617613
b50417be6fc45b0123c966a70832d096b92a5773
3,993
package net.clustercode.holidayapp; import android.content.Intent; import android.os.Bundle; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import com.g...
39.534653
204
0.572502
31bf9bfbea38a6862826760d131f523ef3a7112a
11,879
/** * 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"); yo...
42.425
137
0.621012
5f8bb44ee266ac725283e238dee61020a1dcc0ea
571
package com.tp.ehub.order.messaging.command; import com.fasterxml.jackson.annotation.JsonTypeName; import com.tp.ehub.common.domain.exception.BusinessException; /** * A <code>Command</code> to cancel an existing order * */ @JsonTypeName(CancelOrderCommand.NAME) public class CancelOrderCommand extends OrderCommand ...
23.791667
92
0.767075
83d9dc66f4b6ecc3bfcc86de808ae3be06873af4
16,826
/* * 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 ...
29.939502
120
0.69143
52a2e5898046de6ad7fceb040fc4691e19a6f827
2,948
/* (c) 2004 Allen I. Holub. All rights reserved. * * This code may be used freely by yourself with the following * restrictions: * * o Your splash screen, about box, or equivalent, must include * Allen Holub's name, copyright, and URL. For example: * * This program contains Allen Holub's SQL...
32.755556
74
0.610923
167043fcbed69749a50d9f4fd49f07fa2dc5b698
1,193
package student; import java.util.Scanner; public class TestStudent { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // Ucitavaju se ime i prezime studenta, fakultet i godina studija System.out.print("Ime: "); String ime = sc.next(); System.out.print("Prezi...
32.243243
83
0.694887
3adb986857c8c1f1de67fe373e7d21834e7bd83f
2,231
package com.netbreeze.bbowl; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Iterator; import java.util.LinkedList; import java.util.List; /** * Contains settings f...
25.643678
90
0.685791
8b5552a772b79f6aa2032c7df2a8bec63aba515b
360
package io.musician101.itembank.common; import io.musician101.itembank.common.account.Account; import io.musician101.musicianlibrary.java.storage.DataStorage; import java.io.IOException; import javax.annotation.Nonnull; public interface ItemBank<I> { @Nonnull DataStorage<?, Account<I>> getAccountStorage(); ...
24
63
0.783333
6352514b96ea15e1f90ebdc0294723010d2b1b24
11,875
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregoria...
25.373932
112
0.610358
cf6feefa69ff0f3794456e40e32509f9b8061160
140
package com.tcua.junit.soa.handler; public class ElementStatus { // position used by array elements public int position = 0; }
15.555556
36
0.7
2510905060bdb1eff35714ea11fa9f5d934efcb3
2,137
/* ================================================================== * PasswordEntry.java - Mar 19, 2013 6:46:30 AM * * Copyright 2007-2013 SolarNetwork.net Dev Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published...
23.744444
69
0.674778
ee9f9b7fa3bc5bf0913459d4ebb8a939e4d85a70
12,176
/** * 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...
34.590909
98
0.641179
8b076b38bdf2a399d2dd68d59f67ce035741a937
507
package com.jn.agileway.ssh.client.transport.hostkey.keytype; import com.jn.agileway.ssh.client.utils.Buffer; public class KeyBytesHostKeyTypeExtractor implements HostKeyTypeExtractor<byte[]> { public static final KeyBytesHostKeyTypeExtractor INSTANCE = new KeyBytesHostKeyTypeExtractor(); private KeyBytesHos...
31.6875
99
0.77712
197612895f250ecb25e9b2da003a302bf193afe6
4,820
/* * Copyright (c) 2008-2013, Hazelcast, Inc. 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 ...
34.927536
112
0.711411
36cb61cd89ce90bfca1098465429e45b92a69555
5,586
package kyle.toothless.levels; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.TimeUnit; import com.google.cloud.firestore.DocumentReference; import com.google.cloud.firestore.DocumentSnapshot; import com.google.cloud.fi...
45.786885
125
0.580738
f06b3c0d24f708452c59eb799ea887fd507e677a
2,569
package com.raddarapp.data.general.factory; import com.raddarapp.data.android.repository.datasource.origin.remote.api.client.CoinMiningApiClient; import com.raddarapp.data.android.repository.datasource.origin.remote.api.config.ServerApiConfig; import com.raddarapp.data.android.repository.datasource.origin.remote.reada...
57.088889
118
0.818217
6b45e7375c01997e131edc1ca5e2f04483eaeebb
3,479
package org.nybatis.core.file.handler; import org.nybatis.core.file.FileUtil; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.PathMatcher; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.Array...
28.752066
116
0.603334
ee9654aea6ca6c75a4b2da1962871d583670a6fe
1,266
import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class Odds_del { private Integer id; private Integer operation_id; private Integer bet_option_id; public Integer getOperation_id(){ return operation_id;} public ...
34.216216
111
0.635861
7aa123d6a60c8be7906bb65859a8ff5a40549636
22,052
class cR { public boolean[][] sV () { if ( -this[ true.oGGNf()]) -!null[ zI().Kt()];else { void[][][][] wuJGpOwaGKgI7e; } void WJUpL_IIiU; ; while ( false._0()) if ( true[ j04KdmpuW[ -this[ !-In0H.KkZ1h5nC8AqrBE]]]) -this[ -!-!!false.lnKBR]; boolean[] ...
38.284722
252
0.487756
b38ec50c7ed49d9c3c5fbd77d7e726ed912d0553
4,156
package com.example.application.backend.service.impl; import com.example.application.backend.service.PartsSearchService; import com.example.application.model.AbstractPcPart; import com.example.application.model.Connector; import com.example.application.model.CoolingSystem; import com.example.application.model.Graphics...
33.788618
69
0.796679
7ce18affed22552eb0487258c91971367595d8c6
216
package pattern05_builder; public interface HouseBuilder { // 修建地板 public void makeFloor(); // 修建墙壁 public void makeWall(); // 修建房顶 public void makeHouseTop(); public House getHouse(); }
18
31
0.652778
646918719abb83c3a6853d377027806c3a2ef495
4,843
package org.httpkit.server; import clojure.lang.IFn; import clojure.lang.IPersistentMap; import clojure.lang.ISeq; public class MockClojureHandler implements IFn{ private final IPersistentMap dummyResponse; public MockClojureHandler(IPersistentMap dummyResponse){ this.dummyResponse = dummyResponse; ...
34.592857
274
0.671072
14f7426c5f8e1c1ca56d5eed3473271db3fa6d3a
2,766
package de.fhl.overchef.test; import static org.junit.Assert.*; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import org.junit.Before; import org.junit.Test; import de.fhl.overchef.db.DBConne...
27.939394
275
0.714027
39b90c93d32a3c2479d8c33f747635030b62dfc5
821
package io.crnk.core.mock.models; import io.crnk.core.resource.annotations.JsonApiField; import io.crnk.core.resource.annotations.JsonApiId; import io.crnk.core.resource.annotations.JsonApiResource; import io.crnk.core.resource.annotations.PatchStrategy; @JsonApiResource(type = "projects-patch-strategy") public class...
18.659091
57
0.74665
e626ab69ee05f760bc03ed339173de816ac2592d
724
/* This file was generated by SableCC (http://www.sablecc.org/). */ package dssl.node; import dssl.analysis.*; @SuppressWarnings("nls") public final class TExch extends Token { public TExch() { super.setText("exch"); } public TExch(int line, int pos) { super.setText("exch"); ...
18.1
67
0.588398
5153ec4baa639c0d96f8fa8cbbcbe31891f0a7d4
1,849
package me.opkarol.oppets.collections.map; /* * Copyright (c) 2021-2022. * [OpPets] ThisKarolGajda * 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 ...
32.438596
308
0.712818
aefefecfd2cd78f825b9efb6ff9c4d149f3df114
857
package com.petehouston.jsoup; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.IOException; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.jsoup.parser.Parser; /** * Section07 * List all URLs within a HTML document * */ public class App { pub...
25.205882
88
0.660443
335174976d2782c6870418544f9d6c610ce826dd
1,514
package org.uberfire.properties.editor.client.widgets; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.ui.ListBox; import com.google.gwt.user.cli...
28.037037
75
0.679657
1427e3330f6c78337f6564d47884533c676ac157
7,119
package sorald; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.greaterThan; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.File; import java.io.IOException; import java.nio.file.Path; imp...
42.12426
97
0.628319
ba9960960158b39ab8db2faf66ebb47c1650c95e
2,617
/* * Copyright (c) 2020-2021, Koninklijke Philips N.V., https://www.philips.com * SPDX-License-Identifier: MIT */ package com.philips.research.bombar.controller; import com.philips.research.bombar.core.ProjectService; import org.junit.jupiter.api.Test; import pl.tlinkowski.annotation.basic.NullOr; import java.tim...
30.430233
83
0.67864
e30406ce4f8c24163133d51a759a23335fe5f532
8,168
/* * The MIT License * * Copyright (C) 2010-2011 by Anthony Robinson * * 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 * t...
40.039216
119
0.685357
9b9aa579a1989ea3ebf0de3c250688d8fbe7c919
893
package io.wisoft.java_seminar.chap07.sec07.exam03_tire; public class Tire { // 필드 public int maxRotation; // 최대 회전수(타이어 수명) public int accumulatedRotation; // 누적 회전수 public String location; // 타이어의 위치 // 생성자 public Tire(String location, int maxRotation) { t...
31.892857
78
0.529675
6dcaba11fabac48dc9cb73f9fd9427cf385b7e83
226
package com.nblog.annotation; import java.lang.annotation.*; /** * @author liulin * 被该注解修饰的方法不需要进行 token 验证 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface PassToken { }
14.125
35
0.752212
8f5eb3c48150d1aebcfa529d4a0d8ab173fc2345
8,229
package com.example.p2pinvest.activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.KeyEvent; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.LinearLayout; import android...
33.587755
95
0.621461
15fe9c9362bef5799ab3ca1654a3a988f403b88b
2,621
package dao; import db.DB; import models.User; import models.News; import org.sql2o.Connection; import org.sql2o.Sql2oException; import java.util.ArrayList; import java.util.List; public class Sql2oUserDao implements UserDao{ @Override public void add(User user) { try(Connection conn = DB.sql2o.open...
30.476744
111
0.534529
228bad56c0a5ef5c765166032a86a88c733d3131
3,349
package com.paragon464.gameserver.io.database.table.player; import com.paragon464.gameserver.io.database.pool.impl.ConnectionPool; import com.paragon464.gameserver.io.database.table.Table; import com.paragon464.gameserver.model.entity.mob.player.Player; import java.io.IOException; import java.sql.Connection; import j...
52.328125
311
0.641983
bf311bfbf51451724e7d137b4f31d3cf0dbcf66d
9,880
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
33.605442
129
0.632996
acf4180b9a0af024927ca3f14a26f27e22e136f3
4,987
package seedu.address.model; import java.nio.file.Path; import java.time.LocalDateTime; import java.util.function.Predicate; import javafx.collections.ObservableList; import seedu.address.commons.core.GuiSettings; import seedu.address.model.meeting.Meeting; import seedu.address.model.module.Module; /** * The API of...
30.224242
114
0.594345
80d23a525a0137574d99ee269db464e707ddd42e
3,642
/* * Copyright (C) 2014 Google 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 ...
41.386364
124
0.737232
825c2f2383efface49177cec8d3c9335d5328a05
997
/** * Base class for DAO layer testing. Assumes the database is loaded * with valid data. */ package com.gieman.tttracker.dao; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfigurat...
34.37931
100
0.766299
43d2d11f2fb7b100cfb0bc7a3ed73ad25bea07dc
2,547
package com.github.lehjr.numina.recipe; import com.google.gson.JsonObject; import net.minecraft.inventory.CraftingInventory; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipeSerializer; import net.minecraft.item.crafting.Ingredient; import net.minecraft.item.crafting.ShapedRecipe; import ...
36.385714
195
0.783667
8ae3f92eb397324ad39ebc3d2f20d0e0d53624f3
264
package pattern.visitor; /** * Element.java * * @author: zhaoxiaoping * @date: 2019/11/01 **/ public abstract class Element { public String uuid; public Element(String uuid) { this.uuid = uuid; } public abstract void accept(Visitor visitor); }
14.666667
47
0.670455
b354fc5d7f7c576191c042a7613a71480b478c30
2,300
package com.example.hotel.infrasctructure.configuration; import com.example.hotel.application.messaging.model.BookingRequestMessage; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.SneakyThrows; import org.springframework.amqp.core.AcknowledgeMode; import org.springframework.amqp.rabbit.connection.Co...
38.983051
100
0.774348
7c1d0e210f333aa79c6ddaeabc672cedc68920fc
1,974
package tool.feedback; import java.util.List; import tool.designpatterns.DesignPattern; import tool.designpatterns.Pattern; import tool.designpatterns.PatternGroup; /** * The feedback for an entire patternGroup. */ @DesignPattern(pattern = {Pattern.IMMUTABLE}) public final class PatternGroupFeedback { private...
27.041096
94
0.619048
320c7ae8e1492e44f043fe060eb04da240308a28
4,447
package wisematches.server.services.message; import wisematches.core.Player; import wisematches.core.task.CleaningDayListener; import java.util.Collection; /** * {@code MessageManager} provides ability to send/receive short messages between personalities. * * @author Sergey Klimenko (smklimenko@gmail.co...
34.742188
97
0.711041