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
353faeceaf0a80534de227157b64baf48103a6f4
734
package com.haarman.listviewanimations.swinginadapters.prepared; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.haarman.listviewanimations.swinginadapters.AnimationAdapter; import com.nineoldandroids.animation.Animator; public class AlphaInAnimationAdapter exte...
23.677419
71
0.817439
006a56b8c63369b515293cdb38986a4eabe52468
747
package addTwoNumber; class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public class Solution { public ListNode addTwoNumbers(ListNode l1, ListNode l2) { ListNode c1 = l1, c2 = l2, res = new ListNode(0), r = res; int sum = 0; while(c1 != null || c...
23.34375
66
0.416332
61a108050861c9500e4db4eb3cfe37b8441817d7
1,335
/* Copyright 2020 The Kubernetes 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 law or agreed to in writing, softwar...
36.081081
80
0.787266
bc9ab87697e7d33844d800cdbf5c4bd67efde7c1
2,327
package q900; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * [Hard] 878. Nth Magical Number * https://leetcode.com/problems/nth-magical-number/ * * A positive integer is magical if it is div...
23.989691
108
0.560378
17800fa87c746326ff55ef4719f9a23e4ad73467
3,217
package de.dhbwka.java.exam.stadtlandfluss; // import java.io.FileWriter; // import java.io.IOException; // import java.nio.file.Paths; // import javax.swing.JOptionPane; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.TreeSet; public class Game { private char firstLett...
21.736486
133
0.637861
df80b1d02560a0e247ca40ef46c266fec4b5b5e5
3,002
package com.tlswe.awsmock.ec2.control; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import com.tlswe.awsmock.ec2.model.MockTags; /** * Factory class providing static methods for managing life cycle of mock Tags. The current implementations * can: * <ul> * ...
25.87931
107
0.605596
3dacfe3d21dd5e6f37fb2ac3690d85574b62b2b4
2,804
package web.controller.member; import entity.Product; import entity.Member; import service.ProductService; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespon...
38.944444
122
0.717546
97303675b8ec0288fdd740ea3cb6fe3e9535c7d0
3,374
/* * Copyright 2020 赖柄沣 bingfengdev@aliyun.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
19.28
75
0.598992
4df2397c135aa4524d9a4b7ffc37aed9fb1eebf3
176
package com.cg.oct12.batch3.Day7; public class App { public static void main(String[] args) { String str="abc"; int num=Integer.parseInt(str); System.out.println(num); } }
17.6
40
0.715909
fef374ddb8b68a837599512f13e151a1621d1973
1,281
package p320f.p321a.p327d.p332e.p334b; import java.util.concurrent.atomic.AtomicReference; import p320f.p321a.C13804t; import p320f.p321a.p325b.C13194b; import p320f.p321a.p327d.p328a.C13218c; /* renamed from: f.a.d.e.b.Mb */ /* compiled from: ObserverResourceWrapper */ public final class C13408Mb<T> extends AtomicRe...
24.634615
96
0.637783
2e4675051ae7887c11c28e853ca977aee4599ae9
228
package xyz.d1snin.commons.server_responses.model.files; import lombok.Data; import java.io.Serializable; @Data public class FileData implements Serializable { private final byte[] bytes; private final String fileName; }
19
56
0.79386
3922769a6b43fbb81d5f2534bbcb9e83dc7f7233
884
package org.jujubeframework.util; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; import java.time.LocalDateTime; public class DatesTest { @Test public void isSameDay() { long t1 = Dates.getEpochSecond(LocalDateTime.of(2021, 1, 1, 10, 45, 8)); long t2 = Dates.getEp...
34
80
0.660633
f303ad65d26e23a19ca7579cc91fa991cd463995
2,743
package com.shopping_cart.services.impl; import com.shopping_cart.models.entities.BlackToken; import com.shopping_cart.models.service_models.BlackTokenServiceModel; import com.shopping_cart.repositories.BlackTokenRepository; import com.shopping_cart.services.AuthService; import io.jsonwebtoken.Jwts; import io.jsonwebt...
38.633803
113
0.751367
7647c636386dd39ce5981b4373cfab099809114a
2,354
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
39.233333
118
0.666525
4c864957ea56193fb242a72e8a09d96b2f908e61
403
package com.lnsf.rpc.domain.vo; import com.lnsf.rpc.domain.SysBill; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; /** * 接收前端增加订单的数据 */ @Data @NoArgsConstructor @AllArgsConstructor public class SysBillVo implements Serializable { //订单信息 ...
15.5
48
0.764268
b2fc44dde28897ef5f673d9936960f41111bb1d4
351
package com.github.daneko.android.iab; import android.app.Activity; import rx.Observable; import com.github.daneko.android.iab.model.ActivityResults; /** * 名前はあとで考える * そもそもこのInterfaceを強要するかabstract class にするか 引数にするか… */ public interface IabContext { Activity getActivity(); Observable<ActivityResults> ge...
19.5
62
0.780627
56059fe6f69d28f4b6b72a807d2cc03e0a3c096b
608
package com.jfinal.template; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import com.jfinal.kit.Kv; public class EngineTest { static Engine engine; @BeforeClass public static void init() { engine = Engine.use(); engine.setToClassP...
20.266667
83
0.682566
3e201f6f21e21fea5e57b7339b9e40a48cba64f2
243
package com.innofang.callbackdemo.call_back_demo_0; /** * Author: Inno Fang * Time: 2017/3/15 17:04 * Description: */ public class Wang { public void doWork(CallBack callBack) { // 回调老板让做的事情 callBack.call(); } }
15.1875
51
0.633745
5f6a2dfc75a30fc96147ec999b3b9c658d307ebb
6,125
package com.soecode.lyf.controller; import com.soecode.lyf.entity.Role; import com.soecode.lyf.entity.params.Layui; import com.soecode.lyf.entity.result.ResultModel; import com.soecode.lyf.service.RoleService; import net.sf.json.JSONArray; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframe...
51.90678
164
0.722122
7a36eb32ff529dd61f5a958e351794c274d8c67b
1,128
package outskirtslabs.ruuvi; import lombok.Builder; import lombok.Value; /** * This class contains all the possible fields/data acquirable from a RuuviTag * in a "human format", for example the temperature as a decimal number rather * than an integer meaning one 200th of a degree. Not all fields are necessarily *...
23.020408
80
0.677305
10b9e9a7538ff5c963d4859ec59e650af524df1d
33,179
package edu.northwestern.bioinformatics.studycalendar.service; import edu.northwestern.bioinformatics.studycalendar.core.Fixtures; import edu.northwestern.bioinformatics.studycalendar.core.StudyCalendarTestCase; import edu.northwestern.bioinformatics.studycalendar.core.accesscontrol.SecurityContextHolderTestHelper; im...
50.732416
158
0.731668
f77dbce386e7f0471d48e919a375be14939cf538
899
package com.yjl.spring.service.impl; import com.yjl.spring.dao.User2MovieTagDao; import com.yjl.spring.model.User2MovieTag; import com.yjl.spring.service.MovieTagService; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.Date; /** * Created by ziew on 2015/5/24. */ @...
29
72
0.741935
5c9057b1314c25d5583838f6bd521157bb1c9b88
1,174
package Graphs.BFS; import java.util.ArrayDeque; import java.util.ArrayList; class Graph{ private int V; private ArrayList<ArrayList<Integer>>adj=null; Graph(int V){ this.V=V; adj=new ArrayList<>(); //intialize V empty lists for(int i=0;i<V;i++){ adj.add(new ArrayList<Integer>()); } } ...
18.634921
50
0.545997
79389c07a8afdb99109f33501b34ec6d08a7f18f
1,086
package es.upm.miw.apaw_ep_fernanda_guerra.order_resource; import es.upm.miw.apaw_ep_fernanda_guerra.exceptions.BadRequestException; public class OrderBasicDto { private String id; private Double total; public OrderBasicDto() { } public OrderBasicDto(Order order) { this.id = order.getI...
19.745455
73
0.549724
924f318db872e3c50d2a0572c1ef2b8483e86cfa
14,838
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on ...
43.513196
139
0.654873
e6ba7cfbe7240506d5296462beb6d2ef0fa03e33
748
// 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.v4.app; import java.util.List; // Referenced classes of package android.support.v4.app: // ActivityCompatApi23 public static a...
31.166667
124
0.748663
1212bc8475bf356721c830c3569eb765d08170d0
7,717
package com.jsplec.wp.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import javax.naming.Context; import javax.naming.InitialContext; import javax.sql.DataSource; import com.jsplec.wp.dto.MyPageDto; public class MyPageDao { Dat...
27.859206
154
0.659324
02bd36ff0762bba4e1dd863974a76c8c5b34cbd5
1,187
/* * Copyright (C) 2015 Mesosphere, 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 applicable law or ...
29.675
94
0.676495
bd1d46d8456477f2fe1bbd13d364cf24e2a86e47
5,488
/* This file is part of Intake24. © Crown copyright, 2012, 2013, 2014. This software is licensed under the Open Government Licence 3.0: http://www.nationalarchives.gov.uk/doc/open-government-licence/ */ package uk.ac.ncl.openlab.intake24.client.ui.foodlist; import org.pcollections.HashTreePMap; import org.pcollec...
30.320442
135
0.723943
9144df5432c12995b058769b4a89da7d198924b3
2,320
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
37.419355
94
0.756034
65b28e049e56360107ea10e433dd936947dd8552
170
/** @testcase PR851 declaring an aspect constructor with argument should be prohibited */ aspect A { A() {} } aspect B { A.new(int i) { this(); } // CE 10 }
14.166667
89
0.6
c4ef39ce619554ad9eeadb91ec007fd204c73cdf
580
package com.github.chanming2015.cas.test.control; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; /** * Description: * Create Date:2017年8月10日 * @author XuMaoSen * Version:1.0.0 */ @RestController public class CASTestControl { @GetMappi...
21.481481
62
0.717241
22a33f3f292ca96498b60d61035694cc70d45226
447
package cn.niukid.bim.bean; import lombok.Getter; import lombok.Setter; @Getter @Setter public class BucketItemBean { String id; String text; String type; boolean children; public BucketItemBean() { super(); // TODO Auto-generated constructor stub } public BucketItemBean(String id, String text, String typ...
15.964286
79
0.704698
4bef809d0cee4b34d631428560f7f0b0d5ee0b10
5,342
/******************************************************************************* * Copyright 2015 EMBL - European Bioinformatics Institute * * 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...
37.356643
146
0.740547
a57c29efee5a6460c1b8b5eefefd077af3a2620e
751
package oop.boxingmatch.boxer; /** * ShyBoxer will always do the blocking move and never attacks. * * In the implementation of this class the concept of enums is introduced. */ public class ShyBoxer implements BoxerInterface { @Override public String name() { return "Feigling"; } @Overrid...
22.088235
135
0.661784
7a3ec06b9c74bcc78c60abd7cbf3a75bc55cb6f2
3,676
package lab; import java.lang.reflect.*; import java.math.BigDecimal; import org.xillium.base.beans.Beans; import org.xillium.base.type.*; import org.xillium.base.util.*; import org.testng.annotations.*; /** * ValueOf tests. */ public class ValueOfTest { @Test(groups={"util", "util-valueof", "u...
36.39604
106
0.581882
fc6326b33e67b62328d42174715b336baf87b6c2
2,055
package Modelo; /** * * @author Mr.Glass */ public class Empresa extends EntidadeDominio{ private double faturamento; private String nomeFantasia; private String razaoSocial; private String CNPJ; private String email; private Documento DRE; private Categoria categoria; ...
20.55
55
0.591241
d48a1d757454c60861993c9329a06577b4b63407
898
package omegajak.striptrease.item; import net.minecraft.block.Block; import net.minecraft.item.*; import java.util.Optional; public class ExposedAxeItem extends AxeItem { protected ExposedAxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) { super(material, attackDama...
30.965517
111
0.737194
1a6bbedfdb598cc5c7681e5ed8c65bd0ebf83a65
1,697
package org.mcupdater.ravenbot.features; import org.apache.commons.lang3.StringUtils; import org.mcupdater.ravenbot.AbstractListener; import org.mcupdater.ravenbot.RavenBot; import org.pircbotx.Colors; import org.pircbotx.hooks.events.MessageEvent; import java.sql.PreparedStatement; import java.sql.ResultSet; public...
27.819672
100
0.663524
33e69aaf575f31472740fdd7535db1002a50d0c8
7,809
package net.minecraft.block; import java.util.List; import java.util.Random; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockState; import net.minecraft.block.state.IBlockSta...
33.952174
152
0.642848
9993f8533e9692f3d17e7178ca1c0e1a13602937
122
package io.trading.chart.model; import lombok.Value; @Value public class PointEvent { private String description; }
13.555556
31
0.762295
2cfcdc66cef3f3494e9600e69be2f6f1e9528535
5,940
/** * Copyright 2013-2014 Guoqiang Chen, Shanghai, China. All rights reserved. * * Author: Guoqiang Chen * Email: subchen@gmail.com * WebURL: https://github.com/subchen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
66.741573
143
0.814478
10d03f0b7811264e06aa68e491ad9e114c0d7f86
969
package com.dianping.cat.configuration.property.transform; import java.util.ArrayList; import java.util.List; import com.dianping.cat.configuration.property.entity.Property; import com.dianping.cat.configuration.property.entity.PropertyConfig; public class DefaultLinker implements ILinker { private boolean m_defer...
24.846154
84
0.657379
8249a05f27294f611f7e4ada4df09c6994c736e6
651
package com.example.jb.test4.gson; import java.util.Date; /** * Created by 666 on 2018/5/3. */ public class Wind { public double getDirection() { return direction; } public double getSpeed() { return speed; } public Date getDatetime() { return datetime; } publ...
17.131579
48
0.614439
f18cd307d8e3e6095005b6e657a7200909a701b5
589
package com.ifit.app.other; import android.graphics.Bitmap; public class rank_list_item { private String rank; private String nickname; private String weektime; private Bitmap userhead; public rank_list_item(String rank,String nickname,String weektime,Bitmap userhead){ this.rank = rank; this.nickname = ni...
19
84
0.743633
ee74e91e9921f31968516e49de6b866cdaa0b1d2
577
package NEO.Network; /** * 定义清单中的对象类型 */ public enum InventoryType { /** * 交易 */ TX(0x01), /** * 区块 */ Block(0x02), /** * 共识数据 */ Consensus(0xe0), ; private byte value; private InventoryType(int v) { value = (byte)v; } public ...
14.794872
51
0.483536
6c0ad39f5967964941ee524da213ff6fd13c1b47
612
package kr.co.programmers; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertArrayEquals; /** * https://programmers.co.kr/learn/courses/30/lessons/12954 */ public class P12954Test { private P12954 p = new P12954(); @Test public void example01() { assertArr...
21.103448
72
0.625817
3e9b0c4bbbac6825ceeb34d1242757322328a314
2,059
package com.frameworkium.integration.github.pages.web.components; import com.frameworkium.core.ui.annotations.Visible; import com.frameworkium.core.ui.pages.PageFactory; import com.frameworkium.core.ui.pages.Visibility; import com.frameworkium.core.ui.tests.BaseTest; import com.frameworkium.integration.github.pages.we...
33.754098
92
0.723652
1ebe67c0a812fd7d9c5bd65def1205e937e5b252
2,424
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.client.common.ui.teamexplorer.actions.wit; import org.eclipse.jface.action.IAction; import com.microsoft.tfs.client.common.server.TFSServer; import com.microsoft.tfs.c...
49.469388
117
0.733086
aa860b28ad8868b616eddf0a4299bfc2cda76392
4,013
package ru.stqa.pft.sandbox; import java.util.ArrayList; import java.util.List; /* Кроссворд 1. Дан двумерный массив, который содержит буквы английского алфавита в нижнем регистре. 2. Метод detectAllWords должен найти все слова из words в массиве crossword. 3. Элемент(startX, startY) должен соответствовать первой бук...
32.104
117
0.462248
f2b67aaa0221647ae53c69772e4a3e201b34a36e
1,114
package com.legyver.utils.mapqua; import org.junit.jupiter.api.Test; import java.util.HashMap; import java.util.Map; import static org.assertj.core.api.Assertions.assertThat; public class MapMergeTest { @Test public void mapMergeAdd() throws Exception { Map map = new HashMap<>(); Map map2 = new HashMap<>();...
22.28
57
0.667864
07c7b2c1fa8585fe7596be31e528a4416f7a75ce
1,483
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
34.488372
85
0.771409
d0fa4f7a164bc7ff7b5bb9753d7343551439280c
2,527
package com.nekrosius.asgardascension.managers; import java.util.HashMap; import java.util.Map; import org.bukkit.entity.Player; import com.nekrosius.asgardascension.Main; import com.nekrosius.asgardascension.enums.PrestigeType; public class PlayerManager { Map<String, Integer> rank; Map<String, Integer> presti...
27.769231
106
0.715077
05d4a4dc38d72c7c7fd37be473d4c90c97e09b1f
1,783
package org.processmining.models.workshop.graph; import org.processmining.models.graphbased.AttributeMap; import org.processmining.models.graphbased.AttributeMap.ArrowType; import org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge; /** * Edges in the workshop graph. * * @author hverbe...
23.155844
90
0.667975
482d44c7367f18f8d7ba919aced83622da93153d
1,232
package com.mizhousoft.push.huawei.internal.response; import java.util.Set; import com.fasterxml.jackson.annotation.JsonProperty; /** * 部分成功响应 * * @version */ public class HwPartSucceedResponse { // 成功数量 @JsonProperty("success") private int successNum; // 失败数量 @JsonProperty("failure") p...
14.666667
57
0.625812
6ff126e0be8c7141746ae1030b980c43054818b1
2,458
package org.gitlab4j.api; /* * The MIT License (MIT) * * Copyright (c) 2017 Greg Messner <greg@messners.com> * * 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 restri...
45.518519
138
0.703011
15cf341b5810063d43ca672ea93fb37180186106
102
package com.example.smartpillalarm; public interface DB { public static String DB_NAME = null; }
17
40
0.754902
23a7ba2b0c27b42027e55d5bde0587ba1e9020b1
3,545
package agents; import java.util.LinkedList; import agents.Sheeps; public class Wolfs extends Animals { private boolean alpha; public Wolfs(int x, int y, boolean alpha, ListAnimals list) { super(x, y, list); this.alpha = alpha; this.speed = 1; this.energy = 450; this.hunger = 100; ...
22.15625
114
0.57292
64e9a324ebbcdec578636dc10e0cfdb58d4e26d8
1,769
//以数组 intervals 表示若干个区间的集合,其中单个区间为 intervals[i] = [starti, endi] 。请你合并所有重叠的区间,并返 //回一个不重叠的区间数组,该数组需恰好覆盖输入中的所有区间。 // // // // 示例 1: // // //输入:intervals = [[1,3],[2,6],[8,10],[15,18]] //输出:[[1,6],[8,10],[15,18]] //解释:区间 [1,3] 和 [2,6] 重叠, 将它们合并为 [1,6]. // // // 示例 2: // // //输入:intervals = [[1,4],[4,5]] //输出:[[1,5...
24.232877
80
0.50424
f12a070444ba5567bd6884e8b48437c4c34b3af1
4,109
package main; import domain.LimitOrder; import domain.MarketOrder; import domain.Order; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.function.Function; import java.util.function.Pr...
30.213235
91
0.612801
f337b4ff16efba3d35030dfbe2d255d2a42ec2d8
767
package com.example.memory; public class PlayerFactory { public static Player getInstance(int type) { switch (type) { case Player.TYPE_HUMAN: return new HumanPlayer(); case Player.TYPE_COMP_BEGINNER: return new AI_PLayer_Beginner(); case Player.TYPE_COMP_MEDIUM: return n...
34.863636
76
0.662321
642b0d05d3801025e9f2699f23b698a663a2a17e
516
package chat.rocket.android.widget.message.autocomplete; import android.support.v7.widget.RecyclerView; import android.view.View; public abstract class AutocompleteViewHolder<I extends AutocompleteItem> extends RecyclerView.ViewHolder { public AutocompleteViewHolder(View itemView) { super(itemView); } ...
25.8
72
0.78876
a4d2790caac9b3dfd3167ddbceb040be38270d1c
325
package it.cosenonjaviste.security.jwt.exceptions; public class ValveInitializationException extends RuntimeException { public ValveInitializationException(String message) { super(message); } public ValveInitializationException(String message, Throwable cause) { super(message, cause); ...
25
74
0.747692
dcca957bf6193a51c0f2fce03bb7f329bb42e32b
2,230
package org.broadinstitute.dsm.util; import org.broadinstitute.dsm.security.RequestHandler; import org.mockserver.integration.ClientAndServer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import spark.Request; import spark.Response; import java.util.HashMap; public class GBFMockServerRoute extends Reque...
48.478261
225
0.663677
47b51bccb6e538ff0984235e297ea555c4c3969e
991
package cn.ganiner.dao; import cn.ganiner.pojo.BasicInfo.*; import cn.ganiner.pojo.Student; import java.util.List; public interface BasicInfoMapper { List<Semester> findAll(); List<Major> findMaAll(Long seid); List<Blass>findCiAll(Long maid); Class findCiId(Long id); void CreateSemester(Semester ...
26.078947
48
0.709384
ed8764e783df26156bb992509d16d7d476da85c2
723
package com.boluozhai.snowflake.installer.min.pojo; import com.boluozhai.snowflake.installer.min.context.ApplicationContext; public class SpringConfigBean extends DocModel { private PackageDescriptor remote; private boolean httpsOnly = true; public static SpringConfigBean getInstance(ApplicationContext ac) { C...
21.909091
72
0.771784
74a23244f880337664bb2c1ca09100bca3eaddd5
1,025
/** * Copyright 2008 - CommonCrawl Foundation * * CommonCrawl licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
28.472222
78
0.727805
34ce33288e4dc2d2005ccea2e261dfdbeb0292d2
796
package blockchains.iaas.uni.stuttgart.de.scipcasestudy.clientapplication.backend.model.request; import java.util.List; import blockchains.iaas.uni.stuttgart.de.scipcasestudy.clientapplication.backend.model.response.Parameter; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jacks...
33.166667
107
0.807789
03abd5dc696e331191ba6617c96d36967aff941c
14,539
package no.nav.aura.fasit.rest; import io.restassured.http.ContentType; import no.nav.aura.envconfig.model.application.Application; import no.nav.aura.envconfig.model.deletion.LifeCycleStatus; import no.nav.aura.envconfig.model.infrastructure.*; import no.nav.aura.envconfig.rest.RestTest; import no.nav.aura.fasit.repo...
34.04918
141
0.531054
dbc36f34eef90f5ac8fea0dda3ba4f21d0e53105
415
import java.util.*; public class Fabonaci { public static void main(String args[]) { Scanner sc =new Scanner(System.in); System.out.print("Enter the last term "); int n= sc.nextInt(); int a=0; int b=1; int series =0; for(int i=0;i<n;i++){ System.ou...
17.291667
49
0.472289
f03a2d7d5a8c16e0187421e70838896bc0c9531b
307
package de.suzufa.screwbox.tiled; import java.util.List; import java.util.Optional; public interface ObjectDictionary { Optional<GameObject> findByName(String name); Optional<GameObject> findById(int id); List<GameObject> allObjects(); List<GameObject> findAllWithName(String name); }
19.1875
50
0.752443
d119e4d3ef0c3777308a25b5afffb4b63bc7acee
7,705
package me.rochblondiaux.hellstar.service; import javafx.scene.layout.Pane; import lombok.NonNull; import me.rochblondiaux.hellstar.model.dialog.DialogBuilder; import me.rochblondiaux.hellstar.model.dialog.DialogType; import me.rochblondiaux.hellstar.model.project.Project; import me.rochblondiaux.hellstar.utils.FileUt...
42.335165
187
0.547437
28d678d3e2c5b84c41f4348d5eeaf08e86832f1f
1,546
/* * Copyright (c) 2012 - 2020 Arvato Systems GmbH * * 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 applicabl...
30.92
90
0.710867
4df9b66816b396f70286c96149b1e902744deb21
664
import java.io.File; import java.nio.file.Paths; public class GGA { public GGA() { } public static void main(String[] args) { File file = new File (Paths.get(".").toAbsolutePath().normalize().toString() + "/src/data/input.txt"); //create inputData structure InputData inputData =...
21.419355
110
0.656627
9dbe8f0b81f9f016f79789b87a0e855436a76041
1,744
/* * Copyright (c) 2018. * * 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 writ...
30.596491
119
0.616972
64baa70edcc6350d591b955a1bb09100a2f9f26d
1,025
/* * 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 Render; /** * This is an encapsulated class that holds HTML contents of table * * @author Thanura */ public class Table ex...
20.098039
97
0.577561
9da4c93843bd6efebe20c6ee2fe83d1e00f63b07
260
package hybridObjects; public class simpleString { private String stringVariable = new String(); public String getStringVariable() { return stringVariable; } public void setStringVariable(String stringVariable) { this.stringVariable = stringVariable; } }
18.571429
54
0.796154
47b0b75b5d0f84adf80d995c0092e753758e5ee9
581
package com.xp.app.appfinance.dao.gen; import com.xp.app.appfinance.appobject.AccountBalanceSheetAO; import com.xp.app.appfinance.entity.gen.AccountBalanceSheetCriteria; import com.yuanxin.common.dao.base.BaseGeneratedMapper; /** * 自动生成的 AccountBalanceSheet 数据存取接口. * * <p> * 该类于 2016-12-05 10:07:54 生成,请...
30.578947
134
0.748709
9b64d5a490e8a99ae4aaa8dd1d176093cbdad29f
448
package com.iwbfly.myhttp; import com.iwbfly.myhttp.register.MyhttpClientsRegister; import org.springframework.context.annotation.Import; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented @Import(MyhttpClientsRegister.class) public @interface EnableMyhttpClients...
24.888889
56
0.767857
51b1c3fe5f8e4fbeb4a790a54dec372eab4c2e76
424
package uk.gov.digital.ho.hocs.client.workflow.dto; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import java.util.Map; @NoArgsConstructor @AllArgsConstructor @Getter @EqualsAndHashCode p...
21.2
53
0.813679
645c112f7ac92fb78150fd537d31d6d667336de3
76
/** * User module for hyperperform system */ package me.hyperperform.user;
19
38
0.736842
d15a73403d02c1c3aa7047f7deb5c7c17ecb866b
4,912
package com.barentine.totalconnect.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VideoPIRConfigurationResults complex type. * * <p>The following ...
23.960976
106
0.570847
436695feebc5d6e49f1e26278e5d89a6d7056309
1,185
package ru.i_novus.ms.rdm; import net.n2oapp.security.auth.common.User; import org.springframework.security.authentication.AnonymousAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.co...
32.027027
96
0.740928
3aa494c02aa81179e4d63a6e08801ce1901a2cf3
2,034
package MySecondGame; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; public class KoochikPlayer extends Player implements Draw{ private boolean playerHasTheDeffuser; private boolean createTheDefuser; private int halfSize; private boolean playerIsInThisWorld; private int playerHealth; /...
21.1875
86
0.711898
9624af7834fd5ef123dacc422440b0f011548502
11,701
/* * * Copyright (C) 2020 iQIYI (www.iqiyi.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
36.451713
116
0.649774
2532d3dd2f7d76a2fa8918659865f9f2a5cda8d4
507
package com.neusoft; public interface Livable { //静态方法的使用 public static void run(){ System.out.println("跑起来"); } //将func1和func2封装 //私有方法 private void func1(){ System.out.println("func1()"); } private void func2(){ System.out.println("func2()"); } public...
17.482759
38
0.538462
2a43b81004454623b0468e789f89da913ca1926b
2,612
package de.gothaer.PersonDemo.business; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; import de.gothaer.PersonDemo.Persistence.PersonRepository; import de.gothaer.PersonDemo.Persistence.entities.Person; public class PersonServiceImpl implements PersonService { private...
28.086022
117
0.726263
6b371b9fd7928add1130dc300ffc4ea6dc15b9cb
4,818
/* * Copyright 2003 - 2016 The eFaps 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 ...
32.12
114
0.567248
8c05dd5dc911d5b289562562e600a166d072b846
1,790
package hr.fer.zemris.java.hw15.dao; import java.util.List; import hr.fer.zemris.java.hw15.model.BlogComment; import hr.fer.zemris.java.hw15.model.BlogEntry; import hr.fer.zemris.java.hw15.model.BlogUser; /** * <i>Data Acces Layer</i> interface used for manupilating with database data * <i>(i.e. retrieving/updatin...
24.189189
78
0.675419
f4817d6b49f6123304f2a3fecd20d224ba20b406
3,331
package com.thinkaurelius.titan.graphdb.query.condition; import com.google.common.base.Preconditions; import com.thinkaurelius.titan.core.*; import com.thinkaurelius.titan.graphdb.internal.InternalElement; import com.thinkaurelius.titan.graphdb.internal.InternalRelationType; import com.thinkaurelius.titan.graphdb.quer...
31.424528
131
0.646052
04f50c77efaae75f8e73b6baac75cb5cb38689bf
391
package com.leyou.item.dto; import com.leyou.item.pojo.Sku; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Transient; /** * @author meihewang * @date 2020/02/23 2:46 */ @Data @NoArgsConstructor @AllArgsConstructor public class SkuDto extends Sku { ...
15.64
35
0.713555
bd7145ffa970949c03ee761ca57e9e0392584a55
247
//,temp,sample_5994.java,2,8,temp,sample_1980.java,2,9 //,3 public class xxx { public boolean rename(String src, String dst) throws IOException { checkNNStartup(); if(stateChangeLog.isDebugEnabled()) { log.info("dir namenode rename to"); } } };
19
66
0.732794
cdebbee5a77b3c2b11193075061175a42d0e8f66
153
package com.swws.marklang.prc_cardbook.utility.database; /** * Season ID of Kirato Prichan */ public enum SeasonID { SEASON_1ST, SEASON_2ND }
15.3
56
0.718954
6c679524505d0a9c7acd9264c62ffca43d740887
4,596
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
48.893617
157
0.716928
b04cf4453246bf58eb0fd901dcf105c7d25f3d65
316
/* * 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 Archivos; /** * * @author Anahi SC */ public enum TSelva1 { ESCÁRCEGA, BALANCÁN, TENOSIQUE, PALENQUE }
17.555556
79
0.683544
c3c16661152de6d9a4fdd8deb3830540d93abbf8
2,184
/** * */ package misc; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author jbr * */ public class MPDefaultMethods { public static void modifyFolder(Path inputDir) throws IOException { Files.w...
32.597015
112
0.49359
a74b518c9921acdf283b134292061548d860e98d
102
package java.awt; public class Insets { public Insets(int top, int left, int bottom, int right); }
17
58
0.715686
c1c0c48bb91d469d5b1e39b0d9609b61dac7b2b5
2,565
package org.exparity.hamcrest.beans.testutils.types; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import static org.exparity.dates.en.FluentDate.AUG; public class ObjectWithAllTypes { private List<SimpleTypeWithList> lis...
22.901786
101
0.717739
5584fda75c8aabc94815fe4e70ff064f15673123
395
package org.runestar.client.game.api; public final class ComponentClientCode { private ComponentClientCode() {} public static final int FPS = 1336; public static final int VIEWPORT = 1337; public static final int MINIMAP = 1338; public static final int COMPASS = 1339; public static final int ...
28.214286
54
0.729114
c8a30397446ca5e21e3fd2db4cde51cbb57c1624
13,656
package sample; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.imag...
39.468208
141
0.653705