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
18735d2662edc92a143e3811012b42f8dcb72077
1,099
package com.jyw.study.tcps.protocol.parser; import java.util.Arrays; import java.util.stream.Collectors; /** * 线路名称 * * @author jyw */ class BodyStationNameListParser extends BodyParser{ @Override public void parser(String[] subBody) { int i = 0 ; int languageCount = Integer.parseInt(subB...
35.451613
186
0.575978
4bfdc8bfb17eb3a9ba3eab3d667cdb623ecb10d6
3,784
package edu.utah.ece.async.ibiosim.synthesis.GeneticGates; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Queue; import org.sbolstandard.core2.ComponentDefinition; import com.google.common.collect.Lists; import edu....
26.836879
148
0.746036
d17cb6b18bd6a80fd5578d2ab570f7360a808898
733
package io.github.prototypez.service.app; import android.content.Context; import android.support.v4.app.Fragment; import io.github.prototypez.service.app.callback.AppCallback; import io.github.prototypez.service.app.entity.AppEntity; import io.reactivex.Observable; public interface AppService { /** * 普通的同步方...
20.361111
63
0.6794
b1f7be26deb00b685d56f679b3f2c0f4e2cc8d59
1,242
/* * Copyright 2011, The gwtquery team. * * 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...
33.567568
80
0.733494
c7baa08c0664897ca540fb98044edc9c616e7ea3
2,318
package com.facebook.soloader; import android.content.Context; import android.util.Log; import java.io.File; import java.io.IOException; import java.util.zip.ZipEntry; public class ApkSoSource extends ExtractFromZipSoSource { private static final byte APK_SIGNATURE_VERSION = (byte) 1; public static final int ...
39.965517
240
0.627265
ac774ceb99f6817efdb5fed6e3b8f3571d0abe45
620
/* * Copyright 2021-2021 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ package com.vmware.devops; import java.io.IOException; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateEncodingException; import org.junit.Assert; impor...
24.8
113
0.772581
a5390f387f9efbd7cd63501b58e1216644997d59
9,991
/* * (C) Copyright IBM Corp. 2016,2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.whc.deid.util; import java.security.SecureRandom; import com.ibm.whc.deid.models.FirstName; import com.ibm.whc.deid.models.Gender; import com.ibm.whc.deid.models.LastName; import com.ibm.whc.deid.resources.LocalizedRe...
35.303887
100
0.683115
64fe909685656f2454d769d95dfa9e53c482c0da
3,021
package com.romanceabroad.ui; import data.Helpers; import data.Locators; import org.openqa.selenium.By; import org.openqa.selenium.TimeoutException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import java.io.IOException; import...
39.233766
130
0.697451
89fbeddb988f4120730bfdb115177883aca3bc51
3,551
package sk3m3l1io.duisburg.memogame.view.score; import android.content.Context; import android.graphics.Typeface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import and...
30.612069
96
0.647705
3e5fc6428260a72a62827700bf7ac79487016446
2,232
package com.areebbeigh.webclip.controllers; import com.areebbeigh.webclip.dtos.Credentials; import com.areebbeigh.webclip.dtos.UserDetailsAuthDto; import com.areebbeigh.webclip.services.AuthenticationService; import com.areebbeigh.webclip.services.UserService; import lombok.extern.slf4j.Slf4j; import org.springframewo...
39.157895
97
0.754928
034c3a205538be25ca60f8f9746b13e9f6f3eca7
2,153
package org.aepscolombia.platform.models.entity; // Generated Apr 8, 2014 9:37:27 AM by Hibernate Tools 3.2.1.GA import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import static j...
26.256098
67
0.685555
1ab351ca8e9ee603ed3f05fab6fb521446c47ac1
7,635
package net.yasfu.acoworth; import java.sql.*; import java.util.ArrayList; import org.bukkit.Material; import org.bukkit.configuration.file.FileConfiguration; import static org.bukkit.Bukkit.getServer; public class Storage { public static Connection conn; public static String tablePrefix = ""; public ...
33.051948
225
0.525344
3896d9f0bb3cc1063673776fb2c609fa7eee5bf0
11,288
package com.cloudapp.impl; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import org.apache.http.client.ClientProtoco...
36.649351
122
0.677268
2114cce8c7cd4cc201dc82f3708cc97a5143c778
5,136
package com.orientechnologies.orient.core.storage.impl.local.paginated; import com.orientechnologies.common.serialization.types.OIntegerSerializer; import com.orientechnologies.common.serialization.types.OLongSerializer; import com.orientechnologies.common.serialization.types.OStringSerializer; import com.orientechnol...
35.666667
112
0.722936
12c1dc89e0540fed61ae0a0b3415d3a0fa9815b8
791
package io.dronefleet.mavlink.common; import io.dronefleet.mavlink.annotations.MavlinkEntryInfo; import io.dronefleet.mavlink.annotations.MavlinkEnum; /** * Enumeration of battery functions */ @MavlinkEnum public enum MavBatteryFunction { /** * Battery function is unknown */ @MavlinkEntryInfo(0)...
19.292683
58
0.673831
8343606925b564725604e1064a67d49ff6b00582
269,551
/*--- iGeo - http://igeo.jp Copyright (c) 2002-2013 Satoru Sugihara This file is part of iGeo. iGeo 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, version 3. iGeo is distri...
31.975208
145
0.644895
43f6d0ef7c52eac1405a4070ed5d197740f32734
3,331
/* * Copyright 2015-2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.hod.client.api.userstore.group; import com.hp.autonomy.hod.client.api.authentication.AuthenticationToken; ...
35.063158
115
0.70039
b97615cca6636685b8cb7c2ad17f51196f233d42
561
package net; import net.Q5; import net.aSv; import net.minecraft.network.Packet; import net.minecraft.network.play.client.C03PacketPlayer; public class bQ implements Q5 { C03PacketPlayer a; public bQ(C03PacketPlayer var1) { this.a = var1; } @aSv public void setOnGround(boolean var1) { thi...
16.028571
57
0.641711
14601acb52a4c045c6c63a1b503bdd8e43fc1b2c
1,959
/* * Copyright (C) 2015-2018 S.Violet * * 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 agr...
27.985714
75
0.717713
1ade5d668cb0775e1326cbae0ad6194e8ff15718
885
package com.bc.ur; public class UREncoder extends NativeWrapper { public static String encode(UR ur) { return BCUR.UREncoder_encode(ur); } public UREncoder(UR ur, int maxFragmentLen, int firstSeqNum, int minFragmentLen) { super(BCUR.UREncoder_new(ur, maxFragmentLen, firstSeqNum, minFragme...
23.918919
86
0.671186
b320cfb3fbae81afe82ac2d0cc111e82af783a75
2,800
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.02.26 at 10:38:...
30.107527
161
0.681786
816d3553df787efe133093c3c5f1b27417e0929b
807
package br.gov.sp.etec.intencaoFinanciamento.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.servlet.ModelAndView; import br.go...
31.038462
90
0.817844
5eff0d5476a80144bd4f61ea109dc3ee88e525ec
16,451
/** * Copyright 2017 Otto (GmbH & Co KG) * <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 ...
40.720297
129
0.638685
60a365835e2ec1156b4389d7fbe8138862d3d3fa
7,495
/* * 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...
31.359833
100
0.627752
74db26d25c3709b22ec21ad20d7af79e4cdb23e8
337
package linked_list_assignment.q8; import java.util.List; public class InsertAtEnd { public void insertAtTail(List<String> colorList, String element) { colorList.add(element); } public void displayLL(List<String> colorList) { System.out.println("Here's the modified Linked List: "); System.out.println(c...
17.736842
65
0.738872
3b5f2c1ca51a44b3a5f93b7d21822a696b5c0c6b
9,352
package org.talend.components.google.drive.runtime; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Matchers.anyString; im...
38.966667
126
0.635051
7e91dcd893edf92f714911a79710d3e5f0e484f8
4,639
/* * Copyright (C) 2010-2021 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.repo.common.activity.run; import java.util.Collection; import javax.xml.namespace.QName; import c...
43.35514
128
0.755982
82188e056736f5372cb1abbe5d8bbc6ed2f08f8b
1,296
package com.ryandw11.structure.loottables; import com.ryandw11.structure.CustomStructures; import com.ryandw11.structure.exceptions.LootTableException; import java.util.HashMap; import java.util.Map; /** * This handles the loot tables. */ public class LootTablesHandler { private Map<String, LootTable> lootTab...
32.4
109
0.650463
cf39a18c60ac6edfb0c4f6251695fbb712ccbe8f
2,689
package persistencia; import java.io.File; import java.io.FileWriter; import java.util.ArrayList; import java.util.Scanner; public class PerfilDAO implements DAO<Perfil> { public void save(Perfil f) { try { // diretório File dir = new File("usuarios"); if(dir.list().length==0){ Perfil p = new Perfil(...
23.181034
61
0.612123
53b8d3219ef5c889868555076f6a43b434d946e2
196
package id.ac.ui.cs.advprog.tutorial4.exercise1.factory.cheese; public class KraftCheese implements Cheese { public String toString() { return "Melted Kraft Cheddar Cheese"; } }
21.777778
63
0.719388
9cf6ece2b7c27dc8f103e507dd405bab7e82e983
5,707
package ch.epfl.sdp.appart; import org.junit.Test; import java.util.ArrayList; import java.util.List; import ch.epfl.sdp.appart.user.AppUser; import ch.epfl.sdp.appart.user.Gender; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals...
31.705556
88
0.640967
9e81a57e5e74927c81beccbe0ea355805689b97f
665
package br.com.pillwatcher.dpb.repositories; import br.com.pillwatcher.dpb.entities.Prescription; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import java.util.List; public interface Prescri...
36.944444
84
0.777444
81d6b9c8345d74444f669742c58d99f72adf18dc
1,264
package com.apexmob.casus.client; import com.apexmob.casus.GameEvent; import com.apexmob.casus.GameEventDispatcher; import com.apexmob.casus.Service; import java.lang.reflect.Type; /** * GameEventDistributor represents the basic interface for distributing events received from a remote system to * the appropriate {...
31.6
111
0.717563
310022997e9cde7a439066b0189622e531dbfafd
1,537
/* Copyright (c) 2011 Danish Maritime Authority * * 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 * version 3 of the License, or (at your option) any later version. * * This...
33.413043
85
0.695511
91e532d9e2a7be5b992a64046d253b875ef35a08
4,026
/* * MIT License * * Copyright (c) 2019-2020 PiggyPiglet * * 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,...
44.733333
122
0.72305
26dc4bf6b5599fe20eff86aae142e606eb07114a
588
package io.deephaven.web.shared.data; import java.io.Serializable; public class ShiftedRange implements Serializable { private Range range; private long delta; public ShiftedRange() {} public ShiftedRange(Range range, long delta) { setRange(range); setDelta(delta); } public ...
18.375
51
0.622449
44b1dc93f1b1bc1e4c1e033d72d9bf8160aba883
1,889
package org.hbrs.se2.project.npng.view.layoutview; import com.vaadin.flow.component.Component; import com.vaadin.flow.component.UI; import com.vaadin.flow.component.applayout.AppLayout; import com.vaadin.flow.component.dependency.CssImport; import com.vaadin.flow.component.html.H2; import com.vaadin.flow.component.ico...
36.326923
87
0.695606
9ac2d955e474fbc147b5ac1c0c82d0a0b7bafa3d
1,369
package edu.fiuba.algo3.modelo; import java.util.ArrayList; import edu.fiuba.algo3.excepciones.EjercitoYaVencidoException; public class Batalla { private Ejercito ejercitoAtacante; private Ejercito ejercitoDefensor; public void asignarEjercitos(Ejercito ejercitoAtacante, Ejercito ejercitoDefensor){ ...
30.422222
119
0.658145
b7c81923723eecbe803d61089edd57da57aa7e6b
2,675
/* * Copyright 2002-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...
38.214286
111
0.704299
9cbe2075c759337a441db631108c4d1a6bcc601f
327
package io.github.crudzilla; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) public @interface CRUDZillaEntidadeSecurity { CRUDZillaOperations operation(); /** * name of the spring security Authority required */ String valu...
21.8
53
0.752294
bb3ad8bfc3dff093124197d57c0d63fc38a87106
1,368
import java.util.ArrayList; import java.util.Date; public class Employee { private final int employeeId; private String name; private Date promotionDate; private int role; private ArrayList<EmployeeAppraisal> appraisalHistory; public Employee(int employeeId, String name, int role) { this.employeeI...
25.333333
89
0.696637
ee1eddbaebae8592def064f9569d35d345ab23d5
1,239
package prope.metrics.adaptability.elements; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; public final class AdaptableElements extends ElementsCollection { private final Collection<AdaptableElement> elements...
25.8125
70
0.751412
5be3cccf83cecf74b5a8c04576e4e02ec3b09067
3,477
/* * Copyright 2014 FortSoft * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with * the License. You may obtain a copy of the License in the LICENSE file, or at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
33.432692
118
0.621225
547d2910e1c64b8b3a08911fea7d1f63dce3b138
10,983
package org.dnal.core.fluent.type; import java.util.ArrayList; import java.util.List; import org.dnal.core.BuiltInTypes; import org.dnal.core.DListType; import org.dnal.core.DStructType; import org.dnal.core.DType; import org.dnal.core.DTypeRegistry; import org.dnal.core.DTypeRegistryBuilder; import org.dnal.core.Ord...
33.690184
92
0.680324
94de142be0dfd20491c25dbfbedfc977be31ec04
1,023
package thread; public class NotFinishedThread { //method to prevent not finishing task; NotFinishedThread(){ Runnable hello = new DisplayMessage("Not finishing "); Thread notfinish = new Thread(hello); notfinish.setName("Not finishing "); notfinish.setDaemon(true); System.out.println("Starting notfinish ...
19.673077
56
0.664712
8fcd6cb60770fc3de81d809a3cd506ba80f6d3dd
12,162
package org.apache.cassandra.spark.utils; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.RandomAccessFile; import java.net.InetSocketAddress; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.security.MessageDiges...
40.271523
165
0.582799
52da89faafc0e1d396ff743cc42aa5e50aa8cc71
169
/** * */ package cn.nh121.echarts.series; /** * @author ODMark * @creation 2014-7-19 */ public enum ESeriesSort { NONE, ASCENDING, DESCENDING; }
12.071429
33
0.579882
9d8bd03045cb0faff34bf61fea9dd402cfb39866
543
package com.mesosphere.sdk.offer.taskdata; /** * Provides write access to task labels which are (only) written by the Executor. */ public class ExecutorLabelWriter extends LabelWriter { public ExecutorLabelWriter() { super(); } /** * Indicates to the Scheduler that an Executor's readiness ...
27.15
108
0.71639
02ffb6a94dac95c4a5d7974d85aeea71e4034935
941
package com.tian; import java.sql.*; /** * @author tiankx * @version 1.0.0 * @date 2020/12/13 9:43 */ public class TestHiveJDBC { public static void main(String[] args) throws ClassNotFoundException, SQLException { // String driver = "org.apache.hive.jdbc.HiveDriver"; // String url = "jdbc:hiv...
32.448276
88
0.594049
1d39537cc2be7672f6a371d49400ac49e1d2b7c6
1,339
package eu.usrv.gtsu.blocks.itemblocks; import static eu.usrv.gtsu.TierHelper.V; import java.util.List; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.util.StatCollector; import eu.usrv....
35.236842
186
0.746079
e30b486daf98ffd8629ef52d9a7e84bc98c6bc7d
778
/* * Copyright: (C) 2010 RobotCub Consortium * Author: Lorenzo Natale, Paul Fitzpatrick * CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT */ import yarp.Network; //run this to load the yarp library and initialize the network in Java class LoadYarp{ private static int yarpI...
22.882353
86
0.660668
18da1439ab2ec3ea89553a57ae2986fc2a6aa279
10,048
package me.piebridge.brevent.ui; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.res.Resource...
44.657778
101
0.679339
6d39b9b0e2d5a351da0ac5c384addd8cc81f0081
1,211
package org.springframework.social.vkontakte.api.impl; import java.util.Date; /** * https://vk.com/dev/newsfeed.search request * @author dIsoVi */ public class NewsFeedSearchRequest { public String q; public Long count; public Double latitude; public Double longitude; public String startFrom; ...
26.326087
172
0.654005
dd810830a35c080155cc969bb885b392f68dbbd5
156
import <error descr="Class 'OuterClass' is in the default package">OuterClass</error>.*; class OuterClass { class Inner { } } class X { Inner inner; }
17.333333
88
0.692308
facfa85845f3aa791b86c594f8c39137e87c7551
1,392
/* * Copyright 2017 The OpenYOLO Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.933333
99
0.680316
2309c0fe4ea3fa7a688a700fd21c45b52bd1749e
4,784
package frc.robot.commands.autonomous; import com.kauailabs.navx.frc.AHRS; import edu.wpi.first.wpilibj.geometry.Pose2d; import edu.wpi.first.wpilibj.geometry.Rotation2d; import edu.wpi.first.wpilibj.geometry.Translation2d; import edu.wpi.first.wpilibj.trajectory.Trajectory; import edu.wpi.first.wpilibj.trajectory.Tra...
53.752809
101
0.595109
a2f5ba09452bda2fa2542bc7f0b002a7579182fb
1,694
package thut.core.common.world.mobs.data.types; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.item.ItemStack; public class Data_ItemStack extends Data_Base<ItemStack> { ItemStack value = ItemStack.EMPTY; public Data_I...
22.891892
80
0.593861
6e397258f26dee70d54ab5d3372c0963261099e0
2,682
/* Accumulo Collections Copyright 2016 Isentropy LLC Written by Jonathan Wolff <jwolff@isentropy.com> Isentropy specializes in big data and quantitative programming consulting, with particular expertise in Accumulo development and installation. More info at http://isentropy.com. Licensed under the Apache License, V...
27.9375
86
0.788591
93bbfbf8735fdf5f42871a7151abe17db7e06061
14,132
/* * 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 ...
38.612022
114
0.502477
f0e8814f78e85c4fc24929c779fb7fee7298b435
2,037
/* * Copyright 2003-2014 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...
33.95
123
0.736868
09d37ac03d0e47e977b77b8ec2e86dfcf41aa474
3,520
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
40
107
0.728409
236eb9e02b59a1b0d7dc950a1da885c6819b5420
7,449
/* Copyright 2017, 2018, 2019, 2020 Masao Tomono Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
43.057803
151
0.612565
3ee8ee95b2e520bfe7d57e4f1075c9236aa112bc
2,411
package ru.otus.raukhvarger.homework_1.service; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import ru.otus.raukhvarger.homework_1.domain.Question; import ru.otus.raukhvarger.homework_1.domain.answers.Answer; import ru.otus.raukhvarger.homework_1.domain.answers.AnswerType; import ru.otus...
40.183333
133
0.733306
8da72570a59d40f888e9106f19fbf3f0020bd59d
587
package com.sxu.permission; import android.app.Activity; /******************************************************************************* * 自定义解释申请权限和引导用户开启权限的样式 * * @author Freeman * * @date 2018/11/1 * *******************************************************************************/ public interface AlertStyl...
20.241379
81
0.504259
0b98b9df18ef14f30d6ca49261ef51813394f956
5,805
/* * ice4j, the OpenSource Java Solution for NAT and Firewall Traversal. * * Copyright @ 2015 Atlassian Pty Ltd * * 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.apa...
31.209677
79
0.606374
466fac55518ca79506dc03fc45688010137fb346
492
package com.github.maracas.visitors; import japicmp.model.JApiCompatibilityChange; import spoon.reflect.reference.CtTypeReference; /** * Visitor in charge of gathering class removed issues in client code. */ public class ClassRemovedVisitor extends TypeReferenceVisitor { /** * Creates a ClassRemovedVisitor insta...
25.894737
70
0.780488
66d350c0aaf6907c0349ae8ef4177589fe527eb8
3,486
/** * * ImageLoader Class * <p> * Offers a way to load an image (JPEG or GIF) from a disk location relative * the a Java Class. * These methods work when using the code as a StandAlone application, class files * inside a Browser, and or and JAR file loaded into a Browser. * * To use, simply call the static m...
27.666667
84
0.650316
306890bff3529920a1342c5f4112ab901061f38b
532
package hsenidmobile.sdp.ws.subscription; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; /** * Created by sampath on 2/8/18. */ @XmlAccessorType(value = XmlAccessType.FIELD) public class Auth { @XmlElement(name = "P...
22.166667
51
0.714286
568697f2dd9fc476a47641ec17d93784d51bd486
1,272
package br.com.technologies.venom.medalertapp.dao; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Update; import java.util.List; @Dao public interface DAOGenerico<T> { /** * Função responsável por inserir um o...
24
76
0.654088
247717bb18d81f6dc8ed4afc96f8fdc8becb6377
1,226
/* * 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 * distribut...
40.866667
106
0.761011
2b23797ef18a9a7623e9ffaffdc3f8066df57e58
1,080
package org.richfaces.demo.paint2d; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; public class PaintBean { private int fontSize; public void paint(Graphics2D g2d, Object obj) { PaintData data = (PaintData) obj; ...
27.692308
85
0.605556
2c1c33b76fa4ff09cee5874acc3a44d1810fb48b
11,613
package com.woniukeji.jianmerchant.talk; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widg...
41.773381
155
0.579781
44cbf47712a424c9e2a8ef70aa07432706000919
3,722
/* * Copyright (c) 2017 original authors and 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...
40.021505
101
0.717894
2425af4a2e7d4bb0aab9e576c39b122e0c43c077
566
import java.awt.*; import java.util.Vector; public abstract class Agent extends Entity { public Agent(double x, double y) { super(x, y); } public void touch_control(Vector<Order> dene){} //getters public void setCurrent_gold(double gold_price){} public void setAll_orders(Vector<Orde...
19.517241
60
0.65371
c4bf56a0b01f306bb84f6de0a703cc635be77d7d
253
package com.infomaximum.database.exception; public class ColumnFamilyNotFoundException extends DatabaseException { public ColumnFamilyNotFoundException(String columnFamily) { super("Column family " + columnFamily + " not found."); } }
28.111111
70
0.758893
6e4887ef379f364e76cbbf832aa4199a13e03b72
5,625
package io.vertx.tp.crud.uca.trans; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.tp.crud.init.IxPin; import io.vertx.tp.crud.refine.Ix; import io.vertx.tp.crud.uca.desk.IxMod; import io.vertx.up.atom.Kv; import io.vertx.up.eon.Strings; import i...
41.058394
120
0.554311
2d0ffd980a6edafe9d2271138a322f76723fc793
305
package ar.com.kfgodel.function.chars; import java.util.function.Function; /** * Date: 29/07/17 - 19:57 */ public interface CharToByteFunction extends Function<Character, Byte> { byte apply(char input); @Override default Byte apply(Character input){ return apply(input.charValue()); } }
17.941176
71
0.714754
3e03402676851720189b2681a6faed2ac7c18d39
842
package com.golda.recallme.ui.viewmodel; import android.app.Application; import android.arch.lifecycle.AndroidViewModel; import android.arch.lifecycle.LiveData; import android.support.annotation.NonNull; import com.golda.recallme.alarm.db.AlarmDBUtils; import com.golda.recallme.models.alarm.AlarmModel; public class ...
25.515152
73
0.723278
1ca357fd1ce4b7203e6fba492c0506a9e2e1eedd
3,018
package org.eolang.core; import org.eolang.EOstring; import org.eolang.core.data.EODataObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.lang.reflect.Constructor; import java.lang.reflect.Parameter; import java.nio.charset.Stan...
32.451613
129
0.569251
4107b8916829dbde82be175d12c43c2a97a83109
3,270
package meet_eat.app.fragment.main.settings; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragm...
35.543478
115
0.719572
69bb19ad0e6f95d17f74a40197ad7c8f1f877d80
175,125
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
58.511527
386
0.832394
0c6ac8ae71dfb88fbdfa7b17a327fc3214b69f49
3,402
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: type.proto package com.google.cloud.teleport.spanner; public interface StructTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:com.google.cloud.teleport.spanner.StructType) com.google.protobuf.MessageOrBuilder { /** ...
43.063291
95
0.707819
a1434594147e434aff4143257fbc632805800f43
814
package Z_Exams.exam26Feb2017; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Ex01HornetWings { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); long ...
35.391304
85
0.697789
684c2560aa2459d7414564177f32f29dd1716384
272
module funcionario { requires pessoa; exports com.guilherme.funcionário; exports com.guilherme.funcionário.gerente; exports com.guilherme.funcionário.atendente; exports com.guilherme.funcionário.caixa; exports com.guilherme.funcionário.segurança; }
34
48
0.775735
d7606e3af18b7c9626137b47b2f3cae0316cbaea
139
package javatest.outOfMemoryError; /** * Request size bytes for reason. Out of swap space */ public class OOME_OutOfSwapSpaceError { }
15.444444
51
0.755396
a35c234111460edb6ecc64de8e02f01b64661411
13,575
/* * 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 n...
35.168394
80
0.696206
fc798884a9e5f4624309f48ef9dfd2a1ccac3ddd
5,466
package com.oauth2cloud.server.rest.endpoints.api; import com.oauth2cloud.server.OAuth2Test; import com.oauth2cloud.server.model.api.TokenResponse; import com.oauth2cloud.server.model.db.*; import com.oauth2cloud.server.util.Crud; import org.testng.annotations.Test; import java.util.*; public class CrudTest extends...
39.323741
108
0.58873
f5cb992e5339e7715b01f96a5ce99b7628957221
4,245
/* * Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
35.082645
119
0.604005
1e72ec50c7b691b17a2c45be1a1a64b874ec5371
3,188
package fr.insee.eno.ws; import java.util.Arrays; import java.util.stream.StreamSupport; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplic...
43.671233
119
0.671581
ef8fbaba93c189a9aa15de4f0848e24a869585a3
3,388
/* Copyright 2018 Goldman Sachs. 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...
29.982301
126
0.582054
aa16c43aea35647a9e09dc2d626a28d1e663ad74
648
package com.kazge.sopo.component; import com.kazge.sopo.MarkupWriter; public class Title extends TagComponent { public Title() { } public Title(String title) { this.setTitle(title); } @Override public String getTagName() { return "title"; } public String getTitle() { r...
15.069767
80
0.649691
01fbe2cd526a994663a1416fa308f320c3ff53a6
1,293
/* * Copyright 2012 Guido Steinacker * * 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.108696
99
0.67208
aa42b13c1aac048f202176e687291cdb55d6c455
1,148
package br.com.lorenzowindmoller.projecthub.service.database; import androidx.room.Database; import androidx.room.Room; import androidx.room.RoomDatabase; import android.content.Context; import br.com.lorenzowindmoller.projecthub.service.model.Project.Project; import br.com.lorenzowindmoller.projecthub.service.model....
37.032258
84
0.743902
8ee9ab76e0219f88451893c815fe2cee96f5bdec
683
package collectors.app; import static java.lang.System.out; import static java.util.Arrays.asList; import static java.util.stream.Collectors.summarizingInt; import java.util.IntSummaryStatistics; import java.util.List; public class Summarizing { public static void main(String... args) { List<Employee> list = ...
25.296296
57
0.68082
d0328d8951cc1fadb0b56efd0bb7a98a790b00f8
1,081
package com.nshirley.engine3d.window; import org.lwjgl.glfw.GLFWMouseButtonCallback; import org.lwjgl.glfw.GLFW; public class MouseButton extends GLFWMouseButtonCallback { public static boolean[] mouseButtons = new boolean[10]; private static boolean[] mousePressArr = new boolean[10]; private static bool...
25.738095
69
0.689177
0ff21dea9da63907ba5fd071c2ca1c37bd43c3bd
1,124
package com.web.common.web.common.util.img; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class ImageSizer { /** * @param originalFile 原图像 * @param resizedFile 压缩后的图像 * @param width 图像宽 * @para...
32.114286
100
0.623665
5670765858d19eb1ae7b1e4f17be2adfdcc3f112
6,811
package lavalink.client.io; import com.sedmelluq.discord.lavaplayer.tools.FriendlyException; import com.sedmelluq.discord.lavaplayer.track.AudioItem; import com.sedmelluq.discord.lavaplayer.track.AudioReference; import com.sedmelluq.discord.lavaplayer.track.AudioTrack; import com.sedmelluq.discord.lavaplayer.track.Bas...
51.598485
154
0.539568
18d9dc281ab975973f9db5eb8269515feae2904b
3,614
/* KeyPool.java -- A set of ephemeral key pairs. Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Fo...
32.558559
78
0.658273
8803ebd5f692ecfd4418698130154a3b8dcdf788
8,855
/* * 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 ...
29.032787
82
0.670807
a9cbbe1d7754e481468bceebc8d9bde91c1fdc9d
3,217
package com.umang.crowdpant.data; import android.content.ContentResolver; import android.content.ContentUris; import android.net.Uri; import android.provider.BaseColumns; /** * Created by umang on 10/02/16. */ public class CrowdPantContract { public static final String CONTENT_AUTHORITY = "com.umang.crowdpant"...
36.977011
141
0.704072