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
8865fb476867b6e3edc39cb6480caf078a47b76d
5,715
package org.apereo.cas.web.flow; import org.apereo.cas.AbstractCentralAuthenticationServiceTests; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.ticket.TicketGrantingTicket; import org.apereo.cas.web.support.CookieRetrievingCookieGenerator; import org.apereo.cas.CasProtocol...
45.72
113
0.753456
32f45d81a091800b19ef85afa20f0e94038ac6c7
652
package controller.model; public class Wrapper { //*******************************Class fields******************************// private int opnum; //Contains the number of operation for the server private String CData; //Contains json in String format //*******************************Class Meth...
19.757576
82
0.492331
ae7a99319cc3d085578e07dc3b0659e9694a958b
8,726
/* * Copyright 2022 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
51.329412
112
0.577813
000b120cf2c515085461d14bcd245ce4a1f5fce0
322
package sch.frog.calculator.compile.lexical; import sch.frog.calculator.compile.IWord; import sch.frog.calculator.compile.syntax.ISyntaxNodeGenerator; /** * 词法分析的token */ public interface IToken extends IWord { /** * 获取词法节点生成器 * @return */ ISyntaxNodeGenerator getSyntaxNodeGenerator(); ...
17.888889
63
0.71118
fe7ae562d11367976a1dd693514f404b0c5f6023
2,386
package org.javarosa.engine.xml; import org.javarosa.core.model.data.UncastData; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.xml.util.InvalidStructureException; import org.kxml2.io.KXmlParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; import java.util.Hasht...
36.151515
151
0.603521
ba1b001851254435e2c750e4e996f2e25e5b2c85
3,424
/** * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agreed to in writing, software * dist...
33.568627
117
0.631717
d33eaeeaddec4bc0c3ab2aca35d5f749efde91c0
442
package org.ubjson.viewer; public class ScopeStack { private int pos; private Scope[] levels; public ScopeStack() { // Support a scope depth up to 128-levels. levels = new Scope[128]; } public void reset() { pos = -1; } public void push(Scope scope) { levels[++pos] = scope; } pu...
16.37037
45
0.59276
800460acaa0579767c3872cab9f051935d45b7b3
769
package com.guaner.service.admin; /** * 后台菜单操作service */ import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.guaner.dao.admin.MenuDao; import com.guaner.entity.admin.Menu; @Service public class MenuService { @Autowired ...
14.509434
62
0.6658
3060ea725579163eef8c5024ee06bf8a7dbfe530
6,308
package org.activiti.rest.api.process; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.activiti.engine.ActivitiException; import org.activiti.engine.HistoryService; import org.activiti.engine.RuntimeService; import org.activiti.engine.history.His...
43.805556
238
0.742391
94dcc08a111e41101f732a334a5a03d020645c86
1,678
/* * Copyright 2019 Arcus Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
29.438596
75
0.749106
65c85c17b27a6572456ad34c4c95fb851460ff09
3,045
package com.syntaxphoenix.syntaxapi.command; import java.util.ArrayList; import java.util.Iterator; import com.syntaxphoenix.syntaxapi.exception.ObjectLockedException; public class Ranges implements Iterable<BaseArgumentRange> { private final ArrayList<BaseArgumentRange> ranges; private boolean lo...
24.166667
92
0.583908
bd652142c4ad3ac66d6e219c0172eebc8794b433
3,684
/* LogContourFeatureExtractorTest.java Copyright 2012 Andrew Rosenberg This file is part of the AuToBI prosodic analysis package. AuToBI is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, eith...
31.758621
93
0.703583
c1d5cf9ee02936df0718b2e44e50c165fb297161
727
public class Funcionario { private String nome; private String cpf; private String funcao; private Double salario; public void setNome(String nome) { this.nome = nome; } public String getNome() { return this.nome; } public void setCpf(String cpf) { ...
20.771429
45
0.558459
4a7ae59403fc2f445d8a52adfdefd2f0f7778173
19,513
package com.sokool.intimacyup; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatAc...
39.903885
202
0.60862
f8894cf4e299d3f1711ecd7a06966ee286622aff
1,461
/* * Copyright 2020 vivier technologies * * 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 ...
26.563636
75
0.672142
36f92433ec820e2608c2e0c15d00f8d9767b13b3
1,811
package org.jdfs.tracker.codec; import org.apache.mina.core.buffer.IoBuffer; import org.apache.mina.core.session.IoSession; import org.apache.mina.filter.codec.demux.MessageDecoderResult; import org.jdfs.commons.codec.DecoderState; import org.jdfs.commons.codec.JdfsFileRequestMessageDecoder; import org.jdfs.commons.re...
30.694915
115
0.76974
12d38267a162eb1837f6d9e92ed6aabcc17ab541
2,037
package oop.focus.diary.controller; import oop.focus.common.View; import oop.focus.db.exceptions.DaoAccessException; import oop.focus.diary.model.DailyMood; import oop.focus.diary.model.DailyMoodImpl; import oop.focus.diary.model.DailyMoodManager; import oop.focus.diary.view.DailyMoodSection; import org.joda.time.Loca...
28.690141
116
0.670103
d9ba5a6aed2db896900d06e3047edcc2e080e7c7
1,534
package io.stargate.graphql.schema.fetchers.dml; import static org.junit.jupiter.params.provider.Arguments.arguments; import io.stargate.db.schema.Keyspace; import io.stargate.graphql.schema.DmlTestBase; import io.stargate.graphql.schema.SampleKeyspaces; import org.junit.jupiter.api.DisplayName; import org.junit.jupi...
37.414634
97
0.649283
a3c6f4ec6554a944d8c59ac32116cf55a5b6acdb
679
package com.brijesh.microservices.limitsservice.controller; import com.brijesh.microservices.limitsservice.bean.Limits; import com.brijesh.microservices.limitsservice.configuration.Configuration; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; i...
32.333333
81
0.795287
0d16591ec01b069227a10e9ceb34a54882465e01
5,735
/* * Copyright 2015-2025 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 applicable...
24.404255
100
0.575065
8bceb6d27410ac116e0dbdabb343a40b53540257
983
package com.company.TextProcessing.Exercise; import java.util.Scanner; public class P07StringExplosion { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String text = scanner.nextLine(); StringBuilder sb = new StringBuilder(); //0123456789012345...
26.567568
65
0.416073
0addcac57020217f0e790bb283f6c281b2ea5323
664
package com.ltts.movieapp.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ltts.movieapp.bo.MovieBo; import com.ltts.movieapp.model.Movie; @Service public class MovieServiceImp implements MovieService{ @Autowir...
18.444444
62
0.751506
6c8b9b53f6cd4bcc0377d74a60f255a8063e1463
1,786
package com.turbouml.dto.models; import java.util.List; /** * An entity to represent all of the data in a single diagram for a project * stores the data of the project from the project database table, * stores all class diagrams belonging to the project, * stores all relationships belonging to the project * stor...
24.465753
81
0.678611
0bfdc7348dbec8aacba214cada5cadd78acb825e
1,212
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class CalculadoraServlet extends HttpServlet { public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { double op1, op2, result; int operacion; String simb_op[] = {"+", "-", "*","/"}; Servle...
28.186047
113
0.695545
08344b0cf9a96ea168b08feceb7d2170062a71c3
2,255
package org.anddev.andengine.extension.physics.box2d; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.World; import org.anddev.andengine.engine.handler.runnable.RunnableHandler; public class FixedStepPhysicsWorld extends PhysicsWorld { public static final int STEPSPERSECOND_DE...
35.234375
135
0.71663
efd2da8dea278d49ffc82f670168a63806e573cb
8,045
/* Copyright (c) 2007-2009 Kristofer Karlsson <kristofer.karlsson@gmail.com> and Jan Matejek <ja@matejcik.cz> 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...
29.148551
94
0.684027
ce9afa12228af84b68b470eb1244f35135db4d7e
1,871
package com.browntape.productcategorizer; /** * Created by Srini on 11/8/16. */ public class Product { public String id; public String itemOrder; public String title; public String sku_code_from_channel; public String company_id; public String number; public String category_id; publ...
22.011765
147
0.642437
318d9b08a367881af01d1c3ee550976eeacd6cd5
2,679
/* * DomainToken.java * Copyright 2006 (C) Aaron Divinsky <boomer70@yahoo.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your op...
27.336735
80
0.748787
52e7c6a3ce1060417304c672b522d616df09f5a9
5,613
package net.cnri.cordra.util.cmdline; import java.io.IOException; import java.io.Reader; import java.io.UncheckedIOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.Map; import java.util.Properties; import java.util.UUID; import java...
38.979167
144
0.665063
0a5412a544348672a65e979210fb53e61b0708cc
874
// Copyright 2019 Intel Corporation // SPDX-License-Identifier: Apache 2.0 package org.sdo.rendezvous.model.types.serialization; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import java.io.IOException; ...
33.615385
98
0.792906
e8b9b61e95c85418aadeaeb074639a54fecf9c1b
2,213
package com.github.LucasOyarzun.finalreality.model.character; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import org.junit.jupiter.api.Assertion...
35.693548
82
0.704022
1ad501c422e03f521497a0bdaa5b1765e1e1d35b
3,689
import java.io.IOException; import java.util.Collections; import java.util.LinkedList; import static java.lang.System.out; import static java.util.Collections.sort; import static java.lang.String.format; public abstract class Initialization { public synchronized double canRateQueueYears() { return (double) this...
27.736842
84
0.673624
f0709ebc556749b384a9c4ce91efc05a327d299d
4,562
package com.vesit.imaginar.one; import android.content.Context; import android.view.MotionEvent; import android.widget.TextView; import com.google.ar.sceneform.FrameTime; import com.google.ar.sceneform.HitTestResult; import com.google.ar.sceneform.Node; import com.google.ar.sceneform.math.Quaternion; import com.googl...
37.702479
104
0.629768
ae6a3f6f71a3c203810bc7682376d6a195a42708
1,194
package com.github.fmjsjx.myboot.autoconfigure.redis; import java.net.URI; import org.springframework.lang.NonNull; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * Properties class for {@code REDIS/Lettuce} cluster client. */ @Getter @Setter @ToString(callSuper = true) public class Redis...
19.9
73
0.588777
fcf8d9435c8d62fdbf9a235082706cad55d6d5c9
3,247
/* Copyright 2012, 2013 Jonathan West 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...
33.822917
108
0.753619
62a1bbd62d75ba82b67a7577dfe529e6834acc9c
262
package org.tms.web.rest; import javax.ws.rs.ApplicationPath; import org.glassfish.jersey.server.ResourceConfig; @ApplicationPath("rest") public class TmsRestProvider extends ResourceConfig { public TmsRestProvider() { packages("org.tms.teq.rest"); } }
17.466667
52
0.770992
66306b23cdf6887f0fd404ad39c430d2d50a75c0
5,418
package com.quartzodev.utils; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.provider.MediaStore; import com.quartzodev.buddybook.R; import com.quartzodev.data.Book; import org.supercsv.cellprocessor.Co...
34.075472
132
0.580842
23c7bb56c18129547bce3ea4dea126c60344c018
2,244
package com.aoc; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.stream.Stream; import static java.lang.System.out; public class SonarSweep { private SonarSweep() { } public static void main(St...
33.492537
129
0.697415
21051d802ec9b8f7f280611419443b53edd5fe9e
25,670
package edu.neu.ccs.pyramid.multilabel_classification.cbm; import edu.neu.ccs.pyramid.classification.Classifier; import edu.neu.ccs.pyramid.classification.lkboost.LKBOutputCalculator; import edu.neu.ccs.pyramid.classification.lkboost.LKBoost; import edu.neu.ccs.pyramid.classification.lkboost.LKBoostOptimizer; import e...
38.893939
196
0.634125
3389cb7e7044cdd5c084968392ec48ded6d7106e
2,621
/******************************************************************************* * Copyright 2017-present, PureLauncher Contributors. * * 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 Lic...
29.449438
80
0.595574
954b9f335c8c3168938637673bb4323ef108a5a0
12,382
/* Copyright (C) 2001 ACUNIA This file is part of Mauve. Mauve is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Mauve is distributed in the hope that it w...
29.341232
95
0.536424
434788f207b2d649b11725d1ceaf4325cab4f6f0
273
package com.fsck.k9.controller; import com.fsck.k9.Account; import com.fsck.k9.mail.Folder; import com.fsck.k9.mail.Message; import java.util.List; public interface MessageActor { void act(final Account account, final Folder folder, final List<Message> messages); }
22.75
87
0.772894
1656e2200a0c664af464d2aa3f643c8543e82b9d
408
package com.leandroasouza.restapidemo; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Headers; /** * Created by leandrosouza on 24/06/2016. */ public interface BookAPI { @Headers({ "content-type: application/json", "cache...
18.545455
46
0.625
0d5a5634e3d269da5d99ea50a98c7f5a4eb9369b
5,943
package pdftable; import java.nio.file.Path; /** * Image conversion settings. */ public class PdfTableSettings { public static class PdfTableSettingsBuilder { // -------------- // DEFAULT VALUES // -------------- // DPI SETTINGS private static final int DEFAULT_PDF_DP...
28.033019
95
0.659263
6745114b5dd13bc1c7bc942e317c2cbde8c5add2
544
package de.swapab.csvupload.controller; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; @RestController public class CsvUpload...
34
76
0.777574
03748d4a995e4f6e5472e9220d84430f8a48c01e
14,849
/** * */ package com.transcend.rds.worker; import java.util.Arrays; import java.util.Collection; import java.util.LinkedList; import java.util.List; import org.hibernate.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.transaction.annotation.Transactional; import com.msi...
39.916667
112
0.709341
330f9bae1cf7def26f5196c47576c7683608d65d
4,941
package com.program.moist.utils; import android.content.Context; import android.util.Log; import com.alibaba.sdk.android.oss.ClientConfiguration; import com.alibaba.sdk.android.oss.ClientException; import com.alibaba.sdk.android.oss.OSSClient; import com.alibaba.sdk.android.oss.ServiceException; import com.alibaba.sd...
39.846774
154
0.695001
b7e7832d7f7a6c93a8a02035b9dccd3ccc4a4b9c
4,219
package nickrout.lenslauncher.util; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.d...
40.961165
127
0.668405
2cc31a0b8c613b05dce9ad427efcc39b4b956e74
9,633
package com.hsy.springboot.oauth2.all.multiLogin.config; import com.hsy.springboot.oauth2.all.multiLogin.filter.AiLoginRedirectFilter; import com.hsy.springboot.oauth2.all.multiLogin.filter.ParamTogetherFilter; import com.hsy.springboot.oauth2.all.multiLogin.handler.MyLoginFailureHandler; import com.hsy.springboot.oaut...
45.438679
209
0.601682
6f3a4a949e0e830f1681736528566b7c7bf4ca3a
2,901
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softw...
32.233333
98
0.685281
bd6e797584a675eaa49640de4b63ded3cad2c4d6
856
package arraydeque; import java.util.ArrayDeque; import java.util.Collections; import java.util.Scanner; public class HotPotato { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String[] players = scanner.nextLine().split("\\s+"); int n = In...
23.135135
61
0.53271
b50278308a99279e65403b47432d8476931521d6
529
package com.thinkaurelius.titan.diskstorage.berkeleydb.je; import com.thinkaurelius.titan.diskstorage.util.KeyValueStorageManager; import com.thinkaurelius.titan.diskstorage.util.KeyValueStorageManagerAdapter; import org.apache.commons.configuration.Configuration; /** * (c) Matthias Broecheler (me@matthiasb.com) */...
31.117647
78
0.814745
233767ccc75f374a119618e8bbe3ba5e0817c441
26,725
package com.termux.zerocore.activity; import android.app.Activity; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.EditText; import android.widget.ImageView; impo...
35.303831
192
0.455716
ba51746dee43a8f274a3dacb322e94990b8dd01b
672
package com.google.android.gms.measurement.internal; public class zzgl { public static final String[] zzpp = {"firebase_last_notification", "first_open_time", "first_visit_time", "last_deep_link_referrer", "user_id", "first_open_after_install", "lifetime_user_engagement", "session_user_engagement", "non_persona...
61.090909
340
0.693452
7c1c9890c0181e4f01f7a9d2b93820bc4fa741bc
3,004
/* * * * Copyright 2015 Skymind,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 * * * * U...
33.010989
112
0.655792
7161871d3617010c02e3ccc87dc2f49150f0f4f6
2,290
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
37.540984
104
0.685153
28110a8ac031d94f3d8a69f3790bc9cc44b37e4c
11,419
package co.etornam.freeminds; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android....
46.044355
154
0.605219
6f8eb7826b383398e5e7c87abbaf556586fe435d
867
package ru.otus.repository; import lombok.RequiredArgsConstructor; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Criteria; import org.springframework.data.mongodb.core.query.Query; import org.springframework.data.mongodb.core.query.Update; import ru.otus...
36.125
77
0.749712
6af048ea120aae67e53cc04fafd7c1b2a7b991dd
464
package arez.persist.runtime.browser; import arez.persist.runtime.Converter; import javax.annotation.Nonnull; /** * Represent Integer as doubles when emitting as json. */ final class IntegerConverter implements Converter<Integer, Double> { @Override public Integer decode( @Nonnull final Double encoded ) { ...
19.333333
56
0.730603
acbebf4e979f085444d36f5022cb54366af6d757
2,453
// @formatter:off /* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. See License.txt in the project root. * --------------------------------------------------------- * * ---------------------------------------------...
22.925234
70
0.594374
a4f47de8778aeb1602ad28598fb4980a9e4cbb74
171
package jchopp.strategies.interfaces; import jchopp.objects.logical.standards.LogicalObject; public interface TickingStrategy { void tick(LogicalObject object); }
17.1
54
0.807018
c3230241dc88ccbc4095b988dd2d2ad29f7d856e
1,592
/* * Copyright 2017 Max Schuster. * * 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 ...
30.615385
91
0.699121
c3fd922a99e603ea97a8b16f417db521c945cd6f
1,455
package org.scribble.ext.assrt.core.type.name; import org.scribble.core.type.name.DataName; import org.scribble.ext.assrt.core.type.kind.AssrtAnnotDataKind; // Cf. GDelegType; similarly located in name package -- CHECKME: maybe refactor (both) out of name, and (Assrt)PayloadType public class AssrtAnnotDataName impl...
21.086957
122
0.709278
b070e62ff591cfd54ddaa66dcf1f2a395eb2e715
371
package com.ctrip.xpipe.redis.console.model; public class MigrationEventModel implements java.io.Serializable{ private static final long serialVersionUID = 1L; private MigrationEventTbl event; public MigrationEventModel(){} public MigrationEventTbl getEvent() { return event; } public void setEvent(Migra...
19.526316
65
0.768194
29308c9b2a1802c38807d3720d06257c59f14667
1,174
package dev.hoot.api.game; import dev.hoot.bot.managers.Static; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; @Slf4j pu...
20.596491
89
0.715503
0d02a6fdf242505203947e81f01233e33d7d9537
166
package servlet.vo; import lombok.Builder; import lombok.Data; import java.util.List; @Data @Builder public class SeasonsVO { private List<String> seasons; }
12.769231
34
0.746988
63c2fe3de2f26e35dd945795044b8e10e3d0e945
3,710
package pl.stqa.pft.addressbook.tests; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import pl.stqa.pft.addressbook.model.ContactData; import pl.stqa.pft.addressbook.model.Contacts; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest....
55.373134
91
0.666038
8529ea8dcddeaffe25dde52209185958aa3b3d6a
6,876
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 mu...
40.447059
117
0.566463
247437c6d6c4c472d8ae006ebabacfc82d8b403c
1,536
package frc.robot.commands; import edu.wpi.first.math.filter.Debouncer; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.Constants; import frc.robot.subsystems.IntakeFourBar; public class IntakeExtendToLimit extends CommandBase { private final IntakeFourBar intake; private double currentLimit =...
30.72
88
0.759766
b7f8b404afa9b4cb9aff31d49fb224b917cf9401
1,258
package com.haulmont.sampler.web.ui.components.fieldgroup.simple; import com.haulmont.cuba.core.global.Metadata; import com.haulmont.cuba.gui.components.AbstractFrame; import com.haulmont.cuba.gui.data.Datasource; import com.haulmont.sampler.entity.Order; import javax.inject.Inject; import java.util.Map; public clas...
34
87
0.644674
55988b0871dde379aaefa1d3194b062da1ae49e0
12,422
package com.bebopze.jdk.patterndesign; import static com.bebopze.jdk.patterndesign.State.*; /** * 16. 状态模式 ---> 状态机 的一种 * * @author bebopze * @date 2020/8/12 */ public class _16_State { // 核心: 状态机 // 状态模式: // 状态机 的一种 实现方式 // 状态机 的实现: // 1、分支逻辑法 // 2、查表法 ...
23.003704
92
0.508614
3646b28e662fa4c6949f56dd5a899ac746f5453b
2,023
package com.zzx.humor.controller; import com.zzx.humor.result.R; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.jwt.Jwt; import org.springframework.security.jwt.JwtHelper; import org.springframework.security.oauth2.common.OAuth2AccessToken; import org.springframework...
24.670732
88
0.655462
e69cca9cb18b89d5dec0fd34512155f210367542
1,014
package io.github.biezhi.json.gson.model; import com.google.gson.annotations.SerializedName; import java.lang.management.ManagementFactory; public class Health { public enum Status { @SerializedName("1") UP, @SerializedName("0") DOWN } private String hostname; private String ip; ...
27.405405
77
0.573964
5239d4cc7b9f5ab82cc840f494e06364eb501c2c
8,807
/* * 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 not ...
39.671171
100
0.684456
7f6636a10f6c92667a5e13a86dd8fc6c3a857f67
5,228
/* * Copyright (c) 2017. Mathias Ciliberto, Francisco Javier Ordoñez Morales, * Hristijan Gjoreski, Daniel Roggen * * 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, ...
34.169935
128
0.671576
c759385f7e026d219a91b9d7610332764697a51c
427
package net.kno3.season.roverruckus.solus.program.teleop; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import net.kno3.opMode.DriverControlledProgram; import net.kno3.robot.Robot; import net.kno3.season.roverruckus.solus.robot.Solus; @TeleOp(name = "Solus Teleop") public class SolusTeleop extends DriverCon...
25.117647
58
0.770492
8e192739634f46272b7afb0ec4322dc88e9cf5e6
5,260
/* * 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 ...
39.253731
80
0.638213
c83f9a2bf1521f2145bb16b9c2a6c58a0940ab89
2,242
package net.sf.l2j.gameserver.scripting.quests; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.scripting.Quest; import net.sf.l2j.gameserver.scripting.QuestState; public class Q050_LanoscosS...
23.113402
97
0.694023
37e3fb3a1548d55f640dfe85e305cd3486740b80
609
package ch.uzh.feedbag.backend.repository; import ch.uzh.feedbag.backend.entity.EventTimeStamp; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; im...
35.823529
88
0.840722
f1976aac94a7822b03d4b72d25801547c26999e6
307
package com.fsryan.forsuredb.api; import org.junit.Before; import org.mockito.Mock; import org.mockito.MockitoAnnotations; public abstract class FinderTest { @Mock protected Resolver mockResolver; @Before public void setUpResolver() { MockitoAnnotations.initMocks(this); } }
18.058824
43
0.729642
b18308239ec72374e4a7cc8f4983beec76887442
323
package pl.joegreen.sergeants.framework.model; import lombok.Value; @Value public class ChatMessage { public enum ChatType { GAME, TEAM, UNKNOWN } ChatType roomType; String message; /** * Name of player sending the message. Can be null for server messages. */ String username;...
19
75
0.665635
9dc34ddf8fecd565d4bc87fd1e98490c6470b513
290
package edu.sabanciuniv.berry.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import edu.sabanciuniv.berry.domain.DBFile; @Repository public interface DBFileRepository extends JpaRepository<DBFile, String> { }
24.166667
73
0.841379
3deec57a7d3a86e456ad4643a37a692b67f165d9
3,899
package net.voxelindustry.brokkgui.internal; import net.voxelindustry.brokkgui.component.GuiNode; import net.voxelindustry.brokkgui.component.IGuiPopup; import net.voxelindustry.brokkgui.gui.IGuiSubWindow; import net.voxelindustry.brokkgui.gui.IGuiWindow; import net.voxelindustry.brokkgui.paint.RenderPass; import net....
28.05036
111
0.616825
dd1fcccf4546f45a5760bf3fc736b79afe48069c
3,669
/*- * ============LICENSE_START========================================== * ONAP Portal * =================================================================== * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. * =================================================================== * * Unless othe...
33.66055
77
0.690924
bca160f6e36651149972f5fe8bdd7e93495740d9
2,129
package com.admin.usermanagement.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.admin.usermanagement.bean.LoginBean; public class LoginDao { public static boolean validate(LoginBean loginBean) throws SQLException ...
25.963415
85
0.669798
7fefc0800cd868fcf96ac84ed6dfa29026180df0
3,550
/* * Copyright 2020, OpenTelemetry 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 applicable law or...
37.765957
100
0.749577
449e34a2caded13c23ec1410843bd6d4df8b1a3f
2,499
package projectplayground.core; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security...
41.65
107
0.665866
b57a2aed58107a6cd0ea0e657c4a1e0de7e32c70
1,921
package ru.job4j.comparable; import org.junit.Test; import java.util.Arrays; import java.util.List; import java.util.Set; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; public class SortUserTest { @Test public void whenListThenSortSet() { SortUser sortUser = new S...
36.942308
112
0.605934
cc3aa99da44883f3479e694fe5460a8ea34d248d
4,960
package com.codeyn.wechat.sdk.msg.utils; import java.lang.reflect.Field; import org.apache.commons.lang.StringUtils; import org.dom4j.Document; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.codeyn.wechat.sdk.base.model.WcBase; import co...
33.288591
91
0.540927
395ea421b4dd1eb5299792f10aec6339d386f747
14,090
/* * 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 ...
38.708791
145
0.662952
4236c867c79ae7e36933046ab7a161ef1642e02b
8,938
import java.util.*; import org.junit.Test; import static org.junit.Assert.*; // LC787: https://leetcode.com/problems/cheapest-flights-within-k-stops/ // // There are n cities connected by m flights. Each fight starts from city u and // arrives at v with a price w. Given all the cities and fights, together with // sta...
38.360515
83
0.440814
f29aafba261fa6410ce72ce8c8d883990de6bf18
1,044
/* * Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file * for details. All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE file. * * This file has been automatically generated. Please do not edit it manually. * To regenerate the...
26.769231
89
0.722222
cb20fb2ad890a7e03259ad782492e7d931105613
2,242
package uk.gov.hmcts.reform.iacaseapi.domain.handlers.presubmit; import static java.util.Objects.requireNonNull; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import uk.gov.hmcts.reform.iacaseapi.domain.DateProvider; import uk.gov.hmcts.reform.iacaseap...
43.115385
126
0.781891
dc81112ea751b92062830fba92be5d4529c1fc34
1,430
package com.rewedigital.composer.helper; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotSame; public final class ValueObjectAssertions { @SafeVarargs public static <T> void assert...
33.255814
90
0.704196
2157fa3e8aafa8f8452b27ecff7ae90404bdca9e
9,628
package velir.mock; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.AccessControlException; import javax.jcr.AccessDeniedException; import javax.jcr.Credentials; import javax.jcr.InvalidItemStateException; import javax.jcr.InvalidSerializedDataException; import...
32.972603
245
0.809929
94d8e8b04df93adc2557a9605d7829b5fbc8589e
1,063
package org.broadinstitute.dropseqrna.utils.editdistance; import org.testng.annotations.Test; import junit.framework.Assert; public class BarcodeWithCountTest { @SuppressWarnings("unlikely-arg-type") @Test public void testBarcodeWithCountTest() { BarcodeWithCount b1 = new BarcodeWithCount("AAAA", 5); Barcode...
26.575
78
0.738476
c7e59cbb5523a7a5a8dfd68da813db9b69fdff7c
8,978
/* */ package edu.drexel.cis.dragon.ml.seqmodel.feature; /* */ /* */ import edu.drexel.cis.dragon.ml.seqmodel.data.DataSequence; /* */ import edu.drexel.cis.dragon.ml.seqmodel.data.Dataset; /* */ import edu.drexel.cis.dragon.ml.seqmodel.model.ModelGraph; /* */ import java.io.BufferedReader...
37.253112
128
0.523168
cc469ad29a6c1950100617fd8f0d08727b9b4099
503
package com.sleepy.jpql; import lombok.Data; import java.util.List; /** * jpql返回结果类 * * @author gehoubao * @create 2020-02-27 23:34 **/ @Data public class JpqlResultSet<T> { private List<T> resultList; private T result; private long total; public JpqlResultSet(List<T> resultList, long total) { ...
16.766667
58
0.632207
8fd689b459a0ccf1178ee5266ca45668b1c3969e
885
package com.dianwoda.test.bassy.common.domain.dto.testcase; import lombok.Data; import java.util.Date; /** * @author zcp * @date 2019/5/28 17:34 */ @Data public class ImportCaseInfoDTO { /** * 用例id */ private Integer id; /** * 所属产品 */ private String product; /** * 所属...
11.959459
59
0.490395
cc2646f1d028d83cd12907666c95c3273c6ebc71
147
package no.nels.tsd; public final class TsdException extends Exception{ public TsdException(String message) { super(message); } }
18.375
50
0.70068