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
854af7f0b89e59f849ec17ed5b1846e2995023d8
5,294
/* * 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 applica...
42.352
97
0.567057
e4de94ecba0c682ef331607a85ceef9ac0c61b39
1,995
/** * Copyright 2011-2019 Asakusa Framework 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...
24.036145
94
0.585464
e7316da5a18c4fe584363125d1397e4481d4a507
1,113
package org.bovinegenius.kurgan.types; import static java.lang.String.format; import java.util.regex.Pattern; import org.bovinegenius.kurgan.ConfigTypeErrorException; import org.bovinegenius.kurgan.yaml.YamlUtils; import org.yaml.snakeyaml.nodes.Node; import org.yaml.snakeyaml.nodes.ScalarNode; public class ConfigP...
29.289474
128
0.678347
62df69fa68726e11f277a82c51fd74fcd1eed6fd
3,150
package de.upb.recalys.helper; import java.awt.Color; /** * The Class CSSColorExtractor provides static methods to extract specific * colors from a css file. * * @author Roman Kober */ public class CSSColorExtractor { /** * Gets the fill-colors from a CSS File that defines a node element. * * @param pat...
27.876106
107
0.629841
3022956ab090d4cbc8e49ed3d40e3f69e3dd5c67
4,964
package nicta.com.au.failureanalysis.SectionOverlap; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; import java.util.HashSet; import nicta.com.au.failureanalysis.search.CollectionReader; import nicta.com.au.patent.document.P; import nicta.com.au.patent.do...
34.713287
138
0.670427
61d77be49c105a8fbc160837ec487f70ab616bf6
785
package com.shipc.demo.test.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; /** * @author shipc 2019/11/4 11:43 * @version 1.0 ...
32.708333
114
0.763057
1159010f8a33a676d468e03b8fced7d34b31975f
458
package toyrobot.client.command.factory.impl; import toyrobot.client.command.command.IGameCommand; import toyrobot.client.command.command.impl.PlaceGameCommand; import toyrobot.client.command.factory.GameCommandFactory; import toyrobot.domains.game.IGame; public class PlaceGameCommandFactory extends GameCommandFactor...
30.533333
72
0.810044
9f902a72867c80f22ffaee4bb6c41a05223451f7
1,831
/** * */ package com.quikj.mw.service.framework; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.web.servlet.HandlerExceptionResolver; import org.s...
25.788732
103
0.669033
b5c93e7a5a0e3f8eab36bade679e092bea027910
9,079
package com.roselism.callpp.activity; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7...
32.541219
111
0.559863
d22d2474d440274077a976ac5d2111baa21d2a85
105
package com.fasterxml.jackson.core.util; public interface Instantiatable<T> { T createInstance(); }
17.5
40
0.752381
fd1b28d48ea84a88ef8175de6fa8d2995f01bd72
347
package com.lambdaschool.starthere.repository; import com.lambdaschool.starthere.models.Author; import org.springframework.data.repository.PagingAndSortingRepository; public interface AuthorRepository extends PagingAndSortingRepository<Author, Long> { Author findByLastname(String lastname); Author findByFirs...
28.916667
82
0.838617
ef0c9165d0ad15d35a9cd6959fa975bce3b517a3
3,272
/* * Copyright (c) 2011 Matthew Francis * * 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, modify, merge, pu...
27.041322
86
0.727689
789fc1f31b8449e971e1b98499fff1c049dd1d38
1,189
package com.medisafe.app.gui.user; import com.medisafe.app.classes.Medic; import com.medisafe.app.classes.MedicPatientList; import com.medisafe.app.classes.User; import javax.swing.*; import java.awt.*; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; public class UserInfoLabel extends JLabel i...
23.78
68
0.673675
c503cf5784e33faaf6d04f0327f1a42a1ee0163c
1,770
package com.oneeyedmen.okeydoke.junit; import com.oneeyedmen.okeydoke.Name; import org.junit.runner.Description; import java.lang.reflect.Method; public class StandardTestNamer implements TestNamer { @Override public String nameFor(Description description) { return nameFromClass(description) + suffi...
34.705882
90
0.666102
c30bed7bcb8b54cf14331b498bd36799e2a50c1f
381
package snacks; /** * One of the more specialized snack objects. * @author Kevin Kirkham * */ public class Popcorn extends Snack { public static double price = 1.45; public Popcorn() { super("Popcorn", price); } public Popcorn(double price) { super("Popcorn", price); } public vo...
15.24
46
0.619423
b0c977a45d19964123ba3eae84ed5abb0158a0f5
4,990
package edu.emich.honors.testconnect; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.Defau...
31.582278
120
0.62505
538fc2cd84684ff3a1f08c98944f77a5921d3af5
4,466
package com.rethinkdb.net; import com.rethinkdb.gen.ast.Datum; import com.rethinkdb.gen.exc.ReqlDriverError; import com.rethinkdb.model.GroupedResult; import com.rethinkdb.model.MapObject; import com.rethinkdb.model.OptArgs; import java.time.Instant; import java.time.OffsetDateTime; import java.time.ZoneOffset; impo...
37.847458
100
0.585759
ee0d3bbd719814e678dfeb3f237c9d9f5d11d315
4,090
/* Class194_Sub16_Sub1 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.jagex; public class Class194_Sub16_Sub1 extends Class194_Sub16 { int anInt11393; int anInt11394; int anInt11395; Class194_Sub16_Sub1(RSBuffer class523_sub34) { super(class523_sub34); int i = class523_sub34.readUn...
69.322034
439
0.748166
e2f720950f780fe9da2c721964cbdefc105d7b3f
12,528
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.design.widget; import android.support.v4.math.MathUtils; import android.support.v4.view.ViewCompat; import android.support.v4.widg...
38.666667
118
0.557471
d3c62ad54e89f9fa2718efdefcb31698a2810361
418
package com.extracraftx.minecraft.extradoors.tags; import net.fabricmc.fabric.api.tag.TagRegistry; import net.minecraft.block.Block; import net.minecraft.tag.Tag; import net.minecraft.util.Identifier; public class Tags{ public static Tag<Block> INTERACTABLE_DOORS; public static void registerTags(){ I...
29.857143
99
0.77512
2f3e6be74b653c77fa2faa3f4aba81ab7ee090c0
756
/* * 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 bin.game; import bin.game.dungeon.shop.ShopFactory; import bin.game.panels.ScreenControl; import bin.game.resources.GameResou...
22.909091
79
0.662698
f5020c7ecfe26b1eabc1ab0f4eaee14318ce919d
3,855
package example.controllers; import example.models.Post; import example.models.UserAccount; import example.services.PostService; import example.services.PostServiceImpl; import example.services.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; impor...
26.22449
84
0.66537
424cde9b1f9066d7c1ca389ca82b87a2f1158d9b
2,548
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild package io.kaitai.struct.testformats; import io.kaitai.struct.ByteBufferKaitaiStream; import io.kaitai.struct.KaitaiStruct; import io.kaitai.struct.KaitaiStream; import java.io.IOException; /** * Another one-liner ...
27.695652
99
0.620879
38a929e1c40cbc0dfb7bdb615ff7e87f5a9dac4c
454
package com.matheusicaro.course.fullstack.repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import com.matheusicaro.course.fullstack.domain.Client; @Repository public interface...
28.375
74
0.837004
b53101534c8820a8f440de1406a29d70b25cf003
126
class LambdaExpression { public void foo() { new ArrayList<String>().forEach((x) -> System.out.<caret>println(x)); } }
25.2
73
0.650794
f002606cf6c4d8cf38f1d57ff4307a8546955733
236
package tgits.random.dice; import javax.inject.Singleton; @Singleton public final class D12 extends Dice { public D12() { super(); } @Override public int numberOfPossibleValues() { return 12; } }
13.882353
41
0.627119
5eb1f0b36deb986540158073886a5809242974cc
829
package me.j360.dubbo.modules.util.base; import org.apache.commons.lang3.EnumUtils; import java.util.EnumSet; /** * 枚举工具集 * * @author calvin * */ public class EnumUtil { /** * 将若干个枚举值转换为long,用于使用long保存多个选项的情况. */ public static <E extends Enum<E>> long generateBits(final Class<E> enumClass, final Iterabl...
22.405405
116
0.721351
c98200f7462cd72b409acfc3a048de9339b2c10f
2,934
package seedu.address.ui; import java.util.Objects; import java.util.function.Consumer; import java.util.logging.Logger; import javafx.beans.value.ObservableValue; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; import java...
39.648649
120
0.668371
3f5db7f36f8b447d6a095241e3c6f2bc2c808647
2,365
package com.ridebuddy.util; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import javax.annotation.PostConstruct; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; imp...
29.5625
78
0.75222
950fab1c504330173bf0855a9a709c9c52c48616
1,248
package com.su.controller; import com.su.service.IShortUrlService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.hibernate.validator.constraints.URL; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
32
95
0.742788
52f199d55f71763a77871502e8c764d92e5ff816
6,762
/* * COPYRIGHT NOTICE * Copyright (C) 2015, ticktick <lujun.hust@gmail.com> * https://github.com/Jhuster/ImageCropper * * @license under the Apache License, Version 2.0 * * @file CropImageActivity.java * @brief Image Cropper Activity * * @version 1.0 * @author ticktick ...
32.825243
147
0.565957
7f6c852b25b0045ba88dfaf51c924ea865780727
9,424
package org.riversun.d6.core; import static org.junit.Assert.assertEquals; import java.sql.Time; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TestName; /** * * Test for WhereCondition...
32.608997
174
0.653969
c1f1316850a1522c678ba8a2db4a667b30160218
57
package io.github.suxil.dict.api.converter; // 业务数据转字典数据
19
43
0.789474
e140d6091ef402f837ae116e7ab3a9050f177749
785
package com.eloli.mbt.core.channel.clientPacket; import com.eloli.sodioncore.channel.ClientPacket; import com.eloli.sodioncore.channel.util.FieldWrapper; import com.eloli.sodioncore.channel.util.Priority; import java.util.List; public class DeeperTeleportPacket extends ClientPacket { public static List<FieldWrap...
25.322581
108
0.742675
97eb0f1b89a00f2ba3e35922c5a032b4cf5a7942
8,478
package org.appng.application.scheduler.configuration; import java.io.IOException; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; import java.util.HashMap; import java.util.Properties; import java...
44.857143
135
0.801958
80b2d9698649e9365eebc7e764e8d2fb37030ad1
662
package pokecube.core.world.gen.jigsaw; import java.util.Random; import com.mojang.serialization.Codec; import net.minecraft.util.math.BlockPos; import net.minecraft.world.ISeedReader; import net.minecraft.world.gen.ChunkGenerator; import net.minecraft.world.gen.feature.Feature; public class CustomJigsawFeature ext...
22.827586
121
0.744713
2c90a3a7b44724bdb5124a0431b93776fcb09141
4,960
package io.onedev.server.git; import java.io.IOException; import java.net.InetAddress; import java.util.Enumeration; import java.util.List; import javax.inject.Inject; import javax.inject.Singleton; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequ...
35.683453
124
0.652823
e986359c92418878f0d3b2052c66b6eda80213bd
7,339
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
39.67027
100
0.56738
9f9430c7ba8a4906d6423df276de52898f953baf
3,334
package com.purvotara.airbnbmapexample.ui.activity; import android.graphics.Color; import android.graphics.PorterDuff; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.sup...
36.23913
113
0.713257
1dd6f51291fae11398203e926671142269db653b
648
package sonia.scm.plugin; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; imp...
24
49
0.814815
a18f7e730e4e4979cded26572aac576b0745d559
2,003
/** */ package lasser.sketch; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Text Area</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link lasser.sketch.TextArea#getRows <em>Rows</em>}</li> * <li>{@link lasser.sketch.TextAr...
26.012987
97
0.606091
adc6deb1a525d173518ade28efb7f64b28fc4050
804
public class Magazine extends LibraryItem { /* FIELDS */ private String coverStory; private String issueDate; /* CONSTRUCTOR */ public Magazine(String title, String coverStory, String issueDate) { super(title); this.coverStory = coverStory; this.issueDate = issueDate; } /* METHODS */ public String ge...
21.72973
174
0.696517
b7d63ce1b5763254dc0935426249d55be366e13b
1,146
/** * Copyright (C) 2015 Stubhub. */ package io.bigdime.handler.webhdfs; import org.apache.commons.lang3.StringUtils; import com.google.common.base.Preconditions; public class HdfsFileNameBuilder { private String prefix; private String channelDesc; private String sourceFileName; private String extension; pub...
25.466667
71
0.767888
71e5d7ab393a6daf0256c5fd1f04c9e4699461ca
1,723
package fr.cla.wires.core.boxes; import fr.cla.wires.core.Clock; import fr.cla.wires.core.Delay; import fr.cla.wires.core.Wire; import java.util.List; import java.util.function.Function; import java.util.function.UnaryOperator; //@formatter:off /** * -->"Explaining the intention" approach to javadoc: * Does like i...
37.456522
116
0.692977
dfbeb5c4ce417c453c7612dfa09b19de21e1a6aa
1,144
package iterator.external; import iterator.Candidate; import iterator.internal.AllCandidates; import java.util.Enumeration; import java.util.Iterator; import java.util.NoSuchElementException; public class CertificatedCandidates implements Iterator<Candidate> { private AllCandidates1 alls; private Enumeration<Candi...
24.340426
70
0.743881
f85b7a708e1e9af470f93446b7e127fcf321c0d8
5,277
/* * Copyright by 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 applicable...
40.282443
117
0.662877
f22b6acede0664cf81fbea08e34ab8c93a9a4f6b
962
package Week1; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; public class Week1Exercise3 { private static long nthFibo(long a0, long a1, long a2, int n) { if (n == 0) return a0; if (n == 1) return a1; if (n ...
22.904762
77
0.633056
1e842c5986747e8eb4ff0c1f2e23cc2db8c94287
1,961
/* * 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 ...
37
75
0.703723
6fd65bdca0de644113c9df16c3e15aa08ac4a130
372
package ftblag.lagslib.interfaces; import net.minecraft.client.renderer.tileentity.TileEntityRenderer; import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; import net.minecraft.tileentity.TileEntity; public interface ITileEntityRendererFactory<T extends TileEntity> { TileEntityRenderer<T>...
37.2
77
0.860215
e5227bf01d99274da6e57ebc292e05977ded6981
4,800
package loon; import static org.lwjgl.opengl.EXTFramebufferObject.GL_FRAMEBUFFER_EXT; import static org.lwjgl.opengl.EXTFramebufferObject.glBindFramebufferEXT; import static org.lwjgl.opengl.EXTFramebufferObject.glCheckFramebufferStatusEXT; import static org.lwjgl.opengl.EXTFramebufferObject.glDeleteFramebuffersEXT; i...
24.870466
102
0.723125
53d5c79f3a01dc32cee75b36a30a0a2ded0e68e9
10,075
/* * @(#)$Id$ * * Author : Michele Croci, mcroci@gmail.com * * Purpose : Dialog for mapping a gesture to an action. * * ----------------------------------------------------------------------- * * Revision Information: * * Date Who Reason * * Nov 26, 2007 ...
30.438066
83
0.620744
7b882f001f9072caa81810822c132ac2b296d2e5
179
package ua.goit.dao; import java.util.List; public interface GenericDao<T> { List<T> findAll(); T create(T t); T delete(T t); T update(T t); T findById(Integer id); }
14.916667
32
0.653631
4e36ce5990837fec2b9ed86ab211dfc7d3ab079e
13,169
package seedu.address.logic.parser; import static java.util.Objects.requireNonNull; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collection; import java.util.HashSet; import java.util.Optional; import java.util.Set; import seedu.address.commons.core.index.Index; import seedu.address.common...
37.625714
114
0.6775
6b4f180d58c84003593ba99bf9d87490c18bdd5f
17,825
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required by...
49.651811
156
0.69324
9c7913853e2870e9f8f76de7f8c2087db6fc8086
5,262
/* * Copyright Anatoliy Sablin tolya@sablin.xyz * * 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 l...
27.549738
129
0.655454
828a11f63035540cbd992572a1dc7e7983fc413e
682
package com.JStormLib.test; import com.JStormLib.MPQArchive; import java.io.File; import java.util.Arrays; /** * * @author Timo */ public class ArchiveTest { public static void main(String[] args){ try { File f = new File("poc.SC2Map"); File f2 = new File("test.png"); ...
25.259259
75
0.577713
44fd9d5d9d2688a67f8548eb10e0fb9cc6a01278
6,729
package edu.cornell.tech.foundry.sdl_rsx_rstbsupport; import android.graphics.Color; import android.support.annotation.Nullable; import com.google.gson.JsonObject; import org.apache.commons.lang3.StringUtils; import org.researchstack.backbone.answerformat.AnswerFormat; import org.researchstack.backbone.answerformat....
39.816568
153
0.713925
ecdc2379e89e38ab65fdee726dee604d70db0386
1,134
package precedent; import looked.PeriodWarden; import filmmaker.Commodity; public class FabricatorCommemoration extends TriathlonMark implements Comparable<FabricatorCommemoration> { public static double amphetamineConfine = 0.25564972554681176; public static final String WannaEndsPreclude = "WILL_FINISH_OBJE...
29.842105
81
0.731041
852af841c756a08b8448fed6a036747a9f18e36e
1,573
package org.springframework.test.context.junit4; import org.springframework.test.context.ContextConfiguration; import org.springframework.util.ResourceUtils; /** * Extension of {@link SpringJUnit4ClassRunnerAppCtxTests}, which verifies that * we can specify multiple resource locations for our application context,...
44.942857
161
0.835346
c2dd83eb3f2a4641a49b1bf8d9fe2c7130b6ddfd
4,257
package seedu.address.testutil; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import seedu.address.commons.core.UserType; import seedu.address.logic.commands.EditCommand.EditPersonDescriptor; import seedu.address.model.person.Company; import seedu.address.model.person.Name;...
32.25
101
0.678882
bce7d3e2f07f22d415b6c6163bdf36ef51e07fb2
3,217
package za.ac.unisa.lms.tools.registrationstatus.forms; import java.util.ArrayList; public class StudyUnit { private String code; private String desc; private String regPeriod; private boolean regPeriod1 = false; private boolean regPeriod2 = false; private boolean regPeriod0 = false; private boolean regPeriod...
24.18797
73
0.742928
25ae1c64ce7e41a09a4b57b485ba8f56eb76fb02
3,921
package com.vrg.standalone; import com.google.common.net.HostAndPort; import com.vrg.rapid.Cluster; import com.vrg.rapid.NodeStatusChange; import com.vrg.rapid.Settings; import javax.annotation.Nullable; import java.io.IOException; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger...
38.441176
117
0.659526
df0b0697c4244861bb93e4bd492bcceef3b8db47
2,721
package com.ctrip.framework.cs; import com.ctrip.framework.cs.configuration.ConfigHandler; import com.google.gson.Gson; import com.google.gson.JsonPrimitive; import com.google.gson.reflect.TypeToken; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Type; import ...
37.791667
184
0.676222
789fe75eed74bd632198e0bb44bcd9c02a374d1d
370
package net.vanvendeloo.collections.comics; import lombok.Builder; import lombok.Value; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; @Document @Value @Builder public class ComicSeries { @Id String id; String seriesName; String author; ...
18.5
62
0.764865
fad68885939ae0eab77d366d6296bf125a20062a
642
package org.statesync.spring.demo.service.repository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.core.query.TextCriteria; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype....
32.1
71
0.833333
4fbae85dd884ed245fafcca1fbdba03397c9bead
1,017
package com.liemily.web.config; import org.apache.shiro.web.env.EnvironmentLoaderListener; import org.apache.shiro.web.servlet.ShiroFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration...
28.25
83
0.760079
8a2cf8d8bbd6bb70a6c08c23de5024b24dba782f
5,650
package lista2020.appmanager; import io.restassured.response.Response; import java.time.LocalDate; import java.time.LocalTime; import java.time.format.DateTimeFormatter; import java.util.*; import static io.restassured.RestAssured.given; public class ServiceVerificationRestHelper { CookieManager cookieManager;...
42.80303
142
0.58885
330250950def2defe9c8a970d8882bdd40fb9025
1,276
package cz.active24.client.fred.data.common.nsset; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Nameserver data detail. * * <ul> * <li>{@link NameserverData#name} - a nameserver hostname</li> * <li>{@link NameserverData#addr} - a namesever’s IP address(es)</li> * </ul> ...
22.785714
129
0.626176
e3080339f6c8da0dc2112c7f4cea4580b2819d1b
2,386
package crc6477f0d89a9cfd64b1; public class GroupedListViewAdapter extends crc6477f0d89a9cfd64b1.ListViewAdapter implements mono.android.IGCUserPeer, android.widget.SectionIndexer { /** @hide */ public static final String __md_methods; static { __md_methods = "n_getPositionForSection:(I)I:GetGetPosition...
32.243243
236
0.76907
f34ab381da6bbbb7ce0bb93dc8fafc277fdabe61
2,959
package es.uhu.mp.rpg; import es.uhu.mp.rpg.character.ICharacter; import es.uhu.mp.rpg.exception.GameException; import es.uhu.mp.rpg.exception.SceneException; import es.uhu.mp.rpg.scene.Scene; import java.util.HashMap; import java.util.Map; public class Game { private Map<String, Scene> scenes; private IChar...
32.516484
104
0.629267
f8fdc6975cfd9cb21a1fbae431dcb3c2d8aefe50
361
package com.bbva.hancock.sdk.models.socket; import com.google.gson.JsonObject; import lombok.Data; import java.io.Serializable; @Data public class HancockSocketMessage implements Serializable { private static final long serialVersionUID = -5868311404867886960L; private String kind; private JsonObject ra...
21.235294
71
0.786704
baf5a77334c9c36c271430da818eefba45b87469
18,607
package net.community.chest.io.test; import java.io.BufferedReader; import java.io.File; import java.io.OutputStreamWriter; import java.io.PrintStream; import java.io.Writer; import java.nio.ByteOrder; import javax.xml.transform.stream.StreamSource; import net.community.chest.Triplet; import net.community.chest.io.F...
36.700197
190
0.465792
b8ccc88390c199aa1f08b3f83d2eda8dba1ffc0c
1,330
package io.jenkins.plugins.sample; import hudson.Extension; import hudson.model.Descriptor; import hudson.model.Run; import hudson.model.TaskListener; import org.jenkinsci.plugins.github.extension.status.GitHubCommitShaSource; import org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource; import javax...
34.102564
104
0.723308
8112dc6a1fc4571db6aae09767e6ae864aed0eb8
8,314
/* * Copyright (c) 2014-2018, Draque Thompson, draquemail@gmail.com * All rights reserved. * * Licensed under: Creative Commons Attribution-NonCommercial 4.0 International Public License * See LICENSE.TXT included with this code to read the full license agreement. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT H...
28.375427
95
0.588285
bebb8c8a72db5f3a8e70ee667e9cb121b878608c
375
package org.fluentlenium.core.events; import org.openqa.selenium.WebDriver; /** * Listen to exceptions. */ public interface ExceptionListener { /** * Called when an exception is thrown. * * @param throwable thrown exception * @param driver selenium driver */ void on(Throwable th...
20.833333
76
0.682667
24890ecb9dedd35a039088ad3912e74ee738ff34
1,215
package jp.vmi.selenium.selenese.command; /** * Interface for beginning-of-loop commands. */ public interface StartLoop { /** Use NO_START_LOOP instaed of null. */ public static final StartLoop NO_START_LOOP = new StartLoop() { @Override public void setEndLoop(EndLoop endLoop) { ...
20.59322
70
0.571193
71a1829b1fe7975ff166f439054b09d125f03688
5,248
package com.example.arv.Activities; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.widget.Toast; import com.android.volley.RequestQueue; import com.a...
26.371859
122
0.553735
4098ff1d8c979bc69f4a88cb83f46801dfc806f1
488
package com.alibaba.datax.plugin.unstructuredstorage.util; public class HdfsUtil { private static final double SCALE_TWO = 2.0; private static final double SCALE_TEN = 10.0; private static final int BIT_SIZE = 8; public static int computeMinBytesForPrecision(int precision){ int numBytes = 1; ...
28.705882
97
0.663934
680517e5540a639ca0108d57a302fdf76271fa76
371
package hormone.annotation; import hormone.Model; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Target(FIELD) public @interface OneToMany { String t...
21.823529
59
0.787062
0020cefdcca10f63c4aa158f14fe34678437ca80
8,385
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available ...
35.833333
130
0.699583
009487924df6bb69f7fc348241b7874dc38f1599
824
/******************************************************************************* * Copyright (c) 2015 Pawel Zalejko(p.zalejko@gmail.com). * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License Version 2.0 * which accompanies this distribution...
39.238095
93
0.60801
5ad3a60502b6ea20fb0326be0a70845dada4b2f8
8,127
/******************************************************************************* * Copyright 2013 Thomas Letsch (contact@thomas-letsch.de) * * 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 a...
30.667925
135
0.663591
976c1d83ddb5b421c2d5c7aca1e6be89a9a779de
2,368
package com.spark.platform.wx.shop.biz.user.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.spark.p...
41.54386
140
0.745777
b66b80e6694c5ce8bcefaeec40e380acb27eefad
1,941
package oop.variables; public class Variables { /* * instance variables * - class level * - belong to the class * - belong to the objects of the class * - initialised whenever we create an object * - different copies are created every time we create objects * * local variab...
24.56962
78
0.615662
3256e6b0d6f5090ec9cfa8b38dc1b8db83fb5fb1
7,620
/* Copyright (c) 2017 Lancaster Software & Service * * 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...
29.083969
116
0.707218
6c367b99b34644a6fb287208efbda4344d82568f
1,991
package lylace.lab; public class Lab02 { public static void main(String[] arg) { // #3 ~ #15 // #3 // int x, y, z; // 3 * x // 3 * x + y // (x + y) / 7 // (3 * x + y) / (z + 2) // #4 // double number = (1 / 3) * 3; // 숫자 default값이 int이므로 1/3 은 0으로 되므로 // 0*3 = 0 인데 변수타입이 double...
26.546667
81
0.466097
89b9d567e13d06e74dfc05fc4c13b858e717046b
243
package com.hubspot.httpql.error; public class UnknownFieldException extends RuntimeException { private static final long serialVersionUID = -5969282691775554298L; public UnknownFieldException(String message) { super(message); } }
24.3
69
0.794239
b1c9ffb62b2d8f6d443509dcb886e76dba88bea8
1,340
package com.bumptech.glide.f.a; import android.graphics.drawable.Drawable; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; // compiled from: DrawableCrossFadeFactory.java public final class a<T extends Drawable> implements d<T> { private final g<T> a; private final int b...
23.103448
70
0.529851
fcfbdde8a635aeb7e2401ba9637d428bec5e6929
48,003
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 require...
48.003
131
0.610587
2fae3506ead15d94a2b26a8728e5f8b91599631f
747
package net.byteflux.libby; /** * Class containing URLs of public repositories. */ public class Repositories { /** * Maven Central repository URL. */ public static final String MAVEN_CENTRAL = "https://repo1.maven.org/maven2/"; /** * Sonatype OSS repository URL. */ public static...
23.34375
92
0.64257
3331dc754f2b4dcfd7aa427c67a7e5dcd6db7ed1
2,488
package com.rags.tools.mbq.queue.store; import com.rags.tools.mbq.QueueStatus; import com.rags.tools.mbq.connection.rest.messagecodec.SearchRequest; import com.rags.tools.mbq.message.MBQMessage; import com.rags.tools.mbq.message.QMessage; import com.rags.tools.mbq.queue.IdSeqKey; import java.util.List; import java.ut...
26.468085
81
0.641479
ea1975f6972df15fd9f2abc8206eb3ce880dccac
146
package com.quanlt.vietcomicclean.domain.exception; public interface ErrorBundle { Exception getException(); String getErrorMessage(); }
20.857143
51
0.773973
5335696b27e558663a529940704000a62d81aae8
1,718
package edu.stts.fatburner.ui.register; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.WindowManager; import android.widget.EditText; import android.widget.ImageButton; import android.widget.Toast; import edu.stts...
36.553191
122
0.668219
b9d9ab11edb91a542cd7fd415ed47d5a6c1bd392
1,066
package exceptionhandling; public class MultipleExceptionBlock{ public static void main(String[] args) { try { int marks=109; if (marks>100) throw new MarksException();//Thrpwing out own exception //throw new NullPointerException("Some Data");//Throwing an Excep...
28.052632
85
0.578799
85b8848a39a386292ebf10bec2c11307ec104873
119
package repository.uma; import models.uma.Email; public interface EmailRepository { Email save(Email email); }
11.9
34
0.747899
4b8d7768a87cc4d69a426b41d6cf4ff230df62ac
536
package ota.client12 ; import com4j.*; /** * <p> * Parameter type. * </p> */ public enum TDAPI_BP_STEP_PARAM_TYPE { /** * <p> * Input Parameter. * </p> * <p> * The value of this constant is 0 * </p> */ BP_STEP_PARAM_IN, // 0 /** * <p> * Output Parameter. * </p> * <p> * T...
13.74359
38
0.498134
56dd88da1776db4338762bc5dfb5d946b69d56a3
337
package www.bwsensing.com.system.dto.command.query; import com.alibaba.cola.dto.PageQuery; import java.util.List; import lombok.Data; /** * @author macos-zyj */ @Data public class StructureTemplateSortPageQuery extends PageQuery { /**模板名称*/ private String templateName; /**所属行业*/ private List<Integer...
19.823529
63
0.72997
d161b08c5661dd1e2fe0fa9ced8621b924fc6ffb
1,254
package com.ii.app.models; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.math.BigDecimal; import java.time.Instant; @Entity @Table (name = "transactions") @Data @NoArgsConstructor @AllArgsConstructor @Builder publ...
24.115385
71
0.685805
3756638a83d2bc31aaf89ed0af0976f9523d4ecb
1,748
// Copyright (c) 2018 The Midi2Drum developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. package midi2drum; //ITR XML <NormalNote ch="7" Measure="0" Position="10" TyoeIndex="0" Volume="1"/> public class MyNote { int mea...
21.060241
101
0.730549
bf0b5b34ff829d1ab170103e6cba63a32798824f
1,770
package com.appsomniac.movie.tv.showcube.adapter.theatre; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import android.widget.ImageButton; import android.widget.ImageView; import android.widget.TextView; import com.app...
32.181818
143
0.761017