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
6b95572b99e76641e0102c6115faf958bed39588
11,384
package com.wenyu.apt.impl; import com.wenyu.apt.annotations.MvpInject; import com.wenyu.apt.annotations.MvpModel; import com.wenyu.apt.annotations.MvpPresenter; import com.wenyu.apt.annotations.MvpView; import com.wenyu.apt.element.InjectElement; import com.wenyu.apt.element.Clazz; import com.wenyu.apt.element.Inject...
40.084507
184
0.64617
ace1de130dac6cb2f453574cce3eadde58d2a97d
1,987
package mage.cards.i; import java.util.UUID; import mage.MageInt; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.continuo...
35.482143
114
0.718168
00127dee3f5bed6bfe72e5c76cd448ee80140274
4,373
package ru.test.project.account.balance.service.client.service; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Value; import org.springframe...
33.128788
97
0.643494
60622b0fa672e0e9570703e40c8ac89fd1e89a77
3,500
package il.org.spartan.plugin.old; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.jdt.core.dom.*; import org.eclipse.ui.*; import static il.org.spartan.spartanizer.ast.navigate.wizard.*; import il.org.spartan.plugin.*; /** A quickfix generator for spartanization refactori...
35.353535
105
0.673143
e50284e6b6c86dc8f410788c9ffb2baaf5bcd22b
463
package yhao.micro.service.surety.erp.org.apilist.form.org; import io.swagger.annotations.ApiModelProperty; import yhao.infra.apilist.validate.IdForm; /** * Created by yoara on 2018/7/31. */ public class OrgPropertyChangeForm extends IdForm { @ApiModelProperty(value = "设置城市公司状态") private int cityOrg = -1; ...
22.047619
59
0.695464
95e2c5903e96ea86baec4e0c0913b567569cc3e2
219
package com.bankonet.lib; @SuppressWarnings("serial") public class DebitException extends CompteException { //att //constructeurs public DebitException(){} public DebitException(String msg){ super(msg); } }
15.642857
53
0.744292
5cec437c7a4be6735f9a948982d0e9b9b6315e5c
2,964
package com.lesson.stock4j.common.mapper; import com.lesson.stock4j.common.entity.StockListEntity; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.InsertProvider; import org.apache.ibatis.annotations.Select; import java.text.MessageFormat; import java.util.List; import java.util.Map;...
38
362
0.597841
9fbb040941d19e1c52976a6af27dc5bb5f0dfe16
211
//Find the file separator used by your installed OS public class prog1 { public static void main(String args[]) { System.out.println("System File Separator is : "+System.getProperty("file.separator")); } }
23.444444
89
0.729858
2f4ec5683e62a03c8f02f3940da79be38c3c8593
3,724
package com.manos.prototype.finder; import java.util.List; import org.hibernate.query.Query; import org.hibernate.search.FullTextSession; import org.hibernate.search.Search; import org.hibernate.search.query.dsl.QueryBuilder; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
34.165138
114
0.752417
853069eb8a5a85ff8a35896794b7bae972ecef8d
3,011
/* * Original author: Daniel Jaschob <djaschob .at. uw.edu> * * Copyright 2018 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
31.041237
114
0.758552
3b2a6a306c6d2f5af582f9d67e80a4e9dbca9a1e
3,391
package tech.magratheaai.extensionapi.aux.social_network.attachment_template; import lombok.*; import tech.magratheaai.extensionapi.annotation.Required; import java.io.File; import java.io.Serializable; import java.net.URI; import java.util.List; /** * @author NikitaBolshakov * @version 1.0 */ @Builder @Getter @T...
19.601156
77
0.524624
c6d508c2d3c2f5634c3529a8391bf741600f1862
3,084
package net.myacxy.jgsq.models; import com.google.gson.GsonBuilder; import com.google.gson.annotations.SerializedName; import net.myacxy.jgsq.helpers.ServerResponseStatus; import net.myacxy.jgsq.protocols.BaseProtocol; import java.util.ArrayList; import java.util.TreeMap; public class GameServer { protected tran...
25.7
97
0.642672
b185cfd7b2683857c3f2795801b7e32b982bc147
2,624
package models.askde; import java.util.Date; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import io.ebean.Finder; import models.raven.BaseModel; import play.data.format.Formats; @Entity public class ZillowFeedHistory extends BaseModel { public static Finder<Long, Zillo...
23.854545
92
0.769055
1cc87ab6ca611bd2ff4583d770afab9386ece5e4
387
package pl.springboot.crud.repository; import org.springframework.data.jpa.repository.JpaRepository; import pl.springboot.crud.model.User; import pl.springboot.crud.model.VerificationToken; public interface VerificationTokenRepository extends JpaRepository<VerificationToken, Long> { VerificationToken findByTok...
25.8
94
0.824289
22c8189696c3d6e2b986c6bc2ccbcc3ff6a71c53
4,072
package ee.ria.tara.configuration; import com.fasterxml.jackson.databind.ObjectMapper; import ee.ria.tara.model.LoginRequest; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org...
41.131313
123
0.746316
52ae0c6e2754e61cef9f29adaae6b8995c37f7ca
2,812
package com.joymain.jecs.pm.service; import java.util.List; import java.util.Map; import com.joymain.jecs.pm.model.JpmMemberConfig; import com.joymain.jecs.service.Manager; import com.joymain.jecs.sys.model.SysUser; import com.joymain.jecs.util.data.CommonRecord; import com.joymain.jecs.util.data.Pager; import com.jo...
26.280374
97
0.67532
f46340761e894075276cbb0bd8330783dc00a8e0
477
package thelm.jaopca.api.blocks; import net.minecraft.item.Item; import net.minecraft.util.IItemProvider; import thelm.jaopca.api.materialforms.IMaterialFormInfo; public interface IBlockInfo extends IMaterialFormInfo<BlockMaterialForm>, IItemProvider { BlockMaterialForm getBlock(); ItemBlockMaterialForm getItemBl...
20.73913
89
0.794549
ee8cdfbe3c73bf53531680b097bf29ac87a2e091
2,652
/** * */ package org.ideaproject.util; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import org.ideaproject.model.StopTime; import org.ideaproject.model.Trip; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** * @author dirk ...
30.136364
73
0.768854
4a33247fdb6a421a776d4e6c02c8237271b33d87
478
package com.github.wesleyegberto.ordershipment.business.order.shipping.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import com.github.wesleyegberto.ordershipment.business.order.shipping.entity.Order; @Service public class OrderShipping { private st...
28.117647
83
0.801255
ee30c0aabd9f8b39178ab1f76c388b4007e88333
945
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package io.github.mmm.validation.collection; import java.util.Set; import io.github.mmm.validation.AbstractValidator; import io.github.mmm.validation.main.ObjectValidatorBuilder; /** * Th...
29.53125
112
0.708995
e16900c9fe0f477000ea7c233af953fc6500b806
3,068
package com.github.reoseah.treehollows; import com.google.gson.*; import com.mojang.datafixers.util.Pair; import com.mojang.serialization.Codec; import com.mojang.serialization.JsonOps; import com.mojang.serialization.codecs.RecordCodecBuilder; import net.fabricmc.loader.api.FabricLoader; import java.io.BufferedReade...
38.835443
145
0.669166
718bc483cd4f40174cf12754410452ac3897a088
1,683
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
44.289474
123
0.808675
0956ed42c46d3c34e0fcd398499fbfba632d8bde
909
package org.jboss.hal.testsuite.page.runtime; import org.jboss.hal.meta.token.NameTokens; import org.jboss.hal.testsuite.fragment.finder.FinderPath; import org.jboss.hal.testsuite.fragment.finder.TopologyPreviewFragment; import org.jboss.hal.testsuite.page.BasePage; import org.jboss.hal.testsuite.page.Place; import st...
33.666667
104
0.771177
44fc8f346758532ba69436ed581ecbc7908c5f2c
1,536
package com.example.hari.imagesteganography; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; import android.view.View; import android.util.Log; public class MainActivity extends AppCompatActivity { private static final Strin...
30.72
93
0.608724
6f1432e041e3c2b4e3a990ac2f8ed44d7e67dbc9
526
package consular.extradiscs.Discs; import net.minecraft.util.Rarity; import net.minecraft.item.MusicDiscItem; import consular.extradiscs.Registry.ModGroups; import consular.extradiscs.Registry.ModSounds; import net.fabricmc.fabric.api.item.v1.FabricItemSettings; public class ClaraMusicDisc extends MusicDiscIt...
37.571429
98
0.798479
ee6d02673b4dfb18783bd0548302ed2c496e66ca
3,586
package at.ac.tuwien.oz.translator.templates; import java.util.ArrayList; import java.util.List; import org.stringtemplate.v4.ST; import at.ac.tuwien.oz.datatypes.Variable; import at.ac.tuwien.oz.datatypes.postconditions.NonDeterministicChoiceItem; import at.ac.tuwien.oz.datatypes.postconditions.combinable.NonDeterm...
49.123288
188
0.834356
2f3470964b85f6532cccc4334973e860a7f24c46
1,169
package com.cradlerest.web.service; import com.cradlerest.web.model.UserRole; import com.cradlerest.web.service.mock.NullAuthorizer; import org.springframework.security.core.Authentication; import static com.cradlerest.web.util.AuthenticationExt.hasRole; public class AuthorizerFactory { private PatientManagerServi...
30.763158
96
0.774166
a5423f1f670d7b8800a0bc6e7cf6aae23799e72f
7,898
/* * 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.com.ppit2.model; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax.persistence....
31.217391
162
0.69296
ce471f6484ba0beab1d1963862f13962456cb2a7
4,116
/* * 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. */ import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.S...
32.928
123
0.616618
ea662b65cfca5c65d64c9a7c4810b85ca88e45e9
2,969
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2021, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.search.strategy.assignments; import...
28.27619
106
0.726507
fe3e53cce39286c5665b060ba2722f50215e5fb8
576
//package com.birdplanet.service.pay.config.weixin; // //import com.birdplanet.service.pay.config.IPayConfig; //import java.io.InputStream; // ///** // * Created on 2017/6/20. // */ //public interface IWxpayConfig extends IPayConfig { // // /** 公众账号ID **/ // String getAppid(); // // /** 商户号 **/ // String getMch_id(...
17.454545
54
0.578125
0438509a7f20054072bad739720ed59224efadf4
9,101
import java.io.BufferedReader; import java.io.InputStream; import java.io.Reader; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.FileOutputStream; import java.io.File; import java.net.URLEncoder; import java.net.URL; import java.net.HttpURLConnection; import javafx.scene.image.Image; im...
32.27305
189
0.525327
321e4dcf4361139db80e7aac5fc1ffe157bca566
1,426
package tpximpact.techassignment; import tpximpact.techassignment.exceptions.ATMError; import tpximpact.techassignment.exceptions.ATMError.Errors; public class AtmImpl implements Atm { private long cashHopper; private long balance; private long overdraft; private int acctNbr; private boolean correctPinEntered...
19.013333
76
0.725806
83205ee6a15651731246ff7ff5a98c6e4b90b5cb
1,339
package de.metas.document.references; import java.util.HashMap; import de.metas.util.lang.Priority; import lombok.NonNull; import lombok.ToString; /* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2020 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it ...
29.108696
102
0.755788
a6d124b55e97a719e7fa8f0de5d7910bcad83d16
5,890
package com.example.sw19_morning05; import android.content.Context; import android.content.res.Configuration; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; im...
41.77305
123
0.729202
7f437a60038f91a96998d399b30841f89393a824
19,390
/** * 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...
33.780488
134
0.626921
09995a533e01f940d63298cdb1507e23eec1f92b
997
package algo; /** * Created by Fernando on 04/10/2017. */ public class DancingLinksNode { private int nodeId; private DancingLinksNode north; private DancingLinksNode south; private DancingLinksNode west; private DancingLinksNode east; public DancingLinksNode() {} public...
32.16129
72
0.684052
ba3cea38e3444e172e441d6b9b239817f36bedbe
4,772
package com.sequenomics.rdftotext.services; import org.apache.commons.io.IOUtils; import org.apache.jena.rdf.model.*; import org.eclipse.rdf4j.rio.RDFFormat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import java.io.IOException; import java.net.HttpURLConne...
40.786325
101
0.584241
71a258f21a45cf6677d07b89437df5a0e7d5411b
4,711
package com.hazelcast.wan.batch.cache; import com.hazelcast.cache.HazelcastCachingProvider; import com.hazelcast.cache.ICache; import com.hazelcast.cache.impl.AbstractHazelcastCacheManager; import com.hazelcast.config.CacheConfig; import com.hazelcast.config.Config; import com.hazelcast.core.Hazelcast; import com.haze...
37.094488
122
0.647633
f79b6234766f0c1aa33d86177215f3195fdac534
524
package ru.usedesk.common_gui.internal.di; import androidx.annotation.NonNull; import javax.inject.Inject; import ru.usedesk.common_gui.external.IUsedeskViewCustomizer; import ru.usedesk.common_sdk.internal.appdi.InjectBox; public class InstanceBox extends InjectBox { @Inject IUsedeskViewCustomizer usedeskV...
22.782609
62
0.76145
ab24d2724009b7c71c7cc6865144f1051bff2059
1,531
/* * Copyright 2001-2005 The Apache Software Foundation. * * 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 ap...
33.282609
85
0.740039
0ab2e4a3b14ab38e461ed5d81901c623dbec152a
996
package com.xkcoding.task.quartz.entity.domain; import lombok.Data; import java.math.BigInteger; /** * <p> * 实体类 * </p> * * @package: com.xkcoding.task.quartz.entity.domain * @description: 实体类 * @author: wangzw * @date: Created in 2018-11-26 15:05 * @copyright: Copyright (c) 2018 * @version: V1.0 * @modif...
15.809524
51
0.555221
ed550efc9097226ebc55cf997ee2a43af46c69db
85,875
/** */ package top.dependability.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import top.architecture.Architectur...
38.578167
309
0.745025
e52d828c0859942845fe3c2852d3da2181519e46
601
package com.datapebbles.beamdemo; import com.fasterxml.jackson.databind.JsonNode; import lombok.experimental.UtilityClass; import org.apache.beam.sdk.schemas.Schema; import org.apache.beam.sdk.schemas.utils.AvroUtils; import org.apache.parquet.avro.AvroSchemaConverter; import org.apache.parquet.schema.MessageType; im...
27.318182
87
0.792013
874c98f04d71dcb374f555fe61e760ec7e8f8c0b
2,659
package com.revature.beans; import java.util.Date; public class Form { private int formID; private int empID; private Date eventDate; private Date reqDate; private String location; private int reqAmount; private String eventDescription; private String status; private int eventID; private int gradeID; priv...
19.129496
108
0.694998
d487591df383fe2762f09796eaad443f3bf2b307
2,161
package hr.fer.zemris.java.hw05.shell.commands; import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.IllegalCharsetNameException; import java.nio.charset.UnsupportedCharsetException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Lis...
30.871429
100
0.728366
0211f056b2ad30fb30d7257c8fa4ce8cd206b1b7
5,850
package dev.htm.ncovid.viewmodel; import androidx.annotation.NonNull; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import java.util.ArrayList; import java.util.Collections; import java.util.List; import dev.htm.ncovid.data.model.CoronaVirus; import dev.htm.ncovid.data.model.CoronaV...
43.984962
136
0.580855
1c486343ea0693d5b19996565a755f423ab3a7ac
1,398
package com.mxgraph.generatorfunction; import com.mxgraph.view.JGraphXCellState; /** * @author Mate * A generator random cost function * It will generate random (type "double") edge weights in the range of (<b>minWeight</b>, <b>maxWeight</b>) and rounds the values to <b>roundToDecimals</b> */ public class Generat...
23.3
156
0.74392
86bfa0711030cd7b21ccc42cda30c02888e9fd22
285
package com.qintingfm.web.jpa; import com.qintingfm.web.jpa.entity.MiniApp; import com.qintingfm.web.jpa.entity.Role; import org.springframework.data.jpa.repository.JpaRepository; /** * @author guliuzhong */ public interface MiniAppJpa extends JpaRepository<MiniApp, Integer> { }
23.75
70
0.789474
368f0a1e11d65bd43fc194be527c798f5715f61a
1,016
package com.module.response.scene; import com.alibaba.fastjson.annotation.JSONField; public class IntentStatus { private boolean status; private long firstBlockID; private long intentID; private String updateTime; @JSONField(name= "status") public boolean getStatus() { return status; } @...
32.774194
74
0.706693
07d30a1bcf8bebb44b720d1a8b26786cf492ad86
80
/** * Various losses to use in training. */ package me.yixqiao.jlearn.losses;
16
37
0.7
3c06e35c2b3e08dd59f1078ca397041533d80c25
397
package 设计模式.adapter; /** * 接口的适配器模式 * * @author Isen * @date 2018/12/21 16:14 * @since 1.0 */ public abstract class AbstractSourceable implements Sourceable { @Override public void method1() { System.out.println("AbstractSourceable 默认实现方法 method1"); } @Override public void method2(...
18.045455
64
0.654912
ab4ec8f2731f1e8dbba22805063cea0bfd88630b
742
package mypackage.sandbox; import org.testng.Assert; import org.testng.annotations.Test; public class PointTests { @Test public void testDistance() { Point p1 = new Point(11,1); Point p2 = new Point(1,1); assert p1.distance(p2) == 10.0; Assert.assertEquals(p1.distance(p2),10.0...
24.733333
80
0.607817
3f5dae45a171d838f49af919f6f152669880b473
1,581
package com.r.http.cn.callback; import com.r.http.cn.exception.ExceptionEngine; import com.r.http.cn.helper.ParseHelper; /** * Http请求回调 * * @author ZhongDaFeng */ public abstract class HttpCallback<T> extends BaseCallback<T> implements ParseHelper<T> { /** * 是否回调成功函数 */ private boolean callSucc...
18.172414
89
0.542062
46b093d4f24a53e9d7dd1ac79404bdc017605ca2
3,287
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
28.582609
76
0.628841
b7e43116d009af681aef0a673991ce78d5bd8200
710
package cz.cvut.athens; import java.util.*; public class Utils { public static Map sortByValue(Map unsortMap) { List list = new LinkedList(unsortMap.entrySet()); Collections.sort(list, new Comparator() { public int compare(Object o1, Object o2) { return ((Comparable) ...
28.4
67
0.549296
408b7a5a8cc22b1550787d019f367824f641678e
1,086
package lx.lindx.bash.term; import java.io.IOException; import lx.lindx.bash.util.Util; public class Terminal { private static Cols col; private static Stty tty; static { col = new Cols(); tty = new Stty(); } public static void rawMode() { try { tty.raw(); } catch (InterruptedExce...
18.40678
52
0.596685
9fbbda805448eabcaa4b297d95f3d447e408a081
3,142
package org.broadinstitute.sting.utils.variantcontext; import com.google.java.contract.Ensures; import com.google.java.contract.Requires; import java.util.ArrayList; import java.util.List; import java.util.Map; public class LazyGenotypesContext extends GenotypesContext { final LazyGenotypesContext.LazyParser parse...
29.364486
199
0.679822
261a99cde47de115252a8c2f98a8170e6c547e80
4,564
package mx.unam.ciencias.edd; /** * Clase para métodos estáticos con dispersores de bytes. */ public class Dispersores { /* Constructor privado para evitar instanciación. */ private Dispersores() {} /** * Método auxiliar para combinar de forma Little Endian. * @param a byte a. * @param b...
33.807407
115
0.436459
5d6ae7194a213579bca8a64449440f2ee67209b8
7,660
/** * Autogenerated by Avro * * DO NOT EDIT DIRECTLY */ package org.kaaproject.kaa.common.endpoint.gen; @SuppressWarnings("all") @org.apache.avro.specific.AvroGenerated public class LogSyncRequest extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public st...
39.081633
479
0.677807
aaeb3319cb617c8d1d6dbbf3e744f83e3b092b29
4,747
package com.controller; import java.io.IOException; import java.util.List; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; imp...
28.42515
123
0.74447
fac0c7d4e9a98caef3833cea4509585288db5d8f
195
package com.ttulka.samples.product; import lombok.NonNull; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor public final class Code { private final @NonNull String title; }
17.727273
40
0.805128
6fed010f651dd89346e843843c32e237b64f2b80
19,205
package org.wso2.carbon.certificate.mgt.cert.jaxrs.api; import io.swagger.annotations.SwaggerDefinition; import io.swagger.annotations.Info; import io.swagger.annotations.ExtensionProperty; import io.swagger.annotations.Extension; import io.swagger.annotations.Tag; import io.swagger.annotations.Api; import io.swagger....
48.132832
155
0.49409
f92641534df5a230c3f07f644523b1007794f0da
630
package com.puppet.pcore.impl; import com.puppet.pcore.impl.types.IntegerType; import com.puppet.pcore.impl.types.StringType; import org.junit.jupiter.api.Test; import static com.puppet.pcore.impl.types.TypeFactory.integerType; import static com.puppet.pcore.impl.types.TypeFactory.stringType; import static org.junit....
25.2
66
0.75873
2bee633d47b92434cdf0517e7038b656b7467d32
955
package com.example.sharingapp; import java.util.UUID; /** * User class */ public class User { private String username; private String email; private String id; User(String username, String email, String id) { this.username = username; this.email = email; if...
18.018868
53
0.522513
f630abbe6a5a0f9ce2fd7676fcd531c727485052
1,124
package effectivekafka.customerevents.receiver; import org.apache.kafka.clients.consumer.*; import effectivekafka.customerevents.event.*; public final class ReceiveEvent { private final CustomerPayload payload; private final Throwable error; private final ConsumerRecord<String, ?> record; private fi...
22.938776
120
0.690391
ac7b6b00efc6d3239bdd4896eefe1b30723cc848
577
package baseFrame.commonUtils; /** * Created by Administrator on 2017/7/28. */ import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import cucumber.api.testng.AbstractTestNGCucumberTests; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions( monochrome = true, ...
25.086957
68
0.707106
25249bd128ab78790eac172fac431db67133ed86
832
package com.alessio.springdb.controllers; import com.alessio.springdb.models.greeting.*; import org.springframework.web.bind.annotation.*; import java.util.concurrent.atomic.AtomicLong; @RestController public class GreetingsController { private static final String base = "Hello, %s!"; private final AtomicLong c =...
32
94
0.736779
8c31055eac0882d8cb3010958dcec963c8f2b278
4,952
/* * This file is generated by jOOQ. */ package jhi.germinate.server.database.codegen.tables.pojos; import java.io.Serializable; import java.sql.Date; import java.sql.Timestamp; import javax.annotation.Generated; // @formatter:off /** * VIEW */ @Generated( value = { "http://www.jooq.org", "...
27.511111
72
0.65832
1bde3e75d0a2c656875432ae48ed2d2d5e3757e9
1,359
package org.poverty_action.github; import java.io.File; import java.io.IOException; public class CommitCommentCSV extends DownloadCSV<CommitCommentSubject, CommitComment> { public CommitCommentCSV(File file) throws IOException { super(file); } private final SubjectVisitor printVisitor = new SubjectVisitor() { ...
25.641509
75
0.713024
fa090cd910d835fbb1a06bfd0751145910ed6634
1,525
package org.proteored.miapeapi.factories.ge; import java.util.Set; import org.proteored.miapeapi.interfaces.Buffer; import org.proteored.miapeapi.interfaces.ge.Dimension; import org.proteored.miapeapi.interfaces.ge.ElectrophoresisProtocol; import org.proteored.miapeapi.interfaces.ge.GelMatrix; public class Dimension...
26.293103
83
0.80918
e8140109723e5f440d738e3ab3e405c9ca4dbcbd
3,020
package io.github.henryssondaniel.teacup.examples.junit.ftp; import io.github.henryssondaniel.teacup.engine.Fixture; import io.github.henryssondaniel.teacup.engine.junit.Teacup; import io.github.henryssondaniel.teacup.protocol.Node; import io.github.henryssondaniel.teacup.protocol.Server; import io.github.henryssondan...
40.266667
97
0.727815
e7580dd9a3922ebe006ca299f41c66f6d7ff9a9c
1,491
package org.kaidzen.study.meetup.app.usecases; import org.kaidzen.study.meetup.app.IUnitOfWork; import org.kaidzen.study.meetup.app.events.RegisterSpeechCommandMessage; import org.kaidzen.study.meetup.domen.aggregate.Speech; import org.kaidzen.study.meetup.domen.aggregate.SpeechType; import org.kaidzen.study.meetup.do...
35.5
87
0.733736
5b469a88042dd4caf94fe8c9f185af6c8d115e7d
7,037
package xyz.redtorch.web.controller; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapp...
27.065385
112
0.738383
7089f58ed66c31b430f44c81b5a83731cf4c5afa
1,117
package org.terasology.logic.chat; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.terasology.entitySystem.entity.EntityRef; import org.terasology.logic.console.Message; import static org.junit.Assert.assertEquals; import static org.mockito.Mo...
27.925
98
0.729633
277b8efa6facd42348cd4a463a2a23676afee52b
1,137
package info.smartkit.cloud.streaming.dto; public class SteemVote { private String accountName; private String permlink; private short percentage; public SteemVote() { } public String getAccountName() { return accountName; } public void setAccountName(String accountName) { ...
22.74
77
0.592788
3df05d1ce03e2924f138ce3e14a712dad0903d32
2,171
package com.bbn.serif.relations; import com.bbn.serif.common.SerifException; import com.bbn.serif.relations.constraints.EventEventRelationMentionConstraint; import com.bbn.serif.relations.constraints.RelationMentionConstraint; import com.bbn.serif.theories.*; import com.google.common.annotations.Beta; import com.goog...
32.893939
106
0.747582
4f714a6e72f0823630787cf11a0ca75de34e1a06
12,322
package com.acuity.iot.dsa.dslink.protocol.responder; import com.acuity.iot.dsa.dslink.protocol.DSSession; import com.acuity.iot.dsa.dslink.protocol.message.DSTarget; import com.acuity.iot.dsa.dslink.protocol.message.MessageWriter; import org.iot.dsa.dslink.DSIResponder; import org.iot.dsa.dslink.responder.Inbou...
33.034853
94
0.451307
aa82a9b8ee6d2f5b55af406d422a54a817d79580
39,011
/* * Copyright (C) 2020 Alberto Irurueta Carro (alberto@irurueta.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 * * Unles...
49.822478
98
0.659788
bdd9aba85afb61fbfc74db81961bb0cbe1f66def
1,033
package org.jeecg.modules.wallplayer.mapper; import java.util.List; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.toolkit.Constants; import org.apache.ibatis.annotations.Param; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.jeecg.modules.wallplayer.e...
26.487179
109
0.715392
a917af9d86f458d3d16cb05b66600926d3660d79
428
package net.qldarch.security; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.ws.rs.NameBinding; @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) @NameBin...
26.75
67
0.813084
6c01c30125f00c275d491b25c7f826a81a3a980e
254
package com.wistron.swpc.android.WiTMJ.listener; import android.widget.TimePicker; /** * Created by WH1604025 on 2016/4/26. */ public interface onTimePickerSelectListener { public void onTimeChanged(TimePicker view, int hourOfDay, int minute); }
23.090909
74
0.771654
f38879dafcd237f9e91411f3c7e2bd938b869991
8,852
/* * * 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 n...
27.6625
100
0.663692
b6f1dd762a8e2f555cfbde03c1d2d1281b291dad
1,439
package com.ymcsoft.logging.util.springframework; import com.ymcsoft.logging.util.Logging; import com.ymcsoft.logging.util.LoggingUtil; import org.apache.commons.lang3.StringUtils; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import ...
38.891892
162
0.742182
30353f23eb43662ddd905976e180f18b8c2a09fd
176
package star.astro.chat.exception; public class UnAuthorizedException extends Exception { public UnAuthorizedException(String message) { super(message); } }
17.6
54
0.732955
0972f4a4308355ec26fadbdaeed1281839431d8d
161
package com.basiclogic.core.Animal; public class Cat extends Animal { public void talk(){ System.out.println("Meow,Meow,Meow,Meow,..... "); } }
20.125
57
0.639752
7e226de6080d231585b51fce811fafc7cba816b6
1,143
/* Copyright (C) 2011 Josh Schreuder This file is part of SMSnatcher. SMSnatcher 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 3 of the License, or (at your option) any later version. SMSnatche...
32.657143
179
0.790901
f86713f71b9b5e6cdb79b552ccc3e5f1a60d9f3d
1,203
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies th...
38.806452
114
0.670823
ab25aaa9ec30c46ea9d17dac9b57e1291b5b3d71
1,855
/* * Copyright 2019 Pivotal, 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 to i...
42.159091
99
0.757412
eca35f825e154b82c11fbe000039921143394fc5
683
package br.com.flaviogf.sort; import java.util.Arrays; import java.util.stream.Stream; public class DuckTestDrive { public static void main(String[] args) { Duck[] ducks = { new Duck("Daffy", 8.0), new Duck("Dewey", 2.0), new Duck("Howard", 7.0), ...
26.269231
54
0.531479
42600f007c4db7eb6d2e9ff609743aab6fc9014a
5,490
package org.diverproject.ecommerce.webservice; import org.diverproject.ecommerce.dto.ProviderDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable;...
42.230769
140
0.808561
c19abd41eef0554f66e95b6c9698290c26463cdd
3,353
/* * Copyright © 2014-2018 Cask Data, 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 agr...
39.916667
119
0.761408
b91e3d6905e8453130add107bf3dc7b979b7d50b
3,555
package src.ObjectAndClasses; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class ExerciseVehicleCatalogue { private static class Vehicles{ String type; String model; String color; public String getType() { return type; } ...
30.384615
150
0.569902
e013f7ea29994217fabcd083861382cb70fc6770
1,313
package streamapi; import org.apache.flink.api.common.functions.FilterFunction; import org.apache.flink.streaming.api.datastream.DataStreamSource; import org.apache.flink.streaming.api.datastream.SingleOutputStreamOperator; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; /** * @author h...
28.543478
124
0.635948
4fe4abc9c423134bcfed185cad7f7be4901cc859
263
package test; import bolt.BoltDriver; import org.junit.BeforeClass; public class MemgraphAcidTest extends AcidTest<BoltDriver> { public MemgraphAcidTest() { super(new BoltDriver(17687)); } @BeforeClass public static void setUp() {} }
16.4375
60
0.703422
65b2d9107ef6e8b35f95a1477c82d1bc568ffd9f
937
package com.workoutstudioapp.xadessignercr; import java.util.Date; public class ComprobanteElectronico { private String clave; private String fecha; private ObligadoTributario emisor; private ObligadoTributario receptor; private String comprobanteXml; public String getClave() { return clave; } public void s...
22.309524
55
0.760939
04c6d8e5b9178d9c688fde79f1bedd81282b7eca
8,023
/* * XML Type: SetStateProductRequest * Namespace: http://schemas.microsoft.com/crm/2007/WebServices * Java type: com.microsoft.schemas.crm._2007.webservices.SetStateProductRequest * * Automatically generated - do not modify. */ package com.microsoft.schemas.crm._2007.webservices.impl; /** * An XML Set...
34.286325
187
0.575471
146a783ce47e2a2af7c9c29818b6e45f46043da3
6,122
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
32.221053
124
0.682783
6d4d36cf06f18740e371a48f796aa39ed9bd4239
30,346
/* * MIT License * * Copyright (c) 2017-2018 talust.org talust.io * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to u...
36.04038
214
0.536776
d5cc6a7b5275ae1ce6aba7496c47a5370006ebfb
14,553
/* * (C) Copyright 2019 Netcentric, a Cognizant Digital Business. * * 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 b...
39.016086
139
0.658077