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
40d4d01b83c1b31bc198916f66f24e76dad1b428
214
package interfaces; import textures.RectangularCollider; public interface Intersectable { void onIntersects(); boolean intersects(Intersectable intersectable); RectangularCollider getCollider(); }
16.461538
52
0.780374
b92fed47f472f469a8d2d4ca6f9ac39f9e8dd1f3
3,138
package com.algaworks.algalog.api.controller; import com.algaworks.algalog.api.dto.response.DestinatarioResponseDTO; import com.algaworks.algalog.api.dto.response.EntregaResponseDTO; import com.algaworks.algalog.domain.model.DestinatarioModel; import com.algaworks.algalog.domain.model.EntregaModel; import com.algawork...
42.986301
111
0.711918
5d094418d159d1e1530c3f33d376a62e39d15c71
1,553
package org.sv.flexobject.connections; import org.apache.commons.lang3.StringUtils; import org.sv.flexobject.properties.Namespace; import java.util.Map; import java.util.Properties; public interface PropertiesProvider extends Provider { static Properties fixUrl(Properties props){ return fixUrl(props, "...
33.042553
123
0.663876
9ffdc38ea482ad0f09b6d9750837b466a5511e16
18,850
package net.xtrafrancyz.mods.minidot.items.pet; import java.util.Collections; import java.util.List; import net.minecraft.client.model.ModelPlayer; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.entity.player.EntityPlayer; import net.minecraft...
50.672043
133
0.635385
c2223d4610022fe84770b6ce27195d8ec7ff3cab
1,142
package multiton; import entity.TrainingRoom; import org.junit.Test; /** * @Tester Neko * @Date: 15:40 2020/12/1 **/ public class MultitonTest { @Test public void MultitonTest(){ System.out.println("=============== TEST [Multiton] ==============="); RoomDistributor roomDistributor = new Ro...
32.628571
78
0.609457
c16b2cad618167b8c6c0715f234ee29c8946fa7c
1,232
package daxing.common.factors; public enum GenotypeRecode { REF("0/0",(byte)0), ALT("1/1", (byte)1), HETERO("0/1", (byte)2), MISSING("./.", (byte)9); String genotype; byte recodeByte; GenotypeRecode(String genotype, byte genotypeByte) { this.genotype=genotype; this.recodeBy...
28.651163
113
0.635552
6f32a3a8235e45d93979aaf635d171605c044f90
343
package com.tekwill.learning.datatypes.methods; public class CharacterPrinterDemo { public static void main (String[] args){ char ch1 = '1'; char ch2 = 'Z'; int numberPerline = 10; System.out.println("Characters from 1 to Z are:"); CharactersPrinter.printerChars(ch1, ch2, n...
26.384615
64
0.644315
7a372c0806367f9bc24170b458592a815390d0a6
1,055
/* * The JASDB software and code is Copyright protected 2011 and owned by Renze de Vries * * All the code and design principals in the codebase are also Copyright 2011 * protected and owned Renze de Vries. Any unauthorized usage of the code or the * design and principals as in this code is prohibited. */ packa...
27.051282
86
0.727014
fe335f20fec926e8b4add63d513115ba80a5c9a2
267
package com.github.monkeywie.proxyee.server.auth; /** * @Author LiWei * @Description * @Date 2021/1/15 14:12 */ public interface HttpProxyAuthenticationProvider { String authType(); String authRealm(); boolean authenticate(String authorization); }
17.8
50
0.719101
0bebb3e9093127cbb9583300d8182711c598852b
1,217
package com.hoping.owl.flymock.strategy; import java.util.Map; import java.util.Objects; /** * Created by houping wang on 2019/4/4 * * @author houping wang */ public class Node<K, V> implements Map.Entry<K, V> { private final K key; private V value; public Node(K key, V value) { this.key = ke...
20.283333
63
0.543961
2c549678abd479ddd41affa84f46686aeee148b5
342
package org.embulk.input.soql; /** * SoqlUtils */ public class SoqlUtils { private static final int GUESS_LIMIT = 30; private SoqlUtils() {} public static String soqlForGuess(String soql) { if (soql.toUpperCase().contains("LIMIT")) { return String.format("%s LIMIT %d", soql, GUESS_LIMIT); } ...
17.1
61
0.654971
1c41f1106a4885be0faad82ad09076a6f1e307d7
1,226
package com.alibaba.json.bvt.issue_3200; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONType; import com.alibaba.fastjson.parser.Feature; import junit.framework.TestCase; public class Issue3279 extends TestCase { public void test_for_...
29.190476
95
0.643556
160c6cc36ce51e8465ee4523567b71d6a3f43752
320
package io.digdag.core.session; import io.digdag.core.repository.ImmutableImplStyle; import org.immutables.value.Value; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @Value.Immutable @ImmutableImplStyle @JsonSerialize(as = ImmutableTask.class) public abstract class TaskImpl extends Task { }
24.615385
63
0.8125
a341561eb884bea098c83d8088070f39c1b606ca
276
package edu.austral.ingsis.jj.messagesservice.dto; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class ChatInfoDto { private String userId; private String userName; private String chatId; private long unreadCount; }
18.4
50
0.775362
322cc8b5386c429a1196a3fa3195858ea1f32d81
3,064
/** */ package petrinet; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Node</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link petrinet.Node#getMinDelay <em>Min Delay</em>}</li> * <li>{@link petrinet.Node#getMaxDe...
28.37037
91
0.609661
cf3c901d4591f157bb3eda7947eca16dab988598
6,402
package es.udc.fi.dc.fd.test.unit.service.user; import java.util.HashSet; import java.util.Set; import org.junit.Assert; import org.junit.jupiter.api.Test; import org.junit.platform.runner.JUnitPlatform; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springf...
29.502304
116
0.760856
91e8cf9cabf62d86256b8d334ef4762c75d14aa7
1,630
package com.hncboy; /** * @author hncboy * @date 2021/10/29 8:15 * @description 335.路径交叉 * * 给你一个整数数组 distance 。 * 从 X-Y 平面上的点 (0,0) 开始,先向北移动 distance[0] 米,然后向西移动 distance[1] 米, * 向南移动 distance[2] 米,向东移动 distance[3] 米,持续移动。也就是说,每次移动后你的方位会发生逆时针变化。 * 判断你所经过的路径是否相交。如果相交,返回 true ;否则,返回 false 。 * * 提示: * 1 <= di...
31.346154
208
0.533129
c0f0e11704f76369bf5a8308c22a58d2d1499233
1,162
package org.usfirst.frc2876.DeepSpace2019.utils; import edu.wpi.first.wpilibj.RobotController; // See https://github.com/blair-robot-project/449-central-repo/blob/master/RoboRIO/src/main/java/org/usfirst/frc/team449/robot/generalInterfaces/doubleUnaryOperator/RampComponent.java public class Ramp { private double...
33.2
183
0.69105
86c341851efc44286bd8c66ef4ab7c8676549580
8,568
package com.adaptive.exoplayer; import android.app.Application; import android.content.Context; import com.google.android.exoplayer2.DefaultRenderersFactory; import com.google.android.exoplayer2.RenderersFactory; import com.google.android.exoplayer2.database.DatabaseProvider; import com.google.android.exoplayer2.datab...
40.415094
331
0.714636
fcf0274012c20f885a2feb35ad77fc565e961230
5,128
package com.yonyou.iuap.purchaseorder.entity; import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.StrUtil; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.yonyou.iuap.baseservice.bpm.entity.AbsBpmModel; import com.yonyou.iuap.baseservice.print.entity.Printable; import com.yonyou.iu...
22.690265
97
0.75585
31cb939813d3cd03ac3ed21d1258c0f4483ae18e
3,591
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
48.527027
137
0.793651
4da59190b6466a53c6d45e98a5164e50becc857c
2,127
/* * 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 examen.pkg2.richardpadgett; import java.util.ArrayList; /** * * @author richa */ public class Tripulada extends Naves { ...
23.898876
94
0.6441
10b85f5854801b972596c129ca841fcd773f02fe
4,099
/* * Copyright 2018 The Exonum Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
29.489209
92
0.718712
f4880e0a67abd1f3d8c15dd84c4c592cc108ac8d
1,101
/* * Copyright (c) 2012 University of Tartu */ package org.qsardb.cargo.rds; import java.util.logging.*; import org.rosuda.JRI.*; public class LogCallback implements RMainLoopCallbacks { @Override public void rBusy(Rengine re, int status){ } @Override public void rShowMessage(Rengine re, String message){ ...
21.588235
84
0.744777
d03346a75cd1d50cec8fb9985e2f63a731585d54
294
package ru.job4j.shapes; /** * Created on 08.09.2017. * * Interface. * * @author Aleks Sidorenko (alek.sidorenko1979@gmail.com). * @version $Id$. * @since 0.1. */ public interface Shape { /** * Abstracted method. * * @return - pictures. */ String pic(); }
14
58
0.564626
7dcbbffd9384c5d08bb86a5b8ffae7b81619e0c4
1,998
/* * 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 ma...
35.052632
68
0.672172
2f483c609f09feb5932dab022129dc85a5bf9847
568
package io.renren.modules.cbs.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import io.renren.modules.cbs.entity.CbsImgImportPackingListEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; /** * 进口箱单附件图片表 * * @author chenning ...
25.818182
95
0.804577
26902ce3bd96d483d1a595c1b30acb2586153b4e
6,681
package it.unict.dmi.voronoi; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Polygon; import java.awt.Rectangle; import java.awt.geom.Area; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import javax.swing....
29.693333
124
0.570274
952351971f3b2beed5b79f56a6a244f27822667b
101
package de.bitbrain.v0id.core; public enum BulletType { PLASMA, LASER, PHOTON; }
12.625
31
0.613861
17abf2ed000879b8907e23172fe5bafc9d838298
2,111
package retrogdx.generic.readers; import retrogdx.utils.SmartByteBuffer; import javax.sound.sampled.*; import java.io.ByteArrayInputStream; import java.nio.ByteOrder; public class CreativeVoc { public Clip clip; public CreativeVoc(SmartByteBuffer buffer) { buffer.order(ByteOrder.LITTLE_ENDIAN); ...
31.984848
129
0.490763
76c4ddda04080818269dfd3ef0ae769348fe9700
2,662
package jacob.dan.base.bean; import java.util.Date; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import javax.persistence.Transient; import org.hibernate.annotations.GenericGenerator; import com.alibaba.fastjson.annotation.JSONField; ...
20.96063
100
0.672802
8a33d55c680430f21d6eb4d8f25635fc19a2292a
3,666
/* * Copyright 2021-2022 Aklivity Inc * * Licensed under the Aklivity 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 * * https://www.aklivity.io/aklivity-community-license/ * * Unless required by applicable law ...
35.592233
98
0.555919
c9826965003354d9fb5246956b7f530906d50734
1,270
package com.angcyo.uiview.less.manager; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.os.Build; import androidx.annotation.NonNull; /** * 定时任务管理 * Email:angcyo@126.com * * @author angcyo * @date 2018/11/15 */ public class RAlarmManager { /...
27.608696
101
0.666929
43ab9ba4b38ce6bdab828c121769781d45efa35a
1,687
package tech.autodirect.api.interfaces; /* Copyright (c) 2021 Ruofan Chen, Samm Du, Nada Eldin, Shalev Lifshitz 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/...
28.59322
98
0.697095
c1203df8431cb203fe46937279b8859b4f219fb5
15,755
package buildings; import game.Building; import javax.media.opengl.GL2; import javax.media.opengl.glu.GLU; import javax.media.opengl.glu.GLUquadric; import com.jogamp.opengl.util.texture.Texture; public class ParkBuilding extends Building { private Texture ParkWoodWall; private Texture ParkGrass; private Texture ...
36.218391
107
0.504475
e9be581e5e0af84f42278a0558fef6ac5df2cee9
968
package com.book.well_grounded; import java.io.File; import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; /** * 《Java程序员的修炼之道》第2章 新I/O * 2.3.1 在目录中查找文件 * Page:26 * 用模式匹配过滤出项目中所有的.xml文件(不递归) * 方法DirectoryStream(Path...
28.470588
90
0.664256
a5194534c3b74420de7e987c1c4ccdd9f2c4e7b5
8,608
/* * 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 ...
37.264069
100
0.638243
896b0d9728741f221c044cc021e62322d9de5a51
4,442
/* * 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 ...
37.644068
161
0.649482
d5d92c4789ed76316032841a799655be5eeb77a1
4,365
package tests; import io.restassured.http.ContentType; import io.restassured.response.Response; import org.hamcrest.Matchers; import org.hamcrest.Matchers.*; import org.junit.Test; import org.testng.asserts.SoftAssert; import static io.restassured.RestAssured.given; import static org.hamcrest.CoreMatchers.equalTo; imp...
35.778689
111
0.608706
f78cda335a84fa1a984e07e82a87784b1b79875c
9,353
/* Copyright (c) 2001-2011, The HSQL Development Group * 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...
27.268222
80
0.587298
89d302532647730025b963bb9af75320abe6ba17
7,348
package music.te.com.wmusicplayer; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Binder; import ...
24.013072
149
0.58601
d26e5166c6eba117e684967bbfcb9b13f45a79eb
60
package exceptions; public class WrongZipFileException { }
12
36
0.816667
f7c06f5676fd26aacd50a8a2b24fb7d42ecb27ec
1,845
package com.ixyf.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProp...
20.730337
54
0.640108
d77175bf25b4d9d147af48b395c57a6eabfbf523
989
package com.zxelec.yhkk.service; import java.util.concurrent.LinkedBlockingQueue; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.stereotype.Component; import com.alibaba.fastjson.JSONObject; import com.zxelec.yhkk.entity.vc.MotorVehicleObject; @Compo...
23.547619
111
0.741153
02104973ea1bce8083af86e360ac481715175784
408
package com.maxzuo.proxy.jdkproxy; /** * 代理类 * <p> * Created by zfh on 2019/04/03 */ public class ProxySubject implements Subject { private Subject subject; public ProxySubject(Subject subject) { this.subject = subject; } @Override public void visit() { subject.visit(); }...
15.692308
46
0.610294
219d8a9f43773a424f19c5986436f16a4ea62070
363
package com.home.commonScene.constlist.system; /** 场景角色登录状态 */ public class ScenePlayerLoginStateType { /** 无 */ public static final int None=0; /** 等待客户端连接 */ public static final int WaitConnect=1; /** 等待game服推送信息 */ public static final int WaitGameInfo=2; /** 运行中 */ public static final int Running=3; /** 退出...
21.352941
46
0.702479
1f2ac54e901c8c80dd236e29bbfa1b21ebab5c82
6,823
package adaptors.facebook; import helper.misc.SociosConstants; import helper.utilities.ExceptionsUtilities; import helper.utilities.Utilities; import objects.containers.ActivitiesContainer; import objects.containers.CommentsContainer; import objects.containers.MediaItemsContainer; import objects.containers.Obj...
38.117318
145
0.72197
f5e00fad985db9df33f21d463e3997d16b9a5c40
384
package irvine.oeis.a058; import irvine.oeis.PrependSequence; import irvine.oeis.SkipSequence; import irvine.oeis.a128.A128517; /** * A058535 McKay-Thompson series of class 18E for Monster. * @author Sean A. Irvine */ public class A058535 extends PrependSequence { /** Construct the sequence. */ public A058535...
21.333333
58
0.71875
1e218ffc7bf0b6bb8e81dd06b62af0e69bd2a6d6
32,919
/* * 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 ...
44.545332
104
0.696346
c3c6d954777d3782bbcc81fef95af44bd566885f
820
package br.unb.cic.iris.addressbook.model.xml.internal; import java.util.ArrayList; import java.util.List; import java.util.function.Predicate; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "AddressBookStore") public class AddressBookStoreXml { ...
22.777778
95
0.760976
ef4f3427b889191db4f39efe5966170064196a15
1,572
/* * Copyright (C) 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
30.230769
84
0.741094
a397a5a8fe0dbc443e1bb11951437d37ecd9c2b4
2,111
/* * Copyright 2020 Just Learn Java * * 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.507463
83
0.685931
79d08c3265b8d2e47a9f53a7ad30fc824763710c
3,008
/* * Copyright (c) 2006-2007, Michael Newcomb * * 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 appl...
26.619469
117
0.710439
01586f176cc369f1a57328f9d0c1ec03c8d5a34b
207
package org.nightvoyager.core.data; public interface IResult { String getId(); ITestPaperMasterCopy getTestPaper(); IPersonInfo getOwners(); IPersonInfo getCheckers(); int getScore(); }
20.7
40
0.714976
578777a27d8b8057a31fadec8b776c8afa1c1d15
825
package cn.duniqb.mobile.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; /** * 文章表 * * @author duniqb * @email duniqb@qq.com * @date 2020-05-0...
16.176471
53
0.615758
83f4eb1457f6c78971c1e4f162375fcd69a02d39
1,637
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.verification.checkers; import java.util.Iterator; import static org.mockito.internal.exceptions.Reporter.tooLittleActualInvocations; import static org.mockito.internal.i...
38.069767
117
0.739157
cdaa98732addf252e38491a006e5463752c8739d
14,929
package com.amdelamar.jhash; import com.amdelamar.jhash.algorithms.BCrypt; import com.amdelamar.jhash.algorithms.PBKDF2; import com.amdelamar.jhash.algorithms.SCrypt; import com.amdelamar.jhash.algorithms.Type; import com.amdelamar.jhash.exception.InvalidHashException; import com.amdelamar.jhash.util.HashUtils; /** ...
36.1477
133
0.575658
fa379d600236263bd49a93ccf1b450f535947089
4,392
/* * The MIT License * * Copyright 2020 Intuit Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
41.828571
109
0.683743
e962d7f34943cfb6651e12ef8b0d8b3a4bf537c3
1,260
/** * Copyright (c) 2013 Martin Geisse * * This file is distributed under the terms of the MIT license. */ package name.martingeisse.guiserver.component; import org.apache.wicket.Component; import org.apache.wicket.markup.html.WebMarkupContainer; import org.apache.wicket.markup.html.basic.EnclosureContainer; /**...
24.705882
76
0.719841
946dec8bbcd84cc4f43eb4deeb60744920e63d9d
9,647
package com.codurance.lightaccess.mapping; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import java.sql.Date; import java.sql.ResultSet; import java.sql.SQLException; import java.text.SimpleDateFormat; import jav...
33.730769
124
0.688193
2001844a6e4a53b75b3c32e818c96df418e410c2
2,905
package seedu.address.testutil; import seedu.address.logic.commands.job.EditJob.EditJobDescriptor; import seedu.address.model.applicant.Qualification; import seedu.address.model.job.CompanyName; import seedu.address.model.job.Job; import seedu.address.model.job.JobTitle; import seedu.address.model.job.Position; import...
32.277778
92
0.696386
bc77e049bfeef62449e96d8a78615704eb7b5bdf
5,533
/* * Copyright (C) 2007 The Android Open Source Project * * 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...
36.886667
111
0.69221
4210d0e7435842b2a1b8988f8bb813f0e114ab74
921
/* * * 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 writing, * software distr...
23.615385
67
0.725299
ffda1c8996881635795d0c42120eb75d5e07738a
475
package data; public class User { int id; String name; boolean isOnline; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = n...
13.571429
43
0.536842
182af05886d6b0ea92f309a9289eff139b51af50
1,089
package com.soft2t.imk2tbaseframework.demo.base; import android.annotation.SuppressLint; import android.os.Bundle; import com.soft2t.imk2tbaseframework.base.BaseActivity; public class MyBaseActivity extends BaseActivity { @Override @SuppressLint({ "NewApi", "InlinedApi" }) protected void onCreate(Bundle savedInst...
32.029412
169
0.790634
9fc78e650f053d7984fe1dda36ed40c53b53dd7d
4,572
/** * This file was generator by Fwmf Generated * !!!Do not modify this file!! * * @fwmf.generated 2018-09-21 14:58:58 */ package cn.faury.fwmf.module.service.role.generate.mapper; import cn.faury.fwmf.module.api.role.bean.RoleInfoBean; import cn.faury.fwmf.module.api.role.generate.bean.RoleInfoGenerateBean; imp...
37.47541
97
0.698163
116f4442858ca23b9cdb1b41ac20a0715e87f385
151
package org.samjingwen.snsexample.processor; import org.springframework.stereotype.Component; @Component public class PublishRequestProcessor { }
13.727273
48
0.827815
bd8210df679964710f45e4d10fa9e832838ebb76
1,089
package org.aesy.musicbrainz.client; import org.aesy.musicbrainz.entity.Artist; import org.aesy.musicbrainz.entity.Collection; import org.aesy.musicbrainz.entity.DefAreaElementInner; import org.aesy.musicbrainz.entity.Place; import org.jetbrains.annotations.NotNull; import java.util.UUID; public interface MusicBrain...
26.560976
81
0.791552
a9c3690bf90827bd37f66cc7f637dd4be32635a6
6,913
package yanagishima.controller; import static yanagishima.util.DownloadUtil.downloadCsv; import static yanagishima.util.DownloadUtil.downloadTsv; import static yanagishima.util.HistoryUtil.createHistoryResult; import static yanagishima.util.PublishUtil.canAccessPublishedPage; import java.util.HashMap; import java.uti...
40.19186
112
0.666281
35f5f32d8b7540891ca9c69de72efcff39848a9a
12,949
package com.example.monagendapartage.Activities.MessageActivities; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.ImageButton; import android.widget.TextView; import android.widget.Toast; import androidx...
36.476056
141
0.603135
89b718c00fa704065b2889f6eec390713a48b557
717
package com.me.slone.wan.network.observer; import android.content.Context; /** * Author:diankun * Time:20-7-17 上午10:08 * Description: */ public abstract class ProgressSubscriber<T> extends AbstractSubscriber<T> { public ProgressSubscriber(Context context, boolean showDialog, boolean cancelable) { sup...
23.9
88
0.675035
6cd08fb8cf87da929be25fdaf724f2e4146338b8
3,842
/* * Copyright 2014 serso aka se.solovyev * * 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...
33.408696
114
0.709526
b03a21eb3bb7d00491ba3acaa661aecacada5ca0
767
package async.net.callback; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.Writer; import java.nio.charset.Charset; public abstract class CharacterCallback implements IOCall...
23.96875
79
0.791395
3b7b831d57df7729b0d5713638a938962b323da5
1,712
package login.sumit.registration; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/LoginRegister") ...
36.425532
120
0.719626
f854aa654d7192abf3c9892faee8f1823e1505c5
5,033
/* * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
39.015504
80
0.690244
26ee7cf0eeadb72a82b292489a36609f0bbde85f
1,105
package com.jiubang.goscreenlock.theme.cjpcardcool.weather.bean; import java.util.ArrayList; /** * * 类描述:保存国家信息的Bean * 功能详细描述: * * @author chenyuning * @date [2012-11-5] */ public class CountryBean { private int mCountryId; private String mCountryName; private String mLabel; private ArrayL...
15.56338
64
0.697738
60016d29e18bda0872d52d03039eb98aebb6e773
335
package com.paypal.android.sdk; import java.util.HashSet; /* renamed from: com.paypal.android.sdk.m */ final class C11846m extends HashSet { C11846m() { C11842l[] values; for (C11842l lVar : C11842l.values()) { if (lVar.f37270l) { add(lVar.mo38820a()); } ...
20.9375
47
0.549254
424753cd84290aa1d70235d43fbd9af444f5935c
2,394
/** * Copyright 2011 Google Inc. * <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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law o...
36.830769
121
0.699666
8aad02608dadcbb9855509c0316b41d8dbec4f5f
2,014
package com.ruoyi.project.system.domain; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.aspectj.lang.annotat...
21.425532
106
0.666832
c67b2c9b9f974adb7bebb020d63756ace6960214
2,107
package com.pedromassango.programmers.presentation.adapters; import android.app.Activity; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.pedromassango.programmers.R; import com.pedromassango.programmers.data.Notifi...
32.415385
108
0.753204
1a650e3f3392d168536ac147dc1c37c0ca9a9bae
18,086
package com.elmakers.mine.bukkit.magic.listener; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.bukkit.GameMode; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.block....
40.918552
206
0.596373
6562fc0a169d2731777cf3283f4e1372e5be55f4
5,552
/* * Copyright 2018 The Higgs 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 applicable law or agre...
41.125926
138
0.653999
14b3cf15466bf56115b8bae215b64d16e3e405a0
819
package ${project_package}; import griffon.core.test.GriffonUnitRule; import griffon.core.test.TestFor; import griffon.core.threading.UIThreadManager; import griffon.inject.BindTo; import org.codehaus.griffon.runtime.core.threading.DefaultUIThreadManager; import org.junit.Rule; import org.junit.Test; import javax.inj...
27.3
74
0.781441
a17db2a09d627f935a24cadc06ef1fdf2b7984cd
4,121
/* * Copyright (c) 2006, The Joust Project * 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 ...
37.807339
85
0.732104
8a7c8b7c08583a36c2dfa69db111f2bc420a9381
7,987
package com.bluegosling.apt.testing; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.Writer; import ...
31.820717
100
0.674972
492cd9be2b75e3c17320143cbbabd76e4d918b09
4,268
package com.centurylink.mdw.model; import org.json.JSONException; import org.json.JSONObject; public class Status implements Jsonable { private int code; public int getCode() { return code; } private String message; public String getMessage() { return message; } public Status(int code, String me...
48.5
116
0.70806
2916d11984521f9351e37b7dca11f771e721f62f
7,718
package com.qingcheng.service.impl; import com.alibaba.dubbo.config.annotation.Service; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.qingcheng.dao.OrderItemMapper; import com.qingcheng.dao.ReturnOrderItemMapper; import com.qingcheng.dao.ReturnOrderMapper; import com.qingcheng.e...
35.242009
104
0.612205
e055eeb7a9c1a66d2960bdca396896c3f6b62326
860
package com.haxademic.core.draw.textures.pgraphics; import com.haxademic.core.app.P; import com.haxademic.core.draw.textures.pgraphics.shared.BaseTexture; import com.haxademic.core.media.audio.analysis.AudioIn; public class TextureEQBandDistribute extends BaseTexture { public TextureEQBandDistribute( int width, in...
21.5
69
0.702326
4ddddf5853e2dd97eb633afdd5d8534de4ef8d0c
5,085
/* * Copyright (c) 2005-2021 Radiance Kirill Grouchnikov. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * th...
37.389706
100
0.711701
6adb78b8da20db6b07ebe848ff79c5c5f627fa23
10,010
package com.it.soul.lab.sql; import com.it.soul.lab.sql.entity.Entity; import com.it.soul.lab.sql.entity.Ignore; import com.it.soul.lab.sql.query.models.Row; import org.junit.Assert; import org.junit.Test; import java.util.Date; import java.util.Map; import java.util.Objects; import java.util.UUID; public class Enti...
31.183801
98
0.554645
9fd89c0d29bd9f2893065235da9c70bf68417921
2,406
package com.facker.toolchain.api.xbase; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.OutputFormat; import org.dom4j.io.SAXReader; import org.dom4j.io.XMLWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util....
27.655172
94
0.631754
f8d7202ec90c3ee32940c9d2ecc0668acfbd22f5
3,098
package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.DESC_IRAS; import static seedu.address.logic.commands.CommandTestUtil.DESC_MAYBANK; import static seedu...
44.257143
106
0.755972
93c4ee69f83b83ce52c9e6f2a28619113b70e0b6
2,191
package cat.proven.store.model; import cat.proven.store.model.persist.DbConnect; import java.util.ArrayList; import cat.proven.store.model.persist.ProductDao; import java.util.List; /** * * @author Chems */ public class Model { private ProductDao productDao; public Model() { productDao = new Prod...
19.052174
77
0.570059
b4456343946fe99ca7b2e8be450c7062e19bb9d0
1,007
package de.ngloader.timer.core.timer; import java.util.Collections; import java.util.HashSet; import java.util.Set; import de.ngloader.timer.api.timer.Timer; import de.ngloader.timer.api.timer.TimerManager; public class ImplTimerManager implements TimerManager { private final Set<Timer> timers = new HashSet<>(); ...
19.365385
55
0.692155
f083ee2d8219ce37a006c15fd476b238e0a6314b
1,484
package org.bson.codecs.configuration; import java.util.*; abstract class Optional<T> { private static final Optional<Object> NONE; public static <T> Optional<T> empty() { return (Optional<T>)Optional.NONE; } public static <T> Optional<T> of(final T it) { if (it == null) { ...
20.901408
71
0.480458
4b43a931807392e85b8a330a319a8daeb3e48b18
2,741
package com.crazicrafter1.tfplugin; import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import java.lang.reflect.Field; public final class ReflectionUtil { // Not instantiable private ReflectionUtil() { } /** * Returns the value of a field that is part of a certai...
38.069444
124
0.626414
66b63d736329a47fbb8a2745146cdad320f79b92
499
package com.modulo7.common.exceptions; /** * Created by asanyal on 8/20/15. * * Exception stating that bad interval is encountered */ public class Modulo7BadIntervalException extends Modulo7BaseException { public Modulo7BadIntervalException(String message) { super(message); } public Modulo7Bad...
23.761905
73
0.715431
98c873799c11ab7bcbb4a0bc5fbfb01d0155a51e
818
package com.hhernaar.jdbc.dao.impl; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.hhernaar.jdbc.dao.BookDao; import com.hhernaar.jdbc.util.JDBCUtil; import com.hhernaar.jdbc.util.Procedure; @Repo...
24.787879
66
0.766504
525f4cecc1c5eac76b914da6b7cf8b923f3e9298
545
package dataflux.datagenerator.util; import dataflux.common.type.WebTxnData; import dataflux.datagenerator.types.WebTxn; /** * Utility to build a transaction instance * Created by sumanthn */ public class TxnInstanceBuilder { private TxnInstanceBuilder() { } public static WebTxnData buildTxnInstance(...
21.8
65
0.697248
958c64048cac42ad0d202975b6c36c1035dbd8ac
560
package com.bdp.etl; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.openfeign.EnableFeignClients; import com.bdp.auth.EnableBdpAuthClient...
29.473684
69
0.821429