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
46ffc34723bbcc2407cb6b7843c085f10ef0f1bf
6,573
package cn.shield.checkin.view.parallax; import android.content.Context; import android.content.res.TypedArray; import android.support.annotation.Size; import android.util.AttributeSet; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android....
35.918033
111
0.639434
10bf66b37631ca6cf057b5e0b775a83aa4127d4a
1,011
package algs.example.gui.canvas; import java.awt.Graphics; import algs.model.ICircle; /** * Displays to the screen a set of ILineSegment objects. * * <p> * Note that this object deals with Cartesian points and properly displays them * using the java.awt.Canvas coordinates that uses the upper left corner as (0...
24.658537
119
0.699308
beea30fc7eaa5baef93b661f08089b7c5a41d9e1
2,609
package controllers.account.settings; import static play.data.Form.form; import java.net.MalformedURLException; import models.Token; import models.User; import play.Logger; import play.data.Form; import play.data.validation.Constraints; import play.i18n.Messages; import play.mvc.Result; import play.mvc.Security; imp...
23.294643
67
0.696052
b57c1443ea157bc3a29a0063c6581285cc937621
3,585
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.stackleader.camel.quickstart.jms; import com.google.common.collect.Lists; import java.util.Collections; import java.util.L...
32.889908
94
0.670293
0bf5086a3719f92fcc55d34982c662ea3e275be3
4,117
/** * Copyright 2019 MobiledgeX, Inc. All rights and licenses reserved. * MobiledgeX, Inc. 156 2nd Street #408, San Francisco, CA 94105 * * 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 ...
36.758929
106
0.666262
4aa022cfe787bdeb8fb09d5097cbfa07c65bb36d
553
package com.github.javaparser.ast.nodeTypes.modifiers; import com.github.javaparser.ast.Node; import com.github.javaparser.ast.nodeTypes.NodeWithModifiers; import static com.github.javaparser.ast.Modifier.*; /** * A node that can be private. */ public interface NodeWithPrivateModifier<N extends Node> extends NodeW...
26.333333
87
0.735986
aa9d79bb4be77d50dfed1f7a88eea50fc2b8780a
4,559
package org.ovirt.engine.core.common.businessentities.comparators; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @RunWith(Parameterized.class) public class LexoNumericComparatorTest { private LexoNumericComparator com...
43.009434
108
0.469182
4cf35e2b676bfe3a1e4eba810028356c9a36eb51
513
package com.github.cwdtom.hermes; import com.github.cwdtom.hermes.annotation.EnableHermes; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * 测试启动类 * * @author chenweidong * @since 1.0.0 */ @SpringBootApplication @EnableHermes public clas...
21.375
68
0.71345
c7dc87a8e9f958a0cb2ead33e5c282f5471bf1cb
1,663
package me.gosimple.nbvcxz; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import com.restfb.DefaultFacebookClient; import com.restfb.FacebookClient; import com.restfb.types.User; public class FacebookScribeAuthenticator { public static void openBrowser(SubGUIProgra...
33.26
246
0.704149
c3d89985ddc1ad4ad76132fe2fe91d08e123c3a8
1,104
package services.sms; public class SendResult { private String group_id; private String result_code; private String result_message; private String errorString; private String errorCount; private String successCount; public String getGroup_id() { return group_id; } public void setGroup_id(String group_id)...
23
55
0.763587
31de0a73b97fc75b3e114ae320382f57b8a4882f
1,885
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.purchase.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.sp...
27.318841
108
0.743236
7587185c5c7742700af8f0c7656c06489f28e56c
6,964
/* * Copyright 2002-2021 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
35.896907
116
0.651493
c28c4695c5fb247356f8aaee9bff8768b7b29193
2,216
package com.benny.traveladvisor.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature;...
43.45098
131
0.797383
3f4658941090df33827cb423d69a80346c7cc1ed
28,077
package org.mockserver.collections.multimap.nottablematcher; import org.junit.Test; import org.mockserver.collections.CaseInsensitiveRegexMultiMap; import org.mockserver.model.NottableString; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; import static org.mockserver....
45.139871
141
0.643053
4facd7d61f03a2fb5d2595c8877809d02f91d045
2,893
package frontend.labels; import backend.entities.OilRig; import javax.swing.*; import java.awt.*; import java.util.ArrayList; /** Custom JLabel that represents an oil rig * @author Louis Wendler * @since 1.0 * @version 1.0 */ public class OilRigLabel extends NodeLabel { private OilRig oilRig;...
28.087379
96
0.554096
523ec53639e6afeb66852503415f874db2fd9824
903
/* * Latke - 一款以 JSON 为主的 Java Web 框架 * Copyright (c) 2009-present, b3log.org * * Latke is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * http://license.coscl.org.cn/MulanPSL2 * THIS SOFTWA...
30.1
204
0.694352
b36ebaececc89071815fd63ea9582245ad2988bd
956
package com.home.commonBase.constlist.generate; /** 场景实例类型(generated by shine) */ public class SceneInstanceType { /** 单例场景(主城) */ public static final int SingleInstance=1; /** 单人副本(可随时出,与player绑定,mmo多用) */ public static final int SinglePlayerBattle=2; /** 多人副本(可随时出,与player绑定,mmo多用) */ public sta...
23.9
58
0.687238
0f121355f72afbaccfbb80a5abd04715b93172fc
396
package cn.blackme.leetcode; public class LeetCode53 { public int maxSubArray(int[] nums) { int dp[] = new int[nums.length]; dp[0] = nums[0]; int max = nums[0]; for (int i = 1; i < nums.length; i++) { dp[i] = Math.max(dp[i - 1] + nums[i], nums[i]); if (max <...
22
59
0.45202
756cf7af4a78530fb85bd01a6fd767bc67065468
560
package cz.drabek.feedreader.util; import android.support.annotation.Nullable; public class Preconditions { public static <T> T checkNotNull(T reference) { if(reference == null) { throw new NullPointerException(); } else { return reference; } } public stat...
23.333333
82
0.603571
faef747640f8ff933b28f3714fccd11e1edde8fc
541
package softuni._001accountsystem.repositories; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import softuni._001accountsystem.models.entities.Account; import java.math.BigDecimal; /** * Created by IntelliJ IDEA. * User: LAPD * Date: 30.3.2018 г. * T...
22.541667
58
0.778189
b21a2e21dd95eec22c77d0a4435d35eac64b351d
474
package egovframework.mybatis.vo; import lombok.Builder; import lombok.Getter; @Getter public class JobResultVO { public static final String OK = "OK"; public static final String FAIL = "FAIL"; public static final String SUCCESS_MESSAGE = "success"; private final String result; private final Str...
20.608696
59
0.694093
48ef14c3f5a65301bad6653e13bc187f9ecc54df
11,069
package br.eti.hmagalhaes.rh.controller; import br.eti.hmagalhaes.rh.TestUtils; import br.eti.hmagalhaes.rh.model.dto.ColaboradorFormDTO; import br.eti.hmagalhaes.rh.model.entity.*; import br.eti.hmagalhaes.rh.model.service.*; import java.util.*; import org.easymock.EasyMock; import org.junit.Before; import org.spring...
28.825521
88
0.747583
3b4cd877d6c4ceeb036ad3bc55a7020e7fad02f5
2,054
/* 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 * distributed ...
31.121212
104
0.731256
7b9b57a2596b4970ef43743eefab6d76fae719b7
380
package cn.elvea.platform.commons.utils; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; /** * RegionUtilsTests * * @author elvea * @since 0.0.1 */ public class RegionUtilsTests { @Test public void test() throws Exception { RegionUtils.McaData data = RegionUtils.fetch...
18.095238
62
0.692105
7f368196e8069f646eb4d805a8964be62d1d8457
12,843
package com.avaje.ebeaninternal.server.deploy.id; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.sql.SQLException; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.naming.InvalidNameException; import javax.naming.ldap.Ld...
27.738661
92
0.562563
777b42f0de48e3715338d3278cfe5837f314baea
1,024
package com.pr.sepp.sep.build.model.resp; import com.offbytwo.jenkins.model.BuildResult; import com.pr.sepp.sep.build.model.constants.JenkinsBuildStatus; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Objects; @Data @Builder @NoArgsConst...
28.444444
89
0.803711
4d85f3d9119873d5e433a6abf7421b2046e4a5f8
10,243
/* * Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/licens...
42.679167
114
0.650591
697cd21965d3e16bd96139a83bdc1583f488877b
562
package com.ysy.tmall.product.dao; import com.ysy.tmall.common.constant.ProductConstant; import com.ysy.tmall.product.entity.SpuInfoEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** * spu信息 * * @author Silenc...
26.761905
92
0.775801
c7b94da0d995eaa66ca266ba437c2f28eafd5c36
1,355
/* * Copyright 2011-2014 Rafael Iñigo * * 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 ...
27.653061
83
0.735793
f1bf2713d225d0c69cec471da6fe2b2514db912a
595
TreeNode delete(TreeNode root, int data){ if(root == null){ System.out.println("Error - key: "+data+" not found"); return root; } else if(data > root.data) root.right = delete(root.right, data); else if(data < root.data) root.left = delete(root.left, data); else{ if(root.right == null){ return r...
19.193548
56
0.613445
570dc3b0def0673a83cce01c48f752ae9ed55588
119
package com.imooc.vat.service; public interface Producer { public void sendMessage(String routeKey,Object data); }
17
54
0.781513
60eac8a90b0a792669b2532e10bb3469c4c1d41f
2,787
package io.bootique; import static java.util.Arrays.asList; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import java.util.Collection; import java.util.Collections; import io.bootiqu...
26.046729
111
0.724794
2937d54f760445e153b4afec9e9c3d24dd45a0ee
524
package edict.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Created by Manjeet Singh on 7/25/2018. */ @JsonIgnoreProperties(ignoreUnknown = true) public class TokenModel { private String email; private int token; public String getEmail() { return email; } ...
17.466667
61
0.641221
c401f8bcedcc6915da53d947fdc79f8cfc91362a
1,823
/* Copyright 2020 The FedLearn Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
27.621212
75
0.698848
f5d188104af7130f61ca8bf2146da547272767fa
969
package org.jeecg.modules.dreamlabs.user.service.impl; import org.jeecg.modules.dreamlabs.user.entity.DreamlabsUserParam; import org.jeecg.modules.dreamlabs.user.mapper.DreamlabsUserParamMapper; import org.jeecg.modules.dreamlabs.user.service.IDreamlabsUserParamService; import org.springframework.stereotype.Servi...
34.607143
149
0.804954
c79eb2f9c4db6af1504b2d1149f131564d6d11db
5,458
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
32.488095
177
0.632466
7c07904a6cfdd27e748fcc4dd7ae3aed8ebda691
1,954
package com.google.codeu.data; import java.util.List; public class Table{ private String firstName; private String lastName; private String email; private String phoneNumber; private String restName; private String restAdd; private String restDescrip; private String dateTime; priva...
25.051282
237
0.632549
78af8950e7b8d644713734f50abc7b134fca42b2
318
package cn.udesk.config; /** * Created by user on 2017/1/4. */ public class UdeskBaseInfo { //相关推送平台注册生成的ID public static String registerId = ""; /** * 控制在线时的消息的通知 在聊天界面的时候 关闭,不在聊天的界面的开启 */ public static boolean isNeedMsgNotice = true; public static String sendMsgTo = ""; }
13.25
49
0.63522
630bb12e8a0d5deee5383538e6a8c960a327db26
5,293
package com.codepath.nytimessearch1.activities; /** * Created by ramyarao on 6/21/16. */ import android.content.DialogInterface; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.view.KeyEvent; import android.view.LayoutInflater; impor...
30.953216
130
0.681655
696f40b44ba466b34484cd0eefb05877bfb1cf73
1,242
package com.example.a10767.electronic_wardrobe.Main_Fragment; /** * Created by 10767 on 2018/9/9. */ public class Collect { private String picture; private String txt; private String id; private boolean collect; private String heart_txt; public Collect(String picture, String txt, boolean co...
18.818182
83
0.590177
ba2f50a71f909242d9a1e9b3ff62fa04bbe270ec
4,158
/* * Copyright (c) 2017. Matsuda, Akihit (akihito104) * * 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...
28.675862
110
0.664021
866532c3af348afdd367e6792167928ab2e053bb
10,258
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
38.709434
109
0.670014
58875de0b4390c0ea2ce589552fd7fd84b8051a8
2,522
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.envers.test.integration.modifiedflags; import java.util.Lis...
30.756098
94
0.731562
f8b10985f73c6f79dbaa45f1e16fcf5db4ae709a
945
package uk.co.idv.common.adapter.json.error.internalserver; import org.junit.jupiter.api.Test; import uk.co.idv.common.adapter.json.error.ApiError; import uk.co.idv.common.adapter.json.error.handler.ErrorHandler; import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; class InternalServ...
27
79
0.726984
920345e8668bec5850596c8a6ddc12a6c92a5f4b
4,216
/* * 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 * distribut...
43.463918
178
0.712287
b9bb8758f56791088bc2798f65767de7386d9887
279
package seedu.hustler.ui; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Test for Ui class. */ public class UiTest { @Test /** * Dummy test for Ui class. */ public void dummyTest() { } }
13.95
60
0.623656
fc872c8928a0d7e3ab72d1229be03eb161b8e2ec
1,592
package org.springframework.cloud.autoconfigure; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframewo...
32.489796
81
0.811558
26d155480af6590cb7b6dc017f200808a315b514
1,928
/* * Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * */ pac...
35.054545
88
0.770228
a022364662d63cc00e54408cf02c2e3ba4e7b675
5,994
package signpost; import static java.util.Arrays.asList; import org.junit.Test; import static org.junit.Assert.*; import static signpost.Utils.tr; import static signpost.Utils.setUp; import static signpost.PuzzleGenerator.*; import static signpost.ModelTests.checkNumbers; /** Tests of the Model class. * @author P...
36.108434
79
0.496663
1c0fe045fff51eb4befce1bddad0660096654c08
1,084
package org.noear.solon.core.handle; /** * Session 状态器接口 * * 用于对接http自带 sesssion 或 扩展 sesssion(可相互切换) * * @author noear * @since 1.0 * */ public interface SessionState { /** * 刷新SESSION状态 */ default void sessionRefresh() { } /** * 发布SESSION状态(类似jwt) */ default void sessi...
14.648649
52
0.526753
9bd920f7c59327483fc8bfe0e780d5d16279ba84
1,032
package com.example.myapplication; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; public class Gpstest extends AppCompatActivity { private WebView webView; @Override protecte...
34.4
104
0.695736
123c3ef605d2a5fde3f40d79d95a922e1f37abdc
1,901
package net.n2oapp.framework.autotest.impl.component.widget.calendar; import com.codeborne.selenide.Condition; import net.n2oapp.framework.autotest.N2oSelenide; import net.n2oapp.framework.autotest.api.component.button.StandardButton; import net.n2oapp.framework.autotest.api.component.widget.calendar.CalendarToolbar; ...
27.955882
113
0.703314
c5b87cae84695ddd248e0822162da9c13c24daca
86
package Chess.Match.Board; public interface Printable { public String toCLI(); }
14.333333
28
0.732558
c58784afd7b7efa5f86bcc6b14c8aed69a32fca7
1,852
/* * Copyright 2013-2021 consulo.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 required by applicable law or agreed to ...
26.84058
106
0.726242
2c52483e239bf319b4bdceb0910e59ec641c3730
6,878
package org.apache.maven.report.projectinfo; /* * 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...
30.034934
108
0.515121
65c2177779be5a3f07eac823578139f7ffba8569
3,635
package com.api.diy_form.dao; import java.util.List; import org.springframework.stereotype.Repository; import com.api.diy_form.model.FormModel; import com.api.model.DiyFieldData; import com.api.model.DiyForm; import com.api.model.DiyFormField; import com.base.framework.dao.impl.BaseDao; import com.base.fr...
28.178295
106
0.579367
2474138ceece7df0a9bdf14d55b3c2cd1569264e
2,177
package edu.washington.cs.detector; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.List; import java.util.Set; import com.ibm.wala.ipa.callgraph.CGNode; import edu.washington.cs.detector.util.Globals; //keep track the whole ca...
22.677083
82
0.688103
a9146fd4136396c3cb3536c059e160d5c00e367e
385
package com.arrow.dashboard.properties.list; import java.util.List; import com.arrow.dashboard.property.impl.SimplePropertyBuilder; public class StringListPropertyBuilder extends SimplePropertyBuilder<StringListProperty, List<String>, StringListPropertyView>{ public StringListPropertyBuilder() { super(StringList...
25.666667
127
0.823377
d840eebf3fb33064d150ef2aad33b5799ac55fd9
2,168
// { Driver Code Starts import java.io.*; import java.util.*; import java.lang.*; public class LRUDesign { public static void main(String[] args) throws IOException { BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); int t = Integer.parseInt(read.readLine()...
27.1
65
0.482011
dfb82f745caa3cb0a461e6c61e7a9d07bc04c77e
4,145
/* Copyright (c) Royal Holloway, University of London | Contact Claudio Rizzo (claudio.rizzo.90@gmail.com), Johannes Kinder (johannes.kinder@rhul.ac.uk) or Lorenzo Cavallaro (Lorenzo.Cavallaro@rhul.ac.uk) for details or support | LICENSE.md for license details */ package com.rhul.clod.sootPlugin.javascriptinterface; i...
26.741935
263
0.711218
ca813679d7f8ee4ed95d169e8fcd47fcf9764e99
873
package utils; //泛型接口定义 interface ISum<T> { public abstract void sum(T... t); } //从泛型接口继承的具体类型类 class IntSum implements ISum<Integer> { public void sum(Integer... t) { int s = 0; for (int e : t) { s += e; } System.out.println(s); } } class DoubleSum implement...
20.302326
67
0.498282
10bffee30f3f01386e8ca1966aa1984bafd43496
889
package com.pandect.weatherexample.request.weathertoday; import com.google.auto.value.AutoValue; /** * Created by PROFESSORCORE on 7/23/17. */ @AutoValue public abstract class WeatherObject { //id, main, description, icon public abstract int id(); public abstract String main(); public abstract Stri...
26.147059
60
0.63892
ab91d1c070ffff2a2f226977dab5201ee8ec7634
2,175
package com.crazydroid.databindingtest; import android.databinding.DataBindingUtil; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.support.constraint.solver.widgets.ResolutionDimension; import android.support.v7.widget.Recycler...
34.52381
120
0.691034
82404a015814e906194f0a15d3d6732d4ab38879
2,083
/* * Copyright (C) 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 appl...
31.560606
109
0.709554
e1f6be93a7525b68ca5632340de0abf659373e0e
4,384
/* * Copyright 2014 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
36.533333
98
0.65625
6e9353a604e884c00b7f6a0e3c2754b7323b4b3d
6,381
/* * 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.062176
117
0.661182
a4071514577ff8d01e961c58e40bd2a3de6d2554
478
/*package mekanism.common.integration.crafttweaker.gas; import com.blamejared.crafttweaker.api.annotations.ZenRegister; import org.openzen.zencode.java.ZenCodeType; @ZenRegister @ZenCodeType.Name("mekanism.gas.IGasDefinition") public interface IGasDefinition { @ZenCodeType.Operator(ZenCodeType.OperatorType.MUL) ...
26.555556
63
0.771967
019f589b6d951ec7668196a846f9aa2d07e51147
3,556
package com.java110.community.dao.impl; import com.alibaba.fastjson.JSONObject; import com.java110.common.constant.ResponseConstant; import com.java110.common.exception.DAOException; import com.java110.common.util.DateUtil; import com.java110.community.dao.IServiceServiceDao; import com.java110.core.base.dao.BaseServi...
27.145038
127
0.675197
15fb6450173a385f3eefbe2734d511d263100cf3
5,872
package ru.fizteh.fivt.students.gudkov394.Storable.src; import ru.fizteh.fivt.storage.structured.Storeable; import ru.fizteh.fivt.storage.structured.Table; import java.io.Serializable; import java.text.ParseException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; ...
33.175141
114
0.529973
07b70fc8e8ea22fbad572daa145d5c5b9193d7fe
491
package org.apache.bcel.generic; import org.apache.bcel.ExceptionConstants; public class ARRAYLENGTH extends Instruction implements ExceptionThrower, StackProducer { public ARRAYLENGTH() { super((short)190, (short)1); } public Class[] getExceptions() { return new Class[]{ExceptionConstants.NULL_...
24.55
89
0.714868
746b1ede2d3f5f2480842887797cf4b2ddcdadd1
364
package com.wepay; import com.wepay.net.WePayResource; public class WePay { public static Long clientId; public static String clientSecret; public static void initialize(Long appClientId, String appClientSecret, Boolean useStageEnv) { clientId = appClientId; clientSecret = appClientSecret; WePayResource....
21.411765
95
0.791209
fe5b483dad46357d23bfd29ab38fc82ca734dbb7
2,166
/* * 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.84375
99
0.682825
7efdb442ad9ec711c928dccff348d498d4c4857c
1,555
package com.github.ruediste1.i18n.messageFormat.formatTypeParsers; import static java.util.stream.Collectors.joining; import com.github.ruediste.lambdaPegParser.DefaultParser; import com.github.ruediste.lambdaPegParser.DefaultParsingContext; import com.github.ruediste1.i18n.messageFormat.PatternParser; import com.git...
28.272727
116
0.610289
5b74ce008a6b5b9eb3f47ba39558e8a55e73c1dd
922
package me.kp.moon.moonpvp.kit.listeners; import me.kp.moon.moonpvp.data.PlayerData; import me.kp.moon.moonpvp.data.PlayerDataManager; import me.kp.moon.moonpvp.kit.KitType; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.PlayerDea...
35.461538
105
0.719089
c6c1fd854f682627301678aeb6a38b004d3650a7
3,502
package demo.marketmatch; import com.alibaba.fastjson.JSONObject; import demo.marketmatch.domain.MarketMatchOrder; import demo.marketmatch.domain.MarketMatchOrderBook; import demo.marketmatch.domain.MarketMatchTrade; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; im...
29.183333
82
0.575385
2319ef504416bab494aa9f33e5cfaa6447f0297b
5,155
package fi.riista.sql; import com.querydsl.core.types.Path; import com.querydsl.core.types.PathMetadata; import com.querydsl.core.types.dsl.DateTimePath; import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.sql.ColumnMetadata; import com.querydsl.sql.spatial.RelationalPathSpatial; import javax.annotatio...
53.697917
168
0.778661
526e16275d0789a82e94dcaa8a2759c7474b8dd5
482
package com.smarttable.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by huang on 2017/11/4. */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interfac...
24.1
45
0.755187
465644a87cf47897d0b48ecca346cf5f8e3e98f7
5,634
package org.keedio.flume.interceptor.enrichment.interceptor; import org.codehaus.jackson.annotate.JsonCreator; import org.codehaus.jackson.annotate.JsonProperty; /** * Created by PC on 10/06/2016. */ public class EnrichedEventBodyExtraData { private String topic; private String timestamp; private St...
31.830508
109
0.566738
8102c668d2e106b81e1d9d4907505e321616a7ad
607
package kornell.core.entity; //TODO: Persist transition-triggering events //TODO: Document states and transitions public enum EnrollmentState { notEnrolled, //??? enrolled, //Enrolled on class, directly by an Institution or by being approved after requesting requested, //Requested participation in a p...
40.466667
102
0.724876
fa9ac46e5acc117225fc310e5e0a11e27cafa886
2,598
package org.sqs; import java.util.Locale; import java.util.ResourceBundle; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.NoSuchMessageException; import org.springframework.context.support.ResourceBundleMessageSource; public cla...
29.191011
100
0.700924
1a404d3e8b72debbf16629f7f822613d12130698
1,994
package downfall.patches; import com.evacipated.cardcrawl.modthespire.lib.*; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.rooms.AbstractRoom; import com.megacrit.cardcrawl.screens.CombatRewardScreen; import com.megacrit.cardcra...
38.346154
110
0.681043
414013304cd52969e5b6ddbb980d9dc88c647aeb
20,821
/* * 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 ...
34.759599
141
0.702224
c3ad877ebefa4e4a2021e4467662da3fc1f5044d
7,900
/* * VennEuler -- A Venn and Euler Diagram program. * * Copyright 2009 by Leland Wilkinson. * * The contents of this file are subject to the Mozilla Public License Version 1.1 (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.m...
33.474576
100
0.293924
a436ada4c604cff98e0fd9bcbf487d5515c9fa40
6,875
import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.concurrent.TimeUnit; import javax.swing.event.ListSelectionListener; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.AbstractTableModel; /*...
31.392694
800
0.563927
c144387a4d5edc06b5646f3f323648d68e3ae609
1,836
package com.facebook.react.cxxbridge; import android.content.Context; import com.facebook.react.devsupport.DebugServerException; public abstract class JSBundleLoader { public abstract String loadScript(CatalystInstanceImpl catalystInstanceImpl); public static JSBundleLoader createAssetLoader(final Context co...
37.469388
127
0.647059
aae77db2cb4e8bfe4af2837b9cc71ed6d8dd4900
467
package base.iface; import java.util.List; import thriftContract.TDDIKeyValueMap; public interface IBaseElement { boolean isSetId(); long getId(); void setId(long id); boolean isSetName(); String getName(); void setName(String name); boolean isSetDescription(); String getDescription(); void setDescription(S...
22.238095
59
0.779443
9c8ea9a820ebe742e5e99c6a51a2703573e42c8c
2,564
// referenced class Solution { private int[][] H; public void findSecretWord(String[] wordlist, Master master) { int n = wordlist.length; H = new int[n][n]; for (int i = 0; i < n; i++) { for (int j = i; j < n; j++) { int match = 0; ...
29.813953
73
0.365055
09195ab03b41c1bdc6e835c9a3fa0a0f40396ac0
180
package org.vatplanner.importer.postgis.status.utils; @FunctionalInterface public interface ExceptionalBiConsumer<T, U> { void accept(T value1, U value2) throws Exception; }
22.5
53
0.788889
0f7add868865761acc6d8efc596a19fb67cdd492
585
package no.nnsn.seisanquakemljpa.models.quakeml.v20.helpers.resourcemetadata; import lombok.Data; import no.nnsn.seisanquakemljpa.models.quakeml.v20.helpers.common.CountryCodeURI; import javax.persistence.Embeddable; import javax.persistence.Embedded; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.b...
26.590909
81
0.817094
f7281c6a0e986db884382642f182f5ae7a07f7a6
1,887
/* * Copyright (c) 2022. Alwin Ibba * * 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 ...
33.105263
134
0.747218
943fa6ef6134737fedc02f63c7a680b6ab9dd2e1
4,545
package com.hortonworks.streamline.streams.cluster.service.metadata.json; import com.hortonworks.streamline.streams.catalog.Component; import com.hortonworks.streamline.streams.catalog.ServiceConfiguration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.security.Prin...
43.285714
139
0.592079
3c4a496c747fcf34692c042f460d3624dc630aa6
3,835
package org.twinone.bleprofile; import android.annotation.TargetApi; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import android.bluetooth.BluetoothGattService; import android.os.Build; import android.os.ParcelUuid; impo...
34.54955
125
0.811473
e6a71a80c1cf944f951f27240014a67cafdeb38b
486
package SimulationTest.one.exam6.exam1.part3; import java.time.LocalDate; /* What will be the result of compiling and executing Test class? */ public class Test69 { public static void main(String[] args) { LocalDate newYear = LocalDate.of(2018, 1, 1); LocalDate christmas = LocalDate.of(2018, 12, 2...
30.375
62
0.67284
b76771aaf44099591a65efab969f9ff06b653db4
646
package entidades; public class Aluno { private int idAluno; private String loginAluno; private String senhaAluno; private String nivel; public String getNivel(){return nivel;} public void setNivel(String nivel){this.nivel = nivel;} public int getIdAluno(){return idAluno;} public void ...
40.375
87
0.735294
775eeddedcc2e315aa465a124fc635c371efb183
919
package org.nibiru.model.core.impl.bind; import static com.google.common.base.Preconditions.checkNotNull; import org.nibiru.model.core.api.Value; import org.nibiru.model.core.impl.java.JavaType; import org.nibiru.model.core.impl.java.JavaValue; import com.google.common.base.Function; public class Bind<T> { private...
24.837838
84
0.717084
24d57b5442925b78ad107b1447f90be47d1fa78e
3,887
/** */ package roadblock.emf.ibl.Ibl; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.util.EObjectCo...
24.29375
126
0.660149
1cde6bdd5733d649f811d7e80720349e7c0ba3c7
3,428
package com.willlee.leetcode.problems201_300; public class Leetcode221 { public int maximalSquare(char[][] matrix) { int maxSide = 0; if (matrix == null || matrix.length == 0 || matrix[0].length == 0) { return maxSide; } int rows = matrix.length, columns = matrix[0].leng...
30.882883
104
0.348308
43ef5805b5c1fee70f481973013ff2eb8c6f8320
5,026
package io.github.polysmee.settings; import android.content.Context; import android.content.SharedPreferences; import androidx.fragment.app.testing.FragmentScenario; import androidx.preference.PreferenceManager; import androidx.test.core.app.ApplicationProvider; import androidx.test.ext.junit.runners.AndroidJUnit4; ...
53.468085
193
0.809391
26f7347dc36303ee8d143b16136dc09b4faf2cde
1,369
package site.jsun999.service.impl; import site.jsun999.mapper.BaseMapper; import site.jsun999.mapper.UserMapper; import site.jsun999.model.User; import site.jsun999.service.UserService; import site.jsun999.web.exception.GlobalException; import org.apache.commons.codec.digest.DigestUtils; import org.springframework.bea...
28.520833
97
0.71366
e6924377bed378585a4edcebf3908b1060232ab2
314
package chapter14; /** * Object类是所有类的基类 */ public class ObjectTest { public static void main(String[] args){ Class clazz = new ObjectTest().getClass(); System.out.println(clazz.getName()); //System.out.println(clazz.toString()); System.out.println(clazz.hashCode()); } }
22.428571
50
0.630573