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
8bf2bc90ab23b93574e4c9a1480bba0896bf5c04
2,968
// // Decompiled by Procyon v0.5.36 // package org.mudebug.prapr.reloc.commons.text.translate; import java.io.IOException; import java.io.Writer; import java.util.Collection; import java.util.Arrays; import java.util.EnumSet; public class NumericEntityUnescaper extends CharSequenceTranslator { private final En...
34.114943
229
0.512129
3a55cdbdd74cdd5acc941f777cd0f24b5481cb9d
516
/** * @(#)AutoFillPlugin.java, 10月 07, 2019. * <p> * */ package io.github.skycloud.fastdao.core.plugins.autofill; import com.google.common.collect.Lists; import io.github.skycloud.fastdao.core.plugins.PluggableHandler; import io.github.skycloud.fastdao.core.plugins.Plugin; import java.util.List; /** * @author y...
22.434783
64
0.73062
86e6aaabc11966eed592c47f36941c135722d9d2
1,294
package us.fjj.spring.learning.enableaspectjautoproxyusage.test3; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.*; import org.springframework.stereotype.Component; @Component @Aspect public class Aspect3 { @Pointcut("execution(* us.fjj.spring.le...
34.972973
105
0.689335
054900f801a88a3243b7077cca5fcc92880a3c72
4,419
package net.offbeatpioneer.intellij.plugins.grav.helper; import com.intellij.ide.fileTemplates.FileTemplate; import com.intellij.ide.fileTemplates.FileTemplateManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Condition; import com.intellij.openapi.vfs.LocalFileSystem; import com.in...
39.810811
131
0.7031
cd4c6106a5fcaea22c16af40620298e7b8e2b9a5
3,733
// VeriBlock Blockchain Project // Copyright 2017-2018 VeriBlock, Inc // Copyright 2018-2021 Xenios SEZC // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package org.veriblock....
35.894231
178
0.726761
31870716fa240ac2ad9c5ea45df10fdb58ad57a0
3,258
package com.jenkov.modrun; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.stream.Collectors; import java.util.zip.ZipEntry; import ...
27.15
75
0.621547
a865fc408052a8577ff609f59021be26f0804dee
2,718
package no.ks.eventstore2.ask; import akka.actor.ActorRef; import no.ks.eventstore2.command.Command; import scala.concurrent.Await; import scala.concurrent.Future; import scala.concurrent.duration.Duration; import scala.util.Failure; import static akka.pattern.Patterns.ask; import static no.ks.eventstore2.projection...
36.24
130
0.633554
7d3ced9b76fc9f92950e93dda7d751627b98f53c
1,202
package gov.nasa.jpf.symbc.mdb.mongo_mock.client; import com.mongodb.ServerAddress; import com.mongodb.ServerCursor; import com.mongodb.client.MongoCursor; import gov.nasa.jpf.symbc.mdb.mongo_mock.client.model.MFilters.MFilter; import gov.nasa.jpf.symbc.mdb.symbolic_collection.InternalDataCursor; public class MMongo...
23.568627
71
0.772879
892f95d0cdee4ba14b4ae4ac4b4f767a319a9c12
3,374
package fr.inra.urgi.faidare.domain.datadiscovery.criteria; import fr.inra.urgi.faidare.domain.criteria.base.PaginationCriteriaImpl; import fr.inra.urgi.faidare.domain.datadiscovery.data.DataDiscoveryDocument; import fr.inra.urgi.faidare.elasticsearch.criteria.annotation.CriteriaForDocument; import fr.inra.urgi.faidar...
25.755725
104
0.694724
b72c885d3208e3a65a8ad98764acfec055fd6e30
2,835
/* * 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...
36.818182
115
0.727337
0eceda52f17a082f5aa804b38e6998bfe0c17208
1,904
package com.gempukku.swccgo.cards.set8.dark; import com.gempukku.swccgo.cards.AbstractImperial; import com.gempukku.swccgo.cards.conditions.ArmedWithCondition; import com.gempukku.swccgo.common.*; import com.gempukku.swccgo.filters.Filters; import com.gempukku.swccgo.game.PhysicalCard; import com.gempukku.swccgo.game....
46.439024
194
0.764181
e2eab5221184a04522757297bd407ce702a4ba4e
3,058
package com.lti.model; import java.io.Serializable; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax....
23.705426
104
0.745912
c97033e3587d2c47ec3270a939c3acf700ee6289
3,229
/* * Copyright 2021 A2S * * 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 applicable law or agreed to in writ...
46.128571
102
0.767111
7801c6e1edd4891ccead5150a9068226b53d0d34
1,238
package cn.edu.jxau.dbutils; import cn.edu.jxau.lang.Customer; import cn.edu.jxau.lang.JDBCUtils; import org.junit.Test; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.util.Calendar; import java.util.List; import java.util.TimeZone; public class BeanProcessorTest { ...
31.74359
95
0.713247
6b0bd27db8ca9e0e06ec6adf549da282a43326fd
5,130
package net.ssehub.ai_perf; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Type; import java.nio.charset.StandardCharsets; import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; im...
33.096774
114
0.644444
e594439ef07c0075fbf18495e7f6c24b6f291d15
5,360
/******************************************************************************* * Copyright (c) 2015 * * 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 withou...
37.222222
150
0.672761
feb3eeaad7588075526a83fd0c43e2206c850ca6
651
package de.hpi.xforms.generation; import java.io.File; import javax.servlet.ServletContext; import javax.xml.transform.Source; import javax.xml.transform.URIResolver; import javax.xml.transform.stream.StreamSource; public class XsltUriResolver implements URIResolver { String base_path; public XsltUriResolver(Ser...
25.038462
56
0.760369
c6c55b29204f9160babc310937eaf403eaf0978c
2,128
package org.dimdev.dimdoors.world.pocket.type; import net.fabricmc.fabric.api.util.NbtType; import net.minecraft.nbt.CompoundTag; import org.dimdev.dimdoors.world.level.registry.DimensionalRegistry; import org.dimdev.dimdoors.world.pocket.PocketDirectory; public class IdReferencePocket extends AbstractPocket<IdRefere...
25.95122
122
0.777726
6c3bee24edd65614cf67dc8795abc87a05468a8b
3,046
/* * 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...
38.075
103
0.74327
34a2ce243fafce07d35ee5f8b6a0273372da4253
665
package com.pr.sepp.notify.fetch; import com.github.pagehelper.PageInfo; import com.pr.sepp.common.config.factory.CommonFactory; import com.pr.sepp.common.websocket.model.MessageType; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframew...
31.666667
85
0.8
591c571bf246eb665950a191aae75c89db4121b1
3,717
/** * Copyright 2020-2021 JinlongLiao * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law...
25.285714
102
0.683078
035d75cb14d52d9386e474373715476d20ba5b12
387
package com.alamkanak.weekview.sample; /** * Created by user on 03/12/2015. */ import android.os.Bundle; import android.app.Activity; public class NotificationView extends Activity{ @Override public void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState);...
25.8
56
0.664083
f90183fb508e17048721229249e24cd16a2d7805
189
package somepackage; import static java.lang.annotation.RetentionPolicy.*; import java.lang.annotation.Retention; @Retention(RUNTIME) public @interface FooNums { FooNum[] value(); }
17.181818
53
0.767196
0045dfb0fd859aa3d5595b0ede3fdc748d9ab735
240
package com.at.designpattern.decorator; /** * @author zero * @create 2020-11-18 21:29 */ public class Milk extends Decorator { public Milk(Drink drink) { super(drink); setDes("Milk"); setPrice(2.00); } }
17.142857
39
0.6
687b6a1abc11a1b8f752dd450682cdf6594fe8fb
414
package com.buleqr.dao.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.buleqr.dao.QrCodeUserFileDao; import com.buleqr.mapper.QrCodeUserFileMapper; import com.buleqr.pojo.QrCodeUserFile; import org.springframework.stereotype.Repository; @Repository public class QrCodeUserFileDaoIm...
34.5
123
0.859903
b73874ea3ae668cf50a53d62079024d415b7a302
2,585
package org.openecomp.sdc.be.info; import org.junit.Test; import org.openecomp.sdc.be.model.ArtifactDefinition; public class ArtifactDefinitionInfoTest { private ArtifactDefinitionInfo createTestSubject() { return new ArtifactDefinitionInfo(new ArtifactDefinition()); } @Test public void testGetUniqueId() t...
21.188525
62
0.759381
62b80bbf6c0f016c13969d54ce2341b157fe26f2
43,762
/* * Copyright 2020 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
33.714946
100
0.671747
fb2bebba9542ab1a8bfe2a16ef939bd2ffe01486
794
package amazonsqsconnector.usecases; import com.mendix.core.Core; import com.mendix.core.CoreException; import com.mendix.logging.ILogNode; import com.mendix.systemwideinterfaces.core.IContext; public class MessageFetcher implements Runnable { private ILogNode logger; private String prizeRequestFetchingMicroflow;...
25.612903
79
0.769521
1e218e743b3416aff832d98de74f4789faad1242
373
package eu.daiad.web.model.meter; import java.util.ArrayList; public class WaterMeterForecastCollection { private ArrayList<WaterMeterForecast> measurements; public void setMeasurements(ArrayList<WaterMeterForecast> value) { measurements = value; } public ArrayList<WaterMeterForecast> getMe...
20.722222
70
0.737265
4cbffaf507c0c379f3b18f5e0a26aeca00bba05b
3,535
package com.ruverq.mauris.utils; import com.ruverq.mauris.Mauris; import org.bukkit.NamespacedKey; import org.bukkit.block.Block; import org.bukkit.persistence.PersistentDataContainer; import org.bukkit.persistence.PersistentDataType; // stealthily stole from Septicuss https://github.com/Septicuss public class DataCo...
35.707071
104
0.687694
fabd51f38dbddd76182d83305e1854ec6b974201
4,503
package io.ebean; import io.ebean.bean.EntityBean; import io.ebean.bean.EntityBeanIntercept; import io.ebeaninternal.server.core.DefaultBeanState; import org.tests.model.embedded.EMain; import org.tests.model.embedded.Eembeddable; import org.junit.Assert; import org.junit.Test; import java.util.Map; import java.util....
33.110294
101
0.741728
6c07e44ee28e27fb98bf9351fa770b02133090e7
6,946
/*- * #%L * anchor-plugin-ij * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * 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 wit...
35.804124
183
0.618917
ae56b40ba2101d2887139d19b29a150756db92f9
233
package com.tencent.shadow.test.cases.plugin_main.fragment_support; public class XmlAddNormalFragmentTest extends XmlAddFragmentTest { @Override protected String fragmentType() { return "TestNormalFragment"; } }
25.888889
67
0.763948
847aa3e4d82f48064f55780a4631496d5aed325f
232
package jsheets.runtime.discovery; import com.google.common.net.HostAndPort; public interface ServiceAdvertisementChannel { ServiceAdvertisement advertise(String serviceId, HostAndPort address); void open(); void close(); }
23.2
72
0.801724
7fd6ab504c050f0bfdee16ce019e99880f77dc04
3,458
/** * Copyright 2016 William Van Woensel 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 ...
32.317757
109
0.749855
4fe756fa0fca781d3173113cc40dfd2d1bcc3392
951
package snownee.kiwi.network; import java.util.function.Supplier; import net.minecraft.entity.player.ServerPlayerEntity; import net.minecraft.network.PacketBuffer; import net.minecraftforge.fml.network.NetworkEvent; import net.minecraftforge.fml.network.PacketDistributor; import net.minecraftforge.fml.network.PacketD...
27.171429
79
0.721346
b69d1745ba97595b444be146a93e5f75dc5df04c
6,748
/* Copyright 2009 - 2010 The Stajistics Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
34.783505
108
0.668791
1d20883f670b780ce3f7c4cab32b911029c64783
3,166
/* * Copyright 2018 StreamSets Inc. * * 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...
29.045872
85
0.734049
5d95171a025b444f133ef71473357376fa13daf4
428
package service; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Rc_TitleAction implements CommandProcess { @Override public String requestPro(HttpServletRequest request, HttpServletRespons...
21.4
83
0.806075
a4fcb8943b0d9791351ec31e41e7a816be34c70b
39,987
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com) * * 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 ...
37.511257
147
0.703479
ca67e290b0d7168039094bbbdccca377f4fdecf2
3,509
package com.cy.http;//package com.cy.sdkstrategy_master.http; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import java.io.InputStream; import java.util.HashMap; import java.util.Map; /** * Created by Administrator on 2018/12/21 0021. */ public abstract class BaseRequestGenerator<T extend...
24.368056
101
0.573098
26fff2d99659a7d04e5fba72c2098b6c6aeafc21
2,282
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
36.806452
100
0.723488
90c4ad8f52067dce3f752a96a1c9922512ecbfca
153
package com.vsked.common.model; public class Account { private AccountId accountId; private String accountName; private String password; }
17
32
0.745098
62e8b8cf15381a03a22cba2275b8f85ece300ba4
4,403
/* * Copyright 2020 original 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 agreed to...
41.149533
179
0.693845
708f3adfa8c36a0bed4c6bdf497c185cc61841bf
1,008
package org.jbei.ice.lib.bulkupload; import org.jbei.ice.lib.dao.hibernate.BulkUploadDAO; import org.jbei.ice.lib.dao.hibernate.HibernateUtil; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; /** * @author Hector Plahar */ public class BulkUploadDAOTest { pr...
20.16
60
0.685516
8bb1a14313ead326449aa26eb5d0951444a5f787
3,699
package groove.gui.action; import javax.swing.Action; import groove.explore.AcceptorValue; import groove.explore.Exploration; import groove.explore.ExploreType; import groove.explore.StrategyValue; import groove.grammar.model.GrammarModel; import groove.gui.Icons; import groove.gui.Options; import groove.gui.Simulato...
32.734513
95
0.634225
8db29d1d0b12190e1a3ecc5077e6f98d5bef3f41
129
package net.openhft.chronicle.wire; class Outer1 { public interface InnerInterface { void x(String message); } }
18.428571
37
0.682171
dad1dcf9c14abd3125720d6aa5e62d50b40a9f39
4,858
package com.keqi.springbootredislettuce.util; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import org.springframework.dao.DataAccessException; import org.springframework.data.redis.core.RedisOperations; import org.springframework.data.redis.core.SessionCallback; import or...
22.915094
94
0.656031
9359bed40b42cf8b9fbe19a2f5461918d8fb0c1a
129
package com.udacity.gradle.jokes; public class JokeSmith { public String getJoke() { return "funny joke from JokeSmith"; } }
18.428571
37
0.736434
a23c6784c4ca5328d683bf4c54cffe5fd97da474
2,096
package com.example.business.concretes; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.example.business.abstracts.ForeignLanguageForCvService; import com.example.core.utilities.results.DataResult; import com.exa...
33.806452
115
0.804389
8b75dc57f1e01a3a7ae6cdbccefc02a25fbe3e19
350
package com.youngdatafan.portal.common.project.entity; import lombok.Getter; import lombok.Setter; /** * 项目. */ @Setter @Getter public class DpPortalProjectUserGrant { /** * 项目编号(PK). */ private String projectId; /** * 用户编号(PK). */ private String userId; /** * 操作模式. */ ...
12.962963
54
0.597143
2e3bdf6b55a3b34cf7b9abc05010ea228ba0c622
320
package br.com.amigotradutor.projetos.repository; import java.util.List; import br.com.amigotradutor.projetos.model.Usuario; public interface UsuarioRepository extends PessoaBaseRepository<Usuario> { List<Usuario> findByPapeisId(long papelId); List<Usuario> findByEmailOrApelido(String email,String apelido); }
24.615385
74
0.81875
02b7476f22f6f6f99b779a0b91bd54c4c9f22ad4
743
package com.example.sensores; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.widget.Button; public class Activity4 extends AppCompatActivity { WebView imagem; Button btnVoltar; @Override prot...
27.518519
60
0.722746
1abed2a8625c2ef429e5f8f15a0dbb1c12e740b0
506,922
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.roryhool.videoinfoviewer; public final class R { public static final class anim { public static final int abc_fad...
58.951273
192
0.662293
6b382f8c53792184cf667842a2813c3925645b4c
1,915
package ir.fassih.workshopautomation.manager; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.InitializingBean; import org.springframework.stereotype.Component; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path...
27.753623
95
0.627154
5f752c16b0219789443bb7501d8e88335a85593d
7,256
/** * Copyright (c) 2016 eBay Software Foundation. All rights reserved. * * Licensed under the MIT license. * * 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, in...
36.646465
136
0.601158
e3212f0153906abb46732caf56596990c5dd4785
8,687
/*- * * Copyright 2016 Skymind,Inc. * * * * 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 * * * * Unl...
38.955157
129
0.590422
374393eae169667a971e54457411e0558020be36
4,265
/* * 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 co.edu.uniandes.csw.mascotas.ejb; import co.edu.uniandes.csw.mascotas.entities.MascotaEntity; import co.edu.uniandes.csw.masco...
38.080357
130
0.643845
c70304429fb799f1ba61a7ad831875c7e2962eac
1,481
package lib4926.util.math; public final class GalacMath { /** * Applies the specified deadband to the output passed in. * * @param output the output value * @param deadband the deadband -- make sure this is positive! * @return output if greater in magnitude than the deadband, otherwise...
30.22449
84
0.610398
afd27e469de13801f949128d2670464b3f802744
8,753
package com.suxsx.firstservicev3; //import android.app.Fragment; import android.support.v4.app.Fragment; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.But...
41.483412
123
0.605621
cb6b188b97b5b0d00ef17faa5e5cb24780f23198
329
package Basics.Lessons; //base string operations(concatenation) import static java.lang.System.*; public class Fifth { static String str1 = "Java"; static String str2 = "Hello"; static String str3 = str2 + " " + str1; public static void main(String[] args) { out.println(str3); /* Hello Java */...
23.5
44
0.647416
72d9ad8ebd5073f1567edfb1378b1e35f4d32ec8
255
public class Teste1 { public static void main(String[] args) { Carro c1 = new Carro(); Aviao a1 = new Aviao(); c1.abastecer(30); c1.ligarMotor(); a1.abastecer(30); a1.ligarMotor(); } }
19.615385
44
0.498039
1c242d910b2d10b01b5bc541232d447bbf934135
1,416
package edu.berkeley.cs.amplab.carat.android.models; public class MyDeviceData { private long lastReportsTimeMillis; private long freshnessHours; private long freshnessMinutes; private String caratId; private String batteryLife; public MyDeviceData() { } public void setAllFields(long lastReportsTimeMillis, l...
23.6
135
0.782486
8fde6b02c7d1bce7d7935d5958fe7b777d6d2efe
2,044
package cz.metacentrum.perun.core.api; import java.util.Objects; /** * Group obtained from an extSource with the name of its parent in the external source. * It can be then created as a group of a virtual organization in Perun. * * @date 8/30/17. * @author Peter Balcirak peter.balcirak@gmail.com */ public class...
25.234568
89
0.68591
6836eb6f79283ca4d56dc83b033d72357384665a
4,100
/* * Copyright (C) 2017 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.e2e.serenity.web.datab...
33.606557
98
0.777561
72cdbf1700d930fdc665ae7440aface2e16c257d
348
package com.aouin.springbootcrud.service.mapper; import com.aouin.springbootcrud.model.Checkout; import com.aouin.springbootcrud.service.dto.CheckoutDTO; import org.mapstruct.Mapper; @Mapper(componentModel = "spring") public interface CheckoutMapper { Checkout toEntity(CheckoutDTO checkoutDTO); CheckoutDTO ...
24.857143
56
0.807471
b3d9899c26d09a275305b44623aee46c2d0adf93
14,624
/* * @(#)$Id$ * * Copyright 2008 by the JWebMail Development Team and Sebastian Schaffert. * * 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-...
30.090535
110
0.572962
4d1159e8035b0746f739afaeb4677b5fa2c4bdc8
2,427
/* * File: StoppableAlgorithm.java * Authors: Justin Basilico * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright September 25, 2006, Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000, there is a non-exclusive li...
32.797297
81
0.661722
b6a36aff09b94749101facf9d1e75ce3f37af62b
13,615
package uk.gov.justice.digital.delius.service; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import uk.gov.justice.digital.de...
49.689781
164
0.705766
fe58f73dec06a8b96e3755b8e3efce2c54678565
11,952
/* * 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...
40.653061
117
0.547189
a9e116615b9e8bbf2607dadc492434739a158afa
103
package com.adoit.sdk.retry; public interface RetryPolicy extends RetryCondition, BackoffStrategy { }
20.6
70
0.825243
e5ccf27cb189bb834a3a1ec428a9b16f55e4e8e7
4,775
/* * Copyright 2011-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 applica...
35.902256
100
0.673927
2da1d432b27c7567facc13892756a6c01313323d
931
package cn.elvea.platform.samples.jpa; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.tes...
26.6
70
0.792696
aa1974f0c677693b050c61deffd550105f3106d3
318
package Modelo; /** * * @author JACIEL */ public class Configuracion { protected final String URL="jdbc:mysql://localhost/filmoimagen"; protected final String DRIVER="com.mysql.jdbc.Driver"; protected final String usuario="root"; protected final String password="root"; }
19.875
69
0.654088
dffc4f01f844769a21f95a55aab9a0ac586fc4c7
1,084
package com.github.tongjisserollman.iceamusementpark.flyweight; import com.github.tongjisserollman.iceamusementpark.util.CallStackLogInfo; import com.github.tongjisserollman.iceamusementpark.util.CallStackLogger; import java.util.HashMap; /** * @author: hq * @description: 实现FlyWeight所必需的特殊工厂类。该类仅在生产每个类别的第一个实例时调用构造...
27.794872
80
0.573801
bd795568e7fd3bd889162d276922b7d9879e36e3
590
package com.sqa.chn.modules.task.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.sqa.chn.modules.task.entity.RunningCaseStep; import com.sqa.chn.modules.task.mapper.RunningCaseStepMapper; import com.sqa.chn.modules.task.service.IRunningCaseStepService; import org.springfram...
32.777778
136
0.810169
9d9befeb9e88d1f6db55b89b208056caf71f013d
568
package org.pescuma.buildhealth.cli.commands.add.staticanalysis.console; import io.airlift.airline.Command; import org.pescuma.buildhealth.cli.BaseBuildHealthFilesCliCommand; import org.pescuma.buildhealth.extractor.staticanalysis.console.GccConsoleExtractor; @Command(name = "gcc3-console", description = "Add...
33.411765
103
0.792254
bbbc7ea9eb738bb3657c35ef7ba9dd550bb3b0f2
2,489
package com.foxconn.iot.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.UniqueConstraint; import org.springframework.data.jpa.domain.support.AuditingEntity...
16.162338
111
0.613499
118e5bae46c010c99cb45c894e2d8351aad53df5
375
package com.lanking.uxb.service.temp.api; import java.util.List; import com.lanking.cloud.domain.type.Biz; import com.lanking.cloud.domain.yoomath.clazz.HomeworkClazz; public interface CoinsGrowthLogHandle2Service { void save(HomeworkClazz clazz); Long logCount(int ruleCode, Long userId, Biz biz, Long...
22.058824
64
0.757333
f40ca12d10060a73fc922fd8a780d0599ed745df
438
package com.github.wz2cool.mdqtest.mapper; import com.github.wz2cool.dynamic.mybatis.mapper.DynamicQueryMapper; import com.github.wz2cool.mdqtest.model.entity.table.Product; /** * \* Created with IntelliJ IDEA. * \* User: Frank * \* Date: 8/15/2017 * \* Time: 10:36 AM * \* To change this template use File | Sett...
27.375
68
0.723744
c9b35d3f75837eb17d50e7937a3f0cd1016ef38e
952
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.logic.time; import org.terasology.engine.core.Time; import org.terasology.engine.entitySystem.entity.EntityRef; import org.terasology.engine.entitySystem.systems.BaseComponentSystem; import org.terasology.e...
38.08
74
0.818277
36f2401e788f2ff39cd6f0a61ff4b3a1f544c674
221
package com.leyou.seckill.mapper; import com.leyou.item.pojo.Sku; import org.springframework.stereotype.Repository; import tk.mybatis.mapper.common.Mapper; @Repository public interface SkuMapper extends Mapper<Sku> { }
22.1
49
0.81448
629c042a4f112db7eddcb5385768633041cbf0b0
1,221
package ru.job4j.function; import org.junit.Test; import java.util.List; import java.util.function.Predicate; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; public class SearchFolderTest { @Test public void whenFilterSize() { List<Folder> list = List.of(...
30.525
71
0.568387
b3de0847306eef249953781b92c38322a6e5f583
195
package de.as.roadRunners.sessions; public interface SessionManager { public Object get(String key); public void put(String key, Object o); public void delete(String key); }
16.25
42
0.702564
44cd5129577a3c23bbfe8bc2e91cb1cd1874897f
4,554
/* Copyright (c) 2017 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
39.258621
89
0.681599
e02c6d4fefe707211d843f1212d30fa8b1b11a8a
18,455
/******************************************************************************* * Copyright 2013 Università degli Studi di Firenze * * 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 * ...
35.152381
82
0.696397
80e729d0707eadf03c539a094d0ec51fc41e7b75
150
package be.intecbrussel.services; import be.intecbrussel.model.Specialty; public interface SpecialtyService extends CrudService<Specialty, Long>{ }
21.428571
71
0.833333
1777b1a2dce3161ee3bb75267b9d80b1c14cce15
602
package com.bitsplease.skillslist_server.restservice.model; import com.bitsplease.skillslist_server.data.Skill; public class SkillUser { public final String username; public final Skill skill; public SkillUser() { this.username = null; this.skill = null; } public SkillUser(String...
20.758621
59
0.576412
1f5c76cdbe810cc50b0427feef6fda7d0f578fec
780
package ru.job4j.lambda; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; import java.util.Arrays; public class FunctionsTest { @Test public void linearFunction() { Functions functions = new Functions(); assertThat(functions.linearFunct...
27.857143
118
0.674359
f5bdc9fddaa27424f71faf47265985735c9ab4b6
2,781
package org.jxls.command; import org.jxls.area.Area; import org.jxls.area.XlsArea; import org.jxls.common.CellRef; import org.jxls.common.Context; import org.jxls.common.Size; import org.jxls.util.Util; /** * Implements if-else logic * * @author Leonid Vysochyn */ public class IfCommand extends AbstractCommand {...
26.740385
133
0.625315
24434f1bdcae298ac7304d1cebd365f2bf9c918e
5,864
package com.ocdsoft.bacta.swg.server.object.tangible.ship; import com.google.inject.Inject; import com.ocdsoft.bacta.swg.server.object.tangible.TangibleObject; import com.ocdsoft.bacta.swg.server.object.template.server.ServerObjectTemplate; import com.ocdsoft.bacta.swg.shared.container.SlotIdManager; import com.ocdsof...
59.836735
188
0.805593
1c0dad66e65be6145bb8de78ebccc7598cc07cac
60
package Json.task3305; public class Car extends Vehicle { }
15
34
0.783333
cf1abc006a13cbbb99f03972ad88362fbc1981a4
427
package edu.gemini.robot; public class WeelRobot implements Robot { public void forward(int distance) { System.out.println("WeelRobot forward distance:" + distance); } public void turnLeft(int angle) { System.out.println("WeelRobot turn to the left angle:" + angle); } public void...
23.722222
73
0.660422
b162e706e2c2afab3f303634a9038fcc90598fd9
2,093
package com.leetcode.hashtable.medium; // Given an array of integers nums and an integer k, return the number of unique // k-diff pairs in the array. // // A k-diff pair is an integer pair (nums[i], nums[j]), where the following are // true: // // // 0 <= i, j < nums.length // i != j // a <= b // b - a == k // // // //...
20.93
104
0.569517
f1396cec0d2a4cd0696d0778a07d443c2bf65027
1,397
//@@author shutingy reused package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseFailure; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseSuccess; import...
34.925
113
0.758053
62682044324c0fff28844a96adfff1c0e464d820
4,212
package com.farukydnn.weatherplus.adapter; import android.graphics.Color; import android.support.v7.widget.RecyclerView; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ForegroundColorSpan; import android.view.LayoutInflater; import android.view.View; import android.view.V...
36.310345
109
0.730769
69f972a70cfae7530438913e0e7cf7920d3f742d
2,758
package com.mvvm.view.activity; import android.arch.lifecycle.ViewModelProviders; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.Toast; import com.google.ads.consent.ConsentForm; import com.google.ads.consent.ConsentInforma...
36.773333
197
0.71066
1e670e7da6ccaea96789a76a6cb0827d9b47dba0
3,528
/* * Copyright 2015 Tawja. * * 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...
33.923077
109
0.661848
5e5c5d77460e90c9ff61e2afe4e42821abf449b1
2,524
/* * Copyright ConsenSys AG. * * 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...
24.990099
118
0.740095
3b9d6d394d0cdbf2f63ea9f9f2ed0414a0aed240
9,683
package org.openestate.is24.restapi.xml.realestateproject; import java.io.Serializable; import java.net.URI; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotatio...
39.361789
231
0.621089