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
3209f9cee004adfebd350662e2c7062a904cafcb
3,798
package com.interview.codechef.ccdsap_2.leetcode.linkedlist.medium; public class AddTwoNumbers { //https://leetcode.com/problems/add-two-numbers/ public static void main( String[] args ) { PartitionLinkedList.ListNode head = null; AddTwoNumbers ll = new AddTwoNumbers(); head = ll.ad...
28.556391
130
0.567141
947262af3a43ca856c4f64c2c2d33e17ab00e33d
251
package com.warlodya.telegavladimirbot.repositories; import com.warlodya.telegavladimirbot.models.Question; import org.springframework.data.repository.CrudRepository; public interface QuestionRepository extends CrudRepository<Question, Integer> { }
31.375
79
0.860558
fab73b65d7070e31d10a05733b6f62bb50935b5d
2,471
/* * Copyright (c) 2017-20xx Andrey D. Shindarev (ashindarev@gmail.com) * This program is made available under the terms of the BSD 3-Clause License. */ package com.github.sftwnd.crayfish.common.json; import com.fasterxml.jackson.core.type.TypeReference; import org.junit.jupiter.api.Test; import java.io.IOExceptio...
49.42
147
0.726427
98d044d54046eba6c4ada2982d6a0129de16b39c
7,017
package ir.nimdor.osoolproject; // DORSA import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; public class IF extends Component { PipeReg prev, n...
31.466368
133
0.528431
c93c00f947387742702cc5b718f1dbafb11d0169
2,847
package com.dcits.business.message.bean; import java.io.Serializable; import org.apache.struts2.json.annotations.JSON; // default package /** * 接口自动化 * 接口参数信息表 * * @author xuwangcheng * @version 1.0.0.0,2017.2.13 */ public class Parameter implements Serializable { private static final long serialVersio...
18.367742
116
0.637864
0aa07e6cb70de26d07148b5867e78ed7ee23adbe
3,854
package com.foxinmy.weixin4j.api; import java.util.Map; import com.alibaba.fastjson.TypeReference; import com.foxinmy.weixin4j.exception.WeixinException; import com.foxinmy.weixin4j.http.weixin.WeixinResponse; import com.foxinmy.weixin4j.model.WeixinPayAccount; import com.foxinmy.weixin4j.payment.coupon.CouponDetail;...
31.590164
98
0.708614
7bc6583f868717ad64e1df1b0c83f2465a55c49e
32,720
package com.google.c.b; import java.util.ArrayList; import java.util.List; final class j { private final List<int[]> a = new ArrayList(); private final List<String> b = new ArrayList(); /* Error */ private void a() { // Byte code: // 0: aload_0 // 1: monitorenter // 2: aload_0 /...
28.802817
99
0.520079
8b5975dad9a2fd41eedaa96064c607afa92d9686
1,642
package ua.meugen.horoscopes.controllers; import play.mvc.BodyParser; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Results; import ua.meugen.horoscopes.actions.actions.application.ApplicationAssetsAction; import ua.meugen.horoscopes.actions.actions.application.ApplicationCrashAction; import ua.m...
29.321429
105
0.76553
06f745043d992b61f1b4af4f73fcff82870f8d42
2,627
/* * Copyright 2017 Alexey Nesterov * * 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...
37
126
0.738485
322d62ea462401f2052067a1511289a829a2c336
9,447
package com.agri.monitor.service.datamanage; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.userm...
35.25
121
0.669842
20f8b6b1fae67d0468268678cc15480c0255c3bf
9,196
package org.sirix.fs; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.base.Objects; import com.google.common.base.Optional; import com.google.common.collect.Maps; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.n...
32.609929
109
0.685733
80abb55a78401bd531b43b72657236bef759bd6f
1,874
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
36.745098
124
0.702775
1b74570367f50214993b61c46db8344bf6215da0
2,055
package com.jvgme.spelltoolkit.core.android; import com.jvgme.spelltoolkit.core.Plugin; import com.jvgme.spelltoolkit.core.PluginExecutor; import com.jvgme.spelltoolkit.core.PluginManager; import com.jvgme.spelltoolkit.core.android.widget.LogWindowImpl; import com.jvgme.spelltoolkit.core.server.PluginServer; import co...
32.109375
89
0.641363
cd30b114fbe4e3f09a76c924628156fc6a3630a4
8,113
package de.webis.trec_dl_21_ltr.lightgbm; import java.io.FileWriter; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import jav...
34.377119
153
0.682362
fa0bcf33b32b8f9dd8bbbfabc7e3f11df8132ae1
1,508
package no.finn.unleash; import java.util.Collections; import java.util.List; import no.finn.unleash.variant.VariantDefinition; import static java.util.Collections.emptyList; public final class FeatureToggle { private final String name; private final boolean enabled; private final List<ActivationStrateg...
26.45614
127
0.610743
396cba2001cd1429169826dfe4f4c3b314d0ac08
1,560
package com.github.akuma1.aws.lambda.pdf.merge; import com.amazonaws.services.lambda.runtime.ClientContext; import com.amazonaws.services.lambda.runtime.CognitoIdentity; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; public class TestContext implements...
20
61
0.63141
978a68e8768655dbc97ef975798be48495b39b74
7,890
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.servicefabric.v2018_02_01; import java.util.Map;...
54.413793
236
0.753232
0dd208b2bf7d4d4804746de2cd5eb75aa6f3e629
730
package com.nf.bookstore1.test; import com.nf.bookstore1.session.MySession; import com.nf.bookstore1.session.SessionFactory; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http...
33.181818
115
0.794521
b2ed641a363f8843a7e856ab52ec28d0b7abfb76
2,713
package mx.overcode.krynapsislibrary.util; import java.text.Normalizer; public class CryptographyHelpers { private MatrixHelpers matrixHelpers = new MatrixHelpers(); private void asignarNumerosLetras(char valores[], int modulo, String texto, int textoNumeros[]){ texto = Normalizer.normalize(texto, ...
34.341772
121
0.551788
d64ce97d7ba56aaf4d695f263fb11a30ff23dcfc
2,667
package ServiceRequestor; import com.sun.istack.logging.Logger; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; public class ServiceCaller implements IServiceCaller { /** * the logger */ private Logger logger = Logger.getLogger(ServiceCaller.class); /** ...
30.655172
104
0.67829
36b32154d57dc6f3a4a7c71b98bcf0018afcf5dc
206,938
import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.net.Socket; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mappi...
34.622386
450
0.605254
461dc50b269d96059c4e84e48ed69aebf3ee6e19
1,015
package scot.gov.www.components; import org.hippoecm.hst.core.component.HstRequest; import org.hippoecm.hst.core.component.HstResponse; import org.hippoecm.hst.core.request.ComponentConfiguration; import org.onehippo.forge.breadcrumb.components.BreadcrumbComponent; import org.onehippo.forge.breadcrumb.components.Bread...
35
107
0.803941
273761609bf665f80f06460bd3678f13f6f63abb
7,902
package cn.featherfly.common.lang; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.function.BiConsumer; /** * <p> * 集合类工具 * </p> * . * ...
27.726316
130
0.51063
ef5d406c14a03d529a6708495145fb607823e92b
2,627
package com.example.leonardo.watermeter.adapter; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.example.leonardo.watermeter.R; import com...
35.986301
243
0.701941
bfe32d40a00488b00eb40c7efbbd08c6cea974a7
1,035
package com.example.hxl.travel.presenter.contract; import android.content.Context; import com.example.hxl.travel.base.BasePresenter; import com.example.hxl.travel.base.BaseView; import com.example.hxl.travel.model.bean.VisitorGroups; import java.util.List; /** * Created by hxl on 2017/6/9 at haiChou. * 群组 */ pub...
25.875
55
0.645411
2ced7bfa1dbd6ab41cebf1f279368407669ba33a
1,781
package thut.core.client.render.model; import java.util.HashMap; import java.util.List; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.renderer.IRenderTypeBuffer; import net.minecraft.util.ResourceLocation; import thut.api.maths.Vector3; import thut.api.maths.Vector4; import thut.core.clie...
21.202381
93
0.725997
2d108017a45a742155d3d3b6c466e79d76b10c32
905
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.dingtalkconference_1_0.models; import com.aliyun.tea.*; public class StopCloudRecordResponseBody extends TeaModel { // 返回码 @NameInMap("code") public String code; // 是否成功 @NameInMap("cause") public String cause; pub...
24.459459
100
0.666298
e7ddfe52197cae6dca1f38b80ed5e479b7129ea7
1,194
package com.virginiatech.slapdash.slapdash.HelperClasses; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; /** * Created by nima on 10/19/16. */ public class EventObjectId { private static EventObjectId instance = null; private final Str...
29.85
97
0.71943
1ac5d824bdc407db2f16c75667ce96902c343d7d
10,806
package ee.esport.spring2019.web.ticket; import ee.esport.spring2019.jooq.tables.records.*; import ee.esport.spring2019.web.ticket.domain.*; import lombok.RequiredArgsConstructor; import org.jooq.Condition; import org.jooq.DSLContext; import org.jooq.Record; import org.jooq.impl.DSL; import org.springframework.stereot...
49.342466
116
0.535721
dde4d36aaf42562b5d2a89435d1143f5a96519de
13,086
/* * Copyright 2015 Sean Bridges. 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 above copyright notice, this list of * condi...
34.803191
100
0.644888
440900f1d6f16bd866015309d8721307a073e905
4,130
package com.cyberlink.cosmetic.action.api.user; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.cyberlink.core.web.view.page.PageResult; import com.cyberlink.cosmetic.action.api.AbstractAction; import com.cyberlink.cosmetic.modules.us...
31.287879
145
0.67724
9adf6fdd0b1ff6cf309249e3ad69ff87357ef062
19,979
package de.renew.net; import de.renew.application.SimulatorPlugin; import de.renew.engine.common.SimulatorEventLogger; import de.renew.engine.common.StepIdentifier; import de.renew.engine.events.NetInstantiationException; import de.renew.engine.simulator.SimulationThreadPool; import de.renew.net.loading.NetLoader; ...
35.486679
108
0.597778
fa08536e0ad1fdc8b3b08f576e3b19e16c51684c
1,171
package com.refinedmods.refinedstorage.item.blockitem; import com.refinedmods.refinedstorage.RS; import com.refinedmods.refinedstorage.RSBlocks; import com.refinedmods.refinedstorage.render.Styles; import net.minecraft.client.util.ITooltipFlag; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; impor...
39.033333
185
0.797609
0491e4d0c6d325d31d113c7fe6e1b7f154341537
2,243
/* * Copyright 2014 Chris Banes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
32.042857
96
0.689255
86eeefa89596d3441188c5197dfb9424f17a5855
2,446
/* * Copyright (c) 2013 Villu Ruusmann */ package org.jpmml.rattle; import org.jpmml.evaluator.*; import org.junit.*; import static org.junit.Assert.*; public class ClassificationTest { @Test public void evaluateDecisionTreeIris() throws Exception { Batch batch = new RattleBatch("DecisionTree", "Iris"); a...
23.519231
67
0.744481
180f2bbb10bb7ebeb4fe493b2e4e14581bae4432
215
class Shit { void method(){ char[] a = str.toCharArray(); boolean flag = false; for(int i = 0 ; i < a.length ; i++){ if(a[i] > b.charAt(i)){ ans.append(-1); ans.append(""); flag = true; break; } } } }
14.333333
36
0.534884
357401cd50624c90b0de437c7635b01b8d7094aa
635
package frc.robot.mock; import frc.robot.interfaces.ZipChain; public class MockZipChain implements ZipChain { @Override public String getName() { return "MockZipChain"; } @Override public void enable() {} @Override public void disable() {} @Override public void execut...
15.487805
52
0.615748
eb0129cc675d7cdfa23b85b80c5ae1bb5b1fb6ad
52
package org.w3c.dom.events; public class Toto { }
8.666667
27
0.711538
ccefb5325352a13e5772ad8cd95783b4b7cc2f19
40,687
/* The following code was generated by JFlex 1.4.1 on 03/03/14 22:14 */ /* * Generated on 3/3/14 10:14 PM */ package net.menthor.ocl.editor; import java.io.*; import javax.swing.text.Segment; import org.fife.ui.rsyntaxtextarea.*; /** * @author John Guerson */ public class OCLSyntaxHighlight e...
35.135579
175
0.525033
4b478546bd58fcb58406ffd765286ab8e08bb277
2,865
package com.bstu.api.hodgepodge.openweather.controller; import static com.bstu.api.hodgepodge.openweather.constant.OpenWeatherApiMappingConstant.CALL_BY_COORDINATE; import static com.bstu.api.hodgepodge.openweather.constant.OpenWeatherApiMappingConstant.CALL_BY_ID; import static com.bstu.api.hodgepodge.openweather.con...
55.096154
112
0.849564
c9162d8f1bcdf9682fb93f801799211c6cdb17e8
9,506
package reactivefeign.cloud; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.netflix.hystrix.HystrixCircuitBreaker; import com.netflix.hystrix.HystrixCommandGroupKey; import com.netflix.hystrix.HystrixCommandKey; import com.netflix.hystrix.HystrixCommandProperties; import com.netflix.hystrix.Hyst...
41.330435
116
0.642016
43da750f03dcbf3cda5c76149048b5ef6b0a16ee
848
package P03_HeroRepository; public class Item { private int strength; private int agility; private int intelligence; public Item(int strength, int agility, int intelligence) { this.strength = strength; this.agility = agility; this.intelligence = intelligence; } public ...
21.74359
103
0.571934
f5e56a091364b5e90d8ed60e466b66bf8eea60c4
889
public class User { private String name; private boolean isHelper; private int range; private String comment; public User(String name, boolean isHelper, int range, String comment) { this.name = name; this.isHelper = isHelper; this.range = range; this.comment = commen...
19.755556
75
0.584927
fadf8cd28b9ad260717314d72fd25aa03f405537
1,414
/* * Copyright(c) 2020-2020 * Author: xiaoweixiang */ package finished.no380; import java.util.ArrayList; import java.util.List; import java.util.Random; class RandomizedSet { List<Integer> list; /** * Initialize your data structure here. */ public RandomizedSet() { list = new Array...
23.966102
105
0.604668
f71fc97eda02bce93e7142ad3ccd0ae6028cecd1
7,268
package com.duolaimi.music.controller; import com.alibaba.fastjson.JSONObject; import com.duolaimi.music.constant.Constants; import com.duolaimi.music.service.impl.SingerServiceImpl; import com.duolaimi.music.domain.Singer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.conte...
36.893401
158
0.622455
20de2e1df8bfb2bae5e2df628c555c1a0b3f682b
2,097
package com.caoyx.rpc.core.serialization.impl.jdk; import com.caoyx.rpc.core.exception.CaoyxRpcException; import com.caoyx.rpc.core.extension.annotation.Implement; import com.caoyx.rpc.core.serialization.Serialization; import com.caoyx.rpc.core.serialization.SerializerType; import java.io.ByteArrayInputStream; impor...
29.125
104
0.568431
900faa2101f3e0232b9184d735f05f4b6da1e0af
844
package ru.croc.ctp.jxfw.wc.web.config; /** * Инофрмация об версиях приложений. * * @author Nosov Alexander * @since 1.1 */ public class SoftwareInfo { /** * Версия клинтских библиотек (javascript). */ public String clientLibVersion; /** * Версия серверной библиотеки. */ publi...
22.210526
94
0.638626
587b3a13e87a8ba7db8e0ec3318b0cac9dbc0351
18,204
package com.houseofdoyens.ultrahdplayer20; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.media.audiofx.Equalizer; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.Snackb...
36.190855
131
0.643705
0eb2eb457957ec895c468240a9661c75281930c6
28,366
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.divudi.bean.pharmacy; import com.divudi.bean.common.CommonController; import com.divudi.bean.common.SessionController; import com.divudi.bean.common.UtilityController; import com.divudi.data.BillClassType; i...
34.38303
224
0.66488
9b9a84366291bd97353198d521ad9d7d9c492fe8
1,096
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for PhysicalTransferType4Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleTyp...
19.571429
95
0.626825
6a152c7a1b7e46e9372cdbb328a6d79adc5fa0c0
591
package com.budwk.nb.cms.services.impl; import com.alibaba.dubbo.config.annotation.Service; import com.budwk.nb.cms.models.Cms_link_class; import com.budwk.nb.cms.services.CmsLinkClassService; import com.budwk.nb.commons.base.service.BaseServiceImpl; import org.nutz.dao.Dao; import org.nutz.ioc.loader.annotation.IocBe...
34.764706
109
0.80203
61f6b0fe6ec17975b2796f1f3ad5244e4abac6ff
4,309
/* * The MIT License * * Copyright (c) 2010, InfraDNA, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
43.969388
171
0.713159
3db85372b1b46a49dcacca64107d534ef89fb80a
2,752
// Copyright 2015 The Chromium 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.chromium.mojo.shell; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android....
32.761905
94
0.692951
8470d612ac2b16ec68c420283d3ba24d80cb0ec1
870
package com.helloqiaodan.firstweb; import static org.junit.Assert.*; import java.io.InputStream; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.junit.Before; import org.junit.Test; import com.fang.home....
24.857143
72
0.798851
351e5b366099bd759bf4712bdcaf6ac8d1532835
16,120
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
34.741379
113
0.663213
e4d2b4221640952bc97a10a4116231c995d67110
11,171
package com.huanchengfly.tieba.post.api.models.web; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.huanchengfly.tieba.post.api.adapters.PortraitAdapter; import com.huanchengfly.tieba.post.api.adapters.VideoInfoAdapter; import com.huanchengfly.tieba.post.ap...
24.660044
71
0.56772
72bff8005b07b5d6ec69f79fc79fc69e501b9216
17,225
package org.bouncycastle.jsse.provider; import java.security.GeneralSecurityException; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.SecureRandom; import java.util.Collections; import java.util.HashMap; import java.util.Map; import javax.net.ssl.KeyManager; import ja...
37.28355
127
0.662642
1145b32ba24d82e53f95edca934d542d2bbb8cb0
527
package org.xtuml.bp.welcome.test; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.xtuml.bp.core.Ooaofooa; import org.xtuml.bp.core.util.WorkspaceUtil; import org.junit.Ignore; import junit.framework.TestSuite; /** * Test all areas of the core */ @Ignore @RunWith(Suite.class...
20.269231
50
0.751423
b91f78d03d4f9728dcf58f41211accf6de78e8d0
708
package com.tga.rollcall.interceptor; import org.slf4j.MDC; import org.springframework.web.servlet.HandlerInterceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.UUID; /** * logID请求过程中的所有log都会带上这个业务ID * @Author */ public class LogIntercept...
28.32
90
0.731638
3307e042601a6ea7587380b6d42ff0ca8cca4094
661
package pl.codewise.canaveral.runner.testng; import pl.codewise.canaveral.core.runtime.RunnerConfiguration; import pl.codewise.canaveral.core.runtime.RunnerConfigurationProvider; public class MinimalRunnerConfigurationProvider implements RunnerConfigurationProvider { @Override public RunnerConfiguration conf...
36.722222
88
0.697428
319b233d416070a2f613d455d0e9f28a2b4bf24d
6,018
/* * Copyright 2014-present Facebook, 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...
36.920245
97
0.678631
fa053f2b725300074a3e9ec4397f32b429869a4f
1,708
/* Mazer5D: A Maze-Solving Game Copyright (C) 2008-2013 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package com.puttysoftware.mazer5d.objects; import com.puttysoftware.mazer5d.Mazer5D; import com.puttysoftware.mazer5d.assets.SoundGroup; import com.puttysoft...
30.5
108
0.714871
7e17acf9620feb67ceb8f5af089e9d87153262dd
2,420
/** * Copyright 2017 Comcast Cable Communications Management, 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 a...
28.139535
81
0.703719
013921a3a809411e4c30ba82c548cad5fd1f5b9f
1,794
/* * YvesHe: a project for test. * Copyright (c) 2016-present, www.yveshe.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
27.6
78
0.704571
1d848fc138bb7ffc630faff031e59a7086475203
2,669
package me.itaot.payment.front.beans; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; /** * Author:itaot * CreateTime:2018/7/7 20:54 * Email:itaot.me@gmail.com * Description:商户信息 */ @Entity @Table(name = "sp_merchant_info", schema...
18.929078
55
0.551517
54c90f2cf58c9d284e7820bb0f7e91bd96eb8a19
5,684
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * Licensed under the Broadleaf Fair Use License Agreement, Version 1.0 * (the "Fair Use License" located at http://license.broadleafcommerce.org/fair_use_license-1.0.txt) * unless the restrictions on use therein are...
46.590164
174
0.736101
d1f11808a52551fce2c8e1197fdab38a0f9c49be
553
package org.hitlabnz.sensor_fusion_demo; import android.hardware.Sensor; import android.hardware.SensorManager; /** * Class that tests availability of hardware sensors. * * @author Alex * */ public class HardwareChecker implements SensorChecker { boolean gyroscopeIsAvailable = false; public HardwareChecker...
19.75
69
0.76311
f5ad99507fefecbd1d06579607f3a233906a3427
938
package co.yixiang.mp.exam.dao; import co.yixiang.mp.exam.domain.Admin; import co.yixiang.mp.exam.domain.AdminExample; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository @Mapper public interface ...
27.588235
104
0.773987
14370e640e8e99e5185997a2cc38bbad5fae0ac4
481
package com.tinkerpop.gremlin.pipes.transform; import com.tinkerpop.blueprints.Element; import com.tinkerpop.blueprints.Index; import com.tinkerpop.pipes.transform.IdentityPipe; /** * @author Marko A. Rodriguez (http://markorodriguez.com) */ public class IndexElementsPipe<E extends Element> extends IdentityPipe<E> ...
30.0625
90
0.756757
7c0f8b45f0c0057811763f6c7c4beb56f53c7117
906
package com.cat.manage.controller.web; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariabl...
29.225806
63
0.780353
f6abbf65fe60783820c51840b155db7db6a823f6
653
package com.galaxy.cypher.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; /** * @author: 姚皓 * @date: 2019/7/16 11:38 * @description: */ @Configuration @ConfigurationProperties(prefix = "cypher") public class CypherPro...
20.40625
75
0.75804
fc5a57ec32b3cf363c698fdadf528a7ba466806a
1,639
package hackerrank.warmupchallenges; import static java.util.stream.Collectors.toList; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.List; import java.util.stream.Stream;...
26.868852
96
0.691275
8e85cbab393f216c9f1d11d0661a00a187977362
9,571
/* * 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 ...
37.83004
120
0.680702
e4bb35061c3130d1dc79c56afffeb807b523940d
2,027
/* * Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose * * 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...
22.522222
90
0.721263
ed0844546bb2d673ea9cc990151df48f4fb52284
2,056
package com.lcp.blog.controller; import com.lcp.blog.common.utils.AppException; import com.lcp.blog.common.utils.Result; import com.lcp.blog.entity.Article; import com.lcp.blog.entity.form.ArticleForm; import com.lcp.blog.entity.form.group.ModifyArticle; import com.lcp.blog.service.ArticleService; import lombok.Requir...
32.634921
81
0.704767
6e1bd5e5745ff4025062a90a8cb112042adf8661
11,752
/* * copyright (c) 2015ff IST GmbH Dresden, Germany - https://www.ist-software.com * * This software may be modified and distributed under the terms of the MIT license. */ package com.composum.prototype.pages.test.model.search; import com.composum.pages.commons.model.Element; import com.composum.pages.commons.serv...
38.28013
118
0.640657
433a99903fdf39c04f0464be69982fdd3c8cc986
889
//,temp,ResourceManagerImpl.java,2903,2920,temp,ResourceManagerImpl.java,2764,2784 //,3 public class xxx { @Override public HostStats getHostStatistics(final long hostId) { final Answer answer = _agentMgr.easySend(hostId, new GetHostStatsCommand(_hostDao.findById(hostId).getGuid(), _hostDao.findById(hos...
34.192308
164
0.607424
416bbfa10c5863e70003370cc36e96ed5ed75e5c
1,712
package com.esri.soap.mapservice; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * &lt;p&gt;Java class for esriMergePolicyType. * * &lt;p&gt;The following schema fragment specifies the expected content contained within this ...
24.811594
101
0.652453
ee2eba1f44b63b542fbcc4fce9e98f1b05760047
754
package org.springframework.instrument.classloading; import org.springframework.core.OverridingClassLoader; import org.springframework.lang.Nullable; /** * ClassLoader that can be used to load classes without bringing them * into the parent loader. Intended to support JPA "temp class loader" * requirement, but n...
23.5625
71
0.771883
75f07ca48fdd5a2e9bee5069b4668745efbbeaa5
3,262
/* * Copyright 2018 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
37.494253
99
0.736665
a69e3f700da99b845803cf91e7b8d7e1e82f4c9e
803
package com.itau.ecom.entity; import javax.persistence.Id; import org.springframework.http.HttpStatus; import com.itau.ecom.exception.ApiErroException; public enum Perfil { ADMIN(1, "ROLE_ADMIN"), CLIENTE(2, "ROLE_CLIENTE"), OUTROS(3, "ROLE_OUTROS"); @Id private Integer codigo; private String descricao;...
17.085106
88
0.687422
ac2bd9bc61dd54b5d8e8352a42e5b2798550ba7c
1,004
package com.java.tech.serviceTest; import com.java.tech.AbstractSpringContextTest; import com.java.tech.model.Member; import com.java.tech.model.Order; import com.java.tech.model.request.MemberRequest; import com.java.tech.model.response.MemberResponse; import com.java.tech.service.MemberService; import org.junit.Befo...
29.529412
74
0.724104
7f95bb157c316481d85a2133d1dc7544a7694806
7,636
// ********************************************************************** // // <copyright> // // BBN Technologies // 10 Moulton Street // Cambridge, MA 02138 // (617) 873-8000 // // Copyright (C) BBNT Solutions LLC. All rights reserved. // // </copyright> // ***************************************************...
33.787611
106
0.554741
c686f72ea2bee56d32dfa25f34331d0598766547
2,504
/* * 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 ...
32.519481
83
0.670927
adb08dbda6f334bde4ebcc6d76d79f686574fd13
1,985
package org.egov.wf.service; import org.egov.common.contract.request.RequestInfo; import org.egov.wf.config.WorkflowConfig; import org.egov.wf.producer.Producer; import org.egov.wf.web.models.ProcessInstance; import org.egov.wf.web.models.ProcessInstanceRequest; import org.egov.wf.web.models.ProcessStateAndAction; imp...
33.083333
118
0.75063
092fdec6468d7686a9cf0a63e3deaa742064011f
8,022
package com.cyc.baseclient.cycobject; import com.cyc.baseclient.xml.XMLWriter; import com.cyc.baseclient.xml.TextUtil; import com.cyc.baseclient.xml.XMLStringWriter; import com.cyc.base.cycobject.CycVariableI; import java.io.*; import com.cyc.baseclient.api.SubLAPIHelper; /** * Provides the behavior and attributes o...
28.856115
96
0.646722
b0ce80c14bf11884dc0ab5aba735207ac7c6cc63
28,906
/******************************************************************************* * Copyright (c) 2000, 2017 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
35.863524
130
0.587836
f3a51fd0476bfb43237f098f36cd50ff520bb9f8
2,416
package org.quickstart.javase.jdk.juc.aqs; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.AbstractQueuedSynchronizer; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; /** * <p>自定义互斥锁 </p > * * @author yangzl * @date 2020/8/30 23:10 * @version v1.0 */ ...
24.907216
82
0.58154
ffe6b3b7a35009ebfaa795d8c24b0a86b691c756
555
package org.jeecg.modules.nuoze.nz.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.jeecg.modules.nuoze.nz.entity.NzProTrace; import org.jeecg.modules.nuoze.nz.entity.NzProdBatch; import com.baomidou.mybatisplus.extension.servic...
29.210526
68
0.790991
f9e849adcaeb22a1be6d2da5161838181ebf58a0
220
package com.zhonghe.shiangou.data.bean; import java.io.Serializable; /** * Date: 2017/7/14. * Author: whyang */ public class BaseBean implements Serializable { private static final long serialVersionUID = 1L; }
18.333333
52
0.731818
224f49d4c9f161f4afdf92838e559f14abd7b64c
1,242
/* Copyright (C) 2013-2018 Expedia 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 in wri...
32.684211
82
0.738325
b82e55eb98749deb817cb8462eb96bb423677e6e
426
package io.fossa.maven; public class Analysis { public String Name; public String Type; public String Manifest; public Build Build; public static class Build { public String Artifact; public String Context; public Boolean Succeeded; public String[] Imports; public Dependency[] Dependenci...
19.363636
37
0.706573
f2b5833026c18851c025eee2fb96f924b6fcf93d
2,776
package github.dandeduck.units.complex; import github.dandeduck.units.values.Acceleration; import github.dandeduck.units.values.Jerk; import github.dandeduck.units.values.Velocity; import java.util.Objects; public class MotionState { private final Velocity velocity; private final Acceleration acceleration; ...
32.658824
155
0.700288
6877f84ddeb4cc8ad3df67a727e5b37be625d9f9
8,820
package org.eclipse.paho.client.mqttv3.internal.websocket; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URI; import java.net.URISyntaxException; import java.security.Mess...
39.72973
145
0.66678
0fcf2df18cabfa5fab1f20261336a78138fdf460
7,591
package com.airsltd.aga.ranking.email; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Properties; import javax.mail.Address; import javax.mail.BodyPart; imp...
29.30888
149
0.713081
5e185b847fa0f22702bf88eff9d982178a275edb
3,209
/******************************************************************************* * Copyright Duke Comprehensive Cancer Center and SemanticBits * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/c3pr/LICENSE.txt for details. **********************************************...
33.778947
99
0.715488
0da5bc8867a05827ffec42170abd19d523afa142
4,777
/*L * Copyright Northrop Grumman Information Technology. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/nci-mapping-tool/LICENSE.txt for details. */ package gov.nih.nci.evs.browser.utils; import gov.nih.nci.evs.browser.properties.*; import java.util.*; im...
34.868613
79
0.583002
da7ef69a916b9c025c8f580d30f622667a1ab8ca
1,785
/* Copyright 2017 Zutubi 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
24.791667
91
0.689076
bb59a1841ec59836c588f1389f8f18c75c2243c4
156
package com.airavat.panya.db.dao; import com.airavat.panya.db.entities.BuyerProfile; public interface BuyerProfileDao extends PanyaDao<BuyerProfile> { }
19.5
65
0.814103
f7b8b663c151c70ffee68e4c76d65be14d1b5223
10,685
/* * This program 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 version. * * This program is distributed in the hope that it w...
28.569519
93
0.651568