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
ea0600602115c6ad7324d1ea8d6e02464264644f
2,577
/* * 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 securityProject; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle; import javafx.eve...
28.318681
80
0.630578
acd766ea48b816dfa78d59dfeccb5465e84c4b82
7,071
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
33.197183
89
0.775138
cda30ce276fef9876abc5c32fd6a9bb9a0f62938
735
package com.hdekker.security.component; import com.vaadin.flow.component.ClickEvent; import com.vaadin.flow.component.ComponentEventListener; import com.vaadin.flow.component.icon.Icon; import com.vaadin.flow.component.icon.VaadinIcon; public class ChipWithDeleteButton extends MaterialChip { Icon delete; public...
26.25
88
0.767347
eabbb97bb103b00b771a0b244248760ce0852e2b
2,313
package org.salever.rcp.tech.chapter3; import org.eclipse.jface.action.ICoolBarManager; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.action.Separator; import org.eclipse.jface.action.ToolBarContribu...
32.577465
86
0.75789
df87f596154f9076b5434c57c050f5db197e6bfb
2,274
/** * The MIT License * Copyright © 2017 DTL * * 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, copy, modify, merg...
38.542373
91
0.740985
2bee7366dd2d13865abba700250a239716067672
1,498
package io.github.xucsci260volunteerscheduler.services.implementation; import io.github.xucsci260volunteerscheduler.dal.interfaces.DatabaseDAO; import io.github.xucsci260volunteerscheduler.dal.interfaces.TagDAO; import io.github.xucsci260volunteerscheduler.domain.Tag; import io.github.xucsci260volunteerscheduler.servi...
23.40625
76
0.644192
8f0123e97ce13d94cd43f93d42bb5fd31ed19da4
227
package com.wtwd.standard.utils; /** * Created by Administrator on 2018/1/26 0026. */ public class CommonConstants { public static final int PURE_PICTURE_TITLE = 1; public static final int SOLID_COLOR_TITLE = 2; }
18.916667
51
0.726872
034cd239f99a4c0f15ff3d4589117c07dc7cd933
26,663
package dcraft.tenant; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import dcraft.filestore.CollectionSourceStream; import dcraft.filestore.CommonPath; import dcraft.filestore.File...
28.395101
130
0.650752
648b12d7216ba9bf27b0d511f2beb0eddcf1d3d5
5,273
/* * The MIT License * * Copyright 2018 Raymond Buckley. * * 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, copy,...
29.623596
117
0.568367
b70f67953ff6e77d2392883ae4b395cef3cb3611
402
package br.com.salute.provedor.entity; import br.com.salute.provedor.rest.ProvedorRest; import lombok.Data; import javax.persistence.*; @Entity @Data public class Propriedade { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String nome; private String valor; @Ma...
17.478261
51
0.721393
3aa628409c07305050b85d0ca603d5f41b9165a9
7,366
package org.finos.waltz.web.endpoints.extracts; import org.finos.waltz.model.EntityKind; import org.finos.waltz.model.EntityLifecycleStatus; import org.finos.waltz.web.WebUtilities; import org.jooq.*; import org.jooq.impl.DSL; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.st...
46.0375
137
0.63413
199fee12ac0c2242b977dc6219616d4dc205d32b
9,915
package mil.emp3.examples.capabilities.navItems; import android.app.Activity; import android.util.Log; import org.cmapi.primitives.GeoStrokeStyle; import org.cmapi.primitives.IGeoColor; import org.cmapi.primitives.IGeoPositionGroup; import org.cmapi.primitives.IGeoStrokeStyle; import mil.emp3.api.Path; import mil.em...
37.843511
125
0.565507
24e9f7b46f26cfc8c04fa162e0c006fed804cc10
3,795
/* * [722] Remove Comments * * https://leetcode.com/problems/remove-comments/description/ * * algorithms * Medium (29.12%) * Total Accepted: 10K * Total Submissions: 34.2K * Testcase Example: '["/*Test program */", "int main()", "{ ", " // variable declaration ", "int a, b, c;", "/* This is a test", " m...
33.883929
205
0.644796
0ffe4a1d182ae440a878409e113442d44bd98bf0
1,844
/* * Copyright 2014-2021 Lukas Krejci * and other contributors as indicated by the @author tags. * * 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...
32.928571
106
0.748373
5416fb277b5b3630eb2c7340a69c47d83209b78b
1,923
package io.christianmesch.aoc19.day02; import java.util.stream.Stream; public class IntCode { private static final String INPUT = "1,0,0,3,1,1,2,3,1,3,4,3,1,5,0,3,2,6,1,19,1,19,5,23,2,9,23,27,1,5,27,31,1,5,31,35,1,35,13,39,1,39,9,43,1,5,43,47,1,47,6,51,1,51,13,55,1,55,9,59,1,59,13,63,2,63,13,67,1,67,10,71,1,71,6...
32.05
439
0.475819
9f72ef2b371aa43dbeb60a9310fe8c7a7866e143
720
package org.phoenix.leetcode.challenges; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; class Problem02_TrimABinarySearchTreeTest { private final Problem02_TrimABinarySearchTree test = new Problem02_TrimA...
31.304348
95
0.691667
5aaafd1190468d3c3fd48caa686ffdff00a17b08
4,327
package io.swagger.model; import java.util.ArrayList; import java.util.List; import java.util.Objects; import javax.validation.Valid; import javax.validation.constraints.NotNull; import org.springframework.validation.annotation.Validated; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jac...
28.467105
130
0.725445
763fd3a81117ab76061ae072a5e2f82e52daf8f4
9,580
/* * 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 ...
38.785425
189
0.668267
0e4bd57e6149819765c611b5d1cfe2e88cca431f
1,205
package scenes; import com.badlogic.gdx.maps.tiled.TiledMapTile; import com.badlogic.gdx.maps.tiled.TiledMapTileLayer.Cell; import com.badlogic.gdx.math.Vector2; import entities.Path; import main.Main; public class DynamicTile { private Cell cell; // private Main main; private Path path; private boolean moving;...
18.538462
58
0.642324
7cdb3428ccf5b30e930b435aaf53cfcacbbe2ee9
449
package br.com.agenda.exceptions; public class MensException { private String mensUsuarioFinal; private String mensDesenvolvedor; public MensException(String mensUsuarioFinal, String mensDesenvolvedor) { this.mensUsuarioFinal = mensUsuarioFinal; this.mensDesenvolvedor = mensDesenvolvedor; } public String...
21.380952
74
0.7951
ee765ed54b97b5ea069a066d59a78f852a717e22
2,451
/* * * Copyright [2020] [https://www.mxsky.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 required by applicable la...
31.831169
129
0.699714
49608ff10bfbff8ae68492e857f19f2e169ec484
4,372
package org.kuali.ole.select.businessobject; import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; /** * Created with IntelliJ IDEA. * User: vivekb * To change this template use File | Settings | File Templates. */ public class OLEPurchaseOrderItemSearch extends PersistableBusinessObjectBase { private ...
26.337349
92
0.712717
13a84055392210fcbff2a3a1c6b6aee41f7adc07
8,025
package com.lapis_semi.lazurite.LazuriteGraph; import java.awt.event.ActionEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Enumeration; import javax.swing.JButton; import javax.swing.JFrame; import com.lap...
30.865385
98
0.699688
808fc4ddcb4e87d6641c57f8a63a486481022f9a
2,186
package me.learn.personal.month1; import me.learn.utli.ListUtils; /** * * Title : Given a singly linked list, group all odd nodes together followed by * the even nodes. Please note here we are talking about the node number and not * the value in the nodes. * * You should try to do it in place. The program sho...
22.306122
80
0.637237
e04fa812d2fdf881731f6f18891e8a287bf44bd0
530
package org.xdef.impl.parsers; import org.xdef.sys.StringParser; /** Parser printable date and time format. * @author Vaclav Trojan */ public class XDParsePrintableDate extends XDParseDateYMDhms { private static final String ROOTBASENAME = "printableDate"; public XDParsePrintableDate() { super(); } @Override...
24.090909
61
0.766038
e876857e186b26889ff696c81a9621956a5a9e6d
2,544
package com.tr.rp.ast.expressions; import java.util.Set; import com.tr.rp.ast.AbstractExpression; import com.tr.rp.ast.LanguageElement; import com.tr.rp.exceptions.RPLException; import com.tr.rp.varstore.VarStore; import com.tr.rp.varstore.types.Type; /** * The Rank expression is an integer-valued expression that h...
25.188119
99
0.724843
8d969e9526a3c6709d60232af21ee01b315bd027
916
// Generated code from Butter Knife. Do not modify! package com.example.agent48.termproject.Menu; import android.view.View; import butterknife.ButterKnife.Finder; import butterknife.ButterKnife.ViewBinder; public class DecreasingMenu$$ViewBinder<T extends com.example.agent48.termproject.Menu.DecreasingMenu> implement...
41.636364
129
0.767467
6a5c675d771349b6894e3d0f46dc6a3134c212bb
9,376
package org.firstinspires.ftc.teamcode.skystone.TB1; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.util.ElapsedTime; import org.opencv.core.Core; import org....
41.122807
156
0.555034
86191e7658cf09282b06d9390902c0c3862894d9
2,620
package com.csye6225.spring2019.impl; import com.csye6225.spring2019.entity.Attachment; import com.csye6225.spring2019.repository.AttachmentRepository; import com.csye6225.spring2019.service.AttachmentService; import lombok.extern.log4j.Log4j2; import org.apache.logging.log4j.util.Strings; import org.springframework.b...
30.114943
85
0.65229
c828e01be03f8f24c90b7b0bd1ee7279a9d66d1d
1,299
/* * 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 modelo; /** * * @author Juan Benitez */ public class Usuario { public String getId() { return id; ...
18.041667
79
0.602002
ffe0c86fcb060d0a1ef6be234c5335cb094a36c5
1,971
package com.ds.retl.service; import com.alibaba.fastjson.JSONObject; import com.ds.retl.exception.UserInterfaceErrorException; import org.mx.dal.Pagination; import java.util.Map; /** * Created by john on 2017/11/2. */ public interface ServerManageService { JSONObject getServerInfo(String machineName) throws Us...
28.985294
105
0.697108
6b219ae3da87ed82c30a01417aa3b7efabbb3f2c
1,228
package com.mreorhan.ws; import com.mreorhan.ws.security.AppProperties; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBoo...
32.315789
88
0.781759
88602b549e30d4c0f9f0ff3699f5485637182ffc
1,384
package com.sequenceiq.distrox.api.v1.distrox.model; import java.util.List; import javax.validation.Valid; import com.sequenceiq.cloudbreak.api.model.annotations.MutuallyExclusiveNotNull; import com.sequenceiq.cloudbreak.doc.ModelDescriptions.RepairClusterRequest; import io.swagger.annotations.ApiModel; import io.s...
27.137255
136
0.74422
f73195649c1a033509cd199c3c3fb48404b4b88a
2,626
/* * 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 ...
27.93617
103
0.715537
ce18f4a8f0e369b42e68b89b238f212a82620efa
5,595
package com.vk.sdk.api.methods; import com.vk.sdk.api.VKParameters; import com.vk.sdk.api.VKRequest; import com.vk.sdk.api.model.VkVideoArray; /** * Builds request for API.video part */ public class VKApiVideo extends VKApiBase { /* * https://vk.com/dev/video.get */ public VKRequest get() { ...
24.012876
75
0.617873
c6fc84cc228e0f60b5e54e9f651ffc213f362b9e
2,451
package io.joyrpc.protocol.http.binding; /*- * #%L * joyrpc * %% * Copyright (C) 2019 joyrpc.io * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
36.044118
112
0.640963
17522a1e8114f34bf0862f06e493d4ab8d86db25
477
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.drh.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.mo...
26.5
108
0.763103
dc96871bac5ef229bbca9bdd0eeb28621a0f76cd
937
package com.akouki.weatherwidget.models; public class Weather { private float temp; private float minTemp; private float maxTemp; private String condition; private String dateTime; public float getTemp() { return temp; } public void setTemp(float temp) { this.temp = te...
19.122449
48
0.612593
4279ae8538f24b847211cf4b74c38d689c02b755
1,938
/* * Copyright (c) 2006-present radien GmbH & its legal owners. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-...
32.3
110
0.712074
b6b47a977f20fa3293ea7a21ae5e64b1e7293dc8
1,493
package io.jmix.petclinic.screen.visit.calendar; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.YearMonth; import java.time.temporal.TemporalAdjusters; import java.time.temporal.WeekFields; import java.util.Locale; public class RelativeDates { public sta...
35.547619
120
0.711989
2ba74e37f85b04ff6d7e9177d08d4b5b2b35adaf
2,340
/* * Copyright (C) 2014 The Android 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 app...
31.621622
98
0.698291
3f7427e7936eb36ee581594476c996e49ef949c2
2,197
package myobj.yachtdice; import java.util.Arrays; import java.util.Random; public class Dice { private int[] dice = new int[5]; private int[] count = new int[6]; private Random ran; public Dice() { ran = new Random(); for (int i = 0; i < dice.length; i++) { dice[i] = getRandom(); } } ...
19.442478
48
0.490669
f11b1a019fa191be198cbd55d51ce5788b5d1075
4,700
package org.openmhealth.shim.runkeeper.mapper; import com.fasterxml.jackson.databind.JsonNode; import org.openmhealth.schema.domain.omh.*; import org.openmhealth.shim.common.mapper.DataPointMapperUnitTests; import org.springframework.core.io.ClassPathResource; import org.testng.annotations.BeforeTest; import org.testn...
41.22807
120
0.75766
7d793c09db4e51411faca0ed40489b4e256b34b6
4,263
package ua.com.fielden.platform.web.centre.validators; import static java.lang.String.format; import static ua.com.fielden.platform.error.Result.successful; import static ua.com.fielden.platform.error.Result.warning; import static ua.com.fielden.platform.utils.EntityUtils.equalsEx; import static ua.com.fielden.platfor...
61.782609
195
0.769177
38d55a29bca2d9b2f3b6a4fd56fca98a91c81736
3,321
/* * Copyright 2015 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" ...
41.5125
119
0.727793
b9915a9f340f2fdb8226358a430883dfa8b8b6ea
536
package com.lwk.familycontact.project.chat.utils; /** * Created by LWK * TODO 环信消息扩展字段标识 * 2016/12/16 */ public class HxMsgAttrConstant { /** * 文字消息扩展标识 */ public static final String TXT_ATTR_KEY = "txt_msg_attr"; /** * 普通文字消息扩展标识 */ public static final int NOR...
17.866667
62
0.583955
6d1bc5e01581fb89a1424ef6ebe4db8be22d25e0
1,361
package com.springsecurity.demo.config; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org...
38.885714
109
0.795004
75dd7d7b8fffbc1b1f110355373a695fdf489cfa
5,404
package org.apache.hc.core5.http.config; import org.apache.hc.core5.util.Args; import org.apache.hc.core5.util.Timeout; /** * HTTP/1.1 protocol parameters. * <p> * Please note that line length is defined in bytes and not characters. * This is only relevant however when using non-standard HTTP charsets * for prot...
32.359281
100
0.631199
e605af1f9d7acf93d82af3555e9386c631605d92
94
package dataprovider; /** * Created by 110 on 10/01/2018. */ public class CachManager { }
10.444444
32
0.670213
a46640322011c5932624ccf8c73b060b6f7c7472
4,566
/* * Copyright (c) 2020 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.provisioning.ucf.impl.builtin.async.provisioning; import java.io.IOException; import javax.xml.namespac...
41.135135
162
0.698642
09e77a91192e31eb30d7c090c9ebcde132d93ac0
4,792
package org.company.iendo.common; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.gson.Gson; import com.gyf.immersionbar.ImmersionBar; import com.hjq.bar.TitleBar; import com.hjq.base.BaseFragment; import org.company.iendo.action.TitleBarActi...
21.781818
118
0.577629
7c2cb5cf1c4e23298a4f8ff4b0dc0be70bc6c2f0
1,969
package data.browse; import com.neovisionaries.i18n.CountryCode; import com.wrapper.spotify.SpotifyApi; import com.wrapper.spotify.exceptions.SpotifyWebApiException; import com.wrapper.spotify.model_objects.special.FeaturedPlaylists; import com.wrapper.spotify.requests.data.browse.GetListOfFeaturedPlaylistsRequest; i...
38.607843
193
0.754698
50659d68a5e543c38c0a752775e7bd248f8cc792
7,911
/* * Copyright (C) 2015 Google 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 ...
36.625
95
0.700796
d417f93278b65d439856225b892f058634bfed13
2,560
package com.bumptech.glide.p107h; import java.io.IOException; import java.io.InputStream; import java.util.Queue; /* renamed from: com.bumptech.glide.h.d */ /* compiled from: ExceptionCatchingInputStream */ public class C6019d extends InputStream { /* renamed from: a */ private static final Queue<C6019d> f10...
22.857143
68
0.552734
7164ed663daf446147fce5341f6c561eef4c05a7
2,852
// Copyright 2021 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 in writi...
26.90566
118
0.642006
c410b1b09f713dd18c7e41042d7c88db263158a8
1,279
package com.temelt.shipping.entity; import com.temelt.common.entity.RecordState; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; i...
22.839286
64
0.715403
fd84e32fbea4d309252774dc18da79345d37d325
5,369
package com.emoney.web.service.impl; import com.emoney.core.exception.EmoneyException; import com.emoney.core.service.impl.CrudServiceImpl; import com.emoney.core.utils.GlobalSettingUtils; import com.emoney.core.utils.QRCodeUtil; import com.emoney.core.utils.SecurityUtils; import com.emoney.core.utils.TokenUtils; imp...
41.945313
141
0.723598
cff7dfc2efa7cf37a3a750d834bdbc5ad5a3f253
1,259
/* * Copyright 2020 Aiven Oy * * 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 writ...
34.972222
77
0.658459
09236ffebdf48bf4d78fd86d0cb6ef60f6ea08a1
3,629
/* * Copyright (C) 2015 The Android 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 app...
37.412371
99
0.676219
5da305cf393d2006d832e6060254332876034b12
1,950
package star.bytecode; import gov.nasa.jpf.vm.ChoiceGenerator; import gov.nasa.jpf.vm.ClassInfo; import gov.nasa.jpf.vm.ElementInfo; import gov.nasa.jpf.vm.Heap; import gov.nasa.jpf.vm.Instruction; import gov.nasa.jpf.vm.LoadOnJPFRequired; import gov.nasa.jpf.vm.StackFrame; import gov.nasa.jpf.vm.ThreadInfo; import st...
27.857143
84
0.671282
4d6272c8a3705f2da14bd29e1361e2c111dd1875
2,180
package io.github.tundraclimate.finelib.builder; import org.bukkit.ChatColor; /** * build ColorString */ public final class ColorStringBuilder { private final StringBuilder builder; /** * set EarlyString * * @param string Early String */ public ColorStringBuilder(String string) { ...
22.947368
81
0.606881
955c27f4afb0a1555c29e737a6fd0f846adfe0e1
940
package com.github.chen0040.ml.glm.modelselection; import com.github.chen0040.ml.commons.tuples.TupleColumn; import java.util.ArrayList; import java.util.List; /** * Created by memeanalytics on 16/8/15. */ public class ModelSelectionSolution { private Exception error; private ModelSelectionProblem problem;...
21.860465
93
0.678723
0fffd1a15325569052b1b0daa9ee3fbeff1dfa98
1,539
/* * Copyright 2016 http://www.hswebframework.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
25.229508
117
0.7141
481469b6e178735153f23f635d648333bcf7c208
12,222
package org.orienteer.transponder; import static net.bytebuddy.matcher.ElementMatchers.*; import static org.orienteer.transponder.CommonUtils.*; import java.lang.annotation.Annotation; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.stream.Collect...
47.55642
188
0.759368
179dd6994e2ae7cfcb471a111431960c1b356973
1,006
package nl.m4jit.tradetoday.dataaccess.loanservice; import javax.persistence.*; import nl.m4jit.framework.sqlaccess.*; @Entity(name = "LoanItemType") @Table(name = "tblToolType") public class LoanItemTypeGateway extends AbstractGateway{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private ...
20.12
57
0.630219
413fcd6910caea03bcdfbf555e2982f6b78c6d83
6,494
package org.batfish.coordinator; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map.Entry; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import javax.ws.rs.ProcessingException; import javax.ws.rs.client.Client; import javax.ws.rs.client.Cl...
32.47
80
0.632276
fa82210a956fa42ca2db91426c391fe668671b63
4,739
package com.osintegrators.example.storm.main; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import backtype.storm.Config; import backtype.storm.topology.TopologyBuilder; import com.osintegrators.example.storm.bolt.MentionsThresholdBolt; import com.osintegrators.example.storm.bol...
33.373239
238
0.680523
c7e0387e5ad32f0bf53525bfec04793e2908d781
1,685
package ru.stqa.pft.mantis.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; public class PasswordChangeHelper extends HelperBase { public PasswordChangeHelper(ApplicationManager app) { super(app); } public void login(String username, String password) { wd...
29.561404
94
0.643917
28f0189470f4a1746dcbf9c983397f4d574dc896
3,194
/* * Copyright (C) 2019. Uber Technologies * * 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...
31.623762
100
0.72918
6df9dc64c27d0215afbfa2aaa7d392888d785bd8
954
package com.purbon.kafka.topology.actions.access.builders; import com.purbon.kafka.topology.BindingsBuilderProvider; import com.purbon.kafka.topology.model.users.Consumer; import java.util.List; public class ConsumerAclBindingsBuilder implements AclBindingsBuilder { private final String fullTopicName; private fi...
30.774194
87
0.785115
d90928f9847790a47bd781c97118e42b2a6a2e97
6,664
// 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.chrome.browser.physicalweb; import android.content.Context; import android.content.SharedPreferences; import android.preference.Pref...
40.387879
106
0.707233
514575131f01f02876106c295ada2f13efbc9ae1
4,720
package ca.bc.gov.open.ecrc.service; import ca.bc.gov.open.ecrc.configuration.EcrcProperties; import ca.bc.gov.open.ecrc.exception.EcrcServiceException; import ca.bc.gov.open.ecrc.exception.WebServiceStatusCodes; import ca.bc.gov.open.ecrc.model.*; import ca.bc.gov.open.ecrc.objects.*; import org.slf4j.Logger; import...
46.732673
179
0.828814
8b2c9b0a89fe37801ef41dc81bbfed32ff78185f
1,353
package com.google.android.gms.internal; import android.content.Context; import android.os.IBinder; import android.os.IInterface; import android.os.Looper; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.internal.zzq; import com.google.android.gms.common.internal.zzz; pu...
39.794118
187
0.740576
ddbd37a35521c945516f2e56d3a14242e8b6d466
1,520
package com.weir.quarkus.mybatis; import javax.cache.annotation.CachePut; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces...
26.666667
102
0.688158
23b0a66f4ae520c64457a2715d45bb2b10701ea9
75
package com.sense.geo.geosense.model.dynamic; public class DB_BASIC { }
10.714286
45
0.76
4fe8b1f5c0778a7564e15b33738c31f8319b50e2
1,198
package cz.tacr.elza.config.rules; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; /** * Settings for one description item * * */ public class TypeInfo { /** * Code of description item */ private String code; private Integer width; ...
19.639344
55
0.548414
af1e66570dd04b2483fdfa09640097c41057cc08
1,554
package com.exlibris.dps; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for getProducerAgentResponse complex type. * * <p>The following schema fragment s...
24.666667
110
0.648649
c95e5b16de394181b9876e9bef8defaac8d7878c
10,820
package com.example.payumoney_pro_unofficial; import android.app.Activity; import android.text.TextUtils; import android.util.Log; import android.webkit.WebView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.payu.base.models.ErrorResponse; import com.payu.base.models....
42.101167
146
0.636876
a5a0db8ae68f4171b646237d31f1026ffb838c88
204
package com.elastic.search.elasticsearch.dataobject.enums; /** * <p> * es 组合函数 * * @author niuzhiwei */ public enum SqlFunctionEnum { SUM, AVG, MIN, MAX, COUNT; SqlFunctionEnum() { } }
13.6
58
0.637255
a5025a47f3d3c31a6ad8141a3e72af248c293760
2,756
package com.github.markzhl.admin.controller.sys; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework...
39.942029
152
0.748911
0114e3214e8add10dcb3df7c4b09487f5fce6310
79,797
/* Leola Programming Language Author: Tony Sparks See license.txt */ package leola.vm; import static leola.vm.Opcodes.*; import java.util.ArrayList; import java.util.List; import leola.vm.Scope.ScopeType; import leola.vm.compiler.Bytecode; import leola.vm.compiler.Outer; import leola.vm.compiler.Outer.St...
45.676588
187
0.432447
6a91e15628b9b80e000f1aa3d534e93270b50f4f
678
package com.unipad.observer; public class BeenObser { private Object o; private int key; private IDataObserver obser; public BeenObser(Object o, int key, IDataObserver obser) { super(); this.o = o; this.key = key; this.obser = obser; } public BeenObser(Object o, int key) { super(); this...
17.842105
60
0.619469
f130802d0ee5c1c9835b11cb658bb9b8ba154569
86
/** * The request package * @author Liu Dong */ package me.gv7.woodpecker.requests;
17.2
35
0.697674
d241e3c6a53c01ad08ed39c93eb0f96480a7a4ab
1,247
/* * 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 pw.ian.albkit.util; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.inventory.ItemStack; /** * * @a...
23.092593
86
0.601443
0f3eb754e813d1f4abc0bc3dbffba0c2e7eb50a3
379
package com.example.androidthings.assistant.repository; import com.example.androidthings.assistant.firebase.callback.CallBack; import com.example.androidthings.assistant.model.MedidaBasura; public interface MedidaBasuraRepository { void crearMedidaBasura(String id, MedidaBasura medidaBasura, CallBack callback); ...
37.9
84
0.836412
f9b2e32633b9b58d08353db6b1d6f743a4462c14
1,005
package io.github.edwinmindcraft.apoli.common.condition.configuration; import com.mojang.serialization.Codec; import com.mojang.serialization.codecs.RecordCodecBuilder; import io.github.edwinmindcraft.apoli.api.IDynamicFeatureConfiguration; import io.github.edwinmindcraft.apoli.api.configuration.DoubleComparisonConfig...
55.833333
115
0.851741
9dcdbb98b9d386c9269f52a39a2e8c9aaffd3a54
316
package io.toolisticon.annotationconstraints.processor.test; import io.toolisticon.annotationconstraints.baseconstraints.testhelper.on.AnnotationAttributeConstrainedAnnotation; public class InvalidUsageOnNonAnnotationAttribute { @AnnotationAttributeConstrainedAnnotation public void method() { } }
22.571429
115
0.835443
930f3d18c7ea260452db85e468d7c48c413859a8
805
package wayoftime.bloodmagic.entity.goal; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.MobEntity; import net.minecraft.entity.ai.goal.NearestAttackableTargetGoal; import wayoftime.bloodmagic.potion.BloodMagicPotions; public class NearestAttackableDummyGoal<T extends LivingEntity> extends Near...
24.393939
102
0.816149
be7c0d6449d10c9a5cbe97a2b2af67ccb78c053e
1,894
package fragmentation.zhihu.fragment.second.child.child; import android.annotation.SuppressLint; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.zsp.fragmentation...
29.138462
132
0.712249
c24722c2af9f261aed85b00caba3568be4426405
245
import java.util.ArrayList; class Procedure extends Instruction{ FuncName p; ArrayList<Expression> arg; Procedure(FuncName p){ this.p=p; arg=new ArrayList<Expression>(); } void addArg(Expression e){ arg.add(e); } }
17.5
36
0.665306
6f003b337bf031e0d46128b3655d67b51793eed0
1,329
package com.github.salistito.finalreality.controller.phases; import com.github.salistito.finalreality.model.weapon.IWeapon; import com.github.salistito.finalreality.model.character.player.IPlayerCharacter; /** * StartGamePhase, the first phase of the game, where the user is making the set up of the game. * * @auth...
27.6875
96
0.69225
7747bc5c36344b4903256d7f6d85c28f94112053
5,398
package com.rideaustin.report; import static org.junit.Assert.assertEquals; import static org.mockito.Matchers.any; import static org.mockito.Mockito.when; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.Arrays; import java.util.List; import java.util.stream.Col...
42.84127
183
0.694887
c9e863059389399c68506f4888a45013c4c10cac
2,732
/* * Copyright 2020 American Express Travel Related Services Company, 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 requ...
44.064516
129
0.786969
783af047c8dfec1a64201f4a45036dc89ef002b6
757
package dao; import javax.ejb.Stateless; @Stateless(name = "Factoria") public class FactoriaDAO implements FactoriaDAOLocal { public static final int JPA = 0; protected FactoriaDAO factoria = null; public CocheDAO getCocheDAO() { return factoria.getCocheDAO(); } public UsuarioDAO getUsuarioDAO()...
18.463415
55
0.672391
7e5c0e542086e3b337aa144a7ee1ed4367eb57c0
9,608
package com.noti.sns.utility; import com.noti.sns.listitem.AlarmListItem; import com.noti.sns.listitem.HomeCardListItem; import com.noti.sns.schoolparsing.School; import com.noti.sns.schoolparsing.SchoolMenu; import com.noti.sns.schoolparsing.SchoolSchedule; import java.util.ArrayList; import java.util.Date; import j...
35.065693
211
0.45587
a9128ed706c13309695e26bc34d5c39989fc6ee8
386
package se.cygni.game.exception; import se.cygni.game.worldobject.SnakeHead; public class SnakeCollision extends CollisionException { private final SnakeHead collisionWith; public SnakeCollision(int position, SnakeHead head) { super(position); this.collisionWith = head; } public Sna...
21.444444
57
0.715026
0de8778c224d10c4464ab9a9390eabd4cc32945b
982
package com.middleware.common.web.controller; import org.springframework.web.bind.annotation.RequestMapping; import com.alibaba.fastjson.JSON; import com.middleware.common.model.PageInfo; import com.middleware.common.model.PageRestResultBuilder; import com.middleware.common.model.RestResult; import com.middleware.com...
32.733333
81
0.751527
07d41109729c865ac9ceeeb3fd15e65623766d3d
1,387
package com.example.msf.msf.API.Models; import com.google.gson.annotations.SerializedName; import java.io.Serializable; /** * Created by Thandile on 2016/07/27. */ public class Users implements Serializable { @SerializedName("id") private int id; @SerializedName("username") private String username...
19.263889
76
0.623648
ecb76787725a1b6382d0fc908e78b548d73ca92b
1,861
/* * Copyright (c) 2012 - 2015 Jadler contributors * This program is made available under the terms of the MIT License. */ package net.javacrumbs.jadler.stubbing.server.jdk; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import net.jadler.KeyValues; import net.jadler.Request;...
29.539683
103
0.658248
bdb3fd1b365dac3c8717da35b1fb4351d81795bf
404
package com.elastic.scientificenterelastic.mapper; import com.elastic.scientificenterelastic.domain.Magazine; import com.elastic.scientificenterelastic.dto.MagazineDTO; import org.mapstruct.Mapper; @Mapper(componentModel = "spring",uses = {ScientificAreaMapper.class,UserMapper.class}) public interface MagazineMapper ...
28.857143
87
0.816832