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
8fb16efc03f49207fdfc8c9bb776490554a203ae
2,527
/** * Copyright 2017 Pivotal Software, 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 o...
27.769231
75
0.60744
7b7e2be637dd8b11940f4fda3ff19393c3d8d2e9
2,190
package net.covers1624.wt.util; import java.io.IOException; import java.nio.file.*; import java.nio.file.attribute.BasicFileAttributes; import java.util.function.Predicate; /** * Created by covers1624 on 16/12/19. */ public class JarStripper { public static void stripJar(Path input, Path output, Predicate<Path...
33.692308
106
0.607306
42ee9abf4c381b8fda323c1a3469ab07a3590fda
530
package org.springframework.samples.petclinic.repository; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.samples.petclinic.model.Hotel; import org.springframework.stereotype.Repository; @Repos...
29.444444
73
0.790566
5ff2b7d0d0e5eb4fb9b4f79d6e5c1bc9d07b1a57
1,384
package com.adeptj.modules.data.mybatis.internal; import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; import static com.adeptj.modules.data.mybatis.api.MyBatisInfoProvider.DEFAULT_MYBATIS_CONFIG; @ObjectClassDefinition( name = ...
34.6
111
0.726156
4d7fdaaec11e925d4937e89d98b721762367866c
2,923
package buildcraft.api.transport.pluggable; import javax.annotation.Nullable; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.PacketBuffer; import net.minecraft.util.EnumFacing; import net.minecraft.util.ResourceLocation; import buildcraft.api.core.InvalidInputDataException; import buildcraft.a...
37.961039
120
0.736572
761e365a8c861f1e5254659b87d6b45f141c714a
425
import java.util.Arrays; public class Traverse { public static void main(String[] args) { String s = "the sky is blue"; String[] strs = s.split(" "); String[] res = new String[strs.length]; int n = strs.length; n--; for(String str : strs ) { res[n--] = st...
23.611111
49
0.515294
3b2cde9cfa7f2b966100a3597ef627b900329c55
762
package com.lg.ble; /** * Create by laoge * on 2020/7/16 0016 */ class EventChannelConstant { public static int FOUND_DEVICES=1;//搜索到蓝牙设备 public static int START_SACN=2;//开始扫描 public static int STOP_SACN=3;//开始扫描 public static int STATE_CONNECTED=4;//蓝牙状态改变,连接上了蓝牙 public static int ST...
36.285714
70
0.734908
38dd3fc5ed0f938823cc7787e18b0846691c3ade
999
import java.awt.*; import java.util.ArrayList; import javax.swing.*; public class CalcFrame extends JFrame{ private CalcHandler handler; private CalcPanel panel; public ArrayList<JButton> numpad; public CalcFrame(CalcHandler handler){ numpad = new ArrayList<JButton>(); numpad.add(new JButton("1")); ...
24.975
49
0.660661
abacd63d620fadbe90d4ae1531f9c423c0514db8
209
package pl.redny.album.infrastructure.brainz.model; import lombok.Data; @Data public class BrainzArtistCredit { private String name; private BrainzArtist artist; private String joinphrase; }
13.933333
51
0.755981
cb4e16affee5cf00bf78364d6803b297c37ee9a6
3,288
package com.vmware.eucenablement.sample; import com.vmware.eucenablement.oauth.OAuth2Config; import com.vmware.eucenablement.oauth.impl.VIDMOAuth2Impl; import com.vmware.eucenablement.oauth.util.HttpRequest; import com.vmware.eucenablement.oauth.util.OAuthUtil; import org.eclipse.jetty.server.Request; import org.ecli...
32.554455
137
0.700122
49eafb9771a6ea9f9e785a0fe736f0ddf806ae26
1,370
package com.RSen.Commandr.builtincommands; import android.content.Context; import android.content.Intent; import com.RSen.Commandr.R; import com.RSen.Commandr.core.MostWantedCommand; import com.RSen.Commandr.util.GoogleNowUtil; /** * Created by Daniel Quah on 11/10/2014. */ public class ThankYouGoogleCommand ext...
23.62069
94
0.664964
f8ae4aa51ace60fe7eddb01c5f9c04ec31b4ae26
1,224
package info.u250.c2d.engine; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.utils.Array; /** * Sometimes you may want to has muti layer of the scenes , that's what the {@link #SceneGroup()} do . * Such as a HUD scene on top of a Game scene . Its si...
21.473684
103
0.648693
cd41657c2d0d8f433acede9bebf13cea2213b9bb
3,786
/** * 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...
43.517241
129
0.741152
bb1d6c386ef64b5026b1bcb3089457d0c4e10bd7
4,148
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; public final class FieldProto { private FieldProto() {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public sta...
48.8
97
0.731919
97a68864429cea90d845bf5b8d1e9db31ff0e57e
17,301
import java.util.Scanner; public class ChoiceDesert{ public static boolean drill; public static void main(String[] args) throws InterruptedException { Scanner s = new Scanner(System.in); boolean dead; int days, number; String gamOv = " GAME OVER"; System.out.p...
62.233813
333
0.508121
6fb2671d8b9fde15f36aef4fa74c431c80dd0cee
2,827
package com.daedafusion.sf; import com.daedafusion.sf.config.ManagedObjectDescription; import com.daedafusion.sf.config.ServiceConfiguration; import com.daedafusion.sf.impl.DefaultServiceRegistry; import com.daedafusion.sf.Base64Encoder; import org.apache.commons.codec.binary.Base64; import org.apache.logging.log4j.Lo...
30.074468
88
0.695437
ba9628fdfcc9a3ddeffc4e0561d6b72c4ed3895a
9,685
package org.apache.helix.tools.commandtools; /* * 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...
37.10728
106
0.718121
44020f877256f8ffca71d618e09e20e6432bd954
765
package com.marondal.marondalgram.post.comment.bo; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.marondal.marondalgram.post.comment.dao.CommentDAO; import com.marondal.marondalgram.post.comment.model.Comment; @Service ...
23.90625
81
0.792157
25d22ecd458a1cf3b2bbf26e636b42c363c27688
1,666
/* * Copyright 2019 Wultra s.r.o. * * 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...
37.863636
92
0.743097
69534ac756ab88ee3aa34b23cb5ad3d9145f3c6d
812
package org.gr1m.mc.mup.bugfix.mc118710.mixin; import com.mojang.authlib.GameProfile; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.world.World; import org.gr1m.mc.mup.bugfix.mc118710.IEntityPlayerSP; import org.spongepowered.asm...
30.074074
100
0.742611
b60059b32cca22f2721d0699c18f390c763bb575
2,683
/* * Copyright 2016 Ben Manes. 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...
29.163043
85
0.712262
146ff37267eb3e3ec95d952039a67396df2abe92
320
import java.util.Scanner; public class Difference_Main { /** Main method */ public static void main(String[] args) { Difference absDiff = new Difference(); absDiff.setN(30); int absResult = absDiff.diff21(absDiff.getN()); System.out.println("The result of the absolute difference is : " + absResult); } }
20
80
0.703125
bab367b934c1ba87bdc6dbb95e8c533e40990c32
2,086
/* Copyright (c) 2014 Wolfgang Imig This file is part of the library "Java Add-in for Microsoft Office". This file must be used according to the terms of MIT License, http://opensource.org/licenses/MIT */ package com.wilutions.com; import java.util.function.Consumer; import java.uti...
28.575342
98
0.74209
c10d684239b81710a0840347c7544c37380ce81c
782
package easy.LengthOfLastWord; /** * @description: * 作者:LeetCode-Solution * 链接:https://leetcode-cn.com/problems/length-of-last-word/solution/zui-hou-yi-ge-dan-ci-de-chang-du-by-leet-51ih/ * 来源:力扣(LeetCode) * 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 * @author: jefferyqjy * @datetime: 2021/10/4 16:31 */ public class O...
23
114
0.57289
10f24abea516f075058a2b45ef00d99510aa8478
56,780
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
41.354698
302
0.510814
1e59a067237ae155e7ffd0f80a2e288f5af3329c
597
package com.storedobject.chart; /** * Interface to denote that a {@link ComponentPart} supports animation. * * @author Syam */ public interface HasEmphasis { /** * Get the instance of this property. (If <code>true</code> is passed as the parameter, * a new instance will be created if not already exi...
22.961538
91
0.638191
358f095d82f19ce4e6307a39aae4d1f838dee214
2,114
package naver; import java.util.HashSet; import java.util.Set; import java.util.concurrent.locks.ReentrantReadWriteLock; /** * @ClassName NaverCachedData * @Descripiton * @Author initial_yang * @Date 2020/4/12 */ public class NaverCachedData<E> { private final ReentrantReadWriteLock rwl = new ReentrantReadW...
26.098765
76
0.446074
b655d60344054f07bbef308739e2cf0e561777a1
293
package com.retail.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.math.BigDecimal; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class PurchaseDTO { public BigDecimal totalDiscount; }
17.235294
36
0.812287
f36276240b878402990ee5aa712b47f641333699
317
package com.fpt.capstone.wcs.repository.website; import com.fpt.capstone.wcs.model.entity.website.CookieData; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface CookieDataRepository extends JpaRepository<CookieData,Long> { }
31.7
78
0.84858
5a4328a34bbc83165f5ffab9b99e6c8b51aaf406
1,163
package com.eixox.adapters; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.eixox.globalization.Culture; public final class StringAdapter extends ValueAdapter<String> { public StringAdapter() { super(String.class); } @Override public final String parse(C...
20.767857
108
0.741187
576e2df8646ed2113042a213f74ad530445ff142
11,495
package com.coding.exercise.bankapp.service; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.spring...
36.842949
141
0.771988
b5be78f77976851302333de0eb02a3fb159fa095
1,136
package org.phoenix.leetcode.challenges; import org.junit.jupiter.api.Test; import java.util.List; class Problem29_VerticalOrderTraversalOfBinaryTreeTest { private final Problem29_VerticalOrderTraversalOfBinaryTree test = new Problem29_VerticalOrderTraversalOfBinaryTree(); @Test void verticalTraversal(...
31.555556
121
0.651408
c0b4aa3ea91dcd2ef17e1e300fda0fe572889691
2,553
package com.nsk.cms.rabbitmq.sender; import java.util.Map; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.atomic.AtomicLong; import org.springframework.amqp.core.Message; import org.springframework.beans.factory.annotation.Autowired; import com.nsk.cms.common.Constants; import lombok...
27.75
95
0.57501
b4a1b4099866b522edef170094640024a8728e99
4,168
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
27.24183
88
0.646593
d504ac0240189d55cbcf0890ec0da51f07803c3c
195
package ar.com.imango.digitalhospital; public interface Subscriptor { void eliminarMedidor(Medidor medidor); void agregarMedidor(Medidor medidor); void notificar(Medidor medidor); }
24.375
42
0.774359
3c6aad6795b7c52cc1f8b8cb3aa6cb4f9677d9a2
5,828
/** * 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...
29.734694
105
0.689259
95f1d6e22f2cda11538b24a4b1a8048d85b6bb22
1,773
package com.cftechsol.rest.example; import javax.validation.ConstraintViolationException; import javax.validation.Validation; import javax.validation.Validator; import javax.validation.ValidatorFactory; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.sp...
34.096154
95
0.794698
6a8a4896fba710c37e331c502602328e5a0a4cbe
1,092
package com.github.mickeer.codegen.fieldenum; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * For each class annotated with this annotation, an enum class with class' name * postfixed with "Fields"...
40.444444
88
0.762821
46baf6a56bbed07426eea2a0132c413199fd9c91
761
package com.wfcrc.utils; import android.content.Context; import android.support.annotation.Nullable; import java.io.IOException; import java.io.InputStream; /** * Created by maria on 10/10/16. */ public class JSONUtils { @Nullable public static String loadJSONFromAsset(Context context, int rawResource) { ...
24.548387
81
0.597898
b1101e5c668833c3537ce230477e2b67d61ea091
1,254
package ch.rhj.gradle.publish; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.when; import org.gradle.api.Project; import org.junit.jupiter.api.Test; import org.mockito.Mock; public class DefaultInfoTests { @Test public void test(@Mock Project project) {...
30.585366
67
0.709729
e4de1323f6d7b9ebadd8e5ba3f91ea4244fd0c33
723
package de.strasser.peter.hexagonal.web.mapper; import de.strasser.peter.hexagonal.application.port.in.commands.AddAddressCommand; import de.strasser.peter.hexagonal.web.dto.request.AddAddressRequest; import org.mapstruct.Mapper; @Mapper public interface AddAddressWebMapper { /** * Can not be mapped by MapStruct...
32.863636
82
0.75242
1b501279c5651cf2e948a12de5c0bbca3ba97029
7,020
/* * Copyright 2017 Uniklinik Freiburg and The Hyve * * 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...
48.413793
197
0.664387
2c32135c53952a725627229ef0a5be769d7eb024
3,687
package de.isc.cmdq.service; import de.isc.cmdq.conf.ServiceConfig; import de.isc.cmdq.domain.CmdRequest; import de.isc.cmdq.error.ScriptError; import org.apache.commons.lang3.RandomStringUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.jupiter.api.*; import o...
29.496
72
0.72498
3a69afc65d4dca948b1ce4dd1337bf762eb62937
1,009
/** * Copyright (c) 2015 https://github.com/howiefh * * Licensed under the Apache License, Version 2.0 (the "License"); */ package io.github.howiefh.jeews.modules.sys.resource; import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo; import org.springframework.hateoas.Link; import org.springfra...
28.027778
95
0.703667
0c544070b4064cef36c59fdc052f1973757e7f1e
20,203
package hr.fer.zemris.jcms.desktop.satnica; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream...
33.119672
166
0.640895
92328de19865e85cca2aa3af43eeb530c76f65f7
1,362
/* * Copyright 2020 ThoughtWorks, 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 agr...
38.914286
207
0.723935
bbc7798c5d8cf0bfd29599226b2ad8623a0a0953
21,083
package org.drools.examples; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java....
36.729965
120
0.51136
ff95ac58d3d0e35e26a1f07f771549e33971b11f
312
package org.yserver.utils.log4j; import org.apache.log4j.Priority; public class DailyRollingFileAppender extends org.apache.log4j.DailyRollingFileAppender { public boolean isAsSevereAsThreshold(Priority priority) { //只判断是否相等,而不判断优先级 return this.getThreshold().equals(priority); } }
24
87
0.753205
9f5e92b7b6c11352e4b7cba403334c8b5dfb2af5
1,078
package com.google.android.cameraview.demo; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; /** * Created by kaelma on 2018/7/25. */ public class SplashActivity extends Activity { @Override protected...
29.944444
87
0.648423
df7b4b09307d62b1d922b70841c972444fda25e8
1,853
package com.valhallagame.ymer.controller; import com.fasterxml.jackson.databind.JsonNode; import com.valhallagame.common.JS; import com.valhallagame.currencyserviceclient.CurrencyServiceClient; import com.valhallagame.currencyserviceclient.message.AddCurrencyParameter; import com.valhallagame.currencyserviceclient.mes...
44.119048
136
0.810577
e815e60844c718abf320b10edca545b6b19a63db
2,314
package bepler.lrpage.parser; import java.util.Arrays; import bepler.lrpage.grammar.Rule; public class Item { private final Rule rule; private final String lookahead; private final int index; public Item(Rule rule, String lookahead){ this(0, rule, lookahead); } public Item(int index, Rule rule, String l...
20.477876
109
0.63656
166a1e6bdd8a160e9b6ead04e1d322d9ec4e43d2
589
package com.sinoyd.demo.repository; import com.sinoyd.demo.entity.Employee; import org.springframework.data.repository.CrudRepository; import java.util.Collection; import java.util.List; /** * @Description * @auther 李忠杰 * @create 2019-01-28 16:50 */ public interface EmployeeRepository extends CrudRepository<Empl...
25.608696
77
0.789474
eab65b1345393605c719789579c4138e96ee0054
812
package com.fireflysource.net.http.common.v2.frame; import java.util.HashMap; import java.util.Map; public enum FrameType { DATA(0), HEADERS(1), PRIORITY(2), RST_STREAM(3), SETTINGS(4), PUSH_PROMISE(5), PING(6), GO_AWAY(7), WINDOW_UPDATE(8), CONTINUATION(9), // Synthetic fr...
19.804878
77
0.615764
40155014c1cd9073f2d6ff7a7b3b466a0ade176e
344
package com.apachetune.core.ui.feedbacksystem; import com.apachetune.core.ui.NView; /** * FIXDOC */ public interface UserFeedbackView extends NView { enum Result {USER_ACCEPTED_SENDING, USER_REJECTED_SENDING} Result getResult(); String getUserMessage(); void setUserEmail(String userEmail); S...
18.105263
62
0.741279
26272b1056f771791d73b10c7f00e50e5497bd62
638
package com.readlearncode.priority; import com.readlearncode.async.AuditEvent; import javax.annotation.PostConstruct; import javax.ejb.Startup; import javax.ejb.Singleton; import javax.enterprise.event.Event; import javax.inject.Inject; import static com.readlearncode.async.AuditEvent.Priority.HIGH; /** * Source c...
19.9375
63
0.749216
fde99cee369ea2d69bb75359ff1be54b1de37fe5
922
package obscurum.creatures.ai; import java.awt.Point; import java.util.ArrayList; import obscurum.creatures.Creature; import obscurum.creatures.ai.CreatureAI; import obscurum.environment.Level; import obscurum.environment.foreground.ForegroundTile; /** * This models the behaviour of dead creatures. * @author Alex G...
22.487805
58
0.706074
a0a941a17ae9f4ae631d544004a12a2e9b109d2a
1,109
package opg.softuni.fdmc.beans; import opg.softuni.fdmc.domain.dto.CatViewDto; import opg.softuni.fdmc.services.CatService; import opg.softuni.fdmc.util.ApplicationUtils; import opg.softuni.fdmc.util.GenericComparator; import javax.inject.Inject; import javax.inject.Named; import java.beans.IntrospectionException; im...
26.404762
82
0.678088
98f82165f3417117d06bc541ac1d8f4869559292
5,748
/* * Consumer Data Standards * Sample client library to Demonstrate the Consumer Data Right APIs * * NOTE: This class is auto generated by the codegen artefact * https://github.com/ConsumerDataStandardsAustralia/java-artefacts/codegen */ package au.org.consumerdatastandards.client.model; import java.math.BigDeci...
35.04878
464
0.671712
cc43671843d856343872d9ce5485a0e12e4aebab
2,550
/* * Copyright (C) 2017-2018 Dremio Corporation * * 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...
31.481481
105
0.743922
36abd6aa92fa6f8eab8d46915d920a06c6efea6a
603
package br.com.thiago.robotPi.model; import javax.persistence.Entity; import javax.persistence.Id; import org.hibernate.annotations.GenericGenerator; @Entity public class Empresa { @Id @GenericGenerator(name = "id", strategy = "uuid2") private String id; private String nome; private String cep; public Strin...
16.75
51
0.699834
a48256fcedc09ae640064ce5baa50a8bacb264df
1,012
package com.paperplay.myformbuilder.model; /** * Created by Ahmed Yusuf on 22/08/19. */ public class CheckboxData { private int id; private String secondaryId; private String value; private boolean checked; public CheckboxData(int id, String secondaryId, String value, boolean checked) { ...
19.461538
84
0.606719
07d6f023b5cc2c287d69767b77c0606bfbbbaa39
385
package com.chen.gulimall.ware.dao; import com.chen.gulimall.ware.entity.WareOrderTaskEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 库存工作单 * * @author chenZhibin * @email 2891651056@qq.com * @date 2021-07-09 11:02:57 */ @Mapper public interfac...
21.388889
75
0.771429
531e9a4032f628606597a6b918a419a2f9a5a706
3,925
package isamrs.tim21.klinika.controller; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.Re...
41.315789
129
0.816306
ee41387e38a5918bd08598f1e1ab38f9666fc84d
1,574
/* * Copyright 2012 Greg Milette and Adam Stroud * * 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...
28.107143
92
0.696315
fd52cb12ef093f682aee46bb0b409eefeb9d0812
7,841
package com.leidos.glidepath.filter; import com.leidos.glidepath.ead.Trajectory; import com.leidos.glidepath.logger.Logger; import com.leidos.glidepath.logger.LoggerManager; /** * Fits a polynomial of order 2 to smooth the raw data, using 15 historical data points. * Uses Holoborodko filters for first and second de...
32.945378
120
0.656932
90936d483f029ad5e0b6fc694aa51488b2126ca2
667
package cn.mrian22.validate.entity; import java.awt.image.BufferedImage; import java.time.LocalDateTime; /** * @author 22 * 多了一个BufferedImage属性,存放图片 */ public class ImageCode extends Code { private BufferedImage image; public ImageCode(BufferedImage image,String code, int expireIn) { super(code, ...
20.84375
81
0.670165
5fb2730719597b0010f778b256336b53ff09c68e
1,847
/** * 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...
36.94
118
0.708717
3d149a881931bee507c869309411c07f43ed8cbe
3,781
package br.com.gerencianet.gnsdk; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.json.JSONObject; import org.json.JSO...
32.878261
124
0.72018
9a8222cd8a6a2b130a3f53d20b6abee413bfca21
2,116
package ndm.miniwms.service.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import ndm.miniwms.dao.StockInventoryMapper; import ndm.miniwms.pojo.StockInventory; import ndm.m...
25.804878
81
0.750945
6bccdee7e320b620280209e517f3d2fc15831c02
385
package com.lethalskillzz.baker.presentation.recipestep; import com.lethalskillzz.baker.di.PerActivity; import com.lethalskillzz.baker.presentation.base.MvpPresenter; /** * Created by ibrahimabdulkadir on 21/06/2017. */ @PerActivity public interface RecipeStepMvpPresenter<V extends RecipeStepMvpView> extends MvpPr...
27.5
94
0.807792
3f3c51dc601ed2e560c457ece138464a770b9fb9
4,012
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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...
33.157025
122
0.730309
13b3df8df34b63f0ad1e7193ccf21714630ab2d9
695
package com.mid.exporter.data.common; import java.util.HashMap; /** * @author */ public enum StateType { BEGIN(0), PAINT(1), STETUP(2), COMPLETE(3), NONE(4); private final static HashMap<Integer, StateType> STATE_MAP = new HashMap<>(5); static { STATE_MAP.put(BEGIN.getId(), BEGIN); ...
17.375
82
0.638849
e7904e7418ffead18b3b59e87575d6602e94c87b
736
package cbedoy.cbchatmediacell; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import java.util.List; /** * Created by bedoy on 5/5/16. */ public abstract class AbstractAdapter<T> extends BaseAdapter { private List<T> mDataModel; public AbstractAdapter(List<T> ...
18.4
60
0.665761
58f7491628e1b09febd8f5c0febf626ea7de38da
96
package io.mateu.erp.model.financials; public enum InvoiceSending { NONE, EMAIL, VOXEL }
12
38
0.729167
a72a7ef57a572c3aded47f9da4849c6621fc81fe
640
package com.commsen.em.demo.vaadin; import javax.servlet.annotation.WebServlet; import org.osgi.service.component.annotations.Component; import com.commsen.em.annotations.Requires; import com.vaadin.annotations.VaadinServletConfiguration; import com.vaadin.server.VaadinServlet; @Component(// service = VaadinServl...
22.857143
57
0.757813
692d02227827034aa75246096902391465f8632f
2,612
package co.uk.zopa.challenge.services; import co.uk.zopa.challenge.exceptions.InvalidLoanAmount; import co.uk.zopa.challenge.exceptions.MarketInsufficientFunds; import co.uk.zopa.challenge.interfaces.QuoteCalculationService; import co.uk.zopa.challenge.interfaces.ValidationService; import co.uk.zopa.challenge.model.Le...
34.826667
179
0.699081
738fc26eebbd7e88042556130e03c1d8fc3ed702
2,570
package com.weng.discountinformer; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; import java.util.Li...
31.728395
108
0.664202
fb2606ff74f6a40f4c1e7a3749a98497d687ae87
9,865
/* * Copyright (c) 2003-2011, Simon Brown * 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, this list of ...
37.796935
119
0.692955
3575bf623878508cdec212662577b1d84ba13370
4,222
/* * Copyright © 2018-2019 Cask Data, 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 agr...
29.732394
108
0.691615
1b3b23e953192be1702559f63385f16b0c942b36
11,355
/* * Copyright 2017 Julia Kozhukhovskaya * * 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...
35.373832
109
0.689828
cce3d35fa247720317fff212fd2af2949e7f92dc
743
package com.len.service.impl; import com.len.base.BaseMapper; import com.len.base.impl.BaseServiceImpl; import com.len.entity.WanganUserLeave; import com.len.mapper.WanganUserLeaveMapper; import com.len.service.WanganUserLeaveService; import org.springframework.beans.factory.annotation.Autowired; import org.springfram...
26.535714
99
0.781965
e3d03bacbf784153c821098dec4a16144466ead8
1,631
package com.phycctv.easysum.model; import java.util.Date; import java.util.List; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne...
15.242991
48
0.709381
508802be2e8dce92cf0bb1e36d539062ff67f7d1
2,295
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28.333333
108
0.735076
043b3040b84d85d6723c94a6f4518b1dfda9c0ac
1,166
package com.urgoo.plan.biz; import android.content.Context; import com.urgoo.common.ZWConfig; import com.urgoo.data.SPManager; import com.urgoo.net.EventCode; import com.urgoo.net.HttpEngine; import com.urgoo.net.StringRequestCallBack; import java.util.HashMap; /** * Created by bb on 2016/8/9. */ public class Pla...
26.5
159
0.69554
f7520e2f1dd599c14119b0c1ef601a9eca526c82
3,141
package id.co.ardata.megatrik.megatrikdriver.utils; import android.content.Context; import android.content.SharedPreferences; public class SessionManager { SharedPreferences pref; SharedPreferences.Editor editor; Context _context; int PRIVATE_MODE = 0; private static final String PREF_NAME = "Me...
28.044643
76
0.683222
834a5718b37fcb89d41026cac6e12265075d2f2c
517
package frc.robot.simulator.network.services; import frc.robot.simulator.network.proto.PingProto; import frc.robot.simulator.network.proto.PingServiceGrpc; import io.grpc.stub.StreamObserver; public class PingService extends PingServiceGrpc.PingServiceImplBase { @Override public void ping(PingProto.PingMessag...
34.466667
110
0.800774
1c062836c9c0283811c7ce299f4f910cea973771
956
package com.packt.j11intro.porcus; import java.util.Scanner; public class Main { public static void main(String[] args) { // Initializes main engine. PigLatinTranslator t = new PigLatinTranslator(); System.out.println("Pig Latin Converter, type in anything, we will convert it into pig lat...
32.965517
159
0.559623
8618800b5300b8753be2f13c9b78f740773cd5c4
848
package com.nfdw.util; import javax.servlet.http.HttpServletRequest; /** * @author zhuxiaomeng * @date 2017/12/28. * @email 154040976@qq.com */ public class IpUtil { public static String getIp(HttpServletRequest request){ String ip=request.getHeader("x-forwarded-for"); if(ip==null || ip.lengt...
29.241379
73
0.583726
300eb2b2454cd44cd6b1db38a5978b7ceb370fee
561
package cn.liuyiyou.springboot.autoconfigure; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; /** * @author: liuyiyou.cn * @date: 2019/11/28 * @version: V1.0 */ @ConfigurationProperties(value = "lyy", igno...
17.53125
75
0.652406
18493b6d0f71b69154c2925460b968827233ec33
3,247
package games.dominoes; import games.common.model.board.Coordinate; import games.common.model.enums.Color; import games.common.model.enums.Direction; import games.dominoes.lineardominos.LinearDominoPiece; import games.dominoes.stickersdominoes.DominoStickerPiece; import games.dominoes.stickersdominoes.Shape; import or...
38.654762
113
0.579304
f4d5ad88e44b33124dcf74d34971b7b3b68dbc9c
1,842
package fr.reivon.formation.spring10; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.validation.BindingResult; import org.springframework.validation.Errors; import org.springframework.va...
35.423077
127
0.722041
b5358f5e8229cfd4c5ea76ad23df2a5798027680
4,904
/* Foilen Login https://github.com/foilen/foilen-login Copyright (c) 2017-2021 Foilen (http://foilen.com) The MIT License http://opensource.org/licenses/MIT */ package com.foilen.login.controller; import org.apache.commons.validator.routines.EmailValidator; import org.slf4j.Logger; import org.sl...
32.912752
141
0.672308
70376d17bc6336e3294533aa340e58a44939f453
5,577
/* * Copyright 2017-2018 Adobe. * * 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...
49.794643
969
0.790389
f4e672da2df25fa510fcbd3820e09c3fb708dcd9
6,806
package com.example.login; import android.content.DialogInterface; import android.content.Intent; import android.support.v7.app.ActionBar; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.util....
37.191257
118
0.626065
04a07f6f32fd34fe3cba112d62e782b6f3c6980d
2,204
package org.asperen.processors.couchdb; import java.util.List; import org.apache.nifi.annotation.documentation.CapabilityDescription; import org.apache.nifi.annotation.documentation.Tags; import org.apache.nifi.components.PropertyDescriptor; import org.apache.nifi.processor.ProcessContext; import org.apache.nifi.proc...
40.814815
114
0.747731
60d5c2d25c6b608c0f56442e2cb4e24d323fbe66
24,353
package com.docusign.esign.model; import java.util.Objects; import java.util.Arrays; import com.docusign.esign.model.SettingsMetadata; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import io.swagger.annotati...
32.865047
594
0.774484
5d36fdc793cdf60bbfce98e3d80a2e63ce4154ce
3,743
package com.trevorgowing.tasklist.task; import static com.spotify.hamcrest.optional.OptionalMatchers.emptyOptional; import static com.spotify.hamcrest.optional.OptionalMatchers.optionalWithValue; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.empty; import static org.hamcrest....
38.989583
100
0.751269
766b2c0f076faecf53656981fa7f4c217ebe053e
430
package functional; public final class TestObjectUnMutable { public final int value; public TestObjectUnMutable(int value) { this.value = value; } public TestObjectUnMutable updateValue(int value) { return new TestObjectUnMutable(value); } @Override public String toStrin...
19.545455
55
0.6
e395d8679abb9fa5d88bf3643b03f25c3d549227
2,489
package tane.mahuta.buildtools.version.storage; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FileUtils; import tane.mahuta.buildtools.version.VersionStorage; import javax.annotation.Nonnull; import java.io.*; import java.util.regex.Matcher; import java.util.regex.Pattern;...
31.910256
120
0.602652
56d012e09fc3e4bd126f52db2bf18192344130e3
3,866
/* * Copyright 2013 University of Chicago and Argonne National Laboratory * * 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...
28.426471
80
0.682359