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
6c45f07b58df762a6ef96c8c13ac2b9ddf64d770
924
package com.fr.swift.cloud.query.builder.feture; import com.fr.swift.cloud.query.filter.info.SwiftDetailFilterInfo; import com.fr.swift.cloud.segment.Segment; /** * @author xiqiu * @date 2021/1/27 * @description 查询加速特征,父类定义结构,子类做具体值的实现 * @since swift-1.2.0 */ public abstract class BaseFeature<T> { private bo...
22.536585
81
0.658009
82917838bf90dbb95c378f0b4290648e44319091
8,069
package org.sj.verbs.activity; import static org.sj.verbs.utilities.ArabicLiterals.LALIF; import static org.sj.verbs.utilities.Constants.QURAN_VERB_ROOT; import static org.sj.verbs.utilities.Constants.QURAN_VERB_WAZAN; import static org.sj.verbs.utilities.Constants.VERBCASE; import static org.sj.verbs.utilities.Consta...
36.183857
184
0.639113
286ab228e59413dd7314380af9dd0c129553e32b
835
package com.antsoft.yecai.controller; import com.antsoft.yecai.service.RedPacketService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind....
34.791667
82
0.777246
d3921c82a34d883e681c64cddc6cafa8a10fd4e0
11,216
package com.spingular.cms.domain; import java.io.Serializable; import javax.persistence.*; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; /** * A ConfigVariables. */ @Entity @Table(name = "config_variables") @Cache(usage = CacheConcurrencyStrategy.READ_WRITE) publ...
27.762376
109
0.670649
54554974ff2c722078f00b53088cafc6f60b076e
279
package com.example.shejimoshi.decorator; /** * Created by Android-mwb on 2018/8/10. */ public abstract class Beverage { String description = "Unknown Beverage"; public String getDescription() { return description; } public abstract double cost(); }
18.6
44
0.681004
14794941b60a60385ee426bc7377a38799464d1e
5,528
package com.github.vitrocket.mybatis.dao; import com.github.vitrocket.mybatis.entity.*; import lombok.extern.slf4j.Slf4j; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mybatis.spring.boot.test.autoconfigure.MybatisTest; import org.springframework.beans.factory.annotation.A...
35.896104
118
0.612699
f4accb739a06357a46f5d1c55d69064fe0709bfe
1,504
package org.fiolino.indexer.sinks; import org.apache.solr.common.SolrInputDocument; import org.fiolino.common.container.Container; import org.fiolino.common.container.Selector; import org.fiolino.common.processing.sink.CloneableSink; import org.fiolino.common.processing.sink.ModifyingSink; import org.fiolino.common.pr...
33.422222
102
0.722739
26670978dda8dbf508fbe26d55fd96ce9c2bddf1
2,316
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
40.631579
118
0.737478
b91e705cc8bba088231e30e7242665e6baf14f38
647
package br.unicamp.ic.mc302.documento; class ExemploDocumento{ static public void main(String args[ ]){ Documento d1, d2; // Aloca d1 d1 = new Documento(); // Cria d1 d1.criarDocumento("Camila",181101); // Imprime informações sobre d1 ...
21.566667
46
0.482226
38a23b83cdfbe72d090887d0812eb871b5dda857
502
package com.example.songr; import com.example.songr.entity.Album; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class SongrApplicationTests { @Test void contextLoads() { } @Test void testConstructorAlbum(){ Album alboum = new Album("Prince and t...
22.818182
142
0.76494
1a965ca7f044d6bcf2e0df1e603bbd2b37b17c60
3,323
/* * Copyright (c) 2011 Gary Belvin * * 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 use, copy, modify, merge, publis...
36.516484
94
0.71622
7682951662260e5c7249ec1c988d4e0f21d61a9a
197
package com.works.bulutvet.entities; public interface StockJoinDepo { Integer getSId(); Integer getDepo(); Integer getAmount(); Integer getProduct(); String getDepo_name(); }
17.909091
36
0.695431
2e9a73eb55fb1b32842b18213fb95bc884674979
7,898
/******************************************************************************* * Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands * * This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer). * * ASAPRealizer is free software: you can redistrib...
24.836478
117
0.494429
1fe9b791be9a2b6340be169830f7546ef0c5d4a1
1,189
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProtectTransactionType2Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleT...
21.232143
95
0.646762
2ca26d1b19014b7ac9c72d2da0d7d0fee86b3253
1,114
package com.github.drakepork.opme.Utils; import com.google.inject.Inject; import com.github.drakepork.opme.Main; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import java.io.File; import java.io.IOException; public class LangCreator { private Main pl...
28.564103
102
0.721724
5f5c64a564e8a721a9b7769c47cac02dc1f55f30
391
package com.baekgol.reactnativealarmmanager.db; import androidx.room.TypeConverter; import java.sql.Time; public class RoomTypeConverter { @TypeConverter public static Time fromTime(Long value){ return value==null ? null : new Time(value); } @TypeConverter public static Long toTime(...
20.578947
52
0.682864
37b87c79deeadedda47649b47a5134dcbb7d89c9
86
package ann; public @interface Ann_1 { N[] value(); public @interface N {} }
12.285714
26
0.604651
247e8e794430b1b6eae2f72dc4afe16f210581b8
100
package com.xatu.ba01; public interface SomeService { void doSome(String name, Integer age); }
16.666667
42
0.74
948c964f7d170b13a72f5965ab75f5bb1cbe084a
759
package org.hisp.dhis.request.orgunit; import java.util.ArrayList; import java.util.List; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import com.fasterxml.jackson.annotation.JsonProperty; @Getter @Setter @Accessors( chain = true ) public class OrgUnitMergeRequest { @JsonPro...
19.973684
57
0.740448
5d87fd45d01f17fdd17017a5d65d41da6ace14ed
1,036
package org.minnie.utility.module.sohu; import java.util.ArrayList; import java.util.List; /** * @author neiplzer@gmail.com * @version 2014-3-11 * 双色球实体类 */ public class DoubleColor implements Comparable { private Integer phase; private List<String> red = new ArrayList<String>(6); private String blue; privat...
16.983607
67
0.656371
11227e773f8245dfe65e7ecda477b88f4c664433
11,464
/* * 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 ...
34.119048
95
0.608252
166f8fa48cb94d27aab31a2ce8d9b0174db44a51
3,319
/* * 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 ...
27.658333
94
0.619162
e677e803792e7307716f73f8c5053fd3b69baa14
597
package de.adorsys.datasafe.rest.impl.security; import lombok.experimental.UtilityClass; @UtilityClass public class SecurityConstants { public static final String AUTH_LOGIN_URL = "/api/authenticate"; public static final String TOKEN_HEADER = "token"; public static final String TOKEN_PREFIX = "Bearer ";...
33.166667
68
0.747069
42a395e310ced68c5ac9ec07ace3c7c2e71e7c6b
5,232
import org.bukkit.Material; import java.util.ArrayList; import java.util.List; import static java.lang.Math.abs; import static java.lang.Math.max; class Wire extends Renderer { static final Material BLUE = Material.BLUE_WOOL; static final Material YELLOW = Material.YELLOW_WOOL; static final Material PINK...
39.636364
127
0.582951
000a702e37121c8fb6a0c4698db0f9e743bb22c0
22,742
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.resources.commerce.orders; import com.mozu.api.ApiContext; import java.util.List; import java.util.ArrayList; import com.moz...
62.823204
422
0.773899
e2f7e360b223ad5e8fef2ed7faaa5d40f1968eb0
7,576
package au.edu.unimelb.csse.join; import java.io.IOException; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.search.DocIdSetIterator; import au.edu.unimelb.csse.join.AbstractJoin.PostingsAndFreq; public class AbstractJoinTest extends HolisticJoinTest...
34.126126
113
0.677534
4dd8f43922fbe6fcc84ec8f97c34eb1388b26f56
7,095
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.embedding.engine; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import andro...
44.34375
100
0.742213
93b564776d5f554e6f0fb4dc9f51534fef0d6e00
1,433
package com.example; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; /** * * session * 作用 * 解决相同用户发送不同请求时的数据共享问题 * 特点: *...
29.244898
122
0.708304
91942f1cb5c3f4ac853a92e2fde728ab7eb40d61
2,683
package jkind.smv.visitors; import static java.util.stream.Collectors.toList; import java.util.List; import java.util.function.Function; import jkind.smv.SMVArrayAccessExpr; import jkind.smv.SMVArrayExpr; import jkind.smv.SMVArrayUpdateExpr; import jkind.smv.SMVBinaryExpr; import jkind.smv.SMVBoolExpr; import jkind....
23.535088
98
0.728662
c371f48ad1a96f4aa64a00a7abbca81e828ecf8a
2,465
package com.example.zoomwroom; import com.example.zoomwroom.Entities.ContactInformation; import com.example.zoomwroom.Entities.User; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupi...
34.236111
74
0.738742
9b3c8c6043d9d987c0f28c6331945abdc6e8cbd6
482
package concurrent.phase2; public class UseGate extends Thread{ private final Gate gate; private final String name; private final String address; public UseGate(String name, String address, Gate gate) { this.name = name; this.address = address; this.gate = gate; } @...
19.28
60
0.591286
13095ce0f5f871fc0cd099cf9d577de466150af3
552
package io.virtdata.docinfo; import io.virtdata.annotations.Service; import io.virtdata.docsys.api.Docs; import io.virtdata.docsys.api.DocsInfo; import io.virtdata.docsys.api.DocsysDynamicManifest; @Service(DocsysDynamicManifest.class) public class VirtdataMarkdownManifest implements DocsysDynamicManifest { publ...
30.666667
74
0.740942
471b966d5eabe2c4432286b4fe5f0619f9c54b40
743
package com.softicar.platform.db.sql.type; import com.softicar.platform.db.core.DbResultSet; import com.softicar.platform.db.sql.utils.SqlComparisons; /** * Implementation of {@link ISqlValueType} for enumerations. * * @author Oliver Richers */ final class SqlEnumValueType<E extends Enum<E>> extends PrimitiveSqlV...
19.552632
82
0.74428
b097c97f113c7ad5bc59695aade595f07308a1d0
250
package com.intel.fib; public class FibLib { public static long fibJ(long n) { if( n==0 ) return 0; if( n==1 ) return 1; return fibJ(n-1) + fibJ(n-2); } static { System.loadLibrary("Fib"); } public static native long fibN(long n); }
15.625
40
0.628
ae3dd30ac17466ff319435b3efe6f6871a461d8e
736
package cn.huanzi.qch.springboottimer; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.scheduling.annotation.EnableSc...
27.259259
70
0.744565
79b4e088b840642276850894b013ee77d9006e57
917
package com.example.android.viewpager; public class loc { private String address; private String name; private int imgid; private String phone; private String disctription; public loc(String address, String name, String phone, int imgid, String disctription) { this.address = address; ...
20.840909
91
0.601963
9612dfd688c1f9bc5ac5b79d90a53ffc98c5aab9
1,146
/* * Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.internal.util.xml; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Formatter; import org.junit.Test; /** Test {@link ucar....
38.2
115
0.719895
c0a6e0f4eed35a48bdae5b74b8aba6d04019ec2f
844
package org.naddeo.graphql.types; import com.google.common.collect.ImmutableSet; import lombok.Builder; import lombok.Data; import lombok.Singular; import org.naddeo.graphql.types.container.VariableArgumentContainer; import java.util.stream.Stream; @Data @Builder public class VariableArguments implements VariableArg...
29.103448
99
0.785545
d6a23d3a1d7531345b66fff7eb68d2598ce372a9
1,018
import consoleio.C; /** * Copyright (c) 2017 Arjun Nair */ /** * Tree node for wait statement. * @author Arjun Nair */ public class ASTWaitStatement extends SimpleNode { public ASTWaitStatement(int id) { super(id); } public ASTWaitStatement(ParfA p, int id) { super(p, id); } ...
24.829268
180
0.63556
7bae28294393d439cd6ebecffc993c1df275054c
1,280
package servlet; import bean.Order; import bean.OrderItem; import bean.User; import dao.OrderDao; import dao.OrderItemDao; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.H...
26.122449
115
0.667969
1793481c5aebf411a7d38afe30ca387856682e71
1,938
/** Copyright 2021 DDRTools 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 di...
31.258065
90
0.704334
a36a3a28e58651d34f3eadc2ae4ce746e0ac1bc5
1,256
/*####################################################### * * Maintained by Gregor Santner, 2017- * https://gsantner.net/ * * License: Apache 2.0 * https://github.com/gsantner/opoc/#licensing * https://www.apache.org/licenses/LICENSE-2.0 * #########################################################*/ pack...
29.904762
109
0.557325
8389e1ef36b6cf02819e01e858472b4e745f9881
1,506
package uk.gov.dhsc.htbhf.claimant.service; import lombok.Builder; import lombok.Data; import uk.gov.dhsc.htbhf.claimant.entitlement.VoucherEntitlement; import uk.gov.dhsc.htbhf.claimant.entity.Claim; import uk.gov.dhsc.htbhf.claimant.model.VerificationResult; import java.util.Optional; @Data @Builder public class C...
33.466667
88
0.622178
780c8c48f552c0095e4d585cea5054ab58907733
7,798
package me.aki.tactical.dex.textifier; import me.aki.tactical.core.Method; import me.aki.tactical.core.textify.BodyTextifier; import me.aki.tactical.core.textify.Printer; import me.aki.tactical.core.textify.TextUtil; import me.aki.tactical.core.textify.TypeTextifier; import me.aki.tactical.core.type.Type; import me.ak...
39.583756
119
0.633111
59fdc6f222f104754c5e850f1943b05531e97df9
5,994
package test.extract; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Arrays; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; import code.ponfee.commons.extract.DataExtractor; import code.ponfee.commons.e...
36.773006
139
0.556056
4b9523125c49b2bba177de123f97c3a0cb11d664
3,108
/* * Copyright (C) 2021-2021 Huawei Technologies Co., Ltd. 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 * *...
16.272251
77
0.548263
c6120b31fe9578a9e10029f7e9794c7255d500f0
1,155
package com.github.seratch.jslack.api.methods.request.dnd; import com.github.seratch.jslack.api.methods.SlackApiRequest; public class DndEndSnoozeRequest implements SlackApiRequest { /** * Authentication token. Requires scope: `dnd:write` */ private String token; DndEndSnoozeRequest(String tok...
24.574468
94
0.64329
6fc864a2f9a37c106894c3636f36cdc2f5b9f558
870
package com.pepper.framework.aspectj.lang.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 数据权限过滤注解 * * @author pepper */ @Target(ElementType.ME...
19.772727
53
0.690805
0972ad6606afafc7cfd279ef8956e214f85393cd
665
package net.sourceforge.barbecue.output; public class CenteredLabelLayout extends LabelLayout { /** Pixel gap between the barcode bars and the top of the data text underneath */ public static final int BARS_TEXT_VGAP = 5; public CenteredLabelLayout(int x, int y, int width) { super(x, y, width, BARS_TEXT_VGAP)...
31.666667
82
0.685714
6a768c03146e3322f8e94f79344a4c7cef8a017d
741
package com.kaushikam.jpa.entity.inheritance.table_per_class; import javax.persistence.Entity; import java.math.BigDecimal; @Entity public class FullTimeTeacher extends Teacher { private BigDecimal salary; public FullTimeTeacher() {} public FullTimeTeacher(String name, BigDecimal salary) { supe...
21.171429
61
0.588394
c74fde749f6bccfbc433fb37e9290be568877038
3,088
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
38.123457
132
0.757448
ba6cffc70a8744ad6847fff032b9b7500e770742
66
package com.yz.tc.async; public class asynchronousBlockQueue { }
13.2
37
0.787879
390efe3f9caabf643239ef6211992d68e13a56ff
2,009
package com.ywy.learn.command.user; import com.ywy.learn.command.user.api.command.AuthRemoveCommand; import com.ywy.learn.command.user.api.event.AuthRemovedEvent; import com.ywy.learn.command.user.api.event.UserRemovedEvent; import com.ywy.learn.common.api.gateway.MetaDataGateway; import org.axonframework.eventhandlin...
30.439394
96
0.724739
b5b347db2e2856e4c0d78f39fd12c724a9755af5
4,041
package com.inicu.models; public class RdsReportJSON { private Integer rds_onset; private Integer rds_duration; private String rds_cause; private Integer max_downes; private Boolean resp_support; private Integer duration_lowflow = 0; private Integer duration_highflow = 0; private Integer duration_cpap = 0; ...
23.494186
112
0.757981
95db4b5d2da801398ae2faee5dcab0c4686f41e7
1,929
package com.example.module.project.model; import lombok.Data; import org.apache.commons.lang3.StringUtils; import org.springframework.data.mongodb.core.mapping.Document; import java.util.ArrayList; import java.util.List; import java.util.UUID; @Data @Document("project_bid") public class ProjectBid { private Str...
45.928571
104
0.777605
8628437816173d6d0bf0c8b2aa666d0518ca5a31
2,708
/* * Copyright (c) 2015 Spotify AB. * * 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,...
39.823529
98
0.694609
646ce4cfb92804b560e8e507ce0e8923f18232d3
927
package org.clafer.ir; import org.clafer.domain.Domain; import org.clafer.common.Check; /** * * @author jimmy */ public class IrLength extends IrAbstractInt { private final IrStringExpr string; IrLength(IrStringExpr string, Domain domain) { super(domain); this.string = Check.notNull(strin...
19.723404
65
0.593312
d2864a7e1f1394750ab9f572f3ad88d7981f920c
6,631
/*- * Copyright (C) 2011, 2018 Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle NoSQL * Database made available at: * * http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html * * Please see the LICENS...
32.665025
96
0.636706
b91a0c3fb189dc5f717b4dbde049a3c2a93aa944
2,150
package one.jodi.base.model.types.impl; import one.jodi.base.model.types.DataStoreKey; import one.jodi.base.service.metadata.Key; import java.io.Serializable; import java.util.Collections; import java.util.List; class DataStoreKeyImpl implements DataStoreKey, Serializable { private static final long serialVersi...
24.157303
70
0.59907
7264bc3040b5f7991c73358d95066a68333fa526
134
package com.accela.CommandExecutionCenter.shared; public interface IConstants { public static long SERIAL_VERSION_UID=1L; }
16.75
50
0.783582
d77cf6a8eec2bb6d996adc798300cd56c98a6623
4,960
package b01.l3.drivers.roches.cobas.u601; import b01.foc.util.ASCII; import b01.l3.data.L3Test; import b01.l3.data.L3TestDesc; import b01.l3.drivers.astm.AstmDriver; import b01.l3.drivers.astm.ResultLineReader; public class CobasU601_ResultLineReader extends ResultLineReader { private int posForTestCode = 0; pr...
33.972603
162
0.592137
531416ba855d6e4b909d6b457b5df10ee1aa4f24
618
package com.koma.mediacategory; import com.koma.mediacategory.util.LogUtils; /** * Created by koma on 2017/1/14. */ public class MainPresenter implements MainContract.Presenter { private static final String TAG = MainPagerAdapter.class.getSimpleName(); private MainContract.View mView; public MainPres...
18.727273
77
0.660194
0ffb9a912d1dce8c9e3f9a82179ac2dfa712d525
1,609
package demo; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import static demo.TheFoo.checkRedAlert; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import stati...
29.254545
74
0.666252
8fc9576773531ee65a9ac587e3728ee89474d98e
327
/* * Copyright (c) 2000-2005 by JetBrains s.r.o. All Rights Reserved. * Use is subject to license terms. */ package com.intellij.aop.psi; /** * @author peter */ public class AopPointcutDesignatorTokenType extends AopElementType { public AopPointcutDesignatorTokenType(final String typeName) { super(typeName);...
21.8
68
0.733945
5f6e4a95b8627bc411ae17c718145de559c3c1db
1,775
/** * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LIC...
28.629032
81
0.700845
9c44a4c18e5e24540a3ffe71d1cb3a0ebcbf4b0d
10,228
package es.upm.oeg.librairy.service.modeler.clients; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.google.common.cache.*; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unir...
40.912
181
0.608428
d7e2c7fd8eea57c7768217e8a3ee194517a58443
304
package com.flycms.core.exception; import lombok.Getter; /** * @author 郑杰 * @date 2018/09/18 11:27:40 * 通用异常处理类 */ @Getter public class FlycmsException extends RuntimeException{ private int id; public FlycmsException(int id, String msg){ super(msg); this.id = id; } }
15.2
54
0.651316
af510125a97d1cf5975c8915af8c2aee3f3e22c3
1,340
package LeetCode; import java.util.Stack; public class ValidParenthes { // pass both public boolean isValid(String s) { // Start typing your Java solution below // DO NOT write main() function Stack<Character> stack = new Stack<Character>(); if (s == null || s.isEmpty()) ...
26.8
56
0.381343
a34dc182271e72c7a74d6d862105b511a359129c
10,690
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * */ package com.azure.cosmos; import com.azure.cosmos.implementation.CosmosItemProperties; import com.azure.cosmos.models.CosmosItemRequestOptions; import com.azure.cosmos.models.CosmosItemResponse; import com.azure....
47.511111
143
0.662114
db797bc109172a79f9ea5475d930fc165a612427
137
package mypackage; class Program { public static void main() { System.out.print("Connect to database"); } }
15.222222
49
0.576642
c6865100c2c747656598259448bb30ba1e805def
817
package com.sct.service.core.web.controller.file; import com.sct.commons.file.location.FileLocation; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(value = "下载文件描述") public class DownloadFile { //下载文件生成的文件名 @ApiModelProperty(value = "下载生成的文件名(不带文件类型后缀,后缀依据服务存...
26.354839
67
0.72705
fa97b9e3b663be7cb5200a658c5012e8db7838c9
209
// My very first CSC1006S program to display Hello World // Batandwa Mgutsi // MGTBAT001 // 08/08/2020 class HelloWorld { public static void main(String[] args){ System.out.println("Hello World"); } }
20.9
56
0.703349
111bc54ece23dd099054c15990488ba25930b16c
581
package dao; import java.util.List; import entity.Organization; public interface OrganizationDAOI { /** * 해당 카테고리 조직의 모든 조직 불러오기 * * @param organizationClass 불러올 조직의 클래스 * @return */ public List<Organization> getAllOrganization(Class<? extends Organization> organizationClass); ...
22.346154
113
0.659208
4f2d2db4f26ee09dde3fbbb3e3998c30ceaf2a4e
1,632
package net.cubespace.yamler.converter; import net.cubespace.yamler.ConfigSection; import net.cubespace.yamler.InternalConverter; import java.lang.reflect.ParameterizedType; import java.util.Map; /** * @author geNAZt (fabian.fassbender42@googlemail.com) */ public class Config implements Converter { public Con...
33.306122
112
0.688725
2a71a63c6a2125aa4a38a024afaea4a289935cc9
1,778
/* * Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences. * * This file is part of Duckling 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 L...
25.042254
99
0.646232
0d72261ea1799078fef7caebe34fadee51665d66
3,881
package net.sourceforge.transparent.actions; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.InputException; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.vcs.VcsConfiguration; import com.intellij.openapi.vcs.ui.Refreshable; import com.intellij.openapi.vfs.VirtualFile...
30.085271
107
0.714249
244118ffadcef5f8013444bc64f144f474792ef7
1,756
package com.company; import java.util.Scanner; public class ex13_PointInTheFigure { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int h = Integer.parseInt(scanner.nextLine()); int x = Integer.parseInt(scanner.nextLine()); int y = Integer.parseI...
33.132075
89
0.547836
3993f15f0e78a302ce25351b93bba50a49e25918
1,273
package com.blazemeter.jmeter.debugger.elements; import org.apache.jmeter.gui.util.MenuFactory; import org.apache.jmeter.testelement.TestElement; import org.apache.jmeter.threads.gui.AbstractThreadGroupGui; import javax.swing.*; import java.awt.*; import java.util.ArrayList; import java.util.Collection; public class...
23.145455
69
0.673998
fc76cbc003a9772b04b1cd6d93b2a762f9a1bc68
11,573
/* * Copyright 2010-2011 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 ap...
38.321192
195
0.637691
c2e1a17abde800f4365871324bcf8b83d797c9ac
1,328
package io.qameta.allure.bamboo; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoRule; import java.nio.file.Paths; import static org.apache.commons.io.FileUtils.deleteQuietly; impor...
27.666667
78
0.730422
9f3dcb3d6084534875ab071acc694264a070e972
6,944
/* * 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 ...
49.956835
137
0.792771
3c794c2edc0247fbd2b4373c8db8801724e942d9
1,886
/* * The MIT License * * Copyright 2015 Otwarta Platforma Wyborcza. * * 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...
33.087719
94
0.757158
54ea1cd9020f5b125158f35c526abe489fdea0a4
4,465
package com.restteam.ong.services; import com.amazonaws.AmazonClientException; import com.amazonaws.SdkClientException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.services.s3.AmazonS3; import com....
40.225225
150
0.691377
a4a989e3d81cdabf0002670b490c12e949d5cee5
200
package dk.schau.SchemingMind.SchemingMindActivity; public interface ISchemingMindClient { public void setUsername(String username); public void setPassword(String password); public void run(); }
25
51
0.815
6f33b8ccf862d1940e28c916094e489c6c8db7c5
1,723
/*- * #%L * Yet Another Plugin Framework * %% * Copyright (C) 2017 Fabian Damken * %% * 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-...
33.134615
95
0.748114
f32652415fa35298054c7859be0f08ea9d634a5a
3,317
package de.codingair.warpsystem.commands; import de.codingair.codingapi.server.Sound; import de.codingair.codingapi.server.commands.BaseComponent; import de.codingair.codingapi.server.commands.CommandBuilder; import de.codingair.codingapi.server.commands.CommandComponent; import de.codingair.codingapi.server.commands....
40.45122
197
0.653904
76fd4c71c6de0893a0e8fbf5c25c0597767bb8b6
396
package com.siimkinks.sqlitemagic.intellij.plugin.provider; import com.intellij.codeInspection.InspectionToolProvider; import com.siimkinks.sqlitemagic.intellij.plugin.inspection.SqliteMagicInspection; public class SqliteMagicInspectionProvider implements InspectionToolProvider { @Override public Class[] getInspe...
33
82
0.833333
f349a366c786c0712d1ce62809f98379352ae048
407
package monster.entity; import java.io.Serializable; public class RankItem implements Serializable { private int score; private User user; public void setScore(int score) { this.score = score; } public void setUser(User user) { this.user = user; } public int getScore() {...
16.28
47
0.60688
ed97f8584df2a75d08834cb42e8330d72bb02885
3,388
package structures.results; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import structures.MetricResultNotifier; import structures.metrics.NamespaceMetric; public clas...
29.46087
113
0.743211
4ffee583ca4806211c0b5a42609ab5ae62c20c4a
1,826
package eap.web.filter; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import eap.util.StringUtil; import eap.util.UrlUtil; /** * <p> Title: </p> * <p> D...
27.666667
115
0.684009
a504830cb5e5e3eb8ff176f5b7a1324f15e8b425
2,910
/** * Steven Ward * RoomCarpet.java | Carpet Calculator Project * * This file contains the definition of the RoomCarpet class, which is described below. * * Due Date: October 09, 2016 * */ /** * RoomCarpet class to "wrap" the general process of determining the cost to carpet a room. * The 'RoomCarpet' class ...
35.487805
132
0.685911
44da09b19c4555e62c1a918464c6257fe924d926
1,060
package br.com.zupacademy.mario.proposta.domain.Cartao; import java.time.Instant; import java.time.LocalDate; import java.util.UUID; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; @Ent...
23.555556
95
0.790566
379d997e34568719fbc3a07bf1c37a80259c3acb
1,719
package ir.component.core.engine; import ir.component.core.dao.model.Car; import org.springframework.stereotype.Repository; import org.springframework.transaction.TransactionStatus; import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.support.TransactionCallback; impo...
31.833333
94
0.733566
e9c2b293619bdf0f043caac759c34a10fee59177
773
package com.byznass.tiolktrack.kernel.crypto; import com.byznass.tiolktrack.kernel.TiolkTrackException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class TokenEncrypter { private static final Logger LOGGER = Logg...
26.655172
84
0.776197
cb56345bf37248875dd7df79a4f23e7376a83df6
811
package zhibi.learn.controller; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import zhibi.learn.query.I18nQuery; import javax.validation.Valid; /** * @author 执笔 * @date 2018/12/2 19...
23.852941
94
0.683107
b1d03148fa779d3b86af7a624e13061a35742a2a
813
module slideshowfx.server { exports com.twasyl.slideshowfx.server; exports com.twasyl.slideshowfx.server.service; exports com.twasyl.slideshowfx.server.bus; exports com.twasyl.slideshowfx.server.beans.quiz; exports com.twasyl.slideshowfx.server.beans.chat; opens com.twasyl.slideshowfx.server.we...
33.875
54
0.750308
4204ebccf9ed07b3504c1b84350739a6de8be859
2,843
package dp; import java.util.Arrays; /** * The demons had captured the princess and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of m x n rooms laid out in a 2D grid. Our valiant knight was initially positioned in the top-left room and must fight his way through dungeon to rescue the ...
53.641509
286
0.658811
361510762b6ecef6eab65db35c71a982fcc1bb5e
15,897
package csdev.couponstash.logic.parser; import static csdev.couponstash.commons.util.DateUtil.MONTH_YEAR_VALIDATION_REGEX; import static csdev.couponstash.model.coupon.RemindDate.DATE_FORMATTER; import static java.util.Objects.requireNonNull; import java.time.LocalDate; import java.time.YearMonth; import java.time.fo...
41.077519
114
0.644084
be234ae507d21bcb9b1bb14f6a19d2941fcd2a25
1,823
package view; import control.Controller; import control.Main; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.control.SpinnerValueFactory; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public c...
31.431034
111
0.657159
47fec103bc67ce6049e6cafcb7c2976930f75307
3,089
/** * Copyright 2016 Antony Holmes * * 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 o...
33.215054
110
0.697637