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
1c20270990bed25204ea04ceacdaf780cb078deb
5,219
package com.aliyun.openservices.log.unittest; /** * SlsClientData defines the test data used by the unittest * * @author bozhi.ch * */ public class SlsClientTestData { public static final String TEST_ACCESS_KEY = ""; public static final String TEST_ACCESS_KEY_ID = ""; public static final String TEST_CATEGOR...
49.704762
123
0.647634
c9aed934f9dfa372871299afc132b34aecca39ff
8,570
package uk.ac.lincoln.games.nlfs.logic; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Random; import uk.ac.lincoln.games.nlfs.Assets; import uk.ac.lincoln.games.nlfs.logic.Footballer.Position; /** * Leagues have many teams. Teams have ...
32.339623
229
0.645274
bbc5a271484d77b5fc4e9ffc3410fa17ebb5865b
43,689
/* Derby - Class org.apache.derby.impl.sql.compile.GroupByNode 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 u...
32.410237
119
0.659892
b5f9d108107497f92a1de823d9ad83edab054587
15,499
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
51.491694
157
0.694238
14c9c7f4eb63cc2621e6097c96ad51cd4e733689
7,422
/*- * ============LICENSE_START======================================================= * sdc-distribution-client * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * Modifications copyright (C) 2020 Nokia. All rig...
41.696629
167
0.664915
52d299f3c4303fdc2064ad6127a350ea58dd70dc
7,189
package br.ufsc.labsec.signature.conformanceVerifier.xades; import java.security.cert.X509Certificate; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.SignatureAttribute; import br.ufsc.labsec.signature.conformanceVerifier....
44.652174
120
0.82195
4bf52765f21b5cf532d83344382b86be2639b9c4
364
package com.bettehem.virkia_alppi_freestyle; import android.app.Activity; import android.os.Bundle; /** * Created by chris on 2.1.2015. */ public class TreeniAikataulu extends Activity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCon...
21.411765
56
0.736264
1dec4975ae6ae7b35841f13925388e0606d7d9b7
17,206
package cyclops.reactive; import com.oath.cyclops.hkt.DataWitness.io; import com.oath.cyclops.hkt.Higher; import com.oath.cyclops.types.foldable.To; import cyclops.control.Future; import cyclops.control.Try; import cyclops.data.Seq; import cyclops.data.tuple.Tuple; import cyclops.data.tuple.Tuple2; import cyclops.data...
35.330595
186
0.466291
c185cf257936226a69ec3f67d714711de67af7e3
2,098
// ---------------------------------------------------------------------- // <copyright file="RawSubmitResultContainer.java" company="Expensify"> // (c) Copyright Expensify. http://www.expensify.com // This source is subject to the Microsoft Public License (Ms-PL) // Please see license.txt on https://github...
35.559322
118
0.684461
57e7356c4eba99b1f24ba30bc826ef2be370faae
543
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.utils.statistics; import java.util.Random; /** * @author heraldkllapi */ public class Poisson { private final double L; private final Random rand; public Poisson(double lambda, int seed) { L = Math.pow(Math.E, -lambda); ...
18.1
45
0.530387
76b06fb7bc4d14009468778946e71d2777ccae79
1,238
package com.ecar.park.ws.cli; /** * Client application. * * Looks for parks using UDDI and arguments provided */ public class ParkClientApp { public static void main(String[] args) throws Exception { // Check arguments. if (args.length == 0) { System.err.println("Argument(s) missing!"); System.err.p...
25.791667
100
0.655089
547b4b6be3fbcec96b4b99e470ba2be83f84070c
12,238
package com.redhat.mercury.operator.controller; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.redhat.mercury.operator.KafkaServiceEventSource; import com.redhat.mercury.operator.model.ServiceDomainCluster; import com.redhat.mercury.operator.model.ServiceDomainCluster...
49.148594
188
0.63695
3a0afedfa9fb4e379109b0728541050ca79def91
12,544
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
37.112426
152
0.625478
14159b475f2256fca794182c16fe5ed1807b50d9
4,502
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.support.pac4j.web.flow.DelegatedClientAuthenticationAction; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import org.apereo.cas.web.support.WebUtils; import org.springframewo...
51.159091
131
0.750333
5d71e594db4a7efa608ec6b87cf126e944322820
3,183
/* * Copyright 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 applica...
34.978022
161
0.665724
15b3b270242d7f0df79612e12f2b262f9b0ae062
318
package exceptions; import java.sql.SQLException; import java.util.ResourceBundle; public class DbException extends SQLException { public DbException(String errorMessage, Throwable cause) { super(errorMessage, cause); } ResourceBundle bundle = ResourceBundle.getBundle("bundles.exceptions"); }
22.714286
75
0.761006
272fac03805e42b1c7a5c61e0360fb4d9de05a32
4,399
package com.colintheshots.rxretrofitmashup.network; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import com.colintheshots.rxretrofitmashup.models.Gist; import com.colintheshots.rxretrofitmashup.models.GistDetail; import java.util.List; import java.u...
32.109489
122
0.669925
0aa759b645feb1b1f9c2be461a7f07c0f7488963
1,101
package com.ajay.navigationdrawer.utils; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import com.ajay.navigationdrawer.widget.AnimNavigationDrawer; public class ViewFactory implements LayoutInflater.Factory { private static Vi...
31.457143
85
0.613079
3f450580eefb8e117db35c14db8d5e89a2171c1c
2,368
package com.example.demo.rocketmq.Test1; import org.apache.rocketmq.client.producer.LocalTransactionState; import org.apache.rocketmq.client.producer.TransactionListener; import org.apache.rocketmq.client.producer.TransactionMQProducer; import org.apache.rocketmq.client.producer.TransactionSendResult; import org.apach...
21.925926
125
0.665541
1759010bf28476e86163820e95b17bc9959e3b61
3,557
package com.huaweicloud.sdk.antiddos.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; /** 连接数限制列表 */ public class CleanLimitDict { @JsonInclude(JsonInclude.Include.NON_NULL) @JsonProperty(value = "cleaning_access_p...
31.477876
112
0.686815
f6acf9ab8a70d084321b41af6ebec275c2793295
1,881
/* Licensed under MIT 2021-2022. */ package edu.kit.kastel.mcse.ardoco.core.textextraction.extractors; import java.util.Map; import edu.kit.kastel.informalin.framework.configuration.Configurable; import edu.kit.kastel.mcse.ardoco.core.api.agent.AbstractExtractor; import edu.kit.kastel.mcse.ardoco.core.api.agent.TextA...
33
116
0.721425
ad3acbd380efa6b4a9a76631e9d97e45dfcdad89
2,778
package uk.gov.defra.plants.applicationform.mapper; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import uk.gov.defra.plants.applicationform.model.PersistentPackerDetails; import u...
28.346939
90
0.740101
56fd5cef2c0219d28e775d3c677f7266d21329cf
75
package intro.aop.music; public interface Musician { void play(); }
9.375
27
0.68
d1247d8b7dca53c97220a6dc4991eafba1e5fa47
1,308
package com.codepath.apps.restclienttemplate.models; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.parceler.Parcel; import java.util.ArrayList; import java.util.List; // our goal is to turn a JSON object that represents a tweet, into a java object @Parcel public cl...
25.647059
87
0.681957
9dc22ea39f15391da537a6e569760c48bf3ede94
6,375
/** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. /** * Copyright © 2019 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); *...
40.09434
162
0.734588
7230569be5627bc7fa6f61f24dd0648fab80a44f
518
package com.redescooter.ses.web.ros.service.base; import com.baomidou.mybatisplus.extension.service.IService; import com.redescooter.ses.web.ros.dm.OpeSysUser; import java.util.List; public interface OpeSysUserService extends IService<OpeSysUser>{ int updateBatch(List<OpeSysUser> list); int batchInsert(Li...
21.583333
64
0.77027
4fe1f8266af0c81694c36744f1d53c742e841359
3,613
/*- * #%L * OBKV Table Client Framework * %% * Copyright (C) 2021 OceanBase * %% * OBKV Table Client Framework is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * http://license.coscl.org.c...
44.604938
111
0.573761
5f1cad5a12d890926942d79b655576391df1d0b6
200
package org.talend.hadoop.distribution.constants; public class MapRDBConstant { public static final String SERVICE = "org.talend.hadoop.distribution.component.MapRDBComponent";//$NON-NLS-1$ }
25
113
0.78
c6917bf8d6bb3f2f12b3c581f928c4fc5e2a6c03
3,744
package com.iflytek.ccr.polaris.companion.common; /** * 反馈对象 */ public class ServiceFeedBackValue { private String pushId ; private String project; private String group ; private String consumer; private String provider; private String addr; private String type; private S...
24
65
0.5414
ad83158c699a4387451a10e4e2f8400b307342ff
3,707
/** * generated by Xtext 2.12.0 */ package it.unibz.inf.tptp.generator; import com.google.inject.Inject; import it.unibz.inf.tptp.parser.Include; import it.unibz.inf.tptp.parser.Model; import java.io.File; import java.util.LinkedList; import java.util.Scanner; import java.util.function.Consumer; import org.eclipse.c...
36.70297
114
0.676558
f6dbaecefad68c4016b603770f5fafc0285b0df1
868
package io.sdb.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import io.sdb.common.utils.EnumUtil; import io.sdb.enums.OrderStatusEnum; import io.sdb.model.OrderDetail; import io.sdb.serializer.Date2LongSerializer; import lombok.Data; import jav...
24.111111
63
0.762673
0a266eab72371d99136496edf99fe62c8480f1d3
572
package com.facebook.react.devsupport; import android.app.Activity; import android.view.View; import com.facebook.react.bridge.JavaJSExecutor; import com.facebook.react.bridge.JavaScriptExecutorFactory; public interface ReactInstanceManagerDevHelper { View createRootView(String str); void destroyRootView(Vie...
24.869565
64
0.804196
d226c3313eedcd8619988d22217b0bc73ad47920
7,284
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
38.336842
128
0.666667
99099072f77de0f9be9df6e6cfad8eb566a51da1
3,106
/* * 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 n...
39.820513
118
0.68255
ea0fdd91e43dc740da4b476f403830fdb8d68ac4
2,429
/** * BlueCove - Java library for Bluetooth * Copyright (C) 2006-2007 Vlad Skarzhevskyy * * 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...
31.141026
92
0.72746
816a199da9270678cf493a1e28f1f880da9609db
1,171
package org.citydb.api.geometry; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlRootElement(name="multiPolygon") @XmlType(name="MultiPolygonType", propOrder={ "polygons" }...
18.015385
52
0.690009
29dc04e5104dfd55ceff9af672a777d570cf20dc
1,214
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; import android.os.IInterface; import android.os.RemoteException; // Referenced classes of package com.google...
22.90566
69
0.783361
c88d770fea4b6bdb5b329c9837ba8930377bdcf9
1,967
// Copyright 2018 The KeepTry Open Source 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...
25.881579
75
0.629893
77856d13293a97ac57b087fd6cd34db2b922c38d
112
package com.brin.denonremotefree.db; /** * Created by Luca on 20.01.2016. */ public class Prefs { }
12.444444
37
0.625
1f06fc673ee795ad912d862a37a0b3f5beb8c23b
2,064
package net.minecraft.block; import net.minecraft.block.material.*; import net.minecraft.block.properties.*; import net.minecraft.creativetab.*; import net.minecraft.block.state.*; import net.minecraft.item.*; import net.minecraft.world.*; import net.minecraft.util.*; import net.minecraft.entity.*; public class Block...
33.836066
205
0.662306
5064ce5c1b5d267280a5374bf53a3b291bdadb31
761
package com.cmos.common.query; public class BaseQuery { public static final String ASC = "asc"; // 每页返回行数 private int rows = 10; // 当前页码 private int page = 1; // 排序列名 private String sort; // 排序顺序 private String order = ASC; public int getRows() { return rows; } public void setRows(int pageSize) { th...
13.589286
40
0.633377
92994b349cb1bc705ec3a9e2173f064558cd5e2a
857
package net.gvsun.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import net.gvsun.auditserver.external.AuditConfigVO; import net.gvsun.common.Result; import net.gvsun.domain.entity.audit.AuditConfig; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** ...
24.485714
68
0.703617
727451037ea5ca08f8df5ac3bdfe5477c8afccd0
451
package com.fincatto.documentofiscal.cte200.transformers; import com.fincatto.documentofiscal.cte200.classes.CTModal; import org.simpleframework.xml.transform.Transform; public class CTModalTransformer implements Transform<CTModal> { @Override public CTModal read(final String codigo) { return CTModal...
26.529412
63
0.747228
ccf8421b97c7a7fb32dfe73b47ac12c5fd580470
2,080
package com.ethlo.kviksilver; /*- * #%L * Kviksilver * %% * Copyright (C) 2021 Morten Haraldsen (ethlo) * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
34.098361
101
0.700481
904a74b30249fda808282578a7b7d370b7a2b862
3,714
/* * ===============================LICENSE_START====================================== * dcae-analytics * ================================================================================ * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * =====================================================...
42.689655
109
0.706785
ba6958f2d13364286324969f809e9ae4810df7c0
1,501
package ml.alternet.properties.gen; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; import java.util.function.Function; import java.util.stream.Stream; import org.testng.annotations...
28.865385
90
0.644237
7dd2c3a5c9d3a39d673554a8b20d99f8dcf04c98
9,494
// Copyright 2020 Google 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 by applicable...
38.75102
100
0.75237
bf73530fb46991c6e43c282d7daf73e13481a602
3,366
package com.sequenceiq.cloudbreak.cmtemplate.configproviders.yarn; import static org.junit.Assert.assertEquals; import java.util.List; import java.util.Map; import java.util.Set; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import com.cloudera.api.swagger.mode...
49.5
131
0.76738
f591cbfb7583129ca3fb30b359768ea41c9f1053
10,192
package br.gov.sp.fatec.saloon.model.service.regi; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import java.util.Date; import org.junit.jupiter.api.Test; imp...
26.962963
85
0.713108
17c38fe7fd31ad091320e0f8868f8c5309ad0ff2
1,462
package com.liang.leetcode.stack; import java.util.Stack; /** * @ClassName L1209 * @description 删除字符串中的所有相邻重复项 II * @Author LiaNg * @Date 2019-11-22 */ public class L1209 { public static void main(String[] args) { String s = "deeedbbcccbdaa"; int k = 3; L1209 l1209 = new L1209(); ...
25.649123
93
0.528728
b7c8cce5462210433eb5ca9f87f0cdebde7dc524
23,592
/* * Copyright ConsenSys AG. * * 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...
37.7472
118
0.668828
6cf2e4bd5a68a7c953e14ec8294f5c894d71331f
940
package cn.navigational.routers; import cn.navigational.annotation.RouterMapping; import cn.navigational.annotation.Router; import cn.navigational.annotation.Verticle; import cn.navigational.impl.RouterVerticle; import cn.navigational.model.EBRequest; import cn.navigational.service.MenuService; import cn.navigational....
26.111111
82
0.755319
788d15e442384caf547338c9ee605683d3493376
1,828
package com.genx.javadoc.interceptor; import org.springframework.core.MethodParameter; import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; import javax.servlet.http.HttpServletRequest; import javax.servlet...
34.490566
137
0.734683
d0a6aebebb59625faeaeffcdc7cf2e69b197e9b0
4,445
package frc.lib5k.kinematics.unicycle; import edu.wpi.first.wpilibj.geometry.Pose2d; import edu.wpi.first.wpilibj.geometry.Translation2d; import edu.wpi.first.wpilibj.geometry.Twist2d; import edu.wpi.first.wpilibj.kinematics.DifferentialDriveWheelSpeeds; import frc.lib5k.kinematics.systemdef.VelocityConstraint; import...
34.457364
120
0.669966
36af32ff800de4ff47d3c215e0340a60ece36c5c
5,442
package cn.yongye.stub; import android.app.Application; import android.app.Instrumentation; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.res.AssetManager; import android.os.Environment; import android.util.Log; import java.io.ByteArrayInputStream; import...
45.731092
154
0.657295
0ce9fe866142292643c6663bebeec87c419ba4da
563
package com.redescooter.ses.api.common.enums.production.purchasing; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; /** * @ClassName:QcStatusEnums * @description: QcStatusEnums * @author: Alex * @Version:1.3 * @create: 2020/03/19 13:36 */ @Getter @AllArgsConstructor @NoA...
20.107143
67
0.708703
6c66c15e70c3f5932c10356d7669cd1208809cc0
3,043
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ...
41.121622
114
0.651988
9e65afcf9f6032418024901599392deab232ed63
294
class Shit { void method(){ for (int kkk = length; kkk <= r; kkk++) { int whatnext = kkk - m%kkk; int not_mod = (int) m / kkk; if (not_mod != 1) { if (m%kkk <= mdiff) { panswer = kkk + "\n" + (length + (m % kkk) + "\n" + length); break; } } } } }
16.333333
65
0.442177
b39b9f30cdf8199e7183199ad7943a54d2ecaa6a
666
package com.hamzajg.quicktest.sharedkernel.messaging.contracts.commands; public class UpdateProduct implements Command { public String productId; public String productCategoryId; public String name; public float unitPrice; public float discount; public int availableQty; public UpdateProduc...
33.3
134
0.723724
0668ba18b04db171ae0d5ae8fedef7889b915b95
3,856
package io.jenkins.plugins.sample; import hudson.Launcher; import hudson.Extension; import hudson.FilePath; import hudson.util.FormValidation; import hudson.model.AbstractProject; import hudson.model.Run; import hudson.model.TaskListener; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import org...
26.965035
112
0.763485
8e947ebe4f928546d816d7304a9f97b0d4ee07fb
754
package com.fish.rpc.test.hello.impl; import com.fish.rpc.RPC; import com.fish.rpc.test.dto.Person; import com.fish.rpc.test.hello.ISayHello; @RPC public class SayHelloImpl implements ISayHello{ @Override public void hello() { System.out.println("Say Hello."); } @Override public String echo(String speak) { r...
17.136364
47
0.692308
4d565a685c6aa40b8f5ab4383ccf4b07caf416f1
1,702
import java.util.Arrays; import java.util.PriorityQueue; // LC-973 // https://leetcode.com/problems/k-closest-points-to-origin/ public class KClosestPointsToOrigin { int[][] points; public int[][] kClosestSort(int[][] points, int K) { this.points = points; int l = 0; int r = points.length - 1; w...
20.261905
76
0.475323
7c6aa6e980abbe43e8a8a60bd55bd707942afec3
10,057
/* * The MIT License (MIT) * * Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal)) * * 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 withou...
32.652597
131
0.600676
7b3f4f336c1ee806df335dee32dde190585f41a6
1,945
package org.opendaylight.opflex.genie.engine.parse.model; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.opendaylight.opflex.genie.engine.model.Item; import org.opendaylight.opflex.genie.engine.model.Pair; import org.opendaylight.opflex.genie.engine.parse.model.ProcessorNode; ...
24.935897
109
0.650386
2a2a74fd6ddb107f168169a6d87d4b4a26a1d857
15,368
/* * Copyright 2017 Public Transit Analytics. * * 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 la...
44.16092
94
0.689745
dea11792479afdec63b5e1fd6b32f88dbc06829d
10,475
package com.yiluxiangbei.chinaplace.activity; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.T...
36.245675
136
0.566014
48c63ccfa674358f1d69a4d8d81096b7ddcc6938
998
package org.jemco.contractorportal.invoice; import java.util.Calendar; import java.util.Date; import java.util.List; import org.jemco.contractorportal.invoice.dto.ItemType; public class InvoiceUtils { public static Date calculateDueDate(int terms, Date invoiceDate) { Calendar calendar = Calendar.getInstance(...
21.234043
81
0.696393
c991a626117a21199532187018dcebbc0d3b716a
2,071
package io.github.springroe.data.jpa.repository; import io.github.springroe.data.core.criterion.DataCriterion; import io.github.springroe.data.core.domain.Persistable; import io.github.springroe.data.core.repository.Repository; import io.github.springroe.data.core.util.RepositoryUtils; import io.github.springroe.data....
32.359375
145
0.745051
4c8f2eba79e87c443dd4dc3d9c00f9c0a965091a
856
package com.dimple.project.log.mapper; import com.dimple.project.log.domain.VisitLog; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @className: VisitLogMapper * @description: * @author: Dimple * @date: 2019/11/30 */ public interface VisitLogMapper { /** * 新增系统访问日志 * ...
18.212766
90
0.600467
75d9bae4ebec505c19152cc47735d27dd823ba12
1,821
package co.edu.javeriana.negocio; import java.io.Serializable; public class Persona implements Serializable { @SuppressWarnings("compatibility:-3267192247630181467") private static final long serialVersionUID = 1L; private Identificacion identificacion; private String primerNombre; private String ...
23.649351
66
0.675453
8234ab4af3036d6163361b5b7d1727caf34495f2
31,706
package com.vizlore.phasmafood.ui.configuration; import android.arch.lifecycle.ViewModelProviders; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.support.annotation...
39.094945
132
0.778528
4bb0ceeb67434fad1e688d75e2e362f9087df546
2,163
package bg.softuni.marketplace.web.controllers.user; import bg.softuni.marketplace.aspects.onerror.OnError; import bg.softuni.marketplace.aspects.onsuccess.OnSuccess; import bg.softuni.marketplace.config.WebConfig; import bg.softuni.marketplace.domain.models.binding.user.UserRegisterBindingModel; import bg.softuni.mar...
36.05
108
0.787332
68b27847b04cb08c20fed66acfefd29c2e530040
481
package frc.team2767.deepspace.command.vision; import edu.wpi.first.wpilibj.command.InstantCommand; import frc.team2767.deepspace.Robot; import frc.team2767.deepspace.subsystem.VisionSubsystem; public class LightsOnCommand extends InstantCommand { private static final VisionSubsystem VISION = Robot.VISION; publ...
22.904762
61
0.775468
e7de52c6e4ffd76332974d3cd68adb5c08184faf
626
package cz.tacr.elza.packageimport.xml.common; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * List of other code * * Typically used to list deleted or compatible codes ...
21.586207
53
0.71246
4d37e40327a0e6533faca6429dba79b5fcd2d41d
4,290
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pla...
33.255814
127
0.659674
173f0d498ee8f183e39574dfb4dac010ac77eeee
318
public class Pessoa { private String nome; private String cpf; public Pessoa(String nome, String cpf) { this.nome = nome; this.cpf = cpf; } public void imprimirDados() { System.out.println("Nome: " + nome); System.out.println("CPF: " + cpf); } }
21.2
45
0.540881
badc1f828fda98b1d8945037923af7258b64471f
1,308
package com.youzu.taobao.base.json.homeconfig; /** * Created by Zhao on 15/6/30. */ public class HomeConfigItem { private String id; private String title; private String pic; private String url; private String type; private String desc; /** * 当type=2的时候 标识forumid * 当type=3的时候...
16.148148
46
0.552752
803c66cb6e2ace50c176b6af2001eb334402fcf8
12,189
package javeriana.edu.co.mockups; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.Image; import android.net.Uri; import android.os.Handler; import android.support.annotation.NonNull; import android.support.v4.view.ViewPager; import android.supp...
39.574675
182
0.623103
e00d97d1f64ae61e29ac2ebe7956f40d20bbd4b6
4,251
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.myc.ctt; import java.io.BufferedReader; import java.io.File; import java.io.FileFilter; import java.io.FileInput...
28.918367
114
0.490943
fc34bdf2e25d440fb2a6b5e4664b608871d70921
3,234
/* * Copyright (c) 2012, Harald Kuhr * 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 condition...
42
119
0.750155
bf206ee5c388025e1e473f529835becaa06d77f8
16,647
package bayou.http; import _bayou._str._ChArr; import _bayou._str._CharDef; import _bayou._str._HexUtil; import _bayou._tmp.*; import bayou.mime.HeaderMap; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.Map; // performance: about 25 cycles for each byte in request head. class ImplReqHeadParser...
40.210145
118
0.496185
5ed01c016a946de5aef3ca3f16dc007726f5d2ed
1,196
package com.wmg.smartjava.data; import com.github.javafaker.Faker; import com.wmg.smartjava.model.Person; import java.time.LocalDate; import java.time.ZoneId; import java.time.temporal.ChronoUnit; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; public class MockBuilder {...
30.666667
124
0.596154
2bfa20ed915379f2a6ad3ec2e23ce9e44c056d0a
4,857
/* * This file is a part of MI * * The MIT License (MIT) * * Copyright (c) 2021 Roj234 * * 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 witho...
30.54717
106
0.617253
efbd60d2eb9e8beca928d48b09cd2e4b59c55c5d
19,043
/* * Copyright (c) 2004-2014, Willem Cazander * 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...
26.708275
133
0.735388
ac18cbdbad57f7b2cc97ab7b4dd87dc021cfdbf0
1,820
package de.peeeq.wurstscript.compilationserver; import java.io.File; import java.util.List; import java.util.Map; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import de.peeeq.wurstscript.ast.CompilationUnit; import de.peeeq.wurstscript.attributes.CompileError; public class Compilat...
24.931507
84
0.733516
281d70a85a250e7cf423d35a75dab3b6898b8707
2,336
package it.reply.monitoringpillar.config.dsl; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; imp...
21.045045
83
0.686216
c63862a6978e16cc6d7cd904187f20c0746d5255
4,159
package org.javastack.memoizer; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util...
27.183007
90
0.717721
e630aa52c4eca3513865c1c40d3bcb783db7dc97
3,362
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
32.960784
100
0.6163
3a972e31f4827dcc625f0dce4898328dd33fc193
1,889
package com.example.nils.lec.main_activity; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.example.nils.lec.R; public class MainActivity extends FragmentActivity { private AppsManager appsManager; @Override protected void on...
30.467742
116
0.653785
438560c161e2d5f163b75a12b586021940e3aa62
584
package org.bychan.core.basic; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; /** * A "Left Denotation" parse action. Typically used by infix and suffix parse actions. */ public interface LedParseAction<N> { /** * Parse this lexeme as the continuation of a block. ...
29.2
86
0.702055
63e2d43d26fbbd30b1958205a0169ed384858458
4,121
/* * 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.448819
112
0.652026
425278b872619877fd86cdd811fb3ab39c731a9f
23,878
package org.jivesoftware.openfire.plugin.clientControl; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.jivesoftware.openfire.plugin.ClientControlPlugin; import org.jivesoftware.openfire.plugin.spark.Bookmark; import org.jivesoftware.openfire.plugin.spark.BookmarkManager; im...
51.240343
666
0.708644
1088c8e92985bd0a492c1e95bef4efc29139f0d6
889
/** * (c) 2014 by Christian Schenk **/ package de.schenk.jrtrace.service.test.utils; import java.io.IOException; import java.io.InputStream; public class OutputStreamPrinter extends Thread { InputStream stream; public OutputStreamPrinter(InputStream inputStream) { stream=inputStream; } @Override ...
22.225
70
0.619798
9b85a9f4a21a229fb504002b9ecadee09e0a5f95
1,223
package com.ruoyi.system.service; import java.util.List; import java.util.Map; import com.ruoyi.system.domain.Salary; /** * 计划Service接口 * * @author ruoyi * @date 2022-03-01 */ public interface ISalaryService { /** * 查询计划 * * @param id 计划主键 * @return 计划 */ public Salary select...
15.679487
59
0.533115
27559b57123180d4e00ac5ee5f9b10571685bd28
1,183
package com.macode.paynothing.utilities; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.cardview.widget.CardView; import androidx.recyclerview.widget.RecyclerView; import c...
36.96875
95
0.770921
0069745ba80003925e8541ba9e313db6d34b156f
1,693
/* Copyright 2009, 2011 predic8 GmbH, www.vopen.xyz 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 a...
27.306452
85
0.760189
64d71190c592350d8e10d64bf77be73e140b91b0
2,093
/* * Exercise 6.21 * Phone keypads) The international standard letter/number mapping for tele- * phones is given in Programming Exercise 4.15. Write a method that returns a * number, given an uppercase letter, as follows: * * public static int getNumber(char uppercaseLetter) * * Write a test program th...
28.283784
84
0.559006
df5df23b360b5435db35f4725f58adcf5f3de368
4,820
/* * Copyright 2017 Adobe. All rights reserved. * This file is licensed 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/licenses/LICENSE-2.0 * * Unless required by appli...
44.62963
115
0.73029
134cab0efe278f85de24d14ed193000fdfba5fd4
1,659
package cn.rongcapital.sisyphus.demo.jd.steps; import static org.junit.Assert.assertTrue; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; import org.springframework.stereotype.Component; import cn.rongcapital.sisyphus.base.BaseStep; import cn.rongcapital.sisyphus.demo.jd.pages.Pag...
29.105263
98
0.72393
4b7b9bfe0eb55cde973eda85df181a2debca52aa
4,803
/* * 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 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that...
28.252941
77
0.70685