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
d70add640d0ad1848e94a66cacc5a0e98b828cdd
4,110
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
35.431034
136
0.720195
33a4e728d55e0fd60b46315efe3963fa367f304e
5,198
/* * Copyright 2019 IIT Software GmbH * * IIT Software GmbH 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/LICENSE-2.0 * * Unless...
26.385787
93
0.564448
6c48d74d00d03e9ea7910f8853d3235cecb019d2
437
package hu.qgears.rtemplate.runtime; abstract public class RQuickTemplate extends RAbstractTemplatePart { public RQuickTemplate() { super(new DummyCodeGeneratorContext()); } public RQuickTemplate(RAbstractTemplatePart parent) { super(parent); } public String generate() { doGenerate(); return templateStat...
19.863636
66
0.75286
14bb61827c428d216ac076ab005b2c1f66329222
3,608
/** * Copyright (C) 2017 Matthias Wessendorf. * * 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 ...
35.029126
126
0.737805
8d2058fb2c9e2c06d255e77976c87c200cbe8d8b
370
package com.waiso.social.framework.concurrent; import java.util.concurrent.ConcurrentMap; /** * Para ambiente em cluster o ideal sera usar o TERRACOTA para cuidar das * variaves lock * @author rodolfodias * */ public class GerenciadorLock { public static ConcurrentMap<Long, Object> lockEmpresas = new java.util...
23.125
117
0.77027
290a4ade9a19b0ab2dc518b2d005335b7f137c54
697
package com.kosbuild.utils; /** * @author sad */ public class BuildRuntimeException extends RuntimeException { private boolean doNotPrintStacktrace = false; public BuildRuntimeException(String message) { super(message); } public BuildRuntimeException(String message, Throwable cause) { ...
24.034483
95
0.707317
46ad09870491642b9cd2c76f95585aa4973f87b0
622
/** * Created by Delarosa on January 13, 2022; */ package Items.Armors; public class Chainmail extends Armor { /** * CHAINMAIL ARMOR CONTRUCTOR... * @param ability Ability of the chainmail armor... (if any) * @param rarity Worth for the chainmail armor... * @param durability Health of t...
28.272727
93
0.64791
ce29f2b443b4983ad725207f2da55f351fd8aadc
697
// Complete the insertNodeAtTail function below. /* * For your reference: * * SinglyLinkedListNode { * int data; * SinglyLinkedListNode next; * } * */ static SinglyLinkedListNode insertNodeAtTail(SinglyLinkedListNode head, int data) { ...
22.483871
88
0.536585
10b339d6337d81f49a182f53b5eaf0e9aa13c19f
3,128
/* * Copyright (C) 2008 feilong * * 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...
37.686747
142
0.64546
ee20ae7ec4090c06860e03be90d7ac6b42a223a1
1,288
package com.smartmovesystems.keycloak.firebasescrypt.rest; import com.smartmovesystems.keycloak.firebasescrypt.ScryptHashParametersRepresentation; import com.smartmovesystems.keycloak.firebasescrypt.ScryptParametersProvider; import org.jboss.resteasy.annotations.cache.NoCache; import org.keycloak.models.KeycloakSessio...
34.810811
126
0.781056
60ce3202e2753734d8a605516f1463fccf7c9c43
480
package com.sojson.core.shiro.cache; import org.apache.shiro.cache.Cache; /** * * 开发公司:SOJSON在线工具 <p> * 版权所有:© www.sojson.com<p> * 博客地址:http://www.sojson.com/blog/ <p> * <p> * * shiro cache manager 接口 * * <p> * * 区分 责任人 日期    说明<br/> * 创建 周柏成 2016年6月2日  <br/> * * @author zhou-baicheng * @email so...
15.483871
45
0.602083
7d3d82a601edce7d05babfe02cb7507cffa30f8e
1,138
package org.linlinjava.litemall.db.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import org.linlinjava.litemall.db.entity.Permission; import org.linlinjava.litemall.db.mapper.PermissionMapper; import org.linlinjava.litemall.db.service.IPermissionService; import com.baomidou.my...
30.756757
130
0.752197
bcd5152b8dbe055e25201e9fa15e4596657b3310
979
/** * Project: phoenix-load-balancer * * File Created at Oct 28, 2013 * */ package com.dianping.phoenix.lb.utils; import org.apache.log4j.Logger; import com.dianping.phoenix.lb.constant.MessageID; import com.dianping.phoenix.lb.exception.BizException; /** * @author Leo Liang * */ public class ExceptionUti...
27.194444
120
0.708887
157acc0ba35089335e02b7915e288e9541e1400c
901
package org.entitypedia.games.sdoclet.swagger.model; import java.util.Map; /** * @author <a href="http://autayeu.com/">Aliaksandr Autayeu</a> */ public class Model { private final String name; private Map<String, ModelProperty> properties; private String description; public Model(Stri...
23.710526
71
0.63263
a5b2e8533b8862fdbc4f992a054af82f10fbad4f
699
package chess.view.menu; import chess.view.menu.button.ContextMenuButton; import javafx.scene.layout.HBox; /** * A menu bar with a button / dropdown to show various actions, like saving and * loading. */ public class ApplicationMenu extends HBox { private static final String MENU_BAR_CSS_CLASS = "menu-bar"; pr...
24.964286
79
0.778255
17f75d4f2efc99a7f4350f7e513c145a058da637
335
import java.sql.Connection; import java.sql.DriverManager; public class DBInfo { static Connection con; static { try { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/student","root","tanay123"); } catch(Exception e) { e.printStackTrace()...
20.9375
93
0.671642
b79fcdb9919b50d35f382c9ac6f759123d1ba56a
2,957
package com.opentaxi.android.utils; /** * Created with IntelliJ IDEA. * User: stanimir * Date: 11/14/13 * Time: 3:29 PM * developer STANIMIR MARINOV */ public class Network { /** * Current network is GPRS */ public static final int NETWORK_TYPE_GPRS = 1; /** * Current network is EDGE ...
27.12844
55
0.555631
a28bec40a70bb123584244f09ab2318ba98a5388
1,490
package com.pamulabs.androidlistviewrocks.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.pamulabs.androidlistviewrocks.R; /** * Created by pnagarjuna...
30.408163
105
0.690604
74722cf7796454b09a81e05277c02153f8d47ede
939
/* * 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. */ /** * * @author dash */ public class Cuadrado extends Figura{ private int lado; public Cuadrado(String nombre,int...
19.5625
79
0.57295
4b9c68481ffd070f363616199b3db0e75e62466d
7,062
package com.plusls.MasaGadget.util; import com.plusls.MasaGadget.ModInfo; import com.plusls.MasaGadget.config.Configs; import fi.dy.masa.minihud.renderer.shapes.ShapeBase; import fi.dy.masa.minihud.renderer.shapes.ShapeDespawnSphere; import fi.dy.masa.minihud.renderer.shapes.ShapeManager; import net.minecraft.ChatForm...
51.926471
174
0.614415
fc295c9cb2b790175d0915bd3e279ffcbc0793fa
3,900
package com.arrow.pegasus; public interface CoreConstant { public final static String ADMIN_USER = "admin"; public final static String ANONYMOUS_USER = "anonymous"; public final static String CRON_USER = "cron"; public final static String API_KEY_CONTEXT = "com.arrow.pegasus.ApiKeyContext"; public...
51.315789
97
0.710769
2cb85273009d03a569f6e40f722742815ae1fcae
1,078
package io.funraise.swagger.play.controllermethod.parser.ast; import java.util.List; import java.util.Objects; public final class Method { private final String name; private final List<Parameter> parameters; public Method(String name, List<Parameter> parameters) { this.name = name; this.p...
23.955556
75
0.590909
4941067512a86ac0624da3b947e6dafd2a35ae38
1,866
package tcintegrations.util; /* (The MIT License) Copyright (c) 2016-2021 SilentChaos512 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 rig...
32.736842
78
0.744373
28a1102799241c23d961f31a28656ed7a8124b23
1,584
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class P03_Cycles_in_a_Graph { public static Map<String, List<String>> graph = new HashMap<>(); public static Set<String> visited = new HashSet<>(); public static void main(String[] args)...
26.4
85
0.539141
f4dc029fbdbdd488f8a81f0fe2a2305479ef6ab5
4,853
/* * Copyright 2010-2011 Research In Motion Limited. * * 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 ...
39.778689
111
0.639604
b118eacbf1841c906263f536dbfb1ce29d4f556d
2,533
package com.cjbednarzyk; import java.math.BigInteger; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; public class Problem125 { public static void main(String[] args) { BigInteger maxSquareNbr = new BigInteger("100000000"); BigInteger palindromicSqua...
39.578125
154
0.708646
75a75bc629e810790be2c814068b0f98a872678a
2,811
package org.bojarski.sozz.model.domain.address; import javax.persistence.Embeddable; import com.querydsl.core.annotations.QueryEmbeddable; /** * Klasa obiektu domeny adresu {@link Supplier}. * @author Arkadiusz Bojarski * */ @QueryEmbeddable @Embeddable public class Address { private String c...
26.027778
79
0.617218
9766ed1825559b04a7732e5f591387c9f416f480
44,448
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
38.819214
117
0.59672
d504590bec167ff56b8124a46e5f94b49e4c1023
4,971
package definitions; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import org.openqa.selenium.By; import org.openqa.selenium.Dimension; import org.openqa.selenium.WebElement; import static org.assertj.core.api.Assertions.*; impo...
39.768
111
0.628244
38eb07db478daf9583476daf30e92fc4d5d403cd
275
package com.sanlea.opensource.sks.provider; /** * Kubernetes service response wrapper * * @author kut */ public interface KubernetesServiceResponseWrapper { /** * wrap * * @param data data * @return result */ Object wrap(Object data); }
16.176471
51
0.632727
7e71245fc051a2d4ca8fb4fb4d34002b407c5c3d
982
package com.ducetech.app.model; import com.ducetech.framework.model.BaseModel; import lombok.Data; import java.io.Serializable; /** * @ClassName: Department * @author chensf * @date 2015年9月25日 上午10:40:30 * @Description: 部门 */ @Data public class Department extends BaseModel implements Serializabl...
21.347826
68
0.670061
fdbfa328028327e3bc2b41e555a8e6684d6f0ef1
71
package Metrics.Test.DepthOfInheritanceTree; public class C11 { }
14.2
45
0.760563
07c91829c74ad1574c74a0a908a685901d19ea9a
1,524
/* * 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 dao; import java.util.List; import javax.persistence.*; import orm.Address; import orm.Postal; /** * * @autho...
28.222222
97
0.611549
a42931e6d3561e3e88ad228af2734d9a7ef7020e
660
package alphacore.blocks; import alphacore.blocks.blockentitys.GreenLanternBlockEntity; import net.minecraft.block.*; import net.minecraft.block.entity.BlockEntity; import net.minecraft.world.BlockView; public class GreenLantern extends LanternBlock implements BlockEntityProvider { public GreenLantern(Abstract...
30
152
0.769697
e4fcac75a3d44e7ab1442985927d3a7d07eb35c5
2,303
package io.quarkus.micrometer.runtime.export; import java.util.List; import java.util.Map; import javax.enterprise.inject.Produces; import javax.inject.Singleton; import org.eclipse.microprofile.config.Config; import org.jboss.logging.Logger; import io.micrometer.core.instrument.Clock; import io.micrometer.core.ins...
35.430769
100
0.704299
50e591cad2a91348efa39678c82ee3c05a604a0f
5,168
package de.fu_berlin.inf.ag_se.browser.swt; import de.fu_berlin.inf.ag_se.browser.IWrappedBrowser; import de.fu_berlin.inf.ag_se.browser.functions.IBrowserFunction; import de.fu_berlin.inf.ag_se.browser.functions.InternalJavascriptFunction; import de.fu_berlin.inf.ag_se.browser.threading.NoCheckedExceptionCallable; im...
29.363636
96
0.581656
b7710e8786a8ceafab94f8721d66a321609207be
216
package com.leg.blog.plus.cloud.feign.fallback; import org.springframework.stereotype.Component; @Component public class MessageFeignFallback { private static final String BREAKING_MESSAGE = "请求失败了,请检查您的网络"; }
24
67
0.805556
6d55ce3f6f5b755d765c1a5c0e891bdf44ae7650
1,917
package io.kitty.client; import io.kitty.util.ToStringUtil; import java.util.HashMap; import java.util.Map; import java.util.Objects; public class HttpEntity<T> { public static final HttpEntity<?> EMPTY = new HttpEntity<>(); public static final Map<String, String> EMPTY_HEADERS = new HashMap<>(0); priv...
23.666667
88
0.568075
139a11747ebfa8f91010e770816aeabd0f24356a
3,744
/* * 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.990654
114
0.673077
aab77f78c6e29eb2aec982ccd9a901edec94ae9d
4,264
/* * Copyright (c) 2017 Richard Jones <richard@mechanicalcat.net> * All Rights Reserved * * 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 limitati...
41.398058
112
0.703799
c16e8e77795f75ed7705e8ab528880efb66b8624
2,359
package cn.laoshini.dk.module.registry; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.jar.JarFile; import cn.laoshini.dk.annotation.FunctionDependent; import cn.laoshini.dk.dao.IEntityClassManager; import cn.laoshini.dk.module.loader.ModuleLoaderContext; import cn.laosh...
27.752941
98
0.668928
ba84759e6c54cd7e77bddac583e03efdc4ebf53d
2,662
package org.atomsg.topic.AtomicMessage; import java.nio.ByteBuffer; import kafka.message.MessageAndOffset; import kafka.utils.VerifiableProperties; import org.atomsg.common.internal.AbstractSimpleConsumer; import org.atomsg.model.AtomicMessage; import org.atomsg.serialization.AtomicMessageCoder; import org.atomsg.se...
31.317647
113
0.707739
c872de2dc7a77384321bbc1408dc2d137053f984
284
package com.xiao.ming.javaweb.utils; public interface ContantsUtil { //String BASE_URL = "http://192.168.2.139:8080/JDBC/"; String BASE_URL = "http://192.168.2.139:8080/Test/"; //String BASE_URL = "http://192.168.2.139:8080/Test/Upload"; int CONNECT_TIME_OUT = 30; }
31.555556
64
0.676056
496ef9a0a6a65e2a65821cbfb7ebb8d18d26d23f
5,408
package com.ucloud.ulive.example.stream; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.TextUtils; import android.view.View; import android.view...
31.08046
167
0.660133
da727cb82da8160524bc37d20d9f647ed4ef03f8
630
package com.asura.framework.dao.mybatis.paginator.jackson2; import com.asura.framework.dao.mybatis.paginator.domain.PageList; import com.fasterxml.jackson.core.Version; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; /** * @author miemiedev */ public cl...
33.157895
109
0.766667
e50dc041713b5aef455ef58893c641679a69cffd
560
package tech.simter.data; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; /** * @author RJ */ class IdTest { @Test void integerId() { Id c = Id.with(1); assertEquals(1, c.getId()); } @Test ...
16.470588
60
0.616071
805d1998c9d298fa984e62a31849b12a5ae3b652
4,274
package com.smalljava.workflow.core.vo; import java.util.ArrayList; import com.google.gwt.user.client.Window; import com.google.gwt.xml.client.Node; import com.google.gwt.xml.client.NodeList; import com.smalljava.core.common.logging.Logger; import com.smalljava.core.common.logging.LoggerFactory; import com.smalljava....
26.382716
90
0.70847
32270c2336da0161ab09b0350683f8017b6e36d0
2,020
package com.example.developer.popmovies; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.example.developer.popmovies.Helpers.Consts; import...
29.705882
93
0.705941
71eef104781a71c8d7706826ae38c68e05568ae5
136
package soya.lang; /** * @author: Jun Gong */ public interface Writable { public void write(Object content) throws Exception; }
13.6
55
0.691176
ed7bd9a7c703f07ad098c7476c2e582d8a47f2c5
407
package com.felixgrund.codeshovel.changes; import com.felixgrund.codeshovel.parser.Yfunction; import com.felixgrund.codeshovel.wrappers.StartEnvironment; import com.google.gson.JsonObject; public class Yparametermetachange extends Yparameterchange { public Yparametermetachange(StartEnvironment startEnv, Yfunction n...
31.307692
103
0.840295
760462cdfc3a197073fe7c301064ca95fee1e1b9
22,675
package net.codehobby.random; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.DataOutputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.File...
37.355848
245
0.709327
3e3ecde95be20045f052f94841ec37829eac1d8e
3,841
/** * Rosie Robotics 2015 */ package org.rosie.robot.lib; import edu.wpi.first.wpilibj.Joystick; public class GameController extends Joystick { /**The Left-X Axis to use for getRawAxis(int), getLX() is the equivalent*/ public static final int LEFT_X = 0; /**The Left-Y Axis to use for getRawAxis(int), ...
28.451852
90
0.625618
417cdaedbb4ba84de15b384f5844079b2785d107
7,587
package com.teamgannon.trips.objects; import javafx.fxml.FXMLLoader; import javafx.scene.Group; import javafx.scene.shape.MeshView; import lombok.extern.slf4j.Slf4j; import java.io.IOException; @Slf4j public class MeshViewShapeFactory { public Group starCentral() { try { FXMLLoader fxmlLoade...
31.222222
85
0.54343
c9b1f2eedbcb869904c57f287f3c2d3b3d3ecfe2
976
package org.itstack.naive.chat.infrastructure.repository.redis; import com.alibaba.fastjson.JSON; import org.itstack.naive.chat.domain.repository.IUserRepository; import org.itstack.naive.chat.infrastructure.po.UserEntity; import org.itstack.naive.chat.infrastructure.util.RedisUtil; import org.springframework.stereoty...
28.705882
82
0.754098
3c5c80dd9ad980007834e2eceace412bddcdbac5
729
// (C) king.com Ltd 2016 // https://github.com/king/tratt-api // License: Apache 2.0, https://raw.github.com/king/PROJECT/LICENSE-APACHE package com.king.tratt; import java.util.concurrent.CopyOnWriteArrayList; final class Processors { /* * This List needs to handle removals of its elements duri...
26.035714
76
0.670782
22907044091a68f5ec4194ac4f73e7b41dfb078e
12,495
/* * Copyright 2020 LinkedIn Corp. 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 applicab...
50.180723
119
0.768227
8bb4cbedc5585e21ae9f211c72dfdca9427e73eb
627
package org.jhaws.common.lang; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; public class EnhancedArrayList<T> extends ArrayList<T> implements EnhancedList<T> { private static final long serialVersionUID = -6633916123289115157L; public EnhancedArrayList() { super(); } publi...
20.9
83
0.744817
9c95ca358e802f3a7a5868b4b76e57004ca35b92
936
package work.lishubin.smart4j.framework.webmvc.helper; import work.lishubin.smart4j.framework.constant.MvcConfigStant; import work.lishubin.smart4j.framework.helper.AbstractConfigHelper; import work.lishubin.smart4j.framework.utils.PropUtils; /** * @author 李树彬 * @version 1.0.0 * @date 2019/12/2 14:26 */ public c...
31.2
76
0.71688
e5a6ad2080a44a466fa954624dc5b771eabc6136
683
package ru.yoomoney.gradle.plugins.library.dependencies.repositories; import ru.yoomoney.gradle.plugins.library.dependencies.dsl.ArtifactName; import ru.yoomoney.gradle.plugins.library.dependencies.dsl.LibraryName; import java.util.List; /** * Интерфейс для получения информации об артефактах, хранящихся в репозитор...
34.15
85
0.809663
264116581619849bf479e65eafc8bf3dc3aed0f4
4,577
package org.droidwiki.certtest; import java.io.IOException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.Arrays; import org.droidwiki.cer...
37.516393
104
0.760979
68a02bc21f5405da68ffe9fea7ac454d72d3e9de
3,784
package com.cropcircle.filmcircle.ui.home.sub; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProvider; import androidx.recyclerview.widget.GridLayoutManage...
35.037037
95
0.70111
49f6c6b58958b5c1548fcad4a6b3c61913a3d352
5,105
package org.testifj; import java.util.ArrayList; import java.util.Collections; import java.util.List; public final class BasicDescription implements Description { private final List<Part> parts; public BasicDescription() { this(Collections.emptyList()); } private BasicDescription(List<Part>...
24.309524
103
0.574143
1a2eae5389e001b6c9aacab4d70875e7873a1480
2,663
package ProgramacaoOrientadaObjetos_Parte2_Lambda.Cap21_Acesso_BDcomJDBC.jdbc2.application; import ProgramacaoOrientadaObjetos_Parte2_Lambda.Cap21_Acesso_BDcomJDBC.jdbc2.db.DB; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; /* Código fonte: https://gith...
28.945652
91
0.642508
c39343d5cb34572cba98b39e1bfcfc178f5d9678
5,440
/* * * * Copyright (C) 2014 Divine Cloud 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 requ...
40.902256
168
0.643382
ec5a16e49541d9a22160744b261fffa24bf1f67e
607
package com.whatistics.backend.statistics; import com.google.inject.AbstractModule; import com.google.inject.name.Names; import com.whatistics.backend.WhatisticsBackend; /** * @author robert */ public class StatisticsModule extends AbstractModule { @Override protected void configure() { Names.bindP...
26.391304
75
0.711697
36ffafa71848ac618443601d1be4703e5c374d55
2,215
package lsieun; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Arrays; import lsieun.asm.ClassReader; public class App { /** The size of ...
34.609375
108
0.652822
1abd976950259b2635764315872d2f9211614389
7,501
package org.slf4j.impl; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import org.slf4j.Marker; /* * THIS CLASS IS USED TO DISABLE THE DEFAULT JDA LOGGING * IF YOU WANT JDA LOGGING REMOVE * StaticMDCBinder.java and StaticLoggerBinder.java */ @SuppressWarnings("ALL") public class StaticLoggerBinder {...
21.932749
87
0.4978
797b6b846cd2b5af57b09d240949916bdc6b622b
1,640
package by.dragonsurvivalteam.dragonsurvival.common.capability.provider; import by.dragonsurvivalteam.dragonsurvival.common.capability.GenericCapability; import net.minecraft.entity.Entity; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.Direction; import net.minecraftforge.common.capabilities.Capabili...
40
172
0.82439
58175f9976e08e1ecdc6ac12230ac73b1d3c4abb
4,009
/** * 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.560345
114
0.736593
b7d0e65d24fab54cbfb2b4641d802f7fdf56706c
2,120
package com.hccake.ballcat.admin.modules.notify.model.vo; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.time.LocalDate...
19.813084
70
0.714623
236254b3f45a2681e21918ab16186ce0c85226d7
3,999
package com.example.demo.view; import com.example.demo.Model; import com.example.demo.R; import com.example.demo.fragment.ProTypeFragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import a...
25.310127
82
0.696924
c02add021bd01277a309e3946783acb1030b5529
467
package se.insektionen.songbook.model; import com.google.auto.value.AutoValue; /** * Data model for part of a song. */ @AutoValue public abstract class SongPart { public static final int TYPE_COMMENT = 1; public static final int TYPE_HEADER = 2; public static final int TYPE_PARAGRAPH = 0; public static SongPar...
21.227273
55
0.745182
0c17ec59bcfa46c158cdfaca905d03c30a3869e6
542
package com.bcgdv.jwt.models; import java.io.Serializable; import java.util.Map; /** * Encapsulates the server secret that is encrypted by the generation service. */ public class ServerSecret extends Secret implements Serializable { /** * Pass secret into constructor as Map. Must contain "context" for tok...
27.1
87
0.714022
323b40bf0fc9942050aebd7608fcc924bfd4a0c9
1,492
package huskymaps.params; import org.apache.commons.math3.util.Precision; import java.util.Objects; import static huskymaps.utils.Constants.DECIMAL_PLACES; import static huskymaps.utils.Constants.EPSILON; public class Location { protected final double lat; protected final double lon; protected final Str...
22.953846
63
0.535523
0435d86cd27b37c7ae109708b8ccf1d1067d121e
3,653
/* * Copyright 2008-2009 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...
35.466019
120
0.642212
40b790d1f532f5b7539ce505b9d38ef56ce10d26
13,700
package gui; import java.awt.Dimension; import java.awt.Font; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; i...
30.64877
168
0.714307
9c38acbfbe7b9cf350af19fb27ac63971c7f47b9
2,214
package com.alorma.github.sdk.bean.dto.request; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; /** * Created by Bernat on 13/10/2014. */ public class RepoRequestDTO implements Parcelable { public String name; public String description; public String ho...
24.6
108
0.725836
9a129a3a2295d49679489fa0c0142decf6279dc6
439
package basic.sorting; import util.Algorithm; public class BubbleSorter { /** * * @param array * @return */ @Algorithm(value = "sort") public static int[] sort(int[] array){ for (int i=0; i<array.length; i++){ for (int j=0; j<array.length-1-i; j++){ if (array[j] > array[j+1]){ ...
16.884615
43
0.517084
1ac924c09b73c71cd2afb812f4568ffdec79f04b
2,822
package com.taoemily.mytodo.config.security; import com.taoemily.mytodo.service.JwtUserDetailsService; import io.jsonwebtoken.ExpiredJwtException; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authe...
42.757576
187
0.73494
fa8c6eb53e6fd011064465d3eb07de136cea04fc
1,543
package org.sagebionetworks.client.exceptions; /** * Unknown Synapse Server Exception * */ public class UnknownSynapseServerException extends SynapseServerException { /** * The http response code associated with a server-side exception */ private int statusCode; private static final long serialVersionUID =...
21.732394
88
0.709657
06bc49029815e38e5ad676dd707024a7d0debffb
11,417
package com.github.stefvanschie.quickskript.core.util; import com.github.stefvanschie.quickskript.core.pattern.SkriptPattern; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.Collection; import java.util.Collections; impor...
17.646059
119
0.496365
0d60d3f9f0eb6cfabc7e249b963ea8adc0189338
12,702
package de.seronet_projekt.ros.componentGateway; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util....
46.527473
162
0.736498
0a94ca5c9c9fbcbb8d146d49617c5dcdba1d2465
1,552
package com.rbonestell.bcwidget; import android.app.ListActivity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; public class Sel...
27.22807
119
0.72616
f99fd245bd9b7c37a7ffc591df0098b4f75b1346
3,146
package com.cobaltplatform.ic.backend.model.response; import com.cobaltplatform.ic.backend.model.serialize.DSTU3PatientSerializer; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import org.hl7.fhir.dstu3.model.Patient; import org.joda.time.DateTime; import java.util.List; import java.util.UUID; publ...
23.833333
76
0.684043
9a5a1d8446744a8949b02b3ef7ac865a52afa525
18,256
/** * */ package com.butterfly.vv.camera; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import andr...
33.87013
97
0.745454
7e7a6c4f840137cebe8ba8e851db350e7e0512ce
13,856
package com.teamlucidic.hax.entity.living; import java.util.ArrayList; import com.teamlucidic.hax.Main; import com.teamlucidic.hax.block.Block; import com.teamlucidic.hax.entity.AABB; import com.teamlucidic.hax.entity.Camera; import com.teamlucidic.hax.entity.Entity; import com.teamlucidic.hax.entity.Flock.S...
32.990476
290
0.648889
7ff9bc12df8aef0ed1a8d89b6636b5b8bdeccb2b
1,582
/* * 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 ...
35.954545
76
0.750948
7997bed6009b58879d40363233d6d402515a77e4
25,654
package com.pascalwelsch.compositeandroid.fragment; import android.animation.Animator; import android.app.Activity; import android.app.Dialog; import android.arch.lifecycle.ViewModelStore; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.Inte...
34.38874
122
0.657675
9a4517965d8a22fe005b61fe0883670f8d1f6195
8,087
package ph.url.phlinthetime.mod.entity; import java.lang.reflect.Method; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import ph.url.phlinthetime.mod.ModPhantasialand; import ph.url.phlinthetime.mod.asm.MethodInvokerClass; import ph.url.phlinthetime.mod.tileentity.TileEntityTrack; impo...
29.731618
179
0.733399
87740cc66a29f84e1e91694b3b7eecf98d169186
654
package com.javarush.task.task38.task3804; class ExceptionFactory { public static Throwable getException(Enum type) { if (type == null) return new IllegalArgumentException(); String message = type.name().charAt(0) + type.name().substring(1).toLowerCase().replace("_", " "); if ...
29.727273
106
0.657492
a3dc93067b19f2ba0057729735000e68b73bc871
3,315
package com.weibao.chaopei.service; import java.util.List; import java.util.Map; import org.jeecgframework.core.common.model.json.DataGrid; import org.jeecgframework.core.common.service.CommonService; import com.weibao.chaopei.entity.HolderEntity; import com.weibao.chaopei.entity.PolicyEntity; import com.w...
23.510638
121
0.685068
eb5062eb091110cc1e4095b8b9d3f3c5b6a3bfc3
380
package org.zmsoft.jfp.framework.support; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.zmsoft.jfp.framework.constants.IFrameworkConstants; /** * 自定义拦截器 * @author ZmSoft * @version 0.1.0 2018/2/8 * @since 0.1.0 2018/2/8 */ public class MyInterceptorAdapterSupport extends Ha...
25.333333
106
0.797368
d9b11c151c8df65d704c73d2e0b868ce5f09cf0c
4,824
package com.example.doit.ui; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction; import android.util.Log; import android.view.LayoutInflater; im...
28.886228
138
0.570066
20c9dbc4d15ec1324b8334236d2e1bc716023feb
1,837
package com.cy.core.user.dao; import com.cy.core.user.entity.UserAuth; public interface UserAuthMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table cy_user_auth * * @mbggenerated Thu Jul 27 16:13:49 CST 2017 */ int deleteByPri...
27.41791
65
0.67828
e3c4a2ab0f6bea2ded5f363c0eab9c04b76747c8
304
package javafish.clients.opc.exception; /** * Update time of group change exception */ public class GroupUpdateTimeException extends OpcException { private static final long serialVersionUID = -3555572559332734530L; public GroupUpdateTimeException(String message) { super(message); } }
21.714286
69
0.766447
e112ce4baac62a50861c737c64257621ba4af74b
907
package org.epodia.services; import java.util.List; import org.epodia.entities.Relatives; import org.epodia.metier.RelativesMetier; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; ...
29.258065
62
0.818082
bcf705b8a40022adc5e484a14b46f730edabcc95
358
package com.cyn.gulimall.member.dao; import com.cyn.gulimall.member.entity.MemberEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 会员 * * @author chenyn * @email 775608598@qq.com * @date 2020-05-19 22:32:26 */ @Mapper public interface MemberDao e...
19.888889
61
0.75419
6180396d0a786071df93c51b45c3a093109a61b3
340
package com.android.tusk.model; public class LoginRequest { private String RID, password; public LoginRequest(String RID, String password) { this.RID = RID; this.password = password; } public String getRID() { return RID; } public String getPassword() { retur...
17
54
0.611765
51c67b2b7f6c77a24d53c3980b333e0e1b17e190
533
package br.com.ifrn.workbook.service; import javax.inject.Inject; import org.springframework.stereotype.Service; import br.com.ifrn.workbook.model.servico.Categoria; import br.com.ifrn.workbook.repository.CategoriaRepository; @Service public class CategoriaService extends BaseService<Categoria, Long>{ private fi...
22.208333
67
0.821764
d71c6fe87650df166bd8eb4452b839364eec4002
5,256
/* * Copyright 2016 Faisal Thaheem <faisal.ajmal@gmail.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 b...
41.385827
142
0.642694