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
9b1f118575fcf0883c01afd4e65c149776b3ec9e
32,695
package com.mindoo.domino.jna.test; import java.util.Arrays; import java.util.Calendar; import java.util.EnumSet; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.junit.Assert; import org.junit.Test; import com.mindoo.domino.jna.NotesCollection; import...
38.600945
240
0.718275
1c230f551ce5425d46212d24f6f00ec6a095b3d3
2,953
package com.smartlogic.ses.examples; import com.smartlogic.ses.client.*; import java.util.HashSet; import java.util.Map; import java.util.Set; public class LoadTightLoopExample { private static final int NUM_THREADS = 30; private static final int MAX_LOOPS = 10; public static void main(String[] args) {...
33.942529
104
0.508297
6ac29aa3c7286644df67636ebdf91a06f96042da
1,739
/** *@author Moises Guerrero Lopez *@version 1.0 *@since November 30,2017 */ import java.net.*; import java.io.*; import java.util.concurrent.*; public class ServidorHiloconPool implements Runnable { Socket enchufe; public ServidorHiloconPool(Socket s) {enchufe = s;} /** *@ove...
28.983333
99
0.557217
0c741c7a6c166518a2cd82408ad4bf115fb28279
1,777
package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import java.io.Serializable; import java.util.regex.Matcher; import java.util.regex.Pattern; @GwtIncompatible final class JdkPattern extends CommonPattern implements Serializable { private static final long serialVersionUID = 0;...
23.381579
73
0.607203
0c8f7cfe1e15353c429a866f3806ac222937bd82
508
package com.acmerobotics.library.hardware; import com.qualcomm.robotcore.hardware.I2cDeviceSynchImplOnSimple; import com.qualcomm.robotcore.hardware.I2cDeviceSynchSimple; public class BetterI2cDeviceSynchImplOnSimple extends I2cDeviceSynchImplOnSimple { public BetterI2cDeviceSynchImplOnSimple(I2cDeviceSynchSimple...
31.75
97
0.795276
a443f47f63ecb384780dce43e130cf503a049123
202
package chapter_3.exercise_6; public class StringCount { public static int countLowerCaseLetters(String input) { return (int) input.chars().filter(Character::isLowerCase).count(); } }
22.444444
74
0.717822
0927a8f288a71f9ade4b623e0e858dc478daa11e
2,225
package ru.xander.replicator.schema; import ru.xander.replicator.exception.ReplicatorException; import ru.xander.replicator.exception.SchemaException; import ru.xander.replicator.listener.Listener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * @author Alexander Shakh...
30.067568
86
0.597753
ba84eb5b121f90b4d9e541c19ca13dba7f4fe938
13,814
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/8.0.33 * Generated at: 2016-04-18 03:03:01 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
48.132404
191
0.576082
d4d0a5348799256372e50cafd844c99409ed4d45
9,883
package tools; import java.io.*; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class ReportGenerator { private int totalDesktopTests = 0; private int totalTabletTests = 0; private int totalMobileTests = 0; publi...
37.577947
199
0.534453
4c7c6284bcd7b54616a64abf44371cb4b2095bc4
5,774
import java.io.File; import java.io.PrintWriter; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; class Book { private String author, title; protected int pages; public String getAuthor() { return author; } public Book() { this.author = "Jo...
25.213974
162
0.579321
b755f9de4ce3c8900c271c04106ae916fe279dd5
8,941
package us.ihmc.commonWalkingControlModules.trajectories; import static org.junit.Assert.assertEquals; import org.junit.After; import org.junit.Before; import org.junit.Test; import us.ihmc.continuousIntegration.ContinuousIntegrationAnnotations.ContinuousIntegrationTest; import us.ihmc.euclid.referenceFrame.FramePoi...
36.643443
137
0.717705
378015cb6e0e12fbf2f1dce9efeaea64b7593518
449
package com.xxxx.service.impl; import com.xxxx.pojo.SysMsg; import com.xxxx.mapper.SysMsgMapper; import com.xxxx.service.ISysMsgService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; /** * <p> * 服务实现类 * </p> * * @author OriginalCoder * @since...
21.380952
100
0.772829
85213de7951b21b7ac988d547ad2916148e8434d
14,671
/******************************************************************************* * Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands * * This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer). * * ASAPRealizer is free software: you can redi...
32.821029
138
0.527708
fb1b0705a1f7dac3da595e9ebed106b4c6d2557e
3,634
/* * 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 ...
28.390625
72
0.609246
048329da00e30455941cc851fcfb7b7af3c8db1a
2,080
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 jOpenDocument, by ILM Informatique. All rights reserved. * * The contents of this file are subject to the terms of the GNU * General Public License Version 3 only ("GPL"). * You may not use this file except in compliance ...
32
102
0.597115
13e384690f7b5658a7dccf316e130411a9c5eb52
1,352
package com.dragovorn.dotaapi; import com.dragovorn.dotaapi.match.IMatch; import java.util.List; /** * Represents the basic API Object this is here for * people that want to make their own implementations * of the API. Default implementation: {@link Dota}. * * @author Andrew Burr * @version 0.3 * @since 0.0.1...
29.391304
120
0.653107
a39d8777355a5f9daa96a808059fb45bf5d48808
1,656
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.language.process; /** * A single token produced by the tokenizer. * * @author Mathias Mølster Lidal */ public interface Token { /** Returns the type of this token - word, space or punctua...
29.052632
104
0.663043
3cdca14fb1d54b123f1522053d2a98b2205a20f2
3,609
/* * Copyright 2016 JBoss 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 i...
26.932836
120
0.598781
35ea90901793c50742c812304612e7a177e22536
140
package ru.dragonestia.dguard.custom; import cn.nukkit.Player; public interface CanDoAllCondition { boolean check(Player player); }
14
37
0.771429
47738f86e2dcaf95ba4ac513f0ee62a9a3157de6
1,139
package com.BankingApp.util; public final class QueryMapper { public static final String getUser="FROM User where userId=:uid and Password=:password and lockStatus=:lock"; public static final String validateUser="FROM User where userId=:uid and lockStatus=:lock"; public static final String checkAnswer="FROM User wher...
75.933333
136
0.823529
fb37c78d436b5aaf0f648953c081d61ee0218c8f
202
package org.jesperancinha.jtd.jee.mastery1.exception; public class NotIndieMusicException extends RuntimeException { public NotIndieMusicException(String message) { super(message); } }
25.25
62
0.767327
bb92c1e6930751a82a4d3f9a64c98bbddde5297e
2,382
package com.winterwell.nlp.chat; import java.util.List; import java.util.Map; import com.winterwell.nlp.classifier.LSlice; import com.winterwell.nlp.io.Tkn; import com.winterwell.utils.Key; import com.winterwell.utils.containers.ArrayMap; import com.winterwell.utils.containers.ListMap; import com.winterwell.utils.con...
23.82
74
0.680521
473bbc1fab5c967ff7c2f5565b7f8e89401552df
3,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 ...
33.679245
109
0.716246
32a3204d17156856d62ab020ff1c2d130209d03d
5,806
package com.alicegabbana.cahierenligne.services.role; import java.util.ArrayList; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery; import org.apache.log4j.Logger; import com.alicegabbana.cahie...
27.516588
90
0.671547
402b508efe466689bb2c374b7d3e52bc3f52cb65
162
package com.iaz.HIgister.ui.login; import com.iaz.HIgister.ui.base.MvpView; public interface AuthMvpView extends MvpView { AuthActivity getActivity(); }
14.727273
46
0.765432
e8b9781670677fbac8ca54b1bf54114f4d03bc70
27,991
/* * The MIT License * * Copyright (c) 2016, AbsInt Angewandte Informatik GmbH * Author: Dr.-Ing. Joerg Herter * Email: herter@absint.com * * 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 Sof...
37.321333
158
0.593441
c44c1c898e36b7327614b6839e65fe611871d5e8
3,793
package com.example.application.views.order; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.example.application.data.entity.Envio; import com.exampl...
34.171171
152
0.700501
af291014279fbf1fc260403c97b4bd9648c6b175
400
package model; public class Man extends Person { private boolean beforeAgeEleven; public Man(boolean man, boolean diabetic, boolean beforeAgeEleven) { super(man, diabetic); this.beforeAgeEleven = beforeAgeEleven; } public boolean isBeforeAgeEleven() { return beforeAgeEleven; } public void setBeforeAgeEl...
20
69
0.7725
0a9bc9e8531d5de88bdeb5dfe758f153b75a5372
2,268
package com.googlecode.javaewah32; import com.googlecode.javaewah.EWAHCompressedBitmap; import com.googlecode.javaewah.IntIterator; import java.util.BitSet; import com.googlecode.javaewah.BackwardBitSetIterator; import com.googlecode.javaewah.ForwardBitSetIterator; // credit @svanmald public class EWAH32BitSetPair { ...
31.068493
91
0.66358
5ab2e9bf7d1b61d6afd4ef546c3c95b25cd0f701
7,174
package com.ak47007.service.impl; import java.time.LocalDateTime; import java.util.*; import java.util.stream.Collectors; import cn.hutool.core.util.StrUtil; import cn.hutool.crypto.SecureUtil; import com.ak47007.mapper.*; import com.ak47007.model.*; import com.ak47007.model.base.Result; import com.ak47007.model.quer...
34.325359
197
0.652495
8927ab293512fb052bfc01e084f75a9511827885
5,626
/** * Copyright 2013 deib-polimi * Contact: deib-polimi <marco.miglierina@polimi.it> * * 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...
38.8
176
0.718628
2f8e2c3051efaeb9c78760039e42be190273e55d
1,583
package eu.linksmart.services.payloads.ogc.sensorthing.links; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonSetter; import eu.linksmart.services.payloads.ogc.sensorthing.CommonControlInfo; /** * Created...
54.586207
153
0.78964
20ff55ed632d6b77ad7b85c4d9e3c3b126a163ca
9,040
/** * @FileName: MybatisDaoContext.java * @Package com.asura.framework.dao.mybatis.base * * @author zhangshaobin * @created 2015年6月14日 下午2:47:23 * * Copyright 2011-2015 asura */ package com.asura.framework.dao.mybatis.base; import java.util.List; import java.util.Map; import com.asura.framework.base.entity....
28.338558
180
0.704867
8e415040572f606f7709beb99f53110b1029a4bc
919
package de.jformchecker.utils; import java.util.Map; import de.jformchecker.FormChecker; import de.jformchecker.request.Request; import de.jformchecker.request.SampleRequest; public class RequestBuilders { public static final String FC_ID = "id44"; public static Request buildExampleHttpRequest() { SampleReques...
24.184211
77
0.764962
5d9d4259f5578f0c84e9073b54db3eef9c44ecbc
469
package org.zstack.core.cloudbus; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; @Configurable(preConstruction = true, autowire = Autowire.BY_TYPE) public class CanonicalEven...
29.3125
66
0.780384
577c597264e343e95f7e2c53b654876a5b919e5d
20,935
package at.mep.editor; import at.mep.KeyReleasedHandler; import at.mep.Matlab; import at.mep.debug.Debug; import at.mep.gui.AutoSwitcher; import at.mep.gui.ClickHistory; import at.mep.gui.bookmarks.Bookmarks; import at.mep.gui.ContextMenu; import at.mep.gui.fileStructure.FileStructure; import at.mep.gui.rece...
47.579545
156
0.607738
bbd24cfd475a837aa8a744ddb227d5234ec8ecb9
975
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
28.676471
78
0.742564
8b0702a149ddae2f94ffcc25390d6a5b562242cb
754
package artistry.models; import org.neo4j.ogm.annotation.GeneratedValue; import org.neo4j.ogm.annotation.Id; import org.neo4j.ogm.annotation.NodeEntity; @NodeEntity public class JiraFilter { @Id @GeneratedValue private Long id; private String filterkey; private String filtervalue; public St...
18.390244
52
0.655172
5eda6a89f981a0e24087cd463d36ca69571c3382
5,882
package uk.gov.justice.hmpps.datacompliance.services.deletion; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import uk.gov.justice.hmpps.datacompliance.config.DataComplianceProperties; ...
51.596491
133
0.748385
3c2971d43e9e2dba0ad34c19241aa6e457ea8fd3
746
package ynn.mylogo.parser.ast; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Script implements ASTVisitable{ private final List<AbstractStatement> statements; public Script(List<AbstractStatement> statements) { this.statements = new ArrayList<AbstractStatement>...
21.314286
65
0.75067
9247f00307a2eeca23faf246e6b598973eb9081c
2,068
package org.firstinspires.ftc.teamcode.subsystems; import com.disnodeteam.dogecv.CameraViewDisplay; import com.disnodeteam.dogecv.DogeCV; import com.disnodeteam.dogecv.detectors.roverrukus.GoldDetector; import com.qualcomm.robotcore.hardware.HardwareMap; import org.opencv.core.Point; import static org.firstinspires....
31.333333
159
0.691006
a8fe0fd0cae1167da5ce709f8004c1d65d99d1f4
237
package com.jivesoftware.os.tasmo.reference.lib; /** * * @author jonathan */ public interface ReferenceStream { ReferenceWithTimestamp stream(ReferenceWithTimestamp value) throws Exception; void failure(Exception cause); }
18.230769
81
0.759494
754542fd838bf6ba7c6e6fcf6e701562d95f510d
374
package com.fxforbiz.softphone.core.beans; /** * This class is a bean containing the result of a login request. */ public class LoginRequestResult { /** * Either the login request is successful or note. */ public boolean success; /** * The application key returned by the login request if the requ...
23.375
85
0.692513
40b9d068be3c886e4a0e26ffe8b857491ee715dc
2,759
package com.huawei.oo; import java.util.Scanner; /** * # 【服务器问题】----【本题的题意和求岛屿的最大面积是一样的,算法思路也相同:https://leetcode-cn.com/problems/max-area-of-island/】 在一机屋中、服务器的作置标识再 * n*m矩阵网络中,1表示单元格上有服务四,0表示没有, 如果两台服务器位于同一行,或者同一列中紧邻的位置,则认为他们之间可以组或一个局域,请你统计机房中最大的局城网包含的服务器个数, * <p> * 【注意】:此题和leetCode上的不一致 【注意点1】:如果两台服务器位于同一行,或者同一...
31.352273
113
0.47191
d816bf66133a54e43d8b5ac5a50aa788787000e4
1,504
package com.general_hello.commands.commands.MusicPlainCommand; import com.general_hello.commands.commands.CommandContext; import com.general_hello.commands.commands.CommandType; import com.general_hello.commands.commands.ICommand; import com.general_hello.commands.commands.Music.AudioManager; import com.general_hello....
35.809524
125
0.722739
aa6bc462ff52f9203acd02013eb8e2b31d947132
1,773
package org.raml.ramltopojo; import com.google.common.base.Optional; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.TypeSpec; import java.io.IOException; import java.nio.file.Paths; import java.util.ArrayList; /** * Created. There, you have it. */ public class CreationResult { private fin...
27.703125
118
0.711224
e2e73a056b0b993c56ba0266e62c7fa03b32a0db
1,911
package nl.datavisual.dto; import java.io.Serializable; import java.util.Date; import java.util.List; public class OrganisationUnitDTO implements Serializable { private static final long serialVersionUID = 1L; private int idOrgUnits; private String code; private Date efectiveYear; private String name; pr...
21.47191
105
0.790686
9d197d7b60c1fe0fe316fb8c1b51fe736ffa2c0a
4,901
/* * Copyright 2015 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 applica...
39.845528
82
0.792899
b42d88861a95fa1e4836f3b03a1c0907597b9292
368
package com.blogspot.applications4android.comicreader.comics.GoComics; import java.util.Calendar; import com.blogspot.applications4android.comicreader.comictypes.DailyGoComicsCom; public class Andertoons extends DailyGoComicsCom { public Andertoons() { super(); mComicName = "andertoons"; mFirstCal = Calendar.g...
26.285714
81
0.788043
886de43f087011ff8ea5cbd646edaff132a629d9
1,575
// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
29.716981
130
0.661587
5604536272cd241bd8113d1ad46247954c7637f6
1,540
package edu.cmu.sv.ws.ssnoc.data.po; import com.google.gson.Gson; //import java.sql.Timestamp; public class MemoryPO { private String crumbID; private long usedVolatile; private long freeVolatile; private long usedNonVolatile; private long freeNonVolatile; private String createdAt; // private...
20
57
0.680519
34cfd5ccc218a7108093845faac4ff16de6acded
342
package github.nikhilbhutani.usingactiveandroid; import android.app.Application; import com.activeandroid.ActiveAndroid; /** * Created by Nikhil Bhutani on 6/23/2016. */ public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); ActiveAndroid.init...
19
48
0.716374
0a9ae3dfa3af7279d0691348fe5f9ec7c415764b
7,627
// Copyright 2015-2021 Nkisi 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...
23.042296
80
0.697784
0f7cf682c2d64b0b767758d7b3a57709ceaa25bc
19,579
package com.fanxin.huangfangyi.main.ulive.upload; import android.app.ProgressDialog; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.text.TextUtils; import android.util.Log; import android.view.View; import...
37.579655
154
0.605802
e814e223e0df43b9b4245acf7315fde15a935b53
3,729
package com.eduardocode.jasonviewerapi.util; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.Authenticatio...
35.855769
107
0.667471
c78633c2098a24585c4c96e220c41ba04c942348
1,343
/** This program demonstrates how to install an action listener. */ import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CurrencyConvertor { privat...
28.574468
90
0.731199
10f95b42b4c18461c0899118a78d43bdb8928172
5,023
/* * 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 not ...
42.210084
107
0.721282
232c5a791e106d2045902d68f752bbab322ec24f
743
import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class L1_ParkingLot { public static void main(String[] args) { Scanner scan = new Scanner(System.in); Set<String> parking = new LinkedHashSet<>(); String input = ""; while(!"END".equals(input = ...
23.967742
55
0.51817
9b3d8382be8a893854bd86e6b52ad428acf23d90
3,973
package client.indexnode; import java.util.ArrayList; import java.util.HashSet; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.TableModel; import common.Util.FileSize; import common.Util.NiceMagnitude; /** * This class provides a table m...
28.789855
173
0.699471
61365f3d60a033bd89b1bc2d7124eac8b83a6d53
4,733
/* * Copyright 2015-present Facebook, 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...
36.407692
93
0.744771
d7eee2b94e5dafae2da52e63cfefc5ed62def045
405
package com.eshop.ordering.domain.aggregatesmodel.buyer.snapshot; import com.eshop.ordering.domain.base.Snapshot; import lombok.Builder; import lombok.Getter; import java.util.List; @Builder @Getter public class BuyerSnapshot implements Snapshot { private final String id; private final String userId; private f...
23.823529
65
0.812346
2bf3c9e295045b102566dc54feffebe0e158b62f
698
package mekanism.common.recipe.machines; import mekanism.common.MekanismFluids; import mekanism.common.recipe.inputs.AdvancedMachineInput; import mekanism.common.recipe.outputs.ItemStackOutput; import net.minecraft.item.ItemStack; public class OsmiumCompressorRecipe extends AdvancedMachineRecipe<OsmiumCompressorRecip...
26.846154
89
0.813754
5faf06919fe9efa5e94d9024c580e43f3991d9c2
2,628
package com.thekoldar.aoe_rms_spoon.ast.abstract_nodes.commands; import com.thekoldar.aoe_rms_spoon.ast.RMSNodeType; import com.thekoldar.aoe_rms_spoon.ast.abstract_nodes.AbstractRMSNoArgumentCommand; import com.thekoldar.aoe_rms_spoon.ast.abstract_nodes.AbstractRMSSingleOptionalBooleanArgumentCommand; import com.thek...
39.818182
186
0.814307
c6c7113cc34940a85e0b030602ee4bc7d357b09b
1,098
package frc.robot.commands.autocommands; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.RobotContainer; public class SpinShooterMotor extends CommandBase { Timer t; public SpinShooterMotor() { addRequirements(RobotContainer.m_robotDrive); } ...
24.4
75
0.638434
6bfa61400c2f94d0dca8e81167fdfc13ffcd4d64
2,914
package com.alipay.api.domain; import java.util.Date; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 明细的查询结果 * * @author auto create * @since 1.0, 2016-10-26 17:43:42 */ public class QueryDetailAopResult extends AlipayObject { private static final lon...
17.987654
68
0.661977
2f5bc7b24f6d318c2f672f50234954b9937f484b
405
package io.guill.uniovi.ds.practica9.nodos; import io.guill.uniovi.ds.practica9.visitor.Visitor; public class Division implements Expresion { public Expresion left, right; public Division(Expresion left, Expresion right) { this.left = left; this.right = right; } @Override public Object accept(...
20.25
53
0.706173
e1ecb1e1dbad0e9a978c0fd42c63bcfd8a9c3e02
4,334
/* * 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...
35.818182
102
0.70743
aaf98767ef1cbc8b817e53a86cbc557438588a67
4,580
/* * The MIT License (MIT) * * Copyright (c) 2020-2022 Rice University, Baylor College of Medicine, Aiden Lab * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, inc...
33.676471
91
0.568122
e343d6f6c3bd8cb6cfccca2e04f6d594eeac56b8
582
package org.earthChem.presentation.jsf; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.SessionScoped; import javax.faces.context.FacesContext; /********* * JSF Backing Bean for Logout Page * * */ @ManagedBean(name="logoutBean") @SessionScoped public class LogoutBean im...
23.28
77
0.776632
179852719165c31850b5c6416eccc89bd95ba223
5,676
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 requi...
39.971831
154
0.648344
901755bbdaa0dec0f4ec9cc66c8fc8382a651fe1
53
package cn.badguy.dream.vo; public class TestVo { }
10.6
27
0.735849
cd89032feeb58055480c13657137a668b39b5f18
778
package com.example.model.bo; import java.math.BigDecimal; /** * <pre> * * </pre> * @author 杨帮东 * @since 1.0 * @date 2020/04/08 18:10 **/ public class UserBO { private Double balance; private BigDecimal bd; private Short s; private Character c; public Double getBalance() { retu...
14.145455
44
0.547558
1941a492a4c65a325a9cdc62107ec16aa9c5f17e
856
package de.davelee.trams.operations.response; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; /** * This class tests the PurchaseVehicleResponse class and ensures that its works correctly. * @author Dave Lee ...
31.703704
91
0.759346
d10dae78fc356f119df7c7056731ce1998ad4a1e
645
package br.ufal.ic.easy.calc; import org.junit.Before; import org.junit.Test; import org.junit.Assert; public class CalcTest { private Calc calc; @Before public void setUp() { this.calc = new Calc(); } @Test public void sumZeroAndZeroTest() { Assert.assertEquals(0, calc.sum...
17.432432
47
0.6
4bb15da82e8ab7b4ffa4e7cc39b889d186b66127
2,441
/* * Copyright 2013 JBoss 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 i...
26.247312
81
0.7288
33d53a072e7368818721db6869e49bd5cc79ebd1
2,802
/* ### * IP: GHIDRA * REVIEWED: YES * * 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...
31.133333
75
0.732334
f046d842267e94953dd0c243bc75f610edd052fd
319
package jjcard.text.game.util; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Indicates that this element is Experimental and subject to change. * */ @Retention(RetentionPolicy.CLASS) @Documented public @interface Experimental { }
21.266667
69
0.793103
764af1dbb37c90d3b47f60f684f19968d8e61ba0
14,640
/** * * @author grog (at) myrobotlab.org * * This file is part of MyRobotLab (http://myrobotlab.org). * * MyRobotLab is free software: you can redistribute it and/or modify * it under the terms of the Apache License 2.0 as published by * the Free Software Foundation, either versi...
28.59375
122
0.656148
01fc40fe4e929235a4687a214f3a5f7fe8800fd8
466
package org.acme.quarkus.sample; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.acme.quarkus.sample.extension.ConfigReport; @Path("/hello") public class HelloResource { @Inject ConfigReport configReport;...
21.181818
63
0.727468
71ae03b11dcb852066c7dd371a9a830c3a2ee679
488
package org.zmsoft.framework.role; import org.zmsoft.framework.beans.UserBean; import org.zmsoft.framework.beans.db.MyDataBaseObjectSupport3; /** * 用户职能身份权限模型 * * @author ZMSoft * */ public interface ISIdentityRoleSupport { /** * 整理用户数据权限 * * @param bean */ public boolean prepareUserIdentityRole(MyD...
16.827586
75
0.72541
118001d3d7bfb88a6d518f298376554a194ff775
179
package com.jeffmony.async.http.server; public class MimeEncodingException extends Exception { public MimeEncodingException(String message) { super(message); } }
22.375
54
0.743017
bc73744cd0ab043862465d14737b0dd0f16cb091
199
package science.atlarge.opencraft.opencraft.generator.ground; public class MycelGroundGenerator extends GroundGenerator { public MycelGroundGenerator() { setTopMaterial(MYCEL); } }
22.111111
61
0.763819
7033323fc79da8b032a06b624549552133a2fb10
696
package com.example.supervideo; import android.text.method.LinkMovementMethod; import android.text.util.Linkify; import android.widget.TextView; import com.example.supervideo.base.BaseFragment; /** * Created by 15110 on 2019/5/14. */ public class AboutFragment extends BaseFragment { @Override protected in...
21.75
79
0.716954
18f8bb50ad37071512ecc083ed468ffce19ebf1e
1,619
package io.github.qy8502.jetcacheplus; import com.alicp.jetcache.anno.aop.JetCacheInterceptor; import com.alicp.jetcache.anno.config.JetCacheProxyConfiguration; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.conf...
41.512821
113
0.781347
5d858d938fe6d73c5e4dd35d2b199edae6116e79
817
package com.turkcell.rentacar.core.utilities.mapping; import org.modelmapper.ModelMapper; import org.modelmapper.convention.MatchingStrategies; import org.springframework.stereotype.Service; @Service public class ModelMapperManager implements ModelMapperService { private ModelMapper modelMapper; public Mode...
29.178571
119
0.766218
d866dc9f5190d983cebc76faa1cd771f2e76585b
4,853
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
39.137097
108
0.599217
45c4a479797970514b6c378ce326d00deac91eed
1,593
package com.udacity.jdnd.critter.service; import com.udacity.jdnd.critter.data.entity.Customer; import com.udacity.jdnd.critter.data.entity.Pet; import com.udacity.jdnd.critter.data.repository.CustomerRepository; import com.udacity.jdnd.critter.data.repository.PetRepository; import org.springframework.beans.factory.an...
21.821918
72
0.674827
a3fa2388927d495dcb4aaec7190f62cb04d347a2
1,331
package org.biopax.validator.web.service; import org.biopax.paxtools.normalizer.Normalizer; import org.biopax.validator.api.beans.Behavior; import org.biopax.validator.api.beans.Validation; import org.springframework.core.io.Resource; import java.io.IOException; public interface ValidatorAdapter { /** * Parses ...
40.333333
116
0.733283
5ec7b9991850f8056de2a693385cae540010a3d5
376
package app.hack.eightballpool; import android.content.Context; import android.content.Intent; class Helper { static void startGame(Context context) { Intent launchIntent = context.getPackageManager().getLaunchIntentForPackage("com.miniclip.eightballpool"); if (launchIntent != null) { ...
25.066667
114
0.704787
c5e9fad2eff637337f9ce0c303cac5594bbbdcad
2,664
package gui; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JP...
24
61
0.570946
786e06b7ee5dafa0f610106d76229376bd669a89
792
package com.github.wrdlbrnft.modularadapter.itemmanager.sortedlist; import java.util.List; import java.util.NoSuchElementException; /** * Created with Android Studio<br> * User: Xaver<br> * Date: 27/03/2017 */ class FacadeImpl<T> implements SortedListItemManager.Facade<T> { private List<T> mCurrentState = nu...
22
67
0.636364
86f48756430dfae15d2e422a769d3b934459b7c1
2,062
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
29.042254
79
0.728419
98c5a3c2e76a0b0b507d9c8bb3f9b60b03be7c93
416
package ru.otus.vsh.knb.dbCore.dao; import ru.otus.vsh.knb.dbCore.model.Model; import ru.otus.vsh.knb.dbCore.sessionmanager.SessionManager; import java.util.List; import java.util.Optional; public interface Dao<T extends Model> { Optional<T> findById(long id); List<T> findAll(); long insert(T t); ...
18.909091
60
0.709135
6a6589fb798de8b8ed688f4e429f497300106188
2,317
package com.alab.dao; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repository; import com.alab.model.UserModel; import com.alab.util.SQLUtil; @Repository publ...
25.184783
107
0.691411
1b65618c32cfb6c6d2de1083d1a5f911e4242750
200
package com.jishukezhan.core.date; import java.time.ZoneId; public class ZoneIdConstant { /** * 上海 */ public static final ZoneId ASIA_SHANGHHAI = ZoneId.of("Asia/Shanghai"); }
13.333333
75
0.665
4b5306763a234b26d520e3dd70b0b45436aa2ef8
7,678
/* * Copyright 2018-2020 The Code Department. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
31.858921
114
0.628158
950a0dde31c544f63cb9cb359c013d695f296389
13,476
/* * Copyright 2002-2010 The Rector and Visitors of the * University of Virginia. 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 * * ...
39.635294
121
0.631864
a7ee77f572852e58cd45ab823809484719843115
9,648
package main.java.Graph.parsers; import main.java.Graph.*; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import java.util.*; /** ...
35.866171
95
0.559494
49afaebcc27ae394006b0bcb3597a95a81c1b955
223
package net.n2oapp.framework.api.metadata.global.view.widget.table; /** * Место расположения пагинации */ public enum Place { topLeft, topRight, bottomLeft, bottomRight, topCenter, bottomCenter }
15.928571
67
0.695067
d10a29f8034ca6a562de172d3e1db95c596a5682
1,593
package com.appleframework.data.hbase; import java.util.ArrayList; import java.util.List; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.client.ResultScanner; import org.springframe...
30.056604
127
0.715003