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
acdffa129bbb5969feb0957e86df79b6ff912422
5,569
/* * Copyright 2018 Nafundi * * 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 writi...
54.067961
111
0.730113
3e3684f328a20698b03364a7069a65ec8afb9f9d
11,344
package com.example.WorkoutBuddy.workoutbuddy.Fragments.MainFragments; import android.app.ProgressDialog; import android.app.SearchManager; import android.os.AsyncTask; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.Fragment; import android.support.v4...
41.553114
125
0.662465
8801b32b7e7cbe6a331058f80a70efbd53bb9522
3,544
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.util.predicates.regions; import org.sosy_lab....
26.848485
95
0.677765
12fca7009751c4cf18420faca7c59ee09aa2b4e3
3,706
package com.jantvrdik.intellij.latte.lexer; import com.intellij.lexer.Lexer; import com.intellij.lexer.LookAheadLexer; import com.intellij.psi.TokenType; import com.intellij.psi.tree.IElementType; import com.intellij.psi.tree.TokenSet; import com.jantvrdik.intellij.latte.psi.LatteTypes; import com.jantvrdik.intellij.l...
38.604167
208
0.768214
231a9225b84076b5f76ae688a4e17cb81b07fca6
486
package com.emse.spring.faircorp.hello; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Arrays; import java.util.List; @Service public class DummyUserService implements UserService{ @Autowired GreetingService gs; List<String> ...
22.090909
62
0.707819
a189969f8355920c6cfac213017df2bd6319939c
1,581
// @formatter:off /******************************************************************************* * * This file is part of JMad. * * Copyright (c) 2008-2011, CERN. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
27.736842
82
0.588235
99709004369e5124d21a24116dee9b12ec2281af
547
package com.didispace.scca.core.test; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.config.server.EnableConfigServer; /** * Created by 程序猿DD/翟永超 on 2018/4/24. * <p> * Blog: http://blog.didispace.com/ * Githu...
24.863636
68
0.765996
3fa2605fc2e11a25b4486256c0c47d657782148b
3,069
/* * This file is part of COMPASS. It is subject to the license terms in * the LICENSE file found in the top-level directory of this distribution. * (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt) * You may not use this file except in compliance with the License. */ package de.dfki.asr.compass.b...
34.1
129
0.758553
8139f679bac97c8cb68002fbdd308ea6aa20a15f
3,518
package com.dnb.services.customproduct; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ObjectAttachmentForResponse complex type. * * <p>The following ...
28.144
130
0.630472
0793bdfd165f6a74e2b7dcf3f91c76914652e88e
85
package be.idevelop.cqrs; @Event(TestId.class) public record TestCreatedEvent() { }
14.166667
34
0.764706
390ed159b823d9417997360e2007d40cddb247ad
2,771
package com.greatorator.tolkienmobs.entity.ai.goal; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.MobEntity; import net.minecraft.entity.ai.goal.Goal; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.EggItem; import net.minecraft.item.ItemStack; import net.minecraft.i...
29.168421
128
0.64742
e448ecf2c79d0b98b8341e37546f8d41d702a4fc
876
/** * * @author Dokuru */ package com.template.spring.dao.impl; import com.template.spring.dao.MakeAppointmentsDAOService; import com.template.spring.domain.Schedule; import java.sql.ResultSet; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.cor...
23.052632
83
0.740868
df32ed19fcd0f3a23cb02c4b20e0c32520eefe1f
2,469
package zqh.web.admin; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import zqh.dto.AjaxResult; import zqh.model.Administrator; import zqh.service.AdminService; import javax.servlet.http.HttpSession; ...
33.821918
101
0.678817
d2e70f35b8e308cc5ac6947453444225816f3713
280
package com.dummy.myerp.consumer.dao.contrat; /** * Interface du Proxy d'accès à la couche DAO */ public interface DaoProxy { /** * Renvoie un {@link ComptabiliteDao} * * @return {@link ComptabiliteDao} */ ComptabiliteDao getComptabiliteDao(); }
16.470588
45
0.646429
75fb0df916cd96690b8e80af7afb4312dd580daa
2,441
package com.androidhuman.rxfirebase3.firestore; import com.google.android.gms.tasks.Task; import com.google.firebase.firestore.Query; import com.google.firebase.firestore.QuerySnapshot; import com.google.firebase.firestore.Source; import com.androidhuman.rxfirebase3.core.OnCompleteDisposable; import com.androidhuman....
31.294872
83
0.594838
c412151cca8fd853e9733d0bc7914c00fca0549b
3,325
package org.ncic.bioinfo.sparkseq.algorithms.walker.mutect; import org.apache.commons.math.MathException; import org.apache.commons.math.distribution.BinomialDistribution; import org.apache.commons.math.distribution.BinomialDistributionImpl; /** * Author: wbc */ public class TumorPowerCalculator extends AbstractPow...
36.141304
163
0.63609
d4cc34611496759634ad297687178cf9d1f70dcd
2,503
/* * Copyright 2013 David Curtis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
37.924242
84
0.7503
9f85ad6dd24dc4b9a6b779fd7fb8f79ad79c85e8
1,835
package com.chutneytesting.task.function; import com.google.common.base.Ascii; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.jdom2.Document; import org.jdom2.JDOMException; import org.jdom2.Namespace; import org.jdom...
35.980392
124
0.700272
27993e729c693d517a641e2086dfe9b1ac33353e
1,958
/* * 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...
44.5
162
0.802349
a7762b231119ee05b2f79e036f948a041bb5dded
222
package com.example.render; import react4j.annotations.PreUpdate; import react4j.annotations.View; @View( type = View.Type.NO_RENDER ) abstract class NoRenderWithPreUpdateView { @PreUpdate void preUpdate() { } }
15.857143
40
0.761261
8c2fcc289e596cfd8f9511557bd1d68fd50b1ca8
2,680
package com.commercetools.sunrise.myaccount.authentication.recoverpassword.reset; import com.commercetools.sunrise.framework.hooks.HookRunner; import com.commercetools.sunrise.framework.hooks.ctprequests.CustomerPasswordResetCommandHook; import io.sphere.sdk.client.SphereClient; import io.sphere.sdk.customers.Customer...
37.746479
146
0.75709
0177dc1245de5ba2de2c9cc122b1be031bba8706
5,498
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 licenses ...
14.739946
809
0.791379
cbd1b31b5b97243ece7cdf816d8ee9d87215088c
5,577
/** * The MIT License (MIT) * * Copyright (c) 2014 jc0mm0n * * 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, c...
34.639752
92
0.649453
1cee8fffbcb6e5f8891097346df4d0fea576e937
7,680
package me.bayang.reader.controllers; import java.text.MessageFormat; import java.util.List; import java.util.ResourceBundle; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.jfoenix.control...
35.391705
162
0.679427
6447c44818340f98f2cea8b6e9ef6581187b503b
844
package edu.virginia.vcgr.smb.server.set; import edu.virginia.vcgr.smb.server.FileTime; import edu.virginia.vcgr.smb.server.SMBBuffer; import edu.virginia.vcgr.smb.server.SMBFile; public class SMBSetFileBasicInfo { public static void encode(SMBFile fd, SMBBuffer dataIn) { FileTime createTime = FileTime.decode(dat...
31.259259
56
0.739336
c944ba94468cb6c3419fed8f35fa6781ec8ada47
2,966
/* * 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.617284
119
0.759272
c7bd148771e6d10a86d2f8d8669cb5a9e6a847ae
496
package ch.lukasmartinelli.redditclone.bl.reddit; import java.io.Serializable; import java.net.URL; import java.util.ArrayList; import java.util.Date; public class RedditRepository implements Serializable { private ArrayList<Reddit> reddits = new ArrayList<>(); public RedditRepository() { } public ArrayList<...
19.84
55
0.743952
85f936a9978439491817454139df72c171fb8d0c
550
package io.github.mrdear.excel.convert; import org.junit.jupiter.api.Test; import java.time.LocalDate; import static org.assertj.core.api.Assertions.assertThat; /** * @author rxliuli */ class LocalYmdDateConverterTest { private final IConverter<LocalDate> converter = new LocalDateConverter(); private final Lo...
20.37037
75
0.7
33fb45a7573d6eaf85137a103a6ce7890b20a699
12,012
/** * ##library.name## * * <p>##library.sentence## * * <p>##library.url## * * <p>Copyright ##copyright## ##author## * * <p>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 Foundation; either ver...
27.677419
100
0.637945
ba1ac24d172cfdd56c4ccf7e4fb2d10843bf6d37
144
package com.quorum.tessera.test.rest; public interface RawHeaderName { String SENDER = "c11n-from"; String RECIPIENTS = "c11n-to"; }
16
37
0.701389
ca268ef62fcef5336a626d19c0ad4082278d9872
2,158
package org.december.beanui.element.annotation; import java.lang.annotation.*; @Documented @Target({ElementType.FIELD, ElementType.TYPE}) @Inherited @Retention(RetentionPolicy.RUNTIME) public @interface Tooltip { class Placement { public static final String TOP = "top"; public static final String ...
52.634146
170
0.703892
350004af13efaf9aa2886ef9f8a73b9a80489adf
746
package chapter4.partitioner; import java.util.StringTokenizer; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Partitioner; import chapter4.LogWritable; /** * HTTP server log processing sample for the Chapter 4 of Hadoop MapReduce * Cookbook. * * @author Thilina Gunarathne *...
27.62963
81
0.726542
900d85e88c56164360a269f1661ce3b433a013fd
265
package com.gtecnologia.store.services.exceptions; public class ResourceNotFoundException extends RuntimeException { private static final long serialVersionUID = 1L; public ResourceNotFoundException (Object id) { super("Resource not found. id " + id); } }
24.090909
65
0.781132
28b7a27cd38d75b4bf182e3f005ee6d3111bca0f
4,326
package sort; /* Se basa en la técnica divide y vencerás, que consiste en ir subdividiendo el array en arrays más pequeños, y ordenar éstos. Para hacer esta división, se toma un valor del array como pivote, y se mueven todos los elementos menores que este pivote a su izquierda, y los mayores a su derecha. A continuaci...
43.26
211
0.622977
742e93c8d37bca5de704bcfdbe6d4a982519185e
829
package com.trigyn.jws.dbutils.entities; import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation; import org.springframework.stereotype.Repository; import com.trigyn.jws.dbutils.vo.DataSourceVO; @Repository public interface AdditionalDa...
46.055556
206
0.854041
4722e882a8267bee94c711d7f4237e494ab6d453
176
package com.u2.day15.abstractfactory; public class HpKeyboard extends Keyboard { @Override public void print() { System.out.println("我是惠普键盘"); } }
19.555556
43
0.642045
e60b7b0864f2a25d2f84e6a9c7ec1ff8f363e1fa
1,179
package com.imakerstudio.JH; import android.util.Log; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.*; import android.view.View.*; import android.widget.*; import com.imakerstudio.pandaui.EditText.FilterEditText; public class MainActivity extends AppCompatActivity { ...
26.795455
61
0.649703
706b7aa55bbe871a0dfd1cac4b7ebd40a906b786
2,040
/* * Copyright (c) 2020, Zaphod Consulting BV, Christine Karman * This project is free software: you can redistribute it and/or modify it under the terms of * the Apache License, Version 2.0. You can find a copy of the license at * http://www.apache.org/licenses/LICENSE-2.0. */ package nl.christine.app.adapter; ...
26.493506
93
0.673039
6d71295f0f6707dfcbca7710c3cb6f2f1fe31816
2,986
package jp.co.cyberagent.valor.ql.parse; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import java.io.IOException; import jp.co.cyberagent.valor.sdk.StandardContextFactory; import jp.co.cyberagent.valor.sdk.ValorConnectionFactory; import jp.co.cyberagent.valor.sdk.p...
35.975904
85
0.761554
becbd8fd82507afd986c9fc67adce0fc789f8944
4,494
/* 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...
42.396226
158
0.78883
0314239f6e3961b5c72dfd57a6459162a5446889
3,955
/* *Copyright (c) 2005-2010, 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/licenses/LI...
43.461538
96
0.787611
c51196af3bf75851efcee6591cac87b15d27870a
11,675
/* * 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 ...
39.177852
214
0.666467
1d5d3ccd7080a8e13d3a337b21679ee08dd8f85d
168
package NO_0374_Guess_Number_Higher_or_Lower; /** * @author Angus * @date 2019/1/12 */ public class GuessGame { int guess(int num) { return -1; } }
14
45
0.630952
622c687695ddff3fc625291a758b521cc0a991ff
927
package com.fauconnet.devisu; import java.io.File; import java.util.Arrays; import java.util.List; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; public class ImagesPOTtester { public static void main(String[] args) { try { MongoProxy proxy = new MongoProxy("localhost", 27017, "PO...
22.609756
83
0.629989
d58579b185eb57441214ebb63dfdb2d48de78d1b
624
package fr.sii.ogham.template.freemarker.adapter; import fr.sii.ogham.template.freemarker.TemplateLoaderOptions; import freemarker.cache.TemplateLoader; /** * Abstract class to handle options configuration for the adapted * {@link TemplateLoader}. * * @author Cyril Dejonghe * */ public abstract cla...
24.96
104
0.766026
fd7ed04b8b6bbf9c79c5586b7f695305d9f33770
1,580
package br.com.erudio.services; import br.com.erudio.exception.ResourceNotFoundException; import br.com.erudio.model.Person; import br.com.erudio.repository.PersonRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service ...
24.6875
94
0.601899
c6ba1efddb599eb9dfc9bea659d79acda2d1c32d
4,580
/** * 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"); yo...
33.188406
104
0.703712
39b2111de3031c54d779b21bd0f6cdc8c41028d1
1,885
package cryptohash; import static java.lang.Math.pow; import java.util.ArrayList; import java.util.Collections; public class modulo{ ///tests modulos with info data private ArrayList results=new ArrayList(); private ArrayList testRoots=new ArrayList(); private ArrayList firstRoots=new Arr...
32.5
83
0.545358
0c81f91dc1f6505fa1293398ea19c92c568b9a2e
275
package com.wang.wx.model.response; import lombok.Data; /** * @Desc check access token response * @Author cui·weiman * @Since 2021/10/7 20:44 */ @Data public class CheckAccessTokenResponse { private Integer errcode; private String errmsg; }
15.277778
40
0.665455
089cc2d7873f01f33f61234f41e9aff5b0c1ff6a
3,260
/****************************************************************************** * Compilation: javac PictureDump.java * Execution: java PictureDump width height < file * Dependencies: BinaryStdIn.java Picture.java * Data file: http://introcs.cs.princeton.edu/stdlib/abra.txt * * Reads in a binary fil...
35.824176
80
0.570552
8badd10320c9280c25b6d45b63b9f08a9659d26f
2,627
/* * The MIT License (MIT) * Copyright © 2019 <sky> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modif...
46.910714
106
0.776171
569c38bb61c62f4ed5528417c14e0aef6ca27325
4,412
/* * Copyright 2018 esfak47(esfak47@qq.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
28.101911
106
0.618994
438ad400c266abd9749353b11afcacbf3d8cf6cf
614
package com.guo.springcloud; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; /** * @Param: * @...
23.615385
73
0.754072
9612dd2b9500c26f2e1e97c28d40f2e676817dc7
4,058
package nefra.jfx.game; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.HPos; import javafx.geometry.VPos; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.layout.BorderPane; import javafx.scene....
36.232143
114
0.629621
1866711349f0e0999827c5bbfefb9115d420fde5
830
package com.project.dao.proxysale; import com.project.core.orm.hibernate.HibernateDao; import com.project.entity.proxysale.CancelOrderLog; import com.project.utils.CollectionsUtil; import org.springframework.stereotype.Component; import java.util.List; /** * Created by admin on 2016/4/28. */ @Component public clas...
28.62069
113
0.716867
f4a258d5f6a19cec876a2467dc58fc78373b35c5
681
package network.aika.neuron.steps; import network.aika.neuron.activation.Element; import network.aika.neuron.activation.direction.Direction; import network.aika.neuron.visitor.tasks.VisitorTask; import java.util.List; import java.util.Set; public abstract class VisitorStep<E extends Element, T extends VisitorTask> e...
26.192308
93
0.712188
5868857c6a76c0f63cf8cdc90f63307a5614e9e4
2,626
package com.service.auth.serviceauth.config; import com.service.auth.serviceauth.customImpl.MyRedisTokenStore; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.RedisConnectionFactory; import org....
44.508475
116
0.795506
11cf94cc0f89d0a24396e65a593cfa5815812f15
134
package server; public interface IServer { public void startServer(); //starts the server along with all its functionalities }
14.888889
55
0.753731
a463125833e84b8dfea413a0fae24801302e3d46
1,242
package com.ffx.novelreader.impl.dao; import com.ffx.novelreader.entity.po.Menu; import com.ffx.novelreader.inter.dao.MenuDao; import org.litepal.crud.DataSupport; import java.util.List; /** * Created by TwoFlyLiu on 2019/8/7. */ public class MenuDaoImpl implements MenuDao { @Override public boolean save...
22.178571
98
0.626409
7c95578761c6980bea22ffba0a3a2b9c3684f70c
495
/* * 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.abring.helfer.maproute.exception; import de.abring.helfer.maproute.MapAddress; /** * * @author Bring */ pu...
27.5
80
0.692929
b8c6843cf41f86a6bad8a3190ff740b50c60e127
399
package com.huowu.java; public class ArrayTest { public static void main(String[] args) { int[][] arr2 = new int[3][]; System.out.println(arr2[2]); int[][] arr1 = new int[3][4]; System.out.println(arr1[0]); int[][] arr = new int[][]{{1,2,3},{4,6}}; Syste...
23.470588
50
0.498747
ac809ae8c60f190560b338436a46eff216fc1fa2
2,540
package com.mygdx.elmaze.controller; import com.mygdx.elmaze.ELMaze; import com.mygdx.elmaze.networking.MessageToServer; import com.mygdx.elmaze.networking.NetworkManager; import com.mygdx.elmaze.view.MenuFactory; import com.mygdx.elmaze.view.MenuView; /** * Game Controller Singleton class */ public class GameContr...
25.918367
105
0.644882
355ba72a521a656a33b166ab2a7e38050bba6b57
960
package net.algorithm.answer; /** * @Author TieJianKuDan * @Date 2021/12/27 10:44 * @Description 825. 适龄的朋友 * @Since version-1.0 */ public class NumFriendRequests { public static void main(String[] args) { int[] ages = {20, 30, 100, 110, 120}; NumFriendRequests self = new NumFriendRequests(); ...
27.428571
89
0.507292
ab23ec1795551fd52a760acf98d5f3a1f54a28d4
3,838
/** * TaggableEntityProviderMock.java - entity-broker - 2007 Aug 8, 2007 5:39:49 PM - AZ */ package org.sakaiproject.entitybroker.mocks; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; im...
30.951613
104
0.620896
30e2d114323d4c7ea122dbd08827a4c96685f376
7,262
package com.testes.activity; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import android.annotation.SuppressLint; import android.content.ContentResolver; import android.content.ContentValues; import android.database.Cursor; ...
31.437229
134
0.701735
5ea0cdee30e979d8c5e2fc09702b0f0adf581519
446
package com.pl.arraysCopyOf; import java.util.Arrays; /** * @author LIPIAO * @Description Arrays.copyOf 给数组扩容 * @date 2019/8/7 12:00 */ public class DemoArraysCopyOf { public static void main(String[] args) { int[] ints = new int[10]; for (int i = 0; i < ints.length; i++) { ints[...
17.84
48
0.569507
3a725cab4afb91963d8e8f91a6edb8f3d05beea1
3,129
package com.example.walkinclinic; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Button; import android.widget.TextView; import android.widget.RatingBar; import android.widget.Toast; import androidx.appc...
32.59375
100
0.627037
f30e528c49e12b6fdb504daa991945110c9dc407
871
package leetcode.Problem_242_Valid_Anagram; class Solution { public boolean isAnagram(String s, String t) { if (s.length() != t.length()) return false; var arr = new int[26]; for (int i = 0; i < s.length(); i++) { /* A char is actually just stored as a number (its...
31.107143
106
0.515499
4849179280dabd1cd87c9ec4af9943aa91747d80
929
package com.tutorialspoint.eclipselink.entity; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Job implements Serializable { private static final long serialVersionUID =...
17.865385
83
0.714747
d21b54e9c943377d58cb709da361febd3e9ea7c0
14,710
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package editeurpanovisu; import static editeurpanovisu.EditeurPanovisu.getPanoramiquesProjet; import static editeurpanovisu.EditeurPanovisu.getPoGeolocalisation; import static editeurpanovisu.EditeurPanovisu.get...
37.717949
190
0.590143
536f8fd06982d13e98a981b67ec7b59aa78198ca
1,725
/* * Copyright 2016 Author:Bestoa bestoapache@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
33.173077
109
0.667826
e5968579aae834b6385ef26b5012573a5aebd535
2,409
/* * Copyright (c) 2020 Bixbit - Krzysztof Benedyczak. All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.engine.api.policyAgreement; import java.util.Date; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.a...
30.493671
94
0.794521
70cbccb626a3d1d05be37f1dd4ecc558244035cb
677
/* * Copyright (c) 2016-2021 Association of Universities for Research in Astronomy, Inc. (AURA) * For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause */ package edu.gemini.epics.acm; /** * Defines the interface that must be implemented by clients to monitor the * execution of a co...
21.83871
93
0.66322
43950585c078a2a67c292afa1fd2241b72f7996f
932
package com.taoerxue.mapper; import com.taoerxue.pojo.EducationType; import com.taoerxue.pojo.EducationTypeExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface EducationTypeMapper { int countByExample(EducationTypeExample example); int deleteByExample(EducationTypeExam...
31.066667
120
0.79721
9010bdad9ecf9294c20ca453b7b48c9853b53ce0
776
import foursquare.Arguments; import foursquare.FSReply; import foursquare.FSResponse; import foursquare.FSVenue; import foursquare.Foursquare; public class testFoursquareCall { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Arguments aFArgs = new Argumen...
19.4
62
0.66366
868197e20601b8211c41b75f37a5680cfa052cc0
604
package definitions; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import pages.QuoteForm; import java.util.*; import java.util.stream.Collectors; import static org.assertj.core.api.Assertions.assertThat; public class LoginPage { @Given("User lands on {re...
24.16
68
0.634106
1c7c4df9e835c917501ff079f4b9f8a7726e4e80
19,307
package hudson.plugins.performance.constraints; import java.io.IOException; import java.util.ArrayList; import java.util.List; import hudson.plugins.performance.constraints.blocks.TestCaseBlock; import org.junit.After; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.jvnet.hudson.test...
46.188995
205
0.685347
807fe790fcd9c5ed4126803b60d28b609f678f40
13,377
package jean.ensembl; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import jam.lang.JamExcep...
31.254673
92
0.659939
86cee09315106a12d0bcd4528e5ce70ebeb13c34
2,117
/* Derby - Class org.apache.derby.impl.sql.compile.RowNumberFunctionNode 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...
34.145161
97
0.701937
999ac5ed6d5b130f70fcb87c9de5db35e35470c6
2,863
package math; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; /** * * @author exponential-e * 백준 9359번: 서로소 * * @see https://www.acmicpc.net/problem/9359 * */ public class Boj9359 { private static List<Long> primes; private static boolean[] prime; private stati...
24.681034
96
0.492141
c03f45ba3335deab0f8050c277160fabed4b54b0
1,134
package dataAccessLayer; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Date; import businessLogicLayer.Log; import constants.DalEnum; import constants.Severity; import serviceLayer.CtrlLog; public class DataBaseAccess { public static Connection getConnect...
25.2
90
0.722222
3bd1ad7b9200171b43adb960ee71e0df31028714
4,915
//Copyright (c) 2015, David Missmann //All rights reserved. // //Redistribution and use in source and binary forms, with or without modification, //are permitted provided that the following conditions are met: // //1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
32.766667
120
0.721668
dd2c693fbe43b5f63c333626cdee8a5b85f88ea4
1,277
package com.selenium.HRMDemo; import org.openqa.selenium.By; import org.testng.annotations.Test; public class VerifyJob extends Main{ private String[] jobDetails = new String[3];// Since Java doesn't support returning multiple values, I'm using an array to overcome that issue. VerifyPageNavigation navigation = ...
33.605263
144
0.724354
82c97745d772f199909516139e3843dc32ee65e4
867
package com.wissen.e_commerce.pojo; public class SellerBo { private Long id; private String sellerName; private String email; private String phoneNumber; private String address; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String ...
15.482143
50
0.6609
28fc95001360e138ec52803d2036eeaf342887bd
1,839
package com.htnova.system.workflow.dto; import com.fasterxml.jackson.databind.ObjectMapper; import com.htnova.common.util.DateUtil; import java.time.LocalDateTime; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import org....
23.883117
110
0.656335
4c6638f3d1e8a63678a54c4efadea8f97fb983c6
11,910
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
36.533742
124
0.592191
3289251bc7e97a8286038e1024ce8dcf94175c1e
3,380
package me.tomassetti.turin.parser.ast; import me.tomassetti.turin.resolvers.ResolverRegistry; import me.tomassetti.turin.parser.Parser; import me.tomassetti.turin.resolvers.InFileSymbolResolver; import me.tomassetti.turin.resolvers.jdk.JdkTypeResolver; import me.tomassetti.turin.resolvers.SymbolResolver; import me.to...
44.473684
93
0.702663
cbd256d0b52e361469f10cdc21f84f4b6fe851ba
2,856
/* * Copyright 2011 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...
30.063158
90
0.684174
d5782485883adedf1be018415d6a4a003641cf78
1,916
/* * Copyright 2021 ACC Cyfronet AGH * * 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 applicable law or agre...
31.409836
80
0.631002
6e187fa35a456697367d0882703843a9ac5d3fd8
773
package services; import java.util.ArrayList; /** * Created by dinever on 4/5/16. */ public class FeedbackStore { private static FeedbackStore instance = null; private ArrayList<Feedback> feedbackList; public FeedbackStore() { this.feedbackList = new ArrayList<Feedback>(); } public Ar...
21.472222
67
0.649418
aa0f5dfde0722ecbdbbda6689751513d91609710
193
package com.jdt.fedlearn.core.entity.distributedKeyGeneMsg; public class EmptyKeyGeneMsg extends KeyGeneMsg{ public EmptyKeyGeneMsg(int reqTypeCode) { super(reqTypeCode); } }
21.444444
59
0.756477
e78c1533e419acdee180133dd92a36f3167842a5
3,340
package me.modmuss50.technicaldimensions.tiles; import me.modmuss50.technicaldimensions.blocks.BlockPortalController; import me.modmuss50.technicaldimensions.init.ModBlocks; import me.modmuss50.technicaldimensions.misc.TeleportationUtils; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity...
29.821429
107
0.675449
adc88ccfbad1865b8404df820e36599a0685cf72
158
package de.uni_hildesheim.sse.serializer; /** * A syntactic sequencer... */ public class IvmlSyntacticSequencer extends AbstractIvmlSyntacticSequencer { }
19.75
76
0.791139
87bb00f2898c02f82a92e54df694fa9cb535c433
396
package common; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; /** * Created by rohitsamala on 02/06/2017. */ public class Driver { public static WebDriver driver; public static void initialiseDriver(){ System.setProperty("webdriver.gecko.driver","src/test...
18.857143
88
0.709596
2ce78310f6053ad9cec6d0d0d9be0d7499371236
4,781
/* * Copyright 2010, Moshe Waisberg * * 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.566845
83
0.569337
bbabd1cc87860a68fb299b54fc6fdb7875057dc5
1,145
package analisesaude; import javax.swing.JOptionPane; public class AnaliseSaude { public static void main(String[] args) { String nome = JOptionPane.showInputDialog("nome"); String comer = JOptionPane.showInputDialog("o que vc mais costuma comer?\n C -carnes\n V - verduras\n L- legumes\n F- fruta...
31.805556
176
0.522271
b9f4e8a05bee0f02f3c2fe4850b41065a91acbdb
621
package com.cracker.algorithm.base.struct.stack; import com.cracker.algorithm.base.core.BaseStruct; public abstract class Stack<I> extends BaseStruct<I> { /** * Add an item to the stack. * @param item item */ public abstract void push(I item); /** * Deletes the most recently ...
24.84
73
0.645733
fe8e1dd4f6a35801e248169b6d5dc42473944030
1,356
package blacksmith.sullivanway.display; import android.app.Activity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.TextView; import blacksmith.sullivanway.R; public class FcmDialo...
33.073171
106
0.698378
6c21b015106e03aa12f5abd5bfc769fe870d8e5a
2,563
/* * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
36.614286
85
0.664846
14c58f09c09e54cf44a70cdfeeb14b511aecca3f
3,626
/* * Copyright (c) 2020. Vladimir Ulitin, Partners Healthcare and members of Forome Association * * Developed by Vladimir Ulitin and Michael Bouzinier * * 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 cop...
32.666667
118
0.768616