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
1c26574ca4038aaaf37a7142b1e23811fb65eaf0
5,246
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2014 Dirk Beyer * 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...
37.471429
152
0.667556
93c7229c60b5d42cd88b3361315e619fcac748eb
1,730
/* Copyright (c) 2014 LinkedIn Corp. 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...
40.232558
162
0.776879
5fc78c736b55e40dbc536cf8dabdb1497ffd6fda
575
package com.doublechain.flowable.quicklink; //import com.doublechain.flowable.EntityNotFoundException; import com.doublechain.flowable.FlowableException; import com.doublechain.flowable.Message; import java.util.List; public class QuickLinkManagerException extends FlowableException { private static final long serial...
25
66
0.812174
30433530e86b6709f8d6c4c32bce9a5d91e9b1cf
2,626
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * CRRewardPointsTransactionRetrieveInputModelRewardPointsTrans...
40.4
194
0.839299
344abbbe7637aa79d37d875fe0a30a733d04a03c
28,756
package okble.demo.ui.device2; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import android.content.DialogInterface; import android...
37.836842
129
0.574871
1646c32e8e7dd5d7869e1b5bc0fa8509e401f8b7
487
package org.javers.core; import org.javers.repository.api.JaversRepository; /** * @author bartosz.walacik */ public enum CommitIdGenerator { /** * Generates neat sequence of commitId numbers. Based on {@link JaversRepository#getHeadId()}. * <br/> * Should not be used in distributed applications. ...
21.173913
98
0.665298
97913935bb5fc234b4ad1d559d9241f8dd5ba31c
813
package com.flnet.treasure.service; import com.flnet.treasure.domain.TTask; import java.util.List; /** * 任务 服务层 * * @author flnet * @date 2019-02-13 */ public interface ITTaskService { /** * 查询任务信息 * * @param taskId 任务ID * @return 任务信息 */ public TTask selectTTaskById(Long taskId); ...
14.781818
49
0.554736
d915d10e64279e0d42a91b50d043432535702b9e
580
package com.cefoler.configuration.core.exception.unchecked.unchecked.impl.data; import com.cefoler.configuration.core.exception.checked.data.DataException; import com.cefoler.configuration.core.exception.unchecked.unchecked.UncheckedException; public class UncheckedDataException extends UncheckedException { privat...
30.526316
87
0.813793
17df0f03900b75e09abc2a63520ea77fca3082c6
1,396
/******************************************************************************* * BBC News Reader * Released under the BSD License. See README or LICENSE. * Copyright (c) 2011, Digital Lizard (Oscar Key, Thomas Boby) * All rights reserved. **************************************************************************...
21.8125
97
0.608883
94b6365d9b1f744870120d9d36a16a2ad2e262d7
1,189
package org.study.jdbc; import java.sql.*; /** * Created by ArnoldLee on 2019/3/19. */ public class JdbcTest { public static void main(String[] args) throws SQLException { String url = System.getProperty("jdbc.drivers"); System.out.printf("\nurl:%s",url); Connection connection=null; ...
32.135135
166
0.615643
e74b662676ac5b84223165a2980793abe40574f2
1,782
package com.xracoon.teamcat.agent.debug; import org.apache.log4j.Level; import org.apache.log4j.PatternLayout; import org.junit.Test; import com.xracoon.teamcat.agent.config.TeamcatAppender; public class DebugDoraAppenderTestCase { @Test public void testDoraLog(){ org.apache.log4j.Logger logger=org.apache.log4j...
55.6875
982
0.786195
dd655f5cbbb81d80f853d7ebf73baef5efebba9b
1,390
package org.jiakesiws.minipika.framework.tools; /* * Creates on 2020/3/21. */ import org.jiakesiws.minipika.framework.tools.Lists; import lombok.SneakyThrows; import java.lang.reflect.Constructor; import java.util.List; /** * 类的静态工具类 * * @author lts * @email jiakesiws@gmail.com */ public class Classic { /...
22.063492
77
0.665468
fe4e94a651c2993142ba3fbb57816e6ac55d51cc
227
package decoratorpattern; public class DecoratorTester { public static void main(String[] args) { Source source = new Source(); Decorator decorator = new Decorator(source); decorator.method(); } }
16.214286
47
0.665198
11f7149ebcdaf46844bd757ac58f39a3a0ae170d
3,524
package info.bitrich.xchangestream.dydx.dto.v1; import static info.bitrich.xchangestream.dydx.dydxStreamingAdapters.dydxOrderBookChanges; import com.fasterxml.jackson.annotation.JsonProperty; import info.bitrich.xchangestream.dydx.dto.dydxWebSocketTransaction; import java.math.BigDecimal; import java.util.Arrays; imp...
30.37931
92
0.603008
d41421089a20bef7342deb2d847c2b03c592666b
5,371
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.adminservices.configuration.registration; /** * ServerTypeClassification manages a list of different server types. */ public enum ServerTypeClassification { OMAG_SERVER("Open Metadata...
46.704348
127
0.635263
0d83c7bbe3df74245a149a2b6091f76b85a6dc2a
5,884
package de.tu_darmstadt.gdi1.pacman.ui; import java.awt.Point; import java.util.HashMap; import eea.engine.component.render.ImageRenderComponent; import eea.engine.entity.Entity; import eea.engine.entity.StateBasedEntityManager; import org.newdawn.slick.Image; import org.newdawn.slick.SlickException; impo...
27.495327
97
0.635962
9ec2548f48455356afc9e8ac6afdd2d40c71e1a3
4,660
package com.letv.pp.utils; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.app.Service; import android.content.ComponentName; import android.content.Context; import android.content.pm.PackageInfo; import android.os.Process; import android.text.TextUtils; imp...
36.692913
144
0.601073
bb6371ec85231d15e08d921e02d0c77f065d0c34
2,891
package fr.slever.p2c.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import org.junit.Test; import...
28.623762
75
0.735732
5e0bd8921647dac7b0d62397fc47e1cd01dbfe14
720
package com.grpc.payment; import io.grpc.Server; import io.grpc.ServerBuilder; import java.io.IOException; public class PaymentServer { // start the gRPC server to listen for incoming requests public static void main(String[] args) throws IOException, InterruptedException { log.info("Starting grpc server on ...
31.304348
83
0.698611
76d5d6aed37fc2f588c30896c704f929a7cd26c6
6,129
package com.tz.sdk.weixin; import java.util.Map; import java.util.UUID; import net.sf.json.JSONObject; import java.util.HashMap; import java.util.Formatter; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.io.UnsupportedEncodingException; public class Sign { /* publ...
36.482143
134
0.622124
f1d008594f46bb7bd8c5cf731bf00e1b9ca25f3b
9,376
/* Copyright 2012-2013, Polyvi Inc. (http://polyvi.github.io/openxface) This program is distributed under the terms of the GNU General Public License. This file is part of xFace. xFace is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
35.24812
98
0.633532
87b8109f13834b254e612d6fc268f4cad5928d6b
773
package com.liquidlabs.transport.proxy.clientHandlers; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * In event of error it kills the proxyClient by calling stop() and prevents any further msgs be...
35.136364
106
0.794308
99b3f7fb55b940a3412fa41a0b431ae41bbbfbec
2,070
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; /** * Example OpMode for driving 2 motors using tank drive * * This program assumes we have two DC motors (AndyMark N...
36.315789
96
0.676812
16a2466a229b0387c809c25c8953101a7bef8590
7,639
package info.histei.extensions; import info.histei.utils.OxygenUtils; import org.apache.commons.lang3.StringUtils; import org.apache.log4j.Logger; import org.xml.sax.EntityResolver; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import ro.sync.ecss.extensions.api.AuthorAccess; import ro.sync.ecss.extens...
35.202765
100
0.613824
1edd2217110b79c707e0bcbc84b5e022ed731ed1
1,215
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class Main { //BOJ1110 static int cnt = 0; public static void main(String[] agrs) throws IOException{ BufferedReader br = new BufferedReader(new In...
23.365385
92
0.555556
2393664a9e46d6d435c49699a8e225e2bab2f15c
7,189
package com.lambdaschool.oktafoundation.services; import com.lambdaschool.oktafoundation.exceptions.ResourceNotFoundException; import com.lambdaschool.oktafoundation.models.*; import com.lambdaschool.oktafoundation.repository.*; import com.lambdaschool.oktafoundation.views.ClubsCheckInOutSummary; import org.springfram...
32.529412
141
0.587982
879660bbc3b02a06420ccc4b0c2fcde59e1c81aa
1,926
package br.com.zup.orange.Proposta.TratamentoErros; import java.util.ArrayList; import java.util.List; import org.springframework.context.MessageSource; import org.springframework.context.i18n.LocaleContextHolder; import org.springframework.validation.FieldError; import org.springframework.validation.ObjectError; pu...
30.09375
123
0.720665
7fd0695e7171330276b51752926cb163018a18c6
1,698
/* * This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file * at the root of this project for more details. */ package io.github.nucleuspowered.nucleus.modules.message.services.target; import io.github.nucleuspowered.nucleus.api.module.message.target.MessageTarget; import io.gi...
30.872727
108
0.751472
e12d3db21729c15451d77669e1fb8a0f2f19c854
44,781
/* * Copyright (c) 2017, 2019, Oracle and/or its affiliates. * Copyright (c) 2014, Regents of the University of California * * 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. Redistr...
50.259259
154
0.667716
8ddffca96d5250c27b192afc951dca704bfe0a82
527
package programers.level2; import java.util.ArrayList; import java.util.List; public class Fibonacci { public static void main(String[] args) { Solution14 solution = new Solution14(); int num =31; System.out.println(solution.solution(num)); } } class Solution14 { public long solut...
21.08
59
0.567362
8b8672c31da7a6d36d6907c5929f84624b60f134
129
package by.maksim.protasevich.stack.v1.candidate; public enum Skill { ALGORITHMS, DATA_STRUCTURES, MULTITHREADING }
16.125
49
0.744186
41c38d50ae6e03b300de8d887e694d6b40832962
785
package pawai.patne.util; import android.content.Context; import android.os.Environment; import java.io.File; public class IOUtil { /** * 指定されたディレクトリへのファイルオブジェクトを取得する * * @param directory ディレクトリ * @return File オブジェクト */ public static File getExternalStorageFile(String directory, Context context) { ...
23.088235
86
0.694268
e11b9a0290911964f25c52937f31b2c953ed31b4
249
package com.osahft.api.exception; import com.osahft.api.model.ErrorResponse; public class RateLimitInterceptorException extends OSAHFTApiException { public RateLimitInterceptorException(ErrorResponse message) { super(message); } }
24.9
71
0.787149
221e01e762eb876ca362829c9e760d6f24651034
386
package br.com.java.project.error; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** HttpsStatus.BAD_REQUEST * @author T3008LZG * */ @ResponseStatus(HttpStatus.BAD_REQUEST) public class ResourceBadRequestException extends RuntimeException { public Reso...
21.444444
67
0.805699
ff229321c98b39015c0cae15bfef914071e2ea58
4,086
package com.yhcoo.upms.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.yhcoo.upms.mapper.SysResourceMapper; import com.yhcoo.upms.model....
38.54717
120
0.707048
562ab1d5db1d6fcaf1060adb85ea464e3b600bcc
2,083
package com.example.administrator.magemata.activity.more; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.AlertDialog; import android.view.View; import android.widget.ImageView; import android.widget.LinearL...
33.596774
136
0.699472
d22b4edffa4e715e05c10de8f4ac2368b830ddaf
546
package com.geek.click.game; import com.geek.click.game.ui.Screen; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
19.5
56
0.694139
2c31bdd131edbe12922bd5c0482ab8e5ea62bedb
2,477
package com.github.teocci.socket.test; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.input.KeyCombination; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.BorderPane;...
23.817308
75
0.661284
1e820a72a3aab4281286d6993479b7d1ed47ec64
9,331
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
51.838889
135
0.653735
e66d0fa5479bafeac6d2ca2a9f0e806b79210574
1,788
package com.appsmata.qtoa.adapters; import android.content.Context; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.bumptech.glide.Glide; impo...
29.311475
110
0.722036
c92aea0912fdf97a7d266c96e022356146dc1be0
1,759
package site.dunhanson.redisson.spring.boot.config; import lombok.Data; import org.redisson.config.ReadMode; import org.redisson.config.SubscriptionMode; import org.redisson.connection.balancer.LoadBalancer; import org.springframework.boot.context.properties.ConfigurationProperties; /** * 哨兵模式配置 * 2020-12-19 * @au...
25.128571
75
0.698124
dbade30be99919453922e1ab4ea6485339fa88ae
14,423
/* * KeyToolUtils.java * * Created on 17. September 2006, 20:36 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.huber.keytool.model; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.secu...
42.671598
199
0.55779
7cc90d29b25b1b1894561beb61d6315327262bd3
5,868
import java.io.BufferedInputStream; import java.io.InputStream; import java.io.StringWriter; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.tika.exception.TikaException; import...
33.340909
125
0.682345
e28c33c29546a74a0cbb59157bcf221e512b7d93
3,190
package contest.ccc; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; import java.util.Stack; import...
27.033898
98
0.567085
0b30ac80f68306f6e074c8713ec90d1cf2da3b6d
3,356
/* * Adito * * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved * * This program 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 of * the License, or (at your option) an...
35.326316
186
0.63528
46af2aaaa63447a557cf1516ddae57f281cddf0c
104
package org.visallo.core.model.user.cli.args; public class DeleteUserArgs extends FindUserArgs { }
20.8
51
0.778846
d2ea1e0bb530d7806fff786a5e70b0b279671757
1,128
package io.smallrye.context.test; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.context.RequestScoped; import javax.enterprise.inject.Disposes; import javax.enterprise.inject.Produces; import javax.persistence.EntityManager; import javax.persistence.E...
26.232558
70
0.745567
1462cb20f2e76740d6eef2cc863eaebb7926bb6c
507
package wrapper; public class FloatTest { public static void main(String[] args) { //FloatTest t = new FloatTest(); //t.floatToRawIntBits(); //t.intBitsToFloat(); Float f = 1.445f; //System.out.println(f); } public void floatToRawIntBits() { // ...
22.043478
70
0.587771
3b5ee7470efaa6f2ca9fd9532a2dae99efb2016f
5,306
package no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.sql; import static org.assertj.core.api.Assertions.assertThat; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.util.concurrent.ThreadLocalRandom; import org.hsqldb....
38.729927
120
0.6536
83fe7013c4ce5ca7cb685283c6092e477113ba03
253
package de.psm.data.api; import java.util.concurrent.TimeUnit; abstract class AbstractBaseTest { void slowDown(boolean beNice) throws InterruptedException { if(beNice) { TimeUnit.SECONDS.sleep(1); } } }
16.866667
61
0.632411
7af84d07462bc24c1c29066a22e7f33c1ab5cd1b
1,183
package com.js_ku.zentao; import com.intellij.openapi.actionSystem.ActionManager; import com.intellij.openapi.components.ApplicationComponent; import com.js_ku.zentao.api.ZenTaoApi; import org.jetbrains.annotations.NotNull; public class IdeaZenTao implements ApplicationComponent { @NotNull @Override pub...
20.050847
94
0.671175
0e22b1abcf42aafdd092a2a2d9aa1cef8dca4e62
84
package io.github.ibuildthecloud.gdapi.model; public interface ApiStandardType { }
16.8
45
0.821429
222d9c9ca7a69f612427f2318053608491f575c8
622
package com.example.superheroes.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties("app") public class AppProperties { private String clientUrl; private String jwtSecret; public String g...
21.448276
75
0.713826
21e2a937dad929e3b14bd8464e9c02bbe549795a
480
package cz.cuni.mff.d3s.jdeeco.edl; public class PrimitiveTypes { public static final String INT = "int"; public static final String STRING = "string"; public static final String BOOL = "bool"; public static final String FLOAT = "double"; public static final String UNKNOWN = "unknown"; public static boolean is...
28.235294
57
0.722917
6cfffe6ae2e840e855d9d8a51b8fc6a0e1900dbe
11,368
/** * Copyright (C) 2002-2015 The FreeCol Team * * This file is part of FreeCol. * * FreeCol 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 of the License, or * (at your optio...
29.994723
78
0.588318
d773458528e3c8b137dafe19aaf65bbe75079523
154
package com.booking.replication.supplier.model; @SuppressWarnings("unused") public interface XIDRawEventData extends RawEventData { long getXID(); }
22
55
0.792208
a399ec02ed7e68a0a38c027ef767f6cfb82ea2e9
802
package org.spafka; import org.apache.zookeeper.server.ServerConfig; import org.apache.zookeeper.server.ZooKeeperServerMain; import org.apache.zookeeper.server.quorum.QuorumPeerConfig; import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class ZkServer { public static void...
33.416667
97
0.743142
24cf12bd6425413ef7a61573c9c79f1100970f18
2,674
package org.mightyfish.jcajce.spec; import java.security.spec.AlgorithmParameterSpec; import java.util.HashMap; import java.util.Map; import org.mightyfish.asn1.ASN1ObjectIdentifier; import org.mightyfish.asn1.cryptopro.CryptoProObjectIdentifiers; import org.mightyfish.crypto.engines.GOST28147Engine; import org.might...
24.759259
96
0.627524
3dd465d2ef0c64e00f2a7b71ea92c0fd1ecca02d
3,201
package files.formats.other; import java.util.List; import models.Deployment; import models.MoleculeDatabase; import models.User; import org.junit.Before; import org.junit.Test; import files.FileUtils; import files.FileUtilsImpl; import files.formats.csv.DatabaseActionOutputCsvParser; import files.formats.other.Rcd...
33.34375
123
0.741331
b1b3a8a419d24cd90e969ed603b1089aabe7c68d
1,029
package edu.eci.arep.url; import java.net.*; /** * The type Url scanner. */ public class URLScanner { /** * The entry point of application. * * @param args the input arguments * @throws Exception the exception */ public static void main(String[] args) throws Exception { scan...
30.264706
64
0.558795
75b638c44aff0369ac5bc012191a1b4ea86367c2
95
package Hospital; public interface IPatientVisitor { void visit(Patient patient); }
11.875
34
0.715789
0ee412b21d3031e087976b19cf7588cd98f1383c
984
package com.investscape.navgetter; import lombok.extern.slf4j.Slf4j; import org.ehcache.event.CacheEvent; import org.ehcache.event.CacheEventListener; import org.ehcache.event.EventType; import java.util.Arrays; @Slf4j public class CacheEventLogger implements CacheEventListener<Object, Object> { @Override p...
39.36
127
0.688008
5bff3371a46ecaf23db0a948d058f81f04510f2b
2,044
package com.ewyboy.worldstripper.client.gui.config.widget.entries; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.gui.IGuiEventListener; import net.minecraft.client.gui.widget.button.Button; import net.minecraft.util.text.StringTextComponent; import net.minecraft.util.text.TranslationTextCom...
40.88
207
0.719667
6d72a3fcb94f90cdaa7d85611721de2ae447cb61
642
package sfBugsNew; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import edu.umd.cs.findbugs.annotations.ExpectWarning; public class Bug1399jdk8 { @ExpectWarning("OS_OPEN_STREAM") void tes...
24.692308
66
0.705607
d985bd6a96a69679c6976cbf9437f4d88288f38e
3,970
package com.it.rxapp_manager_android.modle; /** * Created by deqiangchen on 2018/10/31 16:18 */ public class UpdateValuationEntity { /** * rspCode : 00 * rspDesc : 成功 * priceRule : {"startPrice":"200","nightEnd":"08:00","superLongDistanceKmPrice":"19","mondayRate":"2","thursdayRate":"5","longDis...
38.173077
441
0.513098
f69d9695c235a151d78b65a5dc27057e48c6e038
139
package com.github.k24.prefsoven.custom; /** * Created by k24 on 2016/02/13. */ public class CustomBread { public double double1; }
15.444444
40
0.697842
3f0625d17a23f5ec28ba26b6c3c055f86ef87ccd
4,902
/** * Licensed to ESUP-Portail under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * ESUP-Portail licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this fil...
46.685714
411
0.744186
112ba465e24151233937a194fc60c8bf65594e8a
4,032
package org.i3xx.util.rna.engine; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.util.zip.CRC32; public class CrcWriter implements IDataWriter { private CRC32 crc; private ByteArrayOutputStream out; private ObjectOutputStream source; ...
23.04
78
0.643353
6d48d69cd603b254b7efd50fefcd518850e1906c
39,722
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
39.250988
223
0.634107
39514d7b2f7173d0274a528e9719e9144c15e478
341
package com.coderstower.socialmediapubisher.springpublisher.main.socialmedia.linkedin; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Builder; import lombok.Data; @Data @Builder public class Visibility { @JsonProperty("com.linkedin.ugc.MemberNetworkVisibility") private final String member...
26.230769
86
0.826979
41237a1ba9b852582352f6c91d0285f637200096
1,536
package com.g4pas.index.service; import com.g4pas.index.model.request.InsertDocumentRequest; import com.g4pas.index.elastic.ElasticRepository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import j...
31.346939
106
0.645182
f3f35a018fe36625194982b243162136f166f232
5,310
package pk.home.busterminal.web.jsf.webflow.security; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.primefaces.model.DualListModel; import org.springframework.security.crypto.password.PasswordEncoder; import pk.home.libs.com...
23.918919
109
0.672128
763deec1fd6e90e32113eaa2c1dbc56874e8e5f2
1,429
package spring.jsp; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; import java.util.Arrays; import java.util.List; /** * @Created 22 / ...
28.019608
67
0.662001
8cd25649a0f28dc3a2e693e897f9a25717e4f47a
5,578
package com.ljmu.andre.snaptools.Dialogs.Content; import android.content.Context; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.LinearLayout.LayoutParams;...
40.129496
133
0.686267
d3d4acfa7b91d067bd9f18a7507f492d9b81a842
776
package com.manna.component.module_login.model.entity; import android.os.Parcel; import com.manna.component.library_base.base.BaseEntity; public class LoginResult extends BaseEntity { private String flag; private String userId; public String getFlag() { return flag; } public void setFl...
19.897436
63
0.630155
f7537336766e55b1bad86692974c80f40185847a
19,463
package io.ace.nordclient.hacks.combat; import io.ace.nordclient.CousinWare; import io.ace.nordclient.command.Command; import io.ace.nordclient.event.PacketEvent; import io.ace.nordclient.event.RenderEvent; import io.ace.nordclient.hacks.Hack; import io.ace.nordclient.managers.FriendManager; import io.ace.nordclient.m...
54.365922
216
0.446129
3a8c0307af38db6db176bc4e1575002fb942f21e
3,027
import java.util.ArrayDeque; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; public class AController extends Controller { private static final int synX1376int = 0; private static final int synX1375int = 0; public int hoursRetaining; public java.util.ArrayDeque<Defect> c...
29.38835
89
0.681863
9286db2b4e8aae28cb4d4716422dd4827e132ba1
6,524
/* * RewriteInnerClassConstructorCalls.java * * Copyright (c) 2013 Mike Strobel * * This source code is based on Mono.Cecil from Jb Evain, Copyright (c) Jb Evain; * and ILSpy/ICSharpCode from SharpDevelop, Copyright (c) AlphaSierraPapa. * * This source code is subject to terms and conditions of the Apache Licen...
39.301205
122
0.598866
c6360b8f6b386f144f5701e16f7f040ba7a9c320
2,660
package genetics; import com.google.common.base.Preconditions; import javax.annotation.Nullable; import java.util.Collections; import java.util.HashMap; import java.util.Map; import genetics.api.IGeneticApiInstance; import genetics.api.IGeneticFactory; import genetics.api.IGeneticSaveHandler; import genetics.api.all...
28.297872
163
0.817293
a8cce6ea82815c55abdefc65c8e4c8283f0d9a26
4,088
/******************************************************************************* * Copyright (c) 2013-2018 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanyin...
37.163636
83
0.767857
0b80b7e9a1302ef18a79bfc61494408c7355b254
2,476
package seedu.plan.storage; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.nio.file.Path; import java.util.Optional; import java.util.logging.Logger; import seedu.plan.commons.core.LogsCenter; import seedu.plan.commons.exceptions.DataConversionException; import seedu.plan.com...
30.95
100
0.698708
7bdb0c33bd539bace87c7589c99a975fec82ab6f
1,881
package com.lj.gps.biz.service.impl; import com.lj.gps.biz.entity.RTStatus; import com.lj.gps.biz.entity.User; import com.lj.gps.biz.mapper.DeviceInfoMapper; import com.lj.gps.biz.mapper.RTStatusMapper; import com.lj.gps.biz.mapper.RoleDeviceMapper; import com.lj.gps.biz.model.Statics; import com.lj.gps.biz.service.St...
31.881356
85
0.680489
987654e35b8138281ddc6555a2690790c01e2b08
6,124
/* * 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 ...
33.102703
100
0.650392
0624c54f8ee107ac724fcb4739b0bfbebeca1cd8
15,712
package org.kairosdb.metrics4j.configuration; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import com.typesafe.config.ConfigRenderOptions; import com.typesafe.config.ConfigValue; import com.typesafe.config.ConfigValueType; import org.kairosdb.metrics4j.MetricsContext; import org.kairosd...
26.495784
152
0.691828
73305c7f0fe66228af3b66884e69e9e15d543d62
1,865
package xyz.flysium.photon.algorithm.array.dimensional.medium; /** * 289、生命游戏 * <p> * https://leetcode-cn.com/problems/game-of-life/ * * @author zeno */ public class T0289_GameOfLife { static class Solution { public void gameOfLife(int[][] board) { // positive -> size of alive cells around //...
28.257576
105
0.444504
e89e8bf59782e1f218d2ff6584b490afb7db1986
1,379
package com.jiayidai.boxuan; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ListView; import com.google.gson.Gson; import com.jiayidai.boxuan.Adap...
24.625
69
0.69108
047845f0b5839d33a44fc8da05698d3be90bf11e
2,939
package com.qmatic.apigw.filters; import com.fasterxml.jackson.core.JsonProcessingException; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import com.qmatic.apigw.caching.VisitCacheManager; import com.qmatic.apigw.filters.util.JsonUtil; import com.qmatic.apigw.filters.util.Request...
40.260274
136
0.715209
921818c7e61a086dd20bf59c1fd3d43d8788536b
1,599
package Multi_Threading; class X { synchronized void foo(Y y) { String name = Thread.currentThread().getName(); //get the name of current thread System.out.println(name +" Entered X.foo"); // print statement try { Thread.sleep(1000); }catch(InterruptedException e) {} System.out.println(name + ...
25.790323
99
0.64853
39eac7037e1bb5628431687812b4ca833145ca89
750
package com.itbuzzpress.jms.mdb; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinati...
30
108
0.765333
1e29817c1525927975aa4c06a69de8b6cef300be
1,443
package cn.lastwhisper.io.io; import org.junit.Test; import java.util.Arrays; public class StringCodingDemo { /* * 计算机是如何识别什么时候该把两个字节转换为一个中文呢? * 在计算机中中文的存储分两个字节: * 第一个字节肯定是负数。 * 第二个字节常见的是负数,可能有正数。但是没影响。 */ @Test public void testDoubleByte() { String s1 = "abcde"; ...
25.315789
90
0.519058
38efd8c08c86490e6bd3714f865f55d2b7a3b84a
3,661
package io.crnk.example.jersey; import static org.hamcrest.Matchers.hasKey; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import static org.junit.Assert.assertThat; import java.io.InputStream; import java.util.ArrayList; import j...
36.979798
111
0.76755
af73eb1b598ab81b4f963078ac4b6dd4abbde3ae
2,350
package com.paragon_software.utils_slovoed.collections; import com.paragon_software.utils_slovoed.collections.util.TransformIntToString; import com.paragon_software.utils_slovoed.collections.util.SingleEventListener; import com.paragon_software.utils_slovoed.collections.util.Util; import org.junit.Before; import org....
39.830508
104
0.682979
3caef8a36153bf79206d9fbe1cc6225f2ec1815f
1,662
package edu.usfca.cs272; /** * Project Euler Problem 1 is stated as follows: * * <blockquote> If we list all the natural numbers below 10 that are multiples * of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the * sum of all the multiples of 3 or 5 below 1000. </blockquote> * * This examp...
29.678571
79
0.679302
e131f3ff221bc6ae6fd1b43d12f44506a0199081
755
package edu.neu.hoso.service; import edu.neu.hoso.model.RegistrationLevel; import java.util.List; /** * @title: RegistrationLevelService * @package edu.neu.hoso.service * @description: 挂号级别类业务接口 * @author: Mike * @date: 2019-06-11 14:28 * @version: V1.0 */ public interface RegistrationLevelService { Intege...
30.2
78
0.776159
e2b90971cbaabdd9f4ac3953e3afb02a500437e5
1,009
package com.cherokeelessons.vocab.animals.one; import com.cherokeelessons.animals.TvDetector; import android.annotation.TargetApi; import android.app.UiModeManager; import android.content.Context; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.util.Log; p...
25.225
99
0.759167
04b18b330572779096672525dbc5025b849dc09e
3,099
package com.amos.flyinn.service; import android.app.Service; import android.content.Context; import android.content.Intent; import android.graphics.PixelFormat; import android.os.Build; import android.os.Handler; import android.os.IBinder; import android.provider.Settings; import android.support.annotation.RequiresApi...
32.968085
305
0.669571
c6aea012212db7680569a5dffa34956e833979cf
4,741
/* * Copyright (C) 2017 Free University of Bozen-Bolzano * * 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 ap...
40.177966
179
0.639317
320d83fbcd840c9e70879fe68cea588e7d1feeba
1,048
/* * An bytecode compiler and interpreter for FOOL+ language in Java/ANTLR * * Course project for COMPILATORI E INTERPRETI (ANALISI STATICA DI PROGRAMMI) * Copyright(R) 2017 Chun Tian, University of Bologna */ package it.unibo.FOOL.env; /*** * Excerpted from "Language Implementation Patterns", published by Th...
30.823529
80
0.729962
5adc70290f0306a8e933ed85e146ce15f269aa92
3,053
package expo.modules.image.okhttp; import com.facebook.react.modules.network.ProgressListener; import com.facebook.react.modules.network.ProgressResponseBody; import java.io.IOException; import java.lang.ref.WeakReference; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.ut...
36.783133
168
0.715689
0e249f0c0dc9b17c36a0893dddb399ca0442dbf0
1,153
// Best Time to Buy and Sell Stock IV // Time Complexity: O(nk), Space Complexity: O(nk) public class Solution { public int maxProfit(final int k, final int[] prices) { if (prices.length < 2 || k < 1) return 0; if (k >= prices.length) return maxProfit(prices); final int[][] local = new int[...
34.939394
71
0.480486