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
866181448e04b73eef55d7f662e23ab8d9e0fc1c
224
package com.github.dstaflund.geomemorial.ui.activity.about; import android.os.Bundle; import android.support.annotation.Nullable; public interface AboutActivityPresenter { void onCreate(@Nullable Bundle savedState); }
24.888889
59
0.816964
eb8bbbb619dbd4bf978f80e584e02216af96829b
9,504
/******************************************************************************* * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
34.434783
127
0.736216
4161b4d5d20f9701b390574ad222e4f678e2126e
449
package br.com.flaviogf.decorator; public class QuackCounter implements Quackable { private static Integer numberOfQuacks = 0; private final Quackable quackable; public QuackCounter(Quackable quackable) { this.quackable = quackable; } @Override public void quack() { quackable....
21.380952
48
0.670379
36a38cace5deeb6af4686fb268959c779fd8a252
732
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/storage/v1/storage_resources.proto package com.google.storage.v1; public interface ServiceAccountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.storage.v1.ServiceAccount) com.google.protobuf.MessageOrBuilder ...
24.4
83
0.678962
8ef6771d215369277297e42e49a2a7fae361478f
522
package com.ubiqlog.utils; public class SensorState { public static enum Bluetooth { NONE("none"), BONDING("bonding"), BONDED("bonded"); private String state; Bluetooth(String state) { this.state = state; } public String getState() { return state; } } public static enum Movement...
14.108108
31
0.613027
de6b690d91bbdd7f94ec218a8fe949e17365589e
535
package org.team4909.bionicframework.subsystems.drive.commands; import org.team4909.bionicframework.interfaces.Commandable; import org.team4909.bionicframework.subsystems.drive.BionicDrive; public class InvertDriveDirection extends Commandable { private final DriveOI driveOI; public InvertDriveDirection(Bion...
25.47619
65
0.760748
a38d665e41f9544d84f62c362aaae3ce9144e034
2,201
package com.ncme.springboot.configuration; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.google.common.base.Predicates...
31.898551
101
0.684689
b86042538cb3861aadb22735b5c148d5c08df52d
1,742
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
32.867925
89
0.713548
4d30b4d84503dbabd4612cb99f632dc77e645c42
2,178
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.server.journal.xmlhelpers; import javax.xml.namespace.QName; import javax.xml.stream....
32.507463
80
0.676309
5df2087d381fd65ef147c571b7a291df232dc403
1,369
package us.tlatoani.tablisknu.blueprint; import us.tlatoani.tablisknu.skin.retrieval.SkinFormat; import java.awt.image.BufferedImage; public class FaceBlueprint extends Blueprint { public final Part part; public final boolean isSecondLayer; public final Face face; FaceBlueprint(BufferedImage buffere...
32.595238
143
0.625274
4c95003943c673261355f702412682e4f53997c4
733
package io.cygnus.restful.client; import java.util.List; import io.cygnus.repository.entity.OrderEntity; import io.cygnus.restful.client.base.BaseApiClient; import io.cygnus.restful.client.base.PathParam; public class OrderApiClient extends BaseApiClient { private String orderUri = "/order"; private String order...
29.32
101
0.785812
2fdf2a9a5242a01ea1526f50f69eb6bf346f0b66
1,229
package kandrm.JLatVis.guiConnect.settings.logical; import kandrm.JLatVis.lattice.editing.history.HistoryEventTagLogical; import kandrm.JLatVis.lattice.editing.history.IHistoryEventListener; import kandrm.JLatVis.lattice.logical.Tag; /** * * @author Michal Kandr */ public class TagModel { private Tag tag = nul...
22.345455
113
0.599675
10d950c7e49e772bdc98459bf3f0732b03bdaed2
7,229
package com.google.firebase.components; import androidx.annotation.GuardedBy; import com.google.android.gms.common.internal.Preconditions; import com.google.firebase.events.Event; import com.google.firebase.events.EventHandler; import com.google.firebase.events.Publisher; import com.google.firebase.events.Subsc...
46.339744
226
0.609075
e3d444ba02127a500181dbfc619286eceefb2655
3,697
package com.example.yijinkang.pantryapp; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; /** * Handles the creation and deletion of the database * Call getReadableDatabase() or getWritableDatabase() on an instan...
40.184783
153
0.62429
4be5063c934e6464a6df0758dd7b21d36aada4c3
10,952
/** * Copyright (C) 2013-2016 The Rythm Engine project * for LICENSE and other details see: * https://github.com/rythmengine/rythmengine */ package org.rythmengine.sandbox; import org.rythmengine.RythmEngine; import org.rythmengine.Sandbox; import org.rythmengine.conf.RythmConfiguration; import org.rythmengine.con...
31.202279
187
0.595051
c4582e6d8e62a27fcbd8ece5128badd9f06287d8
1,730
package cn.jerry.android.jeepcamera.gallery; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; import cn.jerry.android.jeepcamera.R; import cn.jerry.android.jeepcamera.util.Uti...
28.833333
95
0.686705
d735695d1b2a61a03186b26a54cd263f66c2e121
654
package io.xol.dop.game.client.fx; //(c) 2014 XolioWare Interactive import io.xol.dop.game.client.renderer.NumbersRenderer; import io.xol.dop.game.units.Unit; public class FXDamage extends FXBase{ int x = 0; int y = 0; int timeLeft = 60; int pv; public FXDamage(Unit unit, int pv) { this.x = unit.posX*32;...
20.4375
89
0.678899
960dc09700ee3781acee5ec1bdeccb8df6f5c10c
2,763
package io.ragnarok.shield; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; /** * Performs simple logistic regression. */ public class Logistic { /** the learning rate */ private double rate; ...
28.193878
106
0.513572
e4e74365f9c7a48b8e8bf5a034b49d59b2779d2b
1,742
package com.spring.mybank.user.controller; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.CrossOrigin; ...
34.156863
106
0.755454
0c54b1dddf9d0decb958b506eb289a5533b4964a
13,473
package org.firstinspires.ftc.teamcode.hardware.Dummy; import android.util.Log; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.robotcore.external.ClassFactory; import org.firstinspires.ftc.robotcore.external.hardware.camera.WebcamName; import org.firstinspires.ftc.robotcore.external.nav...
49.171533
429
0.585245
b3edaab5d6cb88b475e9523a2ab6204c652d6250
1,144
package com.jiakaiyang.java.puncher.core; import com.jiakaiyang.java.puncher.utils.OutputUtils; /** * 负责把时间以某种指定的方式输出给用户 */ public class Outputer { private TimeManager timeManager = TimeManager.getInstance(); public Outputer(){ } /** * 输出指定的时间点到控制台,输出格式是毫秒的格式 * @param name */ ...
23.833333
71
0.675699
4c514eced54a807aa9f52cc7816656f2b4c1174e
61,965
// *************************************************************************************************************************** // * 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 regar...
34.949239
186
0.601162
e8cf5e17eb72f5df481e7f8402772a62f1c7474b
25,212
package at.tuwien.service; import at.tuwien.api.database.query.ExecuteQueryDto; import at.tuwien.api.database.query.QueryDto; import at.tuwien.api.database.query.QueryResultDto; import at.tuwien.api.database.table.TableDto; import at.tuwien.entities.database.Database; import at.tuwien.entities.database.query.Query; im...
43.770833
138
0.614628
0c8483364762290ab4276850c3e3f42d7b44df8b
6,494
package org.xms.g.tasks; /** * Creates a new CancellationToken or cancels one that has already created.<br/> * Combination of com.huawei.hmf.tasks.CancellationTokenSource and com.google.android.gms.tasks.CancellationTokenSource.<br/> * com.huawei.hmf.tasks.CancellationTokenSource: Creates CancellationToken.<br/> *...
72.966292
408
0.733138
cdbaec8735f9220a692b0f9a756e946e7a704f36
2,299
/* * Copyright (c) 2008-2019 Haulmont. * * 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 agr...
30.653333
114
0.683341
6bcacf3d7f878b6ef7ffe5df6ff4e2111d803de1
1,083
package se.alipsa.r2jdbc.columns; import org.renjin.sexp.AtomicVector; import org.renjin.sexp.StringArrayVector; import org.renjin.sexp.StringVector; import java.sql.ResultSet; import java.sql.SQLException; public class StringColumnBuilder implements ColumnBuilder { private StringArrayVector.Builder vector ...
33.84375
117
0.701754
2be48cd52b7035e4595cfb13e4a3f94871ea7ee8
6,326
package io.jenkins.plugins.monitoring; import com.google.common.collect.ImmutableSet; import edu.umd.cs.findbugs.annotations.NonNull; import hudson.Extension; import hudson.model.Run; import hudson.model.TaskListener; import io.jenkins.plugins.monitoring.util.PortletService; import io.jenkins.plugins.monitoring.util.P...
35.144444
128
0.599431
c12090843386af9f0adf7ac1aa3634cc0994ef23
1,039
package es.upm.miw.apaw_ep_themes.api_controllers; import es.upm.miw.apaw_ep_themes.business_controllers.ArtistBusinessController; import es.upm.miw.apaw_ep_themes.dtos.ArtistDto; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.sprin...
34.633333
79
0.810395
20be5d6f3ab5e9d8715be693cc25fd4ea416f1df
4,258
/*-----------------------------------------------------------------------+ | org.conqat.engine.index.incubator | | $Id: CLikeConditionHeuristicTest.java 51565 2015-01-20 13:00:50Z streitel $ | ...
40.169811
90
0.561531
479597d94b454fa738ac995810364e8bbb3b3f13
1,115
package example.indices; import crawler.graph.DefaultNode; import crawler.graph.DirectedGraph; import system.consumer.GraphConsumerInterface; import java.util.ArrayList; import java.util.List; /** * Created by Fabi on 06.03.2015. */ public class LanguageConsumer implements GraphConsumerInterface<Defaul...
27.195122
88
0.591031
b1e8812d061a66340080b0e9c82cfb0519c50224
1,135
package civitas; import java.util.ArrayList; public class SorpresaSalirCarcel extends Sorpresa{ private MazoSorpresa mazo; SorpresaSalirCarcel(MazoSorpresa _mazo){ super("Quedas libre de la carcel"); mazo = _mazo; } @Override public void aplicarAJugador(int actual, Ar...
25.222222
83
0.557709
54fb93c1f4577521dd86e3376beb8db77aebf107
2,963
package services; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import util.StringUtil; import dao.CommonDAO; import dto.VocabularyDto; import enums.CourseType; public class VocabularyService { /** * Search Vocabulary ...
28.490385
74
0.674992
5e52c292a5a3fb93a1f32cf94f49b09182b489e6
8,352
/* * Copyright (c) 2009-2010 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this...
39.771429
176
0.656729
8c2e36532520e1129a6c9067a2961dd3e0842b38
2,153
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
32.621212
106
0.605202
8a680ccf76469d24771936f496d1b06a24485d97
2,459
/* * Copyright 2018. AppDynamics LLC and its affiliates. * All Rights Reserved. * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * The copyright notice above does not evidence any actual or intended publication of such source code. * */ package com.appdynamics.extensio...
27.629213
108
0.643758
7d3a2a59a12388f69e3636a9f7de0ae50ae79699
1,805
package com.yishuifengxiao.common.crawler.cache; import org.apache.commons.lang3.StringUtils; import org.springframework.data.redis.core.BoundSetOperations; import org.springframework.data.redis.core.RedisTemplate; import java.util.concurrent.TimeUnit; /** * 基于redis实现的资源缓存器 * * @author yishui * @version 1.0.0 *...
26.940299
92
0.697507
006361f4f1e2ad82b6628d8ede9dd90be9f831ba
5,265
/** * Copyright 2018 Matt Farmer (github.com/farmdawgnation) * * 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 ...
36.818182
116
0.726876
88167fc5f2cf1d24417c0109c8c429ae64f126dd
1,457
package org.vaadin.erik; import com.vaadin.flow.component.AttachEvent; import com.vaadin.flow.component.ComponentEventListener; import com.vaadin.flow.component.UI; import com.vaadin.flow.component.login.AbstractLogin; import com.vaadin.flow.component.login.LoginForm; import com.vaadin.flow.component.orderedlayout.Ver...
28.568627
85
0.693205
46796490496e09fabccb3913c40cb39dedba32d9
3,183
package brickhouse.udf.counter; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.apache.hadoop.hive.ql.exec.Description; import org.apache.hadoop.hive.ql.exec.UDF; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.mapred.Reporter; import o...
35.366667
188
0.732014
e4f26ef41025ed814bbd9891391cf9c08af187c8
2,034
/******************************************************************************* * Copyright 2019 Markus Gronau * * This file is part of PowerFlowAnalyzer. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
46.227273
82
0.70649
97f8a7a78c9ed63de10f9171526c41640345ae92
49,565
/* * Copyright 2011 by Graz University of Technology, Austria * MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint * initiative of the Federal Chancellery Austria and Graz University of Technology. * * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by * the Europ...
44.096975
319
0.615636
10e2e9b6536a7d6a9a152f87ae2563d4fc110c57
1,527
package com.pon.ents.base.functional; import java.util.function.Consumer; import java.util.function.Predicate; public abstract class MorePredicates { /** * Returns a {@link Predicate} that accepts instances of the given {@link Class}. */ public static <T> Predicate<T> isInstanceOf(Class<?...
33.933333
121
0.595285
61414113e6097a49ddaa5ad46ecf4160e1a88d5d
7,050
package com.yikekong.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.myb...
35.606061
133
0.618298
aff988b906b2598294b4db3d2b1015930648f6df
1,731
/******************************************************************************* * Copyright (c) 2019 Black Rook Software * This program and the accompanying materials are made available under * the terms of the MIT License, which accompanies this distribution. *****************************************************...
23.391892
80
0.597343
14f9f53ae54b069106f55485df43ff99ce5ed4cd
2,104
package org.bndly.rest.swagger.impl; /*- * #%L * REST Swagger Integration * %% * Copyright (C) 2013 - 2020 Cybercon GmbH * %% * 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 * * ...
31.878788
87
0.770437
aadf10a48c9671ff2aeb08a76140e96bc3679ef1
902
package io.moj.java.sdk.model.response; import java.util.Map; /** * Model object for a response that only contains a message string. The Mojio API usually returns this for DELETE * operations or error scenarios. * Created by skidson on 2016-04-13. */ public class MessageResponse { private String Message; ...
23.128205
113
0.613082
817edfc1850bebae01d5bfc15bd4033d54f07b20
91
package p04_Telephony; public interface Browse { public String browse(String site); }
15.166667
38
0.758242
52051dead7f87b43b52df257e418052c06582706
1,081
/** * Copyright (c) Seamless Payments, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.seamlesspay.api.models; import android.os.Parcel; import android.os.Parcelable; import org.json.JSONException; import org.json.J...
22.520833
91
0.724329
55eae808f855257fcc5c94cbfa1cb17cb9fb12f2
479
package io.github.goldmensch.jall.transformer; /** * The transformer will be used to transform a {@link String} from the localizer to the needed * format * * @param <T> The output format */ @FunctionalInterface public interface Transformer<T> { /** * Transforms a {@link String} to the needed format * ...
23.95
94
0.703549
09ad364dae5fe8dfb7d1fd6dc09badd7c17d3418
19,112
/************************************************************** Copyright 2015 Anan Sriram 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.895753
199
0.473786
81c18d37260f3b78c7bb64e1b67710d68d6bb347
7,402
/* * Copyright (C) 2009 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...
26.625899
75
0.679141
86623cecadc0d0f2d25f778a5bdadf64202946e3
119
package ro.ase.cts_lab; public class Hi { public static void main (String[] args) { System.out.println("Hi"); } }
13.222222
41
0.672269
1a81c00039a075dcb0f6462d2aed68fa8eee9678
720
package com.example.hy.wanandroid.di.component.fragment; import com.example.hy.wanandroid.di.module.fragment.HierarchyFragmentModule; import com.example.hy.wanandroid.di.module.fragment.HierarchySecondFragmentModule; import com.example.hy.wanandroid.di.scope.PerFragment; import com.example.hy.wanandroid.view.hierarchy...
36
82
0.844444
aa318a77fdd5fa8856e71966204b9fe0857b6b9c
616
package ru.job4j.list; /** * @author Sir-Hedgehog (mailto:quaresma_08@mail.ru) * @version $Id$ * @since 04.03.2019 */ public class SimpleQueue<T> { private SimpleStack<T> one; private SimpleStack<T> two; public SimpleQueue(SimpleStack<T> one, SimpleStack<T> two) { this.one = one; this...
19.870968
64
0.540584
88708107d8266da0c386820f100283274c00bcf8
5,525
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.databoxedge.v2019_08_01; import com.microsoft.az...
33.484848
157
0.641267
a95968c28533a3fba640d73ce8242f9026defd25
12,308
package com.eurekakids.euraka1; /** * Created by Kirubanand on 12/09/2015. */ import android.app.Fragment; import android.content.Intent; import android.support.design.widget.NavigationView; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7....
42.736111
161
0.613178
41b2488152c3cd33edf41295395b7b675c3b987b
1,957
// Copyright 2019 The Bazel 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 appl...
38.372549
95
0.770567
cd016660dae0894b42c7b5c848c429bbf6779457
1,162
package EmojiMod.patches.com.megacrit.cardcrawl.core.CardCrawlGame; import EmojiMod.EmojiMod; import com.evacipated.cardcrawl.modthespire.lib.*; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.core.Settings; import com.megacrit.cardcrawl.localization.LocalizedStrings; import javassist.C...
37.483871
99
0.744406
efb032cf6dfa3bb40e5234dd8416fb47a0c1b61f
3,462
package com.xplusj.operator; import org.junit.Test; import java.util.Objects; import java.util.function.Function; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; public class OperatorDefinitionTest { @Test public void testDefinition(){ OperatorType type ...
38.898876
148
0.728192
04a1136f6d0d83e513eb0a5347c5405d5f1b4180
3,835
package uo.ri.model; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import uo.ri.model.type...
21.914286
89
0.628162
008409890c281589f06fde86247291b1b0b12109
2,388
package com.cerner.beadledom.jaxrs.provider; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import java.util.List; /** * Basic model used for testing simple cases. */ @JsonInclude(JsonInclude.Inclu...
20.237288
95
0.659548
a08f96739af95c6382e4ff27def025f1ec4ae6c8
4,004
package com.ybj.myshopping.fragment; import android.support.design.widget.FloatingActionButton; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextV...
29.014493
164
0.652348
d81a0817abba59ee0b33eff19c2f4b223f6d9787
1,100
package com.trains.fixtures; import com.trains.graph.Graph; import com.trains.graph.Vertex; import com.trains.graph.allpaths.AllPaths; import java.util.Arrays; import java.util.Collections; import java.util.List; public class AllPathsFixture { private final AllPaths allPaths; public AllPathsFixture(AllPath...
31.428571
99
0.716364
c5822da5aff7cfaa417b11f87d73d7257866a7fd
1,502
package com.mateuszkoslacz.moviper.rxsample.viper.view.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.mateuszkoslacz.moviper.rxsample.R; import com.mateuszkoslacz.moviper.rxsample.viper.entity.User; import...
28.339623
80
0.728362
d754ca83db7e07241aa50ee27fe3e0ed4958d5ac
2,678
/* * MIT License * * Copyright (c) 2021 Solid * * 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, me...
33.475
84
0.698282
2c95f23cafa8819ceacca871398663ee03d7b544
501
package net.hollowbit.archipeloserver.tools.entity; import net.hollowbit.archipeloserver.entity.Entity; public class EntityStepOnData { public String theirCollisionRectName; public String yourCollisionRectName; public Entity entity; public EntityStepOnData (String theirCollisionRectName, String your...
29.470588
104
0.800399
c9233fd3206e009cda7702251f789c92ca778473
3,134
package common.model.ads; import java.io.Serializable; /** * @author Maycon Viana Bordin <mayconbordin@gmail.com> */ public class AdEvent implements Serializable { private static final long serialVersionUID = 2107785080405113092L; private Type type; private String displayUrl; private long queryId; ...
23.56391
321
0.616146
52b388a57c7c13ad8b207acdb5f8882c2d383672
555
package javaexercises2; /** * * @author velko */ public class _14_CalcAbs { /** * @param args the command line arguments */ public static void main(String[] args) { // "Simulacion" de entrada de varios numeros int[] numbers = {-1, 2, -9, -8, 9, 1, 3, -6}; // Manua...
23.125
82
0.527928
6fac0d27fcee617d0860f74da4d53ef5ef4a3884
515
package de.egga.mega_types.texts.email; import de.egga.mega_types.Value; import java.util.regex.Matcher; import java.util.regex.Pattern; public abstract class EmailAddress extends Value<String>{ public EmailAddress(String value) { super(value); } abstract Pattern getValidationPattern(); pu...
22.391304
69
0.679612
7ae029bf4fdf95469ad83160d2aa16224653c582
24,057
package com.licrafter.tagview; import android.animation.Animator; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.database.DataSetObserver; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import an...
32.553451
158
0.584362
2db7dc4282800c5db71e5b3f39b09fb30a7a72ed
371
package cn.ikidou.sample.okcallback; /** * Created by ikidou on 15-10-12. */ public class User { public String name; public int age; public Sex sex; @Override public String toString() { return "User{" + "name='" + name + '\'' + ", age=" + age + ...
18.55
40
0.450135
a9185df74bee9f67bda8b882adf6bb5326d99c19
4,027
package org.glob3.mobile.generated; // // TMSLayer.cpp // G3MiOSSDK // // Created by Eduardo de la Montaña on 05/03/13. // // // // TMSLayer.hpp // G3MiOSSDK // // Created by Eduardo de la Montaña on 05/03/13. // // public abstract class TMSLayer extends RasterLayer { private final...
33.558333
265
0.701266
d68018f4368779cf8f229156512054539383ae10
764
// // Copyright (c) FIRST and other WPILib contributors. // // Open Source Software; you can modify and/or share it under the terms of // // the WPILib BSD license file in the root directory of this project. // package frc.robot.subsystems; // import edu.wpi.first.wpilibj.XboxController; // import edu.wpi.first.wpili...
23.875
77
0.697644
1493e22f95da4617297a3032cc5d2b38c1404c0d
1,382
package app.eeui.framework.extend.integration.glide.load.resource; import android.content.Context; import androidx.annotation.NonNull; import app.eeui.framework.extend.integration.glide.load.Transformation; import app.eeui.framework.extend.integration.glide.load.engine.Resource; import java.security.MessageDiges...
30.043478
88
0.717077
8e5149c99d80c391b5cc2ce3681cc1f7d7dc4743
752
package Node; public class SnapshotInfo { private int sentMessages; private int processedMessages; private int snapshotNumber; public SnapshotInfo() { this.sentMessages = 0; this.processedMessages = 0; this.snapshotNumber = 0; } public int getSentMessages() { r...
19.789474
46
0.635638
ac834dcbcee11a9a1dff207fffbad67ffd6fd632
3,121
// // JSON.java // // AndroidJSCore project // https://github.com/ericwlange/AndroidJSCore/ // // LiquidPlayer project // https://github.com/LiquidPlayer // // Created by Eric Lange // /* Copyright (c) 2014-2016 Eric Lange. All rights reserved. Redistribution and use in source and binary forms, with or without modi...
36.717647
86
0.708747
6d6f2d0e37745cfab93ec8e253756107d0b5b4a2
7,684
/* * (C) Copyright 2005-2021, by Christian Soltenborn and Contributors. * * JGraphT : a free Java graph-theory library * * See the CONTRIBUTORS.md file distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under ...
28.996226
100
0.572749
3d77e891e57e6cb7ebd74c00fb71a31bf55a3569
12,653
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unle...
37.770149
115
0.618351
58783db1170c78e14b186f963775fd85c644bde0
1,023
package com.example.controlmoneyapi.service; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.stereotype.Service; import com.example.controlmoneyapi.model.Pessoa; import ...
34.1
63
0.811339
1bdb2c68aaaae776d5a07d36996ffc22180b88e4
3,726
package com.synopsys.integration.alert.api.channel.issue.callback; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.List; import java.util.Optional; import org.junit.jupiter.api.Test; import com.synopsys.integration.alert.api.ch...
59.142857
152
0.794686
ede055fafa8d8ddf350e675c0fc2f20b7bc64b7e
1,671
package com.sap.persistenceservice.refapp.controller; import com.fasterxml.jackson.databind.node.ArrayNode; import com.sap.persistenceservice.refapp.service.ConnectionPoolManager; import com.sap.persistenceservice.refapp.service.PreprocessingSubscriberService; import io.swagger.v3.oas.annotations.Operation; import io....
40.756098
103
0.813884
427352a81c2a9c01f8f2e52f95f9a0708da9108e
2,477
package br.skylight.commons; import java.util.logging.Logger; import br.skylight.commons.dli.annotations.MessageField; import br.skylight.commons.dli.services.Message; import br.skylight.commons.dli.services.MessageType; public class MessageFieldDef { private static final Logger logger = Logger.getLogger...
23.817308
89
0.670569
ec5f483f32fee33fd2d37711a235a50b8b884d1b
309
/******************************************************* * Copyright 2018 jpcode * contact http://www.jpcode.net/ * * --- stfx * ********************************************************/ package net.jpcode.stfx.aop; /** * 操作类别 * @author billyzh * */ public enum OpCategory { NONE, SYSTEM }
14.045455
58
0.375405
0173daca1f087acc9625dedd585004a00d13a442
2,278
/* * Copyright 2016 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/licenses/LICENSE-2.0 * * Unless required by app...
25.595506
75
0.620281
a34d457453a3efad37b5d3b013cd157ca4d68bfe
3,713
/* * JBoss, Home of Professional Open Source. * Copyright 2014, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
37.505051
125
0.666038
c1f70e74bf2bb99c592735529c8805da7bff301b
454
package es.unican.istr.sanchezbp.teaching.enterpriseSystems.iod; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; public class OrderHandler { @Autowired protected NotificationSender sender;...
22.7
64
0.797357
f6d77b89557f98c9fba3743aff2bf0f33a8b1414
3,120
package it.multicoredev.mclib.db; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBUtils { /** * Closes the ResultSet, the Statement and the Connection. * * @param result CompositeResult with ResultSet, Statement and Con...
26.896552
99
0.484295
c9f786e83084fc0bbe10c7d7e2bf9bdd084aef32
217
package ru.job4j; import ru.job4j.common.NamedArgs; import java.io.IOException; import java.util.Collection; public interface Search<T> { Collection<T> findFiles(final NamedArgs params) throws IOException; }
16.692308
71
0.774194
4cf5e8e788136b93d386340c28589125a2b39ac6
3,136
/* Copyright 2017 Ping Identity Corporation 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, ...
42.378378
115
0.772321
ea24a9c7119781fea910416707939d77d395a517
98
package ca.rcherara.services.vehicle.model; public enum Model{ SEDAN, SUV, SPORTS, MINIVAN; }
19.6
43
0.744898
ae958f1d55d40ccf3a427d74dd98be6756eee6d9
2,828
package dao.entities; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.One...
23.566667
81
0.694837
a902b37a7788e30af25f873e0ba748ed1666a230
3,546
/* * Mastercard Loyalty Connect Service * Connecting payment and retail loyalty into a single checkout experience * * The version of the OpenAPI document: 2.2.1 * Contact: apisupport@mastercard.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-ge...
19.921348
92
0.603215
a3be5eaad9790d92ca1fd8a87901d6950480c5d2
4,443
/* * _______ _____ _____ _____ * |__ __| | __ \ / ____| __ \ * | | __ _ _ __ ___ ___ ___| | | | (___ | |__) | * | |/ _` | '__/ __|/ _ \/ __| | | |\___ \| ___/ * | | (_| | | \__ \ (_) \__ \ |__| |____) | | * |_|\__,_|_| ...
37.336134
80
0.651587
33093d4aff4e298d6dc1e61d3d8b88fa66a800ae
352
/* * Copyright (c) 2018 Practice Insight Pty Ltd. All Rights Reserved. */ package io.wisetime.connector.template; /** * @author shane.xie@practiceinsight.io */ public class TemplateProcessingException extends RuntimeException { public TemplateProcessingException(final String message, final Throwable cause) { ...
22
83
0.752841
2e55e53496110021dc495be715deb9e918a47616
6,268
/* * The MIT License (MIT) * <p/> * Copyright (c) 2016-2017 Bertrand Martel * <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...
38.931677
118
0.574346
c88145432a06ffd1e5c6dffb6a3d4383d017efa3
592
package ch.imetrica.mdfa.series; import lombok.Data; import lombok.Getter; import lombok.ToString; /** * The time series entry with generic value V and * a string as the timeStamp which is typically in the form * of a standard DataTimeFormatter, for example * "yyyy-MM-dd HH:mm:ss" * "dd-MM-yyyy" * * @author ...
19.733333
59
0.721284
758f94200878b1ddd860eb9d7102c3ac55a9350b
311
import java.util.function.UnaryOperator; public class Recursion { public static final UnaryOperator<Integer> count = x -> x == 0 ? 0 : x + Recursion.count.apply(x - 1); public static void main(String[] args) { for (int i = 0;; i++) { System.out.println(i + ": " + count.apply(i)); } } }
20.733333
52
0.610932
7a87d346d28dbdada704ee3083aed8a90a656b7c
65
// Printer Methods static void pn(Object o) { out.print(o); }
16.25
26
0.646154
a90ef7fc38fc2e715c426ccdb54a8fbb72dd1294
414
package davenkin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cache.annotation.EnableCaching; /** * Created by yteng on 4/3/17. */ @SpringBootApplication @EnableCaching public class Application { public stat...
21.789474
68
0.772947
e4e605b940797da655df40f5a3d48ec1ec4fefc4
1,971
package com.liang.leetcode.daily.history; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * 三数之和 * * @author LiaNg * @date 2020/6/12 10:33 */ public class L15 { public static void main(String[] args) { L15 l15 = new L15(); int[] nums = new int[]{-2, 0, 1, 1, 2...
25.269231
90
0.404363