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
a92fee48afbed6c633e4cf71f2796b8805e09a8b
2,305
/* * #%L * Gravia :: Integration Tests :: Common * %% * Copyright (C) 2010 - 2014 JBoss by Red Hat * %% * 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/...
38.416667
111
0.732321
881c12de536ab866d1f55cdfd53d09e881cd8669
2,863
package com.github.nacoscustomerservice; import com.github.nacoscustomerservice.model.Coffee; import com.github.nacoscustomerservice.model.CoffeeOrder; import com.github.nacoscustomerservice.model.NewOrderRequest; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import o...
37.671053
105
0.690534
5e6296573581377a630d12afa271baf192b83b9d
2,620
package com.cab.libmgmt.dao; import com.cab.libmgmt.db.DBConnection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Jack Sparrow */ public class LoginDao { p...
33.164557
168
0.55458
fa6527396ef1698b0a8ca844e6c81955b237e869
962
package com.symulakr.service.user.service.db.test; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.test.context.Spr...
33.172414
75
0.821206
74bc81f4733bc70be210b5b03f3b3ac20ded8a70
767
package de.jpaw8.batch.producers.impl; import java.util.function.Function; import java.util.function.ObjIntConsumer; import de.jpaw8.batch.api.BatchReader; import de.jpaw8.batch.factories.BatchLinked; public class BatchReaderMap<E, R> extends BatchLinked implements BatchReader<R> { private final BatchReader<? ex...
31.958333
88
0.723598
44931ee3adc05438006c685de7023c14ef73e342
6,234
/******************************************************************************* * Copyright (c) 2010-2011 VIVO Harvester Team. For full list of contributors, please see the AUTHORS file provided. * All rights reserved. * This program and the accompanying materials are made available under the terms of the new BSD l...
28.081081
213
0.633622
5e7efb9a128536bcdfe1a5cceb7ab6a4f8f9f887
872
package com.xuxl.redis.admin.mapper; import com.xuxl.redis.admin.entity.Cluster; import com.xuxl.redis.admin.entity.ClusterCriteria; import org.apache.ibatis.annotations.Param; import java.util.List; public interface ClusterMapper { long countByExample(ClusterCriteria example); int deleteByExample(ClusterCr...
28.129032
109
0.775229
c5a82665d5e7d62c4f33b676349103f2e6a42849
167
package com.room.ui.viewmodel; import android.arch.lifecycle.ViewModel; /** * author by Anuj Sharma on 12/7/2017. */ public class BaseModel extends ViewModel{ }
13.916667
41
0.736527
b8da2c7dbb439bf08c00ab2f48dec7044cb68660
717
package lt.insoft.webdriver.testCase; import org.junit.After; import lt.insoft.webdriver.testCase.webTester.WebTester; import lt.insoft.webdriver.testCase.webTester.WebTesterBase; public class WebDriverTestCase implements AutoCloseable { protected WebTester t = null; protected int threadId; @After public void a...
17.487805
60
0.736402
2e6c947f399e77c79d52481e190d579b2de8c1b4
13,199
package org.azbuilder.api; import com.yahoo.elide.core.exceptions.HttpStatus; import org.junit.jupiter.api.Test; import org.springframework.test.context.jdbc.Sql; import static com.yahoo.elide.test.jsonapi.JsonApiDSL.*; import static io.restassured.RestAssured.when; import static org.hamcrest.Matchers.equalTo; class...
65.341584
240
0.434124
e2b09f77233aa62035b14ba203bfa670c1324885
7,587
/** * Copyright (c) 2009, A.Q.Yang. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above * copyright notice, th...
31.222222
92
0.663899
8543d54c6fcad1f6f02aedc1cb8e3b9fae3bf58b
2,007
package io.reflectoring.coderadar.game.service.get; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import io.reflectoring.coderadar.domain.Quest; import io.reflectoring.coderadar.game.port.driven.ListQuestsPort; import java.util.List; import org.junit.jupiter.api.Tes...
37.166667
107
0.672147
b574774fad90a5afc18adb8c3bf600a59b821c35
2,856
package quests; import l2f.commons.util.Rnd; import l2f.gameserver.model.instances.NpcInstance; import l2f.gameserver.model.quest.Quest; import l2f.gameserver.model.quest.QuestState; import l2f.gameserver.scripts.ScriptFile; /** * @author pchayka */ public class _288_HandleWithCare extends Quest implements ScriptF...
20.546763
85
0.630952
af0c7fc0bb5c39ab3d75c3fe739b75f4da119616
6,252
package com.oss.project; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Date; import java.util.Iterator; import java.util.List; import j...
28.162162
89
0.684421
82daa63de5a2c11d5726015e785028aae58e17c2
2,427
package kernbeisser.Windows.Trasaction; import java.util.ArrayList; import java.util.Collection; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction; import javax.persistence.NoResultException; import kernbeisser.DBConnection.DBConnection; import kernbeisser.DBEntities.Transaction; impor...
27.579545
96
0.700453
ad5961279d88de6d8a9821470270e2b2e332c51b
673
package com.dopoiv.clinic.project.order.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.dopoiv.clinic.project.order.entity.Order; /** * @author dov * @since 2021-03-03 ...
26.92
102
0.699851
7efad2bd62783638d9b0bc1c5cc7de03e8c4427a
2,901
/* * Copyright (c) 2019. Chris Wohlbrecht * * MIT License * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
44.630769
132
0.780076
d3b4be0d214e89aa27b7d1928ddbc2945214fd73
2,868
package uk.co.optimisticpanda.configuration.healthcheck.annotations; import static org.fest.assertions.Assertions.assertThat; import java.util.List; import org.junit.Before; import org.junit.Test; import uk.co.optimisticpanda.configuration.healthcheck.ConfigurationErrorReporter; import uk.co.optimisticpanda.configu...
40.394366
107
0.756625
fedff066aa540bdbce721387784f05f11d62cae0
779
package com.icepoint.framework.web.system.expression.node; /** * 字面值 * * @author Jiawei Zhao */ public abstract class Literal extends AbstractExpressionNode { private final TypedValue value; private final Object originalValue; protected Literal(Object originalValue, int startPos, int endPos) { ...
22.257143
71
0.690629
b78abf0dfc89f231e706a596a1774db43c1a14d9
1,009
package net.brian.italker.common.app; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import net.brian.italker.common.R; /** * Created by with_you on 2017/8/19. */ public abstract class ToolbarActivity extends Activity { protected Toolbar mToolbar; @Overri...
22.931818
59
0.613479
4c23e04244727741b11a59a23f209d6ba26c5e8f
9,669
package cz.abclinuxu.datoveschranky.impl; import cz.abclinuxu.datoveschranky.common.entities.DataBox; import cz.abclinuxu.datoveschranky.common.entities.DeliveryEvent; import cz.abclinuxu.datoveschranky.common.entities.Hash; import cz.abclinuxu.datoveschranky.common.entities.MessageEnvelope; import cz.abclinuxu.datove...
51.983871
119
0.71993
7e744700708df09a01bf9a01b319edf7bdcf36ad
4,491
/* * The MIT License (MIT) * * Copyright (c) 2016-2018: * Una Thompson (unascribed), * Isaac Ellingson (Falkreon), * Jamie Mansfield (jamierocks), * Alex Ponebshek (capitalthree), * and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and a...
35.928
130
0.758183
2d1bd7c507fe1c6b7d5960b64cecbf48ede7c3f3
1,170
package com.internousdev.leisurepass.dto; import java.util.Date; public class MCategoryDTO { private int id; private int categoryId; private String categoryName; private String categoryDescription; private Date insertDate; private Date updateDate; public int getId() { return id; } publi...
18.870968
66
0.709402
a2485024aa5edc76d364cfe49c453a89a8951b85
4,645
package me.gavincook.test.io; import org.junit.Test; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; /** * @author GavinCook * @date 2017-04-08 * @since 1.0.0 */ public class RenameTest { ...
25.949721
120
0.559526
1795917c088b217f8cf8795165f6f000dc3b597c
2,432
package com.mikescamell.sharedelementtransitions.flash_fix.programmatic_activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.view.ViewCompat; import android.support.v7.app.AppCompatActivity; import and...
40.533333
137
0.690789
ee1de181df408c55d95abb651d3867fc6571b39d
3,897
package ch.hsr.ogv.model; import javafx.geometry.Point3D; import javafx.scene.paint.Color; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.XmlType; import java.util.*; import java.util.concurrent.atomic.AtomicInteger; @XmlType(propOrder = {"uniqueID", "attributeValues"}) public class ...
29.08209
123
0.651527
43570208fcc70e3a53756950e01dae53f78adead
760
package claseinner; interface Engine { int getFuelCapacity(); } class Car { private int plateNumber = 10; private class OttoEngine implements Engine { private int fuelCapacity; private int plateNumber; public OttoEngine(int fuelCapacity) { this.fuelCapacity = fuelCapacity; } public int getFuelCapaci...
17.674419
52
0.713158
27a12e6fe74a141a1c6969f565f476b2d003bc2a
78,946
package it.polimi.ingsw.view.GUI.controller; import it.polimi.ingsw.message.connection.CClientDisconnectedMsg; import it.polimi.ingsw.message.connection.VServerUnableMsg; import it.polimi.ingsw.message.controllerMsg.*; import it.polimi.ingsw.message.viewMsg.VActionTokenActivateMsg; import it.polimi.ingsw.message.viewM...
39.952429
362
0.623325
dbead889488bc0a49bceb4aa17eb6859c05e6ac4
4,192
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * ...
33.269841
131
0.540553
5c4c4da77708a0aa16a0663a5a477904027f58be
838
package com.example.ecupcake; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class HomeActivity extends AppCompatActivity { private Button LogoutBtn; @Override protecte...
26.1875
83
0.644391
501344f4f6edbd74ba9b899449de1bfd2350c4cb
1,503
package com.example.univeristyligthhousekeeper.DatabaseModel; import android.content.Context; import android.database.Cursor; import android.util.Log; import java.util.List; public class Wydzial { private int id; private String wydzial; private List<Kierunek> kierunki; DatabaseAccess databaseAccess;...
21.782609
66
0.648037
c501fdd9be7a0a956e774e770cacab8c47992677
20,663
package com.newnil.cas.oauth2.provider.controller; import com.newnil.cas.oauth2.provider.dao.entity.ClientDetailsToScopesXrefEntity; import com.newnil.cas.oauth2.provider.dao.entity.RedirectUriEntity; import com.newnil.cas.oauth2.provider.dao.repository.ClientDetailsRepository; import com.newnil.cas.oauth2.provider.da...
52.444162
156
0.684025
147522c12631d4077719c6d3c575fd5427dfe8d3
1,919
package com.giorgiofederici.sjp.security.handler; import java.io.IOException; import java.util.Locale; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
38.38
101
0.837415
1778a403a62348820f81aacc1cbb8b155393c5b0
385
package cz.tul.entities; /** * Created by Marek on 27.09.2016. */ public enum AttributeType { NUMBER("number"), SELECT("select"), TEXT("text"), IMAGE("image"); private String attributeType; AttributeType(String attributeType) { this.attributeType = attributeType; } public S...
17.5
43
0.633766
fd317d154cd8cf160b53b6c2f1025258311171b4
576
package main.java.br.com.illuminati.calculator; public class InputTransformer { private final static char ILLUMINATI_CHARACTER = '▲'; public String removeIlluminatiSymbol(String input){ return input.replaceAll((String.valueOf(ILLUMINATI_CHARACTER)), ""); } public String[] splitByWhitespace(S...
26.181818
76
0.717014
ed9aaaf694f383170f399fc722927034f642db2d
3,802
package vid.automation.test.infra; import java.time.LocalDate; import org.testng.IAnnotationTransformer; import org.testng.annotations.ITestAnnotation; import org.togglz.core.context.StaticFeatureManagerProvider; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Constructor; import java.lang.reflect...
36.557692
122
0.649395
d8fff5a1833092a6ab2e9535ca5543cbf638e4f0
718
package scrame; import java.io.Serializable; /** * A pair utility class * * @author abhishekbhagwat * * @param <L> The Left Component * @param <R> The Right Component * Code cloned and cleaned up from https://gist.github.com/anuvrat/370901.js git gist * Java API docs link https://commons.apache.org/proper/com...
24.758621
117
0.668524
00a691c08a190eecf0878ecc7e06a971993ecb7d
2,892
package mage.cards.p; import java.util.UUID; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.Outcome; import mage.constants.Zone; ...
33.627907
141
0.655602
c296d20da3c77e3613b597da7b64de761c067a77
824
package com.insightsuen.stayfoolish.base; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotation.Nullable; import com.insightsuen.bindroid.component.BindActivity; import com.insightsuen.bindroid.viewmodel.LifecycleViewModel; /** * Created by InSight Suen on 2017/7/12...
26.580645
99
0.730583
5cb8688499c13bccf1c272f1d95f6aab88a8d5c8
430
package android.support.p000v4.graphics; import android.annotation.TargetApi; import android.graphics.Bitmap; import android.support.annotation.RequiresApi; @TargetApi(19) @RequiresApi(19) /* renamed from: android.support.v4.graphics.BitmapCompatKitKat */ class BitmapCompatKitKat { BitmapCompatKitKat() { } ...
23.888889
66
0.767442
dd7e49eaf31f30f07ea0ac37945d5e17b88a5e1b
2,717
package dk.netdesign.common.osgi.config.wicket.jetty; import org.apache.wicket.protocol.http.ContextParamWebApplicationFactory; import org.apache.wicket.protocol.http.WicketFilter; import org.eclipse.jetty.jmx.MBeanContainer; import org.eclipse.jetty.server.HttpConfiguration; import org.eclipse.jetty.server.HttpConnec...
31.229885
119
0.699669
e58cc77f105d8e963df295bf1351962196664ff2
380
package by.grsu.boldak.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; /** * `user` page controller */ @Controller @RequestMapping("/user") public class UserController { @GetMappi...
21.111111
62
0.778947
828d36907082f05902dbf5cc6b0995f7399bae12
766
package com.javaonlinecourse.b3lesson2.classwork; /** * Author: E_Mitrohin * Date: 23.11.2016. */ public class CW01 { public static void main(String[] args) { boolean condition1 = true, condition2 = false; // По правилам синтаксиса Java else относится к самому внутреннему if if (condit...
24.709677
84
0.605744
ba7e1b54fefd27756d2a62cd95c0ebc3379bcfb9
1,250
package com.github.infobarbosa.scyllalabs; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import twitter4j.Status; import twitter...
23.584906
66
0.636
bd22a1df1acbf25ea2deaf630eb49266b7369801
1,304
package net.coding.ide.service; import net.coding.ide.dto.FileDTO; import net.coding.ide.entity.WorkspaceEntity; import net.coding.ide.model.FileInfo; import net.coding.ide.model.FileSearchResultEntry; import net.coding.ide.model.Workspace; import net.coding.ide.model.exception.GitCloneAuthFailException; import org.ec...
30.325581
128
0.792945
e955564d26be9af0579d02d6405e302bea34dd41
343
package br.com.basis.madre.repository.search; import br.com.basis.madre.domain.Clinica; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * Spring Data Elasticsearch repository for the {@link Clinica} entity. */ public interface ClinicaSearchRepository extends ElasticsearchReposit...
34.3
89
0.819242
42fba5201cfb8b58b900cd672ddbe51093b7f1e7
13,441
package com.medusa.gruul.common.core.util; import org.apache.commons.lang.StringUtils; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import ...
24.707721
157
0.480917
12f10991c54d318cf64b63b559cbcf1aa990a70d
4,821
/* * $Id: PWPdfFile.java 2014/02/09 8:36:29 masamitsu $ * * =============================================================================== * * Copyright (C) 2013 Masamitsu Oikawa <oicawa@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software ...
34.934783
148
0.707737
5239c257588fefc6212a353059018953e6788f6f
30,220
package cwms.radar.data.dao; import java.io.StringReader; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.Connection; import java.sql.SQLException; import java.sql.Timestamp; import java.time.Duration; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import j...
37.170972
175
0.724818
b183f63101e9c3067b8abea02dfb9f7bd71cc705
318
package com.rbkmoney.fistful.reporter.handler.source; import com.rbkmoney.fistful.reporter.handler.EventHandler; import com.rbkmoney.fistful.source.TimestampedChange; import com.rbkmoney.machinegun.eventsink.MachineEvent; public interface SourceEventHandler extends EventHandler<TimestampedChange, MachineEvent> { }
35.333333
91
0.858491
0f787e0f57083504153a2c3e3984ef40e567c638
4,012
/***************************************************************** * 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 * ...
38.209524
83
0.6665
15b1def62ebd2155114df47c54bf898fd30e8f4c
392
package com.stefan.ypinmall.coupon.dao; import com.stefan.ypinmall.coupon.entity.SpuBoundsEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品spu积分设置 * * @author Stefan_Yang * @email stefanyang520@gmail.com * @date 2020-06-01 12:29:22 */ @Mapper ...
21.777778
67
0.77551
bc89821daad3fc993dc6d8b7483fafe9286a58fc
1,674
package com.ishland.c2me.compatibility.mixin.betterend; import com.ishland.c2me.compatibility.common.betterend.ThreadLocalMutableBlockPos; import net.minecraft.util.math.BlockPos; import org.spongepowered.asm.mixin.Dynamic; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org....
36.391304
82
0.792712
3e8e682cb37f3e2018bb3c9e2a7ba51af99b0cc5
14,329
/* * Copyright (c) 2004 The University of Maryland. All Rights Reserved. * */ package edu.umd.lib.dspace.authenticate; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.Vector; import java...
26.633829
129
0.550562
0e19b226d170603701569eded2727f274a83dbf5
17,814
/* * 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 * d...
34.590291
128
0.665095
52cbdaf03e45a20682e5a0f6036c9cdeeb861808
1,117
package dev.tigr.clantags.api.screen; import dev.tigr.clantags.api.Utils; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.renderer.GlStateManager; /** * @author Tigermouthbear * @since 12/30/19 */ class DiscordButton...
31.914286
112
0.728738
8bad94cbc4efb2704b098468a068cb1c67327eb3
1,232
package spms.controls; import java.util.Map; import javax.servlet.http.HttpSession; import spms.annotation.Component; import spms.bind.DataBinding; import spms.dao.MemberDao; import spms.vo.Member; @Component("/auth/login.do") public class LogInController implements Controller, DataBinding { MemberDa...
26.782609
70
0.627435
f5cac96be91f2de87f03075d7a513aa85e4d68d0
562
package net.minecraft.commands; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.minecraft.network.chat.Component; public class CommandRuntimeException extends RuntimeException { private final Component message; public CommandRuntimeException(Component p_79225_) { super(p_79225_....
33.058824
155
0.797153
f6f648dd38b6618a5d3557bc01886861aa439a81
4,037
package io.github.ph1lou.werewolfplugin.commands.roles; import io.github.ph1lou.werewolfapi.Commands; import io.github.ph1lou.werewolfapi.PlayerWW; import io.github.ph1lou.werewolfapi.enumlg.State; import io.github.ph1lou.werewolfapi.enumlg.StateLG; import io.github.ph1lou.werewolfapi.events.ProtectionEvent; import io...
34.801724
126
0.675749
e8b238d05c32f30ff40a5ce84b1dd8f92666f988
9,094
package com.simple.mrchip.app; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import android.support.v4.app.Frag...
37.270492
111
0.608313
5332ab404d1dedea6012541747d733e2213383e4
434
package com.example.java_db_06_lab.services; import com.example.java_db_06_lab.exceptions.InsufficientFundsException; import java.math.BigDecimal; public interface AccountService { void transferBetweenAccounts(Long from, Long to, BigDecimal amount) throws InsufficientFundsException; void withdrawMoney(BigD...
28.933333
106
0.822581
ec54cc419ccc2654dbda08617f8e38c3ba81b2e6
1,912
package com.perunlabs.tool.jvalgen.var.spec; import static com.perunlabs.tool.jvalgen.Utils.list; import static com.perunlabs.tool.jvalgen.var.spec.AllVTypes.VINT; import static com.perunlabs.tool.jvalgen.var.type.BasicVFunction.involutary; import static com.perunlabs.tool.jvalgen.var.type.BasicVFunction.simple; impo...
39.833333
98
0.755753
6bddae2cc5144f22ce1ab9daedd85da4ba8668af
4,020
package com.emerchantpay.gateway.util; import java.io.Serializable; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.*; /* * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal...
32.95082
86
0.749751
9a57fcc0314ec891b7e07d2f62c60d669998b021
2,339
/* * 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 * distribut...
35.439394
100
0.707995
c399d2bb4a1d674e7d9a0f67e6f9340180dc484b
1,386
/* * 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 br.org.gdt.service; import br.org.gdt.dao.CsbffPessoaBeneficioDAO; import br.org.gdt.model.CsbffPessoaBeneficio; impo...
26.653846
80
0.726551
54e250b9da472dab4ed823109d738c7dcbc1d2bc
7,697
/* * Copyright 2016 Anno van Vliet * * 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.297794
140
0.706119
09a4298c742f4db0e2e40d470568db26d554d9aa
5,430
/* * 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 * dis...
29.835165
107
0.639595
041cdf9577aa734e22e9ff024ab89c06b5f9e7f5
235
package com.yonyou.etl.service; import com.baomidou.mybatisplus.extension.service.IService; import com.yonyou.etl.entity.FiBindSubject; /** * @author yhao */ public interface IFiBindSubjectService extends IService<FiBindSubject> { }
21.363636
72
0.804255
a87be890e591f75b8e2ea3a21e6f48b0a76ba9d0
1,356
/** * (c) 2006 Cordys R&D B.V. All rights reserved. The computer program(s) is the * proprietary information of Cordys B.V. and provided under the relevant * License Agreement containing restrictions on use and disclosure. Use is * subject to the License Agreement. */ package com.cordys.coe.util.template; ...
21.870968
80
0.584071
61555b4e2b892cddecdda28b98338e21517c7a82
9,595
/** * Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * * Redistributions of source code must re...
44.836449
110
0.676707
538d0f17142d8a8d2b62a958b35c8a4085e25c6a
2,243
/** * A class representing a link between two nodes. */ public class Link { /** * Create a new link. * * @param a The address of one endpoint. * @param b The address of the other endpoint. * @param speed The speed, in bits per second. * @param latency The latency, in se...
20.962617
76
0.521177
43d26bc7e3efa71d38d981413db00ca720ff7857
1,293
package com.soecode.lyf.demo.test.io.nio.nio.demo.chat; import java.io.IOException; import java.nio.channels.Channel; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.nio.charset.Charset; /** * Created on 2018/6/15. * * @author dubber * ...
24.865385
91
0.614849
48c49f5029401c7e94f94b6f79fd1b8f949c678c
52,759
package org.xms.g.maps; /** * Defines configuration PanoramaOptions for a StreetViewPanorama .<br/> * Combination of com.huawei.hms.maps.StreetViewPanoramaOptions and com.google.android.gms.maps.StreetViewPanoramaOptions.<br/> * com.huawei.hms.maps.StreetViewPanoramaOptions: Defines configuration PanoramaOptions fo...
95.925455
602
0.739533
424ac9b7052c92930a6793b35117dbe52b148714
1,011
package sergey.zhuravel.munchkin.manager; import java.util.List; import io.realm.Realm; import io.realm.RealmResults; import rx.Observable; import sergey.zhuravel.munchkin.model.Player; public class RealmManager { private Realm mRealm; public RealmManager() { mRealm = Realm.getDefaultInstance(); ...
23.511628
97
0.663699
f9b801ff098be6031f172c563ef17b9c6222ee74
341
package jdepend.core.serviceproxy.framework; /** * 后台服务代理工厂 * * @author <b>Abner</b> * */ public interface JDependServiceProxyFactory { /** * 得到后台服务 * * @param groupName * @param commandName * @return */ public JDependServiceProxy createJDependServiceProxy(String groupName, Stri...
17.05
93
0.659824
e60088fbde29240603e93b8087a5a38d4c4a2eb8
1,780
package io.confluent.avro.random.generator; import com.telefonica.baikal.utils.Validations; import io.confluent.avro.random.generator.util.ResourceUtil; import org.apache.avro.generic.GenericRecord; import org.apache.commons.validator.routines.EmailValidator; import org.junit.Test; import java.util.UUID; import stat...
30.689655
92
0.732022
cc9aec3f9088f16ea226816a9954ed8a0aab6d79
527
import java.util.Scanner; public class p01_DebitCardNumber { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int firstNumber = Integer.parseInt(scanner.nextLine()); int secondNumber = Integer.parseInt(scanner.nextLine()); int thirdNumber = Integer....
35.133333
103
0.688805
e933c97173234efcac1be242ad42917a4968ab46
478
package com.packtpub.microservices.ch02; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.cloud.netflix.sidecar.EnableSidecar; import org.springframework.stereotype.Controller; @EnableSidecar @Controller @EnableAutoCon...
31.866667
70
0.824268
8635fc61ce6c92c0c52f9e47ce9d0d2c431fd1ca
2,999
package com.google.bitcoin.bouncycastle.asn1.crmf; import com.google.bitcoin.bouncycastle.asn1.ASN1Encodable; import com.google.bitcoin.bouncycastle.asn1.ASN1EncodableVector; import com.google.bitcoin.bouncycastle.asn1.ASN1Sequence; import com.google.bitcoin.bouncycastle.asn1.ASN1TaggedObject; import com.google.bitcoi...
35.282353
88
0.667556
e26a8b9fab54f6554567304566f0c34d5dae3b84
893
package com.java.eternity; import java.util.ArrayList; /** * @author Fati CHEN <chen.fati@gmail.com> */ public class gameFactory { public static Piece piece(short number, byte[] couleurs) { return new Piece(number, couleurs); } public static Piece piece(short number, String[] couleurs) { ...
26.264706
83
0.664054
5967cb7ff1afefff866411286cb0410bb54d55ac
1,766
package com.mygame.pure.utils; import java.io.File; import android.content.Context; import com.mygame.pure.log.MyLog; public class FileCache { private static final String tag = FileCache.class.getSimpleName(); private File cacheDir; // the directory to save images /** * Constructor * *...
23.864865
70
0.630238
5c5cacc8b846af4b10ee12f5204897a7e588b0b4
838
package net.kaunghtetlin.ted.data.vos; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import com.google.gson.annotations.SerializedName; import net.kaunghtetlin.ted.data.db.DBConstants; /** * Created by Kaung Htet Lin on 1/25/2018. */ @Entity(tableName = DBConstant...
20.439024
52
0.706444
3b91e7ee921057467d790fc1ed80a7ba857cc0e6
2,506
package org.fbla.geason.ideacentrum; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.StaggeredGridLayoutManager; import androidx.room.Room; import android.content.Intent; import android.content.S...
38.553846
126
0.674781
096917001959b03fab3499b14a102a9949c47e13
18,230
/* * 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 ...
45.689223
163
0.567636
93fb149b1a239ea59bf4f669e5b8ee70161edf5d
344
package com.half.nock.springbootstartup; import com.half.nock.quartz.spring.quartz.SchedulerFactoryBean; import org.quartz.Scheduler; //@Component public class SchedulerBean { private Scheduler scheduler; public SchedulerBean() { } public SchedulerBean(Scheduler scheduler) { this.scheduler...
16.380952
63
0.726744
a22e3e3a97f41ab1bdc758faeaa07375b66ef08b
570
package us.ihmc.humanoidRobotics.footstep.footstepGenerator; import us.ihmc.robotics.geometry.FramePose2d; import us.ihmc.robotics.geometry.AbstractReferenceFrameHolder; import us.ihmc.robotics.referenceFrames.ReferenceFrame; /** * Created by agrabertilton on 2/19/15. */ public abstract class FootstepOverheadPath e...
31.666667
85
0.836842
401bd86958e1660541ebdfa45edea54ae5221b73
1,061
package com.google.gson.jpush.internal; import com.google.gson.jpush.af; import com.google.gson.jpush.b.a; import com.google.gson.jpush.b.d; import com.google.gson.jpush.internal.a.z; import com.google.gson.jpush.w; import com.google.gson.jpush.x; import com.google.gson.jpush.y; import java.io.Writer; public final cl...
25.878049
97
0.557022
12bc57b2ba4a1acfe17464e330b0b491d8a292a0
1,796
package com.gjxaiou.dto; import com.gjxaiou.entity.ShopCategory; import com.gjxaiou.enums.OperationStatusEnum; import com.gjxaiou.enums.ShopCategoryStateEnum; import java.util.List; /** * @Description: 店铺类别类别返回结果信息 */ public class ShopCategoryExecution { // 结果状态 private int state; // 状态标识 private String st...
21.638554
99
0.769488
4d436e61187c626b0047be31cc2817b4507623c7
6,439
package com.zhbit.entity.excel; import java.sql.Timestamp; import org.zhbit.excel.annotation.Lang; /** * 项目名称:ElecRecord * 类名称:Teacher * 类描述: 教师信息实体类 * 创建人:谭柳 * 创建时间:2016年6月12日 上午12:39:28 * 修改人:TanLiu * 修改时间:2016年6月12日 上午12:39:28 * 修改备注: * @version */ public class TeachExcel extends BaseExcelBean im...
17.355795
110
0.707719
e29629722afdc99f7f5a261b01611445857418e4
471
package rainbow.kuzwlu.core.annotation; import java.lang.annotation.*; /** * @Author kuzwlu * @Description 切换数据库注解, 默认master * 一、无Service层 * 1、需要mapper接口上 标明@DataSource注解 * 二、有Service层 * 3、需要在service接口或者service接口的实现类 标明@DataSource注解 * @Date 2020/12/15 00:50 * @Email kuzwlu@gmail.com */ @Target({Element...
21.409091
51
0.73673
90f1263d7233a7bf801ceee1c2e778262bd1bc5f
1,986
package com.carr3r.waltsnspiders.lightbox; import android.app.Dialog; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import a...
29.641791
84
0.681269
14c5c0f9fb592796815359ccd43fcd1b610ad079
12,654
/* * Copyright (c) 2017 m2049r * * 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...
34.668493
141
0.593567
ee64132ad9e634528df03da47180f7c0a83b94f1
1,139
package net.volus.ronwalf.phs2010.networking.server; import java.io.IOException; import java.net.InetSocketAddress; import net.volus.ronwalf.phs2010.networking.raw.RawMessageCodecFactory; import org.apache.mina.core.filterchain.IoFilter; import org.apache.mina.core.service.IoAcceptor; import org.apache.mina.filter.c...
32.542857
71
0.788411
0b927be8f40556a24488e7cf9e38ecf4a4151403
1,832
import java.io.*; import java.util.*; public class Sln { // An entry in queue used in BFS static class qentry { int v;// Vertex number int dist;// Distance of this vertex from source } static int getMinDiceThrows(int move[], int n) { boolean visited[] = new boolean[n]; Qu...
28.625
63
0.42631
be42168500abb2abaa28c7c3c68880820fb018e5
724
import javax.swing.text.html.parser.Entity; public class Homework3 { public static void main(String[] args) { // 3. 1, 1, 1, 2, 3, 4, 6, 9, 13, 19, 28, 41, 88, 129 ,,, // 이와 같은 숫자의 규칙을 찾아 25번째 항을 구하도록 프로그램 해보자! /* 1. 수열의 패턴 파악후 상자만들기 (상자 4개) 2. 루프돌리기 end값 25 3. 값출력하...
22.625
65
0.455801
66b72b7a7a121468644b21ee3f3ed2c2a76ec841
1,471
/******************************************************************************* * Copyright 2014 The MITRE Corporation * and the MIT Kerberos and Internet Trust Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
39.756757
111
0.683209
6e0538a583299055cd0aa672520fd981a0c71f64
512
package com.eg.test; /* 有一家农场,养了一群小动物。养的有鸡40只,羊10只,牛2头。 其中鸡全是母鸡,每只母鸡每个月有20天下蛋,每次下蛋1颗,其余时间休息。 每年2月份农夫会人工孵化鸡蛋剩余数的20%,其余鸡蛋全部出售,并且会出售或宰杀20%母鸡。 孵化出来的小鸡全是母鸡,小鸡一年之后开始下蛋。 羊群里面有8只母羊,2只公羊。每只母羊每年10月生产5只小羊,性别随机。 每年2月农夫出售20%羊,公羊母羊各一半(若为20%的羊数为奇数,多的那一头羊为公羊)。 小羊2年后开始生产,性别随机。 公牛和母牛各1头,每2年生产1只小牛。小牛2年会后开始生产,小牛的性别随机。 现在是2017年9月1日,请问10...
21.333333
54
0.798828
1e73580ec68e5895b52e4f27528d2a77c1afcdb1
3,911
package com.qunar.im.base.util; import android.util.Base64; import java.io.UnsupportedEncodingException; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; public class CodeUtil { public static final String PASSWORD_ENC_SECRET =...
27.737589
87
0.516748
4fefdff0934aa3fe8cd8737839dbc6b84fb4a0ee
823
package io.smallrye.openapi.runtime.io.link; /** * Constants related to Link * * @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#linkObject">linkObject</a> * * @author Phillip Kruger (phillip.kruger@redhat.com) * @author Eric Wittmann (eric.wittmann@gmail.com) */ publi...
32.92
118
0.72661
525c684e55f0f4c91025c87f1017c722e0102f4a
95,619
/* * Interpreter.java * Copyright © 1993-2018, The Avail Foundation, LLC. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyrig...
32.870058
111
0.710696