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
24d950293b60c603955389aaf1c6017a13e2f35a
2,729
package edu.iit.hawk.atolentino.response_generator.response_bodies; import java.util.Iterator; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import edu.iit.hawk.atolentino.account_management.boundaries.AccountUtilities; import edu.i...
35.907895
96
0.77904
f59b9373e4e1dadc027aea6ab341ca1a3d111b97
162
package com.am.fdamilola.bankingapp.base.classes; /** * Created by fdamilola on 07/04/2018. */ public interface ViewModelInterface { void destroyView(); }
18
49
0.728395
70bf03ec6c66e751ba11739cff487318ee703e91
3,453
/* * Copyright 2017-2019 University of Hildesheim, Software Systems Engineering * * 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 * ...
31.108108
101
0.601216
f864d1eda8c8c4cd8f2bd3c150ab6cae186d7fe5
1,846
/* * JBoss, Home of Professional Open Source. * Copyright 2012 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
32.385965
85
0.725352
c7e60036ece07fa8b077567f9312faf5b139679f
1,543
package com.tukeping.nowcoder; import com.tukeping.leetcode.structures.TreeNode; import com.tukeping.tools.TreeNodeHelper; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * @author tukeping * @date 2021/7/5 **/ public class NC102 { TreeNode lca; ...
28.574074
394
0.559948
60a4c222d3f01c15e05cef3079cb9fb979bc5964
1,953
package uk.gov.hmcts.reform.amapi.functional.client; import io.restassured.response.Response; import io.restassured.specification.RequestSpecification; import lombok.Data; import net.serenitybdd.rest.SerenityRest; import uk.gov.hmcts.reform.amapi.models.FilterResource; import uk.gov.hmcts.reform.amlib.models.ExplicitA...
34.263158
95
0.747568
9ff429ca13b16979ba19da5c297de7a02bb3307d
549
package to.ares.gamecenter.util; import java.util.Random; public class RandomInteger { public static int getRandom(int min, int max) { Random rand = new Random(); return rand.nextInt((max - min) + 1) + min; } public static int getRandomNumber(int min, int max) { Random ran = new ...
22.875
68
0.531876
8bcc74f7fb4f6de27c713560398680b129fa5547
393
public class MegaBytesConverter { public static void printMegaBytesAndKiloBytes(int kiloBytes){ if(kiloBytes>=0){ int megabytes= kiloBytes/1024; int kilobytes=kiloBytes%1024; System.out.println(kiloBytes+" KB = "+megabytes+" MB and "+kilobytes+" KB"); }else{...
32.75
89
0.582697
e1c4030355ba6437f167289e4d72c2268f91c6e5
1,450
package com.crossbowffs.javautils.shapes; public class Rectangle extends Shape { private double _width; private double _height; public Rectangle(double w, double h) throws IllegalArgumentException { ensureValidRectangle(w, h); _width = w; _height = h; } public double getW...
23.387097
98
0.630345
7b3b6d818922164e3c866a083b7b723485b0dbc5
1,353
package com.zhihao; import com.zhihao.entity.Message; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.core.KafkaTemplate; import org.springframework....
32.214286
112
0.693274
fe33d92090a840a0146af710ab75f723899ede0a
1,327
/** * @author * Pol Vales - ls30599@salleurl.edu * Enric Marin - ls31308@salleurl.edu * Diego Bellino - ls30741@salleurl.edu * Jordi Rubio - ls31289@salleurl.edu * David Estepa - ls30622@salleurl.edu * DPO2 (Disseny i programacio orientats a objectes) * La Salle, Universitat Ramon Llull */ package view; impo...
19.514706
96
0.70309
6573c2f85eff6d5820be13eb83d521a979bf5dc9
3,898
/* * Copyright 2013 Moxie Group * * 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...
32.756303
112
0.632632
cee6341008503ccd8ce1ccd6e4beb184ef28a9a8
5,631
package controllers; import java.awt.Color; import java.io.File; import java.nio.file.StandardCopyOption; import java.util.ArrayList; import javax.inject.Inject; import db.MySQLCon; import ij.ImagePlus; import ij.io.FileSaver; import ij.io.Opener; import models.DBSample; import models.DBSegment; import play.data.Dyn...
31.283333
127
0.722252
949af9a486d772718b43870684d63da237e6c1f6
3,405
package rres.knetminer.datasource.ondexlocal; import java.util.Collection; import java.util.Map; import java.util.Set; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; // import org.apache.lucene.queryParser.ParseException; import org.apache.lucene.queryparser.classic.ParseException...
30.132743
120
0.755947
65ab8780aea5debbc9f3cc6914d8098334419925
2,961
/* * (c) Copyright 2020 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
33.269663
119
0.627828
886cbca5579d307a19e1e9614a630176dce6143b
14,840
package net.leanix.metrics.excelimport; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Date; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Objects; im...
33.348315
115
0.638275
91b1a145f5000b31d06c62e72da6274571c1ba24
973
package demo.sa.customer.model; import lombok.Data; import javax.persistence.*; import java.util.HashSet; import java.util.Set; @Data @Entity @Table(name = "customers") public class CustomerEntity { @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private Long databaseId;...
21.622222
86
0.68037
2a2dd62e75038ce80ae2dc43e3f34d2c666b143c
1,107
package hr.fer.zemris.java.tecaj_8.fraktali; import java.util.concurrent.atomic.AtomicBoolean; import hr.fer.zemris.java.fractals.mandelbrot.Mandelbrot; import hr.fer.zemris.java.fractals.viewer.FractalViewer; import hr.fer.zemris.java.fractals.viewer.IFractalProducer; import hr.fer.zemris.java.fractals.viewer.IFract...
30.75
99
0.744354
ba10eb583a6591727fc00cadbf35ca72a5747199
10,834
package vandy.mooc.presenter; import java.lang.ref.WeakReference; import vandy.mooc.R; import vandy.mooc.model.CharacterContract; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import android.os.RemoteException; import android.widget.SimpleCursorAdapter; import android.w...
36.478114
75
0.575872
f03f7e4f6e9cde9a9359f34162ee0b428ac826f7
2,672
package uk.org.mafoo.wordbubbles; import java.util.*; public class Prison { private ArrayList<ArrayList<Cell>> cells = new ArrayList<ArrayList<Cell>>(); public Prison(ArrayList<ArrayList<Character>> grid) { // System.out.println("Initialising Prison"); for (int i=0; i<grid.size(); i++) { ArrayList<Cell> r...
24.290909
83
0.588698
1e9f7aa145e35de074b0b101548be7cb20d02844
804
package ru.icc.cells.tabbypdf.exceptions; /** * @author aaltaev */ public class TableExtractionException extends RuntimeException { /** * */ private static final long serialVersionUID = -3362896806940945907L; public TableExtractionException() { super(); } public TableExtractionException(Stri...
24.363636
98
0.675373
9b75a1b2b6d5b6da4d0d4160b1ba7887023f43b6
1,404
package com.adaptris.google.cloud.pubsub.adminclient; import com.adaptris.core.CoreException; import com.google.cloud.pubsub.v1.SubscriptionAdminClient; import com.google.cloud.pubsub.v1.SubscriptionAdminSettings; import java.io.IOException; public class SubscriptionAdminClientProvider extends AdminClientPro...
32.651163
211
0.723647
8673da57703801de1aabfa03e9ebc40b2682a8a1
3,638
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python; import com.intellij.navigation.ChooseByNameContributorEx; import com.intellij.navigation.GotoClassContributor; import com.intellij.navigation.Naviga...
49.162162
140
0.770478
2d50f6485ed50b95c770f3e0cebc197d4feaf565
1,091
package ru.stqa.pft.addressbook.tests.users; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.appmanager.TestBase; import ru.stqa.pft.addressbook.model.UserData; import java.util.Arrays; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest....
31.171429
84
0.706691
603685ac4078b1b9bf0da74936faedccb81cd2f9
3,623
package io.github.ajoz.comprehension; import io.github.ajoz.util.TriFunction; import io.github.ajoz.util.Try; import java.util.function.BiFunction; import java.util.function.Predicate; import java.util.function.Supplier; public class ForComprehension { public static void main(String[] args) { final Try<...
39.813187
101
0.513663
50690749038181bd4ebcf8e6de406b91590daf01
3,493
package org.jenkinsci.plugins.dockerbuildstep.cmd; import com.github.dockerjava.api.exception.DockerException; import com.github.dockerjava.api.model.AuthConfig; import hudson.AbortException; import hudson.Extension; import hudson.Launcher; import hudson.model.AbstractBuild; import hudson.model.Descriptor; import jenk...
35.642857
146
0.691383
87c3abc6cb24547b97ff01bb206f859dccdb943f
2,711
/* * Copyright (c) 2013 Mike Heath. 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 re...
27.663265
128
0.726669
d095cedf704067915f2e910181db50bba72bfe19
2,587
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.exam.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.m...
55.042553
248
0.754542
0d056b50bb78040665d92f7f3765482d06a9f92a
355
package com.zhengzhaoxi.designpattern.creationalpattern.prototype; /*** * 实现一个克隆自身的操作。 * @author donghx * */ public class ConcretePrototype1 implements Prototype { @Override public Prototype clone() { return new ConcretePrototype1(); } @Override public void doSomething() { System.out.println("Concret...
15.434783
66
0.732394
69883a56fbc2e457e3ba6f460a106f5e42306745
10,961
package org.wyona.yanel.core.transformation; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.AttributesImpl; import org.wyona.security.core.api.Identity; import org.wyona.security.core.api.P...
40.596296
201
0.577685
78499fe285f1026f2056f7fdb11505876173ef14
1,361
package com.enderio.core.common.event; import javax.annotation.Nonnull; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.eventhandler.Event; /** * Fired when an item is rendered into the GUI * */ public class ItemGUIRenderEvent extends Event { private final @Nonnull ItemSt...
22.311475
127
0.669361
41b18be2db1ba532a6680fff64d9a038ef1f71e8
2,096
package xyz.klinker.blur.extra_pages.weather_page; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import xyz.klinker.blur.extra_pages.BaseLauncherPage; import xyz.klinker.blur.extra_pages.R; im...
34.933333
125
0.686069
3355c899d167adbc212eb36f0331b98429228634
1,985
package org.aksw.rdfunit.sources; import org.aksw.rdfunit.io.reader.RdfModelReader; import org.aksw.rdfunit.io.reader.RdfReader; import org.apache.jena.rdf.model.Model; import java.util.Collection; /** * @author Dimitris Kontokostas * @since 1/2/15 7:57 PM */ public final class TestSourceFactory { private Te...
36.090909
147
0.683627
e8025faa4524701d1a44064c1a524b5e7b050d2a
752
package com.example.mcabezas.racomobile.Model; /** * Created by mcabezas on 11/02/16. */ import com.example.mcabezas.racomobile.Model.ItemGeneric; import java.util.Date; public class Notice extends ItemGeneric { private String mNomAssig; public Notice(String titol, String descripcio, String imatge, Date ...
25.931034
121
0.699468
ef26d9795ddfb423512f5664598430b4ff402211
9,607
/* * Copyright (C) 2017 Alberto Irurueta Carro (alberto@irurueta.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 * * Unles...
33.357639
114
0.643177
79ebe1bc960b785884a1c1e1af2f5d1a469abf8b
1,291
package org.geppetto.core.externalprocesses; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * Threaded class to print out log statements with Neuron Proc...
22.649123
78
0.737413
86df84570fc9d767b33ea52a2e185e1291835de3
5,263
package dk.mrspring.kitchen; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLInterModComms; import cpw.mods.fml.commo...
41.117188
149
0.727152
ef6c0833d586d286d88989ad6cf4c5cd7ffea940
337
package me.zoro.kitetsu.model; import lombok.Data; import java.util.Date; /** * @author luguanquan * @date 2020-03-13 23:49 * <p> * 以 DO 结尾的对象和数据库对象一一对应 */ @Data public class UserDO { private Long id; private String name; private Integer gender; private String birthday; private Date createTime; private Da...
15.318182
30
0.724036
5fbe89e5769c28508f5f691e588751d5ebde87f3
1,272
package pers.hal42.text; import pers.hal42.lang.StringX; import java.util.Iterator; /** extract steam of name:value pairs, skipping blanks and items starting with '#' */ public class NamedValueIterator implements Iterator<CommandArgument> { protected StringIterator source; protected char cutter; protected tran...
23.127273
87
0.675314
c9b24466b7607921f22d70a76b559330d4ce9935
364
String dog = "Benjamin"; String Dog = "Samba"; //in general, identifiers that start with capital letters are class names String DOG = "Bernie"; //in general, identifiers in all caps are constants //the conventions listed in comments here are not enforced by the language System.out.println("There are three dogs named " ...
60.666667
95
0.708791
88d46c72e7616bfb6be42eca4949f650403687e9
2,279
package chapter1.topic2; /** * 72. Edit Distance * * You have the following 3 operations permitted on a word: * * 1. Insert a character * 2. Delete a character * 3. Replace a character * * Example 1: * * Input: word1 = "horse", word2 = "ros" * Output: 3 * Explanation: * horse -> rorse (replace 'h' with '...
24.505376
100
0.384818
217482a8b53661118b597ab17327a0482f8ffd64
386
package com.gitee.sop.adminserver.api.service.param; import com.gitee.easyopen.doc.annotation.ApiDocField; import lombok.Getter; import lombok.Setter; /** * @author tanghc */ @Getter @Setter public class ServiceSearchParam { @ApiDocField(description = "服务名serviceId") private String serviceId; @ApiDocF...
19.3
53
0.751295
176b766531f9538f1588a0b7dbc7373e4f731494
1,889
package br.usp.ime.liamf.method; import java.util.List; public class AlignmentSequence implements Comparable<AlignmentSequence>{ private String metric; private List<Pair> values; private AlignmentSequenceSimilarity delta; public AlignmentSequence(String metric, List<Pair> values, String[] sigma){ this.metri...
21.965116
77
0.653256
51cdd8325bef90ce97e6c15e7b2a12269740f7af
4,200
package org.firstinspires.ftc.teamcode.Tests; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorEx; import com.qualcomm.robotcore.hardware.Servo; @TeleOp(name = "Ar...
33.333333
85
0.681905
55a787fdd62829166597e3385c897c82c283fbf4
2,079
/* * Copyright 2012 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...
34.081967
119
0.766234
c24fc8751c54c808f300fe9a80b032a4348ad24e
12,729
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination *...
27.551948
80
0.557232
8ad1ad67b6c6802135bbdae625791bc2641cbe75
4,061
package ru.job4j.servlets.basic; import org.junit.Test; import org.junit.runner.RunWith; import static org.mockito.Mockito.*; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import ru.job4j.servlets.l...
36.258929
72
0.6885
f8b93bc573f23c2023a4359d2b6d2487716c3614
1,845
package com.google.googlemobileads.protocol; import apple.uikit.UIView; import apple.uikit.UIViewController; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.Mapped; import org.moe.natj.general.ann.Runtime; import org.moe.natj.objc.ObjCRuntime; import...
34.166667
81
0.822222
a0cfc273f1c625f30b03c8526cf50904b43bbc26
2,447
package ninjabrain.gendustryjei.categories; import java.util.ArrayList; import java.util.List; import mezz.jei.api.gui.IDrawable; import mezz.jei.api.gui.IGuiFluidStackGroup; import mezz.jei.api.gui.IGuiItemStackGroup; import mezz.jei.api.gui.IRecipeLayout; import mezz.jei.api.ingredients.IIngredients; import mezz.je...
30.974684
112
0.748263
f3e54da164e276f4cc4cb0a354e951ec00851f9d
8,591
/* * Copyright 2016 Google Inc. 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 applicable ...
38.352679
149
0.52264
354e733a8530fba63521e40bba3e4b084b073c77
2,645
package com.scalar.db.storage.cassandra; import com.datastax.driver.core.ColumnDefinitions.Definition; import com.datastax.driver.core.DataType; import com.datastax.driver.core.Row; import com.google.common.annotations.VisibleForTesting; import com.scalar.db.api.Result; import com.scalar.db.api.TableMetadata; import c...
32.654321
93
0.694896
7b8c8aa3feab224dd1c0b51946ceccc04e6f8fb1
1,724
package com.teamderpy.shouldersurfing; import java.util.EnumSet; import org.lwjgl.input.Keyboard; import cpw.mods.fml.client.registry.KeyBindingRegistry; import cpw.mods.fml.client.registry.KeyBindingRegistry.KeyHandler; import cpw.mods.fml.common.TickType; import net.minecraft.client.settings.KeyBinding; /** * @...
26.9375
97
0.729698
fafe3b8ae7e64a8373b81048ef01033985480300
7,630
package View; import Data.*; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.text.Text...
37.586207
140
0.592267
429eb62f9a2eb31f8d8cbf32dbd44c15fea044e2
2,957
package org.dew.saml.web; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;...
30.173469
126
0.688874
81a430fb2a0c38c079b898d564608f247a20b51d
198
package org.galaxyproject.gxformat2.v19_09.utils; public class SavableImpl implements Savable { public SavableImpl(Object doc, String baseUri, LoadingOptions loadingOptions, String docRoot) {} }
33
98
0.818182
2cd95797d4989d30bbd0f2fcd3b3fa614d7ceef4
690
package com.beyongx.system.vo; import java.io.Serializable; import java.util.Date; import javax.validation.constraints.NotBlank; import com.beyongx.common.validation.group.Always; import com.beyongx.common.vo.Node; import lombok.Data; @Data public class CategoryVo extends Node implements Serializable { private...
20.294118
63
0.714493
51d3cfb3cc3e93e5dafd4bdccd15115bee4376c2
15,811
package org.moparscape.elysium.net.handler; import org.moparscape.elysium.entity.Appearance; import org.moparscape.elysium.entity.InvItem; import org.moparscape.elysium.entity.Player; import org.moparscape.elysium.entity.PlayerState; import org.moparscape.elysium.entity.component.Inventory; import org.moparscape.elysi...
44.790368
131
0.5259
476f2f3595a03565c49fa33c09984da9d237d709
3,331
import java.util.*; public class BST<Key extends Comparable<? super Key>, Value> { static class Node<Key extends Comparable<? super Key>, Value> { int N; Key key; Value value; Node leftChild; Node rightChild; Node(Key k, Value v, int N){ key = k; ...
25.821705
80
0.502252
937678aeaf75e2bf64ee47d26527dab9a6022e5b
14,155
/* * Copyright 2017-2021 Axway Software * * 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...
45.223642
165
0.593289
3726b5fe124c10cd645fdec6df40f2745c751339
1,641
package cn.howardliu.gear.monitor.core.memory; /** * the copy of {@link java.lang.management.MemoryUsage} * <p> * <br>created at 17-5-3 * * @author liuxh * @version 1.0.0 * @since 1.0.0 */ public class MemoryUsage { private long init; private long used; private long committed; private long max;...
20.259259
73
0.556977
362f28439159a4a0cf7b34991497ae7b3a53a24a
2,291
/** * Copyright (C) 2015 Fernando Cejas Open Source Project * <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 requ...
31.383562
119
0.708861
27e4c9fd914599f628b941221d31f1f47f02f188
1,073
package com.learn.funfacts; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; public class FactBook { final private ArrayList<String> facts = new ArrayList(Arrays.asList( "Ants stretch when they wake up in the morning.", "Ostriches can run faster than horses.", ...
39.740741
91
0.644921
022b0e16acd0faced6081eb2a083feca20fb0863
1,954
// 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 applicable ...
36.867925
96
0.773797
21e73a0bf11b43fdaaf87d1c65d613f8b131895a
380
package com.revealprecision.revealserver.persistence.domain.metadata.infra; import java.io.Serializable; import java.util.List; import lombok.Getter; import lombok.Setter; @Setter @Getter public class MetadataObj implements Serializable { private String tag; private String type; private String dataType; p...
17.272727
75
0.792105
601b58dd40ae17c6ee0188961a9a6b611c38d85a
448
package ch.virt.kahoot.api.data.status.objects; import com.google.gson.annotations.SerializedName; /** * This class represents the kahoot ext json object * @author VirtCode * @version 1.0 */ public class ExtTime { @SerializedName("timetrack") private String timeTrack; /** * Returns the time tra...
19.478261
51
0.667411
4c20f1f6b749e6441c1b0e9531d53104ea0221aa
348
package problem; import java.util.Collection; import objectiveFunction.ObjectiveFunction; import solutions.Solution; public interface Problem<E, V> extends ObjectiveFunction<E, V>, Solution<E> { V getCost(); Problem<E, V> clone(); public Boolean isValid(final Collection<E> elementsToAdd, final Collecti...
23.2
100
0.755747
58ac859543848aea653eed97b47ec18ab9b5839a
543
package jfxtras.icalendarfx.utilities; import jfxtras.icalendarfx.utilities.StringConverter; /** * <p>{@link StringConverter} implementation for {@link String} values.</p> * Copied JavaFx implementation for use in Java EE */ public class DefaultStringConverter implements StringConverter<String> { /** {@inherit...
27.15
75
0.683241
0f9e0b751bcb65e7195a07cb4ae43bcbe0c53ee8
14,429
/* * Copyright (c) 2019, 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/li...
40.64507
123
0.564904
d7b03cc6256e4ac2fd07bd8acf6e7a0fc2cd30a7
1,303
package com.jfixby.r3.ui.red.activity.act; import com.jfixby.r3.api.activity.act.AnimationsMachine; import com.jfixby.scarabei.api.taskman.Job; import com.jfixby.scarabei.api.taskman.Task; import com.jfixby.scarabei.api.taskman.TaskManager; public class RedAnimationsMachine implements AnimationsMachine { final RedA...
20.359375
89
0.698388
22d8be53e97a65fa8eb2d5acaa952df3b8f8334f
9,009
/** * 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...
36.180723
80
0.675214
af03e171dd5cbec081860afb37e47f6456b1a624
1,688
package com.github.gquintana.beepbeep.pipeline; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; public class VariableReplacer extends LineTransformer { private final Map<String, Object> variables; private final Pattern variablePattern; public VariableReplacer(Pattern...
30.690909
117
0.609005
05cac3d647845348ec22005513f6ea3be16093f8
2,096
package com.ebanswers.kitchendiary.network.api; /** * Created by Administrator on 2018/5/4. */ public interface ImageApi { //4) 头像上传dynamicKey // file // modelCode固定值:CA // uploadType 固定值:1 //上传图片 /* @Multipart @POST(Api.uploadingPhoto) Observable<ResponseBody> addFile(@Par...
38.814815
100
0.500954
1d4d7ecec26dae62037945e2c28eda5db90111a8
758
package medo.demo.spring.context.applicationcontext; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.stereotype.Component; /** * 顶层借口是 BeanFactory, ApplicationContext...
23.6875
64
0.748021
0764a16a9989c507679836be9aeb28f705aea900
4,294
package com.palyrobotics.frc2018.util; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import org.json.*; import java.io.*; import java.nio.file.Files; import java.util.ArrayList; import java.util.HashMap; imp...
29.410959
104
0.690731
525b23c6b61e2365b6e418e57632f9692ec3ae1d
652
package de.ayesolutions.gogs.client.model; /** * @author Christian Aye - c.aye@aye-solutions.de */ public class Email { private String email; private boolean verified; private boolean primary; public String getEmail() { return email; } public void setEmail(String email) { ...
17.621622
49
0.618098
25b7e74ecac8fcd8afd24be574a24f01c9d6d7ee
28,437
//package opendatakit.org.submit; // //import android.content.ContentValues; //import android.support.test.InstrumentationRegistry; //import android.support.test.filters.LargeTest; // //import org.junit.Test; //import org.junit.runner.RunWith; //import org.opendatakit.aggregate.odktables.rest.entity.Column; //import or...
48.610256
114
0.625031
019698107450eb918524b7d631bb41abfe578a2b
1,242
package org.investigit.app; import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.lib.Repository; import org.investigit.InvestigateLog; import org.investigit.MostModify; import org.investigit.model.Commit; import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.u...
31.05
80
0.664251
3af8f2fd1ec69d5765b959298e88036f064cc92c
1,945
package com.hisaige.core.initialization; import com.hisaige.core.manager.SystemManager; import com.hisaige.core.util.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org...
38.137255
142
0.661183
8fde92c0a3aee4733006ff557e381697dd471dcc
1,444
/** * Copyright (C) 2016 Cambridge Systematics, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
26.254545
93
0.738227
c92b6bed818eee974091a5672d9e6282303a36c1
72,896
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
51.883274
146
0.402875
ba451ed5efcb1bb8512c9bf70dd23623e807f28b
7,165
package net.haesleinhuepf.clijx.plugins; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; import net.haesleinhuepf.clij.coremem.enums.NativeTypeEnum; import net.haesleinhuepf.clij.macro.CLIJMacroPlugin; import net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor; import net.haesleinhuepf.clij.macro.documentation.Offer...
39.585635
182
0.582275
7668130068efcf0820d74eb20bbc78c77e04d4eb
14,994
/* * 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 ...
36.13012
148
0.656529
f690bbeb4b23557b17f8af3a0d334b5a8fc30413
9,440
/* * Copyright 2012-2015 Brian Campbell * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
60.903226
219
0.717691
a547bbd1ee015a7cff7a7ee4a8d52d1653d60001
27,629
package com.gzlk.android.isp.fragment.archive; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import android.widget.LinearLayout; import com.bigkoo.pickerview.TimePickerView; import com.github.angads25.filep...
38.480501
193
0.620001
7690f2d9072eecb81b6e89c6c3e502e5a5f47ab4
431
package org.aesy.musicbrainz.exception; public class MusicBrainzEntityMappingException extends MusicBrainzException { public MusicBrainzEntityMappingException(String message) { super(message); } public MusicBrainzEntityMappingException(String message, Throwable cause) { super(message,...
22.684211
79
0.730858
c25be36f020ba6f5828e8752f207aa6b3a21e4d4
1,801
package Maths.Engr; import Maths.Eval; import Maths.Evaluation.Evaluate; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Formula { public String representation; private ArrayList<String> variables; ...
25.728571
85
0.581344
48b4442a256862625bea87dbbb1d6955dc53b5ef
4,013
package com.java110.store.dao.impl; import com.alibaba.fastjson.JSONObject; import com.java110.core.base.dao.BaseServiceDao; import com.java110.store.dao.ISmallWeChatServiceDao; import com.java110.utils.constant.ResponseConstant; import com.java110.utils.exception.DAOException; import com.java110.utils.util.DateUtil; ...
30.869231
137
0.704461
f86201c53c13c2ad619e215f691f81b9da23cd1e
5,057
package game.struct; import game.Global; import game.xui.Gfx; import game.xui.Widget; import game.xui.Window; public class Textbuf { private char [] buf; /* buffer in which text is saved */ public int maxlength; /* the maximum size of the buffer. */ public int maxwidth; // Maxwidth specifies scr...
23.966825
126
0.658098
52c488a37026aeaae926219c70b3bf35fb0fec2f
226
package com.github.nikuyoshi; public class UserBean { private String name; public void setName(String _name){ this.name = _name; } public String getName(){ return this.name; } }
15.066667
38
0.597345
721d5c2c1f5d0c549dd8395acf11ebbb7069ae5b
421
package uk.gov.dvsa.motr.ui.page; import uk.gov.dvsa.motr.navigation.GotoUrl; import uk.gov.dvsa.motr.ui.base.Page; @GotoUrl("/email-confirmation-pending") public class EmailConfirmationPendingPage extends Page { @Override protected String getContentHeader() { return "One more step"; } @Ove...
20.047619
56
0.693587
38f6b716085f49354ecdd19ed2fe9da5a8b20217
4,229
package me.senseiwells.arucas.api; import me.senseiwells.arucas.api.impl.ArucasOutput; import me.senseiwells.arucas.api.wrappers.ArucasWrapperExtension; import me.senseiwells.arucas.api.wrappers.IArucasWrappedClass; import me.senseiwells.arucas.extensions.ArucasBuiltInExtension; import me.senseiwells.arucas.extensions...
31.325926
112
0.784346
dd3349329577280324a99916f96b4e5a29006c40
6,498
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Copyright 2021 Adobe ~ ~ 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/li...
49.984615
140
0.696368
d2743b6620c85b3f7891126255449202420fced4
243
package org.vaadin.addon.leaflet.shared; public class TooltipState extends DivOverlayState { public String direction; public Boolean permanent; public Boolean sticky; public Boolean interactive; public Double opacity; }
20.25
51
0.757202
adc204a8aaf2c48dc08b4d49aeedf9ef38471333
2,012
/** * Orignal work: Copyright 2015 www.seleniumtests.com * Modified work: Copyright 2016 www.infotel.com * Copyright 2017-2019 B.Hecquet * * 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...
34.101695
268
0.697316
297a4eb6a58ee127531d553195947e7d93a457de
5,410
package com.github.leifoolsen.jerseyjpa.util; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; import java.util.Date; import com.goog...
26.262136
93
0.680222
f21bd022572213523e73eb4d6d7122692c1908bd
1,307
/** * @Company 艾美伴行 * @Title: TextMessage.java * @Package org.bana.wechat.qy.kefu.param * @author Yang Shuangshuang * @date 2016-5-5 13:01:30 * @version V1.0 */ package org.bana.wechat.qy.kefu.param.text; import org.bana.wechat.cp.common.Constants; import org.bana.wechat.qy.kefu.param.Kefu...
19.507463
94
0.602142
cf0b8d168b10a98bdee6e6a30693a92ebbdc3d1c
4,667
package org.javasimon; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.*; /** * This class implements periodical removing of old incremental Simons for specified Manager. * Unused incremental samples can cause memory leaks and performance degradation and should be purged regula...
32.866197
125
0.758303
37994ee5e28ded87ae3f2b8c77e61d36eea2ef4e
7,175
package patternMatching.fcpm.table; import static patternMatching.fcpm.arithmeticProgression.ArithmeticProgression.Empty; import patternMatching.fcpm.IPatternMatchingContext; import patternMatching.fcpm.arithmeticProgression.ArithmeticProgression; import patternMatching.fcpm.localsearch.ILocalSearchExecutor; imp...
54.356061
222
0.659512
4dfcf8a00cd12de74e79339d0db3dd0e0d38cfcd
134
package posters.pageobjects.components; public abstract class AbstractComponent { abstract public void isComponentAvailable(); }
19.142857
48
0.813433
ac7603febe3baa3951444868a6f2c8b9854e771c
10,585
/* * Copyright (c) 2005-2014, 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.apach...
26.662469
131
0.667926