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
5b059df8997ff0e2872a8b16b1d955f35703a422
796
package org.opentripplanner.middleware.controllers.api; import org.opentripplanner.middleware.models.Model; import org.opentripplanner.middleware.persistence.TypedPersistence; import spark.Request; /** * Provides a basic implementation of the {@link ApiController} abstract class. */ public class ApiControllerImpl<T...
26.533333
82
0.727387
ef4681d57d47606f1977dec8af3f33270f762f58
5,711
/************************************************************************************************ * ____________ _ _ _____ _ _____ _ _ _______ __ _ _ _ * |___ / ____| \ | |/ ____| | | / ____| | | |_ _\ \ / / | | | | | * / /| |__ | \| | | ...
41.686131
122
0.655052
45f494d92a3ed868848b53a4351e947c890866b2
997
package com.mmall.vo; import java.math.BigDecimal; import java.util.List; public class CartVo { private List<CartProductVo> cartProductVoList; private BigDecimal cartTotalPrice; private boolean allChecked; private String imgHost; public List<CartProductVo> getCartProductVoList() { return ...
22.659091
77
0.689067
1a0cbd1b5ff76aae25c34e11bc389ee04d53baec
16,386
package uk.co.nevarneyok.ux.fragments; import android.os.Bundle; import android.os.SystemClock; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerT...
38.921615
196
0.648419
d952905b676a25eca9e34b4e27963818621e7e0d
3,965
package gov.va.escreening.templateprocessor; import java.util.EnumSet; import gov.va.escreening.constants.TemplateConstants.TemplateType; import gov.va.escreening.constants.TemplateConstants.ViewType; import gov.va.escreening.entity.Battery; import gov.va.escreening.entity.VeteranAssessment; import gov.va.esc...
53.581081
181
0.778562
240a4e2d1a09d11ae4f44ba0ac40901a6b8b68ed
2,415
package de.polocloud.api.bridge; import de.polocloud.api.common.PoloType; import java.util.UUID; public interface PoloPluginBridge { /** * Checks if a player with a given {@link UUID} has a permission * * @param uniqueId the uuid of the player * @param permission the permission * @retur...
23.446602
68
0.608696
594a4c90cf44adee9536b37ebcc6f849de981ab8
2,531
// Copyright © Matt Jones and Contributors. Licensed under the MIT License (MIT). See LICENCE.md in the repository root for more information. package com.github.novelrt.fumocement; /** * Represents a struct from the native land. * <p> * This base class is mainly used in code generation for mapping C structs * to ...
44.403509
141
0.676412
5e7df45c58a3ea36d45388c8db59987a32cd7f7e
1,781
// PaintDemo.java - Simple painting program. // Illustrates use of mouse and BufferedImage. // Fred Swartz 2002-12-02 // Possible Enhancements: // * Clear drawing area // * Other shapes (line, outline shapes, text, ...) // * Color selection. // * An eraser. // * Create a real toobar. // * Save/Load import...
34.921569
72
0.600225
c70e7080c93e2d93c911ef9b36c8c6f95fe9c7a0
4,177
package net.minecraft.world.level.block; import com.google.common.collect.Maps; import java.util.Iterator; import java.util.Map; import java.util.function.Supplier; import net.minecraft.core.BlockPosition; import net.minecraft.server.level.WorldServer; import net.minecraft.world.entity.EntityTypes; import net.minecraf...
44.913978
248
0.746708
140131f0cf3c65380ab9b3e1cb0c8f1d85c70e4c
5,900
/* * Copyright (c) 2005 Brian Wellington (bwelling@xbill.org) * * Copied from the DnsJava project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License...
25.764192
756
0.672881
32af106076b73267a16fe9744cfcdb4f8456574c
2,436
package eutro.jsonflattener; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import java.util.Map; /** * A class that provides methods for expanding Gson Json Objects. */ public class JsonExpander { /** * Expand a Json Object, the opposite of flatte...
33.833333
72
0.531609
d7f8c9ff19025ed0306140761a702b1c022b188d
2,675
/* * Copyright 2010 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...
27.57732
165
0.68972
b449f9e32edfe192d43281f3f353c51b0f80f53e
2,290
package im.cave.ms.provider.info; import im.cave.ms.enums.InventoryType; import im.cave.ms.enums.ScrollStat; import im.cave.ms.enums.SpecStat; import lombok.Data; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; /** * ...
26.627907
72
0.693013
91f05c8f1e6b00a0096da029412750b006a1c8e5
2,160
package me.alpha432.oyvey.features.modules.misc; import com.mojang.realmsclient.gui.ChatFormatting; import java.util.HashMap; import java.util.UUID; import me.alpha432.oyvey.OyVey; import me.alpha432.oyvey.features.command.Command; import me.alpha432.oyvey.features.modules.Module; import net.minecraft.entity.Entity; i...
32.727273
348
0.661111
da07d0e1cc0b2b88626cc87103880e195945d666
6,137
package yalantis.com.sidemenu.sample.fragment; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Canvas; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; impor...
32.3
83
0.591331
4b12309f81200061b11d4030825a46ce5bf22287
2,004
package com.github.onsdigital.babbage.search; import com.github.onsdigital.babbage.api.util.SearchRendering; import com.github.onsdigital.babbage.api.util.SearchUtils; import com.github.onsdigital.babbage.error.ValidationError; import com.github.onsdigital.babbage.response.base.BabbageResponse; import com.github.onsdi...
41.75
140
0.766966
e43178e357856ef4dd18ae9d3d033ad57251a28f
2,355
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.anarres.ipmi.protocol.packet.ipmi.command.messaging; import com.google.common.primitives.UnsignedBytes; import java.nio.ByteBuffer; import org.anarres.ipmi.protocol.client.visitor.IpmiClientIpmiCommandHandle...
31.4
89
0.707856
bda24fcd03463e29b52f3f525d97a897ac1e60f5
1,078
package com.qcosmos.vpb.todolist; import android.app.Activity; import android.content.Context; import android.view.View; import android.view.inputmethod.InputMethodManager; /** * Created by vpb on 8/22/17. */ public final class Utils { public static void showKeyboard(View view, Activity activity) { Inp...
31.705882
109
0.670686
1c5e9b2c69bc2cb180f873c0d8876c5831c3e386
521
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.reactnativecommunity.netinfo; public class NetInfoUtils { public static void reverseByteArray(byte[] array) { ...
28.944444
66
0.608445
8bc68f1df237e24bf628f880af86dfbf3ce7a8b0
4,912
package org.markysoft.vani.core.wait; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.function.Function; import java.util.function.Predicate; import java.util.function.Supplier; import org.markysoft.vani.core.VaniContext; import org.markysoft.vani.co...
28.393064
138
0.738803
2cc171df5aa273330efd8d2b66b9237100237361
8,414
package com.aura.util; import java.util.Collection; import java.util.Set; import com.alibaba.fastjson.JSON; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolConfig; //@Component public class JedisUtil { private static JedisPool jedisPool = null; ...
24.459302
100
0.504754
890c4848a58c94096356356e516baa3dbc5301af
756
package com.example; import javax.annotation.Generated; @Generated("org.realityforge.webtack") public final class Dictionary_requiredDoubleValueTestCompile { static Dictionary_requiredDoubleValue $typeReference$; public static Dictionary_requiredDoubleValue requiredDoubleValue( final double requiredDoubleV...
32.869565
92
0.816138
a8c8026ca318a57f11187cd52bcd88c4ddb4a6f3
1,858
package de.superklug.mygames.supertavarialobby.utils.runnables; import de.superklug.mygames.supertavarialobby.Lobby; import org.bukkit.Bukkit; import org.bukkit.scheduler.BukkitRunnable; public class UpdateScoreboardRunnable extends BukkitRunnable { private final Lobby module; public UpdateScoreboardRun...
35.730769
147
0.493541
3bd1babe1621cdbc0224fd9eb29d3422c6fc86de
1,566
/* * Copyright (C) 2020 Dremio * * 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 wr...
28.472727
83
0.736909
9c4ba5643229cd86f8a8f897065d9b8c5f13ea88
291
package com.zkh.cloud.utils; public interface Constants { static final String REGISTERUSER_QUEUE ="registeruser_queue";//注册用户队列 static final String EMAIL_FROM ="592470261@qq.com";//邮件发送者 static final String EMAIL_SUBJECT ="用户注册验证码";//标题 static final String EMAIL_TEXT ="您的验证码是:";//内容 }
32.333333
70
0.776632
cafe2e55bd21c6483b6cdfb649544203c670fec4
7,577
package pl.allegro.tech.hermes.consumers.supervisor.workload.mirror; import com.google.common.collect.Sets; import com.google.common.util.concurrent.ThreadFactoryBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pl.allegro.tech.hermes.api.Subscription; import pl.allegro.tech.hermes.api.Subscript...
43.797688
146
0.7305
7ca9e3ecc7302dcaca13a2b21d2a7195fc79a96f
2,127
package edu.westga.cs3212.meal_planning.test.model.recipe_manager; import static org.junit.jupiter.api.Assertions.*; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; import edu.westga.cs3212.meal_planning.model.Recipe; import edu.westga.cs3212.meal_planning.model.Recip...
31.279412
211
0.685002
5f5d2770246fb5c9db0dfbd84ac2e0f5cd3392ea
2,111
/* * Copyright 2019 MovingBlocks * * 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 t...
29.732394
77
0.598768
85133fcf30c9cf97e0b8eb446cba80095c9d9ce3
4,238
package com.github.stephanenicolas.injectview; import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.os.Bundle; import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; import org.junit.Test; import org.junit.runner.RunWith; im...
32.6
107
0.739028
b60d6de845b94cf72c2908c05580f93624bf2bc1
864
package com.malalaoshi.android.core.utils; /** * 年级 * Created by tianwei on 6/5/16. */ public class GradeUtils { public static String getGradeName(int gradeId) { switch (gradeId) { case 1: return "小学一年级"; case 2: return "小学二年级"; case 3...
22.153846
52
0.392361
f0cf9210a0d4e95493d93f5dd7ca8f9df3566e30
2,020
package ru.otus.spring.hw.config; import java.util.Optional; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.integration.annotation.Gateway; import org.springframework.integration.annotation.MessagingGateway; import org.spring...
40.4
107
0.569802
224a490ca32ce6fc8b28baa3a984aea51844aae0
1,327
/* * (C) Copyright IBM Corp. 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.cohort.cql.translation; import java.io.File; import java.io.Reader; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXB; import org.cqframework.cql.cql2elm.ModelInfoProvider; import org.hl7.elm.r1...
27.081633
91
0.709872
ed9d83fae87c95168390813441faffc2d17d4d50
5,001
/* * Copyright 2015-2017 Real Logic Ltd. * * 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 agree...
32.686275
119
0.670866
b41eeb1895a2382570ebdacfaeb36e440720802c
6,264
/* * GROOVE: GRaphs for Object Oriented VErification Copyright 2003--2007 * University of Twente * * 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...
38.429448
96
0.652299
7c23d454acf6f5b8acc9862589f8876352c7f908
1,626
/* * Copyright 2017 Crown Copyright * * 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 ...
28.526316
106
0.695572
fe272a635f61a998d17b84ff037aa08a90388852
1,451
/* * Copyright (C) 2019 The mx-mod-web-starter 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 appl...
33.744186
101
0.707788
cd5faa0a4cd6e6150fd667d9399c6a03fe2441e2
7,612
package com.themovie.db.app.model; import static com.themovie.db.app.constants.Constants.IMAGE_URL; import android.widget.ImageView; import androidx.annotation.NonNull; import androidx.databinding.BindingAdapter; import com.bumptech.glide.Glide; import com.google.gson.annotations.SerializedName; import java.io.Ser...
24.012618
97
0.60155
954dee23e8ad3a595af76572fd525c1e4a7dfbed
1,102
package com.github.thedoghusky.dogmanager; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; public class Dog { @NotNull @Size(min = 2, max = 28) String name; @NotNull @Size(min = 2, max = 28) String breed; Integer age; Boolean owned; public Dog(String name, String br...
15.305556
114
0.649728
578982b4040c5583bf32d05d8165792d75a223c2
2,044
import java.io.*; import java.util.Arrays; import java.util.StringTokenizer; public class movie { static int n, l; public static void main(String[] args) throws IOException { BufferedReader f = new BufferedReader(new FileReader("movie.in")); PrintWriter out = new PrintWriter(new BufferedWriter(new FileWr...
25.234568
89
0.553327
e6a496a1c297e07d5ae69ebdef61095cf225d496
2,105
package ashwin.joshi.xmlxslt.service.impl; import ashwin.joshi.xmlxslt.dao.PdfDocumentDAO; import ashwin.joshi.xmlxslt.exception.BadRequestException; import ashwin.joshi.xmlxslt.exception.DocumentObjectException; import ashwin.joshi.xmlxslt.model.PdfDocument; import ashwin.joshi.xmlxslt.service.PdfDocumentService; imp...
31.41791
112
0.684561
48fc060362e639c4ee4d16a026d4ea7e199f2bd2
883
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode() {} * TreeNode(int val) { this.val = val; } * TreeNode(int val, TreeNode left, TreeNode right) { * this.val = val; * this.left = left; * this.right = right; * } * } */ public class ...
22.641026
53
0.524349
e3263b052bd249e33eae0792a4258742e6680c2e
7,736
package com.annaru.upms.entity; import com.annaru.common.util.JacksonUtils; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus...
18.331754
104
0.635988
e92775ce9cc1d66a515b82c2b0f640490e433131
548
package com.hashmap.haf.metadata.config.actors.message.scheduler; import akka.actor.ActorRef; import com.hashmap.haf.metadata.config.model.query.MetadataQuery; import lombok.Getter; public final class CreateJob { @Getter MetadataQuery metadataQuery; @Getter private final ActorRef actor; @Getter...
22.833333
82
0.724453
566825105c66f3dd2b1574308554f99b4be3bb55
2,847
package outbackcdx.auth; import com.nimbusds.jose.JOSEException; import com.nimbusds.jose.JWSAlgorithm; import com.nimbusds.jose.jwk.source.JWKSource; import com.nimbusds.jose.jwk.source.RemoteJWKSet; import com.nimbusds.jose.proc.BadJOSEException; import com.nimbusds.jose.proc.JWSVerificationKeySelector; import com.n...
39.541667
104
0.665964
37639132963f288db8e858e5587ab597a52e9fcd
567
/** Ben F Rayfield offers this software opensource MIT license */ package mutable.util.ui; import static mutable.util.Lg.*; import javax.swing.JOptionPane; public class Ask{ public static void ok(String message){ JOptionPane.showMessageDialog(null, message); } public static boolean yesNo(String yesNoQuestion)...
24.652174
65
0.72134
7e59c36546e20f43e09490d5916f2ad776ee2ef2
799
/* * 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 class03.exercise.classroom; import javax.swing.JOptionPane; /** * * @author alessandro.jean */ public class T...
26.633333
99
0.569462
4f6843c9404c5f0b5db6a07ea8ab0259c8ad9eef
339
package com.aiitec.base.model.comm; import com.aiitec.base.annotation.NoConfound; /** * Where条件 * @param <WHERE> */ @NoConfound public class Table<WHERE>{ public int pa =1; public int li=20; public int ob= 0; public int ot=0; public WHERE where; public Table(WHERE where){ this.wher...
16.142857
45
0.637168
3d198bfd9cbe4885022cd8241422b0d9b0518272
39,944
package org.docksidestage.compatible10x.dbflute.howto; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import org.dbflute.bhv.readable.EntityRowHandler; import org.dbflute.bhv.referrer.Co...
41.307135
129
0.562062
8ec04f007f72848cf8f820e1d104e56ed4e09489
310
package com.ttkey.service.mixers.model; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @ToString(callSuper = true) public class HttpRequest extends HttpOperation { private String baseUri; public Object getRequestBody() { return super.getBody(); } }
17.222222
48
0.735484
5bde8c55da104b6975853bfe0691fe200f9a7c5b
863
package com.msp.invoice.gateway; import cc.blynk.clickhouse.BalancedClickhouseDataSource; import cc.blynk.clickhouse.settings.ClickHouseProperties; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.a...
31.962963
75
0.771727
12559008485663b206a815ff8c0ff27560c49c2a
3,685
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.util.listeners; import junit.framework.TestCase; public class StandardListenerListTest extends TestCase { private StandardListenerList list; @Override pub...
26.510791
74
0.595387
c859d96cf5a5964d9d8ac3ad34f3648ae9f4b73e
5,317
/** * Copyright (C) 2014 Xillio (support@xillio.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 * * Unless required by app...
38.251799
128
0.700771
52cf98c6645e682373bb06a464306ed0ad619971
3,101
/* * Copyright (c) 2020 Siemens 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 agree...
33.344086
77
0.674299
96590ba7af55ab2f9c098db2745d1192f3c9c319
872
package io.fabric8.servicecatalog.demo; import io.fabric8.servicecatalog.api.model.ServiceBroker; import io.fabric8.servicecatalog.api.model.ServiceBrokerBuilder; import io.fabric8.servicecatalog.client.DefaultServiceCatalogClient; import io.fabric8.servicecatalog.client.ServiceCatalogClient; public class BrokerCreat...
39.636364
92
0.680046
c1d74ff8da4933c94056bea086823a85e7fee53f
1,461
/* * Copyright (c) 2014, Inversoft Inc., All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
33.976744
139
0.747433
4bd647338034f962e2f3d204b109d3ebd422301a
9,392
/* * InfluxDB OSS API Service * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * htt...
25.731507
148
0.688245
cea49f7e58610eb0c37c73dc2c7cef445837085f
1,018
package com.lcp.learn.spring.spb.check.other.services.impls; import com.lcp.learn.spring.spb.check.other.services.LockService; import javax.annotation.Resource; import org.redisson.api.RLock; import org.redisson.api.RedissonClient; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ste...
26.102564
81
0.712181
0d6bb3b197a91c3a447d5ecad4ff4a11f2e005f3
9,559
/** * The MIT License * * Copyright for portions of unirest-java are held by Kong Inc (c) 2013. * * 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 * with...
37.93254
124
0.64013
f3f3e2760032aab723ca2c03c5718508af284268
1,685
/** * 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 m...
29.561404
62
0.706231
15d40bc9bbc26dd5a469eb7e3c5c5f4dead0e477
469
package com.s8.io.xml.tests.example02; import com.qx.io.xml.annotations.XML_SetElement; import com.qx.io.xml.annotations.XML_Type; @XML_Type(name = "Type01Stage") public class Type01Stage extends MyStage { public MyStageDesign design; @XML_SetElement(tag = "design") public void setDesign(Type01StageDesign desi...
20.391304
62
0.75693
11534f4b9596d26b82126c639f6701bea9dd4f8d
13,358
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
35.716578
206
0.692169
459cdb2a6147a66a92d222fa41b490b60c36fbd1
21,610
package postgres; import com.google.common.collect.ImmutableMap; import driver.TestDriver; import org.postgresql.ds.PGConnectionPoolDataSource; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import java...
35.601318
178
0.605137
ea3c541933b4efe8794ece7b1e0bf47562d974bf
1,350
/* * Copyright 2020 OPPO ESA Stack 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 or...
31.395349
94
0.697037
98973ffc714887831ab26f56a49ce7cd3ab9b192
986
/** * Copyright information and license terms for this software can be * found in the file LICENSE.TXT included with the distribution. */ package org.epics.util.array.performance; import org.epics.util.array.ListDouble; /** * * @author carcassi */ public class ListBenchmark { public static vo...
29.878788
111
0.554767
14d9fe31eb02aa1b70da67c86b8c0fa70a7fee74
1,774
package gloridifice.watersource.common.block; import gloridifice.watersource.common.tile.RainCollectorTile; import gloridifice.watersource.registry.TileEntityTypesRegistry; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.ite...
36.204082
174
0.744081
ef098db2b55f40c7e62ef8313ecb32d7cb7af9d6
1,141
package request; import log.LogHelper; import java.io.IOException; import java.io.InputStream; public class Request { private InputStream inputStream = null; private String uri; public Request(InputStream inputStream) { this.inputStream = inputStream; } public void parse() { b...
21.942308
53
0.537248
41ddb663cb87b6bb652640d3ca38c6afc88806bd
12,591
/* Copyright 2021 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
37.697605
97
0.694147
b3904dbf1ef3b4fffca8f75a4ec77a2db6809b86
7,622
/* * Copyright 2018 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 ...
37.920398
111
0.666754
8ff0d1409c8502c8c08affa438681af08b69f30d
13,324
package com.github.CCwexiao.dsl.manual; import com.github.CCweixiao.constant.HMHBaseConstant; import com.github.CCweixiao.exception.HBaseOperationsException; import com.github.CCwexiao.dsl.auto.HBaseSQLParser.*; import com.github.CCwexiao.dsl.client.QueryExtInfo; import com.github.CCwexiao.dsl.client.RowKey; import co...
33.817259
148
0.672321
19a1ad2982f606ebc27cbb545d77a50dfe31adfd
2,668
/* * Project:Easy Web Framework * Description: * EasyFK stands for Easy Web Framework.It's an open source product for E-Business / E-Commerce.It * was launched by a chinese Hezhiping(QQ:110476592) in 2015.The goal of EasyFK is to provide a * foundation and starting point for reliable, secure , simple-to-use ,cost...
38.114286
143
0.727136
18b4d019ffd43c1fc0b93b62fd433cb648584365
1,265
package utilities; import org.junit.Test; import java.util.ArrayList; import java.util.Collection; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.collection.IsIterableContainingInOrder.c...
30.853659
160
0.741502
f810aca7204a0e30b045a2e1e1c4c28c34688914
2,912
/* * MIT License * * Copyright (c) 2021 Hydrologic Engineering Center * * 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 * ...
48.533333
131
0.779533
0aae890a272999e3b7f1aa56eec2dfca299de7f0
1,287
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
33.868421
80
0.762238
61562c2f83be6d81f2c9815b8144e75489f5a41b
1,141
package es.cic.curso.curso06.ejercicio016.repository; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import es.cic.curso.curso06.ejercicio01...
20.745455
89
0.767748
b59077a600c9057d4fd5d7d4a700afa28c7e65e0
298
package husacct.bootstrap; import java.awt.Frame; public class Minimize extends AbstractBootstrap { @Override public void execute() { this.getControlService().getMainController().getMainGui().setState ( Frame.ICONIFIED ); } @Override public void execute(String[] args) { execute(); } }
19.866667
89
0.741611
1975798bae90c30b9a17e5e0ce2dfe02ac4b3699
3,192
package DataStructures; public class BinarySearchTree { private BSTNode root; public Boolean containNode(int value) { return containRecursiveNode(root, value); } public void add(int value) { setRoot(addRecursive(getRoot(), value)); } public void delete(int value) { root = deleteRecursive(root, value...
26.380165
95
0.698935
1578cb0d4efe69e57aaf795f10fc73f85618ea73
4,420
/* * Copyright 2009 University Corporation for Advanced Internet Development, 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 * * ...
31.798561
114
0.598643
4d053fefaef52610001c5e2ec79f95e264df9af1
1,563
package ru.soknight.packetinventoryapi.nms.proxy.v1_16_R3.packet.server; import com.comphenix.protocol.events.PacketContainer; import org.bukkit.inventory.MerchantRecipe; import ru.soknight.packetinventoryapi.packet.server.PacketServerTradeList; import ru.soknight.packetinventoryapi.packet.server.WrappedServerPacket; ...
27.421053
103
0.715291
4dc4f9ee80a022a13b76316b01fb2e18c6657359
549
package io.lambdacube.bnd.component.annotation.properties; public final class AnnotationPropMethod { public final String propName; public final String typeName; public final boolean isArray; public final String annotationMethodName; public AnnotationPropMethod(String propName, String typeName, boo...
30.5
113
0.728597
660bdc0f376f5522c33324f273ebeab1a45568cb
2,643
package hr.fer.zemris.jcms.web.actions2; import java.io.IOException; import hr.fer.zemris.jcms.service2.ActivityService; import hr.fer.zemris.jcms.web.actions.Ext2ActionSupport; import hr.fer.zemris.jcms.web.actions.annotations.DataResultMapping; import hr.fer.zemris.jcms.web.actions.annotations.Struts2ResultMapping;...
48.054545
140
0.820658
1cbdde27ddbce6d021c5eeac4f2b520960055547
1,513
/* * Copyright 2009-2017 Aconex * * 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 ...
27.509091
86
0.672174
874b7885b63e6921ba04a6bd06e51867cda6e263
462
package fr.ign.validator.cnig.model; import org.apache.commons.lang.StringUtils; public class SupCategory { public static final String REGEXP = "[a-zA-Z0-9]+"; /** * Indicates if given parameter is a valid SUP category * * @param siren * @return */ public static boolean isValid...
20.086957
59
0.608225
a3489c9bf1facac2dbcb5b888953846ac0a2c9ad
5,833
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.storage.file.datalake; import com.azure.storage.common.StorageSharedKeyCredential; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.In...
39.412162
148
0.663295
05957c49b3f7e5182fa123d86818b31876482e5a
15,401
package DoubleLinkedList; import Socket.Client; import Socket.Server; import SwingInterfaces.BoardInterfaceClient; import SwingInterfaces.BoardInterfaceServer; import javax.swing.*; import java.io.Serializable; import java.util.*; /** * Instituto Tecnológico de Costa Rica * Area de Ingeniería en Computadores * * L...
38.598997
162
0.507175
31dbfc2111241a7fbd2b5c2be92f4f6279576680
292
package com.sparkit.staf.application.models.response.docs; import lombok.Data; import java.util.List; @Data public class LibraryDocumentation { private String libraryName; private String importName; private boolean isBuiltin; private List<KeywordDocumentation> keywords; }
20.857143
58
0.780822
3c4d6e672f67e4d7ee40dabdfd0d6c93921e7204
2,934
/* * Copyright 2015 Priyesh Patel * * 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 t...
34.116279
94
0.748125
970ee3325cdca7b9c7c4fa84896b488d88ec11bc
10,752
package BQN.types.callable.builtins; import BQN.errors.*; import BQN.tools.FmtInfo; import BQN.types.*; import BQN.types.arrs.*; import BQN.types.mut.SimpleMap; import java.math.BigInteger; import java.util.*; public class BaseNS extends SimpleMap { public String ln(FmtInfo f) { return "•b"; } public static fina...
37.333333
135
0.515997
4d28ba2a69b18c9aaa93c1801833522d9d98c1b4
1,129
package ca.ubc.ece.salt.pangor.analysis.flow; import java.util.LinkedList; import java.util.List; import org.mozilla.javascript.ast.AstNode; import org.mozilla.javascript.ast.FunctionNode; import org.mozilla.javascript.ast.NodeVisitor; import org.mozilla.javascript.ast.ScriptNode; /** * Finds all the child function...
23.520833
72
0.750221
470224f951aca0598bf1c5e0150063142845683a
2,281
package gov.cms.dpc.attribution.models; import org.hibernate.validator.constraints.NotEmpty; import javax.persistence.*; import java.util.Objects; @Entity(name = "attributions") @NamedQueries({ @NamedQuery(name = "findByProvider", query = "from attributions a where a.providerID = :id"), @NamedQuery(n...
29.623377
140
0.677335
b7cc21a5b36bd2be54564b4897cd52f937093e6d
1,265
package org.nem.nis.validators.transaction; import org.nem.core.model.*; import org.nem.nis.validators.*; /** * Adapter that adapts a strongly typed transaction validator to a single transaction validator. * * @param <TTransaction> The supported transaction type. */ public class TSingleTransactionValidatorAdapter...
32.435897
135
0.792095
9d14db72e4e115bcb3beeafc6a858651aab2e4f8
606
package at.salzburgresearch.nodekeeper.eca.function; import at.salzburgresearch.nodekeeper.NodeKeeper; import at.salzburgresearch.nodekeeper.model.Node; /** * ... * <p/> * Author: Thomas Kurz (tkurz@apache.org) */ public class CurrentNodeData extends Function { @Override public Object execute(NodeKeeper ...
21.642857
72
0.686469
b43bba45c1f9ee10dec676751d43036927dc3b80
1,902
/* * Copyright 2018 jd.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 * * Unless required by applicable law or agreed to in wri...
31.180328
92
0.754469
7751e9dd09e4873d59e162c0c60e45b6f41c2b93
2,240
package com.github.eyce9000.iem.api.relevance; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair; import com.fasterxml.jackson.databind.i...
33.939394
114
0.788839
bd8c8906905f697f7de376c233945829ec087c74
2,478
package no.cantara.docsite.domain.scm; import no.cantara.docsite.cache.CacheKey; import no.cantara.docsite.json.JsonbFactory; import java.io.Serializable; import java.util.Objects; public class ScmRepositoryContents implements Serializable { private static final long serialVersionUID = -9144603141360888994L; ...
35.4
221
0.650121
cbee3243c90554db223ac005e4e82b5400870012
1,792
package mage.cards.f; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.continuous.BecomesCreatureAttachedEffect; import mage.abilities.keyword.EnchantAbility; import mage.cards.CardImpl; import mage....
35.84
113
0.722656
c23ade35a7d77fb57c3ead3d51ced5a774124b43
686
package com.hzn.sales.model; public class EasyShopCar { private String id; private String goodsId; private String num; private String price; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getGoodsId() { re...
16.731707
44
0.571429
393b8d28057897264fb31561a14e3e892449c27b
1,829
package com.ruoyi.demo.domain; import java.math.BigDecimal; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 账户对象 demo_account * * @author zhangxiulin * @...
21.267442
71
0.585019
85fae4280a6c397c0e15ede8c223a328367bb635
8,493
/* * 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 ...
41.632353
100
0.696809
5b4292be2eaf4d079756554b74029fcba51aab4a
3,262
package kb.validation.required; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.stream.Collectors; import org.eclipse.rdf4j.common.iteration.Iterations; import org.eclipse.rdf4j.model.IRI; import org.eclipse.rdf4j.model...
33.285714
128
0.699264
94075fe28a5fda255b0b99416ee59d5ea5d7ef7e
16,385
package testesDeUnidadeBusiness; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import com.br.uepb.business.CaronaBusiness; import com.br.uepb.business.SessaoBusiness; import com.br.uepb.business.UsuarioBusiness; import com.br.uepb.constants.ECaronaException; import com.br.uepb.con...
30.06422
73
0.712176