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
57eda78abb2ade3221972cc7f141210e47e27dc5
1,024
package uk.gov.companieshouse.api.accounts.model.entity.smallfull.notes.currentassetsinvestments; import com.google.gson.Gson; import uk.gov.companieshouse.api.accounts.model.entity.NoteEntity; import java.util.Objects; public class CurrentAssetsInvestmentsEntity extends NoteEntity { private CurrentAssetsInvest...
26.947368
97
0.704102
53bbc53ff5f68439c29a64a1fd0ce058540090b9
1,443
package com.jeecms.cms.entity.back.base; import java.io.Serializable; public abstract class BaseCmsConstraints implements Serializable { // constructors public BaseCmsConstraints() { initialize(); } protected void initialize() { } private int hashCode = Integer.MIN_VALUE; // fields private java.lang.Str...
21.220588
77
0.76438
3d40b4960e3592179b30337e3ff3bc9801a20ce1
17,268
package datawave.webservice.query.cachedresults; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; import datawave.data.type.Type; import da...
37.785558
161
0.604934
6d1c4ccc102b313e06676a221b874a552dd17101
4,869
package com.github.kaeluka.cflat.storage; import com.github.kaeluka.cflat.util.Mutable; import java.util.Arrays; import static com.github.kaeluka.cflat.util.IndexCheck.checkIndexIsNonnegative; @SuppressWarnings({"WeakerAccess", "unchecked", "unused"}) public class IntTrieStorage implements Storage<Integer> { pu...
28.144509
152
0.489423
1ad622a09b0c9b2ae209e3075164cce69c15b25a
1,119
package com.smoothstack.collections; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; class Student { String name; public Student(String name) { this.name = name; } public String toString() { return this.name; } } class SortByName implements ...
22.836735
57
0.581769
b7ed13b159f4bb8547c793479bd5e30e95cb1966
12,362
package com.ibm.ets.ita.ce.store.client.rest; /******************************************************************************* * (C) Copyright IBM Corporation 2011, 2017 * All Rights Reserved *******************************************************************************/ import static com.ibm.ets.ita.ce.store.na...
32.531579
130
0.744459
3479d2ef26fe5c98f1fb6db07b794d70b50e6cd4
11,212
/* * Copyright (C) 2019 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 ...
37.878378
110
0.67731
bf08df203df45dbab35ca5f8a154af907120d44e
962
package lehman.android; import android.content.Intent; import android.util.Log; import android.content.Context; import android.content.BroadcastReceiver; import android.graphics.Bitmap; import android.widget.ImageView; import android.view.View; public class StreetViewReceiver extends BroadcastReceiver { private ...
30.0625
102
0.747401
eb9e2a2a36770c147c740e566100ca980c4d930e
9,092
package ru.pasha__kun.windowfx.impl; import javafx.beans.InvalidationListener; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; import ru.pasha__kun.windowfx.Window; import java.util.*; public class WindowList implements ObservableList<Window> { private class WrapperChange ...
24.245333
88
0.560493
8aa07b5ab11d2ee5b222fb7359c071de4f22bcb4
1,107
package de.othr.threads; public class TimerApp { public static void main(String[] args) { Timer t1 = new Timer("Spaghetti", 8); Timer t2 = new Timer("Sosse", 15); t1.start(); t2.start(); try { do { System.out.println(t1.getState()); ...
26.357143
64
0.492322
0dcb454e750913788768b7079d948fee2c70e675
39,943
/** * THIS SOFTWARE IS LICENSED UNDER MIT LICENSE.<br> * <br> * Copyright 2019 Andras Berkes [andras.berkes@programmer.net]<br> * Based on Moleculer Framework for NodeJS [https://moleculer.services]. * <br><br> * Permission is hereby granted, free of charge, to any person obtaining * a copy of this softwa...
27.623098
115
0.605989
741f2c47396c9c328e6e41226a4cf755bee9eb7f
1,817
/* * 文件名称:EdenStatus.java * 系统名称:[系统名称] * 模块名称:[模块名称] * 软件版权:Copyright (c) 2011-2018, liming20110711@163.com All Rights Reserved. * 功能说明:[请在此处输入功能说明] * 开发人员:Rushing0711 * 创建日期:20180806 09:58 * 修改记录: * <Version> <DateSerial> <Author> <Description> * 1.0.0 20180806-01 Rus...
33.036364
82
0.689048
6b80f8b001cba9fd59f2119ae6190faa3f11f0fd
69,291
/* * 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 ...
42.535912
122
0.562411
8c822d62bf5a829571d5130337943636f6af84fd
61
package de.jugda.tictactoe.view; public class MainView { }
10.166667
32
0.754098
1f7edd9e8b97b7e52c300f9e543beb986cc44a11
1,275
package com.emichal.imagediff; import net.kroo.GifSequenceWriter; import javax.imageio.stream.ImageOutputStream; import javax.imageio.stream.MemoryCacheImageOutputStream; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; public class AnimationGenerator { private GifSe...
26.5625
89
0.708235
6795cb12d2a3f742482f426e38abd1398cda5ed0
4,118
/******************************************************************* * Copyright (c) 2006, All rights reserved * * This software is licensed under the terms of the MIT License, * see the LICENSE file for details. * ******************************************************************/ package net.sf.gm.jdbc.io; imp...
32.171875
79
0.600049
8e8033b5b8b2a1ef16053fdd25e38c2d286995d7
3,116
/* * Copyright (c) 2016 Uber Technologies, Inc. (hoodie-dev-group@uber.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 * ...
32.123711
119
0.724968
4f4452e6837133e2b30530dd960670e9419e8e09
802
package amino.run.runtime.exception; import amino.run.policy.Library; /** * Exception thrown when method invocation on {@link Library.ServerPolicyLibrary#appObject} failed. * * <p>This exception is caused by application errors, not MicroService errors. It indicates * something wrong in application. Good applicati...
25.870968
99
0.713217
e90a6344d052d6cc1714badcde162fc239abb060
1,314
package com.transparent.politics.services.data; public class GovMemberAverages { private final double averageWeeklyPresenceHours; private final double averageMonthlyCommitteePresence; private final double averageProposedBills; private final double averageApprovedBills; private final double average...
32.04878
161
0.754186
9c2df0f66f345290c4fc01cff8b3cada53bff5d3
26,523
package net.stemmaweb.rest; import java.util.*; import java.util.function.Function; import java.util.stream.Collectors; import javax.ws.rs.*; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import com.qmino.miredot.annotations.Ret...
53.046
164
0.594164
6b4ba97fa23e57ddb5a381b19f55298a956d808c
5,403
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.05 at 10:...
31.412791
155
0.654451
3442ebf194ba56fba25b588a0265546365745778
6,469
// Copyright © 2010-2018, Esko Luontola <www.orfjackal.net> // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 package org.specsy.junit; import fi.jumi.api.RunVia; import org.junit.platform.engine.*; import org.junit.platform.engine.UniqueId...
42.84106
152
0.684032
015fada1ae19930ecfaa4eb7290310eda6b322cf
1,216
package com.reallifedeveloper.common.infrastructure.persistence; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import com.reallifedeveloper.common.application.eventstor...
38
107
0.790296
554b23406a68c3c0bbfdbb7bc7d0caf87b5e8b95
715
package net.maera.osgi.container; import net.maera.io.Resource; import net.maera.lifecycle.Startable; import net.maera.lifecycle.Stoppable; import org.osgi.framework.Bundle; /** * Interface representing the operations possible when interacting with an OSGi framework implementation * (e.g. Apache Felix, Ecl...
28.6
105
0.755245
4924f229424eb1cc34e67ff6de1b683f8de556bc
12,574
package de.naoth.rc.dataformats; import com.google.protobuf.InvalidProtocolBufferException; import de.naoth.rc.drawings.Arrow; import de.naoth.rc.drawings.Circle; import de.naoth.rc.drawings.DrawingCollection; import de.naoth.rc.drawings.FillOval; import de.naoth.rc.drawings.Line; import de.naoth.rc.drawings.Pen; impo...
38.452599
159
0.594799
16c006276a77e4361e9015d16845d7f6b46ecfc8
7,470
/* * Copyright DataStax, 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 wri...
28.730769
99
0.659304
6dded0a1f2e8651983b8b6e731fccc1c15f4303b
574
package qrcode; public class Main { public static final String INPUT = "I love java. Java is a great language!"; /* * Parameters */ public static final int VERSION = 4; public static final int MASK = 0; public static final int SCALING = 20; public static void main(String[] args) { /* * Encoding */ ...
18.516129
85
0.665505
37b3d965e963f45a4d1e4b4fcd88974abb36bc66
150
@NothingIsNullByDefault package io.github.phantamanta44.pcrossbow.client; import io.github.phantamanta44.libnine.util.nullity.NothingIsNullByDefault;
37.5
75
0.88
e5a9495c1e3883b5f04c98e0d56ed6468a2dff34
5,027
package com.googlecode.common.util; import java.util.Arrays; import java.util.BitSet; /** * Contains bit set helper methods. */ public final class Bits { private Bits() { } public static long add(long bits, long mask) { return (bits | mask); } public stati...
29.057803
77
0.464293
16ac8ae38c62c6021b63f2a50ad4af900812d49f
2,810
package user; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import board.Board; public class UserDAO { private Connection conn; private PreparedStatement pstmt; private ResultSet rs; public UserDAO() { try { String dbURL = "jdbc:my...
27.54902
153
0.679359
317b11ac033de91d2c2ddf0e377d57983f423275
1,901
package mezz.jei.test.lib; import javax.annotation.Nullable; import java.util.Collections; import mezz.jei.api.ingredients.IIngredientHelper; import mezz.jei.api.ingredients.subtypes.UidContext; public class TestIngredientHelper implements IIngredientHelper<TestIngredient> { @Override @Nullable @Deprecated publi...
26.402778
125
0.772225
eebc04d911fe0dd58536b1e2fea7cf31265b5d05
50,013
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000-2003 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 ...
31.534048
121
0.545478
52fa5f13d98402eb5837ccdf7e5f1ec64b01b6b2
254
package poem; public class DisplayPoem { /** * This class displays a developer-supplied poem of variable length. * * @author {YOUR NAME HERE} */ public static void main(String[] args) { // TODO Replace with multi-line comment. } }
19.538462
70
0.65748
deb62ea839cd8600a7b9e80c435fa8ae1ad7f5f7
1,582
package com.yscoco.uppernest; import android.app.Activity; import com.squareup.leakcanary.LeakCanary; import com.yscoco.uppernest.commonlibrary.base.activity.BaseActivity; import com.yscoco.uppernest.commonlibrary.global.GlobalApplication; import me.jessyan.autosize.AutoSize; import me.jessyan.autosize.AutoSizeConfi...
26.366667
102
0.649178
5a0c2519488313f9f81f816e0bc2e7406d04620d
1,245
package com.twu.biblioteca; import org.junit.Before; import org.junit.Test; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class ReturnBookOptionTest { private Library library; private Console console; private ReturnBookOp...
23.055556
66
0.694779
ec6238b49d105605983f7b3051c0887bb622d74e
2,119
package hulkstore_.controller.document; import hulkstore_.model.dao.DaoFactory; import hulkstore_.model.dao.document.DocumentDao; import hulkstore_.model.dao.document.DocumentDaoException; import hulkstore_.model.dto.document.DocumentDto; import hulkstore_.view.document.UIInsertDocument; import javax.swing.JOptionPane...
29.027397
134
0.646531
7a6a5baaf59b30eab7b95c54a60f8bc0583aa257
663
package com.android.covid19.model.vaccination; import java.util.List; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class VaccinationDistricts { @SerializedName("districts") @Expose private List<District> districts = null; @SerializedName("ttl")...
19.5
56
0.669683
870f50aa43b517a0c0be8b22a3bd352bc37673e3
877
package net.minidev.ovh.api.dedicated.server.backup; /** * A structure describing informations about the backup cloud feature */ public class OvhBackupContainer { /** * Quota on the current container * * canBeNull */ public OvhBackupQuota quota; /** * Container name. * * canBeNull */ public Stri...
15.660714
79
0.665906
5855e56331e2eb1af68ec6e237d76e27fee78e0d
5,193
package org.ifelse.ui; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.view.Display; import android.view.Gravity; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.view.Window; import android.view.WindowManager; import org.ifel...
22.097872
93
0.568458
ad6caf08d318b6c0cf5f00366e78380bdde192a2
4,942
package cn.org.dianjiu.job.controller; import cn.org.dianjiu.job.common.req.TUserReq; import cn.org.dianjiu.job.common.resp.TUserResp; import cn.org.dianjiu.job.common.vo.RespVO; import cn.org.dianjiu.job.service.TUserServiceI; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*...
28.24
86
0.591866
a38b9c1c08c86a9e33112de3148d2350dc2df1ac
20,929
package uk.gov.justice.digital.delius.service; import lombok.AllArgsConstructor; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation...
54.502604
218
0.684983
372a98f6e033cea7ead5e81cbae9f6ee2fea02fa
980
package com.bugsnag; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import java.util.HashMap; import java.util.Map; import com.bugsnag.functions.*; public class ANEBugsnagContext extends FREContext { @Override public void dispose() { } @Override public Map<String, FREFunction> getFunction...
27.222222
76
0.74898
4967f27dce03b98e7bad04317023ec173a46ae34
2,850
package com.nf147.platform.shiro.realm; import com.nf147.platform.entity.GePermission; import com.nf147.platform.entity.GeUser; import com.nf147.platform.service.GeUserService; import com.nf147.platform.shiro.JWTCredentialsMatcher; import com.nf147.platform.shiro.JWTToken; import com.nf147.platform.shiro.JwtUtils; imp...
35.625
142
0.758947
310eb5c363ab8d0af24f9979bace10f56233f41f
564
package adsen.scarpet.interpreter.parser; import adsen.scarpet.interpreter.parser.exception.ScarpetExpressionException; import adsen.scarpet.interpreter.parser.exception.ExpressionException; /** * The class which you use to add your own functions, events, variables etc. to scarpet. */ public class APIExpression { ...
24.521739
88
0.716312
855b2b89c09ad2ff332570e38423dbcd70c7d011
3,092
package com.github.mygreen.expression.el.tld; import java.io.IOException; import java.io.InputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w...
30.019417
109
0.648448
d94c712f97c2e7339698e1c70f2ed1df3d34828e
684
package edu.stanford.protege.webprotege.forms.field; public interface FormControlDescriptorDtoVisitor<R> { R visit(TextControlDescriptorDto textControlDescriptorDto); R visit(SingleChoiceControlDescriptorDto singleChoiceControlDescriptorDto); R visit(MultiChoiceControlDescriptorDto multiChoiceControlDes...
32.571429
79
0.845029
b14589904530a587bf783f3064e87b95982ef348
1,626
package ru.mail.jira.plugins.groovy.impl.jql.function.builtin.expression; import com.atlassian.jira.issue.index.DocumentConstants; import com.atlassian.jira.issue.statistics.util.FieldDocumentHitCollector; import groovy.lang.Script; import lombok.Getter; import org.apache.lucene.document.Document; import java.io.IOEx...
34.595745
133
0.726322
193f7d073cd813c8b2c5d78d20ec2e9f7c551391
1,028
/******************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK * * All rights reserved. This program and the accompanying materials * are made available under...
27.052632
81
0.549611
c4bf2e194f684b64d7a553fa24252e42b027e60f
267
package org.smartcolors.marshal; import com.google.common.hash.HashCode; /** * Created by devrandom on 2014-Nov-19. */ public interface SerializerHelper<T> { void serialize(Serializer ser, T obj) throws SerializationException; HashCode getHash(T obj); }
20.538462
72
0.745318
53c2cf3e8d017516fee53b3e53422e5899e39d6d
2,451
package com.seven.dust.controllers; import com.google.gson.Gson; import com.seven.dust.responses.RestRep; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; public class ApiController { protected HttpServ...
26.641304
79
0.558956
59803fe8b57ef362a0df400abc6aed4b51a4b4eb
335
package de.jformchecker.utils; @SuppressWarnings("serial") public class DoubleLabelException extends RuntimeException{ public DoubleLabelException(String elementName) { super("You defined two Labels (Label AND LabelTranslationKey) on one element: '" + elementName + "' \nUse either @Label OR @LabelTranslationKey. No...
37.222222
158
0.78209
e0475980e45a2725515aa66135b819a83b51288c
45,502
package org.firstinspires.ftc.teamcode; import static org.firstinspires.ftc.robotcore.external.navigation.AngleUnit.DEGREES; import static org.firstinspires.ftc.robotcore.external.navigation.AxesOrder.XYZ; import static org.firstinspires.ftc.robotcore.external.navigation.AxesReference.EXTRINSIC; import android.graphi...
42.565014
429
0.574898
d2b186e0a6792c89344152a464197f338198b373
2,580
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the project root. package com.microsoft.alm.plugin.idea.common.utils; import com.microsoft.alm.plugin.idea.common.resources.TfPluginBundle; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.text....
38.507463
109
0.625969
c0d175e86276df2a5db77e9e13d12c1397c7b9c3
490
package org.xcolab.client.user; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.xcolab.client.user.pojo.wrapper.SsoClientDetailsWrapper; @FeignClient("xcolab-user-service") publi...
30.625
79
0.828571
b00c9eb0d135040e77f1b43c1fffd83994221fbf
2,087
/* * Copyright 2019-2021 Egor Nepomnyaschih, Cody Ebberson. * * 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...
29.394366
99
0.711548
2e45c3b2daaece09b4d35249ada68232ef170870
87
/** * Created by xschen on 12/8/2017. */ package com.github.chen0040.leetcode.day17;
17.4
43
0.701149
6eff2dbb70d23b3e757289906c9ca4150b25236d
1,518
package com.devonfw.ide.sonarqube.common.impl.check; import org.junit.Test; import org.sonar.java.checks.verifier.JavaCheckVerifier; /** * Test of {@link DevonArchitecturePackageCheck}. */ public class DevonArchitecturePackageCheckTest { /** * Test the {@link DevonArchitecturePackageCheck}. */ @Test pu...
24.885246
105
0.729908
7305fc2f918758eaca4b633a693f5f2eab7fd2ae
240
package colesico.framework.rpc.clientapi; import colesico.framework.rpc.RpcError; public interface RpcErrorHandler<E extends RpcError> { /** * Create exception from error */ RuntimeException createException(E error); }
20
54
0.7375
705aedc6d5a4f7b205aa7d9e29c53af44785b580
16,204
package com.genye.myapplication.utils; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapFactory; import android.graphics.Canvas; import a...
31.403101
125
0.588744
24a59794d54b11ccfbeb0dbea38007a06911cc1e
8,279
package ir.fassih.workshopautomation.repository; import ir.fassih.workshopautomation.entity.order.OrderEntity; import ir.fassih.workshopautomation.entity.order.StateOfOrderEntity; import ir.fassih.workshopautomation.entity.orderstate.OrderStateEntity; import ir.fassih.workshopautomation.entity.user.UserEntity; import ...
36.311404
133
0.642952
fb0f503870a847960a0b1d8be44e7cc0df23af67
2,097
package sgui; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.SwingWorker; import javax.swing.border.BevelBorder; import sgui.mappanel.MapPanel; import sgui.menupan...
20.762376
65
0.718646
d254aabbb55b5eb370fde0204b7d470714d226f4
246
package com.itstyle.quartz.dao; import com.itstyle.quartz.entity.DsGoods; import java.util.List; /** * (DsCategory)表数据库访问层 * * @author makejava * @since 2020-05-14 21:03:56 */ public interface DsGoodsDao { List<DsGoods> findValid(); }
16.4
41
0.707317
87f64f8c84852e3ce1d7645ee17af12c9a136310
59
package de.samyocord.bongomcbot.utils; public class d { }
11.8
38
0.762712
8644a1afa158f4dda1139935ba1a714748b2a22e
3,028
package com.oureda.thunder.pobooks.manager; import android.graphics.Color; import com.oureda.thunder.pobooks.utils.SharedPreferenceUtil; /** * Created by thunder on 17-5-2. */ public class SettingManager { private static volatile SettingManager manager; private int backgroundBitmap; private boolean i...
27.035714
235
0.682629
ac8a1cd9d0707280d2e3a13e3756a91972b90426
1,365
package problem.p190reversebits; /** * 190. Reverse Bits * * https://leetcode-cn.com/problems/reverse-bits/ * * Reverse bits of a given 32 bits unsigned integer. * * Note: * * Note that in some languages such as Java, there is no unsigned integer type. In this case, * both input and output will be given as a...
33.292683
113
0.663736
19c680cebf47f615f7c47178779c46805077532d
658
package com.hotel.book.mapper; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import com.hotel.book.config.RoomConfig; import com.hotel.book.pojo.GuestBook; public class GuestBookMapper { public static Map<In...
22.689655
102
0.753799
07184f49e1d718db6c44d6311bb486baac2bec00
3,568
package uk.gov.hmcts.reform.dg.template.management.resource; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.BDDMockito; import org.mockito.MockitoAnnotations; import org.springframework.boot.test.context.SpringBootTest; import org.springfram...
40.089888
112
0.720572
60924f0ac1365d55ed07d2e17f46a1197d242eea
1,052
package com.example.android.camera2basic; import android.app.Activity; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.os.E...
25.658537
72
0.756654
e205a3b195c39bc374921332a0b83443962e760d
630
package ai.ameron.sidecar.integration.reporter.stream; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Configura...
31.5
78
0.822222
77eaaf2924c94d8e199a76147c2de1ac918a7722
1,782
package fr.romainmoreau.gassensor.client.mhz19; import java.io.IOException; import fr.romainmoreau.gassensor.client.common.AbstractGasSensorClient; import fr.romainmoreau.gassensor.client.common.ByteUtils; import fr.romainmoreau.gassensor.client.common.ChecksumGasSensorEventValidator; import fr.romainmoreau.gassensor...
52.411765
111
0.847363
79956cf0bb45b4299da564732282c5e27163c99e
2,986
package org.jetbrains.tfsIntegration.ui.servertree; import com.intellij.ide.util.treeView.AbstractTreeBuilder; import com.intellij.ide.util.treeView.AbstractTreeStructure; import com.intellij.ide.util.treeView.NodeDescriptor; import com.intellij.openapi.diagnostic.Logger; import com.intellij.ui.treeStructure.SimpleTre...
31.431579
134
0.716008
f0693f957d270f3c2538d8178acc3b2a4db40d48
724
package net.kodar.restaurantui.config; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponseWrapper; public class CustomResponseRequestWrapper extends HttpServletResponseWrapper{ public CustomResponseRequestWrapper(HttpServletResponse response) { super(response); ...
34.47619
123
0.78453
b972601b6f12e9c29b839e2e7180cee99bc6d509
7,388
/* * OpenWhisk REST API * API for OpenWhisk * * OpenAPI spec version: 0.1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package io.swagger.client.model; import java.util.Objects; i...
24.463576
125
0.665133
5247ced5494a6997921714725b9ce1e5a1a84433
1,158
/* * Copyright 2020 Erik Amzallag * * 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...
21.054545
80
0.696891
c21cc07f104c8af430ce0b2b639974fd9a49d67a
6,546
package com.security.thread.task; import android.os.AsyncTask; import android.os.Environment; import android.text.TextUtils; import com.security.thread.listener.DownloadListener; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.util.concurrent....
29.093333
91
0.551329
497ad46c58f185d46aaabdc86736100f3de3faad
2,527
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may o...
32.818182
94
0.73051
01466a9ba5397e736f8e25196d2a4b857198568f
2,077
package com.knowledge_network.circle.vo; import com.knowledge_network.circle.entity.Notification; import com.knowledge_network.user.vo.UserInfoVO; import java.util.Date; /** * Created by wshish000 on 18-3-8 */ public class NotificationVO { private Integer id; private boolean scan; private UserInfoVO...
19.59434
66
0.62157
a81246c21b2109744bf9bf4ff9b5d9aa0947e6d7
1,421
package frc.team7170.lib.fsm; import frc.team7170.lib.Name; import frc.team7170.lib.Named; import java.util.logging.Logger; public class Trigger implements Named { private static final Logger LOGGER = Logger.getLogger(Trigger.class.getName()); private final Name name; private final boolean permitMistri...
25.375
94
0.633357
aa067c70360c13d5bebe4fe65d7d2733d85f2853
2,245
package com.android.renly.plusclub_rn.module.schedule.edu.set; import android.content.Intent; import android.os.Bundle; import android.widget.EditText; import android.widget.FrameLayout; import com.alibaba.fastjson.JSON; import com.android.renly.plusclub_rn.api.bean.Course; import com.android.renly.plusclub_rn.module...
27.378049
85
0.600891
bc99fde6092fb7937ebf264737fcc521f651d669
1,649
package com.google.api.client.auth.openidconnect; import com.google.api.client.util.Beta; import com.google.api.client.util.Clock; import java.util.Collection; import java.util.Collections; @Beta public class IdTokenVerifier { public static final long DEFAULT_TIME_SKEW_SECONDS = 300L; private final Clock clock;...
32.333333
228
0.731352
272a57f8e06c19245430503b4a0e068b72005e14
2,914
package com.github.jnrwinfspteam.jnrwinfsp.internal.util; import com.github.jnrwinfspteam.jnrwinfsp.api.NTStatusException; import com.github.jnrwinfspteam.jnrwinfsp.internal.lib.LibAdvapi32; import com.github.jnrwinfspteam.jnrwinfsp.internal.lib.LibWinFsp; import jnr.ffi.Pointer; import jnr.ffi.Runtime; import jnr.ffi...
41.628571
95
0.607756
13f8f1312cdb752fa0346939a15553a578609452
11,001
package org.reso.certification.codegen; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.poi.ss.usermodel.Sheet; import org.reso.commander.common.Utils; import org.reso.models.ReferenceStandardField; import static org.reso.certification.codegen.DDLProcessor.buildDb...
44.004
137
0.641487
2a3bf12d687f43f5e812c18fa8f25741682c716b
1,589
//package org.lxp.springboot.asm; // //import jdk.internal.org.objectweb.asm.ClassReader; //import jdk.internal.org.objectweb.asm.ClassVisitor; //import jdk.internal.org.objectweb.asm.MethodVisitor; // ///** // * Created by linxiaopeng on 2018-7-23. // */ //public class AsmMethodVisitorExample { // // public void ex...
45.4
96
0.494021
de537cb6ae04cff400ee83a970e94c14dc3afb8f
13,964
package DataManipulation; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javafx.scene.control.Alert; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.stage.Stage; ...
34.650124
89
0.583357
8f507722e4eb48ccd52125738f84e3ccba6aff6b
2,610
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.dvcs.actions; import com.intellij.ide.ui.customization.CustomActionsSchema; import com.intellij.ide.ui.customization.CustomisedActionGroup; import com.intell...
43.5
140
0.778544
e0036fc7dcac314548729dd93b1d81239ace9fa5
31,423
/* * Copyright 2013-2020 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 ap...
44.95422
154
0.543805
29d5b34da6a09652b5985301b44f0c3bfe46d1c9
748
package com.rros.logmeinbasicdeck.dto; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.rros.logmeinbasicdeck.model.CardValue; import com.rros.logmeinbasicdeck.model.Suit; @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public record SuitCardValue<U extends Suit<U>, V extends CardVa...
37.4
128
0.63369
3b7c6c6e4911df77df626499d8b9d61bb14cd087
9,904
package com.spring.learn.common.utils; import java.io.Serializable; import java.nio.charset.Charset; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.*; /** * 布隆过滤器的实现类 * 定义:http://en.wikipedia.org/wiki/Bloom_filter * https://my.oschina.net/LucasZhu/blog/1813110 ...
24.575682
168
0.560683
ac77869958be1f71e1d9bad9bf7c61edc12a76e1
4,152
/* * 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 ...
33.216
88
0.713391
2a223e9afb2cf10c586611fe7e6cb246265a6ad8
2,264
/* * Copyright (C) 2018 Intel Corporation * SPDX-License-Identifier: Apache-2.0 */ package oms.sample.p2p; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.wid...
29.025641
86
0.674912
b9707aadfc35393bf436f4aa130b49dbd70b0105
9,167
package softuni.jsonexer.service.impl; import org.modelmapper.ModelMapper; import org.modelmapper.TypeMap; import org.springframework.stereotype.Service; import softuni.jsonexer.domain.dto.binding.json.ProductSeedDto; import softuni.jsonexer.domain.dto.binding.xml.ProductImportDto; import softuni.jsonexer.domain.dto.b...
40.030568
106
0.636413
542ef214bb646e6b7d52e12f216e6f0000843c4f
2,923
package com.o3dr.services.android.lib.gcs.returnToMe; import android.os.Parcel; import android.support.annotation.IntDef; import com.o3dr.services.android.lib.coordinate.LatLongAlt; import com.o3dr.services.android.lib.drone.property.DroneAttribute; import java.lang.annotation.Retention; import java.lang.annotation....
30.134021
91
0.721519
7154aa16957fd6bbd8d0785b6a12ed1870aed18b
2,055
package net.qb9.hades; import android.app.IntentService; import android.content.Intent; import android.util.Log; import android.app.NotificationManager; import android.os.Bundle; import com.google.android.gms.gcm.GoogleCloudMessaging; import android.app.PendingIntent; import android.content.Context; import android.su...
30.671642
122
0.775182
98e0aa0129a7a97f351600d10d2d5e163107fbc7
3,419
package crab.handler.impl; import crab.Crab; import crab.constant.CrabConst; import crab.handler.HttpHandler; import crab.http.HttpRequest; import crab.http.HttpResponse; import crab.http.HttpStatus; import crab.kit.IOKit; import crab.kit.PathKit; import java.io.*; import java.net.URLDecoder; import java.util.List; ...
31.081818
142
0.589646
9c33e0a409995fbe394de53fbab826d906d8ff03
1,375
/* * Copyright (C) 2010-2021 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.report.impl.activity; import com.evolveum.midpoint.repo.common.ObjectResolver; import com.evolveum...
40.441176
118
0.786909
b8489072481fa200dd7c1405a6c2f4b94a7f0f3d
5,101
/* BAD_OPERATION.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your...
30.005882
84
0.706332
21d1155f1df371f2af3bd9e604698fb0ee2b733d
1,558
package com.idunnolol.moviesdemo.view; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.ListView; import com.idunnolol.moviesdemo.R; import java.util.ArrayList; import java.util.List; /** * Allows SlidingPairViews to operate without having to layout ...
25.540984
86
0.743902
1079b5069f4f026978f41cf3e908fef97cf63741
445
package com.walkhub.walkhub.domain.exercise.presentation.dto.response; import lombok.Builder; import lombok.Getter; import java.util.List; @Getter @Builder public class QueryExerciseAnalysisResponse { private final List<Integer> walkCountList; private final Integer dailyWalkCountGoal; private final Integ...
24.722222
70
0.791011
c1d50df824d3932765aeebf5c1004453158d0673
2,475
package com.gotruck.interview.test.models.domains; import com.gotruck.interview.test.models.enums.PurchaseOrderStatus; import java.util.Date; public class PurchaseOrderImpl implements PurchaseOrder { private String orderID; private Date orderDate; private PurchaseOrderStatus orderStatus; private User...
24.50495
107
0.638788
a77e4a88bdfa550d77443d7ce77cdd22daa7e7fa
1,010
package hard.other; public class LargestRectangleArea { int[] heights; int max=-1; public int largestRectangleArea(int[] heights) { if(heights.length==0)return 0; this.heights=heights; split(0, heights.length-1); return max; } void split(int left,int right){ ...
25.897436
79
0.572277