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
294163d8a435d621abca87f841857c25b606adc8
2,961
package com.github.kilianB.mutable; import java.io.Serializable; /** * Mutable class wrapper for integer values. Mutable classes are useful in * lambda expressions or anonymous classes which want to alter the content of a * variable but are limited to final or effective final variables. * * @author Kil...
21.15
115
0.655184
8291d3ff2d42b938f88160b208c5343d48825678
575
package team.journey.mapper; import team.journey.pojo.Page; import team.journey.pojo.Route; import team.journey.pojo.RouteQueryVo; import java.util.List; public interface RouteMapper { int deleteByPrimaryKey(Integer rid); int insert(Route record); int insertSelective(Route record); Route selectByP...
21.296296
50
0.754783
8bfbfebb006a2a5295eb0dff635b93f3260951ea
5,857
/* * Copyright 2016 IKS Gesellschaft fuer Informations- und Kommunikationssysteme mbH * * 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/LI...
34.251462
112
0.682261
844d2803ef658cdc9646c1ab6488341a63d99f68
778
package softuni.exam.instagraphlite.adapters; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class LocalDateTimeAdapterJSON extends T...
31.12
107
0.753213
78e1b11d9363060e008ad6ff225c2534be014c51
8,726
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
16.74856
810
0.80667
7ffe072a41129026bc817ab6210fe440ea5801ad
5,938
/******************************************************************************* * Copyright (c) 2014, 2016 cryptomator.org * This file is licensed under the terms of the MIT license. * See the LICENSE.txt file for more info. * * Contributors: * Tillmann Gaida - initial implementation **********************...
29.542289
100
0.681711
0c04be96239dc40018561726ce87faa4d809dde6
2,368
package be.kuleuven.cs.gridflex.io; import com.google.common.collect.Maps; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Map; import java.util.Map.Entry; /** * Writes the results from experimentation to certain outputs (eg. a logger). * * @author Kristof Coninx (kristof.coninx AT cs.ku...
28.53012
83
0.60853
95dd183894ffcf0747f321d4d199894bd4e710c5
483
package org.camunda.bpm.cockpit.core.test.util; import org.camunda.bpm.cockpit.test.util.DeploymentHelper; import org.jboss.shrinkwrap.api.spec.WebArchive; /** * Tomcat test container * * @author nico.rehwaldt */ public class TestContainer { public static void addContainerSpecificResources(WebArchive archive) ...
23
72
0.749482
64502d8d36d5562d37921684abeeb56c60a60aa0
201
package org.mimosaframework.orm.sql; public interface CommonWhereCompareBuilder<T> extends AbsWhereValueBuilder<T>, AbsColumnBuilder<T>, OperatorFunctionBuilder<T> { }
22.333333
45
0.701493
0f363291703937ce90c71c31534512e34782f422
484
package goja.castor.castor; import java.util.Map; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import goja.castor.Castor; import goja.exceptions.FailToCastObjectException; @SuppressWarnings({"rawtypes"}) public class String2Map extends Castor<String, Map> { @Override public ...
24.2
99
0.752066
7389db97b5d4482b74c54a3965c8d283b0b227ca
1,034
package study.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import study.addressbook.model.GroupData; import study.addressbook.model.Groups; import java.util.Set; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat;...
27.945946
72
0.680851
867997e366f596041b14befb371cb9bf23dbcd27
2,140
/* Copyright 2020 The Cytoscape Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
46.521739
297
0.765888
9600aa75e8ce454be9ef37c280a3f2265ebebfa9
1,957
package com.pm.server.repository; import java.util.List; import com.pm.server.datatype.Coordinate; import com.pm.server.datatype.Pacdot; public interface PacdotRepository { /** * Adds a pacdot to the repository. * * @param pacdot Pacdot to be added * @throws IllegalArgumentException if a pacdot already ex...
25.415584
70
0.727133
6b7e1ee1097565dc1ba929ac6e14dd885f1fcf22
2,055
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.server.translation.in; import org.apache.log4j.Logger; import org.apache.log4j.NDC; import pl.edu.icm.unity.exceptions.EngineException; import pl.edu.icm.unity.serve...
31.136364
105
0.764477
3cb132462583009a2b654951b4e47fdbece699b0
483
package com.nealma.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by neal.ma on 3/30/16. */ public class TimeTools { public static String getDateString(Date date){ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); ...
23
75
0.691511
163a1eddcdcbfac24450ebe0102e08d7ad6bbba9
3,681
package com.swmansion.reanimated.bridging; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.facebook.react.bridge.Dynamic; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableNativeArray; import com.facebook.react.bridge.ReadableNativeMap; import...
29.685484
116
0.677262
01e60fb57c3aff5a388d738cb5241f17d84e0f14
945
package org.interonet.mercury.controller; import org.interonet.mercury.domain.auth.Credential; import org.interonet.mercury.domain.auth.Token; import org.interonet.mercury.service.AuthService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfigu...
39.375
80
0.822222
1c5c4da939ed226f8552d5d274602e3cb14f4457
1,665
package com.sunkuet02.micro.authentication.controller; import com.sunkuet02.micro.authentication.dto.request.LoginRequest; import com.sunkuet02.micro.authentication.dto.response.LoginResponse; import com.sunkuet02.micro.authentication.security.jwt.JwtTokenProvider; import org.apache.logging.log4j.LogManager; import or...
42.692308
130
0.811411
0012c416b55d6c140f7d79ea9d64a136b976e284
438
package com.example.nasa; import com.example.nasa.config.Config; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; @SpringBootApplication public class NasaApplication...
27.375
81
0.810502
99fe776c058158091a75c11f20a794248c23c244
2,819
package com.easy.core.install; import com.easy.core.action.function.ExecuteXmlSqlAction; import com.easy.core.icons.EasyIcon; import com.intellij.execution.lineMarker.RunLineMarkerContributor; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.actionSystem.AnAction; import com.intellij...
43.369231
155
0.628237
818d8d62ded3ece0b2a56a5f893f05cc9a98a23a
665
package yuown.isee.jpa.repository; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Repository; import yuown.isee.entity.Configuration; @Repository public interface ConfigurationRepository extends Ba...
30.227273
97
0.81203
57cda67d13ec6ed32e9807657380d6c4682b1c46
535
package org.yuequan.thread.practice.single.thread.execution.extra; import java.util.Random; public class UserThread extends Thread{ private final static Random random = new Random(26535); private final BoundedResource resource; public UserThread(BoundedResource resource){ this.resource = resource...
23.26087
66
0.624299
88fa622fd3dfff7e7b4553020b590eb39f1c4e39
2,216
package io.coronet.slug; import java.util.ArrayList; import java.util.Collections; import java.util.List; import io.coronet.slug.antlr.SlugParser.DocsContext; import io.coronet.slug.antlr.SlugParser.FieldContext; import io.coronet.slug.antlr.SlugParser.SlugContext; /** * Freemarker model type for a slug. */ public...
24.622222
94
0.598827
3f0d5b96b1403b47293a2fe4904dbcff1161fd3b
6,119
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
43.707143
133
0.674947
83e3942eb29b0500ad974e4307b40f42b854498a
9,705
/* * Copyright 1999-2019 Seata.io Group. * * 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 l...
45.139535
93
0.723648
351fb57323b0ac39202564d400d2f61ea043f256
3,099
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
32.28125
95
0.715392
ce9fa9836d2cafd3f66926660caf3f9afe3f81ed
2,754
/* * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
32.785714
128
0.66703
6cb949c369d6bd4d26da78a1389277756ed7485c
2,382
package io.kidsfirst.core.service; import com.amazonaws.services.kms.AWSKMS; import com.amazonaws.services.kms.AWSKMSClient; import com.amazonaws.services.kms.model.DecryptRequest; import com.amazonaws.services.kms.model.EncryptRequest; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.co...
29.04878
92
0.736776
b5a8ba05d11b303813cbac78140c634d05c01ebb
431
package dev.patika.fourthhomework.model; import com.fasterxml.jackson.annotation.JsonTypeName; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Entity; @Data @AllArgsConstructor @NoArgsConstructor @Entity @JsonTypeName("PermanentInstructor") public class...
20.52381
85
0.835267
1e2487bca60d893128cbc078991b54247b2436fb
3,735
package de.pmoit.voiceassistant.tts; import static javax.sound.sampled.FloatControl.Type.MASTER_GAIN; import java.io.IOException; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.DataLine; import javax.sound.sample...
28.082707
89
0.550736
1e573f7a96815999c286d3e52b311a505620684d
196
package pl.com.bottega.ecommerce.sales.readmodel.offer; public class OfferQuery { public boolean isBestBeforeExpired() { // TODO Auto-generated method stub return false; } }
16.333333
56
0.704082
352da8ea640e1900da5c0c2228311e242ce10e1a
15,509
// Copyright 2021 Code Intelligence GmbH // // 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 a...
46.854985
135
0.703849
c9f1c8178f5b539203e272a72ba7edde40f36b0e
1,564
package supermarket; import java.util.ArrayList; import java.util.List; public class Cashier{ private List<Customer> customerQueue; private final int id; private CashierState state; private final int MAXQUEUE = 5; public Cashier(int id){ customerQueue = new ArrayList<>(); state = ...
24.061538
95
0.581841
316bba6f048a20a26eaaedb74773132708b90986
2,150
package com.wanhive.iot.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; imp...
29.452055
106
0.726512
ae047c4905dbb692ce8d506479149ff82643e234
1,211
/* * Copyright (c) 2018 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 appl...
25.765957
80
0.702725
6c465266bdd5b923550245e9f19bfcb98dbc0017
1,473
/* * Copyright (c) CovertJaguar, 2014 http://railcraft.info * * This code is the property of CovertJaguar * and may only be used with explicit written * permission unless otherwise specified on the * license page at http://railcraft.info/wiki/info:license. */ package mods.railcraft.common.gui.containers; impo...
32.733333
91
0.644942
bbccb842aa3c86c86b42bb9cd1ddc661ff304ac2
1,274
/* * Copyright 2014-2016 Smart Society Services B.V. * * 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 */ package org.opensmartgridplatform.d...
21.965517
92
0.693878
db2cf6d18da3cb34f7fb41c0037346cc4f2a545b
128
package com.libs.modelos; public class data_disparo { public int id; public int bala; public boolean disparando; }
16
30
0.710938
3b1cf39e569533ec9bdb08c56e9084083e1206ca
1,706
package org.tvrenamer.controller; import static org.tvrenamer.model.util.Constants.*; import org.tvrenamer.model.ShowStore; import org.tvrenamer.view.UIStarter; import java.io.IOException; import java.io.InputStream; import java.util.logging.LogManager; class Launcher { private static void initializeLogger() {...
31.018182
83
0.640094
94dda374397a9ab5a59ac58d21681373db3f0ae1
6,416
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package entidades; import java.io.Serializable; import java.util.List; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; im...
25.259843
162
0.606764
640c41d8c7e30db15e65209190f93a6062cb5fdb
4,800
package theDragonkin.orbs.Flameweaver; import basemod.abstracts.CustomOrb; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.MathUtils; import com.evacipated.cardcrawl.mod.stslib.actions.defect.EvokeSpecificOrbAction; import com.megacrit.cardcrawl.actions.Abstr...
41.73913
159
0.719583
7ae38e97e5d47ff2e52530d5cd3220f78beb82b0
627
package dmillerw.log.util; import com.google.common.collect.Lists; import java.util.List; import java.util.Set; public class CollectionHelper { public static <T> List<T> setToList(Set<T> set) { List<T> list = Lists.newArrayList(); for (T t : set) { list.add(t); } retu...
20.225806
79
0.518341
c0ae6c14653c673d5e56ddd37eabf745300c01b5
1,684
package view; import controller.Command; import controller.Config; import controller.ContentService; import controller.commands.CancelCommand; import controller.commands.CloseContentCommand; import controller.commands.OpenContentCommand; import model.Content; import model.Folder; import java.util.ArrayList; import ja...
28.066667
122
0.691805
ce95bdb6b17079cb5b7e1b4176f06e1d8f93af64
2,634
package tr.com.infumia.infumialib.platform.paper.smartinventory.listener; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryAction; import org.bukkit.event.inventory.InventoryClickEvent; import...
38.173913
89
0.702733
02d1e1caf1319ebad3cdb1177f517546e1031d7f
2,053
/* Copyright 2019, Michael Werzen * * 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...
30.191176
94
0.777886
31381a55683d5d78ca3ba6e358f267d42e8455cd
1,335
package cn.iocoder.yudao.module.bpm.dal.dataobject.oa; import cn.iocoder.yudao.module.bpm.enums.task.BpmProcessInstanceResultEnum; import lombok.*; import java.util.*; import com.baomidou.mybatisplus.annotation.*; import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; /** * OA 请假申请 DO * * {@link #day} 请...
18.040541
75
0.611985
3ffea115e49fa4d9bad5be563a65e1317c4a9a8a
849
package com.nf147.platform.service.impl; import com.nf147.platform.entity.GeEnterpriseCategory; import com.nf147.platform.service.GeEnterpriseCategoryService; import org.springframework.stereotype.Service; import java.util.List; /** *周 * // TODO: 2019/2/18 * */ @Service public class GeEnterpriseCategoryServiceIm...
20.707317
85
0.704358
10a14f4700e598089dd1760a466fc1d9dba71dc8
3,160
package ampcontrol.model.training.model.layerblocks; import org.deeplearning4j.nn.conf.layers.BatchNormalization; import org.deeplearning4j.nn.conf.layers.Layer; import org.junit.Test; import org.nd4j.linalg.activations.IActivation; import org.nd4j.linalg.activations.impl.ActivationCube; import java.util.function.Fun...
40
105
0.660443
fbee5108d0f10ff985cfb8ed618a7149509e97f2
5,545
/* * Copyright © 2014 Stefan Niederhauser (nidin@gmx.ch) * * 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...
37.214765
155
0.622002
8b8a23668b31dfdeaf8dd74d47fa9f87acd50cc2
275
package lru_cache; public class Main { public static void main(String[] args) { LRUCache2 lruCache = new LRUCache2(2); lruCache.put(1, 1); lruCache.put(2, 2); lruCache.get(1); lruCache.put(3, 3); lruCache.get(2); } }
19.642857
46
0.56
1795b52f98f2b46bd12bfc3d57c1d9d9a6e02af8
425
package xyz.nucleoid.extras.mixin; import net.minecraft.entity.Entity; import net.minecraft.server.world.ServerEntityManager; import net.minecraft.server.world.ServerWorld; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(ServerWorld.class) public interface ServerWorld...
30.357143
60
0.818824
f62f63f02d13717b873928d64a0c04a70b71dec7
4,327
package Java8Streams; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class JavaStreams { public static void main(String[] args) throws IOException ...
36.669492
116
0.503813
5eb0c753302f9a81086b0a718aa3f230db50e32f
3,764
package edu.qc.seclass.rlm; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.wid...
30.354839
137
0.6339
7d107cc7b2ac7c8464e6cafc37944d8823630367
281
package br.com.cartorio.service; import java.util.List; import br.com.cartorio.model.Cartorio; public interface CartorioService { List<Cartorio> getAllCartorios(); void saveCartorio(Cartorio cartorio); Cartorio getCartorioById(long id); void deleteCartorioById(long id); }
20.071429
38
0.793594
c2ec00b311a27af2d6100ef4d48f5fa828eac65a
1,595
package net.tenie.myblog.entity; import org.hibernate.validator.constraints.Length; import net.tenie.myblog.validate.Email; import net.tenie.myblog.validate.Phone; import net.tenie.myblog.validate.Required; public class VisitorDTO { private Integer id; @Length(max=30) private String name; @Email privat...
14.241071
50
0.690909
d06ff78a4f065a973221ab1231874b7758c666a1
1,733
package advancedObjects; import io.appium.java_client.AppiumDriver; import io.appium.java_client.MobileElement; import io.appium.java_client.TouchAction; import io.appium.java_client.touch.offset.PointOption; import org.openqa.selenium.Rectangle; import org.openqa.selenium.support.FindBy; import java.util.List; publ...
32.698113
75
0.678015
b9ef587fc4c9134c0e941d02c0202d148ea87886
1,311
package com.ares.gui.guis.containergui.buttons; import com.ares.gui.buttons.ToggleButton; import com.ares.gui.guis.AresGui; import com.ares.hack.hacks.BaseHack; import com.ares.gui.buttons.Button; public class HackToggleButton extends Button { private BaseHack hack; public HackToggleButton(final AresGui ...
30.488372
183
0.643783
0085384e66e0df8ef59495c6bf903c767f64e3ec
2,467
package gui.components; import java.awt.AlphaComposite; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Insets; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.geom.AffineTransform; i...
32.893333
114
0.724362
ff7c42aeda62cfa230fd489af6e4dfa62df7cb93
2,256
/* * Project: Confile * File: YamlRepresenter.java * Last Modified: 1/17/21, 8:38 PM * * Copyright 2021 AJ Romaniello * * 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 a...
36.387097
110
0.725177
b8b88fa85ac196d46c1937dabf3bd72f66a18268
1,247
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
29.690476
92
0.715317
a4fdfa8d83cbc2fcc42eb11a9535effa8142f42a
3,530
/* * JTrozear.java * * Created on 29 de abril de 2005, 8:59 */ package trozearImages; import java.awt.*; import java.awt.image.*; import javax.imageio.*; import java.io.*; public class JTrozear implements ImageObserver{ /** Creates a new instance of JTrozear */ public JTrozear() { } pu...
37.157895
185
0.563456
01219fade630f1bf86dcb88dbb1edc16820f34a2
3,734
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
35.226415
121
0.711302
4b5d281edd13f0deefe450a45e08a55fc5145cc3
289
package cn.wolfcode.wolf2w.mapper; import cn.wolfcode.wolf2w.domain.Region; import cn.wolfcode.wolf2w.domain.StrategyRank; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** *攻略排行统计操作数据库接口 */ public interface StrategyRankMapper extends BaseMapper<StrategyRank> { }
24.083333
71
0.782007
57a182c661ba77cdcb8a38b5bc9c74b58ff7a555
380
package uk.co.mattwhitaker.atlassian.jiracloudagileextended.model; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @ToString public class IssueLinkType { private long id; private String name; private String outwardName; private String inwardName; private Boolean...
21.111111
66
0.781579
880b177b7b081dccc804dfb31082f5b24ab22c7a
9,525
//////////////////////////////////////////////////////////////////////// /* File: GeneralVerticalNearsidePerspectiveProjection.java Author: Peter Hollemans Date: 2012/11/02 CoastWatch Software Library and Utilities Copyright (c) 2012 National Oceanic and Atmospheric Administration All rights reserv...
29.580745
98
0.573228
fa58f639a57dee9fa6c423145ab4a54b513251d0
2,081
package cn.oftenporter.oftendb.data; import cn.oftenporter.oftendb.db.Condition; import cn.oftenporter.oftendb.db.NameValues; import cn.oftenporter.oftendb.db.QuerySettings; import cn.oftenporter.porter.core.base.InNames; import cn.oftenporter.porter.core.base.WObject; import com.alibaba.fastjson.JSONObject; import j...
30.15942
116
0.727535
b90be5bff5ae0e0287a52be650b364de71367108
16,366
/* * Copyright (c) 2020, Wild Adventure * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, this * list of...
39.723301
150
0.701882
14fed56641617ab7a1b38dc276f23536371d97ac
1,291
package com.ruihai.xingka.ui.caption.publisher; import com.ruihai.xingka.ui.caption.publisher.bean.PublishBean; import java.util.concurrent.LinkedBlockingQueue; /** * Created by zecker on 15/10/2. */ public class PublishQueue extends LinkedBlockingQueue<PublishBean> { private PublishQueueCallback callback; ...
22.258621
68
0.632843
4d69d4a4b169aa19615915777bf7a4abd1b70ab6
1,914
package org.basex.query.value.item; import org.basex.query.*; import org.basex.query.util.collation.*; import org.basex.query.value.type.*; import org.basex.util.*; /** * Untyped atomic item ({@code xs:untypedAtomic}). * * @author BaseX Team 2005-19, BSD License * @author Christian Gruen */ public final class At...
24.227848
86
0.660397
908b1aa59095c10ff308a182f761454187ee6d3e
11,517
/** * The MIT License * * Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) * * 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, includi...
45.164706
139
0.732569
40cb81ae614697dbb7390c44d9a791404c8ba487
565
package servlets.filters; import java.sql.Timestamp; /** * Created by Андрей on 20.10.2017. */ public class Filter_User { private String login; private String email; private String password; public Filter_User(String login, String email, String password) { this.email = email; thi...
16.617647
69
0.615929
3570b3e45c0274eba128ce09475dd2f4bf2d6fcb
428
package ru.vsu.db.provider; import ru.vsu.db.entity.Socks; import ru.vsu.db.entity.SocksId; import java.util.Optional; public interface SocksProvider { Optional<Socks> findById(String color, Integer cottonPart); Socks save(Socks entity); Integer sumOfQuantityByColorAndCottonPartGreaterThan(String color, Int...
23.777778
89
0.808411
fbe5c3bde98876f219d178fc3fc1c3d59db6035e
17,047
/* * Copyright 2019 Laurent PAGE, Apache Licence 2.0 */ package live.page.web.system.json; import com.fasterxml.jackson.databind.ObjectMapper; import live.page.web.system.db.tags.DbTags; import live.page.web.utils.Fx; import live.page.web.utils.Hidder; import org.bson.BsonDocument; import org.bson.BsonDocumentWrappe...
20.055294
106
0.636476
d01efd6415ba7476ee89b624e07b8dd188f676a0
2,117
package ui.dialog; import core.Version; import javafx.scene.control.ButtonType; import javafx.scene.control.Dialog; import javafx.scene.image.ImageView; import javafx.scene.layout.GridPane; import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javafx.scene.text.Text; import ui.EmbeddedIcons; publ...
32.075758
113
0.665092
24fdf3ff379c2ff13d77a62613f0fe74b94577d1
4,805
/* license: https://mit-license.org * * Star Trek: Interstellar Transport * * Written in 2021 by Moky <albert.moky@gmail.com> * * ============================================================================== * The MIT License (MIT) * * Copyright (c) 2021 Albert Moky * * Permi...
33.838028
96
0.541727
a30c5712c64c5064ae579bc2a8993f7d05a6d259
2,577
package gov.healthit.chpl.entity.surveillance; import java.time.LocalDate; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValu...
31.048193
117
0.762127
6dbbb54756717f623ac4ef91143343d846e27adb
184
package com.symphony.logmxparser.base; import com.lightysoft.logmx.business.ParsedEntry; public interface EntryConsumer { void addParsedEntry(ParsedEntry entry) throws Exception; }
23
57
0.831522
7d0bcb10e365135dcc90b317fc15c22c235f5004
819
package cn.hotpot.alchemy.level; import cn.hotpot.alchemy.player.AlchemyPlayer; import cn.hotpot.enums.ElixirSpecies; import lombok.Data; import lombok.RequiredArgsConstructor; /** * @author: qinzhu * @since: 2020/08/15 * 炼丹等级 */ @Data @RequiredArgsConstructor public abstract class BaseAlchemyLevel implements Lev...
22.75
84
0.697192
2b4c791ae9df87b53ca8a80cf3e6e0002f7d81bd
1,989
package com.tang.util; import android.content.Context; import android.os.Build; import android.os.Environment; import java.io.File; public class AppFilePath { // KeyStore文件外置存储目录 public static String Wallet_DIR; public static void init(Context context) { Wallet_DIR = context.getFilesDir().ge...
25.831169
88
0.600804
acecbda81d8a932a21bb76eb2d6cef3e3e2f018b
2,731
/** Copyright 2008 University of Rochester 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...
29.053191
127
0.729037
011a7cfc81795112b16f79b22ecfb141291723e9
19,945
package net.bytebuddy.agent.builder; import net.bytebuddy.description.type.PackageDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.dynamic.DynamicType; import net.bytebuddy.matcher.ElementMatchers; import net.bytebuddy.test.utility.JavaVersionRule; import net.bytebuddy.test.util...
49.987469
163
0.72008
3b3b9ef49054650a5acb8460ba2d1d10e09d2d7d
14,845
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2018] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
38.161954
228
0.696127
618cd2bd18032c885d1833a9d1a8eba6fa02a749
18,756
/* * Copyright © 2013-2022 Metreeca srl * * 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 ag...
28.591463
117
0.653071
eb7bd5e71feca1bca3370faa4807c2cd59fbfc93
2,456
package com.hubspot.jinjava.el.ext.eager; import com.hubspot.jinjava.el.ext.DeferredParsingException; import com.hubspot.jinjava.el.ext.ExtendedParser; import com.hubspot.jinjava.interpret.DeferredValueException; import com.hubspot.jinjava.util.EagerExpressionResolver; import de.odysseus.el.tree.Bindings; import de.od...
32.315789
78
0.717427
f92ef00a6bc650982d39d6905fd3b85abe41a561
3,648
/* * ==================================================================== * Ikasan Enterprise Integration Platform * * Distributed under the Modified BSD License. * Copyright notice: The copyright for this software and a full listing * of individual contributors are as shown in the packaged copyright.txt * ...
41.931034
128
0.70011
0f532a3037a55db7533308192a4e75ecbda5ffa4
123
package learnsomejava; class Calculator { int performIntegerArithmetic(char operator, int value1, int value2) { } }
13.666667
71
0.747967
7ff7452ce5e6585b6f9e8b9cf0a057028f075f03
523
package ru.job4j.tracker; /** * @author Evgeny Butov (mailto:but87@mail.ru) * @version 1.0 * @since 19.08.2018 */ public interface UserAction { /** * Метод возвращает ключ опции. * @return ключ */ int key(); /** * Основной метод. * @param input объект типа Input * @param t...
20.92
56
0.596558
2ead37ee3f4af71327acf01f9285512b84d26cdb
1,048
package user; import org.junit.Test; import static org.junit.Assert.*; public class userControllerTest { @Test public void authenticate() { userDb list = new userDb(); userController test = new userController(); list.insert("user1", "password1"); list.insert("user2", "passwo...
20.54902
65
0.510496
f4073323e0f64810f5951327c5c85da1918ff139
2,985
package net.filebot.torrent; import static java.util.Collections.*; import static java.util.stream.Collectors.*; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.List; import java.util.Map; import com.dampcake.bencode.Bencode; import com.dampcake.bencode.Type; import net...
22.111111
94
0.703518
d988d15bf6e899945b665b6e6175b56dea84d2d5
7,714
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered.org <http://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
37.2657
150
0.690303
1b25096de4df0ad5dbf6088e39cddfb98aa99c13
34,195
/** * Copyright (C) 2020 Jan Schäfer (jansch@users.sourceforge.net) * * 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...
35.252577
88
0.668256
93c8243549f957ba9077c98ff6bec7c37bfd55c4
3,462
package com.wiley.fordummies.androidsdk.tictactoe; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import com.wiley.fordummies.androidsdk.tictactoe.AccountDbSchema.Accou...
31.472727
119
0.640381
ceaae5905d5c17b87e2ba74c31fafe2cec5cf37b
1,262
package com.ss.editor.ui.component.asset.tree.context.menu.action; import com.ss.editor.Messages; import com.ss.editor.ui.Icons; import com.ss.editor.ui.component.asset.tree.resource.ResourceElement; import com.ss.editor.ui.component.creator.FileCreatorDescription; import com.ss.editor.ui.component.creator.FileCreator...
35.055556
105
0.785261
eda48a722bbdebf12a7b5dca52d50644b9614942
2,149
/* * * Copyright (c) 2006-2020, Speedment, 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 requi...
31.144928
85
0.652396
ba9045896cc58f9ce0dc6fce90998ae81b244c1a
240
package lecho.lib.hellocharts.listener; import lecho.lib.hellocharts.model.SliceValue; public interface PieChartOnValueSelectListener extends OnValueDeselectListener { public void onValueSelected(int arcIndex, SliceValue value); }
21.818182
80
0.829167
efa72c736743851614df98096ca7b624f022cd98
6,610
/* * Copyright 2014 Capptain * * Licensed under the CAPPTAIN SDK LICENSE (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://app.capptain.com/#tos * * This file is supplied "as-is." You bear the risk of using ...
26.869919
111
0.63298
81666af7e54e0d44fd331c44f7613b5b3eae2d0f
3,666
package org.bouncycastle.jcajce.provider.symmetric; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.SecureRandom; import java.security.spec.AlgorithmParameterSpec; import javax.crypto.spec.IvParameterSpec; import org.bouncycastle.crypto.BlockCip...
29.328
130
0.636934
d7f2efb153b917a8726e09dfbebb40ab19ece63b
1,431
package com.kingsunsoft.sdk.login.net; import com.kingsunsoft.sdk.login.net.request.ChangePwdReq; import com.kingsunsoft.sdk.login.net.request.GetProductListReq; import com.kingsunsoft.sdk.login.net.request.GetVerifyCodeReq; import com.kingsunsoft.sdk.login.net.request.LoginReq; import com.kingsunsoft.sdk.login.net.r...
27.519231
67
0.738644
9b6bedef8b22059aa2b8b3bbed906f5e6c1736c9
592
package kr.co.popone.fitts.feature.identification.view; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.Lambda; final class IdentificationActivity$onBackPressed$1 extends Lambda implements Function0<Unit> { final /* synthetic */ IdentificationActivity this$0; Id...
29.6
95
0.709459
2bb782b7f88508bea3b1c4b6a2af729fc588e0d5
1,667
package com.example.roberto.hilda_app; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.ButtonBarLayout; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends A...
27.327869
77
0.653269