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
b663f26fdec575077a86030f80644e2d8c9f3cd8
7,250
/** */ package de.fhdo.lemma.service.intermediate; import de.fhdo.lemma.data.intermediate.IntermediateImport; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Interface Reference</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> *...
36.989796
167
0.682897
eeaf495cb61b4a9c871853984503bdb6c4f12f0a
5,643
// ========================================================================= // <editor-fold defaultstate="collapsed" desc="The MIT License"> // ------------------------------------------------------------------------- // // Copyright 2018 QuikMod. // // Permission is hereby granted, free of charge, to any person obtai...
33.589286
80
0.64168
3527468404a00b5abc0c3e0499009ccff811d8ca
13,436
package br.ufc.mdcc.benchimage; import java.io.File; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; impo...
33.175309
169
0.739208
4b23f4431dedd5878fb0c5ead08f6dc996fe4efc
416
package com.nodeunify.jupiter.postman; import java.util.Calendar; public class CalendarTest { public static void main(String[] args) { Calendar cal = Calendar.getInstance(); int ctpYear = cal.get(Calendar.YEAR); int ctpMonth = cal.get(Calendar.MONTH); int ctpDay = cal.get(Calendar....
29.714286
72
0.644231
9868d8ae5cb9fb57773f66859607c1d3e413878e
1,846
/* * Copyright (c) Numerical Method Inc. * http://www.numericalmethod.com/ * * THIS SOFTWARE IS LICENSED, NOT SOLD. * * YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE. * IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE, * DO NOT USE THIS SOFTWARE. * * THE SOFTWA...
32.385965
80
0.655471
435fdbf232a29cf4a923247764afebc91870f5c4
23,223
package com.seleniumsimplified.webdriver.manager; import org.openqa.selenium.Platform; import org.openqa.selenium.UnsupportedCommandException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriverException; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOpt...
42.147005
190
0.58933
05ce024529468fafac94336f24114b1907b9e156
10,041
/********************************************************************* SOURNEXT CONFIDENTIAL Copyright (C) SOURNEXT Corporation *********************************************************************/ package com.reversecoder.library.customview.storehouse; import android.content.Context; import android.content.Shar...
38.918605
96
0.678219
1308db5d0e41646cf5ee1c0fb68de4b586543d20
4,178
package es.uned.peda; import java.io.BufferedReader; import java.io.IOException; import java.io.PrintStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; /** * The Class IOData. */ public class IOData { /** The number of objects. */ private int numberOfObjects; /** The kna...
22.583784
107
0.645045
4fd7d005db0d1c280ac6dfdd2a2a5f93bc6ca6b0
227
package ru.r2cloud.fcdw; public class AuthenticationException extends Exception { private static final long serialVersionUID = 6812784411157195284L; public AuthenticationException(String message) { super(message); } }
18.916667
67
0.801762
a1732d76ad66493c32cf9cb44323054573819f01
80
package com.javadude.factories.cars; public class Camry implements Sedan { }
11.428571
37
0.775
eaac1e9b5e3f9cd8552d4b8a2a9907af63dea1b4
950
package cn.javastack; public class PublicVar { public String username = "A"; public String password = "AA"; //同步实例方法 public void setValue(String username, String password) { try { this.username = username; Thread.sleep(5000); ...
32.758621
86
0.482105
88f82cb123896440f6ee8d58d7e0bd7e4cfaca8f
3,153
package ca.bc.gov.educ.api.pen.trax.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Table; import java.math.BigDecimal; ...
21.744828
55
0.730098
8e3e7f1b28685b9e6839988647c364589d55f9a0
10,060
package com.ferreusveritas.dynamictrees.api; import java.util.List; import com.ferreusveritas.dynamictrees.ModConstants; import com.ferreusveritas.dynamictrees.api.cells.ICellKit; import com.ferreusveritas.dynamictrees.api.treedata.ILeavesProperties; import com.ferreusveritas.dynamictrees.blocks.BlockDynamicLeaves; i...
30.029851
161
0.732505
8dc86e9c8fe1444c3b4d3104e440a200c52d5514
896
package cn.dyaoming.outman.dubbo.constrollers; import cn.dyaoming.outman.dubbo.servers.UserServer; import cn.dyaoming.outman.dubbo.services.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.anno...
27.151515
62
0.747768
8ab71af8d2b2c3ec8500a790a10c64199fad50f3
824
package com.regitiny.catiny.advance.service.mapper; import com.regitiny.catiny.advance.controller.model.HanhChinhVNModel; import com.regitiny.catiny.domain.HanhChinhVN; import com.regitiny.catiny.service.dto.HanhChinhVNDTO; import com.regitiny.catiny.service.mapper.EntityMapper; import org.mapstruct.Mapper; import ja...
29.428571
146
0.825243
03772a8616ff1d89bf62d75f0f69d4485b126773
1,664
package com.xms.structure.graph; import java.util.Arrays; /** * Created by xms on 2017/8/19. */ public class DijKatra { public static int M = Integer.MAX_VALUE; public int MAXNUM = 10; int[] dist = new int[MAXNUM]; int[] prev = new int[MAXNUM]; public static int[][] G = { /********A B C D E F ********/...
21.063291
55
0.466947
316aece670b7f364c05331e059ff3ec9a71bbd71
1,379
package com.ara.network.download; /** * Created by XieXin on 2021/12/1. * 下载管理 */ public class DownloadInfo { /** * 下载状态 */ public static final String DOWNLOAD = "download"; public static final String DOWNLOAD_PAUSE = "pause"; public static final String DOWNLOAD_CANCEL = "cancel"; pub...
21.215385
58
0.634518
6a5afc82abfb02ab0bc6d590bdd6df4179d3d1ea
508
package com.binarskugga.skugga.api.annotation; import com.binarskugga.skugga.api.enums.InclusionMode; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementTyp...
25.4
57
0.80315
922074ba7c9ce626417ba0515f0a895cb470a652
56,077
package io.smallrye.reactive.messaging.amqp; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.entry; import static org.awaitility.Awaitility.await; import java.nio.charset.StandardCharsets; import java.util.*; import java.util.concurrent.CompletableFuture; import...
42.547041
127
0.619862
1981228a2bb2ef3abaae5aea44a8df9daae68488
2,400
/* * Copyright 2016 TUM Technische Universität München * * 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 re...
29.62963
85
0.683333
846898fd7e65186049c53f8961fe7761bd3d6257
14,419
package com.downloader.certificate; import javax.net.ssl.*; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.HttpURLConnection; import java.net.Proxy; import java.net.Socket; import java.net.URL; import java.security.*; import java.security.cert.Certific...
39.396175
246
0.683265
377e9bbad7f5360326ad29b3969ed533b40510cc
5,435
package com.jack12324.eop.machine.equalizingSmelter; import com.jack12324.eop.ExtremeOreProcessing; import com.jack12324.eop.packet.PacketClientToServer; import com.jack12324.eop.packet.PacketHandler; import com.jack12324.eop.util.Coord4D; import com.jack12324.eop.util.GuiValues; import com.jack12324.eop.util.HelpfulM...
46.059322
173
0.656118
d002271495b4555e3ed3dce3413286a0a7a33ee8
516
package org.pac4j.oauth.profile.facebook; import java.io.Serializable; /** * This class represents a Facebook application. * * @author Jerome Leleu * @since 1.2.0 */ public final class FacebookApplication implements Serializable { private static final long serialVersionUID = 8888597071833762957L; ...
20.64
70
0.693798
2f726eebbec13ea2a5847a4cef6df98eef056a10
4,986
// Copyright 2000-2019 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 com.intellij.codeInspection.streamToLoop; import com.intellij.lang.java.lexer.JavaLexer; import com.intellij.openapi.project.Project; import com.intellij.pom.java.Languag...
31.757962
140
0.697754
b2ad2564f7a71fb4ca261ef42ba8fa2e8b4c7362
418
package com.devyok.bluetooth.base; /** * * @author wei.deng * */ public class BluetoothException extends Exception{ /** * */ private static final long serialVersionUID = 1L; public BluetoothException(String message, Throwable cause) { super(message, cause); } public BluetoothException(String message...
14.413793
61
0.698565
6a6d6dee4c96baf8f85cbad40638b42b873cd211
3,904
package dev.paddock.adp.mCubed.model; import android.test.AndroidTestCase; import dev.paddock.adp.mCubed.TestUtils; public class WhereClauseTest extends AndroidTestCase { public void testCreate() { WhereClause a = WhereClause.create("a"); assertEquals("a", a.getSelection()); } public void testOr()...
35.490909
137
0.622182
ccbe276657b46137aa61b6e90d0431a6af0180f7
808
package com.telecominfraproject.wlan.client.datastore.inmemory; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; import org.springframework.context.annotation.Import; import org.springframework.test...
36.727273
99
0.846535
e495c0cb7b7fcefe6b0b4aac74c3a0793ef2b6ec
4,268
/* * 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...
39.518519
135
0.699859
ba887dcd23c23e735e56bf4af5a21c516ad6ed34
4,279
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
40.752381
147
0.73592
d7ed5ea0036d0a6b855c50e0662ab9f2a8062949
1,281
package roundone; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Solution78 { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int cases = Integer.parseInt(scanner.nextLine()); while (cases-- > 0) { in...
22.473684
62
0.446526
6cacf762d14e794402cc944e210c0d887dfc256c
784
package com.datang.modules.oss.service.impl; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.datang.common.utils.Query; import com.datang.common.utils.PageUtils; import com.datang.modules.oss.dao.SysOssDao; import com.datang.modules.oss.entity.SysOssEn...
28
102
0.799745
a55c8fe8fec31797297d44071ed10f50aa5f6545
1,079
package com.example.gouadadopavogui.myshoppingapp.controller; import com.example.gouadadopavogui.myshoppingapp.helpers.Constants; import com.example.gouadadopavogui.myshoppingapp.interfaces.ShoppingGroupRestService; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.Locale; im...
33.71875
109
0.675626
52aa4ebda841b283a0643727141213718e7c1acb
1,920
import java.util.Stack; public class ShuntingYard { public static void main(String[] args) { String infix = "3 + 4 * 2 / ( 1 - 5 ) ^ 2 ^ 3"; System.out.printf("infix: %s%n", infix); System.out.printf("postfix: %s%n", infixToPostfix(infix)); } static String infixToPostfix(String ...
32
74
0.402083
2b9794f2803896c3b986b49a292dec546756d6fb
1,863
package com.peralex.utilities.ui.graphs.axisscale; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.beans.SimpleBeanInfo; import javax.swing.JComponent; /** * BeanInfo class for AbstractDefaultAxisScale. Makes GUI editing of this c...
38.020408
153
0.756307
ca2aeece657242376f90d8c7612bce4ed2d38ef0
174
package br.acme.exception; @SuppressWarnings("serial") public class NomeNullException extends Exception{ public NomeNullException(String msgErro){ super(msgErro); } }
17.4
49
0.781609
05aaf7fba46664e592de2e92bb18af3689cefbb2
6,365
package rocks.inspectit.agent.java.tracing.core.adapter.http.proxy; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasKey; import static org.hamcrest.Matchers.is; import static org.mockito.Matchers.any; import static org.mockito.Mockito.verify; import static org.mockito.Mockit...
29.882629
112
0.77769
2c3278a90d0be2fc113b992ec69921f82ddc6ebc
832
package com.example.cms; import com.example.cms.bean.UserBean; import com.example.cms.service.UserService; import org.junit.jupiter.api.Test; import org.mybatis.spring.annotation.MapperScan; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; @Sp...
29.714286
66
0.721154
aaf59dff672b48f7496a5fdc3982d4c06da22ba5
651
package ca.ualberta.cmput301w16t18.gamexchange; import android.widget.TextView; import junit.framework.TestCase; import org.w3c.dom.Text; /** * Created by Adam on 2016-03-14. */ public class LoginActivityTest extends TestCase { public void testOnWrongPassword() throws Exception { LoginActivity activi...
28.304348
153
0.72043
e72f9cf107c69878d9044dc4a37a77e06afac6f9
451
package com.bolyartech.forge.server.response.forge; public class ErrorResponse extends ForgeResponse { public ErrorResponse() { super(BasicResponseCodes.Errors.ERROR, ""); } public ErrorResponse(String string) { super(BasicResponseCodes.Errors.ERROR, string); } public ErrorRespo...
25.055556
74
0.718404
cfc2d0fbb3f566efba68569f93488361e3ff86e1
601
package com.ustudy.exam.service; import java.util.List; import java.util.Map; import net.sf.json.JSONArray; import net.sf.json.JSONObject; public interface TaskAllocationService { JSONArray getQuestions(Long egsId) throws Exception; JSONArray getQuestions(Long examId, Long gradeId, Long subjectId) t...
25.041667
85
0.768719
2ec1f0decb843bacd0e2d05a9da24617d4bc9131
3,177
package com.ichuk.coffee.adapter.mine; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.ich...
33.442105
95
0.68146
642bfbf83a0c691d6ae6d9e39c6380b43a9b6004
6,149
package de.tuda.stg.consys.invariants.subset.model.types; import com.google.common.collect.Maps; import de.tuda.stg.consys.invariants.subset.Logger; import de.tuda.stg.consys.invariants.subset.model.ProgramModel; import de.tuda.stg.consys.invariants.subset.utils.JDTUtils; import de.tuda.stg.consys.invariants.subset.ut...
37.042169
105
0.725646
b14d75ddd87a8a5fd5a66e2b1bd0e371198fe30c
301
package com.cs360.lydiasmith.localcoffeeshop.Gallery2; import android.widget.ImageView; /* Click interface for gallery images. Listens for click events. */ public interface GalleryItemClickListener { void onGalleryItemClickListener(int position, ImageModel imageModel, ImageView imageView); }
25.083333
94
0.813953
c6d6d6f7e768467b5b88837b59d00221826f2b46
1,608
import org.junit.Test; import org.junit.Before; import org.junit.After; import org.junit.Rule; import org.junit.rules.ExpectedException; import static org.junit.Assert.*; public class MemoryTest { @Rule public ExpectedException thrown = ExpectedException.none(); @Test public void testStore() { ...
27.254237
70
0.564055
8847861c0e875ae29511a389bb815aff2d5e0eba
2,640
package com.huawei.l00379880.algs4.chapter3search; import java.util.NoSuchElementException; import java.util.TreeMap; /*********************************************************** * @Description : 泛型有序符号表 ST(Symbol Table),键必须是Comparable对象 * 默认都改是升序排列 * @author : 梁山广 * @date : 2018/1/5 15...
20.625
69
0.484848
cb2ed0c666bb14343f405992cf2008d514f64c14
1,137
package bl.salesbl; import java.time.LocalDate; import java.util.ArrayList; import java.util.Date; import po.GoodsItemPO; import po.SalesPO; import util.BillState; import util.BillType; import vo.GoodsItemVO; import vo.SalesVO; public class MockSalesList { ArrayList<SalesVO> salesBill=new ArrayList<Sa...
29.921053
102
0.681618
9c9b2b2eba641746b29c45ee2e2b4593c4ab692c
654
package com.twu.biblioteca; import com.twu.biblioteca.domainObjects.Movie; import java.util.ArrayList; import java.util.List; /** * Created by jyotsna on 02/03/15. */ public class MovieList { List<Movie> movies = new ArrayList<Movie>(); MovieList(){ this.movies = moviesList; } List<Movie> ...
25.153846
66
0.576453
6c0104cabc699b4be28881b144dcac50ce115575
1,567
package keksdose.fwkib.modules.commands.security; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.List; import keksdose.fwkib.modules.Command; public class SecureChoice implements Command { @Override public String apply(String message) { try { List<St...
29.566038
95
0.695597
393feb153185c0f2a076caee6fc7712519cce68e
1,462
// Generated by Haxe 4.0.5 package connect.util; import haxe.root.*; @SuppressWarnings(value={"rawtypes", "unchecked"}) public class Diff_parse_209__Fun extends haxe.lang.Function { public Diff_parse_209__Fun(java.lang.Object obj, haxe.ds.StringMap deletions) { //line 209 "/home/travis/build/JaviCerveraIngram/con...
36.55
161
0.747606
c2ca4a614c554fc654b3343deb0fa5665ea22b5f
336
package me.xenodevs.xeno.module.modules.player; import me.xenodevs.xeno.module.Category; import me.xenodevs.xeno.module.Module; public class FastPlace extends Module { public FastPlace() { super("FastPlace", "removes place delay lel", Category.PLAYER); } @Override public void onUpdate() { mc.rightClickDelay...
19.764706
65
0.747024
b61b745f65619c553d9d85443f3cebc2d8bb565d
12,217
package com.zwf3lbs.zwf3lbsapp; import android.app.Application; import android.content.Context; import android.content.pm.ApplicationInfo; import android.graphics.Bitmap; import android.util.Log; import android.widget.Toast; import androidx.multidex.MultiDex; import com.baidu.lbsapi.BMapManager; import com.baidu.lbs...
28.881797
125
0.678726
5b6dc983054e8fe304b4314ba0d5d3f6a6232fd6
1,288
package com.hyphenate.chat.adapter; import com.hyphenate.chat.adapter.message.EMAMessage; import java.util.List; public abstract class EMAChatManagerListener extends EMABase implements EMAChatManagerListenerInterface { public EMAChatManagerListener() { nativeInit(); } public void finalize() thr...
27.404255
132
0.753106
e885f438cfc78e6c10e0d3c53010838d9f5977a1
2,235
/** * Copyright Pravega Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
36.639344
119
0.704251
3a4170b56f012226c0cf7e704ed1a766ff375725
16,572
package com.vcd.immersive.omafplayer; import android.Manifest; import android.Manifest.permission; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import a...
44.668464
114
0.626961
54ef578def0d3e2c233c66da61203ebf7acd28b2
870
package model; import view.Sprite; /** * An object should implement IDrawable if it has a sprite associated with it. */ public interface IDrawable { /** * Returns sprite associated with an game object. * @return sprite associated with the game object. */ Sprite getSprite(); /** * Should return true if t...
15.263158
78
0.629885
8e96fddd069728d6628a97683fc011125e836579
1,573
/* * 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 ...
32.102041
88
0.748252
f49477a9728612c5c77eb07850565f95e3a7c896
1,924
package rti.meta.openvcall.ui.layout; import android.app.Activity; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import java.util.ArrayList; import rti.meta...
28.716418
96
0.702183
d59cb49eb709f8b15318d05c07f35ac266c37749
380
package io.egen.movieflix.repository; import java.util.List; import io.egen.movieflix.entity.Users; public interface UserRepository { public Users create(Users user); public List<Users> findAll(); public Users findById(String id); public Users update(Users user); public void delete(Users user); ...
22.352941
55
0.739474
474cdbe76c10948b4c727a99aeea3be8719c8adc
32,095
package com.scriptsbundle.nokri.activities; import java.io.IOException; import java.util.ArrayList; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.util.EntityUtil...
51.68277
190
0.573672
b5b709c74b678c5ab51cfbd88f9886bf9b2a414a
6,373
package com.anysoftkeyboard.quicktextkeys.ui; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInfl...
40.592357
140
0.696846
31c7797486a437d5976afcbfd22e0bb74ffdbbb9
3,989
/** * Copyright 2022 Markus Bordihn * * 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, publish, d...
43.835165
100
0.714966
9cc8db08318b04b261d85f3cf0e40426c4b5551e
429
package com.blackmorse.hattrick.model.enums; import com.fasterxml.jackson.annotation.JsonValue; public enum SearchType implements HattrickType { PLAYERS(0), ARENAS(1), MANAGERS(2), SERIES(3), TEAMS(4), REGIONS(5), MATCH(6); private int value; SearchType(int value) { this....
16.5
50
0.622378
53d29612e0e594a5d8f79b50d35193043cd795f4
1,663
package org.zackratos.weather.hewind; import android.os.Parcel; import android.os.Parcelable; /** * Created by Administrator on 2017/6/26. */ public class Wind implements Parcelable { /** * deg : 190 * dir : 南风 * sc : 3-4 * spd : 13 */ private String deg; private String dir; ...
18.685393
91
0.556224
ba4c95b245333b03abb6ec3c0d1b187e43a211d6
1,578
import java.util.LinkedList; import java.lang.Math; public class SortedListToBST { public static Tree convertArrayToBST(Integer[] array, Tree result) { // A: find the middle of the whole array int mid = Math.floorDiv(0 + array.length - 1, 2); // B: set the root of the tree result.r...
37.571429
88
0.60076
c77d1e57e2c8a6ae2c4da76ae7ae8564544d03b2
1,855
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
42.159091
129
0.748248
22a954ae2c3db30a2ce3c8e3b84856112e005e53
1,556
import java.io.*; import java.util.*; public class FileRead { private static String lineOne; private static String lineTwo; public static ArrayList<String> readLines() { try { File fileName = new File("pol.txt"); FileReader fileReader = new FileReader(fileName); BufferedReader ...
17.885057
69
0.576478
f6d5705e2dd35494fadb72ee2a894831e26e64d3
11,482
/* * Copyright 2014 Institute fml (TU Munich) and Institute FLW (TU Dortmund). * * 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/LI...
35.006098
152
0.61775
14773500f075dd364c83d4d788efa98f659065b4
2,769
/* * 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 ...
40.720588
94
0.745395
aee6f0b67e9386524867473c3c68d08513d88a56
4,588
/* Copyright (c) 2013 James Ahlborn 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, softwa...
19.690987
78
0.637751
31ce12c73a9dd737da73fad6476afcac445d5c4d
4,964
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * 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...
47.730769
124
0.679291
0d22d1b6bf4ad417ea06194eba87971bb060c30f
2,663
/* * Selling Partner API for Shipping * Provides programmatic access to Amazon Shipping APIs. * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package com.git...
24.209091
92
0.695456
a69e1e5980cd94e409c3586283243ceef544d29b
488
package com.xuegao.gatewaytest; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * <br/> @ClassName:GatewayTestApplication * <br/> @Description: * <br/> @author:xuegao * <br/> @date:2021/9/26 19:55 */ @SpringBootApplication @EnableDiscove...
24.4
68
0.752049
44c8b102e01a417071ad490ba8f59905f50a18b7
1,424
/* * Copyright (C) 2018 The JackKnife 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 a...
29.061224
108
0.707163
efce07a3fac303aff5d6385222544d7da8d80405
1,266
/* * Copyright 2022 Tigris Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
34.216216
99
0.732227
09ecf677f14b194c2e54ef8eb4ca0c3d199f1387
5,461
package fr.umlv.mjolnir.amber; import static java.lang.invoke.MethodType.methodType; import static org.objectweb.asm.ClassWriter.COMPUTE_MAXS; import static org.objectweb.asm.Opcodes.ACC_FINAL; import static org.objectweb.asm.Opcodes.ACC_PRIVATE; import static org.objectweb.asm.Opcodes.ACC_PUBLIC; import static org.ob...
37.40411
117
0.680828
18c33e20d68c44aba12d3e60f8a60754d8f13107
2,659
/* * Copyright (C) 2015 Sebastian Daschner, sebastian-daschner.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/LICENSE2.0 * * Unless requi...
35.932432
124
0.700263
2b8764afb231b159872318adf065f82c93428c75
1,672
import java.io.*; import java.util.*; public class Employees { int db,mb,yb; float sal; String name; public static void main(String args[]) { Employees emp = new Employees(); emp.showDetails(); } public void showDetails() { Scanner sc = new Scanner(System.in); int db,mb,yb; ...
25.723077
158
0.513158
de741df5574edbf9a8beb6ca05c8fafb40e2701f
9,179
/** * Represents a single table in the database. * @author Kevin Filanowski * @version 09/21/18 */ public class Table<T extends AttributeInterface> { /** First record in the table */ private Node head; /** Last record in the table */ private Node tail; /** Label for the table */ private String title; /** Co...
28.595016
78
0.636235
9913be60bda2d886c0c0a5ce5ebfb8c1c207001e
730
package allstructdati; /** * * @author Alessandro Mazzeo */ public class CodaOrdinata extends Coda { private Nodo first; @Override public void enqueue(Object ob) { Nodo appo = first; if (ob == null || !(ob instanceof Comparable)) { return; } ...
23.548387
63
0.453425
a17702771bb586f740eea0555472b4a9ca794237
277
package br.inatel.cdg.algebra.scene; public class Ponto { private double x, y; public Ponto(double a, double b) { this.x = a; this.y = b; } public double getX() { return x; } public double getY() { return y; } }
13.85
38
0.519856
3b3b3ac7d4ccc4a5088c5559e5781e4f503c0f38
2,891
/* * 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 xyz.joestr.postbox.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInput...
31.423913
140
0.667589
3169cb5120ac15ebedba2457a27ea836a6004f15
3,964
package com.example.powellparstagram.fragments; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.NonNull;...
33.880342
93
0.615035
011e9270418939e966a6fed60f6773d4a8838af3
1,574
package com.dazito.oauthexample.controller; import com.dazito.oauthexample.service.StorageService; import com.dazito.oauthexample.service.dto.request.StorageUpdateDto; import com.dazito.oauthexample.service.dto.response.GeneralResponseDto; import com.dazito.oauthexample.service.dto.response.StorageDto; import com.dazi...
41.421053
154
0.798602
f146f0c029b30f7d6b5d6805f1ac6612e32ec798
1,031
import org.apache.edgent.function.Function; import java.util.ArrayList; public class EEGMapper implements Function<Double, Double> { double prevValue; double diff; int windowCounter; int recordsCount; int totalRecords; // ArrayList<Double> results; public EEGMapper(int cap) { // ...
21.479167
62
0.552861
4df9075bba23e1d688403819b379e483aea9e416
936
package desafio02; import java.text.DecimalFormat; public class Desafio02 { private final String padrao = "##,###0.0#"; private DecimalFormat formato = new DecimalFormat(padrao); /** * Calcula a sequencia de números a partir de um {@code Double} número de entrada. * @param numero {@code Double} * @return...
22.829268
92
0.65812
b7ccd51ef2eaf79cb49821881b82450cdf7e27ce
2,403
package io.wollinger.hkmanager; import gnu.crypto.mode.IMode; import gnu.crypto.mode.ModeFactory; import gnu.crypto.pad.IPad; import gnu.crypto.pad.PadFactory; import org.json.JSONObject; import java.io.File; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.util.Arrays; import java.ut...
35.865672
93
0.665418
5760584898e0a6bd3939cba086a3a9f270a16437
3,950
/** * Mule Development Kit * Copyright 2010-2011 (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.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.a...
41.578947
140
0.669873
be1e09abe699a7480305842e31f9088508c9dde5
768
package com.tangcheng.datasources.aop.business.db2; import com.tangcheng.datasources.aop.mapper.UserDetailMapper; import com.tangcheng.datasources.aop.model.UserDetail; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import java.util.List; /** * Crea...
23.272727
62
0.733073
e8aecc5ab233a7cc9c4ab1c24a8ec8869495f25e
414
package de.innovationhub.prox.projectservice.project; import io.micrometer.core.lang.Nullable; import java.util.List; import org.springframework.data.domain.Sort; public interface ProjectRepositoryCustom { List<Project> filterProjects( @Nullable ProjectStatus status, @Nullable String[] specializationKe...
25.875
53
0.756039
bee4bb73092d3c2d4e708fbe47d8b6a57212d9a3
2,913
/* * Copyright (C) 2020 xuexiangjys(xuexiangjys@163.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 a...
31.322581
111
0.672846
161c64b108aeb0259fd57722fc2413b608463dcc
2,260
/* * FirstAid * Copyright (C) 2017-2020 * * 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 3 of the License, or * (at your option) any later version. * * This program is d...
42.641509
106
0.724779
c7ef9692e36c254e163bf7a80afb8f09fae942c9
209
package com.woodplc.cora.refactoring; import java.util.Collection; import java.util.List; public interface Refactoring { List<String> refactor(); Collection<? extends String> getErrors(); }
16.076923
43
0.717703
0290e07b9481c4debb9f97dc83fc3dacffdcde5d
1,792
package com.lunchteam.lunchrestapi.api.dto.file; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import org.springframework.core.io.Resource; @Getter @AllArgsConstructor @...
25.239437
72
0.651228
bbf8e3363b6b12e7b6a965815a89bbf067d49042
8,301
// Copyright 2019, California Institute of Technology ("Caltech"). // U.S. Government sponsorship acknowledged. // // 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 so...
37.391892
110
0.746657
0167b2e87124d45fc5eb686072a43ee64f7ae1b0
573
package top.hellholestudios.xgn.jmj.scoring.classic; import top.hellholestudios.xgn.jmj.RonWrapper; import top.hellholestudios.xgn.jmj.scoring.AgariInfo; import top.hellholestudios.xgn.jmj.scoring.Yaku; public class Haitei extends Yaku { public Haitei() { super("hdly", "海底撈月"); } @Override p...
22.038462
63
0.640489
24f11d96ac7800d4b724bf71fb93e5ff40691115
1,090
package com.example.weixin.service.impl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.ste...
33.030303
91
0.790826
e97490f009fd137398d35af6d9d339351af1c7fa
2,026
package org.jesperancinha.jtd.jee.girl.bands.servlets; import javax.servlet.annotation.WebServlet; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io....
45.022222
104
0.692004
2dcf2c082f24094c731e8ce68b4051fd7e9ed0b0
634
/* * 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 export.model; import javax.xml.bind.annotation.XmlElement; /** * * @author kougi */ public class RoleWrapper { pr...
19.212121
79
0.641956
ff0cb715f5f4cd7b78f43c33bf8decb919683c52
1,485
public class S1415ThekthLexicographicalStringAllHappyStringsLengthN { public String getHappyString(int n, int k) { if (n == 1) { if (k == 1) { return "a"; } else if (k == 2) { return "b"; } else if (k == 3) { return "c"; ...
26.517857
69
0.289562
5d712edce1211ad4b78454bbae8f8c22815544c6
490
package com.jannchie.biliob.constant; /** * @author Jannchie */ public enum AgendaState { /** * WAITING: 等待被处理 * FINISHED: 已经处理完毕 * CLOSED: 不会处理此议题 * PENDING:正在处理此议题 * DUPLICATE:该议题重复 */ WAITING((byte) 0), FINISHED((byte) 1), CLOSED((byte) 2), PENDING((byte) 3), ...
15.806452
37
0.555102