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
fe7e85da34bb9eec280db0f9de780bbca496e032
1,136
package org.clever.hinny.api; import org.clever.hinny.api.folder.Folder; import org.clever.hinny.api.require.Require; import java.io.Closeable; /** * 脚本引擎实例 * <p> * 作者:lizw <br/> * 创建时间:2020/07/14 11:15 <br/> * * @param <E> script引擎类型 * @param <T> script引擎对象类型 */ public interface ScriptEngineInstance<E, T> e...
17.476923
63
0.514085
60924e976e02fafffd9d497fbe143ce20a8b6587
8,227
package org.hisp.dhis.artemis.audit; /* * Copyright (c) 2004-2019, University of Oslo * 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 ...
26.453376
107
0.611158
b62ba0552dcba6fa04780a274db8ebd8942d39bb
3,934
package com.example.demo.controller; import com.example.demo.datacenter.DataCenter; import com.example.demo.utils.APIHandler; import com.example.demo.utils.TrafficAPIReceiver; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.springframework.web.bind.annotation.RequestMapping; import org....
34.208696
126
0.659888
6b93bfd22524dafe340f11a2639db91d07866432
3,091
package com.zfdang.zsmth_android; import android.app.Activity; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.zfdang.SMTHApplication; import com.zfdang....
33.967033
135
0.698479
6316a2afe6395ec8e257a95b77140d4749007b9e
7,776
package org.apache.hadoop.mapred; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; @InterfaceAudience.Private @InterfaceStability.Unstable public class MapSampleR...
32.26556
110
0.684928
a863ff54042b9c89567a1c058ad145949974f214
444
package com.baomidou.service.impl; import com.baomidou.entity.Rank; import com.baomidou.mapper.RankMapper; import com.baomidou.service.IRankService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 服务实现类 * </p> * * @author wuxy * @si...
21.142857
92
0.77027
9c1d15b05a42b19f20e879f05090c8384c5d820c
527
package com.github.mkapiczy.oauth_server.repository; import com.github.mkapiczy.oauth_server.entity.db.Code; import com.github.mkapiczy.oauth_server.entity.db.RegisteredApp; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; @Reposit...
29.277778
85
0.83112
981ef705185e6bf241fb889f418d0aaebaf19d14
3,115
/* * Copyright 2017 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
43.873239
99
0.74061
9c156565628c580165fc4bdf7604d2598c9dae99
630
package pl.edu.pg.eti.kask.forge.user.entity; import lombok.*; import lombok.experimental.SuperBuilder; import java.io.Serializable; import java.time.LocalDate; @Getter @Setter @SuperBuilder @NoArgsConstructor @AllArgsConstructor(access = AccessLevel.PRIVATE) @ToString @EqualsAndHashCode public class User implement...
18
49
0.677778
e320f8f773e20ae93079af1fdfc0529ab0384239
2,243
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
36.177419
99
0.728934
7b23951a2ea4a2164a712880d5b1e9b2769c8274
4,153
/* Copyright 2019 Telstra Open Source * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
45.141304
118
0.697086
f7d98070c58b79187780f397f5a0090abc3039bf
2,401
/* * Copyright 2018-2019 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...
22.231481
110
0.705539
2ca4cadb6684bfc29c722fac52a64e47bb13c2c5
390
package com.tcwong.pengms.service; import com.tcwong.pengms.base.WebPageResponse; import com.tcwong.pengms.model.Driver; public interface DriverService { int addDriver(Driver driver); int deleteByIds(String ids); int editDriver(Driver driver); WebPageResponse getAllDriverByPage( Integer...
24.375
86
0.751282
c22a73c7f8db4418dd92db109bead6b804ea2844
3,329
package com.ifttt.location; import android.content.Context; import android.util.Log; import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.platform.app.InstrumentationRegistry; import androidx.work.Configuration; import androidx.work.WorkInfo; import androidx.work.WorkManager; import androidx.work...
38.264368
119
0.751877
ec2a8753414481bd334e932a69591e0c3bd75ea3
141
package org.odata4j.expression; public interface BoolParenExpression extends BoolCommonExpression { CommonExpression getExpression(); }
17.625
67
0.829787
43b6c2d08410478583f0fd6bbb1f3643c2b78bc7
2,487
package org.pmiops.workbench.exceptions; import java.util.logging.Level; import java.util.logging.Logger; import org.pmiops.workbench.model.ErrorResponse; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.http.converter.HttpMessageNotReadableExceptio...
41.45
100
0.740651
1f4f5b0b190eba15768caa72596f90187a24c3f5
366
package pl.majorczyk.mybookstore.dao; import pl.majorczyk.mybookstore.model.Book; import java.util.List; public interface BookDAO { Book create(Book book); List<Book> readAllBooks(); List<Book> readBooksByAuthor(String author); List<Book> readBooksByGenre(String genre); List<Book> readBooksToPage...
24.4
48
0.740437
a90827a5f1042ac6239b91c6194194012bbd319f
462
package webapp.swagger; import io.swagger.models.Contact; import io.swagger.models.Info; import org.noear.solon.annotation.Bean; import org.noear.solon.annotation.Configuration; @Configuration public class InfoConfig { @Bean public Info build() { return new Info() .contact(new Contact(...
25.666667
76
0.651515
88b737f9b46d48bf106f313da4dfcaa1f61fe5ab
1,862
package com.jasonkcwong.pigeon.Adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.jasonkcwong.pigeon.Models.Contact; import com.jasonkcwong.pigeon.Listener...
33.854545
118
0.691192
4d96df5f4cd6a715cfa314a3f004c1d7ce0ac172
467
/* All Contributors (C) 2020 */ package cn.edu.jxnu.examples.other; /** * @author 梦境迷离 * @time 2018-09-08 */ public class TestJava { public static void main(String[] args) { String a = "A"; String b = "B"; StringBuffer sa = new StringBuffer(); sa.append(a); change(sa, b)...
20.304348
58
0.563169
afc98f43568556684ea2688beb0d9f9108c034dd
1,264
package top.kiswich.cranesite.pojo.to; import javax.persistence.*; import java.util.Objects; @Entity @Table(name = "T_ROLE", schema = "DB_CRANE_CITE", catalog = "") public class TRoleEntity { private int id; private String name; private String desc; @Id @Column(name = "id") public int getId()...
20.387097
66
0.560127
8eb1f0dd7ce53936b7e2fb7d72b3291a78729174
6,414
/* * Copyright (c) 2004-2021, University of Oslo * 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 copyright notice, this * list of cond...
42.197368
117
0.676957
a8bf3b2a3ee290e2da6516be5911f330084e9a94
4,524
/* * 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 com.github.nppes4j.entity; import com.github.nppes4j.EntityType; import java.time.LocalDate; import java.util.List; import jav...
21.961165
221
0.594164
101209d08e8a28c60d517630a7ab6877b2958dc0
755
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX; import static frc.robot.Constants....
26.964286
74
0.748344
fc1cd2cac6096ff1a2f0231ee72fa8edb675fdd7
1,471
package kr.ac.kaist.kyotong.utils; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import android.view.View; import com.afollestad.materialdialogs.DialogAction; import com.afollestad.materialdialogs.MaterialDialog; /** * Created by ye...
35.02381
278
0.649898
be7907f42ca0727c462f7fc7d0b3035c164227f5
984
package android.app; import android.content.SharedPreferences; import android.os.Bundle; import android.view.ContextThemeWrapper; import java.io.File; public class Activity extends ContextThemeWrapper { protected void onCreate(Bundle savedInstanceState) { } public SharedPreferences getPreferences(int ...
25.894737
62
0.643293
0724283605f43ad511e402028dc8f0534d291aa3
178
package workspace.model; public class ProjectFactory extends MPNodeFactory { @Override public MPNode createNode() { Project p = new Project(); return p; } }
14.833333
52
0.679775
f69e47ccb9a10080e02add100d175eee8bb29819
1,327
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 选址结果 * * @author auto create * @since 1.0, 2020-04-17 11:30:53 */ public class SiteResult extends Al...
17.932432
68
0.656368
eb13530808739a43f59350f34e209e99d5a736db
1,182
package cn.felord.payment.controller; import cn.felord.payment.wechat.v3.WechatApiProvider; import cn.felord.payment.wechat.v3.WechatResponseEntity; import com.fasterxml.jackson.databind.node.ObjectNode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Profi...
30.307692
79
0.770728
485ca306551127f529afec04a82cb448154b8fa3
625
package com.kuangstudy.ksdalipay.service.course; import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.kuangstudy.ksdalipay.entity.ProductCourse; import com.kuangstudy.ksdalipay.mapper.ProductCourseMapper; import org.springframework.s...
29.761905
126
0.8224
3cfbf55b7cf094dd07d14832855969c5dd894fa9
5,595
package com.leigq.quartz.controller; import com.leigq.quartz.bean.common.Response; import com.leigq.quartz.bean.constant.SysUserConstant; import com.leigq.quartz.bean.vo.SysUserVO; import com.leigq.quartz.util.ImageCode; import com.leigq.quartz.util.RSACoder; import com.leigq.quartz.web.exception.ServiceException; imp...
33.502994
174
0.688829
11dc4a9ab2c9f83ad8e7a0ec926c84b0f073cb69
185
package com.kirekov.beholder.core.configuration.rule.method; /** * Represents a rule that defines restrictions to procedures */ public interface ProcedureRule extends MethodRule { }
23.125
60
0.794595
7ef6dfa915954bc8858a57e16455c54bc6b00487
5,902
package org.kiwiproject.test.dropwizard.configuration; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.kiwiproject.collect.KiwiLists.first; import static org.kiwiproject.collect.KiwiLists.second; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configurati...
38.828947
121
0.681803
2f1daec9e7710e6cc34fb87f9761b70a6857911e
120
package design.factory.factorymethod; public abstract class VehicleFactory { public abstract Moveable create(); }
17.142857
38
0.783333
e5498c563582917e2f974374e0920583f01bde4c
1,363
package org.apache.sftp.protocol.packetdata.openssh; import org.apache.sftp.protocol.packetdata.Status; /** * Implements the rename operation with POSIX semantics: * * <pre> * 3.3. sftp: Extension request "posix-rename@openssh.com" * * This operation provides a rename operation with POSIX semant...
34.948718
106
0.68672
f48515cdf600a51517f7123a694df11b61994d60
5,570
/** * 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...
32.383721
78
0.690844
838a605efc03a2205e19e051d5acd0745fb3dee6
3,757
/* * ****************************************************************************** * Copyright 2016-2017 Spectra Logic Corporation. 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 Licens...
41.285714
134
0.68592
1cec0e3813293931ab3ecf4f161c44f008c4cdb3
656
package greek.code; import greek.spelling.Grapheme; /** * A beta code converter which marks the last character terminal. * @author Brian DuSell <bdusell@gmail.com> */ public class BetaCodeTerminatingConverter extends BetaCodeConverter { /** * Mark the letter terminal if there is no letter following it. Note ...
24.296296
72
0.731707
d3e0538adcd7eebaf6b9f07baccd2a68d149789a
3,051
package com.datastax.address.demo.dao; import com.datastax.address.demo.model.Address; import com.datastax.dse.driver.api.core.DseSession; import com.datastax.dse.driver.api.core.cql.reactive.ReactiveResultSet; import com.datastax.oss.driver.api.core.cql.BoundStatement; import com.datastax.oss.driver.api.core.cql.Prep...
40.144737
129
0.669289
319097a907ef1568c00a1544a55e42a67efaec10
484
package com.flextrade.jfixture.behaviours.recursion; import com.flextrade.jfixture.FixtureBehaviour; import com.flextrade.jfixture.SpecimenBuilder; public class ThrowingRecursionBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder =...
28.470588
75
0.745868
c0a6f2297205b87374071c10afb6a20dd7a06746
10,647
/* * Copyright 2018 ARP Network * * 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...
46.090909
173
0.669203
41bb18b7f7e765f8fdcd5c466d9b20d55f20390a
1,256
package com.company.socket.udp; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class UdpServer { public static void main(String[] args) throws IOException { while (true){ try{ DatagramSocket ds ...
26.166667
111
0.555732
0699534e01186f47f5f187517c14ec58d15e34f4
29,815
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999,2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
39.385733
133
0.516921
89c665198c23faf0cba4e6889fae5dea3a79098c
2,314
package com.github.garymr.android.easyupdate; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; public final class Util { private static final String TAG = "EasyUpdate"; private Util() {} /** * Returns whether the netwo...
30.051948
98
0.631374
a0f3dfc07677c74b25e54a9e1e31958ea533a633
15,046
package oghamall.it.email; import static fr.sii.ogham.email.attachment.ContentDisposition.INLINE; import static fr.sii.ogham.testing.assertion.OghamAssertions.assertThat; import static fr.sii.ogham.testing.assertion.OghamMatchers.isIdenticalHtml; import static fr.sii.ogham.testing.assertion.util.EmailUtils.ATTACHMENT_...
38.778351
120
0.695268
2abe3273dead3c8e355b08cdfabc8d6c903d17b1
176
package roadtodoird.com.uploader.Models; import junit.framework.TestCase; /** * Created by misterj on 23/2/16. */ public class RecyclerViewAdapterTest extends TestCase { }
17.6
55
0.767045
8d9a92bb15cf4552c812abb189b1f0400f01babd
411
package chapter3; public class BoxOrVararg { void go(Byte b, Byte b1){ System.out.println("byte, byte"); } void go(byte... bytes){ System.out.println("byte..."); } void go(byte myByte){ System.out.println("byte"); } /** * @param args */ public static void main(String[] args) { byte b = 5; ne...
14.678571
41
0.603406
47a699d66a151d1915eb188a135e73b7065ede65
3,549
/* * Copyright 2016 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
37.357895
93
0.672302
348a171522a8e6eae8b4138d4e81daa7d8c90e5b
1,079
package alg77777777.p6; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ThreadLocalRandom; public class GeneradorParejas { private int n; ...
26.317073
66
0.546803
b006ab8475f4c47571581dfdf8cc6a88d88cf272
8,827
package cn.zjy.patchupdate; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Environment; import android.text.TextUtils; import android.uti...
37.244726
121
0.615385
c03d194554c7391d56c8164fc31c0000b3cadcd3
434
package com.technoboom.decorator.StarbuzzCoffee; /** * Created by IntelliJ IDEA. * Date: 8/21/17 * Time: 3:20 PM * Project: patterns-learn * Package: com.technoboom.Starbuzz * * @author dmitryi * @version 1.0 * @since 1.0 */ public abstract class Beverage { protected String description = "Unknown Beverag...
18.869565
54
0.677419
1e7b2347c2df549c67e4b7fccc3b48cd0edd4225
1,259
package com.legyver.logmire.task.indexlog; import com.legyver.core.exception.CoreException; import com.legyver.logmire.ui.bean.LogLineUI; import com.legyver.logmire.ui.search.FilterableLogContext; import com.legyver.logmire.ui.search.InMemoryIndex; import com.legyver.tuktukfx.adapter.TaskStatusAdapter; import com.legy...
28.613636
92
0.814138
e389053f65869b1c636a564e2866acad9188de41
1,089
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.widget; import android.widget.TextView; // Referenced classes of package android.support.v4.widget: // TextViewCompat, TextV...
28.657895
88
0.673095
58194e7a0c60338d6079a64f7b56cc65e073ee4a
993
package dev.hephaestus.fiblib.mixin.blocks; import dev.hephaestus.fiblib.FibLib; import net.minecraft.block.BlockState; import net.minecraft.util.math.BlockPos; import net.minecraft.world.chunk.ProtoChunk; import net.minecraft.world.chunk.WorldChunk; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.a...
45.136364
207
0.778449
6af6fdb819dabc9850c40ca5de5b84dca2ebdcc7
1,043
package cn.intellimuyan.bardclient.base; import cn.intellimuyan.bardclient.util.MusicUtils; import lombok.Data; @Data public class PlayCommand { public enum Type { WAIT, RELEASE, PLUCK; } public static final PlayCommand RELEASE = new PlayCommand(Type.RELEASE); private final Type type; pr...
22.191489
76
0.551294
e6f0513eeabf72599b662edd99579b10c29126ae
1,998
package com.lqg.youtube.ui.play; import android.content.Intent; import android.widget.Toast; import com.google.android.youtube.player.YouTubeBaseActivity; import com.google.android.youtube.player.YouTubeInitializationResult; import com.google.android.youtube.player.YouTubePlayer; import com.google.android.youtube.pla...
33.3
119
0.740741
ba2d4b02bfe8e731c6c2f2926410a384f98519ae
980
package org.nextrtc.examples.videochat; import org.nextrtc.signalingserver.NextRTCConfig; import org.nextrtc.signalingserver.api.NextRTCServer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration;...
36.296296
83
0.810204
dd03930f7f40463015f016dcd054bfbb8960bab8
7,983
package com.vladsch.flexmark.core.test.util.formatter; import com.vladsch.flexmark.test.util.FlexmarkSpecExampleRenderer; import com.vladsch.flexmark.test.util.SpecExampleRenderer; import com.vladsch.flexmark.test.util.TestUtils; import com.vladsch.flexmark.test.util.spec.IParseBase; import com.vladsch.flexmark.test.u...
38.565217
210
0.72692
f489dd9f0d4073ada7699381e0ee7a854c83c6ff
1,108
package cn.ffast.web.service.sys; import cn.ffast.core.support.ICrudService; import cn.ffast.web.entity.sys.Attach; import cn.ffast.core.vo.ServiceResult; import cn.ffast.core.vo.ServiceRowsResult; import org.springframework.web.multipart.MultipartFile; import java.io.File; /** * @description: 系统_附件服务类 * @copyrigh...
18.163934
67
0.618231
129b1f8ebc3b7ac1cc5711b63961ec89b0a1e2b6
3,489
/* * Copyright 2016-present David Karnok * * 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...
26.633588
91
0.607051
51a1a784708210e9d849b5be3867451c7cf7a4b0
737
package com.learn.zqw.sqlannotation.domain; /** * Book实体类 * * @author zhuquanwen * @vesion 1.0 * @date 2020/3/8 12:05 * @since jdk1.8 */ public class Book { private Integer id; private String name; private Integer num; private Library library; public Integer getId() { return id; } ...
13.648148
43
0.618725
5f6b0c4bb944075b16a4da0229c0f2f873a01a47
8,414
package edu.unapec.hhrr.controllers.commands; import edu.unapec.hhrr.core.entities.*; import edu.unapec.hhrr.core.enums.ERole; import edu.unapec.hhrr.infrastructure.dtos.commands.candidate.CandidateCreateCommandDto; import edu.unapec.hhrr.infrastructure.dtos.commands.candidate.CandidateUpdateCommandDto; import edu.una...
41.245098
119
0.732707
26a73d669aed630594343d8bd86b8261eecf088e
1,371
package com.cschar.pmode3.config.common.ui; import com.cschar.pmode3.config.common.PathData; import com.cschar.pmode3.config.common.SpriteData; import com.intellij.ui.JBColor; import javax.swing.*; import javax.swing.table.TableCellRenderer; import java.awt.*; import java.util.ArrayList; public class CustomPathCellH...
32.642857
139
0.632385
6b73b041bf7242b2ca23f5e529b4b528b5295271
973
package testCodes.robotTests; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.ColorSensor; @Disabled @Autonomous public class colorBoi extends LinearOp...
32.433333
67
0.654676
6a205c3db157e75986544d2acdfcd6bc98b1d26d
789
package org.maera.plugin.osgi.event; import org.osgi.framework.Filter; /** * Abstract implementation of plugin service dependency waiting events * * @since 0.1 */ class AbstractPluginServiceDependencyWaitEvent implements PluginServiceDependencyWaitEvent { protected final Filter filter; protected fina...
23.205882
106
0.69962
6ae1c2bfcea1129312a6aec23765e69b9b2bc0dd
109
package com.vuopaja.androidjavaproxy; public interface JavaCallback { void OnJavaCallback(int index); }
15.571429
37
0.788991
9ee7d82250b5e84be5409554a0e7991fc7084496
6,539
package com.newjourney.video.ui; import android.app.Activity; import android.content.Intent; import android.media.Image; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterV...
30.990521
141
0.597339
a3763dcff9b74aafbaf8dc598e6c91aed1520137
1,558
package org.springframework.boot.web.server; import java.util.Set; import java.util.stream.Collectors; import org.springframework.context.origin.BeanDefinitionDescriptor; import org.springframework.context.origin.BeanDefinitionDescriptor.Type; import org.springframework.context.origin.BeanDefinitionDescriptorPredicat...
45.823529
136
0.832478
7af12d8b800c3a0f0aedcd1552cce27beaa9c6ac
2,656
/* * Copyright 2018-2020 , 廖金龙 (mailto:jinlongliao@foxmail.com). * <p> * * 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 * * Unles...
36.383562
121
0.644955
146cc8f0e89e737fa87be637453087c399f0e86d
22,174
package model; import java.sql.*; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import controller.Controller.QueryType; /** * All db interaction code resides here, could be called directly by view, or by * view through intermediary layer of Model. (more about this in QUESTIONS.txt) *...
29.964865
143
0.687562
7a6d0750bffd6bd8de74dbc516cc89ecd987574d
5,932
package cz.cuni.mff.perestroika.domain.events; import cz.cuni.mff.jpddl.IPDDLUnification; import cz.cuni.mff.jpddl.PDDLEffector; import cz.cuni.mff.jpddl.PDDLState; import cz.cuni.mff.jpddl.store.FastIntMap; import cz.cuni.mff.jpddl.store.Pool; import cz.cuni.mff.jpddl.utils.StateCompact; import cz.cuni.mff.perestroik...
21.035461
91
0.645651
08ce99fd1670488e17eaa4ee8e329447a2e0cf0e
3,431
/* * Copyright [2020] [MaxKey of copyright http://www.maxkey.top] * * 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 req...
33.31068
91
0.78053
0e9c02af4774847baeb66f6ca9b9525dbaa2c4f7
677
package org.jboss.weld.environment.servlet.test.examples; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.inject.Produces; @ApplicationScoped public class Generator { private int lastInt = 0; private java.util.Random random = new java.util.Random(System.currentTimeMillis()); ...
22.566667
87
0.657312
bd1a6e1b33d5bad6484378cfbc9a1cdb0b25140e
3,897
/* ================================================================== * Eniware Open Source:Nikolai Manchev * Apache License 2.0 * ================================================================== */ package org.eniware.central.in.web.api; import static org.eniware.web.domain.Response.response; import java.io....
37.114286
111
0.732102
d2ef49bca20fd736749c5472c2d48fa6a0cf2a58
10,437
package com.gw2auth.oauth2.server.repository.client.authorization; import com.gw2auth.oauth2.server.repository.BaseRepository; import org.springframework.data.jdbc.repository.query.Modifying; import org.springframework.data.jdbc.repository.query.Query; import org.springframework.data.repository.query.Param; import org...
51.413793
557
0.697518
e98e05da99eaaca5bde42b8b5c26ed1702f7e5d3
601
package com.rs.game.player.dialogues.impl; import com.rs.game.player.content.PartyRoom; import com.rs.game.player.dialogues.Dialogue; public class PartyRoomLever extends Dialogue { @Override public void start() { sendOptionsDialogue(DEFAULT_OPTIONS_TITLE, "Balloon Bonanza (1000 coins).", "Nightly Dance (500 coin...
21.464286
122
0.710483
13e1fda25db68aa632f18e63d2e7b56b98ce7710
9,863
package com.imatrixmob.ffime.popup; import java.util.ArrayList; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.graphics.Rect; import android.graph...
30.347692
116
0.559667
ef4a21ff068add8db10c8a462e0ff00647fb410a
227
package com.jlcb.desafioprodutecbackend.exception; public class AutenticacoException extends RuntimeException { private static final long serialVersionUID = 1L; public AutenticacoException(String msg) { super(msg); } }
20.636364
60
0.801762
a08cb477d16aef56c59f4f393dbf73e61fb02450
14,202
/* * Copyright 2020 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or agr...
29.836134
96
0.682932
883cc0aa0daec33910cdd9edfcc57d1eb4a8bbd9
6,129
/* * Copyright (C) 2009 Teleca Poland Sp. z o.o. <android@teleca.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 * *...
24.614458
107
0.658019
22030d648f829d2091f0da7398b95e8c5e39e279
576
package com.gl.roadaccidents; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; /** * Created by gavin on 16-5-26. */ @Con...
23.04
70
0.777778
49319ec85bb355ce72d87a23aa173693c0b53060
1,698
package net.gminerz.survivalgames.listeners.player; import net.gminerz.gmos.account.Account; import net.gminerz.gmos.account.AccountManager; import net.gminerz.gmos.game.GameAPI; import net.gminerz.gmos.game.enums.GameState; import net.gminerz.survivalgames.fighter.Fighter; import net.gminerz.survivalgames.fighter.man...
40.428571
156
0.684923
7514ff354933b4fb138b22c9df9bf1e80000e9ee
6,575
package com.fasterxml.jackson.dataformat.xml.deser; import java.net.URI; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonRootName; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.xml.XmlTestBase; import com.fasterxml.jackson.datafor...
30.299539
96
0.555437
541447ed72e332f2427d8bac8bf4049625aa7cd3
1,333
package com.skettios.textadventure.api.story; import java.util.HashMap; import java.util.Map; public class StoryFlagManager { public Map<String, Boolean> storyBooleanMap = new HashMap<String, Boolean>(); public Map<String, Integer> storyIntegerMap = new HashMap<String, Integer>(); public Map<String, Float> storyFl...
20.507692
78
0.726932
453905b3d75fc5a4f30246cab1567c68133c6d09
779
package com.getitcheap.API.Security; import com.getitcheap.API.DTO.MessageResponse; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.AuthenticationEntryPoint; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.s...
38.95
170
0.844673
555884ae8a75407fb9a9cfc059bbe25cd71bf794
431
package com.vztekoverflow.lospiratos.viewmodel.transitions; import com.vztekoverflow.lospiratos.util.AxialCoordinate; public class Bump extends Teleport { public Bump(int originalRotationAbsolute, int newRotationAbsolute, AxialCoordinate originPositionAbsolute, AxialCoordinate newPositionAbsolute) { ...
43.1
150
0.819026
323ed735f502ab1b9d85ef5df30220eafed1fd42
7,843
/* * Copyright 2014-2019 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...
35.488688
138
0.657274
cb0261db403e08449f89be63b4145f15dd97af7a
323
package com.service.Article; import com.model.Sys_Article; import com.util.Page; import com.util.QueryVo; import com.util.article.QueryArticle; import java.util.List; public interface ArticleService { Page<Sys_Article> findArticleByPage(QueryArticle vo); // 通过id获取文章 Sys_Article findArticleById(String id);...
21.533333
57
0.783282
dae4d86b2d3c9d684e27a3da0bcda7177add62cf
1,516
package org.yzh.jt808.codec; import org.influxdb.dto.QueryResult; import org.junit.Before; import org.junit.Test; import org.yzh.web.database.influx.CodeInfo; import org.yzh.web.database.influx.InfluxDbUtils; import java.util.List; public class InfluxDBTest { private InfluxDbUtils influxDbUtils; @Before ...
27.071429
109
0.662269
804665226caf5e800d6baaf59b5e49ad44868e91
707
package com.bharath.patterns.adapter; import mx.ismael.patterns.adapter.constants.ZipCodeConstants; public class WeatherUI { public static void main(String[] args) { WeatherUI ui = new WeatherUI(); System.out.println("This application shows the weather of a city"); ui.showTemperature(ZipC...
32.136364
80
0.711457
eebece71fd052a4e5da8297184bd03b75b88b544
2,705
/** * Copyright 2011-2019 Asakusa Framework 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...
29.086022
90
0.628835
7d07384bf60bbe7457b9372410b8e9d949c582e9
1,896
//https://www.hackerrank.com/challenges/the-time-in-words import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { HashMap <Integer,String> hm = new HashMap<Integer,String>(); ...
29.169231
79
0.478376
12b7b9c9cbe27a70bd8371314f8faeb51beb3ec2
7,406
/* * (C) Copyright 2017 David Jennings * * 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...
32.769912
161
0.569133
655dca3df32d1c03b2deb00e1a3cf0c7a4dadfcc
9,526
package com.epicodus.anonrec.ui.general; import android.content.Context; import android.content.Intent; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.support.v7.app.AppCompatActivity; import androi...
34.64
146
0.63122
aa06c5d1a8f4c25411a129044163dcf853aec26d
822
package com.telecominfraproject.wlan.core.model.equipment; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.telecominfraproject.wlan.core.model.equipment.AutoOrManualString; public class AutoOrManualStringTests { private stat...
34.25
103
0.768856
b1f7ec639451f1202b713358a4e341eeeea9522c
2,137
package powerlessri.anotsturdymod.handlers.proxy; import net.minecraftforge.fml.common.event.*; import net.minecraftforge.fml.common.network.NetworkRegistry; import net.minecraftforge.fml.relauncher.Side; import powerlessri.anotsturdymod.ANotSturdyMod; import powerlessri.anotsturdymod.blocks.remoteenetwork.tile.*; imp...
41.096154
145
0.785213
ee15d7899a8c2bcdc03c42b0dcc49913c8daf838
361
package com.xian.mall.product.dao; import com.xian.mall.product.entity.AttrEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品属性 * * @author lishouxian * @email li.shouxian@outlook.com * @date 2020-09-15 19:22:24 */ @Mapper public interface Attr...
20.055556
57
0.753463
78287dde34fc989a8031392a0b9adee3803349c1
4,001
package com.alexstyl.touchcontrol.utils; import android.content.ContentResolver; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import com.alexstyl.touchcontrol.BuildConfig; import com.alexstyl.touchcontrol.entity.Email; import com.alexstyl.touchcontrol.entity.Phone;...
31.503937
86
0.587353
91889681025f971480b31b3f86cc25e30418967f
1,910
/** * Copyright Microsoft Corporation * * 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...
34.727273
79
0.725654
fe9de91183885ec7bb2037bb2e2e273b35bdd954
2,530
/* * Fabric3 * Copyright (c) 2009-2015 Metaform Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
39.53125
134
0.749012