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
0f1bad8845fc45936379cc9167f71574a9856dc2
3,106
/* * Copyright 2007 The Depan Project Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
25.048387
80
0.724082
e98bb96bbed4fa5c73f4f749f3bca5f3242f3898
2,230
/* * 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 emit.ipcv.engines.interfaces; /** * * @author rinelfi */ public abstract class NonLinearLocalTransformation { protected ...
33.787879
79
0.635426
93189dc220c282d01b16345007288cd5d470de24
761
package ticTacToe; import java.util.Random; import java.util.function.Predicate; /** * @author Georgiy Korneev (kgeorgiy@kgeorgiy.info) */ public class RandomPlayer implements Player { private final Random random; public RandomPlayer(final Random random) { this.random = random; } public Ra...
22.382353
101
0.582129
43df5bfce26366552838c96b508a6be146baf0bc
3,891
package de.httptandooripalace.restaurantorderprinter; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.FloatingActionButton; import android.support.v7.widget.DefaultItemAnimator; import android.supp...
29.255639
82
0.675148
878036dee3cb3cd55a2874c0bd81313d82364bfa
1,469
/* * Copyright Siemens AG, 2014-2015. Part of the SW360 Portal Project. * * SPDX-License-Identifier: EPL-1.0 * * 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, and is available at * h...
33.386364
107
0.748809
b037dedbad456d66427f45bea78ee0b2f968e321
93
package com.moesrc.socketio; public interface AckRequest { void send(Object... args); }
15.5
30
0.72043
52ed45b9d944b37a2d77f37735efd36d2f6c6eab
2,289
package com.timeline.api.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.timeline.api.entity.CommentEntity; import com.timeline.api.entity.UserEntity; import com.timeline.api.forresponse.CommentResponse; import c...
28.6125
81
0.773263
5275547be48fda357555dc0517495d47a69999b1
5,252
package io.mateu.erp.model.invoicing; import io.mateu.erp.model.authentication.ERPUser; import io.mateu.erp.model.config.AppConfig; import io.mateu.erp.model.partners.Agency; import io.mateu.mdd.core.MDD; import io.mateu.mdd.core.annotations.IFrame; import io.mateu.mdd.core.annotations.Ignored; import io.mateu.mdd.co...
32.825
215
0.637852
59e9713d22ab865fb17f45bcfd33148160f6c5e6
1,654
/* * © Copyright IBM Corp. 2012 * * 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 ...
26.677419
88
0.709794
c83139e9d68eee2dea71d95ea1677e5214d6ff86
11,347
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package io.v.v23.vdl; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; impor...
31.432133
100
0.542787
9dc1ac5562fdc3ddc348787a056bc70b157bcd5c
1,794
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
31.473684
87
0.761984
11696639f5d1aef25d2e9df6dc22cb3a50f9a84d
2,011
package com.newsapp.android.ViewPageTitle; import android.annotation.SuppressLint; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.view.LayoutInflater; ...
30.938462
132
0.73098
71cbf0a2e85038843c4861439f5ba988f7dba65d
61,371
// 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 android.support.v7.view; import android.app.Activity; import android.content.Context; import android.content.ContextWrapper; import android.conten...
42.856844
295
0.584608
91210d343873762dc29f818aad2723fb93af4d31
5,164
package org.broadinstitute.ddp.db; import java.io.IOException; import java.util.HashMap; import java.util.Map; import com.typesafe.config.Config; import org.broadinstitute.ddp.TxnAwareBaseTest; import org.broadinstitute.ddp.constants.ConfigFile; import org.broadinstitute.ddp.exception.DDPException; import org.broadin...
41.98374
132
0.704686
e51c9304e2dec6a65090d5636d5d3495e0e83bd1
879
package io.eventuate.tram.consumer.kafka; import io.eventuate.messaging.kafka.consumer.MessageConsumerKafkaConfiguration; import io.eventuate.messaging.kafka.consumer.MessageConsumerKafkaImpl; import io.eventuate.tram.consumer.common.MessageConsumerImplementation; import io.eventuate.tram.consumer.common.TramConsumerC...
46.263158
117
0.875995
3c4f0e1b1f10ac3ecbd251166ef1929258300f42
83
package com.infoskillstechnology.sinetop.data.room; public class AppDatabase { }
13.833333
51
0.807229
424b3e48cbe3cafe33ac9b593bc160d33bac60e2
2,026
/* * 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 not ...
34.338983
100
0.755183
5a5a24e14bad0559f0cfc995ad8826e7902790eb
299
package org.library.result; public record Failure(Reason reason, String message) { public static Failure of(Reason reason, String message) { return new Failure(reason, message); } public enum Reason { CONFLICT, FORBIDDEN, NOT_FOUND, UNAUTHORIZED, USER_FAILURE } }
23
66
0.695652
aea7eebd38ad83de5e242029077b097807cfeefd
18,168
/* * $Id$ */ /* Copyright (c) 2000-2005 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
31.985915
79
0.679877
9f6b3429f968241e2939887dc69c402cc0bad659
7,430
/* TestBatteryProfile.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.test.profile; import org.deviceconnect.android.message.MessageUtils; import org.deviceconnect.android.profile.BatteryProfile...
33.61991
115
0.635935
98dcc5266575e8e3a2235a3cb743f3428ca63410
1,972
package no.nav.foreldrepenger.melding.dtomapper; import no.nav.foreldrepenger.fpsak.dto.behandling.BehandlingsresultatDto; import no.nav.foreldrepenger.fpsak.dto.kodeverk.KodeDto; import no.nav.foreldrepenger.melding.behandling.Behandlingsresultat; import no.nav.foreldrepenger.melding.behandling.KonsekvensForYtelsen; ...
46.952381
103
0.755578
437a020e72d11c292a6859d9d456c72fe92c32ce
510
package com.jspiders.ds.LinkedList; public class Mainmethod { public static void main(String[] args) { SingleLinkedList sl=new SingleLinkedList(1888); sl.insertLinkedList(10,5); sl.insertLinkedList(20,1); sl.insertLinkedList(30,2); sl.insertLinkedList(40,3...
22.173913
51
0.576471
9289bb7e7a25999e2b547829ee7ab66f8a830982
6,545
package com.builtbroken.mc.core.network.netty; import com.builtbroken.jlib.data.vector.IPos3D; import com.builtbroken.mc.api.IWorldPosition; import com.builtbroken.mc.core.Engine; import com.builtbroken.mc.core.network.packet.AbstractPacket; import com.builtbroken.mc.lib.mod.loadable.ILoadable; import cpw.mods.fml.com...
31.926829
146
0.674255
468da442c700216c94c9d97b78d71c07ccdef39b
1,461
/* * FILE: GridType * Copyright (c) 2015 - 2019 GeoSpark Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
20.013699
75
0.602327
e4b697c0bdc0c99d3c05d0e1efa43373dbb3ebd3
554
package stargarth.interpreter; import stargarth.parser.AbstractSyntaxTree; public class AstUtil { private AstUtil() { // TODO Auto-generated constructor stub } public static AbstractSyntaxTree createSimpleAst(String leftValue, String operator, String rightValue) { AbstractSyntaxTree ast = new AbstractSyntax...
26.380952
105
0.796029
a3d48f4e03bb1c998180a01dcd5b029328afb727
1,097
package tasks.quest1javasyntax.level2.task0219; public class Solution { /* Задача: Да хоть на Луну! - Амиго, ты знал, что сила тяжести на Луне составляет примерно 17% от силы тяжести на Земле? - Нет. - Вот и я не знал. А теперь этой информацией нужно пользоваться часто, и, чтобы не считать каждый раз, реал...
33.242424
146
0.742935
d851852b2a3f99b8dbe58726653ab03a9f2b4a4e
558
package com.dao; import java.util.ArrayList; import com.model.Food; import com.model.User; public interface FoodDAO { public boolean validateUser(User u); public String giveRole(User u); public boolean addUser(User u); public boolean removeUser(User u); public boolean updateUser(User u); public ...
24.26087
47
0.738351
0a99a6bf645d12a3d3dc1707af227268243e43ae
176
class Types { public char <caret>method(CharSequence v) { return v.charAt(0); } public void context() { String v = "child type"; char c = v.charAt(0); } }
16
45
0.590909
4d498a294c38d3d2913ef2d0dbab1240f2553606
979
package org.hzero.scheduler.infra.util; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.hzero.scheduler.infra.constant.HsdrConstant; /** * description * * @author shuangfei.z...
28.794118
124
0.71093
1655e235467d0ee1db074b4b191c3ee06f10959a
3,245
/* * Copyright 2006-2017 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 app...
34.157895
96
0.731279
0c3e36d70ed71ff35278a032d44bcefe3ab1b7a0
2,858
package frame.plugin.easyui; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import com.alibaba.fastjson.JSONObject; public class TreeJson implements Serializable { private static final long serialVersionUID = -3134720687910504403L; private String id; private String pid;...
21.488722
83
0.651155
35d843e2b7cd761c918ae942f0c056e90770b96d
1,714
package com.tool4us.common.task; import java.util.Map; import java.util.concurrent.ConcurrentSkipListMap; import com.tool4us.common.Logs; import lib.turbok.task.ITask; import lib.turbok.task.ITaskMonitor; import lib.turbok.task.TaskQueue; public enum JobQueue implements ITaskMonitor { JQ; private Tas...
18.835165
64
0.592765
a9bd6a7fc0dad3612bf03c4e636f1d29b03023ae
937
package jports.data; import jports.ShowStopper; public class TableRow { private final Table table; private Object[] values; public TableRow(Table table, Object... values) { this.table = table; this.values = values; } public Object get(int ordinal) { return ordinal < 0 || ordinal >= values.length ? n...
18.372549
57
0.643543
e0270aa5dca217d774cd1b66baa6a50725a0a929
1,173
package com.olair.ask_test.gps; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; import com.olair.ask.AskTask; /** * 这个类将用于获取定位信息 */ public abstract class AskLocation extends AskTask<LocationListener, Location> { private Location mLocation = null; prot...
20.946429
85
0.601876
28ba4053fd29c135345909bc402e40a713949295
3,571
package io.github.iamsomraj.inventory.dao; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.logging.FileHandler; import java.util.logging.Logger; import io.github.iamsomraj.inventory.database.DatabaseUtil;...
35.356436
109
0.693363
01653799ee124fb5516e02e94517fd4617c20f2a
420
package ar.edu.unq.cookitbackend.dto.request; import lombok.*; import java.util.List; @Getter @Setter @Builder @NoArgsConstructor @AllArgsConstructor public class RecipeDto { private int comensales; private String description; private int time; private String name; private String image_url; p...
23.333333
63
0.747619
71dd607fec34dc1b284cace4b859f86b49a0bb17
6,020
package org.ckan.client.localidata; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.Proto...
27.741935
206
0.730233
be9fc244605c84015f1ae2f1be5fb9599a7c9bdd
895
package com.github.sormuras.bach.internal; import java.lang.module.ModuleFinder; import java.lang.module.ModuleReference; import java.nio.file.Path; import java.util.List; import java.util.Optional; import java.util.Set; public record ModuleInfoFinder(List<ModuleInfoReference> references) implements ModuleFinder { ...
28.870968
94
0.740782
4932bfa2e0979792ea348f457f5c4ef804543904
1,166
// Part of SourceAFIS for Java: https://sourceafis.machinezoo.com/java package com.machinezoo.sourceafis.engine.images; import com.machinezoo.sourceafis.engine.configuration.*; /* * This decoder uses Android's Bitmap class to decode templates. * Note that Bitmap class will not work in unit tests. It only works insi...
34.294118
98
0.752144
366b827fa3ad07e0431dff79fcad206b44b2e981
953
/* * 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 by.creepid.docgeneration; import org.springframework.context.ApplicationContext; import org.springframework.context.Applicatio...
25.078947
79
0.734523
e2e8298521ea3f38de321daa1db25d9f07e8b7fe
1,348
package com.sportmonks.data.entity; import com.fasterxml.jackson.annotation.*; import java.util.HashMap; import java.util.Map; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({"total", "home", "away"}) public class TeamSeasonStatsRow { @JsonProperty("total") private Integer total; @JsonPro...
22.098361
85
0.652077
f12853262f14128e138e62366f389b36f720723d
1,175
package com.atjl.dbfront.domain.biz; import java.io.Serializable; public class ContentDomain implements Serializable{ private static final long serialVersionUID = 3807318977050002077L; private String cname; private String ctype; private String cversion; private String content; private S...
20.258621
68
0.605957
d1cc436614ad0b41883608e33f9fdd6efd666a55
3,517
package com.java.barcode; import com.dynamsoft.barcode.*; import com.google.zxing.BinaryBitmap; import com.google.zxing.MultiFormatReader; import com.google.zxing.NotFoundException; import com.google.zxing.RGBLuminanceSource; import com.google.zxing.Result; import com.google.zxing.common.HybridBinarizer; import com.go...
33.495238
106
0.552175
adb82b7da83bf474c572c91b2727a140975c3097
1,394
package io.github.thachillera.cardsscorekeeper.data.players; class Player { private final long id; private String name; //max 3 chars private String shortName; private boolean deleted = false; private int wins = 0; private int losses = 0; Player(long id, String name, String shortNam...
22.483871
85
0.608321
14a7ea4e6bf1d70333a80f7e1ed1e5d8f217d5ef
1,806
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
29.606557
118
0.728682
5204fc41409bae89379a8f0e63a91e8072653763
9,445
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. ======================================================...
35.641509
86
0.677819
17d449b79338e35487c4694d50dad2bad3636e28
269
package com.bergerkiller.bukkit.common.controller; /** * The network controller returned for the default, unchanged types of entity network controller. */ @SuppressWarnings("rawtypes") public class DefaultEntityNetworkController extends EntityNetworkController { }
26.9
97
0.814126
1e92e413c74d0b6646fe0756f210821ac672c167
830
package com.ruoyi.fac.model; import com.ruoyi.common.annotation.Excel; import lombok.Data; import java.util.Date; @Data public class FacLeaveMessage { @Excel(name = "留言ID") private Long id; private String token; @Excel(name = "留言用户昵称") private String nickName; @Excel(name = "留言时间", dateFor...
20.243902
63
0.666265
53c66b032f21a96c5f3d539987b2db3210c7bdc0
97
package com.sou1fy.dyniamic.ddb; public interface IRouteKeySearcher { Object keySearch(); }
16.166667
36
0.762887
0f87361e3da13f88ab147932a5d55cef2e98bad9
1,032
package com.projectning.service.dao.impl; import java.util.ArrayList; import java.util.List; import com.projectning.util.Util; public class NVPairList { private List < NVPair > pairList; public NVPairList() { this.pairList = new ArrayList < NVPair > (); } public void addValue(String name, Object value) { t...
22.434783
94
0.706395
4d3aa89092741cfb20e5bfa038b45063d377933d
1,511
/* * Copyright (c) Facebook, Inc. and 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 applic...
34.340909
100
0.755129
0ea1592ecd1b4aa41b7ea368adcb49360510f52c
1,774
package com.elovirta.dita.markdown; import org.dita.dost.util.DitaClass; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.SAXException; import java.util.ArrayDeque; import java.util.Deque; import static javax.xml.XMLConstants.NULL_NS_URI; /** * Serializer to SAX content handler...
25.710145
89
0.631905
5575d745ad0ed1ed22d1b6ff36386eb1046469c5
2,101
package com.back.admin.domain.experience; import com.back.admin.domain.board.Board; import com.back.admin.domain.user.User; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonManagedReference; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstruct...
30.014286
97
0.730129
9fe4efb3ee53518046215a85e5a04e2f2fd73aaf
9,208
package model; import java.sql.*; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import presenter.AppPresenter; /** * * @author johnrojas */ public class DatabaseConnection { private stati...
36.539683
139
0.546916
47a33f4f6f8f09a151b86b5190547256e1553f36
2,084
package com.github.mictaege.eval.spoon.example; import com.github.mictaege.eval.spoon.processing.OnlyIf; import static com.github.mictaege.eval.spoon.example.SpaceShipType.GEMINI; import static com.github.mictaege.eval.spoon.example.SpaceShipType.HERMES; import static com.github.mictaege.eval.spoon.example.SpaceShipT...
32.061538
111
0.707774
511442a5deac0eee0491ab1e3b7391d97d98b5a9
974
package walletChallenge; import java.util.Date; public class Log { private Date date; private String ip; private String request; private String status; private String userAgent; public Log(Date date, String ip, String request, String status, String userAgent) { super(); this.date = date; this.ip = ip;...
18.037037
84
0.693018
f8085b56f7e34682a0a244299fbef9047c47bc88
2,293
package com.rdx64.activitylifecycletest; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { private static final String TAG ...
27.626506
81
0.600959
9b321766081e0ebfab1467c180904e99ea1fd22b
823
package io.simplesource.saga.action.sourcing; import io.simplesource.kafka.model.CommandRequest; import io.simplesource.saga.shared.topics.TopicTypes; import org.apache.kafka.streams.kstream.KStream; import io.simplesource.saga.shared.topics.TopicNamer; import org.apache.kafka.streams.kstream.Produced; public class C...
39.190476
94
0.72175
4f9a3cfddec1dd1adfa594c9d8bd337f7ecffb0c
3,588
import lombok.Builder; import java.util.*; public @Builder class BuilderDefaultsGenerics<N extends Number, T, R extends List<T>> { public static @java.lang.SuppressWarnings("all") class BuilderDefaultsGenericsBuilder<N extends Number, T, R extends List<T>> { private @java.lang.SuppressWarnings("all") java.util.co...
47.210526
196
0.684225
571eaf5a44c517a6b879d81179be66614e771a76
2,051
package com.github.kabal163.statemachine.api; import javax.annotation.Nullable; /** * Contains the main information about executed transition. * If there were no exceptions then {@code exception} field * will be {@code null}. * * @param <S> type of the state of the {@link StatefulObject stateful object} * @para...
25.962025
77
0.624573
9979124c2d7e535a7c92fffb96c279c8247c0777
5,674
/* * 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...
36.371795
137
0.711667
7ef57a980b7becfa7beb3301e11db601ce8e1903
1,824
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
25.690141
89
0.521382
a21648d5a3e629fa0aac3e237401963142a78d72
659
package top.imwonder.mcauth.dao; import org.springframework.stereotype.Component; import top.imwonder.mcauth.domain.Profile; import top.imwonder.util.AbstractDAO; @Component public class ProfileDAO extends AbstractDAO<Profile> { @Override protected Class<Profile> getDomainType() { return Profile.cla...
20.59375
76
0.661608
f633a3f3cbeaedf58adc28065480a5445913cfe8
12,496
package com.doublechain.contact; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.springframew...
31.007444
208
0.709587
842092ba00db66926f9e953ea4a66270717c90e3
350
import java.util.Scanner; public class BoxGame { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long n, m; while ((n = scan.nextLong()) != 0) { m = 1; while (m < n) { m = m * 2 + 1; } System.out.println(m != n ? "Alice" : "Bob"); } ...
15.217391
49
0.488571
f5be354a213c1e51da64986daba5aa073f7ced17
6,811
package marquez.spark.agent.lifecycle; import java.net.URI; import java.time.Instant; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.HashMap; import java.util.Map; import lombok.extern.slf4j.Slf4j; import marquez.spark.agent.MarquezContext; import marquez.spark.agent.client.LineageEvent;...
38.480226
110
0.707532
22ad2b8bbde25c5f307a573fa1ecf03adba11d7d
5,934
/* * Copyright (c) 2003, The JUNG Authors * * All rights reserved. * * This software is open-source under the BSD license; see either * "license.txt" or * https://github.com/jrtom/jung/blob/master/LICENSE for a description. */ package edu.uci.ics.jung.algorithms.layout; import java.awt.geom.Point2D; import java.util.A...
26.373333
98
0.663128
14749a8701697f6ca57b571904c4272efe21396c
231
package io.smartcat.ranger.core; import java.util.UUID; /** * Generates random UUID. */ public class UUIDValue extends Value<String> { @Override public void eval() { val = UUID.randomUUID().toString(); } }
15.4
46
0.645022
f6702a400e1f3fc4cb40ffa16bffb3dd826bf737
1,308
package com.application.opreation.user.showPanal; import com.gui.user.GUI_UserRegister; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.stage.Stage; /** * @ author Andrej Simionenko, Raheela Tasneem, Fei Gu, Ibraheem Swaidan * @ create 2021-06-14-16.12 * ...
31.142857
99
0.724006
da2ab51d4201927183e4200a68dfa372bac9689a
425
package com.nao4j.subtrol.core.service; import com.nao4j.subtrol.core.document.internal.Quantity; import org.springframework.security.access.annotation.Secured; import java.util.Set; /** * Сервис для работы с размерностями. */ public interface QuantityService { /** * Получить множество поддерживаемых раз...
21.25
62
0.731765
c8631d22c52523dc0c33686d8790a2e72863d4fc
8,463
/* * 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 ec.com.asofar.dao; import ec.com.asofar.dao.exceptions.NonexistentEntityException; import ec.com.asofar.dao.exceptions...
45.745946
156
0.645043
546962dc76d8a1bf97fecab720b07e9251b4e98b
4,101
package hr.yeti.rudimentary.events; import hr.yeti.rudimentary.context.spi.Instance; import hr.yeti.rudimentary.events.spi.EventListener; import java.lang.reflect.ParameterizedType; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.ServiceLoader; import java.util.concurrent.Comp...
34.462185
150
0.620824
99cf35ff27a67d570e15b58bbbff75619a38624e
2,775
// ============================================================================ // // 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...
41.41791
116
0.584144
2e40753043cca3868936fd2325cc6cf873c1091c
453
package com.spring4.email; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; /** * Creator weishi8 * Date&Time 2019-07-11 18:12 * description */ //@SpringBootApplication public class ...
25.166667
68
0.774834
412f2244b5e445888d8b39987b045fedbe19d4df
1,573
package scratch.kevin.ucerf3.inversion; import java.io.File; import java.io.IOException; import java.util.Map; import scratch.UCERF3.inversion.BatchPlotGen; public class MisfitComparison { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { Map<String, D...
35.75
147
0.724094
53ac7a8e1fd88c4bea1e2a9e2cb012d55f847858
2,592
package io.jiffy.stax.plugin.xfs.factories; import com.ibm.staf.service.stax.*; import io.jiffy.stax.plugin.xfs.actions.XfsServiceAction; import org.pmw.tinylog.Logger; import org.w3c.dom.Node; public abstract class XfsServiceActionFactory<T extends XfsServiceAction> extends ActionFactorySupport<T> implement...
35.506849
144
0.613426
60cbb1e48cc512fb35949ada3c082a1b03cd7ae1
6,010
package org.firstinspires.ftc.teamcode.odometry; import androidx.annotation.NonNull; import com.acmerobotics.dashboard.config.Config; import com.acmerobotics.roadrunner.geometry.Pose2d; import com.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer; import com.acmerobotics.roadrunner.util.Angle; import c...
38.280255
118
0.682363
85efc0977b9e9d496b9d495fe13d23af8c3bfff9
579
package algorithms.lru; /** * @author xiaoy * @date 2020/05/14 */ import java.util.LinkedHashMap; import java.util.Map; public class LRUCacheT<K, V> extends LinkedHashMap<K, V> { // 最大容量 private final int maximumSize; public LRUCacheT(final int maximumSize) { // true代表按访问顺序排序,false代表按插入顺序 ...
19.965517
65
0.645941
25728a382df9c421d130fa08934c2cd763c9876d
6,745
package oasis.names.tc.legalxml_courtfiling.wsdl.webservicesprofile_definitions_4_0; /** * Please modify this class to meet your needs * This class is not complete */ import java.io.File; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import tyler.efm.wsdl.webservice...
51.48855
258
0.764122
b3e35fa49c8d200a13fbc378c29d440823b0d731
7,517
package cn.originx.uca.commerce; import cn.originx.refine.Ox; import cn.originx.scaffold.plugin.AspectSwitcher; import cn.originx.uca.log.TrackIo; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.tp.atom.modeling.builtin.DataAtom; import io.vertx.t...
35.457547
121
0.585473
b4fbc18812195f1daf99bf4a19a7c6f2b6557f6b
3,062
package com.google.example.firestore; import android.util.Log; import androidx.annotation.NonNull; import com.google.android.gms.tasks.Continuation; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.firestore.FirebaseFirestore; import com.goo...
35.604651
98
0.653494
60f4d9f8bea071e307851c46e7bcb74bac337ee7
972
package org.openmrs.module.initializer.api.ot; import org.openmrs.OrderType; import org.openmrs.api.OrderService; import org.openmrs.module.initializer.Domain; import org.openmrs.module.initializer.api.BaseLineProcessor; import org.openmrs.module.initializer.api.CsvParser; import org.springframework.beans.factory.anno...
29.454545
117
0.81893
b18edc3f53620bef74c053f31ab715c154f0568a
1,046
package com.twitter.finatra.http.tests.integration.doeverything.main; import java.util.ArrayList; import java.util.Collection; import scala.collection.JavaConverters; import scala.collection.Seq; import com.google.common.collect.ImmutableList; import com.google.inject.Module; import com.twitter.app.Flag; import com...
24.325581
83
0.724665
6ecca004f7bebf40b68574dac55600e3f399fd6f
3,101
import java.util.List; /** * Simulates an ultrasonic sensor that works on the internal representation of * the robot. * * @author Johannes * */ public class UltrasonicSensor { /** * What is measured if no obstacle is detected? 1^=5cm */ static final int NOTHING_RECOGNIZED_MEASURE = 51; private Surroun...
28.981308
78
0.68752
b07db661adb535f11492b32982a428dd7a0e8922
23,113
/** Generated Assertion Class - DO NOT CHANGE */ package au.org.greekwelfaresa.idempiere.test.assertj.c_bpartner; import au.org.greekwelfaresa.idempiere.test.assertj.po.AbstractPOAssert; import java.util.Objects; import javax.annotation.Generated; import org.compiere.model.X_C_BPartner; /** Generated assertion class ...
27.914251
143
0.697876
871715604f9d9af55c388b1c0793419aae9f5578
4,942
package com.tumblr.backboard.example; import android.app.Fragment; import android.content.res.TypedArray; import android.os.Bundle; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import android.widget.Relativ...
29.242604
92
0.706799
4bb75211591b71f3c6427ad62761ac8a1763a5a1
2,313
package ab.model; import java.io.Serializable; import java.util.Objects; /** * 猜测,记录曾经猜测了什么数字,结果是什么 */ public class Guess implements Serializable { /** * 猜测的数字 */ private ABNumber guess; /** * 该猜测的结果,xAyB形式 */ private Answer answer; public Guess(ABNumber guess, Answer answe...
20.651786
70
0.495028
84c7372f1ad1b1d49475b0fc44b6a312c4add926
2,695
// Generated by protoc-gen-javastream. DO NOT MODIFY. // source: frameworks/base/core/proto/android/net/networkcapabilities.proto package android.net; /** @hide */ // message NetworkCapabilitiesProto public final class NetworkCapabilitiesProto { // enum Transport public static final int TRANSPORT_CELLULAR = ...
42.109375
85
0.765863
6fb0043bca5a5659ece811f48664af594b640195
4,834
package com.simplecontrol.src; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.view.LayoutInflater; import android.view.View; import android.widget.Button; import android.widget.ImageButton; import android.widget.ImageView; import android.wid...
27.005587
94
0.689905
59c816f172a0cfa0b2bfb2b8d93dced070f66982
5,230
package net.minestom.server.instance.block.states; import net.minestom.server.instance.block.Block; import net.minestom.server.instance.block.BlockAlternative; /** * Completely internal. DO NOT USE. IF YOU ARE A USER AND FACE A PROBLEM WHILE USING THIS CODE, THAT'S ON YOU. */ @Deprecated( since = "forever",...
93.392857
145
0.682983
7f8fc751cb0a053f37d6a6b9a662c22d6f172918
14,401
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
48.325503
230
0.690438
3affb5e3eabb342ff6a85bd9e7342af0c2ed2f9a
178
package mcc.academy.checkstyle.test; public class App { public void getTest() { } public static void main(String[] args) { System.out.println("Hello World!"); } }
14.833333
42
0.662921
0cfb39885de55a39b35122896bc60e8059f91bde
322
package com.crm.application.repository; import com.crm.application.model.Address; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface AddressRepository extends JpaRepository<Address, Long> { <T> Address findById(Long id); ...
23
73
0.813665
1a3f8095f1720f7b40cfa67eefbfd85381f46418
1,297
package com.ushaqi.zhuishushenqi.widget; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import butterknife.ButterKnife.Finder; public class ShareWarningView$$ViewInjector { public static void inject(ButterKnife.Finder paramFinder, ShareWarningView paramShareWarningVie...
43.233333
123
0.781804
6f8a8e921d56604655e6d71962ad26a8e89ad755
5,944
package gg.projecteden.nexus.features.quests.interactable.instructions; import gg.projecteden.nexus.features.quests.QuestItem; import gg.projecteden.nexus.features.quests.QuestReward; import gg.projecteden.nexus.features.quests.interactable.Interactable; import gg.projecteden.nexus.features.resourcepack.models.CustomM...
28.854369
144
0.743271
64d4553792f3aa71ccdcf04565e535c2ad23bfe7
1,929
package com.utils.releaseshelper.logic.action; import java.util.Collections; import java.util.List; import java.util.Map; import com.utils.releaseshelper.model.logic.action.Action; import com.utils.releaseshelper.model.logic.action.ChainAction; import com.utils.releaseshelper.view.CommandLineInterface; /** * Logic ...
25.381579
144
0.733022
0c2d4142129c9c980211c6e52b7ed7ccc98f5112
1,956
/** * Copyright © 2019 金聖聰. All rights reserved. * * 功能描述:汽车租凭子类包 * @Package: kh75.day190801.afterschool_exercises.car_rental.son * @author: 金聖聰 * @date: 2019年8月5日 下午5:12:32 */ package kh75.day190801.afterschool_exercises.car_rental.son; import kh75.day190801.afterschool_exercises.car_rental.father.Mot...
20.164948
90
0.5818
cdded65e24e6cf3e1cf2860707e71efac7c29ef2
2,766
package com.fishercoder.solutions; import java.util.Arrays; /** * 473. Matchsticks to Square * * Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, * please find out a way you can make one square by using up all those matchsticks. * You should not break ...
32.162791
144
0.548807
d4a0c55f4d28c485637019dac4977e853e227ee7
630
package com.queencastle.service.test.shop; import org.junit.Ignore; import org.junit.Test; import com.queencastle.dao.model.shop.ShopBrand; import com.queencastle.dao.mybatis.IdTypeHandler; import com.queencastle.service.test.BaseTest; public class ShopBrandTester extends BaseTest { @Test @Ignore public void tes...
22.5
49
0.75873
56ef92a2b7dc3840c6cc21f098287a679a49d1a3
19,328
/* * Copyright 2016. Ivan Stuart * * 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 l...
29.735385
106
0.501242