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
f049c54e425cc6588f450637e3adcb201415d78a
4,434
package org.factcast.client.grpc; import static io.grpc.stub.ClientCalls.*; import java.util.List; import java.util.Optional; import java.util.OptionalLong; import java.util.UUID; import java.util.stream.Collectors; import org.factcast.core.Fact; import org.factcast.core.store.FactStore; import org.factcast.core.sub...
35.190476
100
0.723049
de21c291c9dfaace5b9f1adda81b36233c0155f4
1,055
package seedu.address.commons.core; /** * Container for user visible messages. */ public class Messages { public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MULTI...
52.75
115
0.772512
8678c020d283434e7e6f9af5e730a76e696e2838
3,071
package meteorapegaso.meteorus.util; import meteorapegaso.meteorus.achievements.AchievementManager; import meteorapegaso.meteorus.blocks.MeteorusBlockHandler; import meteorapegaso.meteorus.items.MeteorusItemHandler; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net....
32.326316
114
0.650277
94abee0bd40d2da0a9bc9ae8500ccd15b84719e2
526
/** * */ package com.airsltd.core.data; /** * The block data has not been set up correctly. This is a coding issue. * * @author Jon Boley * */ public class AirsExtBlockInializationException extends RuntimeException { /** * */ private static final long serialVersionUID = -59476862060325482...
21.916667
110
0.692015
287e05b4dc54d1f3c653242bf1fa799c3b13dc14
6,642
package com.github.tonywills.xkcdviewer; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCo...
35.329787
107
0.651009
81a64ce7194b0cbc5eb993c19df70ee85ccb900b
308
/* * Copyright (c) 2014 xxworkshop. All rights reserved. * Created by Broche Xu on 4/22/14 5:42 PM. */ package com.xxworkshop.common.formatter; public enum Anchor { LeftTop, CenterTop, RightTop, LeftCenter, Center, RightCenter, LeftBottom, CenterBottom, RightBottom }
17.111111
54
0.665584
c71ae499737d417b17bcc72b094b8be0fc87e3f7
4,791
/* * Copyright 2014-2016 Media for Mobile * * 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 ag...
27.067797
125
0.628261
2376efe267636808665b5d142ed357df458ed989
929
package android.support.v4.widget; import android.content.Context; import android.database.Cursor; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /* renamed from: android.support.v4.widget.u */ public abstract class C0386u extends C0362f { private int f701j; priva...
29.967742
82
0.709365
9b112cf394da6da397e6f4a484ef81099c4ab153
679
package cn.lueans.lueansread; import android.app.Application; import android.support.v7.app.AppCompatDelegate; import com.raizlabs.android.dbflow.config.FlowManager; import im.fir.sdk.FIR; /** * Created by 24277 on 2017/2/23. */ public class App extends Application { private static App mContext; @Overri...
20.575758
80
0.655376
f79dd20291da74990626802ed200a898d7150a78
1,654
package me.StevenLawson.TotalFreedomMod.commands; import org.apache.commons.lang3.StringUtils; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginDescriptionFile; import java.util.ArrayList; import java.util.Collections; import j...
34.458333
155
0.628174
ac7f9dfd619b7f353a0f5b5b7d288997911c3f92
77
package org.subra.aem.commons.helpers; public interface ActivatonHelper { }
15.4
38
0.805195
db6bfa11c114c7929e66839b1dd2f95ede610918
3,221
package org.springframework.roo.project; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotatio...
32.535354
94
0.613474
4e7549fac421f6a5c30c515c8a7dd674bb56a53f
1,498
/* Soot - a J*va Optimization Framework * Copyright (C) 2002 Sable Research Group * * 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 Software Foundation; either * version 2.1 of the License, or (at your ...
29.372549
74
0.71028
36036e4728e0588bc3c833a3917a064cf4951b0e
25,484
package io.github.humbleui.skija; import java.lang.ref.*; import org.jetbrains.annotations.*; import io.github.humbleui.skija.impl.*; import io.github.humbleui.types.*; public class Paint extends Managed { static { Library.staticLoad(); } @ApiStatus.Internal public static class _FinalizerHolder { ...
35.198895
137
0.61258
9eb0c8fa73319957b5162dcb61caae7aa7192092
143
package id.ac.ui.pusilkom.odontogram.enums; /** * Created by fahri on 4/24/17. */ public enum HLinePart { HALF_RIGHT, HALF_LEFT, FULL }
15.888889
43
0.692308
986a226c358b3f537d642d37fc909989f8815f41
90
/** * orm4j8で使用するクラスをまとめたパッケージ * * @author 417.72KI */ package jp.natsukishina.orm4j8;
15
31
0.711111
a1503437b7f4f42baed528232eea037969f4147a
1,602
/* * 0blivi0n-cache * ============== * Java REST Client * * Copyright (C) 2015 Joaquim Rocha <jrocha@gmailbox.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
20.538462
76
0.687266
41d8a5d2aad2e9eb35b17c710f9dc270b7138a75
8,304
package com.medialink.submission4.view; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
32.822134
101
0.67329
f59c777bba2945de2d26788d8b32835edc36513f
1,425
/* * Copyright 2016 LINE Corporation * * LINE Corporation 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/licenses/LICENSE-2.0 * * Unless re...
23.360656
78
0.649825
93d413f1116999ae009ddad3904e75c93155368f
572
/** * Title: BasicFrame.java * Description: My first basic AWT (Windows Programming) frame. * Copyright: Copyright (c) 2015 * Student No: C00137009 * @author Daniel Hayden * @version 1.0 */ import java.awt.*; import java.awt.event.*; @SuppressWarnings("serial") class BasicFrame extends Frame{ public BasicFra...
23.833333
63
0.65035
51b508f90c823b52b6c89b6989ab292bf6c5a2b3
4,268
/* * Copyright 2019 IIT Software GmbH * * IIT Software GmbH 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/licenses/LICENSE-2.0 * * Unless...
52.691358
111
0.772259
ac914ad1d8ffed4611f73a201fa734914750af76
4,303
package com.mobgen.halo.android.sdk.core.internal.startup; import android.os.Handler; import android.os.Looper; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.mobgen.halo.android.framework.common.annotations.Api; import com.mobgen.halo.android.framework.common.helper...
29.272109
93
0.633976
a3e75fb9aa3d18dd7209b728ecf08f7b11120aa4
4,106
/******************************************************************************* * Copyright (c) 1991, 2021 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
36.660714
135
0.754993
6c7ccb448c37f1deedefb013feaff096908a1fcd
5,561
/* * Copyright (c) 2019 The StreamX Project * <p> * 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 Apach...
40.007194
173
0.62255
22050335775a5407018e35635bc46466ff097a00
2,027
/** * 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 ...
23.847059
70
0.596941
af733e7bbeac17b90c28b82720a05a8391fc1ff2
3,327
/* * Zeebe Workflow Engine * Copyright © 2017 camunda services GmbH (info@camunda.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at y...
45.575342
100
0.80012
8152eac73b5a4562aaa56dedc0e4c9dae04d25bb
251
package com.google.firebase.example.appindexing.model; public class Recipe { public String getTitle() { return ""; } public Note getNote() { return null; } public String getNoteUrl() { return ""; } }
15.6875
54
0.577689
78843a6f291c9e9a410952f33fca02d45a04f7df
353
package org.proteored.miapeapi.interfaces.ms; import org.proteored.miapeapi.cv.ms.ContactPositionMS; import org.proteored.miapeapi.interfaces.Contact; public interface MSContact extends Contact { /** * Gets the position of the contact. It should be one of the possible values * from {@link ContactPositionMS} */...
27.153846
77
0.776204
9f92837007c523d6d3a067c251fbae09b9230a1d
19,168
package com.hedera.services.state.merkle; /*- * ‌ * Hedera Services Node * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, 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 * *...
34.724638
110
0.760904
d397fa98cfeb84bec047368d69a1bd1125c1737f
5,072
package com.snail.job.admin.service.trigger; import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.snail.job.admin.biz.JobExecutorBiz; import com.snail.job.admin.model.App; import com.snail.job.admin.model.JobInfo; import com.snail.job.admin.model.JobLog; im...
34.503401
120
0.630521
3d0e5bf6656dfe4d7c3748dc635847b7e6e74560
9,614
/* * Copyright 2019 Insurance Australia Group Limited * * 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...
41.261803
222
0.706678
5a461e43e54ba7f22491d0451f0611de75c9deae
1,499
/** * -------------------------------------------------------------------------- * SBML4j * -------------------------------------------------------------------------- * University of Tuebingen, 2020. * * This code is part of the SBML4j software package and subject to the terms * ...
36.560976
130
0.627085
f84eb0193e56dc545c20aca646a793f32fe1ee68
23,714
/* * SoapUI, Copyright (C) 2004-2016 SmartBear Software * * Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Li...
39.392027
121
0.692671
6c62eaf32bd1340dc6647e2773e304937f7b4e23
1,759
package ch.eth.jcd.badgers.vfs.core.journaling; import java.util.List; import ch.eth.jcd.badgers.vfs.core.interfaces.VFSEntry; import ch.eth.jcd.badgers.vfs.core.interfaces.VFSPath; import ch.eth.jcd.badgers.vfs.core.journaling.items.JournalItem; import ch.eth.jcd.badgers.vfs.exception.VFSException; public ...
29.813559
107
0.757248
e8460ddd069a5a5855c13811f826ad86a4bf1643
612
package com.shopify.model; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.LinkedList; import java.util.List; @XmlRootElement public class ShopifyCustomCollectionsRoot { @XmlElement(name = "custom_collections") private List<ShopifyCustomCollection> cus...
27.818182
101
0.823529
89ebf090f1218511f23204ed902ca567734326d6
1,452
package com.example.sagar.qrcodereader; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.widget.Toast; import com.google.zxing.integration.android.IntentIntegrator; import com.google.zxing.integration.android.IntentResult; /** * Created by sagar on 10/7/2017...
29.632653
88
0.681818
83ccd790827d6f205a429af0a293955175a337b1
313
package es.msanchez.frameworks.java.spring.boot.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan(basePackages = { "es.msanchez.frameworks.java.spring.boot.**" }) public class SpringConfig { }
26.083333
60
0.798722
1b7c16089f866713df6047037758393239610202
3,660
package com.bin.david.form.data.format.draw; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import com.bin.david.form.data.CellInfo; import com.bin.david.form.data.Column; import com.bin.david.form.core.TableConfig; import com.bin.david.for...
28.59375
113
0.612022
8651aa24764fd516d0d99e9a0b3453b649e7e877
10,158
package com.company.GUI.Database; import org.jfree.chart.ChartPanel; import org.jfree.chart.ChartUtils; import org.jfree.chart.JFreeChart; import java.io.*; import java.util.*; public class DBHandler { public static String materialPath = "data/materialDB/"; public static List<Material> materials; public...
29.61516
101
0.51959
74c775be28cae179a6524d1343273e5d9a9e730c
3,434
/* * GIPO COPYRIGHT NOTICE, LICENSE AND DISCLAIMER. * * Copyright 2001 - 2003 by R.M.Simpson W.Zhao T.L.McCLuskey D Liu D. Kitchin * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notic...
29.350427
78
0.688119
0fcbd4da408bd6e3f3097ea8cd9c43ba95e27594
114
package org.folio.marccat.exception; public class InvalidShelfListTypeException extends ValidationException { }
19
72
0.850877
01e26cdc09396a7b8560b18f4ee3e3fb74461e5c
19,694
package em.demonorium.timetable.Menu; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Button; import com.badlogic.gdx.scenes.scene2d.ui.ButtonGroup; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.ScrollPane; import com.badl...
35.677536
135
0.505027
a2996ab9f083976de6d01563f7a7d642ea78874d
348
package org.jmagic.actions.rules.game; import org.jmagic.core.states.State; import org.jmagic.infrastructure.validation.rules.ValidationRule; public class GameIsFinished extends ValidationRule { @Override public void onValidate(State state) { if (!state.done) { errors.add("game is not fi...
21.75
65
0.692529
651ecbf0c0de13a9f7bbf1f5798a0ad24afee2d6
24,468
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.gradle.model; import com.intellij.openapi.externalSystem.model.ExternalSystemException; import com.intellij.util.Consumer; import com.intellij.util....
38.29108
140
0.702182
f70156dac74433f540386701521d3cee73589d19
2,845
package com.alibaba.chaosblade.exec.plugin.jvm.cpu; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import com.alibaba.chaosblade.exec.common.aop.EnhancerModel; import com.alibaba.chaosblade.exec.common.model.action.ActionExecutor; import com.alibaba.chaosblade.exec.common.util.Str...
35.123457
98
0.625308
0841c0a4cb885d3035053c7a1e6880bca352584b
4,898
package datawave.iterators; import java.util.*; import datawave.edge.protobuf.EdgeData; import datawave.edge.protobuf.EdgeData.MetadataValue; import datawave.edge.protobuf.EdgeData.MetadataValue.Metadata; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.accumulo....
36.281481
157
0.581258
b36083b1b840208d57350ea1b01a380471de7d53
1,067
package io.husaind.controller; import io.husaind.dto.MonteCarloRequest; import io.husaind.dto.MonteCarloResponse; import io.husaind.service.MonteCarloService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PostMap...
30.485714
97
0.81537
bad6ba98c19f17935c4dafd20d532be5182ccc16
4,456
package com.code_embryo.android.ble.beacon.record; import android.bluetooth.le.ScanRecord; import android.bluetooth.le.ScanResult; import com.code_embryo.android.ble.beacon.Beacon; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import static org.junit.Assert.*; import static org.hamcres...
30.312925
96
0.634425
5af236325702baf96d4788ba08be78507b642efe
1,909
package part_1.medium.math; public class Divide29 { public int divide(int dividend, int divisor) { // // 辗转相减法 // /** // * 因为将 -2147483648 转成正数会越界,但是将 2147483647 转成负数,则不会 // * 所以,我们将 dividend 和 divisor 都转成负数时间复杂度:O(n), // * n 是最大值 2147483647 --> 10^10 --> 超时 // * 32...
32.355932
69
0.462022
690e03ba62446f305e6d56dfab160113b54bc40d
2,590
// Copyright (c) 2018 Joy Diamond. All rights reserved. package link.crystal.Gem.Format; import link.crystal.Gem.Core.Gem_StringBuilder; import link.crystal.Gem.Core.Zone; import link.crystal.Gem.Format.ArgumentSegmentFormatter; import link.crystal.Gem.Inspection.Inspection; import link.crystal.Gem.Inspection.Wor...
30.116279
117
0.672201
b2d00c2d5083be9abbf8b5940f6dea448555cad1
248
package com.workshopspringmongo.workshopspringmongo; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class WorkshopspringmongoApplicationTests { @Test void contextLoads() { } }
17.714286
60
0.818548
9ebc65252e8f4ee7a44e8e81e24852fa9ab9c033
54
package jnet.packet; public class PacketEncoder { }
7.714286
26
0.759259
894f10b87735fbd16e12a84505960121c1e5215f
4,829
package com.hdeva.space.ui.viewer; import android.content.Intent; import android.support.v4.view.ViewCompat; import android.support.v7.app.AlertDialog; import android.text.TextUtils; import android.view.View; import com.hdeva.space.base.ActivityPresenter; import com.hdeva.space.core.helper.GlideHelper; import com.hde...
37.434109
216
0.700352
a23318f901e10b2e096aca44c9a061410f05fd79
138
package in.balamt.practice.designpattern.abstractfactory; public interface ComputerAbstractFactory { public Computer buildComputer(); }
23
57
0.84058
226f8f075b62f6d998200b7fd8a642b899977f42
1,607
//////////////////////////////////////////////////////////////////////////////// // // Created by DAlbrecht on 06.02.2019. // // Copyright (c) 2006 - 2019 FORCAM GmbH. All rights reserved. //////////////////////////////////////////////////////////////////////////////// package com.forcam.na.ffwebservices.model.operati...
28.192982
80
0.494711
e6f589a844887b827d5070530170ee753aa3d8ce
1,156
package org.codepay.model.merchant; import java.io.Serializable; import org.codepay.common.orm.domain.BaseDomain; import org.codepay.model.merchant.enums.PublicEnum; /** * 支付产品实体类 */ public class PayProduct extends BaseDomain implements Serializable { private String productCode; private String productNam...
24.083333
75
0.687716
05b0173eacc5814c7b72ec8df9673f420d8875fd
866
package com.alley.flipperview.adapter; import android.content.Context; import android.view.View; import android.widget.TextView; import com.alley.flipper.BaseFlipperAdapter; import com.alley.flipperview.R; import java.util.List; /** * 首页垂直轮播图适配器 * * @author Phoenix * @date 2017/4/7 17:14 */ public class Flippe...
24.055556
98
0.721709
f9ca67cbebbc13e97b94e4cdf53ba7c725a32dd0
143
package org.javacs.example; public class ErrorInDependency { public String test() { return (new UndefinedSymbol()).test(); } }
20.428571
46
0.664336
ca0f0c9d6420d548e2019ea162c43931bba3113a
110
package com.zup.orange.proposta.entity.card.enums; public enum WalletStatusEnum { ASSOCIADA, FALHA }
15.714286
50
0.745455
bfee2fc1dc416efe3ee3e9e8b966ce805fe04396
9,049
/* * Copyright (c) 2016-2020, MiLaboratory LLC * All Rights Reserved * * Permission to use, copy, modify and distribute any part of this program for * educational, research and non-profit purposes, by non-profit institutions * only, without fee, and without a written agreement is hereby granted, * provided that ...
45.0199
119
0.651564
217768274a8d6b91559f107834e5c1c608defbda
754
package org.tourgune.apptrack.bean; import java.util.Collection; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; /** * AppTrack * * Created by CICtourGUNE on 10/04/13. * Copyright (c) 2013 CICtourGUNE. All rights res...
17.952381
55
0.740053
e8552316246ed1b63e55da2105bf71fbe6c3017e
9,292
package org.javamoney.moneta.format; import java.text.DecimalFormatSymbols; import java.util.Currency; import java.util.Locale; import java.util.Objects; import javax.money.CurrencyUnit; import javax.money.Monetary; import javax.money.format.MonetaryAmountFormat; /** * This class represents symbols to be used on {@...
31.931271
116
0.739023
ec10068a3369a4cb13794160671843fa350fa230
5,708
/* * Copyright (c) 2010-2017 Evolveum * * 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...
44.248062
123
0.747898
5f549185790816feec72ba976840febf65090752
5,199
/*L * Copyright Moxie Informatics. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/calims/LICENSE.txt for details. */ package gov.nih.nci.calims2.domain.common.environmentalcondition; import gov.nih.nci.calims2.domain.administration.Quantity; import gov.nih.nci.calims2.do...
33.11465
159
0.762454
49c1479608a9a65495ad10203f8fed6e35773a5c
2,995
/** * Mobius Software LTD * Copyright 2015-2016, Mobius Software LTD * * This 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 Software Foundation; either version 2.1 of * the License, or (at your option) any later ve...
31.526316
179
0.767947
816f764f9ba2b5bd2059402cd3ea01325c2e38fd
3,947
/* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
37.235849
83
0.649101
30fc6608b2fdee968a20838e13cbc55faff0a943
19,751
/* * Copyright (c) 2014, Harald Kuhr * 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 list of cond...
34.349565
104
0.619159
d280fbfefc8b8f70adde05b2934d527ffa193e2b
1,201
package com.qintess.veterinaria.entidades; import java.time.LocalDate; import java.time.LocalDateTime; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.OneToOne;...
19.370968
112
0.787677
ea7fc0954d9f406d779703a07e00a6e395df5064
8,427
/** * 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 requir...
34.256098
129
0.77667
4583485f2afbd92490947ab1c469aba5e9293a7c
257
package checkers.util.report.quals; import java.lang.annotation.*; /** * Report all read or write access to a field with this annotation. */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface ReportReadWrite {}
21.416667
67
0.774319
bf70b3a8fe302b5409c5cda2d03b26fe1fc8b93a
8,539
package fi.vincit.jmobster.processor.defaults; /* * Copyright 2012-2013 Juha Siponen * * 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 ...
40.661905
137
0.674084
1c2f47a105f0f0a124b6100b70c022de9d913c29
1,271
package org.ros.internal.node.client; import org.ros.exception.RosRuntimeException; import org.ros.internal.node.rpc.RpcClientConfigImpl; import org.ros.internal.node.rpc.RpcEndpoint; import org.ros.internal.node.server.RpcServer; import java.net.InetSocketAddress; import java.net.URI; /** * Base class for RPC clie...
27.630435
90
0.720692
5d0c9acae16bf30416df557729cbf1186964198e
841
package com.blazemeter.api.explorer; import kg.apc.jmeter.http.HttpUtils; import kg.apc.jmeter.reporters.notifier.StatusNotifierCallbackTest; import static org.junit.Assert.*; public class BZAObjectTest { @org.junit.Test public void test() throws Exception { HttpUtils httpUtils = new HttpUtils(new S...
35.041667
113
0.677765
8316d2176d6f11cb9bfbe75d6a73d69393cde930
4,646
package imj.apps.modules; import static imj.apps.modules.SeamGridSegmentationSieve.countSegments4; import static imj.apps.modules.SeamGridSegmentationSieve.getCost; import static imj.apps.modules.ViewFilter.getCurrentImage; import static imj.apps.modules.ViewFilter.parseChannel; import static java.lang.Math.min; impor...
36.296875
104
0.705553
90a710eda3ac3350a576c5898121d325bf5e47eb
6,690
package de.tum.in.www1.artemis.service.plagiarism; import static java.util.stream.Collectors.*; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype...
49.925373
176
0.73154
cd71b8e9f1768500e7cac8dccdff5c053354dcd8
683
package com.ouc.dcrms.collect.util; //保存需采集数据的设备信息 public class InstrumentArray { private int instrumentID = 0; private String sensorsList; // 传感器序列 private Instrument instrument; public int getInstrumentID() { return instrumentID; } public void setInstrumentID(int instrumentID) ...
18.972222
54
0.699854
8a0782ea7ee77c80a79ae2ab49376de52ac3d4dd
2,463
package com.github.mmonkey.destinations.commands; import com.flowpowered.math.vector.Vector3d; import com.github.mmonkey.destinations.entities.SpawnEntity; import com.github.mmonkey.destinations.events.PlayerTeleportPreEvent; import com.github.mmonkey.destinations.events.PlayerTeleportSpawnEvent; import com.github.mmo...
41.05
128
0.717418
0c7bd4207c92b187a124bb98101fe7cff1e34d74
583
package chico3434.billjobs.objects; public class Software extends Product { public Software(String name, String version, String description, double cost, double price) { super(name, version, description, cost, price); } public Software(String name, String version) { super(name, version); ...
27.761905
97
0.636364
bb0cb1412cecc8d0be7c880d531e72f97a2d1932
3,922
package de.tum.in.www1.artemis.web.rest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import de.tum.in.www1.artemis.config.Constants; import de.tum.in.www1.artemis....
47.253012
179
0.766191
31da03d6e9e7a14cbe40793d4f43290e7bcac524
2,065
/* * 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 ...
29.5
78
0.753995
eacd2cdb8525b1c66ca504dce757e21bcb052dfe
4,080
package bio.terra.workspace.service.workspace.flight; import static bio.terra.workspace.service.workspace.flight.WorkspaceFlightMapKeys.GCP_PROJECT_ID; import bio.terra.cloudres.google.iam.IamCow; import bio.terra.stairway.FlightContext; import bio.terra.stairway.Step; import bio.terra.stairway.StepResult; import bio...
42.5
99
0.75
acd1b1b15b964b3c86fe28aaa2c39f57657b2979
810
package no.nav.familie.ks.sak; import org.springframework.boot.test.util.TestPropertyValues; import org.testcontainers.containers.PostgreSQLContainer; import java.util.ArrayList; import java.util.List; public class ApplicationTestPropertyValues { public static TestPropertyValues using(PostgreSQLContainer<?> po...
31.153846
91
0.735802
7456d4fc0471ecbbaff64d90a56dc36b8727d315
256
package com.padcmyanmar.charles.and.keith.assignment.tra.delegates; import com.padcmyanmar.charles.and.keith.assignment.tra.data.vos.NewProductsVO; public interface CharlesAndKeithShowItemsDelegate { void onTapShowItems(NewProductsVO newProducts); }
32
79
0.839844
01eeaf4862f2bc50a8424277b9f70d10a2f86a5f
9,874
/* * Copyright 2018 Key Bridge. * * 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...
37.120301
120
0.674499
da49e6698e24d6153d64429d26c93395b6abedca
23,700
package com.kovaciny.linemonitorbot; import static com.kovaciny.linemonitorbot.MainActivity.DEBUG; import java.beans.PropertyChangeEvent; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Cale...
41.217391
135
0.733586
682b2b5e09afdea24866b7b5ac91250b2fc3996b
3,847
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
38.858586
99
0.676891
0b9ae7340794bac337c41fe059d5177395263ccf
1,267
package com.fmi.bytecode.annotations.gui.businesslogic.model.export; import java.io.File; import java.util.List; public class ExportModel { private String fileName; private String fileDir; private String xslLocation; private List<SaveUnit> units; private File exportFile; private File x...
24.365385
89
0.610103
d4ba340d94d697ce672a2a4b105a0e5d3f7df847
4,582
package androidx.constraintlayout.motion.widget; import android.content.Context; import android.util.Log; import android.util.Xml; import androidx.constraintlayout.widget.ConstraintAttribute; import androidx.constraintlayout.widget.ConstraintLayout; import java.io.IOException; import java.lang.reflect.Constructor; imp...
39.5
129
0.557835
6addf7255ab41f9d1564c51339b27fc7ac8bcb00
471
/* * Copyright (c) 2012-2015 iWave Software LLC * All Rights Reserved */ package com.emc.sa.service.windows.tasks; public class AddDiskToCluster extends WindowsExecutionTask<String> { private final String diskId; public AddDiskToCluster(String diskId) { this.diskId = diskId; provideDetailAr...
23.55
68
0.70276
62c8351f7ee7a8b4e0b2eed97f6b407e08dd61ea
3,636
/* * Copyright 2016 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...
37.875
118
0.718647
c79e9233cbd3f6ba5770b5a03dd4e9d9f4452394
6,026
package net.simplifiedlearning.simplifiedcoding.Activities; import android.content.Intent; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.support.v4.graphics.drawable.DrawableCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; i...
41.273973
131
0.664122
2fad049dfe7dceb1773ffacbccedc4a7aed3dd8c
1,763
package io.swagger; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; import java.io.IOException; import org.testng.annotations.Test; import io.swagger.models.ModelImpl; import io.swagger.models.properties.ObjectProperty; import i...
34.568627
73
0.532615
d355b20b68253e420ac8cbb918eb4815cc60b72b
2,374
package uk.offtopica.monerocore.blockchain; import java.util.Arrays; import java.util.Objects; public class BlockHeader { private final byte majorVersion; private final byte minorVersion; private final long timestamp; private final byte[] prevHash; private final byte[] nonce; public BlockHead...
29.675
76
0.590564
813aca833b0825e5e0c6e5405cfae2325385115e
885
package assignment; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; /** * A {@link Button} that accepts and draws text content which is essentially a {@link Label}. * @author I.A */ public final class TextButton extends Button { /** * The {@l...
21.585366
93
0.706215
fe28c11cd7b66ed12eb2f36810684ad650d05734
11,831
/** Generated Model - DO NOT CHANGE */ package de.metas.marketing.base.model; import java.sql.ResultSet; import java.util.Properties; /** Generated Model for MKTG_Campaign_ContactPerson * @author Adempiere (generated) */ @SuppressWarnings("javadoc") public class X_MKTG_Campaign_ContactPerson extends org.compiere....
29.140394
147
0.76494
e55b567a2aeea95acccd53b4c2aad576c2336bc8
1,199
package consumingrest; public class Drink { private String idDrink; private String strDrink; private String strAlcoholic; private String strInstructions; public Drink() { } public String getIdDrink() { return idDrink; } public void setIdDrink(String idDrink) { th...
21.8
64
0.577148
4aade7964f68978d56367a65efc3f74f4a7091f0
572
package com.springboot; import brave.sampler.Sampler; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.context.annotation.Bean; @SpringBootApplication @...
27.238095
68
0.805944
7226357523b292ecdb05c1ef090789fbf33447a8
1,518
package me.ianhe.security.config; import org.springframework.security.access.AccessDecisionManager; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.core.Authentication; import org.springframework.security....
33
159
0.713439
c0643f3e1e6f64919a56cae3324e60a6e2eecb33
283
package com.dic.common.tool; import lombok.AllArgsConstructor; import lombok.Data; import lombok.experimental.Accessors; import java.util.List; @Data @AllArgsConstructor @Accessors(chain = true) public class SimplePageInfo<T> { private List<T> list; private Long total; }
17.6875
37
0.770318
1d0bd33c60429aba7dc205a50aa7f4b3535bd0d7
442
package uk.gov.pay.webhooks.message.resource; import io.swagger.v3.oas.annotations.media.Schema; import java.util.List; public record WebhookMessageSearchResponse(@Schema(example = "120") int total, @Schema(example = "100") int count, ...
36.833333
82
0.542986