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
f7590a2d4b24ec08ea3d5e3295da8a0adb0f11de
3,543
package org.sunbird.user; import static akka.testkit.JavaTestKit.duration; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import akka.testkit.javadsl.TestKit; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map...
36.525773
99
0.778154
c704e87353463027e43a46e1e388167bf6eaa0b4
3,762
/* * (c) Copyright 2015-2017 Micro Focus or one of its affiliates. * * Licensed under the MIT License (the "License"); you may not use this file * except in compliance with the License. * * The only warranties for products and services of Micro Focus and its affiliates * and licensors ("Micro Focus") are as may ...
39.1875
114
0.741893
3fc5f59719e8579cf3f77dfbffa111ca4fcb5d08
1,227
package com.github.tinder.api.http.executor.authorization; import com.github.tinder.api.context.Context; import com.github.tinder.api.http.executor.AbstractRequestExecutor; import com.github.tinder.api.http.executor.RequestExecutor; import com.github.tinder.api.http.request.authorization.OnboardingCompletePostRequest;...
45.444444
104
0.722086
f65c7be1dd5af2e0338959b3446a26f0f6960738
4,911
package org.unipop.process.nested; /*- * #%L * unipop-core * %% * Copyright (C) 2016 - 2019 The YangDb Graph Database 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 * ...
39.288
132
0.726329
7e3f861da620f8d27ec7bf892a7d09c0b22d5915
151
package io.github.phantamanta44.veryserious.jarithmeticprogram.util.iteration; public interface IIterationVisitor<T> { void visit(T element); }
18.875
78
0.794702
4849b3e7835147474b6f8e17d0cc65ab2eeff6ea
13,971
package it.unisa.elephant56.core.generator; import it.unisa.elephant56.core.Constants; import it.unisa.elephant56.core.common.IndividualWrapper; import it.unisa.elephant56.core.common.Properties; import it.unisa.elephant56.core.reporter.individual.IndividualReporter; import it.unisa.elephant56.core.reporter.time...
53.121673
144
0.723857
f6519b10dc046542f99616315dd267df88633336
308
package com.yunzhu.module.bus.model.api.mine; /** * @author:jiyc * @date:2020/5/22 */ public class ThirdAppData { public String url; public IconInfo iconInfo; public String title; public class IconInfo{ public String s; public String m; public String l; } }
16.210526
45
0.626623
fe87b6b1495f8aedeee026e20173dc3ee63270d3
5,546
// Copyright (C) 2013 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 applicable ...
31.333333
91
0.664803
cca0327f3f09b84b6498bb323fd4fb0ff83b6d0f
452
package org.openecomp.sdc.asdctool.simulator.tenant; import org.junit.Test; public class OperationalEvnironmentImportHandlerTest { @Test public void testExecute() throws Exception { String fileName = ""; // default test OperationalEvnironmentImportHandler.execute(fileName); } @Test public void testGetTa...
20.545455
62
0.772124
6b0390e8416b3cd31462f05d37fa0fa1d935805a
4,945
package com.trader.activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.util.Properties; import com.trader.R; import com.tr...
42.264957
121
0.539939
68c43f54d11f6131335adb6fe7eeb722ad5d88dd
8,913
/* * 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 ...
43.691176
116
0.612476
f1b0e7b1b491e1182153246bac6eaef570165fe5
2,880
/* * Copyright (c) 2008-2016, Hazelcast, 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 ...
43.636364
121
0.617014
75f8500760b89e9f3ab7d5f2b07da6ed3e9ba2cf
15,144
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2020 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
36.936585
118
0.704635
a7c20d051131e7eb4be7bc974df9bb78300dd402
1,626
package com.demo.newsclient2.View; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.View; import java.util.HashMap; /** * Created by GSJ * Date: 2016/10/13 * Time: 19:43 */...
29.035714
98
0.687577
32713ba6e3bbdeb622f4b8297a2412619923fb78
2,843
package com.pi4j.annotation.processor.injector; /*- * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: LIBRARY :: Java Library (CORE) * FILENAME : PlatformInjector.java * * This file is part of the Pi4J project. More informati...
37.407895
125
0.634893
cf47f5b84f7000c043c93dc0cabc557fd5a8873f
627
package io.atomix.utils.component; import java.util.concurrent.CompletableFuture; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; /** * Test component. */ @Component(TestComponent1Config.class) public class TestComponent1 implements TestComponentInterface1 { @Override ...
25.08
69
0.776715
6ca9381c391113569e6546e0b64698ebbbc55704
2,073
package test.java; import net.kenneho.runnow.RuterManager; import net.kenneho.runnow.adapters.PlacesAutoCompleteAdapter; import net.kenneho.runnow.jsonDefinitions.JsonPlace; import net.kenneho.runnow.networking.HttpManager; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mo...
27.276316
78
0.711529
1ca725671819f2954a162bbb3eec21623ca83ba8
3,255
package org.cloudfoundry.multiapps.controller.process.util; import java.time.Duration; import java.util.Optional; import javax.inject.Named; import org.cloudfoundry.multiapps.controller.core.util.ApplicationConfiguration; import org.cloudfoundry.multiapps.controller.process.Constants; import org.cloudfoundry.multiap...
41.730769
108
0.726882
9f19f7444e27f4a7fd7509739f0ac7d38108aaf8
1,281
/* * Copyright © 2009 HotPads (admin@hotpads.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 * * Unless required by applicable...
32.025
104
0.765027
9713a5a644d8e5ce61c7ad10b37e4bd46c515096
1,298
import java.util.ArrayList; public class ShareFile implements java.io.Serializable, Comparable<ShareFile> { /** * */ private static final long serialVersionUID = -6699986336399821598L; private String group; private String path; private String owner; private ArrayList<String> IVList...
20.935484
120
0.576271
9264c4511fc6c3a88ab437bd5e2218a293689d75
14,696
package com.zuccessful.trueharmony.fragments; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Handler;...
47.869707
190
0.58703
f85635dcf1402b6d5a6e45b18e6a6a6d908d3b9f
5,209
package org.basex.query.expr; import static org.basex.query.QueryText.*; import java.util.function.*; import org.basex.query.*; import org.basex.query.iter.*; import org.basex.query.util.list.*; import org.basex.query.value.*; import org.basex.query.value.item.*; import org.basex.query.value.seq.*; import org.basex....
27.415789
97
0.590132
19d3e4d8bb3294d3057b23a1d76d85a79585d32e
3,116
package com.silverbullet.cms.service.impl; import com.github.pagehelper.PageHelper; import com.silverbullet.cms.dao.CmsArticleCommentMapper; import com.silverbullet.cms.domain.CmsArticleComment; import com.silverbullet.cms.service.ICmsArticleCommentService; import com.silverbullet.utils.BaseDataResult; import org.spri...
32.458333
101
0.689666
b0529e5c11bd6167878cc726fc9949d6a812bee7
2,258
package it.mulders.maven.asciilogger; import org.apache.maven.shared.release.strategy.Strategy; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.Collections; import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import...
39.614035
101
0.743136
13cbe82e87bc4bc7c2d7d51f60c5cd22e000ef47
1,268
package de.gurkenlabs.utiliti.swing; import java.awt.Component; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; import javax.swing.JSpinner; import javax.swing.JTextField; import javax.swing.SwingUtilities; public final class ControlBehavior { private ControlBehavior() {} public...
29.488372
99
0.584385
d183f00a720035265cfb805dcbb5fe353159d12b
1,016
package com.shf3; import lombok.Data; public class Test04 { public static void main(String[] args) throws ClassNotFoundException { Person person = new Student(); System.out.println("这个人是:"+person.name); // 方式一: 通过对象获得 Class<? extends Person> c1 = person.getClass(); System.o...
21.166667
74
0.59252
029d33111ab83c9c89a3d3e4a335c8557478a878
3,054
package controllers; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import entity.PupilEntity; import entity.TeacherEntity; import services.AuthService; import services.ProfileService; import services.RepositoryDB; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; ...
38.175
109
0.733792
4194489d2d6184bf94f227f29a5c5be64655a6cc
2,125
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management; import com.microsoft.azure.management.apigeneration.Beta; import com.microsoft.azure.management.apigeneration.B...
33.203125
84
0.748235
da000b0943933636b353f64ee7fa9894776e4718
9,130
/* */ package jp.cssj.e.g; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* ...
22.106538
127
0.27218
6248145723acfeb5adc8b75cadd1410307229709
1,891
package com.stevezero.game.engine.graphics.backgrounds; import com.stevezero.game.assets.drawable.GameDrawable; import com.stevezero.game.assets.loader.Loader; import com.stevezero.game.assets.services.AssetManager; import com.stevezero.game.engine.graphics.Layers; import com.stevezero.game.engine.graphics.rende...
27.405797
80
0.687996
3f39ddc566bef779ba2c7623612f38053b7eb7db
194
package com.ajgaonkar.leetcode; import static org.junit.Assert.*; public class LC572_Subtree_Of_Another_TreeTest { LC572_Subtree_Of_Another_Tree tree = new LC572_Subtree_Of_Another_Tree(); }
24.25
74
0.835052
383490c8ab2c89d953d45d6ccbd369883c4de335
2,024
package test.othertools; import junit.framework.TestCase; /* * // this is a very SIMPLE way of calculating complexity, I'd argue itself is not a very good metric in this context * // IMHO we should take into account super.XXX this.XXX method calls (these add complexity) * /...
47.069767
129
0.575593
cd1e0cacbe6d1bd7cc21ff690c1bead8cb3b8ebe
2,055
package com.cezarykluczynski.stapi.server.conflict.query; import com.cezarykluczynski.stapi.client.v1.soap.ConflictBaseRequest; import com.cezarykluczynski.stapi.client.v1.soap.ConflictFullRequest; import com.cezarykluczynski.stapi.model.conflict.dto.ConflictRequestDTO; import com.cezarykluczynski.stapi.model.conflict...
44.673913
119
0.861314
7f4656f2af434a71e70668ac5cae1ea48b1d4053
10,901
package com.magicdam.magicdsaa.sort.util; import com.magicdam.magicdsaa.sort.Sort; import static org.hamcrest.MatcherAssert.*; import static org.hamcrest.Matchers.*; import java.util.*; public class SortTestImpl implements SortTest { private final static int ARRAY_LENGTH=1024; private final static int SORT...
32.251479
69
0.460141
a395e4b9e37e29bc93ad7b57c7ffd0db46765ca6
1,258
package com.sdl.web.pca.client.contentmodel.generated; /** *Represents a publication mapping. */ public class PublicationMapping { private String domain; private int namespaceId; private String path; private int pathScanDepth; private String port; private String protocol; private int publicationId; ...
17.232877
54
0.706677
f4fe6d50f025e0e6e79ac5909dd0f7855968b913
720
package io.grpc.examples.routeguide; import java.util.logging.Logger; import io.grpc.Metadata; import io.grpc.ServerCall; import io.grpc.ServerCallHandler; import io.grpc.ServerInterceptor; import io.quarkus.grpc.GrpcInterceptor; @GrpcInterceptor public class RouteGuideInterceptor implements ServerInterceptor { ...
31.304348
112
0.7625
cb5a02f7e6bfd97d9154e938edf997de31c2a13a
1,949
package de.dk.bininja.admin.ui.cli; import java.io.IOException; import de.dk.bininja.admin.ui.UIController; import de.dk.bininja.net.packet.admin.BooleanAnswerPacket; import de.dk.bininja.ui.cli.CliCommand; import de.dk.bininja.ui.cli.CliCommandResult; /** * @author David Koettlitz * <br>Erstellt am 07.08.2017 */...
34.803571
110
0.666496
b1d9940a758cfc0a395bebe62915dc8076639e2d
1,723
package com.fasterxml.jackson.datatype.eclipsecollections.ser.map; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.core.type.WritableTypeId; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.SerializerProvide...
35.163265
117
0.735926
f202cd4a48c6c3134610fac79ca8f566ad9b2233
2,046
/** * * Namebox.java - takes user's name and puts it in a classy ASCII box. * * Version 1.0 was wiped because its careless author was trying to save on a computer that was on such * low battery the screen was flickering. Apparently it had no power left to drive disk saves. * * Version 1.1 adds Longbox, suppor...
31.476923
107
0.640274
5c259b694224b6da2c560b20c02c288e4a88e577
806
package com.gogobot.botcore.kinematic; public class FourMecanumKinematicConfiguration { public double wheelRadius; public double lengthBetweenFrontWheels; public double lengthBetweenFrontAndRearWheels; public double maxV = 2; public double maxRotV = 3; public double accel = 0.2; public double accelRot = ...
26.866667
104
0.748139
fb8d291059223390931ac97a6822c2fea8796fee
5,419
package com.chen.beth.blockchainfragment; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.view.ViewCompat; import androidx.navigation.Navigation; import androidx.navigation.fragment.FragmentNavigator; import androidx.recyclerview.widget.DefaultIt...
35.887417
133
0.70382
5e54b761232155ed3f09fd1b0fe3cee8597fae24
3,990
package org.elkoserver.foundation.json; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.elkoserver.json.JSONObject; /** * Invoker subclass for methods. Uses Java reflection to invoke a JSON message * handler method. */ class MethodInvoker extends Invoker { /** T...
34.396552
79
0.636341
56fad27f86cc98718023503c9a754d66fb3523cf
6,374
/** * Copyright (c) 2017 Martin Paljak * <p> * 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, modify, merge, ...
38.39759
116
0.620646
27e34f59f5d03c3505ef5643cb130769d81483ac
845
package com.xunlei.downloadprovider.search.ui.home; import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; import android.widget.TextView; import com.xunlei.downloadprovider.R; public class HotSearchEmptyView extends FrameLayout { private TextView a; public HotSe...
25.606061
75
0.685207
5c3e0e3880466c30696e74519574f1525993f943
214
package com.vijay.jsonwizard.interfaces; import android.view.View; import java.util.List; public interface DialogInterface { Object getValues(); void setValues(Object data); List<View> getViews(); }
17.833333
40
0.738318
f19ec16edc4f8437e167ca0c713003c4a56b357f
311
//,temp,sample_4522.java,2,13,temp,sample_4857.java,2,10 //,3 public class xxx { public void shutdown() throws IOException { IOException failure = null; for (WALProvider provider: cached.values()) { try { provider.shutdown(); } catch (IOException e) { log.info("problem shutting down wal provider"); } } } };
18.294118
56
0.717042
27cbd9685795ceaf2ed42b186847d772333ff87f
2,967
package top.daytick.newsCrawler; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.sql.*; public class JdbcCrawlerDao implements CrawlerDao { private static final String USERNAME = "root"; private static final String PASSWORD = "root"; private final Connection connection; @Suppr...
37.0875
187
0.6515
0abbeff4316cc83cbc7a791f512913594bcb0eb0
4,903
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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/li...
44.981651
115
0.725882
0094478f744817f28a15248b04a2cc578681fb76
4,016
package ch.ubique.android.starsdk.sample.logs; import android.os.Bundle; import android.os.Handler; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.MultiAutoCompleteTextView; import android.widget.Spinner; import androidx.annotation.NonNull; import...
32.918033
112
0.776892
1a1f1313972ee7a5a86246746c13663626020889
6,166
package seedu.resireg.logic.parser; import static java.util.Objects.requireNonNull; import java.util.Collection; import java.util.HashSet; import java.util.Set; import seedu.resireg.commons.core.index.Index; import seedu.resireg.commons.util.StringUtil; import seedu.resireg.logic.parser.exceptions.ParseException; im...
35.641618
114
0.666072
ada686853c49ea5a34615f02da4d195ae598f50a
3,615
/** * Copyright 2009 Humboldt-Universität zu Berlin, INRIA. * * 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 r...
36.15
100
0.743568
cea3b786659481f6230946fb3c7ad34598c35262
99
package org.nanotek; @FunctionalInterface public interface Evaluative<K> { void evaluate(K k); }
14.142857
32
0.767677
33c3da59fd2544a4455ca9642f275afabf2c41bd
137
package math.functional.interfaces; @FunctionalInterface public interface MathTwoParamsFunc<T> { double calc(T param1, T param2); }
19.571429
39
0.781022
bed70f21b78729f4536ba55851051f80b2f893e0
2,902
package example; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.List; import java.util.Map; import org.junit.Test; import timesheet.Timesheet; import timesheet.TimesheetExcept...
36.275
112
0.658167
6cbfd3c881ce77ff921ad9124c2aa1520eb707b0
748
package models; import org.neo4j.graphdb.Direction; import org.springframework.data.neo4j.annotation.*; import java.util.Set; /** * User: ecsark * Date: 12/28/14 * Time: 16:37 */ @NodeEntity public class NSymptom extends AbstractEntity { @Indexed public String cnText; @RelatedToVia (type = "CAUSE",...
22
95
0.712567
1cf1eac17d1154f210d1d6752720b45acb196fa0
2,802
package ie.gmit.sw; /** * Created by Ross Byrne on 02/01/17. * A Class used for calculating the positional stability metric * This uses the very basic method of calculation without retaining a * class adjacency list */ public class BasicMetric implements Metricable { private int inDegree; private int out...
22.967213
104
0.586724
b3e307284579ef7433ae7de02ffa507f56380e07
842
package com.example.mynewsagg.network; import com.example.mynewsagg.model.Constants; import okhttp3.OkHttpClient; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; public class ApiClient { private static Retrofit retrofit = null; public static Retrofit getClient(OkHttpClient.B...
36.608696
133
0.611639
64e1f8ba06310fce46a15495d99afb023544259a
621
/****************************************************************************** * 版权所有 刘大磊 2013-07-01 * * 作者:刘大磊 * * 电话:13336390671 * * email:ldlqdsd@126.com * ****...
32.684211
79
0.357488
5ecc9f506fb26f81b2bbc38ed8729d6e6382602e
717
package com.lightstreamer.jms; import com.lightstreamer.jms.descriptors.MessageKind; import javax.jms.JMSException; import javax.jms.TextMessage; class LSTextMessage extends LSMessage<String> implements TextMessage { ///////////////////////////////////////////////////////////////////////// // Initialization L...
24.724138
75
0.601116
961de9110b848d670e07fa56ac43046a413d5297
2,515
/** * This class is generated by jOOQ */ package org.lobobrowser.db; /** * A class modelling foreign key relationships between tables of the * <code>PUBLIC</code> schema */ @javax.annotation.Generated( value = { "http://www.jooq.org", "jOOQ version:3.5.0" }, comments = "This class is g...
51.326531
151
0.574155
bdcdb66f7a9bc4f6c03f497786e6a0b845908eb3
5,533
/* Copyright (c) 2012 LinkedIn Corp. 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...
35.928571
126
0.765227
8be9b1f4df9b865ad0c24fa1902d5923fe13c7b8
1,957
/* * * * Copyright 2020 http://www.hswebframework.org * * * * 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 * * * *...
27.56338
85
0.676546
8763d3747329219b9b5ff68b47a3dad4d13a2e0e
6,551
/* * Prime Developer Trial * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech *...
43.384106
337
0.812242
6b4cb77e4727cceecbb85ba6f391e3a106063c1c
1,965
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); // 输入人数 N String name = null, date = null; // 定义姓名,出生日期 int year, month, day, count = 0; int maxYear = 1814, maxMonth = 9, maxDay...
42.717391
136
0.448855
34982eb0dfe412663c75483b38fed6ac1434d337
1,303
package com.elex.oa.entity.archive; public class ArchiveDown { private int id; private String archiveName; //文档名称 private String taddy; //上传人 private String postTime; //上传时间 public ArchiveDown() { } public ArchiveDown(int id, String archiveName, String taddy, String postTime) { th...
21.360656
83
0.544129
7506c34e69a08f628d90834084f56d999cc46685
6,451
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
33.952632
119
0.742521
8dec26c021a41148f7d874a60477b64d060e7027
1,600
/* * Copyright (c) 2016 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com> * All Rights Reserved. */ package me.zhanghai.android.douya.ui; import android.content.Context; import androidx.annotation.Nullable; import androidx.recyclerview.widget.RecyclerView; import android.util.AttributeSet; import android.view.MotionEvent;...
23.529412
92
0.658125
725de20f05cc5e9d8b486405137198480488f7da
783
package com.lambdaschool.projectrestdogs.services; import com.lambdaschool.projectrestdogs.ProjectrestdogsApplication; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Service; @Service public class MessageListener { @RabbitListener(queues = Projectre...
30.115385
118
0.781609
881aba2d4b39862b5a50c64ece644f1468345b75
6,045
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution...
34.346591
104
0.690323
2c917a076ad8870fdebd50aa91b08a6bd5214060
934
/* Java Serialization allows us to convert Java Object to a Stream of bytes which * we can send through a network or save in a flat file or even in a DB for future usage. * Deserialization is the process of converting a stream of bytes back to Java Object which can be used in our program. * We will be implementing...
24.578947
120
0.713062
e514696d560f521f37e9333c46eba2c9096cb664
510
package com.matthiasj.verTrakTV.models; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import javax.annotation.Generated; @Generated("org.jsonschema2pojo") public class Banner { @SerializedName("full") @Expose private String full; /** * @return Th...
17.586207
50
0.639216
700c13de9b5a4eb9bd180e94bf61c83c8814523d
2,850
package graphql.validation.constraints.standard; import graphql.GraphQLError; import graphql.Scalars; import graphql.schema.GraphQLDirective; import graphql.schema.GraphQLInputType; import graphql.validation.constraints.AbstractDirectiveConstraint; import graphql.validation.constraints.Documentation; import graphql.va...
36.538462
138
0.672632
a821d47d08ed4f4e720331531cbfcd668f007160
1,935
package org.gdpu.ols.model; import org.gdpu.ols.common.BaseBean; import javax.persistence.Id; import java.util.Date; public class Comment extends BaseBean{ @Id private Integer id; private Integer coursewareId; private String commentContent; private Date commentDate; private Integer commentAu...
20.368421
58
0.639276
308decc9a0c161528a818ae50f6a929f9d6c2c65
9,952
/* * Copyright 2017 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...
32.416938
100
0.596061
92afc42dd2e13408a3b8ed77c2ed0a2f251c9107
7,310
package com.maths22.laundryview; import android.app.ProgressDialog; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Bundle; import androidx.appcompat.app.AlertDialog; import android...
35.658537
121
0.66922
1c50c1ff873f9a5baafa863d555daec22432616d
1,159
package library.domain.model.loan.rule; import library.domain.model.loan.loan.Loans; import library.domain.model.member.Member; import library.domain.model.member.MemberNumber; import library.domain.type.date.CurrentDate; /** * 貸出状況 */ public class LoanStatus { Member member; Loans loans; CurrentDate da...
23.653061
79
0.615186
a7b6ef99e677aeee2db54ac787945d3771afdead
669
package com.phpuaca.reference; import com.intellij.psi.PsiReferenceContributor; import com.intellij.psi.PsiReferenceRegistrar; import com.jetbrains.php.lang.parser.PhpElementTypes; import com.jetbrains.php.lang.patterns.PhpPatterns; import org.jetbrains.annotations.NotNull; public class StringReferenceContributor ext...
35.210526
98
0.784753
562b8b9af9ec7a6313ff2882e3cf2d7714767787
5,003
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.facebook.internal; import java.io.File; import java.io.FilenameFilter; import java.util.concurrent.atomic.AtomicLong; // Referenced classes o...
33.804054
93
0.562662
cf12f4260a00755ceefe5e87ca4a73fd3e31afcf
5,036
/* * 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...
24.686275
100
0.701549
a9e44a4f6dcab7947ec29ce359b17a48e7380e5d
664
package cn.vorbote.webdev.test; import cn.vorbote.webdev.net.NetConfigurationInfo; import org.junit.Test; import java.util.Arrays; public class FunctionTest { @Test public void run01() { var allowedKeys = Arrays.asList("AccessKey", "Hello"); // var exposedKeys = Arrays.asList("AccessKey", "H...
27.666667
79
0.637048
d9a97dfaa75a22de405e42f8e145618915132ca9
1,624
/** * */ package com.beyonds.phoenix.heimdall.app; import org.springframework.boot.Banner; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframewo...
30.641509
155
0.788177
9e6b77814c20ef7d0128bdecd853304001d7ad61
334
package edu.fiuba.algo3.modelo; import java.util.List; import java.util.Map; public interface FuenteDeDatos { @Deprecated Pista obtenerPista(String dificultad, String tipoEdificio); Computadora getComputadora(); List<Map<String, ?>> obtenerDatosDeCiudades(); List<ObjetoRobado> obtenerListadoDe...
18.555556
63
0.745509
477b0128c45c964e3ac36b54e95d119310eeb395
1,982
package mage.cards.c; import mage.abilities.Ability; import mage.abilities.common.ActivateIfConditionActivatedAbility; import mage.abilities.condition.Condition; import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition; import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.cos...
34.77193
120
0.742684
3976bc2bb19cae2095b262dc4e7f2c45a5af78b6
5,498
/******************************************************************************* * Copyright 2018 Samsung Electronics 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...
32.152047
97
0.671153
7f08cae66d3d6c92b883a6d47aaaf4f387d6bf0b
781
package com.budwk.app.sys.services; import com.budwk.app.sys.models.Sys_menu; import com.budwk.starter.database.service.BaseService; import org.nutz.lang.util.NutMap; import java.util.List; /** * @author wizzer@qq.com */ public interface SysMenuService extends BaseService<Sys_menu> { /** * 保存菜单 * ...
19.525
75
0.610755
b3d3e2fa0b8eabab4bec32b0b7e0c9aba76707b0
991
package uk.tanton.streaming.lambda.fanout; public class TranscodeMessage { private final String streamId; private final Profile profile; private final String bucket; private final String key; public TranscodeMessage(final String bucket, final String streamId, final Profile profile, final String k...
23.046512
114
0.550959
d28789035bd3d59de1f09357308332acb81477b7
2,985
/* * Copyright (C) 2011 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...
28.428571
75
0.597655
551d26b3ddf015b2e08c7b48fafe48adbc5f5dec
1,552
/* * Copyright 2015 Wayne Dyck * * 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...
28.218182
87
0.762242
351d3b0b2aded7ab66a2fe3823dcbce26310dd10
20,277
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package bo.app; import android.app.PendingIntent; import android.content.*; import android.location.*; import android.os.Bundle; import com.appboy.configu...
40.473054
204
0.56029
c91349b909c4a06655e2c89a21d0cc856070b05d
8,688
package frc.subsystems; import com.ctre.phoenix.motorcontrol.ControlMode; import com.ctre.phoenix.motorcontrol.FeedbackDevice; import com.ctre.phoenix.motorcontrol.InvertType; import com.ctre.phoenix.motorcontrol.can.TalonSRX; import com.ctre.phoenix.sensors.PigeonIMU; import edu.wpi.first.wpilibj.smartdashboard.Smar...
31.708029
96
0.650668
2b7a1e7e01e7a303db256eeca53f48f63d43a3d1
2,473
package org.opl.access.block; import org.opl.allocator.Allocator; import org.opl.util.OplUtils; import javax.annotation.Nonnull; /** * Abstraction to switch between safe and unsafe memory block implementations */ public class MemoryBlockFactory implements AutoCloseable { private final Allocator allocator; ...
28.755814
110
0.641731
6378febb34f21f5efc2b186d4cb887af55459ca3
9,245
/* * 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")...
37.889344
111
0.64954
d7ee8770f1a30dd616159dc70ee6ce467ebbe8ff
1,694
/** * */ package miscellaneous; import java.util.Arrays; /** * @author PRATAP LeetCode 764 * */ public class LargestPlusSign { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } public int orderOfLargestPlusSign(int n, int[][] mines) { int[][] grid ...
18.822222
79
0.450413
ffce5558d726a8def385f07ca9c3a9db811cde76
2,697
package com.google.maps.android.utils.demo; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class GetTravelResult{ @SerializedName("journey_name") @Expose private List<String> journey_name; @SerializedName("date") @Expos...
25.932692
217
0.569892
04ab06acb339f6921d357b1b19dde952014f57c2
3,918
package crafttweaker.api.item; import crafttweaker.annotations.ZenRegister; import stanhebben.zenscript.annotations.*; /** * Transformations can be used to modify an ingredient after it is used in a * crafting recipe. It could reuse the item, damage it or consume multiple * items. * * @author Stan Hebben */ @Ze...
30.372093
102
0.601838
e654743f95e884d5c664f9052488ae7a8711fac8
1,736
package com.fasterxml.jackson.datatype.jsr353; import javax.json.*; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.ObjectMapper; public class PolymorphicTest extends TestBase { static class Wrapper { @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = Json...
32.148148
86
0.637097
75407143f30e214d9efdc98fc491ce6340abdc18
7,803
/* * Copyright (C) 2017 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...
50.668831
139
0.753941
604bf3bdf00c0024fa7c7b28bc77c372c57af5a1
9,866
package com.simple.utils; import android.Manifest.permission; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.net.ConnectivityManage...
30.356923
108
0.587168
98605b7f63668f7e1becc9016b314b71e4cc8d71
167
package com.packt.chapter3.indianstates; import java.util.List; public interface StateRepository { List<State> findAll(); String findByName(String name); }
16.7
40
0.748503
d57b419200881e368f313ec3ec1c800459575a75
2,846
package com.arematics.minecraft.core.hooks; import com.arematics.minecraft.core.Boots; import com.arematics.minecraft.core.CompoundClassLoader; import com.arematics.minecraft.core.CoreBoot; import com.arematics.minecraft.core.annotations.Perm; import com.arematics.minecraft.data.global.model.Permission; import com.are...
39.527778
116
0.691848