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
4e7486e8086b7a35a7d01a8696ccb134ffcac371
1,224
package com.bluecove.emu.gui.graph; import org.jgraph.graph.AttributeMap; import org.jgraph.graph.ConnectionSet; import org.jgraph.graph.DefaultEdge; import org.jgraph.graph.DefaultGraphCell; import org.jgraph.graph.GraphConstants; public class ConnectionEdge extends DefaultEdge { private static final long serialVe...
27.818182
88
0.789216
b8d7653ec73baa92c63984be1e96f6340ce51a13
6,387
/* * The MIT License * * Copyright 2013 Jakub Jirutka <jakub@jirutka.cz>. * * 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...
38.475904
106
0.690465
f1ac5e34cb69233e41766cc1d23567050f8c9c6d
3,828
package org.rapidpm.vaadin.server; import static io.undertow.Handlers.redirect; import static io.undertow.servlet.Servlets.servlet; import static javax.servlet.DispatcherType.ERROR; import static javax.servlet.DispatcherType.FORWARD; import static javax.servlet.DispatcherType.INCLUDE; import static javax.servlet.Dispa...
35.775701
110
0.636102
30b9387ffa9f2e6829eb9f7caa6b11ffa87e3c91
168
package output.animation; import common.AbstractLaneGroup; public interface InterfaceLinkInfo { AbstractLaneGroupInfo newLaneGroupInfo(AbstractLaneGroup lg); }
16.8
65
0.827381
c01f7cb9e3724e17eea37fd1e3e42f93c1004d7c
787
package com.stackroute.freelancerprofile.domain; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation...
27.137931
87
0.817027
9bbc7872b3f47ae100023a73390c8315579f2b0b
4,632
package io.wkm.jcartstoreback.controller; import at.favre.lib.crypto.bcrypt.BCrypt; import com.sun.xml.internal.ws.client.ClientTransportException; import io.wkm.jcartstoreback.constant.ClientExceptionConstant; import io.wkm.jcartstoreback.dto.in.*; import io.wkm.jcartstoreback.dto.out.CustomerLoginOutDTO; import io.w...
45.411765
162
0.761658
c57eebd5d84751dd0b811bd5e337aa52b9885e02
448
package org.springframework.test.util.subpackage; /** * Interface representing a <em>person</em> entity; intended for use in unit tests. * * The introduction of an interface is necessary in order to test support for * JDK dynamic proxies. * * @author Sam Brannen * @since 4.3 */ public interface Person { lo...
15.448276
83
0.705357
014f001ff928695cac953bcf4321052f70ae4aa7
450
package com.accenture.airpoll.averages; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.PagingAndSortingRepository; public interface AverageRepository extends PagingAndSortingRepository<Average, String> { Page<Average> findByCo...
40.909091
88
0.842222
46e9a5a7217f52b712268b26a5de526fcdbdb1f6
9,972
// ********************************************************************** // This file was generated by a TAF parser! // TAF version 3.0.0.34 by WSRD Tencent. // Generated from `/usr/local/resin_system.mqq.com/webapps/communication/taf/upload/noahyang/dock.jce' // *******************************************************...
31.457413
362
0.628961
0458dc0fb26b00a60fe706f7c7e034e526fe5477
2,028
package test.boulder.dmesh; import com.jme3.app.Application; import com.jme3.app.state.BaseAppState; import com.jme3.scene.Node; import com.simsilica.lemur.Container; import com.simsilica.lemur.Label; import com.simsilica.lemur.core.VersionedReference; import com.simsilica.lemur.geom.Deformation; import com.simsilica....
27.780822
109
0.744083
3b1744a9861a52d2cbf91d923c8c583e0421a7ac
3,190
package com.liang.controller; import com.liang.bean.PhotoPro; import com.liang.code.ReturnT; import com.liang.service.PhotoProService; import com.liang.service.TbPhotoService; import com.liang.utils.UUIDUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; imp...
25.52
98
0.705016
a34aed221cb16c47c2d96d7d51390996d91d1147
24,441
/* * 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 ...
34.04039
156
0.659711
3a18db64e6aa861908905aebc10a31ee3f6c4593
1,155
package com.intkr.saas.manager.opa.impl; import javax.annotation.Resource; import org.springframework.stereotype.Repository; import com.intkr.saas.dao.BaseDAO; import com.intkr.saas.dao.opa.ApiExtDAO; import com.intkr.saas.domain.bo.opa.ApiBO; import com.intkr.saas.domain.bo.opa.ApiExtBO; import com.intkr.saas.domai...
21.388889
101
0.730736
1e5b1c835bfd432d97c27ccbe612596e39ed03ee
4,291
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: grpcKotlin.proto package br.com.zup; public final class GrpcKotlin { private GrpcKotlin() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions(...
50.482353
104
0.7567
32d02515d5c9d5f16e011184d133b868f93d595e
4,713
/* * Copyright 2004-2010 the Seasar Foundation and the Others. * * 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 ...
35.43609
81
0.777849
1769fb130457a0786eee0d0f4a0d4364a7446859
279
package timerx; /** * Exception thrown when input format does not contain any special symbols like "H", "M", * "S" or "L" */ public class NoNecessarySymbolsException extends RuntimeException { public NoNecessarySymbolsException(String message) { super(message); } }
21.461538
89
0.727599
dd9c10c8fd45641c9a60088a92a685d409542dc2
5,149
/* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public...
32.588608
79
0.546514
65ffb50503db248943556a6d3690e1b3eb3a200f
1,426
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
35.65
97
0.73913
937f60db86bfff10c2a756914c5f876a9fb1b373
2,621
package io.fdlessard.codesamples.order.services; import io.fdlessard.codebites.order.services.SalesOrderService; import io.fdlessard.codesamples.order.configurations.PersistenceItTestConfiguration; import io.fdlessard.codesamples.order.configurations.WebMvcItTestConfiguration; import io.fdlessard.codebites.order.doma...
32.7625
104
0.764212
b53894933a5617746f070e6602846f7c48db454c
4,726
package org.tokalac.logging.modules.output.handler; /** * Created by Erol TOKALACOGLU on 31/05/15. * Version 1.0 * Param <V> */ import org.tokalac.logging.core.Level; import org.tokalac.logging.core.LogManager; import org.tokalac.logging.modules.config.Key; import org.tokalac.logging.modules.output.formatter.Form...
32.369863
258
0.625688
3f81208b4fc7d8c749110ba1a6d2a3f3dfdab8c4
153
package com.dawnengine.game.graphics; /** * * @author alyss */ public enum StringRenderPosition { Leading, Leading_Fixed, Center, Center_Fixed }
15.3
48
0.72549
fb736ab555d2779819879ebbed63d1e8c54384af
984
package com.lambdaschool; public class piggyBank { private double balance = 0; public double getBalance() { System.out.println("*Piggy has been smashed. This is now blood money.*"); System.out.println(balance); return balance; } public void depositCash(String currency, int amo...
28.114286
87
0.462398
f4464c23f5f79933b2bc0a6d9b03bb9d352579ac
5,410
package org.imp.jvm.expression; import org.apache.commons.lang3.NotImplementedException; import org.imp.jvm.compiler.DescriptorFactory; import org.imp.jvm.compiler.Logger; import org.imp.jvm.domain.ImpFile; import org.imp.jvm.domain.scope.Identifier; import org.imp.jvm.domain.scope.LocalVariable; import org.imp.jvm.do...
28.031088
110
0.621811
fb253b0fa3f6327a40d10daf5e8efad640cc5f58
139
/* * 작성자 : * 작성일 : * 통계 관련 DAO * */ package com.spring.Creamy_CRM.Host_dao; public class StaticsDAOImpl implements StaticsDAO { }
11.583333
51
0.661871
5dae62817b83f2cf139daccbde6ceeeab1cee48e
1,608
package com.ashwani.family.util.response_builder.failed; import com.ashwani.family.infra.model.response.BaseResponse; import com.ashwani.family.infra.model.response.FindMemberResponse; import com.ashwani.family.infra.model.response.GetDocumentResponse; import com.ashwani.family.util.constants.ResponseConstants; import...
39.219512
78
0.774254
2028999f8122e34a2a3e251415357242e601cbd8
5,239
package com.question.answer.misc; import java.util.Scanner; public class SayingNumber { //This returns the English word for numbers 0 - 9 public static String oneDigitToStr(int num) { switch (num) { case 0 : return "zero"; case 1 : return "one"; case 2 : return "two...
36.381944
178
0.516702
319327ef15522d0298bff2ee4a73887a23e206b1
730
package com.comcast.pop.endpoint.api.auth; import org.testng.Assert; import org.testng.annotations.Test; import java.util.Collections; public class AuthorizationResponseTest { @Test public void testToString() { AuthorizationResponse authorizationResponse = new AuthorizationResponse("myUserId", "m...
33.181818
151
0.734247
8df9deb13425a3e3b35f4b50b9eb19c0255260dd
4,779
// Copyright (c) 2018 Imperial College London // // 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...
43.844037
158
0.575434
04906410e46160e59d4de392f77fb9e299f4cb7d
1,956
package com.example.housin.view; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ImageButton; import com.example.housin.R; import androidx.appcompat.app.AppCompatActivity; public class MeusAnuncios extends AppCompatActivity { @Override protected void ...
30.5625
90
0.607873
14bc806f5b0ad508385f195901fdfa44b468af4c
10,936
package org.drip.feed.loader; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2017 Lakshmi Krishnamurthy * Copyright (C) 2016 Lakshmi Krishnamurthy * Copyright (C) 2015 Lakshmi Krishnamurthy * Copyright (C) 2014 Lakshmi Krishnamurthy * Copyright (C) 2013 ...
26.869779
104
0.718544
5a602d52f0beec939a6a0818c2ac6480154c1dc3
196
package br.com.zup.academy.ednelson.proposta.cartao; import org.springframework.data.jpa.repository.JpaRepository; public interface BloqueioRepository extends JpaRepository<Bloqueio, Long> { }
24.5
75
0.831633
865cc31e00b17129be57e1e185c71786caf221d7
4,287
/* * 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 co.edu.uniandes.csw.vivienda.persistence; import co.edu.uniandes.csw.vivienda.entities.AdministradorEntity; import java.util.L...
35.429752
147
0.662235
8492882f7c11815667f7ea7eee932c73eec909db
790
package com.kintone.client.model.app.field; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.kintone.client.model.record.FieldType; import lombok.Data; /** An object containing the properties of the Category field for getting the field settings. */ @Data @JsonIgnoreProperties(value = "type", a...
25.483871
96
0.701266
1da58e67115c6c3ed9f0b27a512c7736cc1794e7
24,590
package io.github.eddieringle.android.apps.passwordmaker.ui.fragment; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBar; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.Layou...
46.838095
139
0.669622
21316b46e0ac03a8159a44c335c59a62d92b10cf
2,697
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
39.661765
139
0.790879
2a476d70bf622b16a902065d490469d3feacf162
7,000
package com.pesna.entities; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.math.Matrix4; import com.pesna.Main; import com.pesna.objects.ScreenObject; import com.pesna.objects.SimpleLabel; import com.pesna.player.Play...
30.042918
121
0.636286
af1f1a62aef210a33037665ffa0f7d0f7f3018cf
559
package de.unipaderborn.visuflow.ui; import org.junit.Assert; import org.junit.Test; public class JimpleEditorTest { @Test public void testIsEditable() { JimpleEditor editor = new JimpleEditor(); Assert.assertFalse(editor.isEditable()); } @Test public void testIsEditorInputReadOnly() { JimpleEditor edito...
20.703704
55
0.760286
91b0c46ade25a66a6484e8ee9df464a5ac01462e
946
package org.workcraft.plugins.mpsat_verification.utils; import org.workcraft.utils.DialogUtils; import org.workcraft.utils.LogUtils; public class OutcomeUtils { public static final String TITLE = "Verification results"; public static void showOutcome(boolean propertyHolds, String message, boolean interactiv...
27.028571
96
0.643763
86c50508d3ed1f55fc12ec0b9490bca9615fe0fb
3,004
package com.yatsukav.msd.converter; import ncsa.hdf.object.h5.H5File; import java.util.Arrays; public enum Column { ARTIST_NAME, ARTIST_HOTNESS, ARTIST_ID, ARTIST_LOCATION, ARTIST_LATITUDE, ARTIST_LONGITUDE, ARTIST_TERMS, ARTIST_TAGS, YEAR, RELEASE, TITLE, SONG_HOTNESS, DURATION, END_OF_FADE_IN, LOUDNESS, MO...
46.215385
111
0.574567
b5faeb69952a2ca69d8c0da23aa9f5a89e9fa7b4
7,777
package com.example.restreactive.service; import com.example.restreactive.dto.AppointmentDto; import com.example.restreactive.dto.StoreDto; import com.example.restreactive.dto.StoreSlotDto; import com.example.restreactive.dto.UserDto; import com.example.restreactive.mapping.AppointmentException; import com.example.res...
31.108
154
0.664266
9494b30dac05be1f313f76d049a1e7a11265c9e5
11,806
package com.twitter.common.application.modules; import java.util.Set; import java.util.logging.Logger; import javax.servlet.http.HttpServlet; import com.google.common.collect.ImmutableSet; import com.google.inject.AbstractModule; import com.google.inject.Inject; import com.google.inject.Injector; import com.google.i...
39.48495
99
0.739878
6c2cf73cbfe4f41a697f4aa66e2e6b45a95bb18a
2,014
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Spielfigur here. * * @author (your name) * @version (a version number or a date) */ public class Spielfigur extends Actor { /** * Act - do whatever the Spielfigur wants to do. This method ...
37.296296
87
0.602284
1aa676ad976cc04610016f38fea5673b36f97884
6,317
/* * Copyright [2021-2021] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)]. * 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 ...
38.993827
143
0.701915
ee4d6d8a0902d31dfe25724594d2d7587393d7c4
726
package com.orion.lang.io; import java.io.OutputStream; /** * 输出流到 /dev/null * * @author Jiahang Li * @version 1.0.0 * @since 2020/10/31 15:48 */ public class IgnoreOutputStream extends OutputStream { public static final IgnoreOutputStream OUT = new IgnoreOutputStream(); /** * write to /dev/null ...
15.782609
74
0.546832
a35ea26ccbaff4267153e4a02c52f8cbb950b6d9
4,499
package appearances; import org.jogamp.java3d.Appearance; import org.jogamp.java3d.ImageComponent2D; import org.jogamp.java3d.Texture; import org.jogamp.java3d.Texture2D; import org.jogamp.java3d.TextureAttributes; import org.jogamp.java3d.Transform3D; import org.jogamp.java3d.utils.image.ImageException; import org.jo...
35.148438
99
0.657479
d282649fc41acd575959ea42ddfda84e07f20f24
618
/* * 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 particles; /** * * @author crist */ public class ParticlesTexture { private int textureID; private int numberOfRows...
19.935484
79
0.661812
afa8665b939d2fcab0743cdc3d90b02a700896fb
5,020
package com.genexus.cloud.serverless.aws; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.ws.rs.core.Application; import com.amazonaws.serverless.proxy.internal.servlet.AwsHttpServletResponse; import com.amazonaws.serverless.proxy.internal.servlet.AwsProxyHttpServletRequest; impo...
36.376812
117
0.764741
c5fda88fa3bd7bd0b22ef1beeeb3a8f73f7b4668
454
package scheduling; import process.Process; import java.util.List; public class Priority implements SchedulingAlgorithm { @Override public void schedule(List<Process> processes) { processes.sort((process1, process2) -> { if (process1.getPriority() == process2.getPriority()) ...
22.7
82
0.605727
08d642e3f659d34c9cffdd9a1491951ce871c771
1,232
package com.leyou.item.pojo; import lombok.Data; import tk.mybatis.mapper.annotation.KeySql; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; @Data @Table(name = "tb_spu") public class Spu { @Id ...
26.782609
165
0.67776
7005233f1882e4636e9c1badbf186f532ae9cf00
275
package com.sparta.pages; import org.openqa.selenium.WebDriver; //----------------- incomplete public abstract class SearchPageModelAbstract extends PageModelAbstract { public SearchPageModelAbstract(WebDriver webDriver) { super(webDriver); } }
22.916667
74
0.690909
2ef03fbc1167de9cb7628fc9f17f9d4569965840
2,035
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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...
21.648936
76
0.667322
8599291e4f627594579206fc0260d23b0c1ca7fc
792
package red.honey.oss.api.constant; import lombok.AllArgsConstructor; import java.io.Serializable; /** * @author yangzhijie * @date 2020/10/12 10:51 */ @AllArgsConstructor public enum CallbackEnum implements Serializable { /** * rest http 回调 */ REST(0, "HTTP REST 回调"); private int code; ...
19.317073
81
0.602273
ba453d5738878b95e0d89919e586e1c26cb998b8
299
package org.ms.api.wrappers; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; @SuperBuilder @Data @NoArgsConstructor public class ApiPaginationRequest { private Integer pageNumber; private Integer pageSize; private Integer totalCount; }
16.611111
40
0.795987
a12012ae58e4ece185723459e572042c92a3a64f
17,108
package com.openshamba.watchdog; import android.Manifest; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Configuration; import android.net.Uri; import android.os.Build; i...
37.030303
171
0.625263
a9931748ab265eaf4bea63a625dcb725c93dfde4
7,154
package org.sv.flexobject.hadoop.streaming.parquet; import com.fasterxml.jackson.databind.JsonNode; import org.apache.hadoop.conf.Configuration; import org.apache.parquet.schema.MessageType; import org.junit.Test; import org.sv.flexobject.hadoop.mapreduce.input.parquet.JsonParquetInputFormat; import org.sv.flexobject....
45.566879
122
0.740984
e1a2e49620d08f0fa2633363995554d42ec165ad
7,733
package tonePkg; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imagei...
29.857143
122
0.65408
12df6c95d844fc4011ebbc0d0df7ad5900b8a04c
1,512
package com.ruoyi.project.duties.taskNotification.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.web.domain.BaseEntity; /** * 消息表 tb_task_notification * * @author admin * @date 2019-04-29 */ public cl...
19.139241
72
0.636243
c5b357eac3a656f37d3104339e2a9d11d6be6abe
554
package com.soccer.ws.service; import org.assertj.core.util.Lists; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class CSVServiceImplTest { private final CSVService csvService = new CSVServiceImpl(); @BeforeMethod pub...
26.380952
159
0.729242
719a6a8423eb03c8de3753ec9297a2e0c519d535
806
package com.miya.pay; import com.miya.annotation.EnableMiyaLettuceRedis; import com.miya.annotation.MiyaCloudApplication; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.c...
31
102
0.834988
34195785668522780f65ac967c58ee2fa9a9ac43
613
package org.jessenpan.leetcode.dp; import org.junit.Assert; import org.junit.Test; /** * @author jessenpan */ public class S746MinCostClimbingStairsTest { private S746MinCostClimbingStairs minCostClimbingStairs = new S746MinCostClimbingStairs(); @Test public void test1() { int c = minCostClimb...
23.576923
110
0.665579
ba7ff0859c3af391dc1e11f110f0aaf257c5289f
3,542
package org.jbpm.process.migration.test; import java.util.ArrayList; import java.util.List; import org.assertj.core.api.Assertions; import org.jbpm.process.migration.RemoteTestBase; import org.junit.Test; import org.kie.api.runtime.manager.audit.ProcessInstanceLog; import org.kie.api.runtime.process.ProcessInstance; ...
39.797753
95
0.666008
44710a42d725989555e1222cadd910e290a1636c
5,838
package nl.knokko.customitems.editor.menu.edit.item; import java.io.DataInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.charset.CharacterCodingException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import ja...
40.541667
159
0.728845
97c38e3797fac44f7b5cedf70d5900f9044933d1
8,890
package com.wonderfulenchantments.enchantments; import com.mlib.Random; import com.mlib.config.ConfigGroup; import com.mlib.config.DoubleConfig; import com.mlib.config.DurationConfig; import com.mlib.config.StringListConfig; import com.mlib.effects.EffectHelper; import com.wonderfulenchantments.Instances; import net.m...
45.357143
135
0.774803
4028e63501b58c6b22a02797c9fdd910913784e0
2,462
/* * Copyright 2013 Anton Karmanov * * 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 ...
30.395062
97
0.610885
93d0c11b6084e3559f71f7946283ba199d12cf12
3,946
/* * 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 ...
35.872727
97
0.731374
0d270dd74c8b8cde9b3a852a3b486997a01c5eb4
11,320
package org.springframework.roo.addon.ws.addon.jaxb; import java.lang.reflect.Modifier; import java.util.List; import java.util.Map; import java.util.logging.Logger; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; import org.springframework.roo.addon.ws.annotation...
41.163636
100
0.776413
59fb7b8403a98cc2ec77e00e29e133644e791532
2,315
package ecommerce.firstproduct.controller; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org....
30.866667
80
0.739957
b54c92af3e94e6b6b1dfdf3bb14a6a9df8a2dd92
147
package com.nkasenides.athlos.model; /** * Abstracts the functionality of grid-based worlds. */ public interface IGridWorld extends IWorld { }
16.333333
52
0.755102
46126bf21ab62e1fa4ccf7292fe85558cb2c86a7
20,453
package com.stephenwranger.compgeo.algorithms.trapezoids; import java.awt.geom.Rectangle2D; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import com.stephenwranger.compgeo.algorithms.Algorithm; import com.stephenwranger.graphics.collections.Pair; import co...
37.597426
169
0.556104
ad2df8971b2e55ee3a3966c01250b06f4b3c5d50
7,108
/* * 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 session; import Connnection.DBConnection; import entity.Customer; import java.sql.Connection; import java.sql.PreparedStatemen...
39.709497
140
0.596933
99b0c3496ef2d28b7de1b70d8e9e377f2c01a7f4
624
import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; public class Main { public static void main(String[] args) { String data="Patika 102 Dersleri!"; ByteArrayOutputStream output=new ByteArrayOutputStream...
29.714286
66
0.636218
a4fc8b5a1e423a19ca3317279464b9749c37f919
852
package com.example.commontask.model; import java.io.Serializable; /** * Created by Αρης on 27/2/2018. */ public class Privacy implements Serializable{ private String name = ""; private boolean checked = false; public Privacy() { } public Privacy(String name) { this.name = name; ...
16.705882
50
0.584507
79b136db3d0660e09e4b5428f54dab4ec245a8d9
718
package com.tekwill.learning.datatypes.operators; import java.util.Scanner; public class PopulationOfNation { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter the current world's population: "); long cu...
44.875
113
0.63649
cab4a85ad5868833f776171c6f8fd9642a974f3d
3,244
package ya.boilerplate.thebasic.controller; import java.util.Map; import java.util.Optional; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.ht...
33.443299
101
0.790074
1c84f0da2c15badca66995d640b24cda2ed8f0b9
162
package ru.metrovagonmash.service; public interface RoomServiceCRUD<T,ID> extends RoomService<T,ID> { T update(T model, ID id); T deleteById(ID id); }
18
66
0.716049
bb3d33b490a86b3388120b959fb87a073ba81e5d
1,197
package plodsoft.slingshot; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import org.apache.logging.log4j.LogManager; import org.apache.l...
28.5
69
0.781955
a22190d4f838f394f61dd665baf97d696111669a
2,117
package mx.uach.smp.models; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import mx.uach.smp.models.genericos.BaseModel; /** * * @author Erik David Zubia Hernández */ @Entity @Table(name = "clientes") public class Cliente extends BaseModel{ private Strin...
23.522222
127
0.665092
95c637c12dd885ddcf1675a11052d76907c025fe
1,251
package com.example.test; /** * Class stores main constants * Created by Evgeniy Bezkorovayniy * thirteenisluckynumber@gmail.com * * 30.04.2020 */ public class ApplicationConfig { public enum SystemType { SOURCE_SYSTEM, MODIFIED_SYSTEM } public static final String HAAR...
50.04
152
0.763389
bc16c88cb9b5cdaebe5330a1a2ac20e57291f652
10,898
package gui; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import tech_demo.ScrollingText; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JFrame; im...
26.134293
78
0.716737
ff2b48f38e49237eae13668354fb6fbe2584911d
952
package com.example.as_frasesdodia; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import java.util.Random; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState...
26.444444
110
0.659664
e48216fc019fae86645bf98b581f424e4b5538f3
836
package com.huhx0015.builditbigger.backend; /** ----------------------------------------------------------------------------------------------- * [MyBean] CLASS * DESCRIPTION: The object model for the data we are sending through endpoints. * -----------------------------------------------------------------------...
32.153846
100
0.566986
6df27be9031974b1396cd01dc54bbd489d1c7705
7,591
/* * 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...
46.286585
334
0.670531
28b39393c5f87ef2ddcd263228d685029eb96e1e
235
package com.joypupil.study.design_pattern._03abstract_factory; public abstract class AbstractCreator { //创建A产品家族 public abstract AbstractProductA createProductA(); //创建B产品家族 public abstract AbstractProductB createProductB(); }
21.363636
62
0.817021
fa0cff3e3de3f01fff2a4a3438881cfbbcdae0d2
13,395
import java.util.Iterator; import java.util.Set; import java.util.HashSet; import java.util.HashMap; import java.util.Map; import java.util.List; import java.util.ArrayList; import java.util.ArrayDeque; import java.io.File; import java.io.IOException; /** Copyright (C) Jan 2019, Oct 2019 Ettore Merlo - All rights r...
21.061321
101
0.587906
315ce88d5e205fd43720d2a48edf20c6e4c87dd8
4,534
package com.portfolio.usermaster.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.BindingResult; import org.springframework.validation.annotatio...
26.51462
107
0.664535
886949893c681c0e1d2ce8b4520bee703a09b700
5,615
//****************************************************************************** // SCICHART® Copyright SciChart Ltd. 2011-2017. All rights reserved. // // Web: http://www.scichart.com // Support: support@scichart.com // Sales: sales@scichart.com // // ColumnChartFillFragment.java is part of the SCICHART® Examples. P...
37.684564
166
0.694746
b0b250a6d39d4aff6d6e8bed4bbc09f8d55c9e73
2,964
package unl.cse.counting; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; public class Combination<T> implements Iterable<List<T>> { private final List<T> underlyingSet; private final Integ...
24.097561
95
0.575911
b623fb0b35765438f5618789ab1c2a7359ce64b9
3,663
package com.lakeel.altla.sample.wifibatterydrain; import android.Manifest; import android.content.Context; import android.content.Intent; import android.net.wifi.WifiManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.Snackbar; import android.support.desig...
32.415929
105
0.701884
11f13bf621c09759432c00523baaba267a115480
12,113
/*- * ============LICENSE_START========================================== * OPENECOMP - DCAE * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * Licensed...
28.703791
151
0.669033
bd13e31198aa11745c80e33dca5ffad75832780a
226
package pl.ether.models; public enum ValidationLevel { ALL(0), BODY(1), BODY_TEXT(3); int choice; ValidationLevel(int lvl) { // TODO Auto-generated constructor stub choice = lvl; } }
20.545455
48
0.597345
cc4aebf3dff336eed039168f635ded37e9fc8832
1,379
package org.comroid.dreadpool.future; import java.time.Instant; import java.util.concurrent.CompletableFuture; import java.util.function.BooleanSupplier; public final class ScheduledCompletableFuture<T> extends CompletableFuture<T> implements ExecutionFuture<T> { private final Instant targetTime; private fina...
27.58
115
0.700508
bc7ac32d29d2ffb355525310e51606f6b971fe0a
2,071
package com.survey.controller; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest...
32.873016
92
0.712216
15e0baa04c57c70f66c240781f67ddfac20f680a
170
package cn.ervin; public final class Constants { public static final String MP4_FULL_PATH = "G:\\第三方\\youtube\\Getting Started with Spring Boot-sbPSjI4tt10.mp4"; }
24.285714
116
0.752941
99acddabaf383e556b9da66dd57f9d8280f4cf82
929
package viko.eif.lt.dfultinavcius.freeflight; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.web.servlet.support.SpringBootServletInit...
32.034483
81
0.805167
e21842f0043e686986a91c30cd889912bdd9f490
2,501
package pl.java.scalatech.exercise.n1; import static org.springframework.test.context.jdbc.Sql.ExecutionPhase.BEFORE_TEST_METHOD; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework...
55.577778
108
0.597361
2eda3aeebded1af655fef4d048f1c0e1791f8516
2,558
package com.omertron.imdbapi.model; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import org.slf4j.Logger; import o...
25.838384
105
0.662627
d3bf95d6f812e518346defab070e51a232b903a8
779
package dev.abarmin.home.is.backend.readings.repository; import dev.abarmin.home.is.backend.readings.domain.DeviceReadingEntity; import java.time.LocalDate; import java.util.Optional; import org.springframework.data.repository.CrudRepository; /** * @author Aleksandr Barmin */ public interface DeviceReadingJdbcRepos...
38.95
99
0.693196
3b0b955fbb03ad2369261033c6102b10ef8b9ff1
2,344
import org.apache.pdfbox.util.Splitter; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.exceptions.COSVisitorException; import java.io.IOException; import java.util.List; import java.util.Iterator; /** * * @author Stephen H * Created 21 June 2014 * Revised 25 June 2014 * Email steve@printmyfo...
39.728814
141
0.642491
36a21dfaac1df527debefb8721af80a1d50fd321
28,853
/* * Copyright 2008 Google 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 agreed to i...
37.133848
122
0.697397
d84fd56f73f7213df2563399fa6a03981b956ad2
7,958
/** */ package analysismetamodel.impl; import analysismetamodel.AnalysismetamodelPackage; import analysismetamodel.NumericKnowledge; import analysismetamodel.ProcessInvocableByEQSet; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.EList; import or...
29.805243
177
0.724051