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
fe5b3b1668513432cd091c61dd16c0924060455e
2,751
package test.ethereum.blockstore; import org.ethereum.core.Block; import org.ethereum.core.Genesis; import org.ethereum.db.InMemoryBlockStore; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spongycastle.util.encoders.Hex; im...
29.902174
96
0.659397
526a9aeb4de5479babae70fbe37a237e5b3954cc
4,989
/* * Copyright (c) 2019, TheStonedTurtle <https://github.com/TheStonedTurtle> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the ab...
45.770642
119
0.775306
e38f557348ea1f36efc2d13bfa5b7e8e462785f3
1,262
//James Shively III //ITC155 - Data Structures //Stani Meredith //Assignment Eight - ArrayIntList.java //Part 4 of 4 //this is just an extension of the class exercise we did last Thursday import java.util.NoSuchElementException; //provides a set of utilities for iterating public class ArrayListIterator { ...
23.37037
71
0.68225
0f6fe9532bee939388781b2c66431277d0880c5b
472
package org.malagu.panda.security.access.provider; import java.util.Collection; import java.util.Map; import org.springframework.security.access.ConfigAttribute; /** * 组件权限信息提供者 * @author Kevin Yang (mailto:kevin.yang@bstek.com) * @since 2016年1月22日 */ public interface ComponentConfigAttributeProvider { /** * ...
22.47619
60
0.752119
d5cac859044bdd754d5ea4a7423a44c4c2e57a1d
2,995
/* * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 r...
23.582677
70
0.638397
faeb482159116f7b9a949ef7e56556c14938239e
2,246
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
29.168831
75
0.702582
93ab5ae290c941d9cba95290fe07d3a86c3323f7
1,765
/* * Copyright 2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
39.222222
154
0.724646
ea5309ffe1287afe2f52f900a90359cef2e89705
2,448
package com.shijingsh.ai.jsat.math.integration; import com.shijingsh.ai.jsat.math.Function1D; import com.shijingsh.ai.jsat.math.Function1D; /** * This class provides an implementation of the Adaptive Simpson method for * numerically computing an integral * * @author Edward Raff */ public class Adapt...
34.971429
124
0.5625
1bdcc67d89b82a920771a977b116cf082f5b7836
3,095
/* Copyright 2013 the original author or authors. Licensed under the Apache License, Version 2.0 the "License"; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
35.574713
131
0.671729
033e1f870fe84337f0d9180b82c915d9d40edad6
748
package online.zhaopei.myproject.sqlprovide.para; import java.io.Serializable; import org.apache.ibatis.jdbc.SQL; public class CustomsSqlProvide implements Serializable { /** * serialVersionUID */ private static final long serialVersionUID = -1630423204207078524L; public String getCustomsByCodeSql() { ret...
20.216216
68
0.676471
1ef705adbd2562529bb29dc2283fd0c69a58640c
257
package com.ztiany.ndk.importlibs; /** * @author Ztiany * Email: ztiany3@gmail.com * Date : 2017-11-04 23:07 */ class JniUtils { public native String stringFromJNI(); static { System.loadLibrary("hello-libs"); } }
16.0625
41
0.595331
d9d26e8c48db9df3e5aeb536783cb02834d41f50
1,241
package casadocodigo.casadocodigo.util.validators; import casadocodigo.casadocodigo.dto.AutorDTO; import casadocodigo.casadocodigo.gateway.repositories.AutorRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.Errors; import org.springframework.validation.Va...
31.820513
104
0.737309
6a5c00d08def663f249184e27979ae570ff0beb4
3,033
/* Copyright (C) 2013-2021 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.net/. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
43.328571
116
0.683482
0d16504b4ce57d58cad1d2bad7948c4d73d91c1d
1,947
/* * 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 ...
33.568966
75
0.706215
9c5562219f7580a740b025ab2118a88039dffea1
1,564
package com.chx.plugin.memo; import com.intellij.openapi.components.ApplicationComponent; import com.intellij.openapi.components.PersistentStateComponent; import com.intellij.openapi.components.State; import com.intellij.openapi.components.Storage; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotat...
24.4375
104
0.685422
868442fdbf434d58577a198a1fd66051658cde4a
6,032
/* * Copyright (c) 2020, 2021, NECSTLab, Politecnico di Milano. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * noti...
46.045802
164
0.75945
381cf8edc545dca8f9c54e07698d6b36660d1bb4
356
package robot_components.radar; import robocode.AdvancedRobot; import robot_components.Manager; import robot_components.data_management.DataManager; public abstract class Radar implements Manager { protected AdvancedRobot _self; protected DataManager _data; public Radar(AdvancedRobot self, DataManager data) { ...
19.777778
52
0.803371
7354d2f475ee4c325dac08c061f8132763e2fb1d
495
package de.mineformers.investiture.allomancy.api.metal.stack; import de.mineformers.investiture.allomancy.api.metal.Metal; import javax.annotation.Nonnull; import java.util.List; import java.util.Set; import java.util.function.Supplier; public interface MetalStackProvider extends Supplier<List<MetalStack>> { Lis...
24.75
72
0.779798
ecb14bac2c61c33a9d0a22959ee8ffca7bcbceb7
90
public interface Shared { String HELLO_WORLD_TASK_QUEUE = "HELLO_WORLD_TASK_QUEUE"; }
22.5
61
0.788889
a240747818fa0667ae81bd2dab654b4a7aab6b93
1,058
package com.tinytongtong.leetcodetest.targetoffer.question57; import java.util.Arrays; /** * @Description: https://leetcode-cn.com/problems/he-wei-sde-liang-ge-shu-zi-lcof/ * 剑指 Offer 57. 和为s的两个数字 * @Author tinytongtong * @Date 2020/9/15 5:06 PM * @Version */ public class FindTwoNumbersWithSum { private sta...
29.388889
82
0.556711
e4186e0cc153f56e7300cf39fe151114a31d3006
5,767
/* * The MIT License (MIT) * Copyright (c) 2016 Intel Corporation * * 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 * us...
36.04375
89
0.751864
f0afddacf812e1f2e878f42e54778b075871d25c
2,711
package com.northgateps.nds.beis.ui.selenium.pagehelper; import java.util.Locale; import java.util.Random; import org.openqa.selenium.WebDriver; import com.northgateps.nds.beis.ui.selenium.pageobject.PersonalisedChangeEmailAddressPageObject; import com.northgateps.nds.platform.ui.selenium.PageObject; import com.nort...
38.183099
142
0.727407
e41384c97c56bc472f4172b037ed0833d996e563
5,947
package edu.asupoly.ser422.grocery; import java.util.*; import org.json.JSONObject; import org.json.JSONArray; import java.util.logging.Logger; public class GroceryItem { private static Logger log = Logger.getLogger(GroceryItem.class.getName()); int aisle = 999999; // default value int qty; String pname, diet; ...
32.320652
164
0.70153
b18d6e6c596d4ca484d157029e28db486243f3cf
1,354
package com.sparrowwallet.sparrow.io; import com.sparrowwallet.drongo.crypto.*; import com.sparrowwallet.drongo.wallet.Wallet; import java.util.Map; public class WalletAndKey implements Comparable<WalletAndKey> { private final Wallet wallet; private final ECKey encryptionKey; private final Key key; p...
26.54902
144
0.661743
e8f10fa659128e9d459861ef5ebe3f27427213a1
16,091
package paketGUI; import java.awt.Color; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Set; import com.vaadin.flow.component.ClickEvent; import com.vaadin.flow.component.Com...
37.595794
112
0.721646
20c0cbd829201ba67fc225d24d241c68513786f6
3,453
/* * Copyright 2008-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...
31.390909
114
0.743991
41a9b773a4712938192bcb0ab28ab948159bb313
727
package com.flexicore.request; import com.fasterxml.jackson.annotation.JsonIgnore; import com.flexicore.model.FileResource; public class FinallizeFileResource { private String fileResourceId; @JsonIgnore private FileResource fileResource; public String getFileResourceId() { return fileResourc...
24.233333
77
0.723521
2f1a666806deed7c6450cecd26151b33d35cd2c7
1,433
package com.zebrunner.agent.core.logging.log4j; import com.zebrunner.agent.core.logging.Log; import com.zebrunner.agent.core.registrar.LogsBuffer; import org.apache.log4j.AppenderSkeleton; import org.apache.log4j.spi.LoggingEvent; import java.util.function.Function; public class ReportingAppender extends AppenderSke...
31.152174
105
0.526867
06dd7019866bd683a6549532d28eacb8af03e8bb
2,806
package expansioncontent.cards; import com.megacrit.cardcrawl.actions.animations.VFXAction; import com.megacrit.cardcrawl.actions.common.ApplyPowerAction; import com.megacrit.cardcrawl.actions.common.HealAction; import com.megacrit.cardcrawl.actions.unique.RemoveDebuffsAction; import com.megacrit.cardcrawl.actions.ut...
36.441558
151
0.716322
2e9e17c2d201543f6729f5009f5400f3b0df9758
1,170
package com.revature.util; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.List; import com.revature.beans.Accounts; pub...
26.590909
92
0.747863
c1c0e4d87b11bc25c1d23ec8a407b4f0678b7ec2
19,754
package com.capitalone.dashboard.service; import com.capitalone.dashboard.model.Collector; import com.capitalone.dashboard.model.CollectorItem; import com.capitalone.dashboard.model.CollectorType; import com.capitalone.dashboard.model.Component; import com.capitalone.dashboard.model.DataResponse; import com.capitalone...
39.666667
133
0.737218
3ec4560667b1b6ae23c7e4a5a8c6d8e1fec5a65e
2,853
package com.pureon.pur_wallet.activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.TextUtils; import com.pureon.pur_wallet.R; import com.pureon.pur_wallet.constant.Const...
35.6625
96
0.545741
82496c071b87068f99bb8730970dafd8b5c8a809
408
package week1.day1.assignments; public class SumOfDigits { public static void main(String[] args) { int input =123; int sum=0,remainder=0; while(input>0) { remainder = input % 10; System.out.println(remainder); sum=sum + remainder; System.out.println(sum); input= input/10; System.out.pr...
17
51
0.637255
94ac7f830110038ed1bc7460432556b4fc796ae8
3,012
package pl.codecity.main.controller.guest; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.crypto.password.StandardPasswordEncoder; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.util.ObjectUtils...
35.435294
95
0.798473
c3c2c8ccf50aebe80a58c8bec3413687b43e215b
1,275
package estatico.pilha.exercicios; import java.util.Scanner; import estatico.pilha.Pilha; public class Exer01 { public static void main(String[] args) { Pilha<Integer> pilha = new Pilha<>(); Scanner teclado = new Scanner(System.in); for (int i = 0; i < 10; i++) { ...
25
98
0.480784
c9d8b84ef0153ab2cace1d42cc7b3fe8aa4745d8
3,571
package io.eventdriven.ecommerce.shoppingcarts; import io.eventdriven.ecommerce.core.aggregates.AbstractAggregate; import io.eventdriven.ecommerce.pricing.ProductPriceCalculator; import io.eventdriven.ecommerce.shoppingcarts.ShoppingCartEvent.*; import io.eventdriven.ecommerce.shoppingcarts.productitems.PricedProductI...
26.649254
121
0.723047
ce51766c1de41803238db9851ef348d39196e3e4
2,113
/** * 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"...
39.867925
80
0.721723
7b05ce41cad3bb4fc3e319defc731dbf818fa42a
145
package com.tngtech.jgiven.example.bookstore.entity; public class Order extends Entity { public Customer customer; public Book book; }
18.125
52
0.758621
bc21f2ced736d81b885dfdbd92935ae5f36cacba
8,589
package org.mbari.m3.vars.annotation.ui.deployeditor; import com.google.common.collect.Lists; import io.reactivex.Observable; import io.reactivex.disposables.Disposable; import javafx.beans.InvalidationListener; import javafx.beans.property.SimpleObjectProperty; import javafx.collections.ObservableList; import javafx....
38.34375
113
0.590756
a463cc9beac884bf092d43eb34f3e3df7d3bd4ee
4,245
/* * Code by Shawn M. Chapla, 27 May 2016. * * ServerRequestProcessorThread processes commands from clients. Manages a processing * lock on ClientConnections. In the event of disaster, clears a client's inBound queue * and unlocks them so as to spare their connection. * */ package Challenge268EASY_server; publ...
41.213592
100
0.570082
98a783ad402d610786e2bb2bb105055c0fe510cf
1,031
package org.springframework.boot.context.properties; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Indicates that a getter in a {@link ConfigurationProper...
26.435897
90
0.751697
1400f9822b1308f7319e4d5e6afb9b7f0c6aaa76
2,031
package org.jenkinsci.plugins.github.status.err; import hudson.Extension; import hudson.model.Descriptor; import hudson.model.Result; import hudson.model.Run; import hudson.model.TaskListener; import hudson.util.ListBoxModel; import org.jenkinsci.plugins.github.extension.status.StatusErrorHandler; import org.kohsuke.s...
28.208333
112
0.6903
d68d2abcb09e825115597e4adfef3c01f046eb67
5,476
/* * Copyright 2014 Shazam Entertainment Limited * * 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 ...
42.123077
118
0.703616
2533fc47db5343a7e71633cec0ef7bdd1fe45ee8
386
package hr.fer.zemris.jcms.dao; import java.util.List; import hr.fer.zemris.jcms.model.Course; import javax.persistence.EntityManager; public interface CourseDAO { public Course get(EntityManager em, String isvuCode); public List<Course> getAllWithoutCategory(EntityManager em); public void save(EntityManager em...
22.705882
61
0.787565
21d84d6808608e0446e165f16aad0b8e1ade5611
2,312
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
32.111111
110
0.702855
432b092716da88914435e28dc49450160debd6d1
1,755
package com.education.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDateTime; import java.io.Serializable; import io.swagger.annotations.ApiModel; import io.swagger.annotations....
25.071429
65
0.750997
98b55deba7d70fe0cfdc770fe96900a0cbbf60d6
395
package managers; import models.Person; /** * Created by jesu on 16/09/2015. */ public class PersonManager extends DataManager<Person> { private static PersonManager instance; private PersonManager() { super(Person.class); } public static PersonManager instance() { if ( instance =...
17.954545
63
0.655696
449d4cea1c3016a2ea280cfe04dedb81fd1fcfca
520
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ package org.dojotoolkit.json; import java.io.IOException; /** * */ public class JSONParseException extends IOExc...
17.931034
75
0.613462
859d365e77af4f18c5c07fbdc218f1c7d2beb2b2
1,857
/* * Apache License * * Copyright (c) 2020 HuahuiData * * 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 und...
24.116883
75
0.712439
7b920574a2e765a3e62217a6f72bae8b7fc77b13
2,053
/* * (c) Copyright 2022 Palantir 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 * * Unless ...
38.018519
102
0.718948
e3151f22e1ff0e237c6eeba00f3397d3c30a16a9
3,314
package com.engelhardt.data; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; public class HealthKitData { //e.g. 2016-10-22 15:48:07 +0200 private final SimpleDateFormat sdf = new SimpleDateFormat("...
27.163934
88
0.725407
7da8b677f4326bdfba6de6cf8744c9e3f0800d51
1,408
import java.util.regex.Matcher; import java.util.regex.Pattern; public class regexlib_3365 { /* 3365 * ([a-zA-Z1-9]*)\.(((a|A)(s|S)(p|P)(x|X))|((h|H)(T|t)(m|M)(l|L))|((h|H)(t|T)(M|m))|((a|A)(s|S)(p|P))|((t|T)(x|X)(T|x))|((m|M)(S|s)(P|p)(x|X))|((g|G)(i|I)(F|f))|((d|D)(o|O)(c|C))) * POLYNOMIAL * nums:...
44
203
0.478693
c96c422d9af4738f800f88e6ac2a6e9ddacaaebb
2,474
/* * Copyright 2012-2020 Sergey Ignatov * * 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...
38.65625
165
0.751819
6e927a34393c6b2461a45744127e1a1a7281b77e
17,329
package main; import Utils.Utility; import com.xilinx.rapidwright.design.Design; import com.xilinx.rapidwright.device.ClockRegion; import com.xilinx.rapidwright.device.Site; import java.io.*; import java.util.List; import java.util.Map; public class Vivado { static String checkpoint = System.getProperty("RAPIDW...
49.090652
146
0.592187
dcc1ed3be2e27a5c2e368f0d3a1113f7c97a1503
622
package _020_Sum_OddRange; public class SumOddRange { public static boolean isOdd(int number) { boolean odd = false; if (number > 0 && number % 2 == 1) { odd = true; } return odd; } public static int sumOdd(int start, int end) { if (start < 1 || end < ...
20.064516
50
0.426045
743797047436a1ceeedc713955b31d6159069110
3,481
package org.kilocraft.essentials.user; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.minecraft.nbt.CompoundTag; import net.minecraft.text.Text; import org.jetbrains.annotations.Nullable; import org.kilocraft.essentials.api.text.MessageReceptionist; import org.kilocraft.essentials.api.user.U...
17.943299
91
0.633726
dd478fe0eb0593304a828cd00a00b73e337bacf5
262
package kodlama.io.HRMS.dataAccess.abstracts; import org.springframework.data.jpa.repository.JpaRepository; import kodlama.io.HRMS.entities.concretes.User; public interface UserDao extends JpaRepository<User, Integer>{ boolean existsByEmail(String email); }
26.2
62
0.828244
10c09808656f35fe9c10f0dfd98caed5904a44b8
3,436
/* * Copyright 2014 NAVER Corp. * * 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 ...
40.423529
83
0.686554
56e4dbdc5bd64737d4ce28a66032c88ddae33a3f
2,190
package io.quarkus.reactive.datasource.runtime; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.Promise; import io.vertx.sqlclient.PreparedQuery; import io.vertx.sqlclient.Query; import io.vertx.sqlclient.Row; import io.vertx.sqlclient.RowSet; import io...
27.375
80
0.621005
004ce8c3c3d7b0e0852001208a26b7f38fe305d1
3,103
/* * 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 ...
38.308642
107
0.750564
05609728b88c29b6c346fafd2b8fcc77d1eea153
336
package pr3; public class DailyTemperature extends Temperature { public DailyTemperature(int month, int day){ sMonth = month; sDay = day; high = new int[DATA_SIZE]; low = new int[DATA_SIZE]; for(int i=0; i<DATA_SIZE; i++) { high[i] = UNKNOWN_TEMP; low[i] = UNKNOWN_TEMP; } ...
14
52
0.589286
30d65c63109b7900e5a13bebddc09d59631fcaca
1,922
/* * Copyright (c) 2008-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic...
30.507937
114
0.721124
672c228b5e119c760867902d3e0e073d51529e55
2,404
// GsonDemo (c) 2018 Baltasar MIT License <baltasarq@gmail.com> import java.io.IOException; import java.util.Collection; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; /** Util class for saving and retrieving books. */ public class BooksPersistence { public static String ETQ_...
28.963855
95
0.551997
b055c25bd4c7dc75124e264bf7822e9980e1c9f9
4,889
package org.vocobox.model.note; import java.io.File; import org.vocobox.io.EzRgx; public class Note extends EzRgx { public static NoteParser NOTE_PARSER = new NoteParser(); public String name; public String sign; public int octave; public int instance; public File file; public Voyel ...
22.529954
61
0.36081
5f8d6bc8e9553e95c9afde88525d80bc65953c1c
522
package com.orientechnologies.common.factory; import java.util.LinkedHashMap; import java.util.Map; public class ODynamicFactory<K, V> { protected final Map<K, V> registry = new LinkedHashMap<K, V>(); public V get(final K iKey) { return registry.get(iKey); } public void register(final K iKey...
20.88
66
0.657088
627e7b07278c50c95a7a46188eb109031fcc3328
4,150
package com.toquery.framework.example.test.java.streamex; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.Lists; im...
31.203008
90
0.651807
395b9b8126efbb8a01301d0c4bd481e4dd273774
854
package comp5216.sydney.edu.au.todolist; import com.orm.SugarRecord; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class ToDoItem extends SugarRecord implements Serializable { private String todo; private String date; static Simpl...
20.333333
108
0.663934
07b60208b52852ea15ad921da9aa7bd716eb8953
4,346
/* * Copyright 2014 the RoboWorkshop Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
39.87156
146
0.765992
c32a8428e8efcff761e9ead615ec01d1ab704aad
1,361
package com.example.spacenetdemo; import java.util.ArrayList; import android.content.Context; import com.example.spacenetdemo.abstractclass.ButtonBounds; import com.example.spacenetdemo.abstractclass.Screen; import com.example.spacenetdemo.common.Planets; import com.example.spacenetdemo.common.TouchEvent; import com...
29.586957
84
0.735489
07a0e29ddf300a1b87c3e957f716dadfcdf25b8c
4,456
// Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. package org.cef.network; import java.util.Vector; import org.cef.callback.CefCompletionCallback; import org.cef.callback.CefCooki...
41.64486
85
0.710054
d216cb2147b5475894b49613a7d514fe9bb78356
1,332
package solution; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class Knight implements ChessPiece { private ChessPosition pos; public Knight(ChessPosition pos) { this.pos = pos; } @Override public ChessPosition getPosition() { retu...
27.75
91
0.617868
c22bc4fa5f6abc91344c74c22b1ffa103686fbc5
838
// Runtime: 0 ms, faster than 100.00% of Java online submissions for Reverse Linked List. // Memory Usage: 38.7 MB, less than 64.30% of Java online submissions for Reverse Linked List. /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ...
24.647059
94
0.548926
d809cd83931ddd3d6a889fda91b441e9dcddfb14
4,017
// // Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11 // Visite <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de o...
25.424051
127
0.592233
301614a29b9f97ab8a2ab00ec11ac07ae5fcd479
1,461
package com.android.hikepeaks.Fragments; import android.app.Activity; import android.content.Context; import android.support.v4.app.Fragment; import com.android.hikepeaks.Utilities.Connectivity; public class BaseFragment extends Fragment { protected Activity mActivity; protected OnFragmentInteractionListene...
22.136364
71
0.633128
d2b2223f7ed9d0e64dea7a10f8b4a1fb90fd639b
1,952
package main; import command.Command; import command.commands.admin.*; import command.commands.bang.Bang; import command.commands.bang.BangScore; import command.commands.blackjack.Bet; import command.commands.blackjack.Hit; import command.commands.blackjack.MyHand; import command.commands.blackjack.Stand; import comma...
26.026667
54
0.642418
b53c29fa90ffcf36b98d04307bc95d16db9b3442
9,829
// Generated from /home/elyan/Documents/KLinguaMachina/src/main/antlr/org/linguamachina/klinguamachina/parser/antlr/LinguaMachina.g4 by ANTLR 4.9.1 package org.linguamachina.klinguamachina.parser.antlr; import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Token; import ...
48.900498
147
0.612779
547e25378718eee54a8365bd244cc61748840d03
2,595
package cc.mrbird.febs.server.member.controller.app.vo; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import javax.validation.constraints.*; import java.io.Serializable; import java.util.Date; @Data public class MemberVo implements Serializable { private static final long serialVersi...
19.961538
69
0.569171
73c5d6492788b9020481a1445103e02efdf8fa7f
1,403
package com.immomo.wink.patch; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.nio.channels.FileChannel; public class Utils { public static boolean copyFile(File src, String destPath) { boo...
26.980769
68
0.559515
116d3a28657b11007a98a0afebca45d9b4580769
468
package com.linkedpipes.plugin.transformer.rdfToHdt; public final class RdfToHdtVocabulary { private static final String PREFIX = "http://plugins.linkedpipes.com/ontology/t-rdfToHdt#"; public static final String CONFIG = PREFIX + "Configuration"; public static final String HAS_FILE_...
26
69
0.690171
22aa027ad675e00d8fe6314f092b966225367454
1,232
package seedu.project.logic.commands; import static java.util.Objects.requireNonNull; import seedu.project.commons.core.Messages; import seedu.project.logic.CommandHistory; import seedu.project.logic.LogicManager; import seedu.project.model.Model; /** * Clears the project. */ public class ClearCommand extends Comm...
33.297297
101
0.688312
4ad9be446d575c9a674d6ee47f120f964374dcac
2,513
package com.demo.test.exceptions; import com.college.etut.model.response.ExceptionResponse; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; impo...
45.690909
94
0.766017
5a742ed86173887348f0248341c81349dd17d8d2
1,090
package net.folivo.springframework.security.abac.demo.config; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configurat...
38.928571
107
0.810092
43003efc1c6cc63fa31b9abefe4be95c14e5ee61
234
package com.dao; import com.pojo.User; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * Mapper 接口 * </p> * * @author linqin * @since 2019-04-22 */ public interface UserMapper extends BaseMapper<User> { }
13.764706
55
0.679487
f67389ad5a3e026a1ad050e615155ed01d0e45a5
12,748
package mx.emite.sdk; import lombok.Getter; import lombok.Setter; import mx.emite.sdk.clientes.ClienteJson; import mx.emite.sdk.clientes.operaciones.emisores.DescargaMasiva; import mx.emite.sdk.clientes.operaciones.emisores.Estatus; import mx.emite.sdk.clientes.operaciones.emisores.Servicios; import mx.emite.sdk.clien...
29.509259
99
0.778004
d03d69f114ef227f54eb24c95b832d76cbaeb80a
2,929
package net.violet.platform.api.actions.files; import java.util.List; import net.violet.platform.api.actions.AbstractAction; import net.violet.platform.api.actions.ActionParam; import net.violet.platform.api.authentication.SessionManager; import net.violet.platform.api.exceptions.ForbiddenException; import net.violet...
33.666667
186
0.774326
86b1287e13f38e190cc75ddf4b9a0ae039a3d31d
2,223
package com.ruoyi.cgb.service.impl; import com.ruoyi.cgb.domain.RmInvoiceDetaiil; import com.ruoyi.cgb.mapper.RmInvoiceDetaiilMapper; import com.ruoyi.cgb.service.IRmInvoiceDetaiilService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ruoyi.com...
23.15625
95
0.687809
95f40e4c44dae12a835c9b972ff0f969a6847ee5
803
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.mirror.type; import com.sun.mirror.declaration.MethodDeclaration; /** * A pseudo-type re...
16.06
73
0.686177
271c3f77cbf44bdf914c3bc20e08f4650166e83e
2,525
package com.openrest.v1_1; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.wix.restaurants.i18n.LocalizedString; import java.io.Serializable; import java.util.LinkedHashSe...
35.56338
121
0.650693
584b2dd23a39293a7786ffe684410db428c9b7ab
6,197
package bank.storage; import bank.exception.ExistAccountException; import bank.exception.ExistStorageException; import bank.exception.LimitMoneyException; import bank.exception.NotExistAccountException; import bank.exception.NotExistStorageException; import bank.models.Account; import bank.models.User; import java.ut...
33.317204
78
0.602388
7c581911b694e90db7c8564a7b75419b6109df40
1,372
package live.fanxing.codegenerator.core.gen; import live.fanxing.codegenerator.core.code.Dao; import live.fanxing.codegenerator.core.code.Entity; import lombok.Data; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @auther fanxing * 2021/6/6 */ @Data public...
20.787879
71
0.627551
cbac6353bc41e002770489572ffca025979b97ed
207
package br.com.mxti.backend.dao; import org.springframework.data.jpa.repository.JpaRepository; import br.com.mxti.backend.entidade.Turma; public interface TurmaDao extends JpaRepository<Turma, Long> { }
20.7
62
0.806763
55ba11497deacc5be325af93f693bba7a7eaf25c
7,750
/** * Copyright (C) 2012 Philip W. Sorst <philip@sorst.net> * and individual contributors as indicated * by the @authors tag. * * 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...
28.07971
110
0.731613
cb3f3450dbc92d732c8c6dd63f77bb7c0ecc8e0c
3,309
package edu.miami.ccs.dcic; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement;...
33.424242
269
0.729526
6daeec93f3544dc722732cb13878c725371aa8b9
5,375
package com.nuwarobotics.example.activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.WindowManager; import android.widget.ImageButton; import com.nuwarobotics.example.R; import com.nuwarobotics.example.motion.base.BaseAppCompatActivity; import com.nuwarobotics.se...
23.783186
158
0.610419
ec2ab1600159bea173a27dc9a989055f7fb56fd5
1,233
package org.sylrsykssoft.java.musbands.admin.musical.genre.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.sylrsykssoft.coreapi.framework.web.BaseAdminCont...
35.228571
105
0.832928
f3ba5196036d26b6022233cbca820870135bef02
3,051
package com.kelystor.boatcross.vendor.gitlab; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import com.kelystor.boatcross.vendor...
42.971831
232
0.740085
2a3ff32523a75c873addca34aa94235a890bc5e7
7,923
package com.xlk.cache; import java.util.HashSet; import java.util.Set; import org.springframework.beans.factory.annotation.Value; import org.springframework.cache.interceptor.KeyGenerator; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import ...
37.728571
147
0.712988
60ffb6b5291f06f795b98c800ae6ab37a673b729
2,375
package com.bespectacled.modernbeta.world.biome.beta; import com.bespectacled.modernbeta.world.biome.OldBiomeColors; import com.bespectacled.modernbeta.world.biome.OldBiomeFeatures; import com.bespectacled.modernbeta.world.biome.OldBiomeMobs; import com.bespectacled.modernbeta.world.biome.OldBiomeStructures; import n...
43.181818
120
0.712421
f96235de2e3af5b0b252c42baa68339a80fbb02e
669
package io.github.aaronchenwei.demorxjava; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @Slf4j public class DemoRxjavaApplication imple...
26.76
68
0.732436
6c0ff47713bd4011fcf39ff4d3ddcbc863b695f4
1,716
package com.evbox.everon.ocpp.simulator.station.handlers.ocpp; import com.evbox.everon.ocpp.simulator.station.StationMessageSender; import com.evbox.everon.ocpp.simulator.station.StationStore; import com.evbox.everon.ocpp.v20.message.MessageTriggerEnum; import com.evbox.everon.ocpp.v20.message.TriggerMessageRequest; i...
42.9
132
0.797203