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
9d50430e528a78bc15a7716d26cdb5c21478030b
2,671
package com.example.agendapublica.Controllers; import com.example.agendapublica.DTO.ContactDTO; import com.example.agendapublica.Services.AgendaServices; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org...
36.094595
110
0.706477
09084fa02776f8ea9c9f4545f702380b16f26460
4,764
/* Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit 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 So...
28.698795
121
0.692695
57559c65572436aceadc2894ca507f77a0c62a3a
778
package com.phy.app.ble; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; /** * Created by zhoululu on 2017/7/27. */ public interface BleGattCallBack { public void onConnectionStateChange(BluetoothGatt gatt, int stat...
43.222222
114
0.830334
bf96de2dde4b50e6e48689f76d7104a0c6ae83df
1,900
/*L * Copyright Moxie Informatics. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/calims/LICENSE.txt for details. */ /** * */ package gov.nih.nci.calims2.taglib; import java.io.IOException; import javax.servlet.jsp.JspException; import javax.servlet.jsp.PageContext; ...
28.787879
129
0.733158
58c17a35f85fa8c52f6360b7f1eeae75956c7c42
1,091
package edu.isi.nlp.evaluation; import edu.isi.nlp.math.PercentileComputer; import edu.isi.nlp.serialization.jackson.JacksonSerializer; import edu.isi.nlp.serialization.jackson.JacksonTestUtils; import java.io.IOException; import org.junit.Test; public class TestBootstrapWriter { @Test public void testBootstrapR...
37.62069
92
0.673694
c98a316314e0fbc75512953055faeb0ea6196bc7
3,602
package test.cs414.pos; import cs414.pos.*; import org.junit.Before; import org.junit.Test; import java.io.File; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; public class SaverLoaderTest { Store savedStore, loadedStore; Employee e0, e1, e2; String testName1, ...
31.321739
100
0.647696
0ddb25f4a12b8a6398b05cfdf195fa540862ea47
5,527
package it.ifonz.puzzle; import java.io.IOException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import org.apache.commons.lang3.StringUtils; import it.ifonz.common.FileReader; p...
33.70122
89
0.63416
e272df818fc7121d9e18b1098845ce2e672a6df4
2,065
/* * * 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"); y...
27.533333
101
0.694431
60e68f03df07abba1e931d56b10854cac3f6a5d9
6,862
/* * Copyright 2019 New York University. * * 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.832487
111
0.562372
cc788effbc5957a23544ecfc8fd8309b6fef54f9
2,020
package com.alibaba.csp.sentinel.slotchain; import com.alibaba.csp.sentinel.context.Context; /** * <p> * 处理槽的抽象实现,并且呈现了结构是一个单向的链表 * </p> * <p> * 由于实现了处理槽,同时符合链表的结构,很容易设计为一种管式触发事件的control flow * 这里正是如此 * </p> * * @author qinan.qn * @author jialiang.linjl */ public abstract class AbstractLinkedProcessorSlot<...
27.671233
114
0.59901
01de339d707fed7c60022677a2a54a72b59f2cd9
3,151
package cellsociety_team17; import java.io.File; import java.io.FileOutputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Documen...
32.153061
110
0.72358
cd6c31508b8c35e4430929cf62054af8d5e32e4f
117
import javax.interceptor.Interceptors; @Interceptors(FirstInterceptorClass.class) public class AnnotatedClass { }
14.625
42
0.82906
ba66c41e6390ed0256526d6a69b06901064f1094
3,707
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
35.644231
109
0.641759
2f18f610a76b7c2723e3fa003c8681797adad1f6
1,033
package com.lhever.common.core.support.parser.token; public class ArrayTokenParser extends AbstractTokenParser { private Object[] array; private int index = 0; public ArrayTokenParser(Object[] array) { super(); this.array = array; } public ArrayTokenParser(Object[] array, ParserC...
22.456522
87
0.575992
00a44259519bb37f9e128338add3fb8625952d31
1,311
package commands; import java.util.List; import constants.Constants; import driver.IShellState; /** * This class will get the documentation for a given command */ public class Man extends Command { public Man() { super(1, 1); } /** * Prints the documentation for the given command * @p...
30.488372
80
0.687262
9b13e3a0748cf9442a8f489d50bd6791ce77971e
1,654
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.test.annotations.cascade; import java.util.HashSet; import j...
25.060606
101
0.701935
bd106d698a56e6b11451ef710572110b6b39aaea
425
package life.catalogue.es; import life.catalogue.api.search.NameUsageSuggestRequest; import life.catalogue.api.search.NameUsageSuggestResponse; import java.util.Collections; public interface NameUsageSuggestionService { static NameUsageSuggestionService passThru() { return (req) -> new NameUsageSuggestRespons...
25
74
0.818824
be79371ad65cfcc1d82617ae09b497c042584ffc
1,995
package com.jpeony.leetcode.n0513; import java.util.LinkedList; import java.util.Queue; /** * [513. Find Bottom Left Tree Value](https://leetcode.com/problems/find-bottom-left-tree-value/) * [513. 找树左下角的值](https://leetcode-cn.com/problems/find-bottom-left-tree-value/) * * @author yihonglei */ public class N513_F...
22.41573
97
0.507769
ba6bdcf62702a72ce8e62fce5da5eabfcb5c91b6
7,493
/* * Copyright 2015-2017 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...
32.021368
112
0.683705
7cec22007e07900f3b8eeb66167fff949a2a3558
5,942
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.gui; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.cuba.client.ClientConfig; import com.haulmont.cuba.core...
41.84507
128
0.609896
7ba1031f05a5292d95764adbfdf87986f2dffd51
20,649
/** * Copyright 2018-2020 Dynatrace LLC * * 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...
32.51811
149
0.644535
2109bc9daf98a661ca11c84836a69053498b8536
742
package com.example.demo.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity; import org.springframework.s...
33.727273
96
0.814016
8497d5ecd5b61e0f6ab9fc69db7aa6ecbe58a235
11,662
/* * CloudSim Plus: A modern, highly-extensible and easier-to-use Framework for * Modeling and Simulation of Cloud Computing Infrastructures and Services. * http://cloudsimplus.org * * Copyright (C) 2015-2016 Universidade da Beira Interior (UBI, Portugal) and * the Instituto Federal de Educação Ciência e...
38.873333
121
0.687961
acb9366086780f5ebfcf268fe02e6ba621cece50
884
package com.lambdanum.smsbackend.filesystem; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; @Component @Scope(scopeName = "singleton") public c...
29.466667
89
0.743213
97df0d2cedf0490c35b78a11812bbc298ab32453
1,074
package com.svss.webtech.lw_1.part1_tests; import java.util.ArrayList; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.svss.webtech.lw_1.part1.Task1; public class Task1Test { private static double EPS = 0.00001; private final ArrayList<double[...
18.20339
68
0.625698
81ea3cbf4534bb887edb120577f7b51fb7036ddb
2,331
package com.company; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class P05_CompareCharArrays { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String i...
34.791045
85
0.483483
3ef0416fc28f27bedc165d13a5ab54a07c6ad824
851
package wusc.edu.pay.facade.boss.entity; import wusc.edu.pay.common.entity.BaseEntity; /** * 类描述:数据库字段管理 * * @author: chengze * @date: 日期:2013-10-17 时间:下午1:47:19 * @todo: TODO * @version 1.0 */ public class GlobalSet extends BaseEntity { private static final long serialVersionUID = 1L; priva...
19.340909
50
0.680376
0e99fb8fc8fc0875e98957c5685db086d8a11519
7,869
package com.example.shovan21.hackaton; import android.app.AlertDialog; import android.app.Fragment; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.speech.tts.TextToSpeech; import...
48.574074
249
0.507307
ab7c28726cb86532cc72e60cc167e802652aafe7
4,631
/* * The MIT License * * Copyright 2020 Loghi Perinpanayagam. * * 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, ...
37.048
177
0.713453
5679134eb56d0384201ce0807e00e2762e68d6a9
4,993
package io.vertx.test.redis; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.RunTestOnContext; import io.vertx.ext.unit.junit.VertxUnitRunnerWithParametersFactory; import io.vertx.redis.client.Redis; import io.vertx.redis.client.RedisClientType; import io.vertx.redi...
31.802548
201
0.687162
837ecfc939b32d3e37291cf31a054f422bcbecbc
2,564
/* * AsTeRICS - Assistive Technology Rapid Integration and Construction Set * * * d8888 88888888888 8888888b. 8888888 .d8888b. .d8888b. * d88888 888 888 Y88b 888 d88P Y88b d88P Y88b * d88P888 888 888 888 888 888 888 Y88b. ...
25.89899
82
0.612715
bf2be5711f34efb9f651d484f2ca3f0d8a1da548
1,997
package io.github.dosarf.metricgroovy.core.api.inspection; import io.github.dosarf.metricgroovy.core.impl.inspection.InspectorExpressionHandler; import java.util.List; import java.util.Map; import java.util.Set; import javax.measure.Measure; import javax.measure.unit.Unit; import com.google.common.collect.Immutable...
27.356164
85
0.770656
3dea78def848c0347c5d16e840a5e9e3501bf205
8,101
package test; import static org.junit.Assert.*; import java.awt.Point; import org.junit.Before; import org.junit.Test; import wuziqi.GameState; import wuziqi.GameTree; import wuziqi.ZobristHash; public class TestGameTree { public GameTree gt; GameState g; public static int COLS=15; public stat...
24.327327
96
0.615109
5acca4638f870b9d5fa1c4e11e7303b3c406cfa1
4,308
package io.github.picodotdev.blogbitix.javasound; import javax.sound.midi.MidiSystem; import javax.sound.midi.Sequencer; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import java.io.InputStream; import java....
33.395349
183
0.610028
ac0f681ad8127d4339f4137a20847a481a85a15e
13,896
package com.bookclub.app.bookclub; import android.app.AlertDialog; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.AsyncTask; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design....
34.827068
132
0.58175
427b67d073e5aaad514ee98acda85a11280faf65
3,834
/* * Copyright 2012-2018 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 ap...
25.731544
85
0.762389
ae8aabb712950601dd7087ad3f6183309e9bf1be
1,296
package com.fc.aden.vo.importDto; import com.fc.aden.vo.ImportTSysItemsDTO; import com.fc.aden.vo.ImportTSysUserDTO; import java.util.List; public class ImportUserDTO { public static final String LOGIN_NAME="工号(必填)"; public static final String CHINESE_NAME="中文名"; public static final String ENGLISH_NAME="...
24
126
0.681327
d6de96df4ea4b23665634e9675f1a54d7e151796
9,089
package com.patient.ui.patientUi.adapter; import java.util.List; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Build; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import...
32.345196
105
0.730663
69257c5ac58e4edcb452dd6ff7fefc49dcdf04d2
800
package project.gps; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.ListView; public class taxi extends Activity{ ListView lv=null; MyAdapter myAdapter2; DB1 db3; int j; boolean b; ArrayList<bean> mylist2 = null; public ...
25
51
0.68
66f9becc8a00f8e5c5ce17a5c0f9b67dc2b032f6
368
package com.stephentuso.welcome; import androidx.viewpager.widget.ViewPager; /** * Implemented by library components to respond to page scroll events * and initial setup * * Created by stephentuso on 11/16/15. */ /* package */ interface OnWelcomeScreenPageChangeListener extends ViewPager.OnPageChangeListener { ...
23
98
0.777174
96ec3f7b610cd9f26b9445ddb52609ea87f287c2
1,944
package gov.nasa.jpl.aerielander.activities.ids; import gov.nasa.jpl.aerie.merlin.framework.annotations.ActivityType; import gov.nasa.jpl.aerie.merlin.framework.annotations.ActivityType.ControllableDuration; import gov.nasa.jpl.aerie.merlin.framework.annotations.ActivityType.EffectModel; import gov.nasa.jpl.aerie.merl...
38.88
111
0.795267
1db4a10df63addb9d668c346418ade289672bd3b
6,444
/* * Copyright 2017 OICR * * 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.645161
132
0.639044
a45b596081707fd34bdab9d2555fb2a882c7775a
7,478
package buaa.buaahelper; import android.graphics.Color; import android.support.v7.widget.RecyclerView; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widget....
34.62037
195
0.631853
b9f1ecf817a67e9cd1940cb4d01b1a36839d91f2
4,937
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
39.18254
176
0.716427
67c428e929aa393b93a61d31232d9c73c8936862
16,108
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT 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 Foundation, either version 3 of the License,...
51.299363
181
0.671964
34eebaadc02cc249a2db7c762e2eb75ea60633a8
220
package com.testmonitor.exceptions; public class UnprocessableEntityException extends Exception{ public UnprocessableEntityException(Integer statusCode, String message) { super(statusCode, message); } }
27.5
77
0.781818
27e6347eccdcc84f4cfbf161f7760af4595aa416
1,102
package org.phoenicis.lnk; /** * The FileAttributesFlags structure defines bits that specify the file attributes of the link target, if the target is * a file system item. File attributes can be used if the link target is not available, or if accessing the target would * be inefficient. It is possible for the targe...
35.548387
120
0.69147
f50ddd1f4607106e051591505481c9ba1c9da7fc
1,909
//package org.sirix.index.art.acc; // //import org.sirix.index.art.AbstractNavigableMapTest; //import org.sirix.index.art.AdaptiveRadixTree; //import org.sirix.index.art.BinaryComparables; // //import java.util.NavigableMap; // //public class ARTLongTest extends AbstractNavigableMapTest<Long, Long> { // public ARTLongT...
31.816667
105
0.692509
06307420ef970b1ad86c72b8e842a207ea72903e
1,349
package com.nsysmon.measure.http; import com.ajjpj.afoundation.collection.immutable.AOption; import java.util.Map; /** * @author arno */ public interface AHttpRequestDetails { /** * @return the string to be used as an identifier for this measurement, or AOption.none() if this HTTP request * should b...
44.966667
116
0.716086
f84e741d1dfedaa0930a3953bceb158eb5c8e3d8
241
interface WithoutLetterE { static String findE(String str) { return str == null || str.isEmpty() ? str : (str.length() - str.replaceAll("[Ee]", "").length() + "") .replaceAll("\\b0\\b", "There is no \"e\"."); } }
30.125
65
0.53112
64436bce25ef92375792fee0cf7067e05478508b
908
package com.learn.chapter09.pojo; import java.util.List; public class PageRole { private int start; private int end; private int count; private String roleName; private List<Role> roleList; public int getStart() { return start; } public void setStart(int start) { this...
17.461538
50
0.585903
748fa26a9e4e2f63cea9077c903010f386b912da
3,581
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
31.973214
84
0.686121
8208958d798afd3e017b587ffbac742d3fee049a
6,819
package com.eveningoutpost.dexdrip.UtilityModels; import android.util.Log; import com.eveningoutpost.dexdrip.Interfaces.BgReadingInterface; import com.eveningoutpost.dexdrip.Interfaces.CalibrationInterface; import com.eveningoutpost.dexdrip.Interfaces.SensorInterface; import com.eveningoutpost.dexdrip.Models.BgReadin...
40.349112
127
0.568412
9d91b33bc83d14fb555d33e4db69294d90839e48
170
package twitter; public class ClientImpl implements Client { @Override public void receiveMessage(String message) { System.out.println(message); } }
18.888889
48
0.7
ffab76f39ea906e654f9a4c99a13c024d0a4fd69
998
package com.lanagj.adviseme.data_import.tmdb; import com.lanagj.adviseme.AdviseMeApplicationTests; import com.lanagj.adviseme.entity.movies.Movie; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.sprin...
27.722222
79
0.749499
48ca0dd6dbf7398007cc0a1284294bf4cec65319
2,462
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.645833
78
0.735987
012724a3cc69984c9d7aa63f937d7314ecb46092
5,227
package mage.cards.o; import java.util.UUID; import mage.MageInt; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.ReplacementEffec...
37.335714
187
0.667687
eeb1fc72de9c9c2d5553b6bede99a009914baf0a
422
package com.lcg.basicweb; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @Slf4j @SpringBootApplication //@SpringBootApplication(scanBasePackages = {"com.lcg"}) public class BasicWebApplication { public stat...
26.375
68
0.7891
09aa383b37a2f09d783f2b05cc2b122dfb82489c
1,664
package labnew.lab02; import util.Menu; import java.util.Scanner; public class IntMenu { private static int number = 0; private static boolean isNumberEntered = false; private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) { Menu menu = new Menu...
28.689655
90
0.579928
cec4ecdc26a730756fb4fddb11f64c1515b1824e
6,821
package com.vmware.vcloud.nclient; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.TimeZone; import java.util.Date; import com.rabbitmq.client.AMQP.BasicProperties; import com.rabbitmq.client.Channel; import co...
54.568
378
0.679079
d27f7fc55efbcd34e9ea9f3195aff72de03a7c75
3,903
package gg.fel.cvut.cz.data; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.guava.GuavaModule; import co...
48.185185
251
0.752242
2caaeea57a7d738902bdee08466bc914972ad980
973
package io.github.edwinmindcraft.apoli.common.condition.entity; import io.github.edwinmindcraft.apoli.api.configuration.ApoliCodecs; import io.github.edwinmindcraft.apoli.api.configuration.FieldConfiguration; import io.github.edwinmindcraft.apoli.api.power.factory.EntityCondition; import net.minecraft.world.entity.Liv...
42.304348
137
0.819116
f93562aea94673e15e0023ef193ebbba75d93051
6,535
package com.hkm.staffvend.ui; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.ImageButton; impor...
35.516304
89
0.613313
ce92b019cb798211967129cf01f89f7f9e6e3337
75
package p; public class B { static class Inner { void foo() {}; } }
7.5
21
0.573333
d3df5ad42d5608c30cf463714ec96a440aeea766
926
package com.sinch.rcssdk.rcs.exceptions; import com.sinch.rcssdk.rcs.message.messagetype.AgentMessage; public class FileSizeExceedLimitException extends Exception { private AgentMessage.Supplier supplier; private long size; public FileSizeExceedLimitException(AgentMessage.Supplier supplier, long size) { ...
29.870968
106
0.631749
a60fb76f7a02c89cf9834cf98a9fcf6a2de906da
660
package fr.funixgaming.api.core.crud.dtos; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.util.Date; import java.util.UUID; @Getter @Setter public abstract class ApiDTO implements Serializable { private UUID id; private Date createdAt; private Date updatedAt; @O...
22
60
0.601515
8d7c4be02266ebd3f88d7706f3e77150079c4de8
5,836
package cla.edg.project.yrzx.gen.graphquery; import java.util.Map; import cla.edg.modelbean.*; public class MaterialAcceptanceApplication extends BaseModelBean{ public String getFullClassName() { return "com.yrdec.yrzx.materialacceptanceapplication.MaterialAcceptanceApplication"; } // 枚举对象 // 引用的对象 public P...
26.170404
86
0.74743
26cfffa534e9bc01d677f0eede8bbd83959608fd
3,831
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
33.313043
102
0.693031
67ed964f17d749201a835066b03602fb7c040576
2,503
/* * 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 ...
33.373333
79
0.706752
7a61055d3df4416ad6b9aa16f0f2b8974ac71bef
238
public class Ejercicio_4 { public static void main(String[] args) { int num = 0, suma = 0; for (int i = 0; i < 100; i++) { num = num + 1; suma = suma + num; } System.out.println(suma); } }
9.916667
41
0.483193
1ffcbab3419bee6e201ccabe051ff610a5b04ca7
344
package com.airfranceklm.amt.sidecar; import com.airfranceklm.amt.sidecar.model.SidecarConfiguration; import com.mashery.trafficmanager.event.processor.model.ProcessorEvent; import java.util.List; public interface MasheryConfigurationReader<T extends SidecarConfiguration> { T read(ProcessorEvent pe); List<St...
28.666667
77
0.81686
7834f16cbb22dcacce069e4d91024306d6070613
677
package watheia.vertx.mesh.website; import static io.vertx.core.http.HttpHeaders.LOCATION; import io.vertx.core.Handler; import io.vertx.reactivex.ext.web.RoutingContext;; /** * @author Aaron R Miller<aaron.miller@waweb.io> * */ public class RedirectHandler implements Handler<RoutingContext> { public static Hand...
21.83871
68
0.748892
c08799bdded671e4f82eb01a0e12b6f223d2e59a
1,117
package org.openlayers.ol.render; import com.google.gwt.canvas.client.Canvas; import com.google.gwt.canvas.dom.client.Context2d; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsProperty; import jsinterop.annotations.JsType; import org.openlayers.ol.Feature; import org.openlayers.ol.geom.SimpleGe...
27.243902
128
0.705461
146d85cd39e72dda4806a923145dd6582873b73c
4,193
package seedu.addressbook.storage; import static org.junit.Assert.assertEquals; import java.nio.file.Paths; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; ...
37.4375
103
0.679466
5234a30e3442de4bc47f188e0ecf2d3e099628af
1,044
package org.basex.tests.w3c; /** * Strings. * * @author BaseX Team 2005-17, BSD License * @author Christian Gruen */ interface QT3Constants { /** QT3TS String. */ String CATALOG = "catalog.xml"; /** QT3TS String. */ String NNAME = "name"; /** QT3TS String. */ String SOURCE = "source"; /** QT3TS Str...
22.212766
45
0.590996
1b8e7e37326869157667919c1cb7ef082a5f545c
313
package io.eventuate.tram.messaging.consumer; public class BuiltInMessageHandlerDecoratorOrder { public static int PRE_POST_RECEIVE_MESSAGE_HANDLER_DECORATOR = 100; public static int DUPLICATE_DETECTING_MESSAGE_HANDLER_DECORATOR = 200; public static int PRE_POST_HANDLER_MESSAGE_HANDLER_DECORATOR = 300; }
39.125
72
0.85623
f6b61249ddf9eb5cf5dced14caa8a63ae247f33b
11,394
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
47.67364
106
0.739512
2e786d31c93f0e60eb9ca0a5d9f56393d2401f8a
2,182
/* * Copyright (C) 2016-2017 Lightbend Inc. <https://www.lightbend.com> */ package com.lightbend.lagom.account.impl; import java.time.OffsetDateTime; import java.util.Optional; import com.lightbend.lagom.javadsl.persistence.PersistentEntity; import akka.Done; /** * AccountEntity models a simplified bank accoun...
30.305556
149
0.617782
f6e5ad0a95574b4aafbac1cc9fc3533fa2a637c9
46,647
/* ==================================================================== 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...
25.476242
116
0.563166
b0999a803188cd26e1d2f6435e39ad4f9ed86baa
434
package org.bee.webBee.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * data 2017-08-31 16:26 * E-mail sis.nonacosa@gmail.com * @author sis.nonacosa */ @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Target({Elemen...
18.869565
56
0.695853
dbe3a264449af8cca9e869ae3f79cce32570501b
439
package exercises.day5; public class Question2 { public void isPalindrome(String str) { StringBuilder str2 = new StringBuilder(str); str2 = str2.reverse(); if (str.equals(str2.toString())) { System.out.println(str + " is a palindrome"); } else { System.out.println(str + " is NOT a palindrome"); } ...
16.259259
52
0.660592
61756de9d19f07973e3099b85f28b81282200049
1,400
/* * Copyright (c) 2007-2012 Concurrent, Inc. All Rights Reserved. * * Project and contact information: http://www.cascading.org/ * * This file is part of the Cascading project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
29.787234
113
0.717857
3089341ceecf37bc5b51da6125e232c792d0bf75
31,494
package com.crashlytics.android.core; import android.content.Context; import android.util.Log; import com.crashlytics.android.answers.AppMeasurementEventLogger; import com.crashlytics.android.answers.EventLogger; import io.fabric.sdk.android.h; import io.fabric.sdk.android.k; import io.fabric.sdk.android.services.b.i;...
36.706294
294
0.6854
0825546fab0557b48be4ba6a4c66305439dc818d
1,295
package io.sovaj.heartbeat.api; /** * Interface dont h�ritent tous les Monitors. Un Monitor est une classe qui * proc�de � l'ex�cution d'un test et produit un objet {@link TestElement} * correspondant au r�sultat du test. Les monitors sont de diff�rents types, par * exemple : test de JNDI, test de base de do...
28.777778
81
0.616216
02fbc291f426dd88aab6557655c5652f6f49229f
2,730
package iurii.job.interview.leetcode; import java.util.ArrayList; import java.util.List; /** * 22. Generate Parentheses https://leetcode.com/problems/generate-parentheses/description/ * * https://leetcode.com/articles/generate-parentheses/ * https://www.geeksforgeeks.org/print-all-combinations-of-balanced-parenth...
30.674157
91
0.549451
7f7ebd0fb503584e999a92917d1b997e9878c924
1,391
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // Copyright (c) 2017 Citrix ShareFile. All rights...
21.075758
81
0.597412
fc1e76116cbc95a4dfa15cd043654ec3c14f174c
7,309
package com.ducetech.framework.util; import com.google.common.collect.Maps; import com.google.zxing.*; import com.google.zxing.client.j2se.BufferedImageLuminanceSource; import com.google.zxing.common.BitMatrix; import com.google.zxing.common.HybridBinarizer; import com.google.zxing.qrcode.QRCodeReader; import ...
34.804762
146
0.582296
88666788a41e3b677bedad3b797571a78fe69026
11,667
package litesuits.common.util; import android.content.Context; import android.telephony.TelephonyManager; import com.litesuits.android.log.Log; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.text.SimpleDateFormat; import java.util.Date; /** * Get phone info, such as IMEI,IMSI,Number,S...
40.092784
120
0.614725
4b4e7ad8396bbd3fa9021700c93a6501549df92a
6,991
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
45.103226
175
0.682592
4bce2f5eda2f2e7569d9b3678e6f631496c275dc
3,198
/* * Copyright (c) 2012-2014 Spotify AB * * 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.553571
90
0.702314
0312b3472085244963434e10160d3209645fb851
2,751
package com.ljq.house.web.interceptor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapt...
56.142857
147
0.712468
44d313879a7f4e34c33e3746739f5b3100b35e69
228
package Demo; import StorageManager.Storage; public class CreateStorageMain { public static void main(String args[]) throws Exception{ Storage s1 = new Storage(); s1.CreateStorage("myDisk1", 1024, 1024*100); } }
22.8
58
0.714912
3574b0b6f20c8e2ab16ae3bd2d0d249368290fac
3,051
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
21.638298
105
0.719764
60777903fcdba475ef602a6d53757c3c5736f518
1,346
/* * @lc app=leetcode id=668 lang=java * * [668] Kth Smallest Number in Multiplication Table * * https://leetcode.com/problems/kth-smallest-number-in-multiplication-table/description/ * * algorithms * Hard (44.31%) * Likes: 444 * Dislikes: 18 * Total Accepted: 17.5K * Total Submissions: 39.5K * Testc...
18.694444
89
0.578009
fcae1e3359fb4c4bd594778408c72606c3a696e6
321
package com.okta.developer.records.service; import com.okta.developer.records.domain.EndOfGame; import com.okta.developer.records.domain.MentalStateDamage; import reactor.core.publisher.Flux; public interface StatsService { Flux<MentalStateDamage> queryMentalStateAverageDamage(); Flux<EndOfGame> getAll(); }...
24.692308
60
0.806854
3d886994cdbd439678e9f9c7db9ce9dad26cfa86
809
package JVM; import java.util.Vector; public class ThreadVectorTest { private static Vector<Integer> vector = new Vector<Integer>(); public static void main(String[] args) { while (true) { for (int i = 0; i < 10; i++) { vector.add(i); } Thread thread1 = new Thread(new Runnable() { @Override ...
17.977778
63
0.540173
63756bb4b6cebee6905210bc780cc4a6790e9755
2,032
package cn.bobo.fast.derby; import org.aspectj.weaver.ast.Test; import java.sql.*; /** * Created by Administrator on 2018/12/25 0025. */ public class testConnection { private static String driver = "org.apache.derby.jdbc.EmbeddedDriver"; private static String protocol = "jdbc:derby:"; Stri...
28.619718
115
0.477362
7b4da132867e27255064b3b8daf3e1a34a3f356f
1,455
package ru.grave.servlets; import ru.grave.form.User; import ru.grave.store.UserStorage; 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 java.io...
37.307692
122
0.730584
e488269b4ed7144b13a1f6461e4ae2ccd12cea8d
443
public class Question3 { public static void main(String args[]) { int i,j; for(i=1;i<=7;i++) { for(j=1;j<=i;j++) { System.out.print(j); } System.out.println(); } for(i=6;i>0;i--) { for(j=1;j<=...
21.095238
44
0.336343
5af5982c969c2c38a4a0b56344eee61d829aeb9d
239
package com.android.picshow.model; /** * Created by yuntao.wei on 2017/12/12. * github:https://github.com/YuntaoWei * blog:http://blog.csdn.net/qq_17541215 */ public interface DataLoader { public void notifyContentChanged(); }
17.071429
40
0.715481