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
cda4ebb4e7e86aba6a7721c49119669381ae1f18
235
package cz.tacr.elza.controller.vo; /** * VO pro externí systém - seznam digitalizačních linek. * * @author Martin Šlapa * @since 05.12.2016 */ public class ArrDigitizationFrontdeskSimpleVO extends SysExternalSystemSimpleVO { }
19.583333
81
0.757447
d74c9dddc7783c0852cf5e60f3a457bf0e99957e
1,207
package com.trippy.back.entities; import net.minidev.json.JSONObject; public class Airport extends JSONObject { String PlaceId; String PlaceName; String CountryId; String RegionId; String CityId; String CountryName; public Airport() { } public String getPlaceId() { retu...
18.287879
52
0.623032
5eed0a761ebaa5e2efc976a7b62b9cdc39f74449
1,511
/* * Copyright 2021 Netflix, 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 ...
33.577778
97
0.755791
9bb8fd00d0bad6ca8dd31c2ae8b3c14a3be952cf
2,899
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.8 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
33.321839
107
0.710245
876dd204b588c0f95cead065dc0322c36bcfffd6
2,260
package com.iamshekhargh.hackernews.webview; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import ...
27.228916
82
0.690265
1a497b9ec9be57e7c0366a5dd2b752492f1d3f90
8,955
package lapr.project.model; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Assertions.*; /** * Testing the Application class. * <p> * Created by Diogo Capela [1171316@isep.ipp.pt] on 03/06/2018. */ public class ApplicationTest { Key...
34.980469
107
0.675154
dc8a2744343c6d9646e3f7331039ee4f2605a74d
177
package com.masich.datab.exception; public class FieldNotFoundException extends Exception { public FieldNotFoundException(String message) { super(message); } }
22.125
55
0.745763
032d82eedd923f88d4f3503da3df3dbeef935e80
6,431
package org.aikodi.chameleon.support.input; import org.aikodi.chameleon.core.document.Document; import org.aikodi.chameleon.core.element.Element; import org.aikodi.chameleon.core.language.Language; import org.aikodi.chameleon.core.modifier.Modifier; import org.aikodi.chameleon.core.namespace.Namespace; import org.aiko...
30.478673
166
0.654797
5fe32f8d2fd1951e6217da9b06c38e2215e71f07
365
package net.jimblackler.jsongenerator; public class ValueUtils { static long getLong(Number number, long _default) { if (number == null) { return _default; } return number.longValue(); } static double getDouble(Number number, double _default) { if (number == null) { return _default; ...
20.277778
59
0.654795
7b79f0f2bee4072cd86d3e540bd0cb396aef24c6
609
import java.util.Arrays; import java.util.LinkedList; public class UsingToArray { public static void main(String[] args) { String[] colors = {"black", "blue", "yellow"}; LinkedList<String> link = new LinkedList<>(Arrays.asList(colors)); link.addLast("red"); link.add("pink"); ...
27.681818
74
0.592775
88dfcd375632e000a9ab40bfa60bc667fbed3ef7
1,891
package redradishes; import redradishes.encoder.ByteSink; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.CharacterCodingException; import java.nio.charset.CharsetEncoder; import java.nio.charset.CoderResult; class ByteBufferSink implements ByteSink { private final ByteBufferBundle ...
26.263889
118
0.651507
6ebfb3f54a69678e5700e2375b38e1a7eb50ab5f
1,968
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
33.931034
87
0.731707
6ee47fe17e6cc99652d6c19599ef54bd130304b4
21
package configs;
3.5
16
0.666667
751c76ecbc2ba2d72ee6e9523106c0497e4578c8
2,086
package org.webswing.jslink.test; import static org.junit.Assert.*; import netscape.javascript.JSException; import netscape.javascript.JSObject; import org.junit.Test; public class Java2JsCallTest extends AbstractJsLinkTest { @Override public void specificSetUp() { } @Test public void testEvalPrimitive() { ...
26.74359
80
0.676894
306ff2af6723ca3fd3c9877b089cf6054d5417a2
3,191
package org.horx.wdf.common.extension.context; import org.apache.commons.lang3.StringUtils; import org.horx.wdf.common.extension.session.SessionHandler; import org.springframework.beans.factory.annotation.Autowired; import java.lang.reflect.Method; import java.util.UUID; /** * 线程上下文变量。 * @param <T> * @since 1.0 ...
28.747748
78
0.670323
1299e3e467e3811d940e3e98ac9ecedaa726c05f
32,583
import java.util.HashSet; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Arrays; import java.util.Comparator; import java.util.ArrayList; import java.util.LinkedList; import java.util.Collections; import java.util.PriorityQueue; import java.util.Iterator; import java.util.Collection; //im...
40.325495
113
0.517141
1a3f6a25327c020ec493fbdb69cf6bd7f815179c
1,043
package fr.osallek.eu4parser.model.save.country; import fr.osallek.clausewitzparser.model.ClausewitzItem; public class HistoryStatsCache { private final ClausewitzItem item; public HistoryStatsCache(ClausewitzItem item) { this.item = item; } public Integer getStartingNumOfStates() { ...
28.189189
77
0.729626
d62b8f09742783607d443fd5ea69206584384027
3,972
package iiuf.swing; import javax.swing.ListModel; import javax.swing.tree.TreeModel; import javax.swing.tree.TreePath; import javax.swing.event.TreeModelListener; import javax.swing.event.TreeModelEvent; import javax.swing.event.ListDataListener; import javax.swing.event.ListDataEvent; /** A tree model that provid...
24.981132
101
0.676989
3be06f1b8ba9a4e2cc120a3dbc3cc4e4198550db
465
package pl.umk.andronetandroidclient.activities; import android.os.Bundle; import android.preference.PreferenceActivity; import pl.umk.andronetandroidclient.R; import java.util.List; /** * Created by Lukasz on 2015-01-06. */ public class SettingsActivity extends PreferenceActivity { @Override public void ...
23.25
58
0.763441
e0b2a6f2938760b5045520be0d440c54e323d640
5,077
package email.com.gmail.cosmoconsole.forge.photoniccraft.common.tileentity; import java.util.HashMap; import java.util.Map; import email.com.gmail.cosmoconsole.forge.photoniccraft.integration.Compat; import li.cil.oc.api.Network; import li.cil.oc.api.driver.DeviceInfo; import li.cil.oc.api.driver.NamedBlock; ...
29.690058
129
0.698444
f71b01ff214518cee0a85ef9f9499bee8f209f75
1,179
package OneLang.Template.Nodes; import OneLang.One.Ast.Expressions.Expression; import OneLang.Utils.TSOverviewGenerator.TSOverviewGenerator; import OneLang.VM.ExprVM.ExprVM; import OneLang.VM.ExprVM.VMContext; import OneLang.VM.Values.ArrayValue; import OneLang.VM.Values.StringValue; import OneLang.Template.Nodes.ITe...
31.864865
124
0.698049
bea4cf33eab86bbe017faec7f2bef7c8ccf0d85d
6,746
package com.flimbis.dummyclient; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Manifest; import android.annotation.SuppressLint; import a...
37.898876
132
0.602876
bd7d939ec5705921b7a54816e53bd26cdc0e7fa1
435
package com.devshawn.kafka.gitops.domain.state; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.inferred.freebuilder.FreeBuilder; import java.util.List; import java.util.Optional; @FreeBuilder @JsonDeserialize(builder = UserDetails.Builder.class) public interface UserDetails { Optio...
21.75
65
0.783908
a38ebd1cb06ec85f1c365423006719a09d2e2e8a
1,119
package gay.lemmaeof.mycoturgy.mixin; import gay.lemmaeof.mycoturgy.init.MycoturgyEffects; import gay.lemmaeof.mycoturgy.init.MycoturgyItems; import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.projectile.ArrowEntity; import net.minecraft.item.ItemStack; import net.minecraft.potion.Pot...
36.096774
73
0.805183
60e4a858922c8fa16a83d51631a311bf6fe74ca1
321
package com.github.germanosin.vscaleio; import org.junit.Before; /** * Created by germanosin on 10.11.15. */ public class VScaleAPI { protected VScaleIOAPI api; @Before public void setUp(){ String token = System.getenv("VSCALE_TOKEN"); this.api = VScaleIOFactory.connect(token); } }...
17.833333
53
0.666667
72d918ee0f2218a847859fd88e53c5c1a410d340
10,260
package com.winger.physics; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.*; import com.badlogic.gdx.physics.box2d.BodyDef.BodyType; import com.fasterxml.jackson.core.JsonProcessingException; import com.winger.game.AbstractGameObject; import com.winger.struct.JSON; import java.util.Array...
18.929889
76
0.492105
ce994b656f9977136cdee10983753fb7b49b5d0c
1,027
package com.jasmine.javax.xmleventreader; import org.apache.camel.spring.SpringCamelContext; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; public class FileDirsInRouteConfigurer implements Application...
29.342857
85
0.807205
658cf020d5dfe821ed3906334d0e1313d7010c26
2,343
package it.finsiel.siged.mvc.presentation.actionform.protocollo; import it.finsiel.siged.constant.EmailConstants; import java.util.ArrayList; import java.util.Collection; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.apache.struts.action.ActionErrors; import org.apache.str...
31.24
79
0.664533
c361bbec00c570a09cb51c0069a36e8b23c32297
696
package ru.otus.composite; /** * @author sergey * created on 16.01.19. */ public class Demo { public static void main(String[] args) { Unit marine1 = new Marine(); Unit marine2 = new Marine(); Unit marine3 = new Marine(); Unit tank = new Tank(); Group group = new Group(...
21.75
44
0.558908
418d8049f558c5cd0dbd09adada326a618e313d1
1,727
/* * Copyright ConsenSys Software Inc., 2022 * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.979167
118
0.762015
1e5a41fb9d40c584a6f36ea28b3aff369a61fbea
73
package aula11b2; public class Visitante extends Pessoa { }
12.166667
46
0.657534
3d5cfde01c6f91a5712c0db84946a6b04f3750a2
308
package com.test.demo.model; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity @Data public class Property { @Id @GeneratedValue Long id; @Column String property="{}"; }
15.4
40
0.733766
52eca16aa8ce8b8e2cbb9dd97e20f16106a38b67
4,704
package com.parkito.learnmicro.post.controller; import com.parkito.learnmicro.post.dto.ParcelDTO; import com.parkito.learnmicro.post.entity.Parcel; import com.parkito.learnmicro.post.service.ParcelService; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
47.04
133
0.653274
764fc196129ce17b0407689769c42bb06ecd5b0a
2,898
package com.nitya.accounter.web.client.ui.vendors; import com.nitya.accounter.web.client.core.ClientCashPurchase; import com.nitya.accounter.web.client.core.ClientFinanceDate; import com.nitya.accounter.web.client.core.Lists.BillsList; import com.nitya.accounter.web.client.ui.grids.BaseListGrid; import com.nitya.accou...
26.108108
72
0.750863
ed1b719aad0e99587d69c3efac59fdb14cb3b1e0
2,381
package org.jleaf.utils; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import java.util.Random; import javax.imageio.ImageIO; /** * 验证码图片生成类 * * @author leaf */ public class Ver...
25.063158
88
0.51743
06125f0b5fff37a5df809a93c0b7acd6ee9123c7
3,313
/* ------------------------------------------------------------------ Copyright 2021 asyncapi.engineer 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...
24.360294
87
0.680048
09492827c4dca80e677c308ee118e6949a85c861
2,413
package neu.train.project.bvo.Service.impl; import neu.train.common.utils.SecurityUtils; import neu.train.common.utils.StringUtils; import neu.train.project.bvo.Service.StoreService; import neu.train.project.bvo.domain.Store; import neu.train.project.bvo.domain.StoreExample; import neu.train.project.bvo.mapper....
32.173333
92
0.691256
c4dd25a8205bff593d0f089095ff570abcd341cc
1,495
package io.acme.solution.infrastructure.conf; import com.google.gson.Gson; import org.apache.kafka.clients.producer.KafkaProducer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import or...
29.9
116
0.740468
387a4912e5535d8af920ed2a5c92826a18ea844a
622
package br.com.acme.model.entity; import java.util.Date; import br.com.acme.comum.model.entity.Entity; public class Publicacao implements Entity<Integer> { private Integer id; private String nome; private Date dataPublicacao; public String getNome() { return nome; } public void setNome(String nome) { th...
15.55
53
0.723473
c95fce17f4164717c671e7fc32161d515ce09812
2,778
/* * 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 ...
26.970874
86
0.607631
f7db35004e44781bcb77ef1d6860b129444c4754
3,204
/** * Copyright (C) 2012 alanhay <alanhay99@hotmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
26.262295
76
0.685393
7e6d71534614e9e55dbcb89d8e2319e7a9eb2510
182,531
/* * This is the source code of Telegram for Android v. 3.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2017. */ package org.telegram.ui.Components; import android.Manifest; import android.a...
47.287824
279
0.579863
99f4c064168ed11ca368bbc94bc49fb599256c82
1,908
/** * Copyright © 2021 Yusuf Aytas. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
34.690909
99
0.648847
5f1c07119be4e089f6000bc2d6cf30a1823a4ff0
6,819
package cn.jia.core.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.security.KeyManagementException; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.UnrecoverableKeyException; import java.util.Arr...
36.271277
187
0.662121
d9eb0d2848da9414f2df0cd1ee6fb38c0e368b6b
605
package com.desiremc.core.classes; import com.desiremc.core.DesireCore; import com.desiremc.core.configs.def.YMLConfig; import java.io.File; /** * Created by Timothy Lampen on 12/10/2016. * Copyright © 2016 Tim Plugins * Under no circumstances are you allowed to edit, copy, remove, or tamper with this file * unl...
28.809524
89
0.738843
a9ca498941fd3d1659eb94cf07f4c3a84d01d981
1,406
package com.datastax.demo.dsedriver; import com.datastax.demo.conf.DseConstants; import com.datastax.demo.domain.StockInfo; import com.datastax.demo.domain.StockTick; import com.datastax.driver.core.querybuilder.QueryBuilder; import com.datastax.driver.mapping.Result; import com.google.common.util.concurrent.Listenabl...
31.954545
76
0.71266
ddd4e0649a1fe6ade3f15033ec8d064da2d13f39
2,746
/* * Copyright 2012 OmniFaces. * * 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...
28.604167
119
0.554261
f60890dd99630421dd5c325e0cc26dca2712246d
678
package com.e.thedept20; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; public class AddToDoActivity extends AppDefaultActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
17.384615
55
0.646018
f0c51f120da25c01f43c3af0d48e5dfc769119ce
411
// ------------------------------- // adapted from Kevin T. Manley // CSE 593 // ------------------------------- package Server.Common; import java.io.*; // Resource manager data item public abstract class RMItem implements Serializable, Cloneable { RMItem() { super(); } public Object clone() { try { re...
14.172414
63
0.554745
c9b39f9cc2507ee75889d38ffb9e8ece26c1766b
11,770
package org.hisp.dhis.dxf2.metadata.objectbundle; /* * Copyright (c) 2004-2018, University of Oslo * 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 reta...
45.444015
135
0.727018
c07e6f32653c036f727bff67e9e5438e271081df
1,677
package com.hrms; import org.modelmapper.ModelMapper; import org.modelmapper.convention.MatchingStrategies; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import com.hrms.business.abstracts.Mai...
31.641509
101
0.70006
e38d246409544b308a6a077374e698a16f50e26e
1,127
package com.sequenceiq.cloudbreak.template.filesystem.gcs; import java.util.Collection; import com.sequenceiq.cloudbreak.api.model.filesystem.FileSystemType; import com.sequenceiq.cloudbreak.api.model.filesystem.GcsFileSystem; import com.sequenceiq.cloudbreak.template.filesystem.BaseFileSystemConfigurationsView; impo...
35.21875
135
0.795031
a657d64675486643294a2e7068737f482acf4813
269
package polygon.services.interfaces; import polygon.models.Category; import java.util.List; public interface CategoryService { List<Category> allCategories(); Category findById(int id); void save(Category category); boolean safeDelete(int id); }
14.944444
36
0.739777
7f23267fd8e08b6717ff63b617fc653b79ffd7ad
2,927
package com.adsnative.header_bidding.mopub; import android.content.Context; import android.support.annotation.NonNull; import com.adsnative.ads.ANAdListener; import com.adsnative.ads.ANNativeAd; import com.adsnative.ads.ANRequestParameters; import com.adsnative.ads.NativeAdUnit; import com.adsnative.ads.PrefetchAds; ...
35.26506
155
0.595149
5ad46a281feea64da5fee12750ec1e62b3c95719
1,705
/* * 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.520833
115
0.739589
815814d031ed9de0327b7057e2bdc7ce49351505
1,668
package com.javarush.task.task30.task3008.client; public class ClientGuiController extends Client{ private ClientGuiModel model = new ClientGuiModel(); private ClientGuiView view = new ClientGuiView(this); public static void main(String[] args) { ClientGuiController clientGuiController = new Clien...
24.895522
79
0.639089
c435474018a4aed6635a17c7abc82547735c109d
3,759
/* * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and 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 require...
28.694656
102
0.608939
825b500c1560a690e1daddbf342b856373351198
721
package com.liubin.gulimall.ware; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign....
32.772727
78
0.841886
7eb7053388e604e830899a38252764f3eb5e3aff
1,814
package com.blamejared.crafttweaker.api.action.recipe.generic; import com.blamejared.crafttweaker.api.CraftTweakerAPI; import com.blamejared.crafttweaker.api.recipe.RecipeList; import com.blamejared.crafttweaker.api.recipe.manager.RecipeManagerWrapper; import net.minecraft.world.item.crafting.Recipe; import net.minecr...
41.227273
162
0.712238
34a385e4672cc6fc644001f74abbc98bd4d8057e
1,131
package net.jmb19905.medievalworlds.common.capability.motion; import net.minecraft.core.Direction; import net.minecraft.nbt.CompoundTag; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ICapabilitySerializable; import net.minecraftforge.common.util.LazyOptional; ...
32.314286
100
0.756852
7e846cd4a588b2827a28b61060a66add900edcbf
5,187
package com.pg85.otg.bukkit.generator.structures; import java.lang.reflect.Field; import java.util.List; import java.util.Random; import com.pg85.otg.OTG; import com.pg85.otg.bukkit.util.WorldHelper; import com.pg85.otg.common.LocalBiome; import com.pg85.otg.common.LocalWorld; import com.pg85.otg.configuration.biome....
35.772414
295
0.642954
bc61d69f02144254ba44846228a342d416f15657
3,691
package com.outbrain.gomjabbar.targets; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.outbrain.gomjabbar.testutil.HealthInfoInstanceHealper; import com.outbrain.ob1k.concurrent.ComposableFuture; import com.outbrain.ob1k.concurrent.Compo...
42.425287
139
0.791114
168becf1b614549f7424c9afe08fca2a010b6b47
2,460
package com.devgd.gateway.global.config; import com.devgd.gateway.domain.model.Role; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.anno...
36.716418
110
0.719512
569056d13595518078fac20b04134c834a38ea26
6,229
/* * Copyright (c) 2008-2019 Geode Systems LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
28.972093
78
0.623053
cec2e64b73d8aef6a500c5400b6d88de290f4c47
1,103
/* $HeadURL:: $ * $Id$ * * Copyright (c) 2006-2010 by Public Library of Science * http://plos.org * http://ambraproject.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
31.514286
98
0.666364
ee6d74cf96bc8adeb53b50b531d8f97e5d6649a5
993
package patterns.state; import java.util.Random; public class StateHasCoin extends State { private Random random = new Random(System.currentTimeMillis()); public StateHasCoin(GumballMachine machine) { super(machine); } @Override public void insertCoin() { throw new UnsupportedOpe...
26.837838
101
0.666667
26c69f0cdb2a2a7c92f3d954c27930c0e6e51240
4,790
/** * 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...
25.752688
120
0.647182
0a75765e4ab1edc3b4408a4366ef05394397098d
1,582
/* * Copyright 2014 8Kdata Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
28.25
99
0.687737
8fcdf698a1ddf0a29bf2cd3c1a77e36c44eac9cd
5,418
package com.cbzgame.mygamestarting; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Rect; import android.os.Build; import android.view.SurfaceView; import android.graphics.Paint; import android.view.SurfaceH...
30.96
195
0.517719
177f92bae757416cf6f7a51ea2bfeac226bcd97b
3,432
package com.comverse.timesheet.web.controller; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestBody; import org.springframework....
38.561798
172
0.783508
628d633c687003659b68466f48d1c84d87f09d0c
2,059
package rescuecore2.messages.control; import rescuecore2.messages.Control; import rescuecore2.messages.AbstractMessage; import rescuecore2.messages.components.IntComponent; import rescuecore2.messages.components.StringComponent; import java.io.InputStream; import java.io.IOException; /** A message for connecting ...
27.092105
68
0.657115
14d9a43050bb1e49db9a284def774193798e7916
5,947
package crest.siamese.helpers; import java.io.*; public class LicenseExtractor { public static String extractLicense(String fileName) { StringBuilder sbuilder = new StringBuilder(); try (BufferedReader reader = new BufferedReader(new FileReader(fileName))) { String line = null; ...
39.125
155
0.537918
fed44a13efb7f5b37d1bc860b2b285e163c0d212
505
package java_programs.strings; import java.util.Scanner; public class SentenceCase { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter a string: "); String str = " " + sc.nextLine().toLowerCase().trim(); for (int i = 0; i < str.length() - 1; i++)...
26.578947
67
0.586139
3fd31012165044797db56f5ed6d4860d441ad0e7
29,600
/** * Copyright (c) 2013, 2015 ControlsFX * 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 * notice, this list of condi...
33.983927
122
0.548074
b0839808c7d02bba0289149ebed7892c0cd6107e
345
package com.xvolve.basics; public class StringLength { public static void main(String[] args) { // create a string String greet = "Hello! World"; System.out.println("String: " + greet); // get the length of greet int length = greet.length(); System.out.println("Leng...
24.642857
48
0.588406
7262aebafef48df75c069b6b1342969e2f541dcd
1,525
package collections._13_complexdatastructures; import java.util.*; public class App { public static void main(String[] args) { // Simple DS which needs to be converted into an apt complex structure String[] vehicles = {"ambulance", "helicopter", "lifeboat"}; String[][] drivers = { ...
32.446809
97
0.579016
91bcd35241acfe8cd154930dd673f4672e806a9e
353
package com.taras.chornyi.bpel.connectors; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SOAPConnectorsApplication { public static void main(String[] args) { new SpringApplication(SOAPConnectorsA...
27.153846
69
0.8017
76de7a2936aec527653897af218af1fb4b525d52
421
package org.knowm.xchange.gemini.v1.service; import java.util.Base64; import si.mazi.rescu.ParamsDigest; import si.mazi.rescu.RestInvocation; public class GeminiPayloadDigest implements ParamsDigest { @Override public synchronized String digestParams(RestInvocation restInvocation) { String postBody = restIn...
26.3125
74
0.795724
2220f9965b85f46dd41fc54af1d8b0e31b7c9e9b
3,185
package com.xxGameAssistant.pao; import android.app.Application; import android.os.Handler; import com.xxGameAssistant.utility.NativeFileInstaller; import java.util.ArrayList; public class MTApplication extends Application { public static ArrayList<String> mChannelString = null; public static String mCheckUpd...
36.609195
347
0.659027
556b0da99318f191cc81fbf581ef4f814621349c
2,711
/* * Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
33.8875
120
0.62228
f64f6dcd98a90c944dfba33f2308da8fb07bbf5b
3,560
/** * @Title: WxMsgUtils.java * @Package com.yitong.weixin.utils * @Description: TODO * @author zpz * @date 2014年4月1日 上午9:22:51 * @version V1.0 */ package com.yitong.weixin.modules.wechat.utils; /** * @ClassName: WxMsgUtils * @Description: 微信消息拼接 * @author zpz * @date 2014年4月1日 上午9:22:51 * *...
35.247525
113
0.632584
8ec1b48ec505d666ce3dfa2436b33bef5a1489ad
913
package org.hl7.fhir.convertors.conv10_40.datatypes10_40.primitivetypes10_40; import org.hl7.fhir.convertors.conv10_40.datatypes10_40.Element10_40; import org.hl7.fhir.exceptions.FHIRException; public class Uuid10_40 { public static org.hl7.fhir.r4.model.UuidType convertUuid(org.hl7.fhir.dstu2.model.UuidType src)...
48.052632
159
0.746988
58478ef06abf2c79110bd9df9bd5fa144c705ed6
818
package com.hzfc.management.jsbsb.modules.testOnlineTaxiJiJia.dto.push; import lombok.Data; import java.util.List; /** */ @Data public class PushLoopBatchRequest { private Integer acceptIdentity; private List<String> acceptIds; private Integer messageType; private String messageBody; privat...
22.722222
159
0.717604
48a06f5cd7c35ad3058118b7f623e3b78b0dbe61
2,415
package org.codingmatters.poom.jobs.runner.service.manager.flow; import org.codingmatters.poomjobs.api.types.Job; import org.codingmatters.poomjobs.api.types.job.Status; import org.junit.Test; import java.util.*; import java.util.concurrent.ConcurrentLinkedQueue; import static org.hamcrest.MatcherAssert.assertThat; ...
35
123
0.608282
a10aa2cae1b5b97b4fe000a22c4dfaf95f4f8dfe
1,408
package com.drippz.util; import java.sql.Connection; import java.sql.SQLException; import java.util.Collections; import java.util.LinkedList; import java.util.List; import javax.sql.DataSource; import com.drippz.connections.DScreator; public class Configuration { private List<MetaModel<Class<?>>> metaModelList; ...
20.405797
79
0.722301
52246bba46135af22a226aea912fc199b4a43a65
1,941
/*** * cTreeMapLL.java * copyright (c) 2011 by andrei borac ***/ package zs42.mass; import static zs42.mass.Static.*; public final class cTreeMapLL<K, V> extends rTreeMapLL<K, V> { final int arrL; final K[] arrK; final V[] arrV; public static final cTreeMapLL EMPTY = new cTreeMapLL(); /*** * pa...
20.431579
100
0.563112
de36ea3f044102775e43fe3b11280756fcfc677e
3,711
package inc.trilokia.popularmovies_2.ui.activities; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.FragmentManager; import android.support.v4.content.ContextCompat; import android.support.v...
33.736364
84
0.729992
a3c3e8e701187ddb7f8b4c9aafe2acddbd463ab3
196
package com.google.zxing.c.a; // compiled from: Pair.java final class d extends b { final c c; int d; d(int i, int i2, c cVar) { super(i, i2); this.c = cVar; } }
15.076923
30
0.535714
09c8f2b6fa79291cc5925a1b37df6a5870767b7d
2,640
package com.byteframework.base.user.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import lombok.EqualsAndHashCode; import lom...
16.097561
65
0.698485
987011809567b4de934bf161d187a81d7e554280
795
package com.llsoft.entestserver; import java.util.Calendar; public class TimeUtils { public static long getCurrentTime() { return Calendar.getInstance().getTime().getTime(); } public static long calDelay(int hour, int minute, int second) { Calendar calendar = Calendar.getInstance(); ...
21.486486
66
0.662893
459052ac475e83f51d940ef10b92a6bf756a2e36
1,587
/** * Copyright 2012 2Lines Software 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 agree...
26.016393
94
0.708255
b832800fa4acd498c0fb76f1a69ae8feec22397d
1,412
package buscaminas; public class Celda { private boolean visible; private EstadoCelda estado; private int cantAdyacentes; public Celda(boolean visible, EstadoCelda estado, int cantAdyacentes){ this.visible = visible; this.estado = estado; this.cantAdyacentes = cantAdyacentes; } public Celda(){ ...
26.641509
75
0.63881
70e44df5776097ac29477c620a736ebb9b1ccd75
192
package com.digitfaber.messaging.example.spring; import lombok.Value; @Value(staticConstructor = "of") public class Message { String publishingMethod; Integer processingTimeInMs; }
17.454545
48
0.770833
73f9eb457848b66cf099be99435afe449f0f7b80
316
package org.jspringbot.keyword.expression.plugin; public class VariableProviderRegistryBean { private VariableProvider handler; public VariableProviderRegistryBean(VariableProvider handler) { this.handler = handler; } public VariableProvider getHandler() { return handler; } }
22.571429
67
0.734177
b6b82643f3ecd58adef8a7b2ab63ffda8a6953fe
6,977
package org.ml4j.nn.axons; import org.junit.Assert; import org.junit.Test; public class AxonsTypeTest { @Test public void testGetBaseType() { AxonsBaseType axonsBaseType = AxonsBaseType.CONVOLUTIONAL; AxonsType axonsType = AxonsType.getBaseType(axonsBaseType); Assert.assertNotNull(axonsType); Assert.asser...
48.451389
122
0.801061
75c95a923fa5756dc53ff9d39122693de297c181
25,039
/* * Copyright 2019 liaochong * * 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 writin...
37.652632
171
0.550861
3fd1aa0c81edc7f34ef775a5eccd27942a8cae16
1,169
package com.snk.property.mapper; import java.util.List; import com.snk.property.domain.ProRepairProject; /** * 报修项目Mapper接口 * * @author snk * @date 2021-11-05 */ public interface ProRepairProjectMapper { /** * 查询报修项目 * * @param id 报修项目ID * @return 报修项目 */ public ProRepairProje...
19.163934
96
0.615056
84ac2b5b8ef73689aa74f4d900c9b2a3884dda89
2,811
package com.cse545.hospitalSystem.models; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.J...
22.669355
107
0.757382
bbf6585325634147f2184e09a9781d58b802e9f0
354
package com.app.edit.response.coverletter; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; import java.util.List; @AllArgsConstructor @Getter @Setter public class GetCoverLettersForLimitScrollRes { private List<GetCoverLettersRes> coverLetters; private Long totalCoverLetterCoun...
19.666667
50
0.810734
559a11486c9a1efaeebef91f7c8f66a53943402a
1,507
package ru.mail.polis.psaer.dto; import org.jetbrains.annotations.NotNull; public class ReplicaAnswerResultDTO { @NotNull private final String replicaHost; private boolean workingReplica = false; private boolean notFound = false; private boolean successOperation = false; private boolean badA...
20.364865
64
0.642999