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
16cef3267a218709a0cb20138aad8f6c9829215c
679
/* * 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 sboxclient.pull; import sboxclient.nextOkActionable.NextOkActionnableTask; /** * * @author MAZE2 */ public class PullTask ...
21.21875
79
0.692194
6466527b3cf06818bf07d4c854ae68ec5de4b0c7
1,329
/* * Copyright 2016-2017 Axioma srl. * * 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...
31.642857
102
0.717833
5e5047d2f985b9b439eaa341b7fd5680753df81a
388
package com.smnadim21.api.tools; import android.app.Application; public class GetContext { public static Application getContext() { try { return (Application) Class.forName("android.app.AppGlobals") .getMethod("getInitialApplication").invoke(null, (Object[]) null); ...
24.25
86
0.60567
0502a903563d9213e359d2a8968ac036f6743bd3
1,107
package interpreter; import java.util.Stack; /** * @author Mr.Q * @date 2020/3/26 17:52 * desc: */ public class Calculator { // 用于存储并操作所有相关的解释器 private Stack<ArithmeticInterpreter> stack = new Stack<>(); public Calculator(String expression) { // 用于存储操作符两边的操作数 ArithmeticInterpreter e...
25.744186
85
0.535682
badf4cbd5ed6c5c5c76522cd479e40e1b2c02ca3
1,008
package cfvbaibai.cardfantasy.engine.skill; import cfvbaibai.cardfantasy.data.Race; import cfvbaibai.cardfantasy.data.Skill; import cfvbaibai.cardfantasy.engine.CardInfo; import cfvbaibai.cardfantasy.engine.SkillEffect; import cfvbaibai.cardfantasy.engine.SkillEffectType; import cfvbaibai.cardfantasy.engine.SkillResol...
42
99
0.732143
8125fe8562db43b8bc2a11388ff570561d8abd32
381
package uk.co.staticvoid.gliderrider.business; import org.bukkit.Material; import uk.co.staticvoid.gliderrider.domain.Location; import uk.co.staticvoid.gliderrider.helper.LocationHelper; public class BlockEditor { public void changeBlockMaterial(Location location, Material material) { LocationHelper.toBu...
29.307692
79
0.795276
c445d97302f73badb72318d8258ca953165bc244
488
package org.openstreetmap.atlas.tags; import org.openstreetmap.atlas.tags.annotations.Tag; import org.openstreetmap.atlas.tags.annotations.TagKey; /** * OSM tracktype tag * * @author robert_stack */ @Tag(taginfo = "http://taginfo.openstreetmap.org/keys/tracktype#values", osm = "http://wiki.openstreetmap.org/wiki/...
21.217391
130
0.717213
f3dc70b3fdea9926188fb408daa2c217043cb6fd
2,065
package qst.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import qst.dao....
30.367647
119
0.756901
09469b7d9a71deab6905c69b7a12a1c942eab8df
22,809
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an * "...
40.513321
273
0.745758
e58a88ea68031430c437b0f061a2fe5666ba2812
6,601
package lib.ui; import io.appium.java_client.AppiumDriver; import org.junit.Assert; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import java.util.List; import static junit.framework.TestCase.assertTrue; /** * Класс в котором будут методы для поиска */ public class SearchPageObject extends...
42.314103
111
0.645508
1b2bc11e3c4ef75279e791ac537158fa4c8727af
1,715
package main.java.menu_combination_sum; import java.util.ArrayList; import java.util.List; public class MenuCombinationSum { /** * 思路: * step1 : 把菜单价格*100转成整数 * step2 : 回溯法 */ public List<List<Double>> getCombos(double[] prices,double target){ List<List<Double>> res = new ArrayL...
30.087719
112
0.52828
3a4d600d053003eb5cb1defd127d1f988de8b799
18,631
package de.hits.jobinstance.service.impl; import java.lang.management.ManagementFactory; import java.lang.management.RuntimeMXBean; import java.math.BigInteger; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; im...
32.122414
112
0.730342
ab8f611bc62924ac63cfaa059ee8a81be85de28c
721
package ru.stqa.pft.sandbox; import org.testng.Assert; import org.testng.annotations.Test; public class PointTests { @Test public void testDistance1() { Point p1 = new Point(1, 1); Point p2 = new Point(2, 2); Assert.assertEquals(Math.round(p1.distance(p2)*100.0)/100.0, 1.41); } ...
24.033333
75
0.595007
051ee1208a0a61f65e29e881a73de42e516e9eba
907
package com.danidemi.tutorial.tdd.mocks; public abstract class User { protected Long id; protected String password; protected boolean isLocked; protected int failures; protected String username; public void setLocked(boolean locked) { this.isLocked = locked; } void setUsername(String string) { this.use...
15.116667
50
0.70011
0e0d8c35a4b018f3efcc21f62f3299597317b85e
2,740
package com.lijingbo.mobilesafe.utils; import android.app.ActivityManager; import android.app.ActivityManager.RunningServiceInfo; import android.content.Context; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.List; public class ...
36.052632
120
0.666423
ed72be5ac777a7f261318005ac0f8742f59d17bb
1,449
package michael.leetcode.linkedlist; /** * Given a list, rotate the list to the right by k places, where k is * non-negative. * * For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->3->NULL. * * @author Michael Wan. * */ public class RotateList { public ListNode rotateRight(List...
23.370968
81
0.590752
d4b6f43b8bac935556aba2a48b908f685f7b12ec
92
/** * Route components and workflow test cases */ package com.feedsome.daq.test.component;
23
43
0.75
2137c64247234f40045f9cd9976a1a63a1978bd7
179
package com.jaakit.examplenativefingerlib.pojos; import java.io.Serializable; public class Error implements Serializable { public String code; public String Message; }
17.9
48
0.782123
145990d9b4f0d149f018b16afe08ff8838a1b1c0
549
/* * Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE file for licencing information. * * Created on 31-01-2014 * Author: K. Benedyczak <golbi@mat.umk.pl> */ /** * This package defines API interfaces intended for internal use only. The implementations * of those interfaces are n...
36.6
95
0.754098
de71df972da7b8cfdd918ea54153fa5021f83bcc
2,043
package com.kamarullah.spring.security.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationMana...
34.05
107
0.80372
2f29d6851b97adf53cde0fbbf5842aa8ead6255f
1,039
package br.com.gna.sgcondominio.feature.proprietario.cadastro; import org.springframework.stereotype.Component; import br.com.gna.sgcondominio.entities.ProprietarioEntity; import br.com.gna.sgcondominio.feature.proprietario.cadastro.model.CadastroProprietarioForm; import br.com.gna.sgcondominio.feature.proprietario.c...
33.516129
92
0.782483
649fdb5d4b65db341965d0ce40a56bc6e75b8f08
6,453
package gogreenclient.datamodel; import javafx.embed.swing.SwingFXUtils; import javafx.scene.image.Image; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.ParameterizedTypeReference; import org.springframework.core.io.ClassPathResource; import org.springframework.http.Htt...
32.923469
100
0.608554
6f227f72d0ab4f1943b3adf3a9f308309b7cd13e
2,303
package com.serviceflow.task.muhammadali.fizzbuzz.controller; import com.serviceflow.task.muhammadali.fizzbuzz.constant.GenericConstants; import com.serviceflow.task.muhammadali.fizzbuzz.entity.Response; import com.serviceflow.task.muhammadali.fizzbuzz.exceptions.InvalidRuleIdException; import com.serviceflow.task.muh...
39.706897
171
0.785063
8c6cf00204a0b4ee4c1baba248215560cdd74229
3,582
package io.github.parubok.stream; import javax.swing.tree.TreePath; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Objects; /** * Subclass of {@link TreePath} which adds some convenience methods. */ public class KTreePath extends TreePa...
28.656
117
0.615578
3f191c6b13bca50bb61725eedcd840c711a9386d
1,621
package com.szati.beszallito.Controller; import java.sql.*; import java.time.LocalDate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Az adatbázis kapcsolatot megvalósító osztály. * * @author szati */ public class ConnectionFactory { /** * A loggolást végző osztály. */ pri...
25.730159
87
0.642196
aa7be457042937649b8f0d6a35a0da372b3faf77
2,358
package com.cy4.betterdungeons.core.network.stats; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import com.cy4.betterdungeons.common.upgrade.UpgradeGroup; import com.cy4.betterdungeons.common.upgrade.UpgradeTree; import com.cy4.betterdung...
26.795455
96
0.737065
6d45ef0334d3384a8ad19592dd7a2b8d6b8ccff5
190
package com.sd.lib.selection.config; import com.sd.lib.selection.properties.ImageViewProperties; public interface ImageViewSelectionConfig extends SelectionConfig<ImageViewProperties> { }
23.75
86
0.852632
398efc8c832150c1ce58f566235c25151e3df6d2
1,395
/* * Copyright (c) 2020. https://rxmicro.io * * 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 o...
34.02439
90
0.713262
6cc0e04fc6984fbecf2e1bd8d391b3f8c10f4bf6
711
import java.util.Scanner; public class NIMRun { public static void main(String[] args) { String nim; nim = ""; Scanner scan = new Scanner(System.in); System.out.print("Masukkan NIM ANDA : "); NIM objNim = new NIM(); objNim.setNim(nim); System.out.println("Je...
32.318182
82
0.616034
3288e2257c031ba747b9387830c9ae1e75164863
2,796
package org.apache.commons.ognl; /* * 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, Ve...
24.743363
99
0.577969
9c79711081eb5cb685dd19143e17bff4d7d68fb7
921
package binarysearch; import java.util.ArrayList; import java.util.List; public class PartitionString { public int[] solve(String s) { int[] lastLoc = new int[26]; for (int i = 0; i < s.length(); i++) { lastLoc[s.charAt(i) - 'a'] = i; } List<Integer> ls = n...
27.088235
64
0.396308
c35ace0e4bc9b687b069560a512b69ba97f2ec17
2,548
/* * This file is part of the Twig Eclipse Plugin. * * (c) Robert Gruendler <r.gruendler@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ package com.dubture.twig.core.codeassist.context; import org.eclipse.dltk.core.Com...
32.253165
175
0.61303
4f2556f6c1b63a37c818015e003b02caf41c64a3
127
package e.a.a.a.y0.b; import e.a.a.a.y0.b.l; import e.a.a.a.y0.m.d1; public interface o0<T extends l> { T c(d1 d1Var); }
14.111111
34
0.614173
2127992020300d9b06891f8835a4eff96c1254d0
1,974
package cn.tzm.oa.service.impl; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import cn.tzm.oa.base.DaoSuppImpl; import cn.tzm.oa.domain.Forum; import cn.tzm.oa.service.ForumService; @Service @Transactional @SuppressWarnings("u...
23.783133
67
0.690476
7a9aafe30b94052ef3ad6470c094059bee75b0bd
143
package esercizio34; public class BoardingException extends Exception{ public BoardingException(String msg) { super(msg); } }
14.3
51
0.713287
2d07a2d12c0965f988e7420b34144205c592b90c
1,243
package de.undefinedhuman.engine.entity.ecs.component; import de.undefinedhuman.core.file.FileWriter; import de.undefinedhuman.core.file.FsFile; import de.undefinedhuman.engine.settings.Setting; import de.undefinedhuman.engine.settings.SettingsList; import de.undefinedhuman.engine.settings.SettingsObject; import de.un...
28.906977
92
0.724859
443567901acc7967704c9e1108cf3f16e0edf6f3
238
package net.senneco.funlib.sample.data; import android.net.Uri; /** * Created by senneco on 07.06.2014 */ public class Uris { public static final Uri REPOSITORIES = Uri.parse("content://net.senneco.funlib.sample/repositories"); }
21.636364
105
0.731092
6869e8d137b6afc6a49c1d19104349a5ad3f0449
6,283
package com.petclinic.auth.User; import com.petclinic.auth.Exceptions.NotFoundException; import com.petclinic.auth.Mail.Mail; import com.petclinic.auth.Mail.MailService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.springframework.bean...
32.220513
105
0.684864
af19ca0f622d54fbcb99e93eddc5efd24706d8d6
598
package com.stockmaga.back.services.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.stockmaga.back.models.CA; import com.stockmaga.back.repositories.CARepository; import com.stockmaga.back.services.ICAService; @Ser...
22.148148
62
0.794314
3a62e382e9491c2fff7163e221c7e0688af96f54
9,228
package projector.controller; import javafx.fxml.FXML; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; import javafx.scene.text.Text; import javafx.util.Callback; import projector.application.ProjectionType; import projector.controller.song.SongController; import java.io.BufferedWriter; im...
40.121739
117
0.516472
03f3be44538ccc61c060b335aa4d588b32be8dc0
3,601
/* * Copyright 2019 nwillc@gmail.com * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL...
28.808
488
0.759511
24a8d4ff7851787448252066bda79c9fe3649051
4,489
package org.batfish.z3.expr.visitors; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import java.util.List; import java.util.Map; import java.util.function.Function; import org.batfish.datamodel.AclIpSpace; import org.batfis...
35.626984
99
0.746491
2b4416af01f755c7897062445d470ec1851e9234
6,272
package com.accountingmanager.Base; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.F...
35.636364
125
0.638233
9b02c7b03d8e4986d4161d15992c123d64cd358e
1,398
package ru.noties.di.app; import android.app.Activity; import android.app.Application; import android.support.annotation.NonNull; import android.support.v4.app.FragmentActivity; import javax.inject.Inject; import ru.noties.debug.AndroidLogDebugOutput; import ru.noties.debug.Debug; import ru.noties.di.Configuration; ...
24.526316
76
0.681688
d3f9366a2ee775691916e5c5964d6bee05b242fb
7,906
package com.xialan.beautymall.view; import android.app.Dialog; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.CardView; import android.support.v7.widget.SearchView; import android.support.v7.widget.Toolbar; import android.view.Display; import android.v...
33.079498
128
0.621427
7578593c3659eb4c8f538487b41c7e7ec7e2d834
901
package xyz.tonimartinez.cleanandroidapiclient.data.repository.api.entity.mapper; import xyz.tonimartinez.cleanandroidapiclient.data.repository.api.entity.ApiPicture; import xyz.tonimartinez.cleanandroidapiclient.domain.model.Picture; /** * Created by Toni Martinez on 2/12/15. * toni.martinez.carballo@gmail.com */...
29.064516
84
0.716981
29dd07c413dd530b5f08dfd049b659140a9514a9
400
package devopsdistilled.operp.client.account.models.observers; import java.util.List; import devopsdistilled.operp.client.abstracts.EntityModelObserver; import devopsdistilled.operp.server.data.entity.account.ReceivableAccount; public interface ReceivableAccountModelObserver extends EntityModelObserver { public vo...
28.571429
77
0.8575
6bdcaf32cab61fca5745b442704a34f31710c295
1,146
package com.ryo.happymoment.recommend.adapter; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; /** * Created by zhouhq on 2018/1/7. */ public class RecommendAdapter extends PagerAdapter { Context ...
21.222222
79
0.662304
f6d0f28dc491cd34d7edc58decf64d8fc697fad9
1,736
package com.clsaa.janus.admin.entity.vo.v1; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.sql.Timestamp; import java.util.List; /** * API信息视图层对象 * * @author 任贵杰 812022339@qq.com * @since 2018-05-17 */ @Getter @Setter public class ApiV1 implements Serializable { priva...
17.36
70
0.578917
576c90ca41303a9412b70fe07b8958a6fe82f7a5
208
package com.onespatial.dwglib.objects; public class View extends NonEntityObject { public View(ObjectMap objectMap) { super(objectMap); } public String toString() { return "VIEW"; } }
14.857143
43
0.682692
9ddc09c3ff49eea1e17ce3fe3708c16b151bd92f
1,854
package org.bukkit.entity; /** * Represents a boat entity. */ public interface Boat extends Vehicle { /** * Gets the maximum speed of a boat. The speed is unrelated to the velocity. * * @return The max speed. */ double getMaxSpeed(); /** * Sets the maximum speed of a boat. Must be nonnegative. Defa...
24.72
81
0.662891
616b1a116eb40b1652c117a379f06edb2b392e12
1,477
package com.cn.lgf.common.databinding; import android.util.SparseArray; import androidx.lifecycle.ViewModel; /** * @ProjectName: LgfCommon * @Package: com.cn.lgf.common.databinding * @ClassName: DataBindingConfig * @Description: 将 DataBinding 实例限制于 base 页面中,默认不向子类暴露, * 通过这样的方式,来彻底解决 视图调用的一致性问题, * 如此,视图刷新的安全性将和基...
25.033898
86
0.687881
6cdec718d943892b7bdef4f019c65947121e95b3
631
package mcjty.questutils.network; import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper; public class QuestUtilsMessages { public static SimpleNetworkWrapper INSTANCE; public static void registerNetworkMessages(SimpleNetworkWrapper net) { INSTANCE = net; // Server side...
35.055556
141
0.763867
69535a5b9ff82765e72b41e9641201a87e43f692
2,545
/* * Copyright (C) 2015-2020 figurefix <figurefix@outlook.com> * * This file is part of prac, * prac is free software released under the MIT license. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to...
26.510417
76
0.702554
2c805d12a962bf4696658960ec13edea131f912d
115
package access; public class Widget { public Widget() { System.out.println("Widget created"); } }
14.375
45
0.617391
42bbad6ec99c6558eff448c029fece675ef1df38
1,957
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2018 Synacor, Inc. * * 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, * version 2 of the License. * ...
32.616667
93
0.743485
c130ce6f62ef4a93fbd81d0351afb14502d1a366
4,943
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
28.572254
101
0.66842
022daebc355186f49e1d81163a255cfab62a3271
103
package aula12b; public class Aula11b { public static void main(String[] args) { } }
12.875
44
0.601942
0802c1c7231bf9ba58826ffe873b14c036815173
1,160
package com.mhc.base; import com.alibaba.fastjson.JSON; import org.testng.annotations.Test; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream...
25.217391
70
0.65431
3eec3271cd0dbcf6ee32d4463897c277f6578b26
5,263
/** * Copyright 2009 Google 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 t...
36.804196
100
0.742732
d26b226cec8658af0ba960a676a48360d631fe75
5,436
/* * 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 framework.problem.nqueens; import framework.problem.struct.Status; import framework.problem.cannibals.SolveCannibals; import j...
26.38835
79
0.492458
d0118d7975e0b0d06e4fd4280f454fa7ae3edb08
5,156
/** * Copyright (c) 2015 Intel Corporation * * 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 ...
34.373333
109
0.754073
be1996a6e15e626711099b0b8eedb7a6c771886a
1,347
package com.gitee.gen.controller.vo; import com.gitee.gen.common.GeneratorParam; import java.util.List; /** * @author tanghc */ public class GenerateHistoryVO { /* { "datasourceConfigId": 1, "tableNames": [ "datasource_config", "generate_history" ], "templateConfigIdList": ...
20.104478
64
0.643653
0d4a8b94f0c7fc52a8fad5c26aa49d29ab68f5f1
4,337
/* * 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 ...
35.54918
94
0.631543
18511d7cfa480d6fd4210f31bf2be01fce48ceac
1,888
/* * Copyright (C) 2016 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...
25.173333
91
0.647775
211207bfbac8ff15ee07b6851aa1a99311411949
863
package jp.co.tdc.line_message_sender.service; import jp.co.tdc.line_message_sender.line.bot.client.LineMessagingClient; import jp.co.tdc.line_message_sender.line.bot.model.PushMessage; import org.springframework.retry.annotation.Backoff; import org.springframework.retry.annotation.Retryable; import org.spring...
39.227273
100
0.821553
3d9fcf57bcdd7f17ee41eb7d6e1801ef4009b808
645
package org.xmpp.extensions.condesc; import org.xmpp.extensions.AbstractExtensionElement; /** * A <tt>ExtensionElement</tt> that represents a "transport" child element. */ public class TransportExtension extends AbstractExtensionElement { /** * The name of the "transport" element. */ public static...
26.875
78
0.691473
657969565cddac29f77158602951c82c4a89e5b7
6,737
package graph; // Prateek Mathur // An undirected graph implementation using Adjacency List representation import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; public class UndirectedGraph { // Inner class to represe...
22.456667
94
0.634852
08cce46d4190effb27c7d8e41b28a6dfbcd9df72
1,354
package org.springframework.boot.convert; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Set; import org.springframework.core.convert.ConversionService; import org.springframework.core.convert.TypeDescriptor; import org.springframework.core.convert.converter.Condition...
30.088889
84
0.819055
afc88aad8b0a900e4c612b7434e0f56b5c7787a0
2,572
package com.example.school.features.students.presentation.screens.student.studentList.adapter; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.example.school.databinding.StudentListItemBinding; import ...
40.825397
129
0.775272
748df9c64efd874cb634adb5c5fb803f0ccd692f
337
package rml.comparator; import java.util.Comparator; import rml.model.po.Tmenu; public class MenuComparator implements Comparator<Tmenu> { public int compare(Tmenu o1, Tmenu o2) { int i1 = o1.getCseq() != null ? o1.getCseq().intValue() : -1; int i2 = o2.getCseq() != null ? o2.getCseq().intValue() : -1; retur...
21.0625
63
0.673591
18681aebde61c89f41fc66989ef06d1c51a46b5b
700
package org.codehaus.mojo.build.git; import org.apache.maven.scm.log.ScmLogger; import org.codehaus.plexus.util.cli.StreamConsumer; /** * @see GitBranchParseCommand * @author Antony Stubbs */ public class GitBranchParseConsumer implements StreamConsumer { private ScmLogger logger; private StringBuffer command...
21.212121
63
0.72
f95da4883ddd77309aa521b92ff3c3eb07246ef5
3,329
/////////////////////////////////////////////////////////////////////////// // __ _ _ ________ // // / / ____ ____ _(_)____/ | / / ____/ // // / / / __ \/ __ `/ / ___/ |/ / / __ // // ...
35.795699
75
0.381196
3de4f120e199959de7023b3d05af09b1524279b8
8,893
/* * Copyright (c) 2015-2019 TraceTronic GmbH * * SPDX-License-Identifier: BSD-3-Clause */ package de.tracetronic.jenkins.plugins.ecutest.util.validation; import de.tracetronic.jenkins.plugins.ecutest.filter.RefFilterLexer; import de.tracetronic.jenkins.plugins.ecutest.filter.RefFilterParser; import de.tracetronic...
36.446721
118
0.63342
0692fd9f5fad64d16691bd11064ec872d92721ef
285
package models; /** * Created by sabyasachi.upadhyay on 27/08/16. */ public class RegisteredUser { public String email; public String password; public RegisteredUser(String email, String password){ this.email = email; this.password = password; } }
17.8125
57
0.663158
41388d5bd1cc61481f19a2102c53801d0e575b86
4,279
package com.softicar.platform.db.sql.expressions.numeric; import com.softicar.platform.db.sql.expressions.ISqlExpression; import com.softicar.platform.db.sql.expressions.ISqlExpression1; import com.softicar.platform.db.sql.expressions.ISqlExpression3; import com.softicar.platform.db.sql.expressions.bool.ISqlBooleanExp...
48.078652
193
0.764197
6efccfb61257607c3e1ecc857cebf622d385170d
7,981
package com.thomaskioko.podadddict.app.ui.adapter; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.support.design.widget.BottomSheetDialogFragment; import android.support.v4.app.FragmentActivity; import android.support.v7.widget.RecyclerView; import android.view.L...
34.549784
134
0.654304
54b054f426bfb3f9cddd502cad3e34f9b3807c90
892
package duke.logic.message; public class InventoryMessageUtils { public static final String MESSAGE_COMMIT_ADD_INVENTORY = "New ingredient added"; public static final String MESSAGE_COMMIT_EDIT_INVENTORY = "Ingredient edited"; public static final String MESSAGE_COMMIT_REMOVE_INVENTORY = "Ingredient(s) remo...
63.714286
103
0.795964
49a7746c4672332de8b320fe0f241e317db95688
7,336
package me.nunum.whereami.fragments; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.wid...
35.269231
134
0.656625
cc70933ffcc2807e955dd704fdbb096ccd2ae308
3,503
package org.barrak.immocrawler.batch.crawler.impl.immoregion; import org.apache.http.HttpStatus; import org.barrak.immocrawler.database.document.ProviderEnum; import org.barrak.immocrawler.database.model.ArticleDocument; import org.barrak.immocrawler.batch.crawler.IDetailsCrawler; import org.barrak.immocrawler.batch.u...
40.264368
109
0.666286
149cf55255af9314cd0d484ffbea8228c2758856
7,034
package org.trv.alex.flashlight; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Color; import android.preference.PreferenceManager; public class AppPreferences { public static final String PREF_TURN_ON_FLASHLIGHT_ON_START = "prefTurnOnFlashlightOnStart"; pub...
43.9625
104
0.679414
85c96a5944a8d79cc65a623f88e09a2fa932f591
4,660
/* * Copyright (c) 2020 ForgeRock. All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package org.forgerock.authenticator.sample.camera; import androidx.annotation.NonNull; import androidx.camera.core.ImageAnalysis; im...
36.692913
119
0.680258
723f4d3f7826980ce2c5718ec1afa3161a87c989
3,847
package myoidc.server.infrastructure.oidc; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.List; /** * 2016/12/25 * * @author Shengzhao Li */ public abstract class OIDCUtils { /** * 默认的 refresh_token 有效时间(秒) ...
21.254144
85
0.549519
1f53f3f3dbdd1772ecc103f30e03d3d78e058761
2,786
/* * streamq: MarkedQ.java * * Copyright 2019 Oleksiy Voronin <me@ovoronin.info> * * 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 *...
29.638298
103
0.671931
723a522fd7569a94ec3b78de0a0bb1a89735c759
1,818
package lib.ui; import io.appium.java_client.AppiumDriver; public class WelcomePageObject extends MainPageObject { private static final String STEP_LEARN_MORE_LINK = "id:Learn more about Wikipedia", STEP_NEXT_BUTTON = "id:Next", STEP_NEW_WAYS_TO_EXPLORE = "id:New ways to explo...
30.813559
131
0.690869
2e03bd7545cc58b1656fc6e01bb240f91a06ec90
4,911
/* * Copyright 2015-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
35.586957
104
0.713908
a34ede99dfbfe666ef480d8a33bb75e4ba70d080
5,668
package com.MysteryGroup; import com.MysteryGroup.AllListeners.Listeners; import com.MysteryGroup.AllListeners.MainListener; import com.MysteryGroup.Commands.Login; import com.MysteryGroup.Commands.Register; import com.MysteryGroup.Lang.Lang; import com.MysteryGroup.Objects.User; import com.MysteryGroup.TimeOuts.TimeO...
36.805195
123
0.594213
2180ef916e21a4900923bb23e39eb3a3cf9d79a6
761
package com.ecaray.basicres.util; import android.content.Context; import com.ecaray.basicres.BuildConfig; /** * @author Carl * @version 1.0 * @since 2018/3/8 */ public class Utils { private static Context sContext; private static BuildConfig sBuildConfig; private Utils() { throw new Unsupp...
19.512821
87
0.634691
6d656ebe3e5b6a3841c01f04af5bf87501e0cd02
1,790
package org.epnoi.storage.system.column; import org.epnoi.model.utils.ResourceUtils; import org.epnoi.storage.system.column.domain.TermColumn; import org.epnoi.storage.system.column.repository.BaseColumnRepository; import org.epnoi.storage.system.column.repository.TermColumnRepository; import org.junit.Assert; import ...
30.862069
91
0.715642
1651bc74e9125d9851dda10f641c70805838ef41
13,245
package com.maloga.maloga_gps.splash; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.core.app.ActivityCompat; import android.Manifest; import android.content.Context; import android.content.Intent; import a...
41.390625
156
0.609438
c1364934bfe807a5ee72921ca4e7e04dc1e25ed5
66
public interface Printable { public String getValue(); }
13.2
29
0.666667
14b5cb06a72ca8c089e218d22e4e2cff5df73e4a
8,932
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.02.05 at 04:00:...
26.116959
127
0.560569
d901018435d931f414d29be21273605c87db7866
1,510
class Solution { public List<List<Integer>> fourSum(int[] nums, int target) { List<List<Integer>> li = new ArrayList<>(); if(nums==null || nums.length<4) return li; Arrays.sort(nums); int low,high,mid; //Set<List<Integer>> setlist = new ...
29.607843
84
0.338411
6d695190876fe7529374e776e925152b27fe465f
20,240
package com.microsoft.azure.sdk.iot.device.transport.amqps; import com.microsoft.azure.sdk.iot.device.CustomLogger; import com.microsoft.azure.sdk.iot.device.DeviceClientConfig; import com.microsoft.azure.sdk.iot.device.IotHubConnectionString; import com.microsoft.azure.sdk.iot.device.MessageType; import com.microsoft...
40.238569
205
0.62337
82fcd8b6626187abbf5c116669c5b60017c6624c
758
package eleme.openapi.sdk.api.entity.finance; import eleme.openapi.sdk.api.enumeration.finance.*; import eleme.openapi.sdk.api.entity.finance.*; import java.util.*; import java.math.BigDecimal; import com.fasterxml.jackson.annotation.JsonFormat; public class HeadQuery{ /** * 入账日期 */ @JsonFormat(loc...
22.294118
52
0.646438
99eccab2cab1e01ed0e3981d644650cf0fbd35fd
624
package com.xys.scw.enums; public enum OrderStatusEnumes { UNPAY((byte)0,"未支付"), CANCEL((byte)1,"已取消"), PAYED((byte)2,"支付成功"), WAITING((byte)3,"等待发货"), SEND((byte)4,"已发货"), SENDED((byte)5,"已送达"), SUCCESS((byte)6,"交易完成"), FAIL((byte)7,"交易未完成"); private byte code; private String status; public byte getCod...
17.828571
54
0.658654
1a71ded0bf7db0af712b4e893a72e317ffb1b770
1,410
package tr.havelsan.ueransim.ngap0.ies.sequence_ofs; import tr.havelsan.ueransim.ngap0.core.*; import tr.havelsan.ueransim.ngap0.pdu.*; import tr.havelsan.ueransim.utils.bits.*; import tr.havelsan.ueransim.utils.octets.*; import tr.havelsan.ueransim.ngap0.ies.bit_strings.*; import tr.havelsan.ueransim.ngap0.ies.octet_...
32.790698
125
0.77305
e01859264566069223ec6b7019bbb0ed34fcbb45
970
package kgc.day07; import java.awt.Graphics; import java.awt.Image; public class Bullet { private int x; private int y; private int speed; private Image img; private int width; private int height; public void paint(Graphics g){ g.drawImage(img, x, y, width, height, null); } public void move(...
15.645161
47
0.605155
4e0870a4ea4ace4e3bf5fe39934ddafaff9b55fd
6,425
package com.time.nlp; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 字符串预处理模块,为分析器TimeNormalizer提供相应的字符串预处理服务 * * @author 曹零07300720158 * */ public class stringPreHandlingModule { /** * 该方法删除一字符串中所有匹配某一规则字串 * 可用于清理一个字符串中的空白符和语气助词 * * @param target 待处理字符串 * @param rules 删除规则 ...
23.973881
89
0.589572
011fb6c7ade7b1026c19bffb019439473b1e3b51
17,337
/* * Copyright 2015 Ben Manes. 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 required by applicab...
33.861328
100
0.658591