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
b0f7cc52f6ce95c3a1b5e2bfbf4a7299511ac2e1
2,786
package org.oasis.easy.orm.test; import org.junit.After; import org.junit.Before; import org.oasis.easy.orm.dao.CreateTableDao; import org.oasis.easy.orm.dao.UserDao; import org.oasis.easy.orm.model.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.support.ClassPat...
33.97561
124
0.643216
b9334ccfd4e4f91ab37b4758c0005fba5e236cd6
144
package de.ianus.metadata.bo.utils; public enum AlternativeWRState { vollständig_veröffentlicht, teilweise_veröffentlicht, unveröffentlicht }
24
71
0.854167
db317deb38189ad5627e9af27b635f0880130bc9
752
package org.bouncycastle.operator.bc; import org.bouncycastle.asn1.x509.AlgorithmIdentifier; import org.bouncycastle.crypto.Digest; import org.bouncycastle.crypto.Signer; import org.bouncycastle.crypto.signers.RSADigestSigner; import org.bouncycastle.operator.OperatorCreationException; public class BcRSAContentSigner...
30.08
96
0.788564
6e3d5fc7a709725965d9e55860c85edd834f7c55
2,602
package com.google.android.gms.internal; import android.graphics.drawable.Drawable; import com.google.android.gms.dynamic.C0967d; import com.google.android.gms.dynamic.C0970e; import com.google.android.gms.internal.C1343bv; import com.google.android.gms.internal.C1347bx; @C1507ey /* renamed from: com.google.android.g...
25.019231
110
0.594158
1a889e40c794c0c90ac5faae59c43d6478e289ba
5,621
package alancerpro.controller; import alancerpro.model.Account; import alancerpro.model.Payment; import alancerpro.model.PaymentType; import alancerpro.model.data.AccountData; import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.RecursiveTreeItem; import com.jfoenix.controls.datamodels.treetable.Recursiv...
30.884615
115
0.67995
d03760a5604f7b887e974ca0ded7acd07a19723a
788
package ru.job4j.concurrency; import org.junit.Test; import static org.junit.Assert.*; /** * Created by User2 on 26.05.2018. */ public class CounterThreadTest { @Test public void ifCounterNotSyncResultWillBeUnexpected() throws Exception { long mainIterationNumber = 2000; long threadIteratio...
28.142857
75
0.659898
d42d442aa922c1d60efa757fd2baa5d9923fb1d1
1,828
package edu.colorado.thresher.core; import java.util.Set; import com.ibm.wala.analysis.pointers.HeapGraph; import com.ibm.wala.classLoader.IField; import com.ibm.wala.ipa.callgraph.CGNode; import com.ibm.wala.ipa.callgraph.propagation.InstanceKey; public interface PointerVariable extends Comparable { public Point...
22.85
68
0.741794
e53a35141bc067252e3ce02d972bfb0795547f2f
599
package com.example.drugservice.outlet.dao.es; import com.example.drugservice.outlet.dao.es.po.DrugEsPo; import com.example.drugservice.outlet.dao.redis.po.DrugRedisPo; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import java.util.List; public interface DrugEsDao extends Elastics...
33.277778
81
0.799666
f97ea922850e613492e8a597cf27ad44f0b26ac1
6,103
/* * Copyright 2017 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
43.592857
137
0.765853
2f1d261b6e9930db8312f2a59c0dfdb6c13b322c
524
import java.util.*; public class swapingtwonumbers { public static void main(String[]args){ int x,y,t; try (Scanner sc = new Scanner(System.in)) { System.out.println("Enter the value of x and y"); x = sc.nextInt(); y = sc.nextInt(); } System.out.pr...
27.578947
69
0.501908
228f78aa227729bd46a6a4eda696c7e8a20ef50c
265
import java.util.LinkedList; import java.util.Stack; public class Exercise2 { public <T> void stutter(Stack<T> stack) { LinkedList<T> queue = new LinkedList<T>(stack); stack.clear(); for(T value : queue) { stack.add(value); stack.add(value); } } }
18.928571
49
0.667925
98d1a051bdcb92d4fa78e5c7f3b1c4c89c5af13e
5,025
package org.cloudfoundry.identity.uaa.user; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import java.util.Date; import static org.cloudfoundry.identity.uaa.user.UaaUserMatcher.aUaaUser; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.greaterThanOrEq...
36.151079
117
0.576915
81c344c88a6b6b132d78da7d99d4bb4e87e1e736
48
package org.humanoid.tin.catalytic.controller;
24
47
0.833333
3d96e9c26ae99ea6e0896debce96ae184d4500f3
1,437
import java.util.HashSet; import java.util.List; public class Table { final private String blankTile = " - "; final private String failTile = " O "; final private String successTile = " X "; final private Ship ship = new Ship(); public Table() { } public void drawingGrid(HashSet<Coordinate> shootRecord...
30.574468
104
0.550452
92eabeb0b9dc7f6528eff7f598c7f1f1b408186a
1,421
package org.treez.javafxd3.d3.democases.svg.line; import org.treez.javafxd3.d3.coords.Coords; import org.treez.javafxd3.d3.functions.DataFunction; import org.treez.javafxd3.d3.core.JsEngine; import org.treez.javafxd3.d3.core.JsObject; public class CustomCoords extends Coords { //#region ATTRIBUTES boolean defin...
23.683333
94
0.712175
1ec92ed6233a726ca1e8545ee496fba907257d8c
404
package com.alibaba.json.bvt.bug; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.JSON; public class Issue190 extends TestCase { public void test_for_issue() throws Exception { Assert.assertEquals(WebSoscketCommand.A, JSON.parseObject("\"A\"", WebSoscketCommand.cla...
21.263158
101
0.707921
ef88e9751cff35b1e0535ed1b6c3a84c30696238
492
package com.easytoolsoft.easyreport.mybatis.service; import java.util.List; /** * @param <T> Po * @author Tom Deng * @date 2017-03-25 */ public interface AddService<T> { /** * @param record * @return */ int add(T record); /** * @param records * @return */ int batchAd...
15.870968
52
0.563008
8dadcb7408c39206f1d22113c9601882f7dd2c94
3,320
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * 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 requ...
31.028037
100
0.694578
b4fc81047313492a401ba42b5410fe936248f09a
2,080
package ch.uzh.ifi.hase.soprafs22.entity; import ch.uzh.ifi.hase.soprafs22.constant.Status; import ch.uzh.ifi.hase.soprafs22.constant.UserType; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** test * Internal User Representation * This class composes the internal representation of...
26
79
0.728365
9f8eb3a52a3e0a41b7f93988c2ac9dad7c0e8925
719
package com.yijiinfo.system.model; import lombok.Data; import java.io.Serializable; import java.util.Date; @Data public class Sms implements Serializable { private static final long serialVersionUID =1L; private Integer id; private String mobile; private String code; private Date sendTime; pr...
25.678571
54
0.554937
39dfb9c1ec19533eaa82366d523a2fdc99212918
3,610
package com.example.edge; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.gateway.route.RouteLocator; import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder; import org.springframework.context.a...
24.228188
101
0.745429
d7a8f10846fc0b13a77ac278ac42e21c41238d46
1,494
package br.com.ordemdeev.quizzes.util; import br.com.ordemdeev.quizzes.alternativa.AlternativaDAO; import br.com.ordemdeev.quizzes.alternativa.AlternativaHibernateRepository; import br.com.ordemdeev.quizzes.grupo.GrupoDao; import br.com.ordemdeev.quizzes.grupo.GrupoHibernateRepository; import br.com.ordemdeev.quizzes....
37.35
87
0.831325
a47b7a9d08479377ca5182d9ea7fbcc6b411641e
557
/** * */ package com.github.maumay.jenjinn.pgn; /** * @author ThomasB * */ public class BadPgnException extends Exception { private static final long serialVersionUID = -8663000605400082149L; public BadPgnException() { } public BadPgnException(String arg0) { super(arg0); } public BadPgnException(Thro...
14.657895
80
0.705566
659fe49bf700bf3c39bbf64ff08835e370d59351
749
package ru.projects.prog_ja.logic.caches.interfaces; import ru.projects.prog_ja.dto.commons.CommonFactTransfer; public interface FactsCache { /** * @return random fact * */ CommonFactTransfer getFact(long factID); /** * @return fact by this tag * */ CommonFactTransfer getFactByT...
18.725
68
0.606142
37e32288337317a83ac66f0c63d194e5f8976eb0
7,013
package org.atpfivt.jsyntrax.generators; import org.atpfivt.jsyntrax.generators.elements.Element; import org.atpfivt.jsyntrax.styles.NodeStyle; import org.atpfivt.jsyntrax.styles.StyleConfig; import org.atpfivt.jsyntrax.util.StringUtils; import org.atpfivt.jsyntrax.util.Pair; import java.awt.Color; import java.awt.Fo...
36.910526
116
0.533295
f820907c2944363a236383f8966d32b3cc21eca0
4,650
package org.zstack.network.service; import org.springframework.beans.factory.annotation.Autowired; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.db.DatabaseFacade; import org.zstack.core.db.SimpleQuery; import org.zstack.core.db.SimpleQuery.Op; import org.zstack.core.errorcode.ErrorFacade; i...
43.867925
144
0.623441
3157d1e53ffeb338cb58920b0f15e8893510b386
1,813
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ package com.amazon.lumberyard.NativeUI; import android.app.Activity; import android.app.AlertDial...
31.258621
127
0.623828
0a0053ae4283112132acf9b1ca91354e5a6a4f04
2,129
/*********************************************************** * @Description : 算法可视化的工具类 * @author : 梁山广(Laing Shan Guang) * @date : 2018/5/20 21:03 * @email : liangshanguang2@gmail.com ***********************************************************/ package Chapter2SwingBasic.Section2To7AlgoVisualCla...
25.047059
118
0.537341
c3f00eb994a883139b61588714f5f3caf7c5f932
929
import org.junit.Assert; import org.junit.Before; import org.junit.Test; import p04_BubbleSortTest.Bubble; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; public class BubbleTests { private int[] arr; private int[] expectedArr; @Before public void setUp(...
22.658537
63
0.632939
bac0bf1675ee5bc08aeaf3914e2baa110f1f9906
1,343
/* Time : O(1) for all operaions, even for increment() --> We can make an extra array called inc[]. if we want to increment bottom k elements, we store this operation by doing inc[k-1] += val. --> inc[i] = x means we need to add x to all stack elements from index 0 to i. --> The push operation is same as normal ...
38.371429
148
0.611318
982c54599f287379e7a59b50bb7415d21ec1ddd0
2,037
package com.theif519.sakoverlay.Components.Misc; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import com.theif519.sakoverlay.Components.View.BlockOfCode; import java.lang.ref.WeakReference; /** * Created by theif519 on 1/7/...
29.521739
145
0.638193
ac8a988000cb7d9d6519f5aeb3b93e97044058db
3,834
package com.hcy; import com.hcy.ceilling.LevelOneCeiling; import com.hcy.ceilling.LevelTwoCeiling; import com.hcy.coat.DuluxCoat; import com.hcy.coat.LiBangCoat; import com.hcy.floor.ShengXiangFloor; import com.hcy.tile.DongPengTile; import com.hcy.tile.MarcoPoloTile; import java.math.BigDecimal; import java.util.Arr...
29.492308
168
0.514606
e12dbedbce9ffe01cbfce89dc003a5cb1ae12d68
335
package org.wikiup.core.exception; public class MalformedTemplateException extends RuntimeException { static final long serialVersionUID = -1812002948108045530L; public MalformedTemplateException() { super(); } public MalformedTemplateException(String message) { super(messag...
23.928571
67
0.698507
a07f4e8358ade17ad766a5473f7aa84eeb3c534a
1,231
package eu.jsan.forge.telegram.impl; import eu.jsan.forge.telegram.core.AbstractMod; import java.io.IOException; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLPreInitializat...
36.205882
105
0.768481
f6b5f97c1a6be2325315149638d2a60846d4ecd7
796
package neuroFuzzy; import java.util.ArrayList; import java.util.List; import java.util.Random; public class Util { public static double uniformDouble(double min, double max) { Random rand = new Random(); return rand.nextDouble()*(max-min) + min; } public static int uniformInt(int min, int max) ...
22.742857
66
0.634422
59258c792e48c260aee6208ee6ff0c5597a879d9
18,380
package priv.nokbita.app; import javafx.geometry.Insets; import javafx.geometry.Orientation; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.image.Image; import javafx.scene.image.ImageView; impor...
36.039216
135
0.612514
0a47ce76f0357b1037cf5c819599b52802cfdcdd
544
package com.newMedia.dto; public class CategoryInfo { private int id; private String categoryName; // 获取category public CategoryInfo(int id, String categoryName) { this.id = id; this.categoryName = categoryName; } public int getId() { return id; } public void s...
18.133333
54
0.613971
5ab3f2face1b8215bbe6710c2ebc3321bbb27c94
6,398
package no.idporten.userservice.api; import lombok.RequiredArgsConstructor; import no.idporten.userservice.api.admin.UpdateAttributesRequest; import no.idporten.userservice.api.admin.UpdateStatusRequest; import no.idporten.userservice.api.login.CreateUserRequest; import no.idporten.userservice.api.login.UpdateUserLogi...
41.816993
145
0.734448
cba653d98e0fa0f0e7ebb559c656166d431e3eb9
14,441
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with * the Southern California Earthquake Center (SCEC, http://www.scec.org) * at the University of Southern California and the UnitedStates Geological * Survey (USGS; http://www.usgs.gov) *...
26.400366
110
0.679247
21a83fad9eac181d26fef37be9a004819b36de6d
519
package com.theFox6.kleinerNerd.storage; import java.io.IOException; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import net.dv8tion.jda.api.entities.ChannelType; public class ChannelTypeSerializer ex...
30.529412
113
0.830443
28258b861b9b74c95dd54bc602aaeb0b6638e291
21,142
/* *************************************************************************** * EZ.JWAF/EZ.JCWAP: Easy series Production. * Including JWAF(Java-based Web Application Framework) * and JCWAP(Java-based Customized Web Application Platform). * Copyright (C) 2016-2017 the original author or authors. * * This library ...
20.953419
135
0.554962
3223d04d9c8d65558f640ce53fbd24627a90d91a
8,612
/* * Copyright 2014 Stormpath, 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...
29.292517
122
0.584649
022b27c98914e0ca10d1770a06b44436ce33710a
3,589
package org.dspace.doi; import org.apache.log4j.Logger; import org.dspace.content.DCValue; import org.dspace.content.Item; import org.dspace.core.ConfigurationManager; import org.dspace.core.Constants; import org.dspace.core.Context; import org.dspace.event.Consumer; import org.dspace.event.Event; import java.util.Ma...
36.622449
188
0.551407
d085b26bfc9b2aa21029b4f3d5c1b41f3920ec5e
179
package com.udacity.gradle.builditbigger.java; public class TellJoke { public String tellAJoke(){ return "Error, keyboard not found. Press F1 to continue."; } }
19.888889
66
0.692737
5b969a27ed4a5a739440d3ec66dbc36cebfc161c
16,407
/* * Licensed to the University of California, Berkeley 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 no...
37.979167
100
0.640458
b801e4b36ba64f24c7caf581cd33f9817de0707c
676
package br.com.cod3r.state.pacman.states; import br.com.cod3r.state.pacman.Ghost; public class WanderMazeState implements GhostStates { private static final WanderMazeState instance = new WanderMazeState(); private WanderMazeState() {}; public static WanderMazeState getInstance() { return instance; } @Overr...
15.72093
71
0.730769
54ccb98ec64686ac39ff383a7c99b09b7fea1c9c
2,450
package org.cyberpwn.react; import javax.swing.*; import java.awt.*; import java.awt.Window.Type; public class AboutReact { private JFrame frame; public AboutReact() { initialize(); frame.setVisible(true); } private void initialize() { frame = new JFrame(); frame.setT...
49
129
0.72
b8c5e2c1d3e76ac7d2892f27879a2b4a0c8ce75d
2,363
package iOSRes; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.stream.Collectors; import javax.xml.parsers.Pars...
24.873684
106
0.739314
a5d2c3061fc21dcb1691e2ee62ba62f4bce72db5
971
package com.zeroq6.blog.operate.web.listener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import org.springframework.stereotype.Service; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; /** * @author icgeas...
26.972222
78
0.722966
35b39fe86a2fd2157fff2fa442173fc06e5e1fda
226
package cc.mrbird.febs.system.domain.vo; import java.io.Serializable; import lombok.Data; @Data public class BaseReq implements Serializable{ /** * */ private static final long serialVersionUID = 1L; }
15.066667
51
0.69469
c2b6e1e87d0c4e0e00264bb85f2f8b85d01ee276
1,378
package com.infoShare.carService.controllers; import com.infoShare.carService.dto.CreateVehicleDto; import com.infoShare.carService.service.VehicleService; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.Errors; import org.springframework.web...
35.333333
104
0.74238
e31b731a0e9ffb737b026b16a218f5a4feb80f66
30,683
/* SiteListActivity.java * * PROGRAMMER: Jeffrey T. Darlington * DATE: December 15, 2009 * PROJECT: Cryptnos (Android) * ANDROID V.: 1.1 * REQUIRES: * REQUIRED BY: * * This activity acts as a launching point for the Generate Existing, Edit, * and Delete activities. It...
48.243711
226
0.651599
94e9a8277bb346c61ef84c23f9eaa09622514a2f
2,234
package com.cevaris.nike.message; import java.nio.ByteBuffer; import java.util.Objects; import com.google.common.base.Preconditions; /** * <pre><code> * offset : 8 bytes * message length : 4 bytes (value: 4 + 1 + 1 + 8 + 4 + K + 4 + V) * version : 1 byte * attributes : 1 byte * timestamp ...
23.765957
78
0.659803
869a41f97e8f6f486d3906b7d3b5231cc2ba18fa
9,286
package com.jnape.palatable.lambda.adt.hlist; import com.jnape.palatable.lambda.adt.Maybe; import com.jnape.palatable.lambda.adt.hlist.HList.HCons; import com.jnape.palatable.lambda.adt.product.Product5; import com.jnape.palatable.lambda.functions.Fn1; import com.jnape.palatable.lambda.functions.builtin.fn2.Into; impo...
28.838509
118
0.569567
9a6236f19fadcbed0e975eacae9bc8af36ce1d08
863
package io.github.sruby.spring.ioc.beanfactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; import io.github.sruby.spring.bean.HelloWorld; /** * BeanFactory * @author sruby on 2016年10月3日 上午12:37:08 */ public class BeanFactoryTest { public s...
26.151515
82
0.74044
51570d4d913e6cc83b0c502599ffcc192c1f7688
573
package com.chencoder.rpc.common.cluster.lb; import java.util.List; import java.util.concurrent.atomic.AtomicLong; import com.chencoder.rpc.common.bean.RpcRequest; import com.chencoder.rpc.common.bean.ServerInfo; public class RoundRobinLoadBalance implements LoadBalance{ private AtomicLong next = new AtomicLong(0...
26.045455
79
0.762653
68ce5634d60e82de1d30696cd15b8d6b7fa86dc5
4,127
package com.varwise.moneysavingtips; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.google.android.gms.analytics.GoogleAnalytics; import com.google.android.gms.analytics.HitBuilders; imp...
33.827869
140
0.641628
bd883c0d148306487513fb13800b8bf253139052
2,118
/********************************************************************************** * $URL:https://source.sakaiproject.org/svn/osp/trunk/jsf/widgets/src/java/org/theospi/jsf/renderer/XmlDocumentRenderer.java $ * $Id:XmlDocumentRenderer.java 9134 2006-05-08 20:28:42Z chmaurer@iupui.edu $ ********************************...
37.157895
125
0.668083
f1b0c6ef593cb534dace6f36479b11d64a8a4bbf
1,054
package fr.teddy.slimefunclient.machine; import net.minecraft.block.BlockState; import net.minecraft.client.world.ClientWorld; import net.minecraft.util.math.BlockPos; public class MachinePattern { public final MachineBlock[] blocks; public MachinePattern(MachineBlock... blocks) { this.blocks = bloc...
30.114286
138
0.656546
c9e61c6fbfa83390a0f7aa7c1a32ad13a539c132
370
package com.nplekhanov.es6dev4j.jsloading; import java.io.IOException; import java.io.PrintWriter; import java.util.Collection; public interface JsLoader { void writeModuleToStream(String name, PrintWriter stream) throws IOException; Collection<String> collectDependentModuleNames(String rootModule, Collecti...
28.461538
125
0.821622
d2f5fbb981acef3ac3143241e0c907b178bcb0a5
16,368
package servlets.assets.oneM2M; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import org.json.simple.parser.ParseException; import oneM2M.INMana...
34.458947
157
0.732344
4cc32e3e5004c663e32b63e165b06f97462b7930
3,285
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apac...
33.181818
117
0.738813
87e6067940417a9b4d2812d9d5ef8adf82420be1
1,674
package kitchen.josh.simplejms.broker; import kitchen.josh.simplejms.common.DestinationType; import kitchen.josh.simplejms.common.ErrorModel; import kitchen.josh.simplejms.common.IdModel; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import org.springframework.web.server...
33.48
90
0.73178
590e0cf2057232659a1383a240e8d5a71a7a6704
1,414
package com.thinkgem.jeesite.modules.mobile.test.web; import com.thinkgem.jeesite.common.security.Digests; import com.thinkgem.jeesite.common.utils.Encodes; import java.text.DateFormat; import java.util.Date; public class Test { public static String entryptPassword(String plainPassword) { String plain =...
32.136364
108
0.678218
2fcb438121c9d9dee8a48c8649114c4da271ee77
14,965
/* * Copyright 2015-2016 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 app...
37.506266
147
0.656866
5e21bfee8e80881241761609d43a82a0f06779a2
6,063
/******************************************************************************* * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
27.434389
81
0.549398
d5715572fed206b1460e8bbcac723f0e95d47dff
434
package cn.gmlee.plugin.entity; import cn.gmlee.plugin.ui.base.Item; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * 全局配置实体类 * * @author Jas° * @version 1.0.0 * @since 2018/07/27 13:07 */ @Data @NoArgsConstructor @AllArgsConstructor public class GlobalConfig implemen...
15.5
43
0.66129
b413ff4e30d9d27b7fce25ca043afffa2228645f
2,120
package com.tma.tt.api.model; import com.tma.tt.api.common.Validatable; import io.katharsis.resource.annotations.JsonApiId; import io.katharsis.resource.annotations.JsonApiRelation; import io.katharsis.resource.annotations.JsonApiResource; import javax.persistence.*; import java.io.Serializable; @JsonApiResource(typ...
22.795699
102
0.748113
20bcae6ea96516752c9ceb7ddd65e6043cb3eedd
79
package com.c3mm.client.view; public class BookView extends View { }
9.875
35
0.683544
75913eabffb2347d69897b237432c7d911cdc355
412
/** * */ package com.cloudpaas.admin.ui.prop; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import lombok.Data; /** * 前端属性类 * * @author 大鱼 * * @date 2019年8月26日 上午10:59:41 */ @Component @Data @ConfigurationProperties(prefix = "ad...
15.259259
75
0.740291
523702c0c347c72b34f521c665c72281a16289c1
2,816
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
30.608696
117
0.720526
ead7bd40bf0aa29caef935ac0bb61887029327a6
12,755
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
28.094714
79
0.56472
39083a172b52fbdf10eb1fa34de44839efc4cda3
488
package io.github.apace100.originsclasses.util; import io.github.apace100.calio.util.IdentifiedTag; import io.github.apace100.originsclasses.OriginsClasses; import net.minecraft.item.Item; import net.minecraft.tag.Tag; import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; public class Cla...
37.538462
154
0.821721
4be2237f2e03475834635b58bf1fcda6bc7857f1
2,166
/* * Salesforce DTO generated by camel-salesforce-maven-plugin * Generated on: Thu Sep 06 16:51:28 IST 2018 */ package org.apache.camel.salesforce.dto; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; /** * Salesforce Enume...
23.290323
74
0.645429
ff1cbfffac052d0bf34f75070614e82fd0cf2230
3,348
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.marketdata; import com.opengamma.core.security.Security; import com.opengamma.core.value.MarketDataRequirementNames; import com.opengamma.financial.anal...
40.337349
102
0.744026
e9bdeb3de59bbd505578905a1993be0c96441af6
3,962
/* Copyright 2020 Martin Heywang 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 ...
40.020202
134
0.77158
65e5cd193402e65894a31bafe0e638c7b1fe52c5
13,667
/*|----------------------------------------------------------------------------- *| This source code is provided under the Apache 2.0 license -- *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- *| See the project's LICENSE.md for details. ...
44.809836
117
0.575986
c39a69bd41414ce6de44c7b58fe31e54d473beca
161
package com.updatestock.updatestock.dto; public interface IMonthlyQtdProductOutputDto { public Double getQtdProductOutput(); public String getDate(); }
23
46
0.78882
829cc1c21e0e41ddd7252a80aaa93d753f510a15
3,923
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
37.009434
117
0.623248
fe4cc4a661a8cf14ee5d317a8b972d93597e5c9a
1,689
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.RobotMap; /** * * @author Team 997 */ public class DriveStraightBackwards extends CommandBase { private int encoderCounts...
29.631579
102
0.677916
2412cfa73abb4806ffe2cb586bc6d91c43089015
1,699
package RemoveNthFromEnd; public class RemoveNthFromEnd { public static void main(String[] args) { Solution sln = new Solution(); ListNode l = new ListNode(1); ListNode l0 = l; l0.next = new ListNode(2); l0 = l0.next; l0.next = new ListNode(3); l0 = l0.next; ...
24.623188
74
0.436139
0e8bb2c5e14e54c7ef3a7340d721516333d1c7b9
5,286
/* * Copyright 2020 fxzjshm * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
41.296875
136
0.615399
3fa492b9d5f428aae4c120af89b954f38886ef68
3,597
/* * JPPF. * Copyright (C) 2005-2019 JPPF Team. * http://www.jppf.org * * 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...
32.7
129
0.652766
817bb37b6a14fdefaef0a03b58768a6bda090a7c
6,081
package jp.ac.titech.c.phph.util; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.eclipse.jgit.diff.DiffEntry; import org.eclipse.jgit.diff.DiffFormatter; import org.eclipse.jgit.diff.RawText; import org.eclipse.jgit.diff.RawTextComparator; import org.eclipse.jgit.lib.*; import org.eclipse.jgit.revw...
31.02551
94
0.596448
cc9630c7acba4431aab13cddc2c1a58cc3fb016d
606
package com.maijia.QR.bean; /** * <pre> * @author : xiaoyao * e-mail : xiaoyao@51vest.com * date : 2018/04/16 * desc : * version : 1.0 * </pre> */ public class UserBean { private String userName; private String sortLetters=""; public String getUserName() { ...
17.823529
52
0.582508
01068c9fc77b2fb6fa8db561a204028f9a49e59f
5,119
/* * Copyright 2017-present Open Networking Laboratory * * 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 appli...
29.761628
80
0.691346
9068408820ceea6cc33aa310527f599b03e7dd15
1,239
package com.ferry.admin.util; import cn.hutool.core.codec.Base64; import com.google.zxing.BarcodeFormat; import com.google.zxing.client.j2se.MatrixToImageWriter; import com.google.zxing.common.BitMatrix; import com.google.zxing.qrcode.QRCodeWriter; import org.springframework.stereotype.Component; import javax.imageio....
30.975
90
0.681195
d9b736df1887365c3fd914c88ebe0c3a60881a2d
729
package apincer.android.tripmate.database.model; import androidx.annotation.NonNull; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; @Entity(tableName = "feature") public class Feature { @PrimaryKey @NonNull @ColumnInfo(name = "name") private ...
20.25
56
0.632373
95ec837fe97447833356e848bf573752790a691e
156
package ru.job4j.tictactoe.item; /** * @author Igor Antropov * @version $Id$ * @since 0.1 */ public enum TypeItem { NOUGHT, CROSS, EMPTY }
12
32
0.608974
ff29fd10960f2b43e4f83985f62f161d3cf4034e
1,580
package com.moome; import java.util.Arrays; public class TileSettings { static char[] transparentBlocks = {' ', 'c', 'h', '4', 'U', 'H', 'S', 'T', 'O', '^', '*', 'F'}; static char[] solidBlocks = {'=', '#', '%', '>', 's', 'E', '<', '!', '(', ')'}; static char[] foregroundBlocks = {'O', 'o'}; static ch...
27.719298
99
0.44557
218f63af4b0bfa8c282ad1f31366074ba28c6cbc
986
package test.nz.ac.vuw.jenz.bdd; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import nz.ac.vuw.jenz.bdd.Adder; import org.junit.Before; import static org.junit.Assert.assertEquals; /** * Glue code that maps the natural language snippets used in features to ju...
25.282051
90
0.675456
33b997594ef7547da83865eca1452ee3db4d717b
156
package study.designmode.state_work; /** * 抽象状态 * @version 1.0 * @date 2019/1/31 11:25 */ public interface State { void writeProgram(Work work); }
14.181818
36
0.666667
a121af8f511cd056f993b734fe94038f83fb83e1
549
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); final double PI = 3.14; double radius,area,angle; System.out.print("Dairenin yarıçapını giriniz: "); radius = input.nextInt(...
24.954545
67
0.6102
36e51d4198d55784dfc7fcc13833ab8dca8c71d0
2,642
package pw.kaboom.weapons.modules.weapons; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.World; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.entity.Fireball; import org.bukkit.entity.Player; import org.bukkit.entity.Project...
31.452381
106
0.725587
e19e0707acba34e0803c8b5bbceb28b6409fa860
163
/** * The initial inbound message handler (without business logic) * * @author Liu Xiaolei * @date 2018/07/23 */ package xyz.devlxl.chaos.s1.channel.handler;
23.285714
63
0.711656
69e961282c7ab5cb20ab765262cfb1ad079496f6
140
package com.tiger.design.proxy; public interface Apple { void iPhone(); void iPad(); void iWatch(); //void iGlass(); }
10.769231
31
0.6
af31ce51d777b06d76e2dea4809ba04209f7bbf5
249
package su.levenetc.android.interactivecanvas; /** * Created by Eugene Levenetc. */ public interface IInteractiveCanvasLogger { void logException(String msg); void logException(Object msg); void logException(Class src, Throwable throwable); }
22.636364
51
0.783133
daba50c709cd40424714b5dde20eb37bb2ee82ce
709
package icbm.classic.api.events; import icbm.classic.content.blocks.launcher.TileLauncherPrefab; import icbm.classic.lib.transform.vector.Pos; import net.minecraftforge.fml.common.eventhandler.Cancelable; import net.minecraftforge.fml.common.eventhandler.Event; /** * Called when the target of a launcher is set. * U...
28.36
74
0.761636
8a8c72f868970b4d3f7b9bfc0b0667ebb8f4ad60
1,660
/* * Copyright (c) 2021 by Gerrit Grunwald * * 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...
38.604651
157
0.666867
af335bc91982340bc16edab3646992b1692dcf7c
28,317
/** * This code is copyright Articulate Software (c) 2003. Some portions * copyright Teknowledge (c) 2003 and reused under the terms of the GNU license. * This software is released under the GNU Public License <http://www.gnu.org/copyleft/gpl.html>. * Users of this code also consent, by use of this code, to credit...
43.100457
141
0.48455