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
5c02af2f6d83c892e02f05bf55d31caec04ca65d
4,013
package app.taxipizzastaff.services; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.IBinder; import android.util.L...
27.29932
106
0.530526
9122b032e1a26db6d419ce5e75f90ac7da41ddb7
24,134
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2020 the original authors 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 ma...
27.99768
115
0.690437
63ad42684a80e80494e69306a4f4e755908d7f1b
359
package ch.thn.util.gui.component.table; /** * @author Thomas Naeff (github.com/thnaeff) * */ public interface SimpleTableColumnListener { /** * Is fired if anything on a {@link SimpleTableColumn} (title, renderer, ...) has changed * * @param column The column which has changed */ public void colum...
21.117647
91
0.699164
6a14acbc9dfec05f161fbb934675fd4a5b508318
88,785
/* * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.javafx.css; import com.sun.javafx.css.parser.CSSParser; import javafx.application.Appl...
38.618965
194
0.530653
998af3b982b2342feb08dae845ead4fee865f4d1
1,490
package advent; import java.io.IOException; public class Day17 { private static final int FINAL_VALUE_A = 2017; private static final int FINAL_VALUE_B = 50_000_000; public static void main(String[] args) throws IOException { int stepSize = Integer.parseInt(FileUtility.fileToString("input/17.txt")); // Pa...
22.575758
86
0.663758
26c8d1eb89a5de3f069adb6c58ee49aef1acd829
8,342
package edu.uoregon.casls.aris_android.models; import android.content.Context; import android.util.Log; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import edu.uoregon.casls.aris_android.GamePlayActivity; import edu.uoregon.casl...
35.497872
196
0.748382
dd5c027d6a2cc8c53ea699676e259d34a522d500
546
package net.energy.exception; /** * 队列任务未正常返回时抛出此异常 * * @author wuqh * */ public class TaskNotReturnException extends RuntimeException { private static final long serialVersionUID = -5775094087402819132L; public TaskNotReturnException() { super(); } public TaskNotReturnException(String...
16.545455
69
0.684982
e59343eed2cd4390c49140c62c96b7517694aaf2
262
package com.hughbone.playerpig; public interface PlayerPigExt { void setPlayerName(String name); void setPlayerUUID(String uuid); String getPlayerName(); String getPlayerUUID(); boolean isPlayerPig(); void setPlayerPig(boolean setPP); }
23.818182
37
0.732824
23637ce6586bbb137d762d20d4a2ffe27634d7a2
483
package nl.weeaboo.vn; import org.junit.Assert; import nl.weeaboo.vn.math.Vec2; /** * General purpose assertions. */ public final class ApiTestUtil { public static final double EPSILON = 0.001; private ApiTestUtil() { } /** * Fuzzy equals for {@link Vec2}. */ public static void ass...
18.576923
83
0.641822
80f27b039307b3dad4b8374f8fc9d4ed39dbf6f8
665
package org.tain; import org.tain.working.BookObjectWorking; import org.tain.working.ReflectWorking; public class KieaAnnotation04Main { private static boolean flag = true; public static void main(String[] args) throws Exception { if (!flag) job01(); // reflect if (flag) job02(); // BookObject and PageO...
22.931034
69
0.554887
1c651de7f772c54cffa2cd33093538c7de7f5e08
1,656
package com.netcompany.fagarbeid.aspektsikkerhet; import com.netcompany.fagarbeid.aspektsikkerhet.security.Secured; import com.netcompany.fagarbeid.aspektsikkerhet.security.predicates.SecurityPredicate; import java.lang.reflect.Method; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors...
42.461538
151
0.681763
e6e5d7898bce3433e26872eea46b431a82396b71
1,741
package org.jdfs.tracker.handler; import org.apache.mina.core.session.IoSession; import org.apache.mina.handler.demux.MessageHandler; import org.jdfs.commons.request.JdfsRequestConstants; import org.jdfs.tracker.request.FileInfoResponse; import org.jdfs.tracker.request.ReadFileInfoRequest; import org.jdfs.tracker.serv...
30.017241
74
0.780011
457a4f8c17b3278427a63ab70fcf70d6dd214ed8
300
package in.bugzy.data.remote.model; public class LoginData { protected String token; public LoginData(String token) { this.token = token; } public String getToken() { return token; } public void setToken(String token) { this.token = token; } }
16.666667
40
0.61
215c58a31493afe6b640f4a0698e8a31b140f67c
3,874
/* * Copyright 2018-present MongoDB, 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 ag...
28.277372
93
0.7016
632746ae1c82ad0d71d98ed22a161279a9feeacb
4,608
package org.observe; import java.util.Queue; import java.util.concurrent.atomic.AtomicBoolean; /** * A default implementation of observable * * @param <T> The type of values this observable provides */ public class DefaultObservable<T> implements Observable<T> { /** * Listens for subscriptions to an observable...
32.914286
134
0.720269
62d25e249c0f9f2b010aff23a8f79c40a6466b5e
1,166
package io.soluble.pjb.script; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import junit.framework.TestCase; public class Te...
26.5
81
0.651801
998bd7876a017caeb561c4a388b7a45bb9ba5752
939
package com.lezhin.test.vo; import java.io.Serializable; public class UserVO implements Serializable { /** * */ private static final long serialVersionUID = 3564282308084883008L; private int userId = 0; private String name = null; private String showName = null; private String api...
18.78
70
0.623003
88a5ef2925efc2919a83a519da7ef2e226be5da7
3,814
package com.example.demosecurityweb; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configu...
33.752212
107
0.753802
45bc600ba77e219042b9c62146b0797bd236ecc8
5,861
/* * Copyright (c) 2021 - for information on the respective copyright owner * see the NOTICE file and/or the repository https://github.com/carbynestack/amphora. * * SPDX-License-Identifier: Apache-2.0 */ package io.carbynestack.amphora.service.calculation; import static io.carbynestack.castor.common.entities.Tupl...
42.471014
103
0.722744
2963fa02a975fad7d85df4112e105fe257da6206
3,601
/* * 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.460674
112
0.709803
d128a1ffa71a0c399f7a6266d6b52cc1256c6c31
654
package com.taoyuanx.auth.token.exception; /** * token失效异常 */ public class TokenCancelException extends RuntimeException { private static final long serialVersionUID = 8793672380339632040L; private Integer errorCode; public TokenCancelException(String msg) { super(msg); } public Token...
21.096774
70
0.655963
faa939b4350f539b8803e4f04d8df53f33b2a54a
1,194
package org.opencds.cqf.cql.engine.elm.execution; import org.opencds.cqf.cql.engine.exception.InvalidOperatorArgument; import org.opencds.cqf.cql.engine.execution.Context; import org.opencds.cqf.cql.engine.runtime.DateTime; import org.opencds.cqf.cql.engine.runtime.TemporalHelper; /* timezoneoffset from(argument Date...
31.421053
103
0.710218
e4224c6757b8e3a3163df1992b1c7b9502d21943
418
package fricore; public class FrLiteralArr4 extends FrLiteral { public FrLiteralArr4(FrVMImage img, FrBytePointer cs, FrBytePointer cse) { FrBytePointer ct; int a, n; int i, j, k; this.img=img; n=cse.sub(cs)/4; a=img.tryAllocData(n*4); this.addr=img.vaData+a; ct=new FrBytePointer(img.sec...
15.481481
53
0.636364
9407ec39da573fe4fbb28c78b1cc2efb156056f3
533
package cn.org.autumn.modules.test.site; import cn.org.autumn.menu.Menu; import cn.org.autumn.base.ModuleMenu; import org.springframework.stereotype.Service; /** * 测试例子 * * @author User * @email henryxm@163.com * @date 2021-08 */ @Service @Menu(name = "测试例子", order = 0, ico = "fa-file-code-o") public class Test...
22.208333
59
0.628518
22000bd38fe449d8a729fdec4aef710b747c02b9
1,936
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Comparator; import java.util.List; public class p11_Students_Joined_to_Specialties { public static void main(String[] args) throws IOException { BufferedReader reader = ...
29.784615
92
0.585227
03c2af0af802cf9e8e154c8d201ac8556fbf1213
677
package ticketsystem.service.factory; import ticketsystem.service.CustomApplicationConfig; import ticketsystem.service.logic.ITeamManager; import ticketsystem.service.logic.TeamManager; import ticketsystem.service.repository.team.ITeamContext; public class TeamManagerFactory { public static ITeamManager CreateTea...
37.611111
110
0.799114
b216107b33be81ce9637c51b085f8c471845284b
1,721
package com.wangfan.ioc.overview.container; import com.wangfan.ioc.overview.domain.User; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.ListableBeanFactory; import org.springframework.beans.factory.support.DefaultListableBeanFactory; import org.springframework.beans.fact...
36.617021
105
0.751888
3a8222435e37676834bf077c27689b33dfa5e2b1
1,704
package com.codimiracle.service.loveletter.controller.api.v1; import com.codimiracle.service.loveletter.config.SpiderCrawledDataConfig; import com.codimiracle.service.loveletter.entity.Theme; import com.codimiracle.service.loveletter.model.Page; import com.codimiracle.service.loveletter.model.RestDataModel; import com...
36.255319
119
0.758216
b578f472cd6ec076981c724fb82a7261cc00c2fe
12,205
package cn.xfangfang.flyme6; /** * Created by FANGs on 2017/6/9. */ import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Build; import android.suppor...
29.768293
112
0.598935
ca85ef7373e622f61e7f11d3708627d3c69161f9
351
package controller; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.layout.AnchorPane; import view.ViewServices; public class RulesController { public Button buttonBack; public AnchorPane mainPane; @FXML public void initialize(){ ViewServices.setBackToAccueil...
20.647059
60
0.752137
c47405aeec6f5083d1c06d0736e0ba7e0fe062e6
2,670
package exa.free.ag; import android.content.Context; import android.content.SharedPreferences; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; ...
33.797468
132
0.712734
c42b58acd3a891086f43e6976b047216d0e15dcd
4,019
package net.backinclassic.procedures.player_relation; import net.minecraft.world.server.ServerWorld; import net.minecraft.world.World; import net.minecraft.world.IWorld; import net.minecraft.util.text.StringTextComponent; import net.minecraft.util.math.vector.Vector3d; import net.minecraft.util.math.vector.Vector2f; i...
48.421687
117
0.704902
5be554d24410dd83b54c226c6d126699c7badc81
482
package com.app.system.common.entity; import com.app.system.common.h; import com.google.gson.f; public abstract class Notify { static final String REC_STATUS = "REC_STATUS"; static final String SCREEN_STATUS = "SCREEN_STATUS"; static final String WIFI_STATUS = "WIFI_STATUS"; public abstract String a(); ...
20.083333
69
0.665975
ef07de7b3a3e809fa0511f51c933f32471dfe118
4,688
package pro.taskana.impl; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.IsEqual.equalTo; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static or...
39.728814
94
0.799061
ee20cf9cacc9c34ef4134268c04ab1b69917e039
2,163
package org.datasyslab.geospark.rangeFilter; import java.io.Serializable; import java.util.ArrayList; import org.apache.spark.api.java.function.Function; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; import com.vividsolutions.jts.geom.GeometryFactory; import com.vividsol...
25.151163
101
0.705502
32b7984843d8e547a80b73939b54a13eb3f49ded
6,792
/* * 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 ...
49.941176
159
0.719965
90165e9af2df35677ccf72ca435c38154a14232d
457
package com.leyou.item.pojo; import lombok.Data; import javax.persistence.Id; import javax.persistence.Table; @Data @Table(name="tb_spu_detail") public class SpuDetail { @Id private Long spuId;// 对应的SPU的id private String description;// 商品描述 private String specTemplate;// 商品特殊规格的名称及可选值模板 private S...
24.052632
50
0.741794
39dcfcce9ccd58a238467ecef5a271013df49b2d
3,103
package com.xwintop.xJavaFxTool.controller.epmsTools; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import java.net.URL; import java.util.ResourceBundle; import com.xwintop.xJavaFxTool.services.epmsTools.TextToHibernateXmlService; import com.xwintop.xJa...
32.663158
136
0.802772
ba8a4c0e3672f06b8d56467e0309f76e33057c04
14,574
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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 * * http://www.apache.org/lice...
36.80303
110
0.560519
ca6bf29656a23a6b523a81fbe5637eb3d35b78ae
2,035
package bitwise.gui.imageview; import java.io.IOException; import javafx.beans.property.ReadOnlyDoubleProperty; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.image.Image; import javafx.scene.image.ImageV...
27.876712
104
0.714005
bb234fa0f90677990e5a057fdf1457c15839475a
350
package cn.czfshine.wechat.emoji; import java.util.HashMap; public class EmojiPool { private static HashMap<String,Emoji> allEmoji=new HashMap<>(); public static Emoji getEmoji(String md5){ return allEmoji.getOrDefault(md5,null); } public static void add(String md5,Emoji emoji){ all...
20.588235
66
0.691429
8d3386e7456320fc322ebc4444ed11a3b957528a
2,568
import javafx.event.ActionEvent; import javafx.scene.control.Button; import javafx.scene.control.TextField; import javafx.scene.input.KeyEvent; public class CalculatorController { public TextField text; private int x; private String operation; public void inputDigit(ActionEvent actionEvent) { ...
28.533333
72
0.492601
eaad8454d538cb95cbe29b63ccbd6fea9d067583
1,502
/* * (C) Copyright 2021 Radix DLT Ltd * * Radix DLT Ltd 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
25.896552
68
0.756991
b3eee16bdd7e03d571b559fe9156c4552fa0471e
6,541
/** * Copyright 2009-2018 PrimeTek. * * 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 ...
28.942478
118
0.574989
6bf797aa426d0a98f3f7a774d20249a57a08d9f4
13,357
package org.orienteer.core; import com.orientechnologies.orient.core.metadata.schema.OClass; import com.orientechnologies.orient.core.metadata.schema.OClassImpl; import com.orientechnologies.orient.core.metadata.schema.OProperty; import com.orientechnologies.orient.core.metadata.schema.OType; import org.apache.wicket....
30.356818
147
0.706296
53d1e103ff407d0e2efd28f522a7423cc17aa61a
2,742
/* * Copyright 2010-2012 VMware and contributors * * 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 applicabl...
33.851852
116
0.761123
0b04d5c12aeaf4d76acb752c3d481049ab0f9270
1,030
package org.jglr.sbm.instructions; import org.jglr.sbm.InfoPool; import org.jglr.sbm.Opcodes; import org.jglr.sbm.types.Type; public class SpecConstantBoolInstruction extends ResultInstruction implements ResolvableInstruction { private final long resultTypeID; private final boolean defaultValue; private T...
28.611111
102
0.715534
3557d444be47c87f3ec8b9efe1bf7a383e087751
3,663
package Hashtable; import java.util.HashMap; import java.util.Hashtable; import java.util.Map; import java.util.Scanner; public class Studentdetails { static Scanner sc=new Scanner(System.in); public static void main(String[] args) { Hashtable<Integer,Student>atable= new Hashtable<Integer,Student>(); Stude...
24.098684
133
0.650287
afb34315260aca0e88cb4b83a75163050dd04c83
2,201
/* * 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...
35.5
92
0.715584
475ad1f0765754886cd6c59c1d3d58ee633b39be
485
package cn.edu.gdut.douyintoutiao.net; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Url; @Deprecated public interface ImageApi { @GET Call<ResponseBody> getImg(@Url String url); /** * 单例内部类 */ class Singleton { static ImageA...
17.962963
90
0.68866
2b9e96b50bdb12f6d823d28afa554be410f62a40
193
class Solution { public int XXX(int x) { long n = x; while(n*n>x){ n = (n+x/n)/2; System.out.println(n); } return (int)n; } }
13.785714
34
0.388601
459acc98ae3ceae1b0169caab00c410773514181
1,106
/* * Copyright 2018 ARP Network * * 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...
31.6
75
0.73689
877f50a517f01ae32b042a502878ee6dc0075805
832
package de.larsgrefer.sass.embedded.importer; import org.junit.jupiter.api.Test; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; class CanonicalizationHelperTest { @Test void resolvePossiblePaths_noExt() { List<String> strings = CanonicalizationHelper.resolvePossibl...
26
95
0.620192
dfef48a0329fedec4b39b87a623b3b85fd67dc62
1,227
class SimpleLocal { class Inher {} public int field = 15; public void inc(int x) { class Local3 { public int anonField = 4; public void run (int a) { int x = 15; // omp parallel { int foo = anonField + this.anonField + x + a + field; foo = anonField; foo = this.anonField; f...
15.531646
62
0.440098
825a7a7131bc8b7b1e18f31a517d16630187c01e
48
package org.w3c.dom.ls; public class Toto { }
8
23
0.6875
f834ea6e34b33b547ee60cbff99cd3d85dfc83ba
1,552
package com.alibaba.rocketmq.filtersrv.stats; import com.alibaba.rocketmq.common.ThreadFactoryImpl; import com.alibaba.rocketmq.common.constant.LoggerName; import com.alibaba.rocketmq.common.stats.StatsItemSet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.Executors; im...
31.673469
95
0.721005
fda99049e7c3750457823dc6850b8a4d80ff9256
1,205
package com.lachesis.support.common.util.crypt.bootstrap; import java.io.PrintStream; import com.lachesis.support.common.util.crypt.CryptUtils; import com.lachesis.support.common.util.exception.CryptException; public class PasswordCryptTool { public static void main(String[] args) { if(args.length < 1){ print...
21.517857
94
0.693776
b2eccee8cbb16ec8cb8b8a622b29aff98f937d45
11,210
package eu.inloop.knight; import android.app.Activity; import android.app.Application; import com.google.auto.service.AutoService; import com.squareup.javapoet.ClassName; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set;...
41.062271
154
0.582426
c2d4bdb2276e53e6ee93a800ff4169501c61ff70
4,714
/* * 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 ...
36.261538
115
0.741196
acc62697b9d686bc86899f1101e4add7f68e43c0
809
package hdr.mnist.weka; public class MeanFilter { public static int[][] blur(int[][] image, int numRows, int numCols, int filterSize) { int[][] padding = new int[numRows + filterSize / 2 * 2][numCols + filterSize / 2 * 2]; for (int row = filterSize / 2; row < padding.length - filterSize / 2; row++) { for (int ...
35.173913
88
0.580964
83f6d2a4ebc3f07d4dd918166c8053b8e88c1ddc
2,404
// Copyright 2017 JanusGraph 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 agree...
40.745763
154
0.721298
189bdaf11c3824c5c932087df0a8e9494d05800c
1,263
package alpha.nomagichttp.internal; import alpha.nomagichttp.message.Attributes; import org.junit.jupiter.api.Test; import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; /** * Small tests for {@link DefaultA...
29.372093
66
0.633413
04630fd3734298d6c5220a4f523425d8e252307b
5,748
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 license...
16.10084
814
0.802714
132b2260287d911b5c98cee6e7acfedcd1fec6ec
500
package com.imef.uiwidget.activity.transition; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.Window; import com.imef.uiwidget.activity.BaseActivity; /** * Created by yqzheng on 2017/4/27. */ public class Explode1Activity extends BaseActivity { @Override protect...
23.809524
71
0.764
609a1471ff7510990e5cb60d2d7d6c118feb2ef7
4,048
/* * Copyright 2002-2019 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...
26.285714
105
0.72085
0a827bbce0bac6ac5c5de73d8fcc88cd8ff2b56b
4,017
/* * PreEquipped.java * Copyright 2001 (C) Bryan McRoberts <merton_monk@yahoo.com> * Copyright 2003 (C) Chris Ward <frugal@purplewombat.co.uk> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software...
29.108696
165
0.68235
6b8478151d4dc157c2f24a6220504243194446f9
11,188
/** * Copyright 2018-2028 Akaxin Group * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable la...
41.591078
191
0.65749
d0431212d80a3dc86c0b68df43d32387cbc3c5f4
3,310
package com.huaweicloud.sdk.sdrs.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.huaweicloud.sdk.core.SdkResponse; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** Respo...
30.090909
120
0.660725
46975af81253c16863ca6db6aa0e79a2779e5eea
1,754
package com.zwy.kutils.utils; import java.util.Calendar; /** * ================================================================ * 创建时间:2017/7/27 下午2:07 * 创建人:Alan * 文件描述:时期格式 * 至尊宝:长夜漫漫无心睡眠,我以为只有我睡不着,原来晶晶姑娘你也睡不着 ! * ================================================================ */ public class DateFormat { ...
21.654321
72
0.541049
3b8cedaa84749b9cf24830cb5e2eb999f644da12
913
package main; import java.awt.Toolkit; import javax.swing.JFrame; public class Window{ public static final int WIDTH = 445, HEIGHT = 629; private Board board; private Title title; private JFrame window; public Window(){ window = new JFrame("Tetris"); window.setSize(WIDTH, HEIGHT); window.setDefau...
18.632653
59
0.715225
50196ab8e7e72d3574cb5e5f9a16da9615020105
2,360
package com.google.android.apps.common.testing.ui.espresso; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.allOf; import static org.hamcrest.Matchers.containsString; import android.test.AndroidTestCase; import android.view.View; import android.widget.RelativeLayout; import an...
31.466667
94
0.723729
bafec0ddaf6dc262072691ae2f3c4b7cf7fa0127
5,638
package com.ece.cov19.Functions; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.view.View; import com.ece.cov19.DataModels.UserDataModel; import com.ece.cov19.LoginActivity; import com.ece.cov19.R; import com.ece.cov19.RetroServices.RetroInstanc...
45.837398
155
0.659631
43a5bc261b2c54a4759560e13a5cf7b061374a1e
3,773
/** * Copyright 2016 Antony Holmes * * 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 ...
25.322148
112
0.692552
7a65728c532247de5484b83c1652822db6bcaa33
10,379
/* ### * IP: GHIDRA * * 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 writin...
33.918301
100
0.711533
8e9b246bc40f2cec0d85368b1f162fb474bdf2dc
550
package org.fordes.subview.view; import de.felixroske.jfxsupport.AbstractFxmlView; import de.felixroske.jfxsupport.FXMLView; import javafx.stage.Stage; import lombok.SneakyThrows; import org.springframework.stereotype.Component; /** * 主程序 * * @author fordes on 2020/10/2 */ @Component @FXMLView(value = "/fxml/Appl...
23.913043
71
0.750909
4a088c4853a761cbff2c9b0f850fc7b23b5a77a9
3,730
/* * 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 ...
47.820513
127
0.722788
89302c395983721361766f7bd9986dd43accd2e4
952
/* * Created on 10/01/2005 * * @author Rene Wooller */ package music; import jm.music.data.Tempo; import ren.gui.ParameterMap; /** * @author wooller * *10/01/2005 * * Copyright JEDI/Rene Wooller * */ public class TempoPC extends Tempo { private ParameterMap tempoParam; /** * ...
16.135593
90
0.628151
92cd9d965b46701e8c62550bf9333da0a30572b3
4,706
/* * 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 ...
45.68932
246
0.71037
38915adb08af108133a6e7e1d83e897673307bd9
3,565
package org.zstack.test.storage.ceph; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.identity.SessionInventory; import org...
40.977011
118
0.734081
0057d87ac245ee7fc79943647485a4b3d2fb8391
433
package com.jn.langx.util.reflect; import java.lang.annotation.Annotation; import java.lang.reflect.Member; import java.util.Collection; public interface MemberAttributes<M extends Member> { String getName(); <T extends Annotation> T getAnnotation(Class<T> annotation); Collection<Annotation> getAnnotation...
27.0625
64
0.743649
2455a8b17436d1b4f1093d3e0ea0d337dfe0813e
78,462
/* Derby - Class com.pivotal.gemfirexd.internal.client.net.Request 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 Y...
41.448494
155
0.601769
e41028b89937a95edcb47e084f8891ae6f32f6bb
109
package com.vml.listofthings.core.errors; public class NetworkUnavailableError extends RuntimeException { }
21.8
63
0.844037
0372d3dadc246b667a7da2f7b70fcefe953fed5f
737
package org.datatransferproject.datatransfer.google.drive; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import org.datatransferproject.types.common.models.DataModel; @JsonTypeName("org.dataportability:G...
23.774194
61
0.759837
5b48229e4ea0f05ebd7446d86f14c334e47a0101
13,836
/* * Copyright 2017 iserge. * * 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 w...
45.81457
135
0.68488
a8957279679d21e51eaca44992440dd5a2c80c2f
307
package com.infi.netty.apirouter.cfg; import lombok.Builder; import lombok.Data; /** * @author hongtao * @version v 0.1 , 2018年1月9日 上午10:49:18 * @since JDK 1.8 */ @Data @Builder public class ServerConfig { private int port; private int threadPoolSize; private int bufferQueueSize; }
16.157895
41
0.693811
3e3fe3a236feb178d83a5518b40ce59ea04b8a18
331
package calculator; import calculator.operator.Operator; import calculator.operator.OperatorFactory; /** * 计算器 * 通过字符串从工厂中获取具体的操作符对象 */ public class Calculator { public static Number calculate(String operator, Number... args) { Operator op = OperatorFactory.get(operator); return op.execute(args...
20.6875
69
0.716012
701c3f433bb8f0f892986620813e0a73bdd2849b
1,232
/* * 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 de.tuebingen.uni.sfs.lapps.core.converter.api; import de.tuebingen.uni.sfs.lapps.exceptions.JsonValidityException; import de.t...
38.5
170
0.813312
0fc9fac96da946e12b8bc613cc901ed3b4331058
1,078
package io.spotnext.commerce; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import io.spotnext.commerce.facade.CartFaca...
33.6875
123
0.797774
76a7170aae245db1ec9dfed7fb1b52475339c566
5,995
package st.southsea.blog.module; import org.nutz.dao.pager.Pager; import org.nutz.ioc.loader.annotation.Inject; import org.nutz.ioc.loader.annotation.IocBean; import org.nutz.mvc.annotation.*; import st.southsea.blog.base.module.BaseModule; import st.southsea.blog.bean.Article; import st.southsea.blog.service.ArticleS...
32.759563
98
0.602502
29760ba325043deaff42bb7d3351bca243698386
7,617
// COPYRIGHT_BEGIN // // The MIT License (MIT) // // Copyright (c) 2000-2020 Wizzer Works // // 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 limitati...
33.555066
137
0.63437
2cdfe0ffa952f87f61358fe30287f571d8345a9c
253
package com.bnc.sbjb; public class HelloWorld { private final String name; public HelloWorld(String name) { this.name = name; } @Override public String toString() { return String.format("Hello %s", name); } }
15.8125
47
0.608696
eac7162db3ad464e3e81f3281bc523dfde27d2cc
733
package net.lightapi.portal; import org.junit.jupiter.api.Test; import org.wildfly.common.Assert; public class HybridQueryClientTest { @Test public void testStringFormat() { String expect = "{\"host\":\"lightapi.net\",\"service\":\"market\",\"action\":\"getAuthCode\",\"version\":\"0.1.0\",\"data\":{\"...
43.117647
217
0.58663
94ed0429ba74a241f8265e479fccb912a08fc3c0
340
package com.kloia.eventapis.view; import java.util.List; import java.util.Optional; @SuppressWarnings("checkstyle:InterfaceTypeParameterName") public interface SnapshotRepository<T, ID> { <S extends T> List<S> saveAll(Iterable<S> entities); <S extends T> S save(S entity); void flush(); Optional<T>...
20
58
0.720588
e7e38709c380b46c933537393bafd650b8aff8fe
3,202
package com.aliyun.oss.crypto; import java.nio.ByteBuffer; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Provider; import javax.crypto.Cipher; import j...
34.06383
105
0.656152
af4a1c649c963698aca4ac90df824b1013a8962d
4,580
/* * Copyright 2021 S. Webber * * 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...
22.341463
99
0.650873
cfc85f9ec90b895b0f5d4a1fad213604945c948b
818
package com.shine.common; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import com.shine.common.constant.XmlErrorInfo; /** * Created with IntelliJ IDEA. * * @author Berry_Cooper. * @date 2019-06-23 00:16 * ...
24.787879
77
0.740831
de5caa7cfffbc75e5db67aa72dee24764fae7271
595
package com.spaceprogram.simplejpa; /** * This attribute will be used to define multi-value attributes. * * Probably should be defined as a Set property on the class, but stored as a multi-value attribute. * * Then queries could be applied on the attribute, wouldn't need multiple queries. * * eg: selec...
29.75
101
0.710924
0c43b3637c77296bb9e4afdbc1e7fe69b3c3a52d
411
package com.interview.systemdesign.cabbookingsystem; public class Kyc { private String govtId; private String idType; public String getGovtId() { return govtId; } public void setGovtId(String govtId) { this.govtId = govtId; } public String getIdType() { return idType...
19.571429
52
0.63017
da3abebe6a2a80dc39dec989cda4dbe64fddec1f
64
package modulardiversity.item; public class ItemNumberChip { }
12.8
30
0.8125
4841c4e7c7815af0d94f42b6d039801daa8ac81e
1,553
/* * Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved. * * OpenArkCompiler is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
38.825
107
0.639408