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
7337ada576a589629635ed2851b938556d1eec09
948
package pathsala.serverless.student; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable; import lombok.Getter; import lombok.Setter; import lombok.ToString; i...
27.882353
72
0.798523
90780c4ea74cf567483796246ae9145f59d758f5
619
package org.apereo.cas.configuration.model.support.pac4j; /** * This is {@link Pac4jGenericClientProperties}. * * @author Misagh Moayyed * @since 5.2.0 */ public class Pac4jGenericClientProperties { /** * The client id. */ private String id; /** * The client secret. */ private ...
17.685714
57
0.592892
7739cbe49b47b367841d6dfe911bf273bfcb7a90
1,491
/* * Copyright 2021 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...
31.723404
83
0.743125
acecca3cf863d5bf1e5f7d9c89f3ccac851b0584
2,737
package com.funtl.my.shop.web.admin.abstracts; import com.funtl.my.shop.commons.dto.BaseResult; import com.funtl.my.shop.commons.dto.PageInfo; import com.funtl.my.shop.commons.persistence.BaseEntity; import com.funtl.my.shop.commons.persistence.BaseService; import org.apache.commons.lang3.StringUtils; import org.sprin...
27.37
94
0.651443
3e0dc2912ac2d339862b51ca11071fbd5464aeea
2,023
/* * Copyright 2013-2021 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.978261
189
0.681167
615afec555a55c2e333d4e4f068f4d5be3b20931
6,945
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill.keyboard_accessory; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.gr...
45.690789
110
0.683225
7f5edade2b5f8f9ffd8cdf9ed9ea475d0a085914
1,333
package com.ahdms.user.client; import com.ahdms.user.client.vo.CompanyInfoRmiRspVo; import com.ahdms.user.client.vo.PayInfoRspVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.spr...
28.978261
102
0.726932
fd69cb6eb18435a3d451f2cd5e27536ca28db63d
632
package model.math.transformation; /** * The Identity Matrix * @author Abdullah Emad * @version 1.0 * @see Matrix */ public class Identity extends Matrix { /** * Creates the identity Matrix */ public Identity() { super(initArray()); } private static double[][] initArray(){ ...
19.151515
51
0.463608
52e0352837d487495f8d532588e9b0ad2113bc1f
623
public class OO7 { public static void main(String[] args) { // manipular horários Horario h1 = new Horario(); System.out.println(h1.horas); // 0 System.out.println(h1.minutos); // 0 System.out.println(h1.segundos); // 0 System.out.println(h1.horas == 0); // 0 System.out.println(h1.minutos ...
29.666667
46
0.605136
630d67d273b1d51b1b02c11bec5b939373f27785
924
package victor.keys.logger.utils; import java.io.BufferedReader; import java.io.InputStreamReader; import lombok.SneakyThrows; public class DetermineActiveIDE { public enum IDE { ECLIPSE, IDEA } public static void main(String[] args) { System.out.println(DetermineActiveIDE.getActiveIDE()); } public sta...
20.086957
95
0.703463
659fa74a3e8b8b48d284091f4680f602de231d50
208
/** * */ package grapheus.event; /** * @author black * */ public interface DataSourceControlListener { void onDatasourceDisabled(String dsLinkId); void onDatasourceEnabled(String dsLinkId); }
13.866667
47
0.701923
75f3f8f9f1aa87de4a601f1bfdf3ee6625e0eeb0
2,459
/* * Copyright (c) 2012-2013, Poplar Yfyang 杨友峰 (poplar1123@gmail.com). * * 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...
33.684932
130
0.693371
378935ed5a3abf91d4126c2abe742f1bd65673f5
1,014
package org.usfirst.frc.team4950.robot.autoplay; public class Reading { private double leftPow; private double rightPow; private double gyro; private int leftEnc; private int rightEnc; private boolean gearMech; private boolean shooter; public Reading(double lp, double rp, double g, int le, int re, boolean gm...
26
113
0.66568
775fff35e83ec64466ec36c9b58bfb48ac597ce0
1,134
/* * Copyright (c) 2015 - 11 - 1 9 : 42 :5 * @author wupeiji It will be * @Email wpjlovehome@gmail.com */ package com.wpj.wx.service; import com.wpj.wx.common.Page; import com.wpj.wx.damain.TbListmain; import java.util.List; import java.util.Map; /** * Created by WPJ587 on 2015/11/1. */ public interface List...
19.551724
79
0.590829
73b12fc6925b84afb00fa78b8e38ba2e8444d368
6,965
package dao; import com.avaje.ebean.Ebean; import dao.impl.CategoryDaoImpl; import dao.impl.ResourceDaoImpl; import models.Category; import utilities.Dependencies; import models.Resource; import models.ResourceType; import org.junit.Before; import org.junit.Test; import testutils.BaseTest; import java.util.List; impo...
41.957831
124
0.707968
1f30ab0888eea44eeaaee61988a0d33de50e6eb3
1,637
package com.junyu.IMBudget.model; /** * Created by Junyu on 10/17/2016. */ public class Friend { public Boolean online; public String userId; public String chatId; public String name; public String lastMsg; public String lastMsgTime; public String imgUrl = ""; public Friend() { ...
17.602151
65
0.576665
22cf01c476424f07bad1fd0973dcb172d09052e6
4,261
/* * 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 ...
37.052174
115
0.693264
6f642ff162a41986cd0210e432f74528dc2f1f89
200
package com.teammental.medto; import java.io.Serializable; /** * See {@link AbstractIdDto}. */ @Deprecated public abstract class BaseIdDto<IdT extends Serializable> extends AbstractIdDto<IdT> { }
18.181818
86
0.76
c468b0e4b1c57aa02d480fdaa6887c7ceb126eb2
3,164
package iyegoroff.imagefilterkit.nativeplatform; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import com.facebook.cache.common.CacheKey; import com.facebook.common.references.CloseableRefe...
25.723577
93
0.70196
752709d5de5a1c4307a2b916ae1c43ee4806e0bf
1,278
package com.github.sormuras.bach.workflow; import com.github.sormuras.bach.Bach; import com.github.sormuras.bach.Command; import com.github.sormuras.bach.Project; import com.github.sormuras.bach.ToolCall; import com.github.sormuras.bach.ToolRun; import com.github.sormuras.bach.project.ProjectSpace; import java.lang.mo...
28.4
99
0.746479
119f960cba3c69514db6d0e1798a923cc5c1703a
268
package com.boot.edu.healthcare.service; import com.boot.edu.healthcare.domain.Doctor; import java.util.List; /** * @author Sergey Zhernovoy * create on 03.01.2018. */ public interface DoctorService { List<Doctor> find(String location, String speciality); }
19.142857
58
0.742537
e45bfb8443fe01c29d6a16d0de270f56ece20746
19,534
package com.kickstarter.dropwizard.metrics.influxdb.transformer; import com.codahale.metrics.Counter; import com.codahale.metrics.ExponentiallyDecayingReservoir; import com.codahale.metrics.Gauge; import com.codahale.metrics.Histogram; import com.codahale.metrics.Meter; import com.codahale.metrics.Timer; import com.go...
38.604743
125
0.714395
22b089c1069928169e72f227e0e2267394d71c6b
660
package de.centerdevice.classcleaner; import org.eclipse.ui.plugin.AbstractUIPlugin; public class ClassCleanerPlugin extends AbstractUIPlugin { public static final String ANALYZER_METHOD_CLUSTER = "ANALYZER_METHOD_CLUSTER"; public static final String ANALYZER_FOREIGN_METHOD = "ANALYZER_FOREIGN_METHOD"; public sta...
28.695652
80
0.804545
d562dc2d782125f0217d91de064520d3f45ba0fc
18,208
package org.alfresco.rest.servlet; import io.restassured.RestAssured; import org.alfresco.rest.RestTest; import org.alfresco.rest.core.RestRequest; import org.alfresco.rest.core.RestResponse; import org.alfresco.utility.model.FileModel; import org.alfresco.utility.model.FileType; import org.alfresco.utility.model.Fold...
56.024615
133
0.738631
1fa24708f078e5ba2833fa68895ad5cc10b3aff2
895
package in.hocg.boot.vars.autoconfiguration.jdbc; import lombok.experimental.UtilityClass; /** * Created by hocgin on 2021/6/13 * email: hocgin@gmail.com * * @author hocgin */ @UtilityClass public class TableVarsConfig { public static final String TABLE_NAME = "boot_vars_config"; public static final Str...
34.423077
73
0.748603
72662fcee71e52b3ad08a2e247887f8efcd87401
1,232
package com.xymiao.cms.config; import com.fasterxml.jackson.databind.ObjectMapper; import com.xymiao.cms.util.ResponseBodyUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.AuthenticationEntryPoint; i...
41.066667
160
0.810065
79d0f41c2b5c6364df969fc5e627112300d15381
184
public class Main { public static void main(String[] args) { Generator fractalGen = new Generator(); new Gui(fractalGen); new Drawing(fractalGen); } }
20.444444
47
0.608696
9a53fdd4696364291694e9324e09d0c03f3bc484
619
package com.tasfe.framework.crud.api.dialect; public class MySql5Dialect extends Dialect { public String getLimitString(String querySqlString, int offset, int limit) { return querySqlString + " limit " + offset + " ," + limit; } @Override public String getCountString(String querySqlString) { int limitIndex ...
24.76
109
0.709208
fc360e10a498bc61024f0861b2b13e480a4da5fc
226
package br.com.alura.estoque.retrofit.callback; interface MensagensCallback { String MENSAGEM_ERRO_RESPOSTA_NAO_SUCEDIDA = "Resposta não sucedida"; String MENSAGEM_ERRO_FALHA_COMUNICACAO = "Fala de comunicação: "; }
28.25
73
0.79646
f5892ad0afd991a3d35e239b06482ef77c314182
2,935
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.svn.actions; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi....
37.628205
140
0.708688
79c510cacfe11f9c5b597fcf843068da29518255
8,905
import java.util.HashMap; import java.util.HashSet; import java.util.Random; import java.util.Queue; import java.util.LinkedList; public class Lesson14_2 { /** * @Description: 图的结点 */ public static Random rand = new Random(); /** * 和之前一样,在讲座中可以省略 * * @param user_nodes-用户的结点;us...
34.25
136
0.586749
3eb8cf109611d7e38921fbc05d5c884ea7d7726b
10,281
/* * Copyright (C) 2018 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...
37.385455
99
0.617352
af7af856942a36f81c904f807bec2e3c4609b81f
325
package be.stijnhooft.portal.social.dtos; public enum ImageLabel { ORIGINAL("original"), COLOR_THUMBNAIL("thumbnail"), SEPIA_THUMBNAIL("sepia"); private final String value; ImageLabel(String value) { this.value = value; } public String getValue() { return this.value; ...
17.105263
41
0.64
4e3ce3b409d358c33057b862085322d889d15e66
3,395
/** * Copyright (c) 2007 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. Redistributions of source code must retain the above copyright *...
34.292929
80
0.699264
3a1a7ca727738830bbc9214fca05fa7051574ffe
22,831
package com.webcheckers.model; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.SplittableRandom; /** * A representation of a single Game, with two players and a Board. */ public class Game { // // Attributes // private Player redPlayer; private Pla...
32.992775
104
0.576891
3fb53d633760ae6939c32ef8d596a9039e4ac19c
5,161
/* * Copyright 2009-2015 University of Hildesheim, Software Systems Engineering * * 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 * * ...
33.953947
104
0.660918
2c02028f1cdb654938be0edc5ac99b9788ec430f
652
package net; import net.minecraft.block.properties.IProperty; import net.minecraft.client.renderer.block.statemap.StateMap; import net.minecraft.client.renderer.block.statemap.StateMap$Builder; public class agQ { public static StateMap$Builder a(StateMap$Builder var0, IProperty var1) { return var0.withName(v...
27.166667
78
0.731595
fd9261370e646ccfc3b4aba77bfd4377bb09f7d7
1,011
package io.shockah.dunlin.commands; public class CommandParseException extends Exception { private static final long serialVersionUID = -1260914648331453444L; public final boolean onlyMessage; public CommandParseException() { this(false); } public CommandParseException(String message) { this(message, fa...
23.511628
85
0.760633
f32cdd24dab92f26cdfd96a647b7e482f9016d08
985
package com.qypt.just_syn_asis_version1_0.utils; public class UrlUtils { //address public static final String DOWNDATA="http://115.28.146.253:8080/HttpSnySisService/servlet/DownSynServlet"; public static final String UPDATA=" http://115.28.146.253:8080/HttpSnySisService/servlet/SynServlet"; public static final St...
61.5625
118
0.804061
104e0718d6ee8afce816e7aae211ff163188c7af
1,157
/* * (C) Copyright IBM Corp. 2020 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.bucket.cos; /** * Constants related to our COS connection */ public class COSConstants { // the IBM COS API key or S3 access key. public static final String COS_API_KEY = "cos.api.key"; // the IBM COS...
28.925
75
0.696629
2ce29fe9b8ca7cdfaf3ba7e1e5bbc6579a937d73
2,469
package org.domain.code.widget; import android.widget.AdapterView; import android.widget.ArrayAdapter; import org.domain.code.App; import java.util.ArrayList; import java.util.List; public class Spinner extends View { /* *控件:下拉列表框 *@天才工作 */ private final List<String> item = new ArrayList<Str...
22.044643
115
0.511543
c383e96c1c982207ca31121659c7bc1f8bb3fa4e
2,668
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
29.977528
81
0.546102
bbc9abae8878d61777ec504e1410365a3525cee6
9,153
package com.sample.data; import java.util.ArrayList; import java.util.List; import com.sample.model.Record; import com.sample.model.RecordTypeField; import com.sample.model.RecordTypeFieldValue; public class RecordTypeFieldValueDAO { private static List<RecordTypeFieldValue> list = new ArrayList<RecordTypeField...
81
117
0.658145
938a2a56bb6617d3a821195e73daa7d884f14749
3,826
package com.homw.tool.application; import java.io.File; import java.net.URL; import java.net.URLDecoder; import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.jar.JarEntry; import java.util.jar.JarFile; import com.homw.common.util.Plat...
30.608
98
0.634605
bd59b26fafebe9bc129810ce683194be147fbc1b
3,627
package com.udacity.vehicles.service; import com.udacity.vehicles.client.maps.MapsClient; import com.udacity.vehicles.client.prices.PriceClient; import com.udacity.vehicles.domain.Location; import com.udacity.vehicles.domain.car.Car; import com.udacity.vehicles.domain.car.CarRepository; import java.util.List; import j...
32.972727
96
0.658947
da0ac1a46a3ad279a4f3c3a68247f8cc5b7d944a
15,574
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
36.731132
90
0.559843
a7e7a8d555717cae60706e65a1306a51190c7ede
2,464
/* * Copyright (C) 2011 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
31.189873
103
0.642451
3b16c632a2a2faf2e11132090214845520c2ac49
1,775
package practice.java.numericexamples; public class SwapWithoutThirdVariable { public static void main(String[] args) { // swap(10,20); // greatestOfNumber(20,30,30); // arrayTwoGreatestNumber(); // reverseNumber(45780); // palindrome(12321); armstrongNumber(371); } private static void armstrongNumber(int ...
21.130952
83
0.581408
da4b7d8b02d3233e9a5875b7092954b8daf4801c
2,648
package jeyts.uflapplication.Adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.RelativeLayout; import android.widget.TextView; import jeyts.uflapplication.R; import jeyts.uflap...
30.790698
110
0.687689
0bba13804e50825244252616bcac020f8b41dc52
270
package com.github.valentinkarnaukhov.stubgeneratorv3.processor; import com.github.valentinkarnaukhov.stubgenerator.model.TagTemplate; import java.util.List; /** * @author Valentin Karnaukhov */ public interface SpecProcessor { List<TagTemplate> process(); }
18
69
0.785185
ecf29a314c68309e9556174d52ce6298cffbcf9c
2,065
package com.akjava.lib.common.functions; import com.akjava.lib.common.utils.FileNames; import com.google.common.base.Function; public class FileNamesFunctions { /** * TODO * @author aki * *filter extension *file only * *path to parentfolders for zip? */ public class PathToDirectoryN...
27.171053
98
0.731719
5232cc915b1920f61eda5ed587a43537d111aa08
218
package study.daydayup.wolf.business.account.api.service.auth; /** * study.daydayup.wolf.business.account.api.service.auth * * @author Wingle * @since 2019/9/27 5:18 PM **/ public interface WechatAuthService { }
19.818182
62
0.733945
4c101bb4fdbcbeea5187b0f4b2c4cbb7bee7fc1d
474
package hu.pazsitz.tools.java.util.stream; public class NoEqualsForObject { private String attr1; private String attr2; public NoEqualsForObject(String attr1, String attr2) { this.attr1 = attr1; this.attr2 = attr2; } public String getAttr1() { return attr1; } publ...
18.96
58
0.586498
a71e0352e236c83870c579b1ed57bc69e40a63c7
304
package mil.nga.crs.common; /** * Unit Type * * @author osbornb */ public enum UnitType { /** * Angle */ ANGLEUNIT, /** * Length */ LENGTHUNIT, /** * Parametric */ PARAMETRICUNIT, /** * Scale */ SCALEUNIT, /** * Time */ TIMEUNIT, /** * Generic */ UNIT; }
7.414634
27
0.5
456cd5194e51793b12db57dad45083597eef2c60
13,253
package com.baidu.location.b; import android.annotation.SuppressLint; import android.net.wifi.ScanResult; import android.net.wifi.WifiInfo; import android.os.Build.VERSION; import android.os.SystemClock; import android.text.TextUtils; import com.baidu.location.d.j; import java.util.ArrayList; import java.util.Iterator...
23.08885
176
0.474006
642da8d46c23c1224a38ef563bdfcec49319bd0f
745
package de.suzufa.screwbox.playground.debo.tiles; import java.util.Optional; import de.suzufa.screwbox.tiled.Converter; import de.suzufa.screwbox.tiled.Tile; public abstract class BaseTileConverter implements Converter<Tile> { private final String typeName; protected BaseTileConverter(final String typeName...
28.653846
76
0.683221
4d06cc13a3021b82084894fb2be5dc90ae31f997
2,568
package com.rapleaf.jack.queries; public class AggregatedColumn<T> extends Column<T> { private enum Function { COUNT, AVG, SUM, MAX, MIN } private final Function function; private final String sqlKeyword; private final String alias; private AggregatedColumn(Column column, Function function, String s...
29.181818
95
0.698598
9a46aa14bdfa01dce6634abe8e2ad97f8f03dbcd
2,180
package eu.inmite.android.gridwichterle.core; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.text.TextUtils; import android.util.TypedValue; /** * Created with IntelliJ IDEA. * User: Michal Matl (michal.matl@inmite.eu) * Date: 7/20/13 * Time: 11:00 PM */ pub...
26.91358
126
0.711009
ee5c282f95e64e8a5ac250261ca5725044b6ec01
2,142
package net.kyrptonaught.lemclienthelper.mixin.SmallInv; import net.kyrptonaught.lemclienthelper.SmallInv.SmallInvInit; import net.kyrptonaught.lemclienthelper.SmallInv.SmallInvPlayerInv; import net.kyrptonaught.lemclienthelper.SmallInv.SmallInvScreen; import net.minecraft.client.MinecraftClient; import net.minecraft....
52.243902
194
0.766106
aa8847b9388946c7a0d14250fd350122e982bea4
6,054
package com.xpl.qvod; import android.content.SharedPreferences; import android.media.AudioManager; import android.media.MediaPlayer; import android.os.Bundle; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.view.MotionEvent; import android.view.SurfaceHolder; import andro...
36.46988
113
0.498513
3398da6f5f18e5512ebf6a74e0d545046f0052f3
6,570
package gov.nasa.arc.irg.astrobee.wifisetup; import android.net.wifi.WifiConfiguration; import android.util.Log; import org.json.*; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamRead...
37.758621
93
0.596347
011411d7318b9411d17681d6ba17c2d390283a62
551
package com.template.def.desktop; import com.template.def.core.GameAdapter; import com.tokelon.toktales.core.engine.EngineException; import com.tokelon.toktales.core.game.IGameAdapter; import com.tokelon.toktales.desktop.application.TokTalesApplication; public class Application extends TokTalesApplication { @Ov...
25.045455
68
0.760436
8aaa474f34920262f7bd82157753b8ef043614fa
2,252
package com.chendu.jq.core.equity.calculator.analytical; import com.chendu.jq.core.JqTrade; import com.chendu.jq.core.common.jqEnum.OptionDirection; import com.chendu.jq.core.equity.DigitalOption; import com.chendu.jq.core.equity.calculator.OptionCalculator; import com.chendu.jq.core.market.JqMarket; import java.time...
47.914894
130
0.734458
fc3679e39959f000950b5c444528b58a6324ccb2
462
/* * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * Abstraction we use in order to allocate memory for bitmaps in different OS versions. It also * contains implementation of the Rel...
33
95
0.757576
deb6abfc6697c4c15362b0c643cdbaca0438d170
1,265
package io.mercury.common.concurrent.disruptor.dynamic.strategy; import io.mercury.common.concurrent.disruptor.dynamic.DynamicDisruptor; import io.mercury.common.concurrent.disruptor.dynamic.sentinel.SentinelEvent; /** * @Author : Rookiex * @Date : Created in 2019/11/12 13:33 * @Describe : * @version: 1.0 */ pub...
31.625
91
0.765217
54d027824e9a34cf588df1bbebbe839f4711ad85
1,341
/* * Copyright 2020 Wuyi Chen. * * 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 i...
28.531915
105
0.706189
2cbd2724ebf6ecbc9eb62977d1bee2e654f6189f
2,330
package com.sx.frontend.protocal376_1.internal.fieldType; import com.sx.frontend.protocal376_1.exception.InvalidConfigException; import com.sx.frontend.protocal376_1.internal.ConfigParse.FieldTypeParam; import java.nio.ByteBuffer; /** * Created by PETER on 2015/3/12. */ public class BcdUnsignedByBit implements IF...
26.781609
101
0.596137
59e3c468419faa532acef019a67ac31eb5dc79f7
2,069
package edu.virginia.vcgr.genii.client.invoke.handlers; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import javax.xml.namespace.QName; import org.apache.axis.message.MessageElement; import org.oasis_open.docs.wsrf.rp_2.GetMultipleResourcePropertiesResponse; import org.oasis_open...
22.988889
110
0.754471
0f714795c0aaf9bf3e035a6a7aa6c6284c504355
1,007
// @@author chrischenhui package seedu.address.logic.parser.open; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.address.logic.commands.cardcommands.ListCommand; import seedu.address.logic.parser.Parser; import seedu.address.logic.parser.exceptions.ParseException; /** ...
32.483871
94
0.714002
1697d78b82159f34b38d7ffe54750b7ab7d2c396
743
package org.egov.pt.web.contracts; import java.util.List; import org.egov.common.contract.response.ResponseInfo; import org.egov.pt.models.Assessment; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor;...
20.638889
109
0.803499
a0971664face912f72af2df304be9edc567d28f8
14,424
package org.pzdcdoc; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.apache...
37.079692
140
0.59096
4b7ae45d846f514d2c7463da8b9eb47f1ee41ff1
1,621
/* * 11/07/2004 * * AbstractTokenMaker.java - An abstract implementation of TokenMaker. * * This library is distributed under a modified BSD license. See the included * LICENSE file for details. */ package org.fife.ui.rsyntaxtextarea; /** * An abstract implementation of the * {@link org.fife.ui.rsyntaxtexta...
23.838235
78
0.708822
18b09fecb1ac1ae78082b6586e99ae223964a38f
159
package evaluator.ast; public enum Operators { ADD1, SUB1, ISZERO, // ASTOp1 PLUS, MINUS, MULTIPLY, EXPONENTIATE // ASTOp2 }
19.875
53
0.584906
62fbb960b0d70a8db6b277f94b8f22a711b1f0ab
4,838
/* * Copyright 2017 Apereo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
24.938144
78
0.721786
ff00db758110335894eec89fd80ae13f2a878db5
9,574
/* * The MIT License (MIT) * * Copyright (c) 2017 Fabian Mastenbroek, Christian Slothouber, * Laetitia Molkenboer, Nikki Bouman, Nils de Beukelaar * * 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...
32.900344
97
0.600689
f64d5cc3478afc7bc232f82fe15aad3123c0eb0c
5,108
/* * Copyright 2011-Present 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 la...
34.513514
106
0.727291
d22a4271370ccde4223092068cb8e689786e75f1
25,490
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
37.875186
209
0.638564
9bb8410ced9881075d84d2a1f2bc12aeed4aedfe
6,432
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; im...
32.321608
140
0.680193
08d1f2de9f3e5a9ccec0c4b4a6b25c5409736497
7,414
/* * Copyright (C) 2012 Andrew Neal Licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, ...
31.151261
93
0.654168
973fd3d98bbae93e9a0651c5259c9d04d3648c76
626
package com.sixt.service.framework.kafka; import org.apache.kafka.clients.consumer.ConsumerRecord; public class EagerMessageQueue implements MessageQueue { private MessageExecutor messageExecutor; public EagerMessageQueue(MessageExecutor messageExecutor, long retryDelayMillis) { this.messageExecutor...
24.076923
86
0.741214
1341f4728aee60883df666799a4da7ca491c92bd
2,993
package no.rmz.midibridge; import com.fasterxml.jackson.annotation.JsonProperty; /* Command Meaning # parameters param 1 param 2 0x80 Note-off 2 key velocity 0x90 Note-on 2 key veolcity 0xA0 Aftertouch 2 ...
21.688406
120
0.564651
be4a2dcc1240b2c4a78865c7dd8903a66597efef
2,420
package org.im97mori.ble.advertising; import static org.im97mori.ble.constants.DataType.APPEARANCE_DATA_TYPE; import java.nio.ByteBuffer; import java.nio.ByteOrder; import org.im97mori.ble.BLEUtils; import org.im97mori.ble.constants.AppearanceValues; import androidx.annotation.NonNull; /** * <p> * Appearance * ...
22.407407
128
0.718182
68ba7ca8436838d8332e68b74f01389c6f6b2c6b
1,839
package com.stackroute.recommendationservice.repository; import com.stackroute.recommendationservice.domain.QuestionNode; import com.stackroute.recommendationservice.domain.UserNode; import org.springframework.data.neo4j.annotation.Query; import org.springframework.data.neo4j.repository.Neo4jRepository; import org.spr...
73.56
284
0.725394
06a36eaa0d3a2ba5d73c355a87c1f93c43cab861
7,660
/** * Licensed to JumpMind Inc under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. JumpMind Inc licenses this file * to you under the GNU General Public License, version 3.0 (GPLv3) * (the "License"); yo...
34.504505
123
0.615405
976a15c73da7c5c63b7a56e349324f24a3df6c89
1,203
package com.mooveit.fakeit.utils; import java.util.Locale; public class Constants { public enum FakeitLocale { CA("ca"), DE("de"), EN("en"), ES("es"), FA("fa"), FI("fi-FI"), FR("fr"), HE("he"), ID("id"), IT("it"), JA("ja"), ...
21.105263
57
0.347465
76de6a4180272fde0de3f3aa474f895802f21aa2
1,783
package densan.s.game.sound; import java.net.URL; import javafx.scene.media.AudioClip; /* * Created on 2005/08/15 * */ /** * 効果音ファイルを再生するクラス<br> * ユーザーはSoundManagerクラスの方を使う * @author mori * */ public class SEEngine { // 登録できるWAVEファイルの最大数 public static final int MAX_CLIPS = 256; // WAVEファイルデータ private st...
16.357798
70
0.615255
4b9f9af4abaeb89df10753d62e9d27588103acfa
4,048
package com.wrapper.spotify.methods; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.SettableFuture; import com.wrapper.spotify.Api; import com.wrapper.spotify.TestUtil; import com.wrapper.spotify.models.SpotifyEntityT...
36.468468
106
0.722085
2b0b071cff40c6d2252edc54e4f5056bd659d371
2,729
package de.ellpeck.naturesaura.chunk.effect; import de.ellpeck.naturesaura.ModConfig; import de.ellpeck.naturesaura.NaturesAura; import de.ellpeck.naturesaura.api.aura.chunk.IAuraChunk; import de.ellpeck.naturesaura.api.aura.chunk.IDrainSpotEffect; import de.ellpeck.naturesaura.api.aura.type.IAuraType; import net.mine...
33.691358
120
0.679736
7260fde5ef5b309d776e661c713532d9ca13cabb
2,697
/* * Copyright 2014-2015 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
36.945205
111
0.640341
af4707e92fb956b984b445b600242b6777c7d4e0
2,883
package com.qht.blog2.BaseAdapter.BaseSlideRecycleView.holder; import android.animation.ValueAnimator; import android.view.View; import com.chad.library.adapter.base.BaseViewHolder; import com.qht.blog2.BaseAdapter.BaseSlideRecycleView.ISlide; import com.qht.blog2.BaseAdapter.BaseSlideRecycleView.helper.SlideAnimatio...
29.121212
85
0.747832
a5a5bdf7a9e4f37afde27d14f90ea1874a814b07
2,441
package com.tyrfing.games.id18.test.edit.network; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.UnknownHostException; import org.junit.Test; import com.tyrfing.games.id18.edit.battle.action.EndTurnAction; import com.tyrfing.games.id18.edit.network.ActionSerializer;...
30.135802
124
0.757067
41984d5c6fc8f6898a0a222c9c42ed96d63da0ed
179
package org.corfudb.runtime.exceptions; /** * Represents an exception which failed deserialization. */ public class DeserializationFailedException extends RuntimeException { }
22.375
70
0.810056
574eb8afd5b283b5d4a34aad68b710f42a477a13
2,225
/* * 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 ...
31.338028
80
0.713258
83d0489ea1be99eaec9d8f2dd63bb845b570ace9
2,406
/* * The MIT License * * Copyright (c) 2012 The Broad Institute * * 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...
40.779661
141
0.714464
b8085684d69b8e61e688a0f53d287af09351b6c7
940
package de.peeeq.wurstscript.types; import de.peeeq.wurstscript.ast.TypeParamDef; import de.peeeq.wurstscript.parser.WPos; import fj.Ord; import fj.Ordering; /** * */ public class TypeParamOrd { private static final Ord<TypeParamDef> instance = Ord.ord((TypeParamDef x, TypeParamDef y) -> { int c1 = x.g...
25.405405
99
0.588298
7103aa3df987371988dfb4bd07e9527e368f5f8c
1,758
package br.com.projectteste.dao; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import br.com.projectteste.entity.Medicamento; im...
25.852941
90
0.71843
351169a4c0912a4a35d8d3484b142b2fd1fd3a43
16,836
/** * */ package trobbie.bootrestsimple.controller; import java.util.Optional; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentMatchers; import org.mockito.Mockito; import org.skyscreamer.jsonassert.JSONAssert; import org.springframework.beans.factory.annotation.A...
38.438356
157
0.785697
bb1fb4fe5951c5e0f222fbe91dc92f0d3e864436
563
__________________________________________________________________________________________________ sample 0 ms submission class Solution { public boolean divisorGame(int N) { return (N%2==0); } } __________________________________________________________________________________________________ sample 31...
33.117647
98
0.804618
8d234e3c9a9dccec1f51624a4a9eacdfdfbcc778
7,193
package org.estatio.module.capex.dom.payment; import java.math.BigDecimal; import java.text.DecimalFormat; import java.util.Comparator; import javax.inject.Inject; import javax.jdo.annotations.Column; import javax.jdo.annotations.DatastoreIdentity; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.an...
34.581731
139
0.669123
88a5be02cbb05794487a726c8b18553864054263
2,494
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.com). * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
36.676471
100
0.763432