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
bb16576f4ff2e40eafdee08de5f69b7d7d7efbb2
718
package com.ginkgoblog.commons.vo; import com.ginkgoblog.base.vo.SuperVO; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; import java.util.Map; /** * 文件表 表现层对象 * * @author maomao * @date 2021-01-22 */ @Data @EqualsAndHashCode(callSuper = true) public class FileVO extends SuperVO { ...
14.653061
45
0.600279
94bd321f0ff667e295aa113fedcd683eee7f654e
383
package com.devontrain.jex.executors; /** * Created by @author <a href="mailto:piotr.tarnowski.dev@gmail.com">Piotr Tarnowski</a> on 27.07.17. */ public class ContextWrapper<K, C> extends Context<K> { protected C ctx; protected ContextWrapper(ExecutorBase<K, ?> executor, K key) { super(executor, ke...
21.277778
101
0.644909
9ef8794361b5a5bab1708717d0ffec36f145882c
3,685
/* * Catena-X Speedboat Test Data Generator * Disclaimer: This service serves synthetic, none-productive data for testing purposes only. All BOMs, part trees, VINs, serialNos etc. are synthetic * * OpenAPI spec version: 0.0.1 Speedboat * Contact: christian.kabelin@partner.bmw.de * * NOTE: This class is auto gene...
24.898649
151
0.689552
d94d96b8e75338c1dea601804fb0d1759dfc272d
557
package org.apache.spark.sql.catalyst.expressions.objects; public class CreateExternalRow$ extends scala.runtime.AbstractFunction2<scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression>, org.apache.spark.sql.types.StructType, org.apache.spark.sql.catalyst.expressions.objects.CreateExternalRow> impl...
61.888889
288
0.793537
148fdb7b3705440df3cfcc163a7e579adb5a3905
406
package org.pitest.simpletest; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface TestAnnotationForTesting { public class NONE extends Throwable { private NONE() { } private static final long serialVersi...
21.368421
60
0.726601
6deeb1257d823a6e1cfa004d8612d3582727bc47
8,675
// Copyright 2019 The Chromium 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 org.chromium.android_webview.common; import org.chromium.base.BaseSwitches; import org.chromium.blink_public.common.BlinkFeatures; import org.chr...
66.221374
141
0.642075
5e4e9a2e35e6377a276ffef4c4fad5f01bee8973
304
package edu.utexas.cs.utopia.cortado.lockPlacement; import edu.utexas.cs.utopia.cortado.ccrs.Fragment; import javax.annotation.Nonnull; public class CCRFragmentSet extends MutuallyExclusiveFragmentSet { public CCRFragmentSet(@Nonnull Fragment... fragments) { super(fragments); } }
21.714286
64
0.763158
00aab147426ea5063826d7f0f79478aa6ea14dc2
1,671
package com.dss.sframework.tools.util; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.provider.Settings; /** * Created by Cristiano on 14/01/15. */ public class DeviceInfo { private Context context; final String d...
24.940299
93
0.635548
1e08b60cbcb7c598bb0f805b2e5f8cde7b14192b
1,467
/* * Generated from GenSpringBootGen * Copyright(c) 2018 by RADical Information Design Corporation * Template: ServiceTemplate.java.txt */ package com.radinfodesign.radspringbootgen.fboace.service; import com.radinfodesign.radspringbootgen.fboace.model.Pilot; import java.util.List; public interface PilotServic...
29.938776
74
0.697342
756584bd55ceb0cc911f766d9bc1aa8a8c1412af
746
package Common; public class Matrix3 { /** * @uml.property name="element" multiplicity="(0 -1)" dimension="2" */ float element[][]; // [row][column] public Matrix3() { element = new float[3][3]; } public static Matrix3 getIdentityMatrix3() { Matrix3 newMatrix = new Matrix3(); float[][] elements = new...
20.722222
69
0.575067
28056511855fa1aaf327b63be964ff4692f90273
10,762
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * CRCorporateLeaseArrangementInitiateInputModel */ public cla...
39.421245
309
0.814626
b03455e09f5130246e5696a05ceaf65e940dcc0d
788
package scriptism; import scriptism.interpreter.Interpreter; import scriptism.interpreter.Options; import java.io.IOException; import java.lang.reflect.InvocationTargetException; public class Main { public static void main(String... args) throws IOException, No...
31.52
77
0.55203
3ade1ef4359635832fc32f3483e4190706211df7
2,217
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2016 Dirk Beyer * 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...
28.423077
84
0.750564
c2fe7305d8cfba1ce48089570ec29a49dc5fd79a
1,084
package com.ming.sister.video; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.ming.sister....
28.526316
102
0.733395
da60ac3b709d4e305df8f6509e5eb024ac5dd2b4
5,936
/******* This is a helper class for MarketInput. It is used to display a list if marketinputs Holds all the relevant info required for the display. This makes access to the list a *LOT* faster. */ package com.oculussoftware.bus.mkt.prod; import com.oculussoftware.system.*; import com.oculussoftware.api.repi.*; imp...
25.259574
131
0.634434
c72e3d46008f9bb4c696b34ff868a8479e501402
549
class Solution1 { private int[] memo; //Time Complexity:(n^2) //Space Complexity:O(n) public int integerBreak(int n) { if (n == 1) return 1; memo = new int[n+1]; return breakInteger(n); } private int breakInteger(int n){ if (n == 1) return 1; if (memo[n...
21.96
72
0.473588
b1224e66a17715ae475ae57f436f37cb287e90bd
672
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: sample.proto package io.siddhi.extension.map.protobuf.autogenerated; public interface MessageWithUnderscoreOrBuilder extends // @@protoc_insertion_point(interface_extends:MessageWithUnderscore) com.google.protobuf.MessageOrBuilder { /**...
22.4
72
0.683036
33a10b9eacc7f733b78aa201d51a870ccd5c9560
2,585
package com.bronto.api.request; import com.bronto.api.util.ConversionUtils; import com.bronto.api.model.DateValue; import com.bronto.api.model.FilterOperator; import com.bronto.api.model.StringValue; import java.util.Date; import java.util.List; public abstract class RichReadRequest<RF, RQ, RS> extends BrontoReadRe...
29.044944
123
0.659574
e02e86a42dc6e071fedef580717ae1b6e8f19493
168
package com.idugalic.apigateway.services.recommendations; import org.springframework.hateoas.Resources; public class ProductsResource extends Resources<Product> { }
21
58
0.839286
9301e2c58440f316730d0cd780e725e0c7ed647b
4,971
package br.com.eiasiscon.notafiscal.total; import java.math.BigDecimal; public class Total { /* * Base de Cálculo do ICMS */ private BigDecimal vBC; /* * Valor Total do ICMS */ private BigDecimal vICMS; /* * Valor Total do ICMS desonerado */ private BigDecimal vICMSDeson; /* * B...
20.7125
87
0.670489
c31e2ff9bef230b37958989813bace2a7f114279
682
package com.lsj.weixin.bean.transbean; import com.alibaba.fastjson.annotation.JSONField; import com.lsj.weixin.bean.basebean.BaseRequest; import com.lsj.weixin.bean.basebean.Msg; /** * Created by Chan on 2016/8/13. */ public class SendMsgRequestBody { @JSONField(name="BaseRequest") private BaseRequest base...
20.058824
57
0.671554
02e453a697b39efc13deb277b6dbb401cc490ef3
1,534
package org.credentialengine; import org.stjs.javascript.Date; import org.cassproject.schema.general.EcRemoteLinkedData; /** * credentialengine.org/GeoCoordinates * Geographic coordinates of a place or event including latitude and longitude as well as other locational information. * @author credentialengin...
25.147541
120
0.685789
d8baff2f76a4c7486d15fc202f5ea2e7a822169d
1,122
package contrib.springframework.data.gcp.search.query; import com.google.appengine.api.search.Results; import com.google.appengine.api.search.ScoredDocument; import java.util.List; import java.util.function.Function; /** * {@link Result} implementation. * * @param <R> Result type. */ public class ResultImpl<R> i...
28.05
122
0.708556
a0bc07c2302b48c80cef6a3b6513be39587b799b
1,156
package com.tazine.io.buffer; import java.nio.ByteBuffer; /** * ByteBufferDemo * * @author frank * @date 2017/11/19 */ public class ByteBufferDemo { public static void main(String[] args) { System.out.println("------- Test Allocate -------"); System.out.println("Before allocate :" + Runtime...
26.883721
104
0.59083
4d9e66f665c460c0691660cb6853a4441bee1f38
3,016
package com.axway.apim.test.lib; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import ...
40.213333
95
0.723806
e789234d46ffe095dd71a328db83d62308719a2a
1,461
package com.netflix.astyanax.thrift; import org.apache.cassandra.thrift.CqlResult; import com.netflix.astyanax.cql.CqlSchema; import com.netflix.astyanax.cql.CqlStatementResult; import com.netflix.astyanax.model.ColumnFamily; import com.netflix.astyanax.model.Rows; import com.netflix.astyanax.thrift.model.ThriftCqlRo...
30.4375
130
0.676934
81fcf10884e7ce096270818722d803d4ff1be6bd
4,006
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.currency; import java.util.Collections; import java.util.Set; import java.util.regex.Pattern; import com.opengamma.engine.ComputationTarget; import...
40.464646
191
0.790814
3137fdcbec62a7040e29fa3452a29e4687b6fa91
341
/* * Copyright information and license terms for this software can be * found in the file LICENSE that is included with the distribution */ package org.epics.pvdata.pv; /** * Class required by get/put PVUnionArray methods. * Get will set data and offset. * @author mse */ public class UnionArrayData extends Arra...
24.357143
67
0.739003
985f821860ac1a9a1ba6a99cd541aee31c18c5f2
10,638
/* * Copyright 2018 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 * * ...
25.510791
88
0.686219
e4950fde5a9cf303020e9302e2ab07131cda9633
3,556
/* * Copyright 2015 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.tableeditor; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assume.assumeFalse; import st...
39.511111
109
0.725534
1ededff8252b670de691d3f464075be89f53fc64
1,996
package lab04; import java.util.Objects; /** * Classe de representação de um aluno. * * @author João Pedro Santino Espíndula - 118110035 */ public class Aluno { /** * A matrícula do aluno. É usada como identificador do objeto. */ private final String matricula; /** * O nome do aluno. ...
25.265823
88
0.600701
165d24162a0be8a9dea0c77ed558c256a3c8ea54
5,745
package com.tsingning.registerlibrary; import android.content.Context; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import com.tsingning.registerlibrary.api.FaceApi; import com.tsingning.registerlibrary.listener.ModelInitListener; ...
30.558511
96
0.545518
9395cb8a78cdddebaab602fc1ac792c65132e96b
7,600
package com.chutneytesting.design.infra.storage.scenario; import static java.util.Arrays.asList; import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.AssertionsFo...
44.970414
153
0.753026
0ac359f1e14882a6f086d9c7e38c72e64f0954b0
5,255
/** * 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...
37.007042
175
0.655947
0fbaaf4e569e15f484835c9fa12071f0e361a5b0
918
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.mz.common.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.b...
23.538462
108
0.746187
2f2dd192a1ea9bce3e47be4f8d6b8d3b0306e271
7,197
package javassist; import javassist.bytecode.*; import javassist.compiler.*; public final class CtConstructor extends CtBehavior { protected CtConstructor(final MethodInfo a1, final CtClass a2) { super(a2, a1); } public CtConstructor(final CtClass[] a1, final CtClass a2) { this((Metho...
36.165829
256
0.572322
1ca4887f9c932ceb609726009bc5efbe446fb032
14,641
package net.nile.furniture.client; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.MinecraftClient; import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.render.block.entity.BlockEntityRenderDispatcher; import net.minecraft.client.rende...
53.630037
171
0.616761
1c3114b3491710c18983599e3b65bec6cc23052e
24,788
// Copyright 2000-2018 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 com.intellij.codeInspection.reference; import com.intellij.analysis.AnalysisScope; import com.intellij.codeInspection.GlobalInspectionContext; import com.intellij.codeIn...
35.76912
192
0.705422
7c274d9b5b19dd6eaead931dd97552dfb080f2c7
1,741
package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.common.CardsInControllerGraveCondition; import mage.abilities.decorator.ConditionalContinuousEffect; import mage.abilities.effects.common.c...
34.137255
119
0.734061
cfea051eed3667d886074d2a3b345d8646693e65
1,718
package top.auzqy.design.pattern.behavioral.strategy.eg1_1; import org.apache.commons.lang3.StringUtils; /** * @Description: 测试类 * @Author: zqy * @CreateTime: 2019-07-24 15:07 */ public class Test { public static void main(String[] args) { noDynamicUseCase(); System.out.println("============...
29.118644
98
0.678696
f73e0398b1c431f60291bcc0ab1e7b802d2e4ab2
421
package com.juny.cashiersystem.bluetooh; import com.juny.cashiersystem.bean.OrderBean; /** * <br> ClassName: PrintEvent * <br> Description: * <br> Author: Juny * <br> Date: 2018/5/28 23:07 */ public class PrintEvent { private OrderBean orderBean; public PrintEvent(OrderBean orderBean) { this.o...
18.304348
45
0.667458
c7afd82cf3c60bf6b43d633d6c529e836f06a8f1
1,253
/* * Copyright (c) 2020 gematik 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
31.325
75
0.698324
e41498d631f0d0f783efccfe7d225fe9549e7953
1,201
package de.tbressler.waterrower.io.msg.interpreter; import de.tbressler.waterrower.io.msg.AbstractMessage; import de.tbressler.waterrower.io.msg.AbstractMessageInterpreter; import de.tbressler.waterrower.io.msg.out.ResetMessage; /** * Interpreter for: * * Request the rowing computer to reset (PC -> S4/S5). * * R...
27.295455
122
0.718568
88e5309301dcc7d12bc783727c75f00cb967aa0b
7,352
package edu.rpi.tw.twks.client.direct; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import edu.rpi.tw.twks.api.Twks; import edu.rpi.tw.twks.api.TwksClient; import edu.rpi.tw.twks.api.TwksTransaction; import edu.rpi.tw.twks.api.TwksVersion; import edu.rpi.tw.twks.nanopu...
28.168582
134
0.648259
065c35c94a1eb5c01f765934465ffc9fb089a22d
5,478
/* * 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 daos; import dtos.MissionDetail; import java.io.Serializable; import java.sql.Connection; import java.sql.PreparedStatement; i...
34.670886
141
0.571924
b86f0345b01179e8f3be4e8350efe3fa82fa1c68
2,624
package com.cloud.doc.web; import java.io.File; import java.util.List; import com.cloud.doc.model.DocRecord; import com.cloud.doc.service.DocOperateService; import com.cloud.platform.Constants; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
28.835165
109
0.721799
0bb786dbac29c180642fa8ac271ee6ebf162f316
9,432
package me.devvy.leveled; import me.devvy.leveled.items.CustomItemManager; import me.devvy.leveled.enchantments.EnchantmentManager; import me.devvy.leveled.enchantments.gui.AnvilInterface; import me.devvy.leveled.enchantments.gui.EnchantingInterface; import me.devvy.leveled.items.GlobalItemManager; import me.devvy.lev...
44.28169
321
0.724661
5df00256324046973f933b099f8e9f84cfe6cf4a
1,365
package models; import java.util.Comparator; /** * PhraseComparator.java : This class implements Comparator and overrides compare method. * * @author Erik Anderson, Danny Lee, Reesha Rajen * @version 1.0 **/ public class PhraseWeightComparator<E> implements Comparator<E> { @Override /** * This m...
24.818182
92
0.603663
ff0e615806df65132be9e4a7c3a2cd3a76edb628
8,523
package sample; import org.eclipse.paho.client.mqttv3.*; import javax.xml.bind.DatatypeConverter; import java.nio.ByteBuffer; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Calendar; /** * Created by ali on 11/28/16. */ /**...
27.317308
149
0.614807
02dbd2ec10ed59154c60d8c9195955bf7f498ee4
78
package jeremypacabis.coinfo.api.models; public class User extends Model { }
15.6
40
0.794872
fe0790bb5dccac2382c690dfc6358f74ea2b4f2b
522
package dev.emi.shipit.registry; import com.google.common.collect.ImmutableSet; import net.fabricmc.fabric.api.object.builder.v1.world.poi.PointOfInterestHelper; import net.minecraft.util.Identifier; import net.minecraft.world.poi.PointOfInterestType; public class ShipItPOIs { public static final PointOfInterestT...
30.705882
126
0.802682
f5edbad773a0ab1c9ad7c67a72d5f007bd3c5135
4,117
package us.ihmc.commonWalkingControlModules.contact.particleFilter; import us.ihmc.euclid.Axis3D; import us.ihmc.euclid.referenceFrame.ReferenceFrame; import us.ihmc.euclid.tools.EuclidCoreRandomTools; import us.ihmc.euclid.tuple3D.Vector3D; import us.ihmc.graphicsDescription.Graphics3DObject; import us.ihmc.graphicsD...
34.024793
134
0.666262
351335ecd55bddc51c4007e8c80e813511a87696
1,049
package com.brainacad.module_2.LabWork_2_10; /** * Created by a.zemlyanskiy on 05.09.2016. * Open project MyShapes (from 2.8 labs). * Rewrite the class Shape to add new public static method called parseShape(String) * which returns new object as Shape (one of shapes, such as triangle, rectangle and so on) based on...
49.952381
177
0.754051
4a0b0c48eacb02901beb0028f9b2c9550c0edb34
5,536
/* * Copyright 2014 Fraunhofer IGD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
30.585635
107
0.682442
05a7790555ff14d755a85a385b0c1c9d64dbae07
558
package com.sleuth.core.socket.message; import io.netty.channel.Channel; /** 通道消息管理 * * @author Jonse * @date 2020年10月17日 */ public interface MessageManager { /** 服务端向指定频道广播消息 * * @param ch * @param message */ public abstract <T extends Protocol> void push(T message); /** 客户端向服务端发送消息 * @param <...
16.411765
76
0.655914
c17939b7846b70bc7fc6d1343af37ae3728dad4d
1,056
package org.treeleaf.web.spring.view; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.servlet.view.AbstractView; import org.treeleaf.web.Text; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; impo...
30.171429
144
0.739583
ff334ca6b6d8d5b7517306041f56d754e531e805
497
package net.fortuna.ical4j.connector.local; import net.fortuna.ical4j.connector.CalendarStore; import java.io.File; public class LocalCalendarStore extends AbstractLocalObjectStore<LocalCalendarCollection> implements CalendarStore<LocalCalendarCollection> { public LocalCalendarStore(File root) { ...
26.157895
89
0.756539
eda06984400abed8c308a7348c60ba52750cc52b
766
package me.suanmiao.ptrexample.ui.mvc.View; import android.content.Context; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import me.suanmiao.common.ui.mvc.View.BaseView; import me.suanmiao.ptrexample.R; /** * Created by suanmiao on 15/1/26. */ public class ExampleI...
22.529412
72
0.750653
6a6935308ce44a6faffb54c4e224b08ebc30d314
3,442
package com.jstarcraft.dip.lsh.experimental; import java.math.BigInteger; import com.jstarcraft.dip.color.ColorPixel; import com.jstarcraft.dip.lsh.HashBuilder; /** * Image Hash on HOG feature descriptor. Not ready yet. Most likely use a very * high bit resolution similar to how hog feature descriptors ar...
32.168224
81
0.610982
e57ad53c3d0a13f9e3cacd8e5d810e374023c87f
6,455
package suhockii.dev.weather.presentation.main; import android.support.annotation.IdRes; import android.support.annotation.NonNull; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; import java.util.Date; import java.util.Stack; import java.util.concurrent.TimeUnit; import javax...
39.359756
118
0.678389
a93c3db86e9bd55ae1fd2c444d5e8940bee16082
5,713
package org.softlang.tests; import java.lang.reflect.Field; import java.util.LinkedList; import org.softlang.company.*; import static org.softlang.features.Serialization.*; import org.junit.Test; import static org.junit.Assert.*; /** * We do a round-trip test for de-/serialization. * That is, first, we create an o...
27.075829
84
0.596009
ee82c0c97042633bb98537c40dc617aa8ea05b1f
2,372
/* * 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 ...
35.939394
105
0.736088
4b5085d849d1c53eeb2a8335ed53f12f7c7b017d
12,790
package hm.edu.life4alz.alexa.handler; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.HashMap; impo...
42.77592
116
0.769195
5c3542cdecf81afc9d3f78a05b4fe784f963d6bf
3,726
/* * Copyright (C) 2015 Domoticz - Mark Heinis * * 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...
35.826923
141
0.63285
3f399c8fca65e8185cff95e1524a958278e07f11
1,051
// @desc-start // Given a binary tree, flatten it to a linked list in-place. // For example, given the following tree: // // 1 // / \ // 2 5 // / \ \ // 3 4 6 // // The flattened tree should look like: // // 1 // \ // 2 // \ // 3 // \ // 4 // \ // 5 // \...
16.169231
61
0.488107
3b68b94729fde9066ff2711b0e35e7a039d11c24
4,190
import java.io.IOException; import java.io.Reader; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; import org.apache.commons.beanutils.BeanUtils; import org.supercsv.cellprocessor.ift.CellProcessor; import org.supercsv.exception.SuperCSVException; imp...
36.12069
121
0.718616
6c36e582382d2e17facbe8b8ef3c2f88f375b75c
17,752
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
43.403423
125
0.645617
5a0e0c5178939a5ddb62b61c1abd30a130ea25af
1,731
package ginb.skillxt.persistence.entity; import javax.persistence.*; import java.util.HashSet; import java.util.Objects; import java.util.Set; @Entity @Table(name = "skill") public class SkillEntity { @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.AUTO) int id; @Column(name = ...
21.37037
67
0.622184
da59e6a40293789c43f0663da2d546936250a316
980
package me.fen.atomgame; import me.fen.atomgame.gamemodes.DefaultGame; import me.fen.atomgame.gamemodes.Gamemode; import me.fen.atomgame.particles.Particle; import org.junit.Test; import java.util.List; import static me.fen.atomgame.parse.ParticleGenerators.generateList; import static org.junit.jupiter.api.Assertion...
31.612903
109
0.727551
1b1c4ee8ddcaf3c0c6ea695cbb2debeaf4cfd090
2,757
package com.devepos.adt.base; /** * Relevant (ADT) Object type for the Plugin * * @author stockbal */ public enum ObjectType { DATA_DEFINITION("C", IAdtObjectTypeConstants.DATA_DEFINITION, true), CDS_VIEW_FIELD("", IAdtObjectTypeConstants.CDS_VIEW_FIELD_TYPE), VIEW("V", IAdtObjectTypeConstants.VIEW_DEFINITIO...
27.57
97
0.713094
db78c064c44300fce589afc4192fe99d15f87405
8,404
package com.nepxion.discovery.platform.server.configuration; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * * @author Ning Zhang * @author Haojun Ren * @version 1.0 */ import org.mybatis.spring.annotation.M...
32.828125
102
0.765231
37b697e7e9045793250f02495a5cf916af8b3aee
1,577
package scats.utils; import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; impor...
26.283333
79
0.642993
5605f64b9df49985b605c62001757a444cddecb3
1,169
package com.ervin.myblog.aspects; import org.aspectj.lang.annotation.After; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.springframework.stereotype.Component; @Aspect @Component public class LoggingAspect { @Before("execution(public java.util.List<com.ervin.my...
32.472222
95
0.676647
894cc6bb6779d5567dbe9b59c8c40fec6e7fa0e9
6,946
package org.yzh.web.service.impl; import io.github.yezhihao.netmc.session.Session; import io.github.yezhihao.netmc.session.SessionManager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifie...
39.91954
371
0.651022
52c276968c9680184bcfe49731d68ac0eacb14e8
39,907
/* ### * IP: GHIDRA * * 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 writin...
31.250587
110
0.740246
f69e730b908cb8c585774712b27c943487bf29cd
28,553
/** */ package de.fhdo.lemma.data.intermediate.impl; import de.fhdo.lemma.data.intermediate.IntermediateAspectProperty; import de.fhdo.lemma.data.intermediate.IntermediateAspectPropertyValue; import de.fhdo.lemma.data.intermediate.IntermediateComplexType; import de.fhdo.lemma.data.intermediate.IntermediateDataField; ...
37.324183
268
0.750779
f3b8519a2df5a2801707e7b05276a551214b3031
974
package com.liferay.demo.portlet.action; import com.liferay.portal.kernel.util.ParamUtil; import com.liferay.util.bridges.mvc.ActionCommand; import com.liferay.util.bridges.mvc.BaseActionCommand; import javax.portlet.ActionRequest; import javax.portlet.ActionResponse; import javax.portlet.PortletException; i...
29.515152
68
0.790554
de064ac0b71f4c88f728a33e02b83fdaef632edc
5,242
package com.angkorteam.news.web; import com.angkorteam.news.dao.tables.daos.ObjectAttributeDAO; import com.angkorteam.news.dao.tables.daos.ObjectDAO; import com.angkorteam.news.dao.tables.daos.PageDAO; import com.angkorteam.news.web.boot.AppProperties; import com.angkorteam.news.web.factory.JavaMailSenderFactoryBean; ...
36.915493
95
0.751431
784bb11f302c646770062a0f7de26b9cd3cd0eae
38,369
package chocopy.common.codegen; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.function.Consumer; import java.util.regex.Matcher; import java.util.regex.Pattern; import chocopy.common.analysis.SymbolTable; import chocopy.common.analysis.types.Type; import chocopy.common.anal...
40.559197
80
0.592223
99b8de6ee235448e4ff9a0650c543fcc601fc370
4,319
package org.wso2.carbon.apimgt.rest.api.publisher.v1.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.*; import io.swagger.annotat...
26.660494
98
0.696226
82a829d28d991cf3898a777974d3ad448f473fac
1,430
/* * Copyright 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
33.255814
94
0.753147
bcd50e12269771145a03ae087cd31953400fa311
184
package entities.policies; import java.io.Serializable; @SuppressWarnings("serial") public class Country implements Serializable { public String CountryName; public String ISO2; }
18.4
46
0.804348
8f090c885bc0366b5469732b9fb04f73ed316648
5,463
package com.redmintie.matapack.installer; import java.awt.BorderLayout; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter;...
31.761628
103
0.658979
52e1a2dc59c4601a383b93e7141029a9d43cf19b
452
package com.dtkj.activities; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.dtkj.R; /** * Created by sword on 16/9/28. */ public class FlexBoxActivity extends AppCompatActivity { @Override protected void onCreate(@Nullable ...
22.6
66
0.75
9ab41691691816f8b718177b34168ba23950417d
1,496
package de.skuzzle.jeve; /** * Can be thrown by {@link Listener Listeners} or {@link ExceptionCallback * ExceptionCallbacks} to make the event dispatching explicitly fail with an * exception. All other kinds of exceptions will be swallowed by the * {@link EventProvider}. * <p> * Please note that the preferred wa...
26.245614
80
0.659759
129c92e9a8df9c8728daad6ce7110b3672a98f71
25,187
/** * generated by Xtext 2.22.0 */ package ucwriter.xtext.guimeta.ucdsl.uCdsl.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import ucwriter.xtext.gui...
31.17203
262
0.688689
2f7e5eb2909292d20e08ecf86beabae936790d1b
2,533
package org.oskari.util; import fi.nls.oskari.util.DuplicateException; import fi.nls.oskari.util.IOHelper; import fi.nls.oskari.util.PropertyUtil; import org.jsoup.Jsoup; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import java.io.IOException; import stat...
34.22973
189
0.621398
2e14a2cdee4cf77aa2b3e552c4ced81bd12ce286
12,008
import java.io.*; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import java.util.concurrent.TimeUnit; /** * Created by peta on 10.1.17. */ public class...
36.721713
160
0.515073
bd807dde2023d11ce48a16be642f852cd05b6b8a
264
package com.example.pontointeligente.api.services; import java.util.Optional; import com.example.pontointeligente.api.entities.Empresa; public interface EmpresaService { Optional<Empresa> buscarPorCnpj(String cnpj); Empresa persistir(Empresa empresa); }
18.857143
57
0.806818
4f57c4b5eef7be58c04f8878a80dd13c41e6b60a
210
package com.github.vzakharchenko.dynamic.orm.core.dynamic.schema; import com.github.vzakharchenko.dynamic.orm.core.dynamic.schema.models.Schema; public interface SchemaSaver { void save(Schema schema); }
26.25
78
0.804762
8445b6000b78b2b917045b7b2d81384b45055e47
5,684
package BUSINESS; import java.io.*; import java.security.*; import java.lang.reflect.*; import javax.crypto.*; import javax.crypto.spec.*; /** * Title: Business Services * Description: Clases encargadas de la aplicacion o logica de negocios * Copyright: Copyright (c) 2003 * Company: Entidad Financ...
34.035928
107
0.644968
35755169bbc717cd2174d19eb152f31e02232456
18,832
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.instrument.inflation; import java.util.Arrays; import org.apache.commons.lang.Validate; import org.threeten.bp.LocalDate; import org.three...
46.04401
197
0.744424
329beaf78ff8a336c5accac7bedbcb5d6ef82940
473
package com.github.alburnus.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.io.Serializable; @Entity @Data @AllArgsConstructor @NoArgsConstructor public cl...
18.192308
48
0.79704
d667e2724f294260b8e3288ccb6b6ed2df2b45f7
889
package aiss.model.photos.mediaitem; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import aiss.model.photos.filter.VideoProcessingStatus; @JsonIgnoreProperties(ignoreUnknown=true) public class Video implements Media{ private String cameraMake; private String cameraModel; private Float fps; priva...
21.166667
61
0.767154
759fdbb43dd0b5d74d12becf70d4008b283b7598
1,614
package com.belikov.valteris.cycle.order.model; import com.belikov.valteris.cycle.detail.model.Detail; import com.belikov.valteris.cycle.orderBicycle.model.OrderBicycle; import com.belikov.valteris.cycle.place.model.Place; import com.belikov.valteris.cycle.user.model.User; import java.util.List; import javax.persisten...
27.355932
66
0.758364
e4def51c43183c54c4685595a1efabccda596a08
1,829
/* * Copyright 2020 MariaDB Ab. * * 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 w...
29.5
93
0.740842
f88ab164311e8119e27e6c7eaa3376e5b4318942
22,713
/* PipelineFactory.java -- Copyright (C) 1999,2000,2001 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (...
31.371547
79
0.649012
fb5f9d4e764699a06ebca9986143f4c6f076e807
3,689
/* * 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 edu.hm.hafner.analysis.parser; import java.util.Optional; import java.util.regex.Matcher; import org.apache.commons.lang3.Str...
35.471154
131
0.572513
5236715a36025540d305aee33347f7b3a753f912
304
package org.utplsql.cli.reporters; import org.utplsql.cli.ReporterOptions; /** * Reporters implementing this interface will get their specific ReporterOptions before initialization * * @author pesse */ public interface ReporterOptionsAware { void setReporterOptions(ReporterOptions options); }
23.384615
102
0.796053
c291193bbe3c356baab397c9a29ded12e375c5f4
110
package de.jetrom.app.java17.record; public record InvalidParameterResult(String parameter, String value) { }
27.5
70
0.818182