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
90ababb6f344cf4dde4e22d3bbb2b6d8e417111a
7,381
package com.cyl.musiclake.utils; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.renderscript.Allocat...
32.804444
131
0.58068
6839283934038cc49309cd03f93af6466c6136f4
1,935
package com.writer1.service.impl; import com.writer1.bean.Msg; import com.writer1.entity.Messages; import com.writer1.mapper.MessagesMapper; import com.writer1.service.MessagesService; import com.writer1.utils.ToJson; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype....
29.318182
71
0.641344
851f5fbf86976e1f7cef12483b784efb480ea065
2,841
package org.bdawg.abode.helpers; import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; import static org.bdawg.abode.internal.AbodeConstants.*; public abstract class AbodeHelpers { private static final Gson gson = new Gson(); public static String getPanelModeUrl(String area, String ...
34.646341
116
0.629356
9c5f4b3eb000a902fc1f77a4e6369d0404577f0e
4,976
package net.shoppingcart.project; import android.annotation.SuppressLint; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import android.widget.ListView; import android.widget.TextView; import a...
33.173333
133
0.653939
811f3b6a03181abc23743e48a3b46841c4ebf78f
2,965
/* Proj: Moose File: AutoCompleteDocument.java Desc: Service class for auto tagging Copyright Samuel Sjoberg Copyright Pat Ripley 2018 */ // package package moose.utilities.viewUtils; // imports import javax.swing.text.*; /** * A {@link Document} performing auto completion on the inserted tex...
28.786408
79
0.624283
b45224e0ce2ad7a27829c1960f34856edf68b181
836
package edu.global.sgs.api.repository; import edu.global.sgs.api.domain.Course; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import org.springframework.security.access.prepost.PreAuthorize; @PreAuthorize("hasRole('ROLE_ADMIN')") public...
32.153846
91
0.742823
4c52a5a5323fee633f3bd8abb2b36c3d6c7fc6fc
927
package org.spincast.plugins.request; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.spincast.core.exchange.DefaultRequestContext; import org.spincast.core.routing.Handler; import org.spincast.plugins.httpclient.HttpResponse; import org.spincast.shaded.org.apache.http.HttpStatus; impor...
28.96875
74
0.699029
876f795369ca0f0a9bbf63ec335af9cd3a6a906a
1,342
package com.buttercms.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.Objects; import java.util.StringJoiner; @JsonIgnoreProperties(ignoreUnknown = true) public class Page<T> { private String slug; private String pageType; private T fields; public String getSlug...
22.366667
76
0.578987
94cc149b731a867207d335f661b445431f18f2ba
3,617
package de.core23.dicewars.controller; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.JFrame; import javax.swing.J...
32.881818
138
0.736798
f1a3e9181e7881be82c5c0b6acc09b5db07bacbe
520
package spark; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import java.io.IOException; public class FilterChainStub implements FilterChain { private boolean called = false; @Override public void doFilt...
24.761905
127
0.761538
9d0c8d5b956bd86107fb53acd48117f916ec0a5e
4,031
/* * 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")...
38.028302
110
0.692632
0863ce3d64398c6313f398f03be344a12fc9748c
596
//Rastgele 2 sayı üretip, 2 sayıda klavyeden girilen sayıları toplama import java.util.Scanner; public class HelloWorld { public static void main(String[] args) { Scanner tara = new Scanner(System.in); int toplam=0,sy3=0,sy4=0; int sy1=(int)(Math.random()*(10-1)+1); int sy2=(int)(Math.random()*(10-1)+1); System.out.p...
29.8
69
0.697987
caf4f8ed47aa9346426f0816800c62325851440c
1,480
package com.orangeflower.launcher; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.geometry.Rectangle2D; import javafx.scene.PerspectiveCamera; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import ...
30.833333
111
0.703378
43a932246ab1127b29c0fa2547287e7758a5134e
709
package pl.makary.service; import pl.makary.entity.User; import pl.makary.exception.ValidationException; import pl.makary.model.user.*; public interface UserService { User findByUserName(String name); void saveNewUser(CreateUserRequest createUserRequest) throws ValidationException; void delete(User us...
32.227273
107
0.826516
f258f35a2a46f2c211001e5fd5a0cd737bd5a6ef
3,039
package com.github.dev.objectnotation.html; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; /** * HTML element. */ final class Element { private String name; private String text; private final Map<String...
17.77193
77
0.611056
fa1ff50d4a4d76335019e109d009b0eadc4b9bd5
221
package disambiguation_of_functional_expressions.existing_issues.modified_code; interface Swimmer { // test METHOD IS MODIFIED boolean test(int lap); // String lap changed to int lap }
44.2
79
0.687783
986dacff01ee89ba0baa502f1ebebca93b5f32e1
1,653
/* * 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 ...
31.188679
91
0.690865
194a0db6d2edd7be1fe5358a154ef9041470759c
1,231
package com.github.vaibhavsinha.kong.model.admin.api; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.util.List; /** * Created by vaibhav on 13/06/17. */ @Data public class Api { @SerializedName("created_at") private Long createdAt; @SerializedName("hosts") private Object h...
20.516667
55
0.777417
4b4ce7ac9c73ab2b7c6dac5300d0fa076056ba98
1,472
package org.jfree.chart.axis; import java.util.Date; import java.util.TimeZone; import java.util.Calendar; import java.io.Serializable; /** * Classe criada a partir da refabricação de God Class na classe org.jfree.chart.axis.DateTickUnit. * * @author Bárbara */ public class DateTickUnitProduct implements Seriali...
22.30303
99
0.69837
89f73e29d87b508193fb6769f511549b133696a1
2,794
/* * Copyright 2016 Igor Maznitsa. * * 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...
26.609524
130
0.711525
d53d4a0a26c6b7c2bc6173066cf593b59b790f0b
4,358
/* * * @author Wasilewski Piotr S17918 * */ package zad1; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client....
28.671053
138
0.571592
c3f1f39a0c0f873c82970ddf41b9981f070442e4
2,616
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.thingsboard.server.dao.parcel; import com.google.common.util.concurrent.ListenableFuture; import java.util.List; import ja...
39.636364
146
0.812309
45e5526dafa1de5e36d1a09cb44faa1b8fb125f0
939
package com.jinhaoxun.dubbo.module.user; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.jinhaoxun.dubbo.mapper.user.UserRoleMapper; import com.jinhaoxun.dubbo.user.service.UserRoleService; import com.jinhaoxun.dubbo.pojo.user.UserRole; import org.apache.dubbo.config.annotation.Service; ...
25.378378
107
0.761448
d664b8d5c5c6fb88b900f160fd6c2d7fb73d9910
17,237
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
43.309045
115
0.780182
d919c94d1f1531f162e772c67280177799de8c04
3,158
package org.javamaster.b2c.core.handler; import com.fasterxml.jackson.databind.ObjectMapper; import org.javamaster.b2c.core.enums.BizExceptionEnum; import org.javamaster.b2c.core.model.Result; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import...
48.584615
125
0.758391
2932e0c5fb1aefa36d4b5fd161c52cda1dac7993
4,857
/** * 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.244094
88
0.739757
29fe2417802be8c9f8f1bc467c2ae0d33927655a
764
package com.jaxer.nio; import org.junit.Test; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Pipe; /** * Created on 2020/7/12 11:45 * * @author jaxer */ public class TestPipe { @Test public void test01() throws IOException { Pipe pipe = Pipe.open(); Pipe...
21.828571
57
0.633508
394e0551fe41cfff6b3fcfa0056065a5f483f5b4
242
package hello; import java.util.List; import org.springframework.data.repository.Repository; public interface GreetingRepository extends Repository<Greeting, Long> { public List<Greeting> findAll(); public void save(Greeting tweet); }
20.166667
72
0.793388
f1e828cf63ac327f904b3af15c85a604cd46941c
2,836
package com.theastrologist.util; import com.theastrologist.domain.Degree; import com.theastrologist.domain.House; import com.theastrologist.domain.Sign; import org.joda.time.DateTimeZone; import java.util.TimeZone; public class CalcUtil { public static final DateTimeZone DATE_TIME_ZONE = DateTimeZone.forTimeZone...
35.898734
117
0.69323
2d94fcfefcd40281a28197bae5f12c242ad27176
743
package ru.kontur.vostok.hercules.curator.result; /** * @author Gregory Koshelev */ public class DeletionResult { private final Status status; private DeletionResult(Status status) { this.status = status; } public boolean isSuccess() { return status == Status.OK; } public S...
20.081081
89
0.641992
b1be3975da439a7b6999e09261999398ba1e6ed4
2,226
/* * Copyright (C) 2015-2019 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package api.web.gw2.mapping.v2.achievements.daily; import api.web.gw2.mapping.core.ImplementationSpecific; import api.we...
26.819277
98
0.609164
3e4417e4ea506ea4155f2ab97071c8b7fb79b4d4
474
package com.lzpeng.project.monitor.service; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; import javax.transaction.Transactional; /** * 请求日志 业务层 * @date: 2020-4-6 * @time: 1:57:...
21.545455
66
0.78903
3fae455077aa3b89d39a890af8e1cbd5c63baa5f
1,616
package com.mizhousoft.tencent.cdn; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.mizhousoft.cloudsdk.cdn.CDNProfile; import com.mizhousoft.cloudsdk.cdn.CDNSignService; /** * CDN签名服务 *...
23.764706
93
0.678218
6119f98c82eaf59ccb32dbdd9986487bfb03d10a
7,977
/* * Copyright (C) 2015 The Android Open Source 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 app...
38.536232
96
0.626802
a2a2d0edab79ed810ca3beb02363b63bf86d80e6
751
package hudson.plugins.jsgames; import junit.framework.TestCase; public class JsGamesRootActionTest extends TestCase { private JsGamesRootAction action; public void setUp() { action = new JsGamesRootAction(); } public void testGetDisplayNameShouldReturnExpectedValue() { assertEquals...
25.896552
75
0.711052
db8d54a3b702e9df88713c0afe122bea4029817d
2,715
/* * (C) Copyright 2019 Nuxeo SA (http://nuxeo.com/) and others. * * 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 require...
33.109756
99
0.717864
d018243a2dee6ad00a3d9db35004c7eba0bebc13
4,870
package com.ttnn.business.wm.controller; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.s...
28.479532
93
0.688912
605396738f56a68fbfa4459e1ef456863484b70b
13,835
/* * Copyright (c) 2018. Paulino Padial * * 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, pub...
36.503958
119
0.670184
5532ab26dd2f1d3ca5152a0a5e5f54d654986c53
543
import java.util.Scanner; public class index { public static void main(String[] args) throws Exception { long tempoInicial = System.currentTimeMillis(); int numDisco = 0; Scanner scan = new Scanner(System.in); System.out.println("Digite o número de discos: "); numDisco = scan.nextInt(); ...
23.608696
122
0.683241
25ca3d56e3c63154d8696d9c543fd9fe5c4dc5c0
5,284
package com.octopus.teamcity.opentelemetry.server; import io.opentelemetry.api.GlobalOpenTelemetry; import io.opentelemetry.api.OpenTelemetry; import io.opentelemetry.api.trace.Span; import io.opentelemetry.api.trace.Tracer; import jetbrains.buildServer.serverSide.BuildPromotion; import jetbrains.buildServer.serverSid...
38.014388
205
0.708176
3cf5ac5013c8ebcce97cae125f91a58f6c9c7d14
729
import listen.Liste; import listen.stapel.Stapel; import listen.stapel.StapelSchnittstelle; /** * 22.06.2017<br> * TestStapel.java<br> * Testklasse f&uumlr StapelD-Objekte */ public class TestStapel { public static void main(String[] args) { //StapelD wird ueber die Schnittstelle erzeugt zur Einschraenkung der ...
23.516129
88
0.694102
be610f13f5b38716ba6754e012aa12029552ca68
1,531
package com.hibo.cms.version.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.anno...
26.396552
79
0.747224
a82757bf2d03f7c54a1a79a17f0cdbad49e8f2f7
966
package com.atguigu.gmall.pms.service.impl; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.java.core.bean.PageVo; impor...
34.5
120
0.767081
cf7a5d61c36bb7eac2040e61255c2ebf8d5ac1cf
1,041
/* * Copyright (C) 2004-2019, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.sdk.model.executeafm; import com.fasterxml.jackson.annotation.JsonSubTypes; impor...
34.7
116
0.73487
ac1d9bbdd1150598062590e1eff9d7a5a24ffd9f
1,588
package org.bf2.cos.fleetshard.sync; import java.time.Duration; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import org.quartz.Job; import org.quartz.JobBuilder; import org.quartz.JobDetail; import org.quartz.JobKey; import org.quartz.SchedulerException; import org.quartz.SimpleSche...
29.962264
112
0.676322
0927564854fece26d846205472f2b8e392bae791
5,603
/* * Copyright 2015-2017 Alexandr Evstigneev * * 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...
40.021429
131
0.700161
ac50822c7e2975bf1b5bdd02dfb1de5d417bdf29
5,543
/* * 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 ...
28.869792
100
0.714775
a959d2d2f93f7d24bf817717324f89331b406431
4,570
package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu....
46.632653
116
0.768928
4123f79194c4939d340b8a4aec625a24ddbe5764
573
public class Fibonacci { public static void main(String[] args) { if (args.length < 1) { System.out.println("Usage: \"java Fibonacci <term no to iterate to, with 0 as the first term number>"); System.exit(1); } int n = Integer.parseInt(args[0]); int first = ...
26.045455
115
0.481675
7aa27b58cae9d724de864d34e12dd9f3ac38bfa5
1,250
package com.mathieucalba.yana.ui.widgets; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.support.v4.view.GestureDetectorCompat; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.MotionEvent; import android.webkit.Web...
26.595745
100
0.7928
e51584fc88c932351c2a3ae7a183200ed9d074c8
154
package com.megvii.annotationlibrary; /** * Created by lwh on 2018/3/29. */ public interface ViewInjector<T> { void inject(T t, Object source); }
15.4
37
0.688312
a70019093e0243b28a8cafa0a73a79f9f09604ec
1,236
package com.amazonaws.lab; import java.util.ArrayList; public class Entity { public String id; public String beginOffset; public String endOffset; public String score; public String text; public String category; private String type; public ArrayList<Trait> traits; public String getId() { return id; } pu...
18.727273
49
0.710356
8ceef28a3ef21a7f4deaca1641b84aec684a122a
2,839
package jp.avasys.sample.locationsample; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.location.GpsSatellite; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.w...
38.890411
131
0.672068
791d7581fc53719c1678fb8927b62cd2dc2c3b89
1,440
package wmi; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.google.gson.Gson; public class search { String channelDetails = null; channel ch = new channel(); String name; search(String name) throws SQLException...
27.692308
134
0.654167
f67c9b92749a207b03110945a36a57ead83f4953
1,498
package com.dmonsters.render; import javax.annotation.Nonnull; import org.lwjgl.opengl.GL11; import com.dmonsters.entity.EntityClimber; import com.dmonsters.entity.EntityFreezer; import com.dmonsters.main.MainMod; import com.dmonsters.models.ModelClimber; import net.minecraft.client.model.ModelZombie; i...
30.571429
112
0.734312
4df62507d4c757123190b058846b2631a19c6a61
7,891
/* Copyright (C) 2001, 2010 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. */ package gov.nasa.worldwindow.features.swinglayermanager; import gov.nasa.worldwind.layers.*; import gov.nasa.worldwindow.core.*; import gov.nasa.worldw...
30.945098
120
0.609682
be697a2e4dd6fc2eecf0649cf8fa5424eb4b5442
2,459
/* * Copyright (C), 2013-2013, 上海汽车集团股份有限公司 * FileName: SignatureUtil.java * Author: pengyao * Date: 2014年5月7日 下午3:17:35 * Description: //模块目的、功能描述 * History: //修改记录 * <author> <time> <version> <desc> * 修改人姓名 修改时间 版本号 描述 */ package com.liuyu.comm...
33.22973
161
0.588044
bc7f8ec770693793962ba0a711cdcc7f41d2e5fb
1,068
/* * Copyright 2017 Huawei Technologies Co., Ltd * * 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...
33.375
75
0.771536
799846d0e9fc0de856378fd5927edac4ba9e40b7
1,541
package Comun; import Negocio.*; import java.util.*; public class transferirEvento extends EventObject { private Vector listausuario = null; private String mensajechat = "", mensajeerror; private clsDiagrama objds = null; private Object figura = null; private clsTabla objtabla; privat...
18.566265
54
0.66061
57824a3bb470d5bae3aaeb5191582c1100582318
136
package p; public class A { private static String NAME = "N"; private static String getNAME() { return NAME; } }
12.363636
37
0.588235
a20a77021e6aa0889f6e2b5e10cdf3c4b1185287
25,713
/* ***************************************************************************** * * <rrl> * ========================================================================= * LEGEND * * Use, duplication, or disclosure by the Government is as set forth in the * Rights in technical data ...
31.981343
80
0.744409
581627a83f67daa7251189830c6c34980e2b7b7e
3,232
/* * Copyright (c) 2003-2021 Lucas Holt * 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 cond...
29.925926
83
0.693069
1fd46ab58c16006febd581b5907fdeef5fd21aab
1,972
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 0; i < n; i++) { int k = sc.nextInt(); int[] input = new int[k]; for ...
24.962025
67
0.411765
1496162a67d4011d92a9aa21023506aa6eccb150
1,151
package com.payxpert.connect2pay.constants; /** * Values for payment status. * * @author jsh * */ public enum PaymentStatusValue { AUTHORIZED("Authorized"), NOT_AUTHORIZED("Not authorized"), EXPIRED("Expired"), CALL_FAILED( "Call failed"), NOT_PROCESSED("Not processed"), PENDING("Pending"), UNDEFINED(""...
23.489796
94
0.654214
d3de5c689d2826a434cb819536bc581c31db34a1
1,556
package com.abin.lee.canal.svr.common.search; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import org.apache.commons.lang3.RandomUtils; import java.util.List; import java.util.Map; /** * Created by abin on 2018/1/25 18:36. * elasticsearch-svr * com.abin.lee.elasticsearch.svr.api....
29.358491
92
0.66838
77cb5932d9291857c4a4b9b003c66c941efa6590
1,259
package com.vhl.cli.picocli.options; import java.io.File; import java.nio.file.Files; import java.security.MessageDigest; import java.util.concurrent.Callable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import picocli.CommandLine.Command; import picocli.CommandLine.Option; import picocli.CommandLine.Pa...
27.977778
84
0.70691
24ddef5e4f97ee505d9538381e4d3673a21b4ad6
115
package resumeonline.jfx.core.ui.listener; public interface LostFocusChange extends FocusChangeAction { }
16.428571
42
0.782609
1a6aa955d6d5b456284c361e441bc9da22d91bd9
4,882
/* * Copyright 2000-2009 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...
38.440945
134
0.677386
049fa53807d43661a28c72d1536f39339d38d3b7
663
package FactoryAndData.B2C; import org.testng.annotations.DataProvider; import org.testng.annotations.Factory; import CommonFunction.Common; import TestData.PropsUtils; import TestScript.B2C.NA25597Test; public class NA25597 { @DataProvider(name = "25597") public static Object[][] Data25597() { return Common.ge...
18.942857
49
0.680241
8e6519deb7769d9e52a46c30388f8a990f11bdde
6,132
package ve.com.abicelis.prizewheelview; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.view.View; import android...
37.851852
157
0.660633
6314cf09a9c56c194c4bc622d4a1ff1042ea394b
753
package io.renren.modules.sys.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.renren.modules.sys.dao.SysLoginDao; import io.renren.modules.sys.entity.HsdLoginRecord; import io.renren.modules.sys.service.SysLoginService; import org.springframework.beans.factory.annotation.Aut...
31.375
111
0.782205
2a554260878deb379b2a2f22d40d60ef4f484776
2,904
package com.rosendal.elevkarrosendal.fragments.schedule; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.Rect; import android.graphics.Re...
37.714286
169
0.660813
e1c45ee3aab26219ce0468c76f7509b2259ffaa3
2,829
/* * Copyright 2015 JBoss 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 ...
42.863636
98
0.603393
a9102ee82cd16c8cf7aec60dc40307cc063e2762
534
package chain; /** * Created by zhengwenzhan on 2019-03-08 */ public class OrcSoldier extends RequestHandler { public OrcSoldier(RequestHandler next) { super(next); } @Override public void handleRequest(Request req) { if (req.getRequestType().equals(RequestType.COLLECT_TAX)) { ...
19.777778
67
0.59176
f876ceae11fe21ce90844640b88367216868b972
1,087
/* * FRC 4931 (http://www.evilletech.com) * * Open source software. Licensed under the FIRST BSD license file in the * root directory of this project's Git repository. */ package org.frc4931.robot.component; import org.frc4931.utils.Operations; /** * motor with a position * @author Nathan Brown */ public int...
25.27907
83
0.651334
f75480812148698f91592411b849261cb705cce6
467,440
/** * Source code generated by uk.ac.leeds.ccg.andyt.generic.data.us.process.US_JavaCodeGenerator */ package uk.ac.leeds.ccg.data.us.data.indresp; public class US_Wave24_indresp_Record extends US_indresp_Record { protected byte ADCTS; protected byte AEDROF1; protected byte AEDROF2; protected byte AEDROF3; protected b...
17.015762
94
0.710036
6dc8749ec6639290bf55d7ac9ca5990f7c2556d0
10,617
package hs.jfx.eventstream.api; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; import java.util.function.Supplier; import javafx.beans.binding.Binding; import javafx.beans.value.ObservableValue; /** * A sequence of values with a notion of a current value...
45.961039
133
0.681266
963b9091f2494f388ee34ead92e765739fb16cf3
1,667
package JavaCode.introduction_to_data_structure_binary_search_tree.basic_operations_in_a_bs; import JavaCode.introduction_to_data_structure_binary_search_tree.TreeNode; /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int...
20.8375
129
0.465507
68c8a56b4df1924ba03cdd40ec0aa59c0c7d91b1
4,246
package entities; import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMa...
28.884354
117
0.585021
613bd1e05ef7b21a71bee0fcc692e90f8df1d332
14,219
package io.vertx.ext.web.api.contract.openapi3.impl; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.Operation; import io.swagger.v3.oas.models.PathItem; import io.swagger.v3.oas.models.parameters.Parameter; import io.swagger.v3.oas.models.responses.ApiResponse; import io.vertx.core.Handler; i...
38.956164
194
0.713271
b09d1c6d179296cb631668d187af41b857c049ec
4,887
package com.ruoyi.project.system.yjhsXmgzl.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.web.domain.BaseEntity; import com.ruoyi.project.system.dept.domain.Dept; import com.ruoyi.project.system.hisMz.domain.His...
18.03321
72
0.589319
5735f78abe8bccb5c07f52420f685b4dcfea92ac
555
package io.datakitchen.ide.model; public class Assignment { private String file; private String variable; public Assignment() { } public Assignment(String file, String variable) { this.file = file; this.variable = variable; } public String getFile() { return file;...
17.903226
53
0.603604
7564883ec69ea42d898f89d8ba7a8c717704a6a8
18,836
package org.jembi.bsis.controller; import java.sql.SQLException; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.UUID; import org.jembi.bsis.controllerservice.ReportsControllerService; import org.jembi.bsis.model.inventory.InventoryStatus; import org.jembi.bsis.model.reporting....
52.910112
254
0.780155
8d5e4e1b6dfc4bbe332e836c7af519dabd23e51c
217
package com.atguigu.gmall.oms.feign; import com.atguigu.gmall.oms.api.OmsService; import org.springframework.cloud.openfeign.FeignClient; @FeignClient("oms-server") public interface OmsClient extends OmsService { }
24.111111
55
0.815668
6339191ac3a5afc7d86bcd2c42fec9ce77a96dfe
6,110
package com.github.autobump.jgit.model; import com.github.autobump.core.model.domain.Bump; import com.github.autobump.core.model.domain.Workspace; import com.github.autobump.core.model.results.AutoBumpRebaseResult; import com.github.autobump.jgit.exception.GitException; import org.eclipse.jgit.api.Git; import org.ecli...
43.642857
112
0.736334
58ef06482e9dd57dad15ec1d9128e9219c7c40cd
168
package se.kth.castor.user; import se.kth.castor.types.Abs; public class AbsReturn0 { public Abs m(Abs var1) { return se.kth.castor.types.Helper.publicAbs(); } }
16.8
48
0.72619
760d57807ca1aef5c0de03f4b66f68f148fd2def
2,103
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package rainbowmain; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Rectang...
23.10989
88
0.511175
7927b50bba27d1c94c68a02e05fbc5e02a235d6e
1,965
package ru.szhernovoy.pool; import java.util.*; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; /** * Created by szhernovoy on 26.10.2016. */ public class ThreadPool { private final int KERNEL = Runtime.getRuntime().availableProcessors(); private final Deque<Runna...
26.554054
113
0.527226
82291bb3418ba6e458d46d22e2664a83e068d268
6,981
/* * Copyright (c) 2010-2013 Evolveum * * 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...
37.735135
125
0.696748
2890bd0dfb4d42b424e70043e9b872683978efd5
450
package glados.model.controller; import glados.model.dao.QuoteDAOInterface; import glados.model.entities.Quote; import glados.model.factory.QuoteFactory; public class QuoteController { private QuoteDAOInterface dao; private QuoteFactory factory; public Quote getQuote() { factory = new QuoteFactory(); dao = f...
23.684211
49
0.733333
af91f0b435c9daf52258dccd4763d522036c6934
528
public class cubo { public static void main(String[] args) { int matriz[][][] = new int[3][3][3]; int numero = 1; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { for (int k = 0; k < 3; k++) { matriz[i][j][k] = numero; ...
26.4
67
0.352273
e84347d20c4adec9fb84f4afdd6bfeeb12c3ed24
1,684
package everyos.browser.spec.javadom.imp; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import everyos.browser.spec.javadom.intf.DOMTokenList; import everyos.browser.spec.javadom.intf.Element; import everyos.browser.spec.jhtml.parser.ElementFactory; pub...
22.157895
59
0.686461
41dd653232b5f2574964830837bb5c16a8b16840
3,014
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.uniandes.csw.bicitours.resources; import co.edu.uniandes.csw.bicitours.dtos.BlogDTO; import co.edu.uniandes.csw...
32.06383
124
0.675182
27d8cfa60bfe41fce4ca04aaa2a82651e3e61de2
4,774
/* * This file is generated by jOOQ. */ package com.tokenplay.ue4.model.db.tables; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import com.tokenplay.ue4.model.db.DefaultSchema; import com.tokenplay.ue4.model.db.Indexes; import com.tokenplay.ue4.model.db.Keys; import com.token...
27.755814
148
0.670507
0f9c896db8eac464d86fe063856f96bda6a1014c
32,033
package chatmania.extra.sql; import chatmania.Server; import chatmania.extra.Util; import chatmania.extra.log.LogSQL; import chatmania.ircd.Config; import chatmania.ircd.services.chanserv.ChanServConfig; import chatmania.ircd.services.nickserv.NickServConfig; import java.sql.ResultSet; import java.sql.SQLEx...
25.853914
212
0.512721
27c2872b6abc23958af564ef7cc7e6893c658a84
1,546
package com.github.muratkaragozgil.netmera4j.model.api; import com.github.muratkaragozgil.netmera4j.util.Assert; import lombok.Getter; import lombok.ToString; import java.time.temporal.ChronoUnit; /** * @author Murat Karagözgil */ @Getter @ToString public class NetmeraRetryPolicy { private long delay; priv...
26.20339
76
0.637775
4653490310cf19eaa29271b506ca94128001dcbb
6,452
package com.yirendai.oss.lib.security.internal.preauth; import static com.yirendai.oss.lib.security.internal.preauth.PreAuthTokenFilter.ATTR_PRINCIPAL; import static com.yirendai.oss.lib.security.internal.preauth.PreAuthTokenFilter.ATTR_PRINCIPAL_TOKEN; import static lombok.AccessLevel.PROTECTED; import com.yirendai....
37.08046
109
0.780068
3d412964f125b0ae63f3c656f7b4fa8100b84e4d
3,232
package cn.chenhuamou.im.server.response; /** * Created by AMing on 15/12/24. * Company RongCloud */ public class GetRongGroupInfoResponse { /** * Value : {"GroupId":"string","GroupName":"string","GroupOwner":"string","IsOfficial":true,"GroupImage":"string","AddTime":"2018-04-19T09:13:59.350Z"} * Co...
22.601399
155
0.55198
069fec5ed98243291e1e05d0117552371c918a0a
4,753
/** */ package cloud_computing; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><b>Proveedor Servicio</b></em>', * and utility methods for working ...
22.106977
112
0.594361
18c936eee456bf09e4052308c7aa203b3aafd09d
10,392
// Copyright (c) 2006-2016, Universities Space Research Association (USRA). // 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 copyr...
45.578947
113
0.483353