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
6a7974c41c50acdbbeb88db889b11be387ad1770
4,821
package com.concordia.smarthomesimulator.views.alerts; import android.content.Context; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.view.KeyEvent; import android.view.View; import android.widget.CompoundButton; import android.widget.EditText; ...
34.191489
102
0.620203
ff165fb5c167f3accf72fb400fb76d5dfe7b7e55
3,916
package com.example.techtalk.password; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.os.CountDownTimer; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import co...
39.16
109
0.551583
da7711e4afa9a4ce7eaa1e553e5154a70a5eac04
3,386
/* * (C) Copyright IBM Corp. 2019, 2021. * * 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 t...
78.744186
151
0.843768
bdf2f54468dbc4193d30fe11c6e1fceff48a1fc2
8,674
package com.hqj.universityfinance; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Bundle; import android.os.Handler; im...
32.856061
105
0.565483
5c266aed1c957a51a3b159ee36c04b2b824935e7
678
package litil.ast; import java.util.ArrayList; import java.util.List; public class Program extends AstNode { public final List<Instruction> instructions = new ArrayList<Instruction>(); @Override public String repr(int indent) { StringBuilder res = new StringBuilder(); for(Instruction inst...
25.111111
79
0.622419
886bdbe7b57091552a14ce78c4608c9c4b212812
5,524
/******************************************************************************* * 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...
33.077844
126
0.641383
309e69d4aae119ba3c23ee16b13a4ada279e68f7
315
package pattern.structural.strategy; /** * @Author linfei * @Date 2019/3/28 13:45 * @Description 乘法运算 */ public class Multiply extends AbstractCalculator implements ICalculator { public int calculate(String exp) { int arrayInt[] = split(exp,"\\*"); return arrayInt[0]*arrayInt[1]; } }
21
73
0.663492
3ad22158a0455d50c9c2752b6b9e9a70c3349568
195
package com.minelittlepony.gui; /** * An element that can perform an action. */ @FunctionalInterface public interface IActionable { /** * Does whatever. */ void perform(); }
15
41
0.646154
214616eb8e2782facb6f22bd2f33a0610daf2955
12,757
/* * JBoss, Home of Professional Open Source * * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * 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/lic...
43.391156
129
0.640433
17e00d1bc7070b4a53641661c16a0f9612054150
3,421
/* * MIT License * * Copyright (c) 2019 * * 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, p...
45.013158
117
0.701842
a25581388fbc96f23428acba94a7ca0ae996a078
457
package ch.heigvd.amt.framework.exceptions; public class InvalidRequestException extends Exception { public final static int MISSING_SERVICE_OR_OPERATION = 4000; public static final String MISSING_SERVICE_OR_OPERATION_HUMAN = "Invalid command: service name and service operation are mandatory"; private int stat...
28.5625
134
0.794311
a3e2ce8287e3263af808322689a5c4278f12baf8
1,828
package com.cafe.gitteam1.ctrl; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.b...
28.123077
63
0.7593
62f0fb4f8c08b172a2ff43e79173c12458bd69c0
2,232
package red; import java.awt.Color; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.channels.FileChannel; import java.util.ArrayList; import java.util.List; public class Dynamic { ArrayList<ByteBuffer> buffers = ...
26.571429
90
0.700717
a43b802dce9271b2ba2b7fa9abc12eb838de49de
25,041
package org.firstinspires.ftc.teamcode19; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.hardware.rev.RevTouchSensor; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.robotcore.util.ElapsedTime; import com.qualcomm.robotcore.util.Range...
44.320354
426
0.624496
a9dd05239327071d295ae701cf86de2076d570fa
805
package com.netflix.sleepypuppy; /** * Created by rperam on 10/2/15. */ class SleepyPuppyConstants { public static final String ASSESSMENT_URL = "/api/assessments"; public static final String PAYLOAD_URL = "/api/payloads"; public static final String CREATE_PAYLOAD_NOTES = "created using sleepy puppy burp...
44.722222
96
0.763975
33352fd5d8fb1a896978f3ef19de529633914f67
2,046
package com.reason.build.console; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.ActionToolbar; import com.intellij.openapi.actionSystem.DefaultActionGroup; import com.intellij.openapi.editor.actions.ScrollToTheEndToolbarAction; import com.intellij.openapi.project.Dumb...
38.603774
113
0.764418
d2954dd84b18f8aeacc30036f8d2fab1a6a7ab77
421
package com.company.chongchongchong; //一球从100米高度自由落下,每次落地后反跳回原高度的一半; // 再落下,求它在 第10次落地时,共经过多少米?第10次反弹多高? public class Demo10_01 { public static void main(String[] args) { int hight = 100; int length = 0; for (int i = 1; i <= 9; i++) { length = length + hight; hight = ...
24.764706
44
0.567696
12cd48ca759bdcaf6452f96bb769423b94963c39
557
package cz.balikobot.api.model.values; import lombok.Data; @Data public class PackageTransportCostPart { /** * Part name */ private String name; /** * Part cost */ private Double cost; /** * Currency code */ private String currencyCode; /** * PackageTransportCost constructor *...
15.914286
82
0.64632
7159f08fa0838197178cff9ca80af346e2145d49
3,189
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dim.client.util; import com.dim.client.domain.Contact; import com.dim.client.gui.WndContactList; import com.dim.client.handler.MessageReadHandler; import java.io.IOException; import java.util.ArrayList; impo...
34.290323
109
0.641267
57ff80df001ee46ad7d382bfde8ef1b7f6a2cbf4
9,810
/* * #%L * FHIR Implementation * %% * Copyright (C) 2018 DataScience 9 LLC * %% * 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 *...
31.543408
168
0.663099
439055a97cb0f8250bbd83d14d1a5ba2e7c4cee1
3,985
/* Copyright 2016--2020 The Tor Project * See LICENSE for licensing information */ package org.torproject.descriptor.internal; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream; import org.apache.commons.c...
29.087591
81
0.709912
1c11b42906124c3e1b22f4793abe2ca3471c5ef6
3,269
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2016 Eric Lafortune @ GuardSquare * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the F...
24.954198
78
0.648516
4ba4f635ca323d925428497793a9a3239d680510
2,071
package com.dexesttp.hkxpack.hkxwriter.object; import java.util.List; import com.dexesttp.hkxpack.data.HKXObject; import com.dexesttp.hkxpack.data.members.HKXMember; import com.dexesttp.hkxpack.descriptor.members.HKXMemberTemplate; import com.dexesttp.hkxpack.hkx.types.ObjectSizeResolver; import com.dexesttp.hkxpack....
41.42
120
0.778851
fd21ab8048f711068190d9920f6ad8a6e8ecd5db
2,897
package org.cnodejs.android.md.presenter.implement; import android.app.Activity; import android.support.annotation.NonNull; import android.text.TextUtils; import org.cnodejs.android.md.display.view.ITopicReplyView; import org.cnodejs.android.md.model.api.ApiClient; import org.cnodejs.android.md.model.api.DefaultToast...
39.684932
143
0.662409
6af2a1649a8d7994fa921469a9613d61d113989e
389
package com.kymjs.router; /** * Created by ZhangTao on 10/12/16. */ public class RouterList { public static final String MEMORY_ATY_MAIN = "com.kymjs.app.memory.module.main.MainActivity"; public static final String EXPLORER_ATY_MAIN = "com.kymjs.app.explorer.MainActivity"; public static final String M...
27.785714
98
0.753213
2bf1ec6349610207d95435aa903bb1105500fa11
1,107
package fr.zwendo.amongus.game.containers; import fr.zwendo.amongus.interactionpoint.InteractionPoint; import java.util.ArrayList; import java.util.List; import static java.util.Objects.requireNonNull; /** * Class that contains interaction point of an Among Us game. */ public class InteractionPointContainer { p...
24.065217
77
0.722674
6b8506bc9f0d20d90cc0088e78e35f7f7338f6fc
3,550
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
35.148515
130
0.618873
263b4daa9edda766792bbe90547f0091b3c87389
453
package lia.Monitor.JiniClient.CommonGUI; import java.util.Map; import java.util.Vector; import net.jini.core.lookup.ServiceID; public interface graphical { public void updateNode( rcNode node); public void gupdate(); public void setNodes ( Map<ServiceID, rcNode> nodes , Vector<rcNode> vnodes); public void setS...
28.3125
78
0.768212
26b6c3db197dcb6bc8cd3d2dabba794f44ca2f6b
1,939
/* * 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 org.huberb.preprocessor.simple; import java.util.Map; import org.junit.After; import org.junit.Before; import org.ju...
24.544304
87
0.561114
02333b7a3f6e3db7686e3be635137017cd27196c
400
/* * This class is auto generated by https://github.com/hauner/openapi-processor-core. * TEST ONLY. */ package generated.api; import annotation.Mapping; public interface EndpointApi { @Mapping("/endpoint") void getEndpoint(); @Mapping("/endpoint") void putEndpoint(); @Mapping("/endpoint") ...
16
84
0.6625
660735cfdee3fcb40b4da3150c6b9ab5f3a2c601
7,844
/* * Copyright 2019-2021 StreamThoughts. * * 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,...
45.08046
106
0.667262
8bdb0abf929d05e92a707989b2e77322276fd44a
6,791
/* * ####################################################### * * Copyright (c) 2013, A. Weinberger. All rights reserved. * -------------------------------------------------------- */ package ale.view.gui.editor.fields; import java.awt.Color; import java.awt.Dimension; import java.awt.event.KeyAdapter; import jav...
33.955
139
0.637903
93bcceb7a5ce2134f97d5b033e047c1ac89eeb30
130
package ru.job4j.tictactoe; import java.io.IOException; public interface UserInterface { int[] move() throws IOException; }
16.25
36
0.753846
8932c074b37b8deb7f48b868bd769e8938764454
764
package com.github.nijian.jkeel.dsls; import java.math.BigDecimal; import org.apache.bcel.classfile.Utility; import org.apache.commons.jxpath.JXPathContext; import org.objectweb.asm.Type; public interface ClassInfoAware { String OBJECT_INTERNAL_NAME = Type.getInternalName(Object.class); String OBJECT_SIGNATURE...
30.56
87
0.810209
ddf2c661829954c21d506e32333494222a3cf43d
4,409
/* * Project: NextGIS Mobile * Purpose: Mobile GIS for Android. * Author: Dmitry Baryshnikov (aka Bishop), bishop.dev@gmail.com * Author: NikitaFeodonit, nfeodonit@yandex.com * Author: Stanislav Petriakov, becomeglory@gmail.com * ****************************************************************************...
27.905063
97
0.625539
d0ffa5368cd361aabdd2c3a0ce99f1b1ebd84561
6,372
package net.anotheria.moskito.core.decorators.predefined; import net.anotheria.moskito.core.decorators.AbstractDecorator; import net.anotheria.moskito.core.decorators.value.LongValueAO; import net.anotheria.moskito.core.decorators.value.StatValueAO; import net.anotheria.moskito.core.predefined.IMemoryPoolStats; import...
49.78125
484
0.744193
3f64566d74817da5b9426ba95597958f4d60632c
10,222
package com.kumkee.userAgent; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class UserAgentParser { public UserAgent parse(String userAgentString) { UserAgent userAgent = new UserAgent(); userAgent.setBrowser(this.browser(userAgentStri...
33.847682
138
0.743103
de089415212fa1ca3db0f3ab3623157d3432943f
429
package org.ryank.pizza.create.resources.config.sauce.api.dto; import lombok.Data; import org.ryank.pizza.create.resources.config.sauce.service.model.Sauce; @Data //for spring public class SauceDto { private String name; private double cost; public SauceDto(Sauce model) { this.name = model.getName(); ...
21.45
73
0.715618
08df77c9d1703e1c03be351f4555b30969373b27
6,275
package in.tombo.github2pdf; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringW...
27.643172
80
0.626932
d0c58fc8ed0cf25dc8776c23cff3c1da0890a0db
2,523
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
43.5
127
0.715022
1c5910fa05185560db6002ae726cca04f1304f81
6,223
package com.thirtydegreesray.openhub.dao; import android.database.Cursor; import android.database.sqlite.SQLiteStatement; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.Property; import org.greenrobot.greendao.internal.DaoConfig; import org.greenrobot.greendao.database.Database; import org...
38.177914
118
0.617869
ab67ddefa1d8e15c4379ab25143c1c12d362bfe0
6,021
/* * $Id$ * * Copyright 2009 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softwar...
36.490909
101
0.647733
ee0c17c3bd4e97b69d0099868af07bd675bf2da8
1,168
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 请款分账查询接口 * * @author auto create * @since 1.0, 2020-04-23 15:45:01 */ public class AlipayTradeBatchTransferQueryModel extends AlipayObject { private static final long serialVer...
20.857143
80
0.711473
9dd237af23795028985b215d0af79a90f6ff36ae
1,097
/* * Copyright 2019-2020 Elypia CIC * * 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...
30.472222
88
0.723792
c3c2cbf29b571f1b1db08adc8bab046228583020
15,866
/* * Copyright (c) 2017, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ package com.force.i18n.settings; import java.io.Serializable; import java.util.*; i...
35.653933
127
0.565864
0279c3dd94c556c2fdf9d6391e47ff37c2628030
1,967
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_SORT_ORDER; import static seedu.address.model.Model.PREDICATE_SHOW_ALL_MEMBERS; import seedu.address.commons.core.Messages; import seedu.address.logic.commands.exceptions.Com...
38.568627
112
0.696492
a15c7f4ed243b75fd2446d53a21e236493d304ff
3,423
import javax.swing.*; import java.awt.*; import java.awt.geom.Ellipse2D; import java.util.Random; /** * The randomCircleGUI class inherits * from the JPanel class. The class is used * to draw a random circle on start up * and display its attributes. The circle * will redraw on any resizing of the window...
25.544776
109
0.576103
6158a48584301f2733f949b4b4769da72b462cdc
9,933
package com.friendmatch_frontend.friendmatch.activities; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppComp...
40.214575
131
0.599013
868ab9f5681487b622b5e97ba6c87120eb49ec9f
648
package net.minecraft.world; public enum TickPriority { EXTREMELY_HIGH(-3), VERY_HIGH(-2), HIGH(-1), NORMAL(0), LOW(1), VERY_LOW(2), EXTREMELY_LOW(3); private final int priority; private TickPriority(int priority) { this.priority = priority; } public static TickPriority getPri...
20.25
81
0.634259
7fb38b7b4c8de3fcf3de4cef9c2835007096746f
3,507
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
33.084906
119
0.684346
48924a719df100b701a0b83a6c06147b740462ca
186
package tv.qahub; public class BackUpException extends Exception { private static final long serialVersionUID = 1L; public BackUpException(Exception e) { super(e); } }
16.909091
50
0.715054
3a101b5b30cb7fcd3abaeb6a3085adf570a9495d
16,260
/* * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
40.854271
120
0.622079
0c89e2b30ef708a78509d1cf82cd7a4cea35ddb6
377
package com.shanghai.haojiajiao.util.HttpUtil; import android.graphics.Bitmap; import android.view.View; public class BitmapResponse{ public Bitmap bitmap; public String url; public View view; public BitmapResponse(){ } public BitmapResponse(Bitmap bitmap, String url, View view) { this.bitmap...
20.944444
63
0.708223
e883e583bf0189008d6ab49656b76cead1812165
3,352
package edu.neu.coe.info6205.assignment2; import edu.neu.coe.info6205.sort.elementary.InsertionSort; import edu.neu.coe.info6205.util.Benchmark_Timer; import java.util.Random; import java.util.function.Supplier; public class Test3 { public static void main(String[] args) { Integer[] len = new Int...
41.382716
179
0.547434
4cafd39e5db6eecbe7c7ccc0ffb28068b378fbb9
20,724
/** * For copyright information see the LICENSE document. */ package gwlpr.database.jpa; import gwlpr.database.EntityManagerFactoryProvider; import java.io.Serializable; import javax.persistence.Query; import javax.persistence.EntityNotFoundException; import javax.persistence.criteria.CriteriaQuery; import javax.pe...
59.211429
240
0.689153
d270e39fca3f4b3c19586837f88e3ce34c69c9d6
652
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
28.347826
93
0.754601
c8d30bd7f830a98958e64bf0305b43fec5e5479e
3,344
package ch.uzh.ifi.seal.soprafs20.service; import ch.uzh.ifi.seal.soprafs20.constant.BotMode; import ch.uzh.ifi.seal.soprafs20.constant.GameMode; import ch.uzh.ifi.seal.soprafs20.constant.Role; import ch.uzh.ifi.seal.soprafs20.constant.RoundStatus; import ch.uzh.ifi.seal.soprafs20.entity.Game; import ch.uzh.ifi.seal.s...
32.466019
77
0.695873
b54a1709d0d06d415a568289a3d5146ce834f8b7
1,200
package com.coder.instaandroid.profile; import android.app.Application; import android.arch.lifecycle.AndroidViewModel; import android.arch.lifecycle.LiveData; import android.support.annotation.NonNull; import com.coder.instaandroid.InstaApplication; import com.coder.instaandroid.model.MediaDetails; import com.coder....
26.086957
100
0.7725
f7cfee1b10cbef4fada3580eb2a8086199224918
473
package biz.hahamo.dev.variations.controller.repository; import java.util.Map; public interface PersistenceQueryFactory { PersistenceQuery createQuery(String name, final Object... keyValuePairs); PersistenceQuery createQuery(String name, final Map<String, Object> keyValueMap); PersistenceQuery createJpqlQ...
36.384615
99
0.799154
14210717ab68701bdb7c0f567aa301afd4b69fce
52
package com.jailmango.concurrence.geekpark; // 极客公园
17.333333
43
0.807692
b84894eef89c6f17a5b22fdfa02b209a637841ec
8,313
package shop.main.data.service; import java.math.BigInteger; import java.security.SecureRandom; import java.time.Duration; import java.time.LocalDateTime; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.UUID; import javax.persistence.EntityManager; import javax.persistence.P...
30.339416
324
0.758451
192e2a4f8405b2f895793c02dd9e688c8f8f474e
7,075
package gui; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Font; import java.util.Map; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.SwingConstants; import javax.swing.border....
28.643725
94
0.653004
0267042f42f551b2765f8d03c719c36f7b4ab120
4,223
/* * Copyright (c) 2022 vitasystems GmbH and Hannover Medical School. * * This file is part of project openEHR_SDK * * 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 * * https://www...
39.101852
190
0.744494
f2bab28675d97a033dd71cae92d6a3dede84f3e8
106
package swarm.shared.lang; public interface I_SerializableEnum { boolean matchesOldName(String name); }
15.142857
37
0.811321
0fe74384acbcc11b2036f28fb3ea6e2783ae7d81
2,905
package com.android.example.github.ui.movie; import android.databinding.DataBindingComponent; import android.databinding.DataBindingUtil; import android.net.Uri; import android.os.Build; import android.support.annotation.RequiresApi; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import an...
39.256757
172
0.695697
2d4a8fd613d32519c505377be44db6e201332587
387
package com._604robotics.robotnik.action.field; import java.util.Enumeration; import java.util.Vector; public class FieldMap { private final Vector fields = new Vector(); public void define (String name, double value) { this.fields.addElement(new Field(name, value)); } public Enumera...
22.764706
55
0.677003
fbb8acd3423e5fa3a551b9ef7d718b294ef3415c
91,613
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.hyphenate.easeui; public final class R { public static final class anim { public static int fade_in=0x7f040000; ...
54.080874
158
0.690775
bd5ecf7a5d40e7045c950c5622aff9d0e537acaf
15,729
/* * Copyright 2006-2008 Web Cohesion * * 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...
34.045455
155
0.689872
967860d677b27072b80a8a6367bb8a631f737375
886
package io.configrd.core.util; import java.io.File; import java.net.URI; import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Map; import java.util.concurrent.atomic.AtomicReference; public class TemplateReplace { public String replace(String fileName, Map<String, Object> v...
26.848485
94
0.691874
9280052cea0c44ddc9e6c148689ec5ebee55a744
3,143
package com.rainbow.leetcode; import java.util.Stack; /** * https://leetcode.com/problems/maximum-binary-tree/description/ * <p> * 分别实现了递归解法和迭代解法 * <p> * 递归的比较好理解,迭代的不太好理解 */ public class MaximumBinaryTree { public static void main(String[] args) { int[] nums1 = new int[] { 5, 4, 9, 1, 7, 6, 8, 10,...
26.411765
76
0.457525
20e598142c6d9ee996db265cf3c06034361043d4
884
package com.samton.platform.pm.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.samton.platform.pm.bean.entity.TPlatformPmRoleUser; public interface TPlatformPmRoleUserMapper { int deleteByPrimaryKey(Long roleUserId); int insert(TPlatformPmRoleUser record); int insert...
29.466667
114
0.778281
b15db9431940365739c872cca61189a73c40eb89
755
package org.platformlayer.common; import org.platformlayer.core.model.Tag; public class EnumTagKey<E extends Enum<E>> extends TagKey<E> { private final Class<E> enumClass; public EnumTagKey(String key, Class<E> enumClass) { super(key, null); this.enumClass = enumClass; } @Override protected E toT(String s)...
20.972222
88
0.671523
11e781323d85096825c7bde816aa761dbdcbc367
106
package uk.nhs.cdss.transform; public interface Transformer<FromT, ToT> { ToT transform(FromT from); }
17.666667
42
0.754717
7649cbcd89b1fd367e167dbafacc27a03a09705c
9,833
package org.python.antlr.adapter; import org.python.antlr.ast.*; import org.python.antlr.base.*; import org.python.antlr.op.*; import org.python.core.*; /** * AstAdapter turns Python and Java objects into ast nodes. */ @SuppressWarnings("unchecked") public class AstAdapters { public final static AliasAdapter al...
31.117089
95
0.520594
8ba89da54979abaaa53b04d96961348af7adef53
687
/** * */ package com.meidusa.venus.exception; import com.meidusa.venus.annotations.RemoteException; import com.meidusa.venus.annotations.RemoteException.Level; /** * * * @author Sun Ning * @since 2010-3-4 */ @RemoteException(errorCode=VenusExceptionCodeConstant.PARAMETER_INVALID_EXCEPTION,level=Level.ERROR)...
24.535714
100
0.759825
e6b6411abda992c96371b89eea961c9734782eeb
2,091
/* * Copyright 2016 predic8 GmbH, www.vopen.xyz * 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.671875
88
0.693926
e3822c1ba376f19c7ca3fc97a02cf1c34ee671c0
4,075
package org.folio.verticle.consumers; import io.vertx.core.Future; import io.vertx.core.Promise; import io.vertx.core.Vertx; import io.vertx.core.json.Json; import io.vertx.kafka.client.consumer.KafkaConsumerRecord; import io.vertx.kafka.client.producer.KafkaHeader; import org.apache.commons.lang3.StringUtils; import...
42.447917
172
0.73546
72ccf4aa1ddfc09506b2a7e1187092f094ca2e5b
1,201
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.fastsearch; import com.yahoo.search.schema.RankProfile; import com.yahoo.search.schema.Schema; import com.yahoo.search.schema.SchemaInfo; import com.yahoo.tensor.TensorType; import java.u...
30.794872
111
0.758535
a0f4ce44867a39c533bbcb6173159767c83c05bf
3,935
/* * Plugin per a Phonegap 2.0 * Basat en Plugin SmsPlugin de Andrew Lunny * * (c) 2012, Josep Lluis Monte Galiano * @jlmoga * www.moga.cat * moga@moga.cat */ package com.moga.plugins.smsplugin; import org.apache.cordova.api.PluginResult.Status; import org.json.JSONArray; import org.json.JSONException; import...
29.810606
109
0.629987
10c7f0dd5a4fba0ee6b0f2f93ff06ebeeba6ce36
1,135
package com.autentia.tutoriales.reservas.teatro.infra.repository.inmemory; import com.autentia.tutoriales.reservas.teatro.infra.Entity; import com.autentia.tutoriales.reservas.teatro.infra.repository.Repository; import java.util.List; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import ja...
27.682927
87
0.718062
2c5901de6e45cec82fdbbdcbfbbd8e45a93b0c51
4,244
/* * Copyright (c) 2021, 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...
49.929412
119
0.72361
ae5dc93250e4b1615446811c830005f907e2bb72
4,344
package controllers; import is.rufan.team.domain.Team; import is.rufan.team.service.TeamService; import is.rufan.user.domain.User; import is.rufan.user.domain.UserRegistration; import is.rufan.user.service.UserService; import javassist.NotFoundException; import org.springframework.context.ApplicationContext; import o...
40.981132
119
0.653775
217953f78ac6fc396d9912aea2ca6f10312f2fc0
7,151
/* * 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 applicab...
41.575581
99
0.746749
990cd8dbcbec5f7e8f28ca5c11f7768f95890bf7
4,664
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
30.48366
124
0.649443
2796c2f28a2925c0b2483f470309c503b5c82a3d
1,361
package frc.robot.util; import com.ctre.phoenix.motorcontrol.can.BaseTalon; import static com.ctre.phoenix.motorcontrol.StatusFrameEnhanced.*; /** * Contains convenience methods to set the CAN status frame frequencies * of Talon motor controllers. * * <p> * Credit to team 4414 for most of this code */ public c...
34.025
71
0.733284
67c6711559ceeb86b69aa39d4bad2b5cd6e4e030
3,131
/** * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Unpublished - rights reserved under the Copyright Laws of the United States. * Copyright (C) 2003 Sun Microsystems, Inc. All rights reserved. * Copyright (C) 2005 BEA Systems, Inc. All rights reserved. * * Use is subject to licen...
17.49162
81
0.607154
5b3fe804e0c660ec68b84ffd2edc9804240f896a
883
package br.com.zup.casadocodigo.controller.form; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import br.com.zup.casadocodigo.modelo.Autor; import br.com.zup.casadocodigo.validacao.UniqueValue; public class AutorForm { @NotBlank ...
20.534884
95
0.745187
922ab083df0ca7f89ec97bfc9f58e7a3185c21f6
4,289
package jeffaschenk.orientdb.schema; import jeffaschenk.orientdb.annotations.ODBGraphObject; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * SchemaEntity * Represents a Schema Definition Object. * * @author jeffaschenk@gmail.com on 4/4/16. */ public class...
26.312883
85
0.64374
9adf103b053116ca303d2e9420788f6d750b7279
1,539
package io.github.stickacupcakeinmyeye.harmonycraft.particle.particles; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.particle.*; import net.minecraft.client.world.ClientWorld; import net.minecraft.particle.DefaultParticleType; public class ZapParticle extends Sprit...
30.176471
175
0.780377
5341ded4da25530f13d20916e1eb8a8a7357f9dd
33,670
package org.freedesktop.dbus.test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertIterableEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter....
42.298995
144
0.662548
1e18f3d6b6990f6e0cbdd03971735be7e2b45b85
285
package com.netease.nim.uikit; import java.util.Set; /** * Created by hzchenkang on 2017/4/5. */ public interface OnlineStateChangeListener { /** * 通知在线状态事件变化 * @param account 在线状态事件发生变化的账号 */ void onlineStateChange(Set<String> account); }
16.764706
49
0.635088
7e6efdca05105b2029de849adb7ca7cc3d5c323b
12,639
package com.wz.emptyframe.util.file; import com.jcraft.jsch.*; import com.wz.emptyframe.entity.system.FileInfo; import com.wz.emptyframe.util.common.UUIDUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.Multi...
34.345109
117
0.556531
f7316de5739f2c0c6335c6354de6f77fbb333374
8,344
/* * Copyright 2020 Fraunhofer Institute for Software and Systems Engineering * * 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 * * Un...
39.358491
100
0.611098
7f6c562e95b315ca7af660dac010b2d93cc4ea36
1,453
package com.centurylink.mdw.tests.code; import com.centurylink.mdw.dataaccess.task.MdwTaskRefData; import com.centurylink.mdw.model.task.TaskCategory; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Custom TaskRefData implementation. */ public class MyTaskRefData extends MdwTaskRefDa...
33.022727
99
0.688231
9af1d3fc8bf355d3753d1364ac86dc2b73589707
2,643
package com.lotime.netty.server; import com.alibaba.fastjson.JSON; import com.lotime.netty.handle.PacketHandle; import com.lotime.netty.packet.*; import com.lotime.netty.util.LoginUtil; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; ...
41.296875
115
0.665153
736bc9522bee1458a0453ddc054d849dc484fdbf
151
package test.remote; public class Remote6_5_Test extends RemoteTest { @Override protected String getTestNGVersion() { return "6.5.1"; } }
13.727273
48
0.708609
50a4eb86ba7585fe94a19df7c2cbe378a1e8904e
870
package de.domisum.lib.auxiliumspigot.data.structure.pds; import de.domisum.lib.auxilium.util.java.annotations.API; import de.domisum.lib.auxiliumspigot.AuxiliumSpigotLib; import org.bukkit.entity.Player; import java.util.ArrayList; import java.util.Arrays; @API public class PlayerList extends ArrayList<Player> impl...
19.333333
87
0.75977
2b97aa24658e02fd10e33a322af618cb726b83ca
575
package com.igormaznitsa.jcp.it.maven; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class TestMain { @Test public void testMain(){ //$MainTwo obj = new MainTwo(); //#- Main obj = new Main(); //#+ assertEquals("some_custom_property", o...
23
91
0.61913
ba720a30ae0cfe366e25ad51c6fa0cf7ce9b9718
704
package com.google.cloud.datafusion.plugin.sap.odata.source.exception.proto; import java.util.List; /** * This {@code InnerErrorDetail} class contains SAP S4/Hana 1909 inner error details which is mapped by * 'innererror.errordetails' * Sample: * [ * { * "code":"/IWBEP/CM_TEA/002", * "message":"'TEAM...
23.466667
103
0.690341
16ff10d02e7c5e732d0b92aeb236a4ea1f40eba4
4,684
package org.firstinspires.ftc.teamcode.Testing; import android.graphics.Color; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import org.firstinspires.ftc.teamcode.AutonomousOpModesBase; import org.firstinspires.ftc.teamcode.Components.RevInputs; @Autonomous(name="Test Sensors", group="1") //@Disabled p...
44.609524
240
0.573655