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
f19d7e46a509081276f89462d6128fddae595c7c
2,267
package com.romaway.common.protocol.hq; import com.romaway.common.protocol.AProtocolCoder; import com.romaway.common.protocol.ProtocolConstant; import com.romaway.common.protocol.ProtocolParserException; import com.romaway.common.protocol.coder.RequestCoder; import com.romaway.common.protocol.coder.ResponseDecoder; /...
32.385714
79
0.736215
936a93e7550ef23e5a9535e25d0eeb099b122c38
4,283
/* $Id$ * * 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")...
23.927374
87
0.670558
a7351098c678d4dd683fb39a85bcc0fcfa8b909b
136
package javase.data.array.container.inside; /** * @see java.util.ImmutableCollections */ public class ArraysParallelSortHelpers { }
15.111111
43
0.764706
5eb66d8149a6ae5de9eff73aa117584e29175a1f
303
package com.pattern.tutor.syntax.action.newfeature.java8.lambda.examples; import java.util.function.BinaryOperator; public class Combiner implements BinaryOperator<Tuple> { @Override public Tuple apply(Tuple t, Tuple u) { return new Tuple(t.isLastSpace(), t.getCounter() + u.getCounter()); } }
23.307692
73
0.762376
a1566fa8665b74a273f7ac1a34f4c62cfeebd0df
37,217
package org.smartregister.stock.activity; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.View; import androidx.annotation.NonNull; import com.rengwuxian.materialedittext.MaterialEditText; import com.vijay.jsonwizard.activities.JsonFormActivity; import com.vijay....
54.410819
181
0.515705
f510f8f95bc93907635db9358533a10cbaab93c9
2,471
/* * Copyright 2015-2018 Micro Focus International plc. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.hod.configuration; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.dat...
34.802817
115
0.74828
8f8f8ac5880e0bf1a65fa4ee14fe0ba7575dc69a
516
package examples.iris; import java.util.Arrays; class Iris { Iris(double[] components, IrisType type) { this.components = components; this.type = type; } private final double[] components; private final IrisType type; double[] getComponents() { return compone...
17.793103
68
0.577519
b1314b206a414fadff6b624104c946db9b180cb7
1,405
package com.qikemi.wechat.api.template.url; /** * * Create Date: 2014年9月19日 下午11:32:05 * Author XieXianbin<a.b@hotmail.com> * Source Repositories Address: <https://github.com/qikemi/open-wechat-sdk> */ public class URLUserGroupCreator { /** * 获取创建分组URL * @param ACCESS_TOKEN * @return */ ...
25.089286
97
0.686121
e96f2b708ed1e3395b096c9c5194bec90e92f4b2
551
package co.airy.mapping; import co.airy.mapping.model.Content; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.stereotype.Component; import java.util.List; @Component public class OutboundMapper { private final ObjectMapper objectMapper; public OutboundMapper() { this...
23.956522
79
0.738657
8e76dc4bfcba7c8d81e88925c65dc20649ccbbff
645
// Area Of Triangle /* package com.anand; public class Triangle { public static void main(String[] args) { float b=11, h=7, area; area = b*h/2; System.out.println("Area of Triangle: "+area); } } */ package com.anand; import java.util.Scanner; public class Triangle { public stat...
20.15625
57
0.586047
e4c352c9137ce34646185f9f43944345cedcd250
128
package com.nrg.kelly.events.game; /** * Created by Andrew on 9/09/2015. */ public class BossDeathEvent extends GameEvent{ }
16
46
0.726563
c30af3e6d3db118b435af4b81d924c8bc29ea84f
7,523
package demos; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import javafx.application.Application; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObj...
32.708696
148
0.724046
8a98a2dcaf0214d675d0a7912b0f2dd1a28d33d7
22,374
/** Generated Model - DO NOT CHANGE */ package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; /** Generated Model for I_Product * @author metasfresh (generated) */ @SuppressWarnings("javadoc") public class X_I_Product extends org.compiere.model.PO implemen...
22.807339
113
0.770537
d55d1371dbe38d68ef1af33b57d98283a4246f1b
4,322
package org.apereo.cas.uma.discovery; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.support.oauth.OAuth20ClaimTokenFormats; import org.apereo.cas.support.oauth.OAuth20Constants; import org.apereo.cas.support.oauth.OAuth20GrantTypes; import org.apereo.cas.util.CollectionUtils; i...
37.582609
124
0.772559
a34342efc93fd0e8b97187b7ba4476c8927888f5
6,113
package com.lzpeng.minimal.system.domain.entity; import cn.hutool.core.util.StrUtil; import com.fasterxml.jackson.annotation.JsonFormat; import com.lzpeng.minimal.common.core.annotation.Excel; import com.lzpeng.minimal.common.core.annotation.GenerateCode; import com.lzpeng.minimal.common.jpa.annotation.BooleanValue; i...
35.33526
160
0.67201
9ee613bdea8d6a7ee4757fc9198fca3d3e5b83dd
5,309
package com.hedera.cli.hedera.network; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.a...
34.699346
111
0.740629
b338d41f111f640ea12ce72334eefe3cb5c3943b
573
package com.junior.docfinder.business; import com.junior.docfinder.dao.DocFinderDAO; import com.junior.docfinder.dao.DocFinderDAOFactory; import com.junior.docfinder.entity.DocDescription; import com.junior.docfinder.filter.DocFilter; import java.util.List; public class DocFinder { public DocDescript...
30.157895
73
0.734729
551e3fc09456ce2b0770b6c805daf84cc1b85bb9
5,394
/** */ package Changes.impl; import Changes.AttributePropertyChange; import Changes.ChangesPackage; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; /** * <!-- begin-user-doc --> * An implementation of the model object '...
24.297297
134
0.663515
1b2f86160a200d5a314f3d361752608fb386335f
5,705
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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...
27.166667
115
0.699387
b7890375aadb984a5db7a63bb74c14d6fbc6f623
5,295
package se.claremont.taf.dbinteraction; import se.claremont.taf.core.logging.LogLevel; import se.claremont.taf.core.support.tableverification.CellMatchingType; import se.claremont.taf.core.support.tableverification.TableData; import se.claremont.taf.core.testcase.TestCase; import java.sql.*; import java.util.ArrayLis...
39.222222
155
0.595845
cc22a093d7059e53ee10b33b31d2858acfadb3f6
761
package software.amazon.awssdk.services.kms.jce.provider.test.signature.ec; import software.amazon.awssdk.services.kms.jce.provider.ec.KmsECKeyFactory; import software.amazon.awssdk.services.kms.jce.provider.signature.KmsSigningAlgorithm; import software.amazon.awssdk.services.kms.jce.provider.test.KeyIds; import soft...
33.086957
88
0.800263
7a8bc98e01f1e65b1d19ccff08de1e006c45db49
4,124
package com.allever.social.network.impl; import android.util.Log; import com.allever.social.network.NetResponse; import com.allever.social.network.NetService; import com.allever.social.network.listener.NetCallback; import com.allever.social.network.util.OkhttpUtil; import com.squareup.okhttp.Callback; import com.squa...
32.992
88
0.624636
ac3b9af19f5a2cc93babeeb899486ad6855a58e2
1,918
package com.competition.system.domain; import com.competition.common.annotation.Excel; import com.competition.common.core.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 报名对象 sys_competition_enroll * * @author competition * @...
18.990099
66
0.696038
72a5f356331144e609be002a51271b370a835200
6,391
/* * 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 ...
34.545946
118
0.625098
f799076b392f0cde23c6d42b85d895227194428e
361
package servlets.crudservlet; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; public interface Store<User> { boolean add(User user); boolean update(int id, User user); boolean delete(int id); User findById(int id); Map findAll(); AtomicInteger getNextId(); User user...
24.066667
51
0.720222
dc4cc49af58a41662bb05bd78e0979780cd4efb4
1,263
/** * Generic framework code included with * <a href="http://www.amazon.com/exec/obidos/tg/detail/-/1861007841/">Expert One-On-One J2EE Design and Development</a> * by Rod Johnson (Wrox, 2002). * This code is free to use and modify. * Please contact <a href="mailto:rod.johnson@interface21.com">rod.johnson@inter...
30.071429
120
0.752969
1ff2bb058d0cd5c17ae90251054585401c908b92
483
package com.kurlabo.backend.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.RequiredArgsConstructor; import javax.persistence.*; @Data @Entity @RequiredArgsConstructor @AllArgsConstructor public class Cart { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name =...
20.125
55
0.743271
04a08c6d4aaab78c89c237b2394e1bb788e39525
5,105
/* * Copyright (c) Open Source Strategies, Inc. * * Opentaps 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 option) any later version. * * Opentap...
33.149351
194
0.7095
9352119998146a1070c39ba2a229dcb4c5757721
282
package com.basis.java.gof23.proxy.dynamic.update; /** * 真实对象 * * @author lihongjian * @since 2020/4/27 */ public class RealUpdate implements IUpdate { @Override public boolean doUpdate(String userId) { System.out.println("更新成功"); return true; } }
17.625
50
0.648936
95f4fc9e4cfc849b59adb5b41bfabc613e22161e
726
package entities; import java.util.ArrayList; import java.util.Optional; /** * This class represents a storage database, which holds the private access information of the users */ public class UserDB { private ArrayList<User> users = new ArrayList<>(); public UserDB() { users.add(new User("user1@m...
25.928571
100
0.661157
c2fc2be8b19fc6a362b34523c307d3ac78286d7f
3,546
package apoc.export.csv; import apoc.meta.Meta; import java.util.regex.Matcher; public class CsvHeaderField { private final int index; private final String name; private final String type; private final boolean array; private final String idSpace; CsvHeaderField(int index, String name, Stri...
31.380531
114
0.630852
99163abcb2a721b23e51a857a48eadf113f59854
728
package club.blog.redis.service; import club.blog.redis.service.list.ListJedis; import club.blog.redis.service.map.MapJedis; import club.blog.redis.service.set.SetJedis; import club.blog.redis.service.string.StringJedis; import club.blog.redis.service.zset.ZSetJedis; import redis.clients.jedis.Jedis; public interface...
15.826087
50
0.597527
1114bf8aa3c88038ec91b1f82f38ff153cc2ddcd
655
/* ================================================================== * Eniware Open Source:Nikolai Manchev * Apache License 2.0 * ================================================================== */ package org.eniware.central.user.domain; /** * {@link UserAlert} option constants. * * @version 1.1 */ pub...
20.46875
69
0.522137
3f1fa706606b6f88d5fab36776a61fb5834ed809
1,328
package Chapter2; /** * * @author trophic */ public class BookOrder { //variables private String author ; private String title ; private double bookCost; private int bookQuantity; private double value; // blank constructor public BookOrder() { } //proper constructor publi...
20.121212
86
0.601657
807e3da57d07b9d7847e726db2d7843bbfd050f9
307
package estruturalDecorator; public class Principal { public static void main(String[] args) { Arvore a = new ArvoreNatal(); a = new Estrela(a); a = new Bola(a); a = new Bola(a); a = new Bola(a); a = new Bola(a); a = new Bola(a); a = new PiscaPisca(a); a.showEnfeites(); } }
14.619048
41
0.592834
7b45641951e9d582d79b568849e5e7ccd509242d
231
package com.pattern.thai.mvpapplication.services; import com.jess.arms.base.BaseService; /** * Created by ggttoo44 on 2017/5/9. */ public class DemoService extends BaseService { @Override public void init() { } }
15.4
49
0.701299
ae80e44f5fbcb59737df3749dab9eb5cfe3f5a4d
1,475
/* * * * Copyright 2018. AppDynamics LLC and its affiliates. * * All Rights Reserved. * * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * * The copyright notice above does not evidence any actual or intended publication of such source code. * */ package com.appdynamics.e...
30.729167
106
0.749153
aa117a9f7bdb7b94f6efd3ab9c7029b34328fc67
2,549
package de.faoc.sijadictionary.gui.controls; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.Paths; import java.util.List; import ...
25.49
95
0.715182
8706884416aff0f0d356a0811504e2f8e0a0546c
3,741
package com.neathorium.selector.specificity; import com.neathorium.selector.specificity.namespaces.Specificity; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import c...
79.595745
176
0.757819
472a77950b5c514278e4a01e130455d69f115ae4
1,647
package com.BAStudio.StopSellingEnchants; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import net.minecraft.entity.merchant.villager.VillagerProfession; import net.minecraft.entity.merchant.villager.VillagerTrades; import net.minecraft.item.Items; import net.minecraftforge.common.Tags; import net.minecraftforge.ev...
37.431818
104
0.639344
e43d5d2287d8796b9fb807f404477106f1ab262a
667
package com.perfectstorms.dagchat.repositories; import com.perfectstorms.dagchat.entities.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; ...
39.235294
88
0.770615
45783bd345580e6a25c5db05ef205044612ed85b
352
package com.lufax.jijin.fundation.constant; public enum DHBizType { PURCHASE("04"),//余额宝转入 APPLY("02"), FIXED_INVESTMENT("03"), //定投 REDEEM("10"),//余额宝实时转出 REDEEM_T1("11");//余额宝T+1 private String code; DHBizType(String code) { this.code = code; } public String getCode() ...
16
43
0.585227
f18ea61ba19b5115cf24b8733ff30ea2f41cf173
1,189
package files; import java.io.BufferedReader; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; public class Read { public static int lecturaLn(String path, int lineas) { try { Charset charset = Charset...
23.313725
62
0.608074
be7c56a9a73a2a46fdfc49861196c615549aa6aa
1,359
package eu.daiad.web.model.message; public class Announcement extends Message { protected int priority; private String content; private String link; public Announcement() { super(); } public Announcement(int id) { super(id); } @Override public EnumMessageType getType() { retu...
15.988235
41
0.525386
9a978d8c06bd0479ec1d9c80c6500743f76cd9ad
166
package com.rooney.poc.photos.models; /** * Model for business */ public class DirectObject { public String id; public int type; public String name; }
15.090909
37
0.680723
b5d02eae862e1b903d1fa59e455ad6467ac74415
1,388
package ru.job4j.start; /** * class StubInput - stub for StartUI. * * @author Dinis Saetgareev (dinis0086@mail.ru) * @version 1.0 * @since 15.03.2017 */ public class StubInput implements Input { /** * String answers - array answers. */ private String[] answers; /** * int position - arr...
23.133333
80
0.54755
dbf2693939c5dd6a43f2ebf8ffcb9db75164bae2
3,673
package com.fvstrange.eyeful.ui.adapter; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.drawable.BitmapDrawable; import android.support.v4.view.PagerAdapter; import android.view.View; import android.view.ViewGroup; import com.bumptech.glide.Glide; import com.bumptech....
26.810219
147
0.65859
618307e9a13334d5cda3ada88c0b37a9408d4d27
315
package pers.zc.activiti.model.viewmodels; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class TaskHistory { private int id; private String startTime; private String endTime; private String operator; private String buttonName; private String name; }
19.6875
42
0.75873
352adb4b78fc342f11684409b0098f881854f98b
3,639
package online.popopo.popopo.domain; import net.minecraft.server.v1_12_R1.*; import online.popopo.api.function.Function; import online.popopo.api.function.Variable; import online.popopo.api.wrapper.listener.ListenerManager; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.b...
29.112
91
0.619676
cf9d721019ac36194eda8bd338964ac307af5dbe
2,682
package PAS; //Destination Class //This class decribes the destinations available around the parking Layout import java.awt.Point; //Imported this library for the Point class public class Destination{ //Main class begins //Data memeber declaration private int destination...
28.231579
160
0.649142
410b914db5ff3580a8cc9fc5acac4af498223091
389
package com.wuhan.sp.common.msg.auth; import com.wuhan.sp.common.constant.RestCodeConstants; import com.wuhan.sp.common.msg.BaseResponse; /** * ${DESCRIPTION} * * @author admin * @create 2018-03 */ public class TokenForbiddenResponse extends BaseResponse { public TokenForbiddenResponse(String message) { ...
22.882353
63
0.745501
d02e117f85797e8ed4ec1966d05d0bd2c9934b67
1,087
package com.meandmyphone.chupacabraremote.util; import java.util.Locale; @SuppressWarnings("squid:S3776") public class TimeIntervalFormatter { private static final String TIMEFORMAT = "%d %s"; private TimeIntervalFormatter() {} public static String toStringInterval(long millis) { long seconds =...
33.96875
107
0.541858
b08fe14bfd7fb04e18d3789d1b34ec96afdf7ebf
1,179
package code; /** * 十进制转其他进制实现 查表法 &后位移 */ public class BinaryConversion { private int num; private int binary; public BinaryConversion(int num,int binary) { this.num = num; this.binary = binary; } public String convert(){ if(num == 0){ System.out.println("0...
19.983051
87
0.380831
de7784ba43c521bb2960b4e43df7eaa12e4c2e42
1,940
package com.flipkart.component.testing; import com.flipkart.component.testing.model.TestConfig; import com.flipkart.component.testing.model.rmq.RMQIndirectInput; import com.flipkart.component.testing.model.rmq.RMQObservation; import org.apache.qpid.server.Broker; import org.apache.qpid.server.BrokerOptions; /** * Lo...
31.290323
106
0.706701
f4cd8b8e447c826e7b272a5cc3c7312c26321fe1
2,590
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
31.585366
91
0.59112
f5323e4bc11f9e281038d24c8385d5d79cdb55d4
5,767
package com.codepath.apps.restclienttemplate.models; import android.content.Context; import android.text.format.DateUtils; import android.util.Log; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.ForeignKey; import androidx.room.Ignore; import androidx.room.PrimaryKey; import androi...
29.423469
146
0.63898
ca1b18a1a23a98da440c32b2df433c014785fb94
1,045
/* Copyright 2011 KUBO Hiroya (hiroya@cuc.ac.jp). 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...
25.487805
73
0.755024
7086aa4c79df85501c0981252336423793e1c76a
1,115
package org.philmaster.quizmaker.service; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.philmaster.quizmaker.exceptions.ResourceUnavailableException; import org.philmaster.quizmaker.exceptions.UnauthorizedActionException; import org.ph...
30.972222
89
0.8287
13dbfb694edb04880da6db65c733a42f5f477303
2,247
package com.example.demo.service; import com.example.demo.entity.Register; import com.example.demo.repository.RegisterReposirory; import lombok.extern.java.Log; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.regex.Pattern; @Log @Service ...
29.565789
89
0.599911
93deff9313c8f82869c002495d23796cff8be901
3,505
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
38.516484
126
0.70699
b88d6691d802a419c3e25398bddddbbb2b40c5f6
18,659
package com.sngur.learnkhasi.ui.fragments; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Build; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.fra...
44.42619
269
0.558819
d6a8106911d0a34ce31d1bdcdf7b5ff0cb8d3f9d
438
package com.jxufe.study.tinyspring.aop.support; import com.jxufe.study.tinyspring.aop.PointcutAdvisor; import org.aopalliance.aop.Advice; /** * hong.zheng * * @Date: 2019-09-03 09:43 **/ public class DefaultPointcutAdvisor implements PointcutAdvisor { private Advice advice; public DefaultPointcutAdvisor...
19.043478
64
0.700913
76b2a4c760ebb13d376c4d69c5c02c958cc533a1
201
package org.apache.stegocasket.stego.bitmap; public class Pixel { private int pixel; public Pixel(int p) { pixel = p; } public int getPixel() { return pixel; } }
14.357143
44
0.587065
a06651817f6e804502c2c4ee6fe6c8eb03976299
10,679
package com.networknt.rpc.router; import com.networknt.client.Http2Client; import com.networknt.exception.ClientException; import io.undertow.UndertowOptions; import io.undertow.client.ClientConnection; import io.undertow.client.ClientRequest; import io.undertow.client.ClientResponse; import io.undertow.util.Headers; ...
50.13615
822
0.677779
af63ac88f241a4a16d0c56ad9fdc8ae6e5e59a89
924
package de.trundicho.warpreader.view.ui; import android.content.res.ColorStateList; import android.graphics.Color; import android.text.Html; import android.widget.TextView; import de.trundicho.warp.reader.core.view.api.widgets.WarpTextWidget; import static android.text.Html.FROM_HTML_MODE_COMPACT; class WarpTextWid...
33
85
0.758658
5e7831d10344493c72ac5d574c3ea5ebedafde6c
2,923
package com.fia.igf.app.dominio; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Generati...
22.835938
78
0.760178
6d253f45ad20a621ef7afa7c3e2835872a852566
13,477
package de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator; import de.uni_mannheim.informatik.dws.melt.matching_data.GoldStandardCompleteness; import de.uni_mannheim.informatik.dws.melt.matching_data.SealsTrack; import de.uni_mannheim.informatik.dws.melt.matching_data.Track; import de.uni_mannheim.informatik....
43.195513
189
0.622839
7938b0957b11361f99a1acf2d9f076d854d42dd1
12,545
package com.swing.mainpage; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import java.awt.Color; import javax.swing.JLabel; import javax.swing.JButton; import javax.swing.SwingConstants; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import com.s...
28.254505
146
0.728577
98afc5997e374811bb49a4de9d9207bebfd3fbd4
1,523
/* * 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 madgik.exareme.worker.arm.storage.client; import madgik.exareme.utils.properties.AdpProperties; import madgik.exareme.worker....
32.404255
94
0.728168
1029f4d3aa05f5c331e04b7433f156ba959e3135
2,561
package org.recap.service; import org.jasig.cas.client.authentication.AttributePrincipal; import org.jasig.cas.client.validation.Assertion; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import org.recap.BaseTestCaseUT; import org.springframework.security.ca...
38.223881
121
0.717298
22d347fb3a2fecffdae9a47314025aa7824628c1
1,232
package com.bv.eidss; import java.util.List; import com.bv.eidss.model.BaseReference; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; public class BaseReferenceAdapter extends BaseAdapter { pr...
24.156863
87
0.680195
f94465f849031d5cdd2cd411d9ee9b6f0a4438bf
7,035
package sgf.gateway.model; import org.safehaus.uuid.UUID; import java.net.URI; import java.net.URISyntaxException; public class GatewayImpl extends AbstractPersistableEntity implements Gateway { private static final String INTERNAL_IDP_ENDPOINT_PATH = "/openid/provider.html"; private static final String IN...
25.95941
159
0.679033
965ee96e2ce0d1100495653a79615a5a3d2352b4
2,356
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.Arrays; import java.util.StringTokenizer; public class MainDRUNKEN_dbfldkfdbgml_bad { private static final long MAX = Long.MAX_VALUE / 10000; public static void main(S...
28.047619
93
0.581494
791ef9892f30388482a34aa99562a7285ba85143
1,924
package com.jayfella.sdk.sdk.list.project; import com.jayfella.sdk.config.RecentProjects; import com.jayfella.sdk.controller.list.ProjectListItem; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.control.Control; import javafx.scene.control.ListCell; import java.io.File; import java.io.I...
31.032258
112
0.632017
9858b858cd0525cad7169d50b6f3a72b12c7f19b
2,750
package org.crazyit.ui; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.SubMenu; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends Activity { /...
25.700935
51
0.652364
83c25f88b318c94bd0cf5ae3fdf8b054583eee97
3,633
/* * Copyright 2002-2011 Drew Noakes * * 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 applicab...
38.648936
97
0.721442
42e3fcda85f11783dc4b4bedcd5a59615044fb9a
414
package com.test.dynamic.presenter; import com.test.dynamic.presenter.base.BasePresenter; import com.test.dynamic.ui.common.BaseActivity; import com.test.dynamic.ui.view.IYesRecPacketFgView; /** * Created by Administrator on 2018-03-13. */ public class YesRecPacketFgPresent extends BasePresenter<IYesRecPacketFgVie...
25.875
79
0.777778
2f9b925a6888981994e580f9015e99a33d0e681f
44,434
package com.fasterxml.jackson.core.sym; import java.util.Arrays; import java.util.concurrent.atomic.AtomicReference; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.util.InternCache; /** * Replacement for <code>BytesToNameCanonicalizer</code> which aims at more localized * memory a...
35.042587
170
0.532273
4b0a2bf899ba622f95d385e84bf14cd8251bb68b
180
package cz.cvut.fel.tmr.dto.project; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ProjectUserDto { private Long user; private Long project; }
15
36
0.75
6b05b968f50922ed65e33892e8d0008de7758db1
262
public class EntityAlreadyExist extends A_BlockchainException { public EntityAlreadyExist(String s) { super(s); } /** * */ private static final long serialVersionUID = 1L; @Override public String toString() { return "EntityAlreadyPresent"; } }
15.411765
63
0.717557
0bf80cc650c45e4b1e4499d4cccc87afa7e31429
10,252
/* Copyright (c) 2002-2011 by XMLVM.org * * Project Info: http://www.xmlvm.org * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your o...
30.064516
142
0.696937
565d152c8e15ffccdb3cd1a32dc40b12a7a6c9c6
675
package com.paprika.modules.system.service.dto; import com.fasterxml.jackson.annotation.JsonInclude; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.sql.Timestamp; import java.util.List; /** * @author adam * @date 2019/5/13 * PS: You may say that I'm a dreamer.But I'm not the...
19.285714
63
0.718519
c44ab3c6f69a07c4660a2b7f23dcc2fac1beb1d3
194
package space.lunarconcerto.matcafe.pojo.event; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class NoticeEvent { private String noticeJson ; }
13.857143
47
0.793814
632372739bd8e85b37658adb341ecbd9b6c68197
2,474
/* * Copyright 2014 Dan Haywood * * 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...
32.12987
93
0.759903
525a82896e767ab41dafef6ba7500bc241ef6c37
34,245
/* * Copyright 2002-2018 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.409756
113
0.70787
266367ad80cae9e130235bd164e9cac8c053e1ed
8,090
package org.opensha.sha.earthquake.faultSysSolution.inversion.constraints.impl; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map; import org.opensha.sha.earthquake.faultSysSolution.inversion.constraints.InversionConstraint; import org.opensha.sha.faultSurface.FaultSect...
38.341232
174
0.71644
086f9934964ae079aa5fbc653cf969fd49c21a05
8,180
package org.xbib.time.format; import java.io.IOException; import java.io.Writer; import java.time.Period; import java.util.Locale; /** * Controls the printing and parsing of a time period to and from a string. * <p> * This class is the main API for printing and parsing used by most applications. * Instances of th...
31.461538
96
0.638753
e39b26625c668fa97de2f61566d567e5a7f7833d
3,606
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
36.06
109
0.689407
1a7c39717bc010929bca8813db72838d5ab5cba3
548
package com.kjetland.jackson.jsonSchema.testData.polymorphism3; public class Child32 extends Parent3 { public Integer child2int; @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Child32 child2 = (Ch...
23.826087
97
0.633212
6173dd6ba3a947762f70ecce60a6d69cdbdcf080
1,715
/* * Copyright 2021 QuiltMC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
31.759259
91
0.751603
8d4b11ddbf7f4880dd0d40debb2302512a300c26
2,627
package eu.simuline.m2latex.core; // TBD: make complete // TBD: specify what a category is: options, invocation, file interface /** * This enum represents categores of converters. * Two converters are in the same category, * if they can used in the same command setting in {@link Settings} * and, if used as a ma...
20.053435
72
0.66083
df022be33b530b33a097244ee66873d3afb5fa1a
2,949
/** * Copyright 2010 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...
32.406593
97
0.691421
f76315f56b414d5b7b06f8aceaf0f45cf3de12a0
944
package cn.leetcode.codes.simple83; import cn.leetcode.codes.CommonDataKt; import cn.leetcode.codes.PKt; import cn.leetcode.codes.common.ListNode; public class Simple83 { public static void main(String[] args) { ListNode node = CommonDataKt.createListNode(1,1,2); // ListNode re = new Simple83()...
19.265306
63
0.580508
e1c4d30faa76cb16e2eba04f6d8f6c312507c507
4,333
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Test; import java.awt.Color; public final class MixedColorProducerT...
25.046243
140
0.70967
ce29ad6bf6e83d462f2e9e13cc94f98bf1038425
13,239
package com.synopsys.integration.alert.mock; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.UUID; import org.mockito.Mockito; import com.synopsys.integration.alert.channe...
58.84
227
0.78805
d4fb6761e17d732cbbacf6bd7dff61f9464a4526
1,068
import java.util.List; public class MergeTwoSortedLists { /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class ListNode { int val; ListNode next; ListNode...
25.428571
65
0.447566
ab4eae38c043d789b3481b4938b0c25cd61e54a8
2,386
/* * Copyright (C) 2017 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...
35.088235
100
0.761526
360c000d15120f91d6da61b9bc5dd3513fb71118
4,161
/* * Copyright (c) 2017 Niek Vincent * * 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, merge, publis...
36.823009
93
0.687815
5e8b772ec491867db6c1f87b537dc0737aabe888
1,227
public public class Shivanshjoshi { public static void main(String[] args) { System.out.println(" PROFILE OF MASTER SHIVANSH JOSHI"); System.out.println("My name is Shivansh Joshi, and you can call me Shivi. I am from Yamuna Nagar, which is a city near the river Yamuna in Haryana, India. I am 19...
53.347826
202
0.602282
de98ad7cf9f059678a24157123b557a724196f97
1,071
package com.antonchar.userservice.service.dto; import lombok.Getter; import org.springframework.security.core.authority.AuthorityUtils; import com.antonchar.userservice.entity.User; public class CurrentUser extends org.springframework.security.core.userdetails.User { @Getter private final Long id; @Get...
24.340909
85
0.616246