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
10d345d7819e06e500145ec92208ca1b9eb0c204
3,233
/* * Copyright (C) 2013 salesforce.com, 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 ...
37.593023
144
0.718528
34bb67ad9b248fe06396fc377a8c320349d940b8
2,859
/* * This file is part of GroupManager, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
40.842857
95
0.736621
7717a043fe4ad2ed6b3d730c1e10487f47af7e83
2,651
package org.vaadin.maps.client.ui.featurecontainer; import com.google.gwt.event.dom.client.*; import com.vaadin.client.ComponentConnector; import com.vaadin.client.ConnectorHierarchyChangeEvent; import com.vaadin.client.MouseEventDetailsBuilder; import com.vaadin.shared.MouseEventDetails; import com.vaadin.shared.ui.C...
32.329268
116
0.696341
60eb5bad7d979bd8b42442a8285aa1c6ffb47dea
2,815
package com.tomaszpolanski.androidsandbox.commonandroid; import com.google.auto.value.AutoValue; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import polanski.option.Option; import static polanski.option.Option.ofObj; /** * Represents testable version of {@link android.con...
25.590909
97
0.580817
1dc4ff122c2ba8c92dc1ca8a289e50783e98b482
1,155
package net.somethingdreadful.MAL.api.response; import net.somethingdreadful.MAL.api.MALApi; import java.io.Serializable; import lombok.Getter; import lombok.Setter; /* * Base stub class for relations returned by API like side stories, sequels etc. * It contains both manga_id and anime_id to make it usable as res...
28.170732
97
0.665801
709c6d07a5efc5eee1e1d1556ebb6a14b8ac3d8c
580
package org.wlf.filedownloader.file_download.db_recorder; import org.wlf.filedownloader.base.Status; /** * record status * <br/> * 记录状态接口 * * @author wlf(Andy) * @email 411086563@qq.com */ public interface Record { /** * record status * * @param url download url * @param statu...
23.2
81
0.668966
ef3d759793662a7246fa084cd4af8a4163295068
7,353
/* * Copyright (c) 2008-2012, Hazel Bilisim Ltd. 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 requir...
32.973094
113
0.681083
2d8da94ec6da164383316d50866b76001ecfa8bd
9,688
/* * Copyright 2012-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
39.222672
110
0.831338
cbc2d01913b02b898fc86d6ee1b3ab507bc6fae3
4,028
/* * Copyright 2021 Tamás Balog * * 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.224
99
0.647468
e29d12256b8d13dbc6a2a85e72a6c5f2aa7dfcc2
8,566
/** * 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...
33.20155
192
0.616157
7c403ca49d3ac34c82160a0006823cc6272c1838
7,784
/* * Copyright 2021 Ben Manes. 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 applicab...
33.551724
100
0.667652
2b795f01d74ebf522d4e2747593816f65123b899
1,013
package embedded.kookmin.ac.kr.projectopensource; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { private static ...
31.65625
87
0.692991
d71a1d6d49ef9ecd150807e60f4a53b5efd7442f
1,066
package start.spring.jdbc.service; import org.springframework.stereotype.Service; import start.spring.jdbc.dao.UserDao; import start.spring.jdbc.entity.User; import javax.annotation.Resource; import java.util.List; /** * @auther: Meruem117 */ @Service public class UserService { @Resource private UserDao us...
19.740741
50
0.643527
a0c43f2224161b7175f00927ce52e8da9c898dd9
1,139
package problems.java.strings; public class CountAndSay { static String countAndSay(int n) { StringBuilder sb = new StringBuilder(); String s = String.valueOf(n); int count = 1; char lastChar = s.charAt(0); for(int i = 1; i < s.length(); ++i) { if(s.c...
20.709091
58
0.442493
2d98a9e360a37c402fbd5930fdd5ff894b6d3c61
16,284
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * 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.94702
119
0.617784
d61fa99f267df13917221708f55dec40d9ccf16c
2,036
/* * $Id: IntegrationTest.java,v 1.5 2016/12/10 20:55:18 oboehm Exp $ * * Copyright (c) 2010 by Oliver Boehm * * 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.o...
32.31746
79
0.723477
7f995d1b6793993ae09271ab233f88aad8cf3dfe
1,693
package org.test; import loon.LTrans; import loon.LTransition; import loon.Screen; import loon.action.sprite.MovieClip; import loon.action.sprite.Sprite; import loon.event.GameTouch; import loon.opengl.GLEx; import loon.utils.res.ResourceLocal; import loon.utils.timer.LTimerContext; public class MovieClipTest extends...
16.436893
71
0.702894
cd27748afc285dcb159dec3fd7f9fbaf8674f245
487
package io.wttech.markuply.engine.component.method.invoker; import lombok.RequiredArgsConstructor; import java.lang.reflect.Method; import java.util.List; @RequiredArgsConstructor(staticName = "of") public class ReflectiveInvoker<T> implements MethodInvoker<T> { private final Object targetInstance; private fina...
24.35
67
0.782341
006393caf069fd8facc74d345964db625827d183
2,919
package net.runelite.client.plugins.zulrah.overlays; import lombok.extern.slf4j.Slf4j; import net.runelite.api.Prayer; import net.runelite.client.plugins.zulrah.ZulrahPlugin; import net.runelite.client.plugins.zulrah.phase.ZulrahType; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import ...
27.537736
88
0.697157
6845d6a687cf68b63b59aa5fccb6fd26676a3105
3,417
package edu.jd.xyt.home; import edu.jd.xyt.common.CurrentUser; import edu.jd.xyt.common.Result; import edu.jd.xyt.common.Utils; import javax.servlet.ServletException; import javax.servlet.annotation.MultipartConfig; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import ja...
32.855769
123
0.604624
b4393dbb80a3de8a59de61f44145bf3868a2576e
3,686
/* * Copyright 2018 wladimirowichbiaran. * * 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 ...
43.880952
131
0.592241
f21d0d4e8a8fd47c43a65e5cb664b87fbe259bcf
2,093
package br.com.zup.bootcamp.client.response; import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Collection; // Carga intrínseca = 5/7 public class CardResponse { private final String id; private final LocalDateTime emitidoEm; private final String titular; private final Co...
31.712121
340
0.627329
bf179fff280896645bef57dc38053e3aa5ba0c86
397
package fr.xephi.authme.security.crypts.description; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Denotes a hashing algorithm that is restricted to the ASCII charset. */ @Target(ElementType.TYPE...
24.8125
71
0.808564
ef167a38afb63443fc1204bf616483fcfec0ec31
5,859
/** * Copyright (c) 2011 Perforce Software. All rights reserved. */ package com.perforce.p4java.tests.dev.unit.features112; import com.perforce.p4java.client.IClient; import com.perforce.p4java.impl.mapbased.rpc.RpcPropertyDefs; import com.perforce.p4java.option.server.ExportRecordsOptions; import com.perforce.p4ja...
34.464706
128
0.738351
6b5cca38f26dc204027bed1558507638e2a5a5d6
2,012
package UI; import static UI.MainUI.setUIFont; import java.awt.Color; import java.awt.Font; import org.jfree.chart.ChartPanel; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.CategoryAxis; import org.jfree.chart.axis.ValueAxis; import org.jfree.chart.plot.CategoryPlo...
32.451613
101
0.699304
6ead195a94ee477e7923cc5a4ade96a7cbe61a5b
2,383
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
24.822917
76
0.725556
a2fb9214b602efedb77feaae5c1530b461ee4ddd
2,762
package mchorse.blockbuster.recording; import mchorse.blockbuster.Blockbuster; import mchorse.blockbuster.recording.actions.AttackAction; import mchorse.blockbuster.recording.actions.EquipAction; import mchorse.blockbuster.recording.actions.SwipeAction; import net.minecraft.entity.player.EntityPlayer; import net.minec...
25.574074
78
0.601376
29da1b552199c83ac1e4c60e485a19a05e6e2cb5
154
package com.vacker.example.utils; public class Constants { private Constants() { //hiding this class } public static String KEY; }
14
33
0.649351
8553cb5b97d90dbc8517f52b65144501d4013eba
1,502
package velosurf.util; import org.apache.velocity.VelocityContext; import org.apache.velocity.tools.generic.RenderTool; import java.util.Collections; import java.util.regex.Matcher; import java.util.regex.Pattern; public class DynamicQueryBuilder { // Not needed // private static Pattern balancedQuotes = Patter...
28.339623
126
0.660453
545fabc9308d900cae57e80da561b1712ae4c65e
7,231
package munwin.tsv_kafka_producer; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.List; import java.util.Properties; import kafka.javaapi.producer.Producer; import kafka.producer.KeyedMessage; import kafka.producer.ProducerConfig; import org.apache.commo...
33.78972
111
0.701424
4da0b1316f4420af76dd21a2edff802b0492938d
1,016
package seedu.address.storage; import static org.junit.jupiter.api.Assertions.assertEquals; import java.nio.file.Path; import java.nio.file.Paths; import org.junit.jupiter.api.Test; import seedu.address.commons.util.JsonUtil; import seedu.address.model.Shortcut; import seedu.address.testutil.TypicalPersons; public...
35.034483
114
0.775591
72a7dabd06dec47adc6698a132d8942eb586ee44
482
package de.honoka.qqrobot.farm.database.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import de.honoka.qqrobot.farm.entity.system.ExceptionRecord; import org.apache.ibatis.annotations.Param; import java.util.List; /** * (ExceptionRecord)表数据库访问层 * * @author makejava * @since 2021-12-09 15:28:18 */...
26.777778
84
0.786307
22de30e67cfd80d87891eebc1b2ada5b8ca72d4f
2,831
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
32.170455
105
0.705051
b9f0b765cbf0ab9607bd29cc0ca9edfec361c945
2,451
package com.gschat; import com.gsrpc.Device; import com.gsrpc.KV; import java.nio.ByteBuffer; import com.gsrpc.Writer; import com.gsrpc.Reader; public class AttachmentAudio { private String key = ""; private String name = ""; private short duration = 0; public AttachmentAudio(){ } ...
17.507143
70
0.496124
e93135d3000c2e030dc9a814da468473c3bde662
3,479
package com.osh.rvs.form.equipment; import java.io.Serializable; import org.apache.struts.action.ActionForm; import framework.huiqing.bean.annotation.BeanField; import framework.huiqing.bean.annotation.FieldType; import framework.huiqing.common.util.CodeListUtils; /** * 设备工具备品调整记录 * * @author liuxb * */ publ...
24.5
109
0.742742
8f9756107b7abef47e7f3eafbaa426e5cb0edac0
6,706
package newbilius.com.online_comics_reader.Lists; import android.app.Activity; import android.os.AsyncTask; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; ...
40.890244
137
0.614673
22c402058619fc416be027f9b6eeab3052425a36
4,250
package com.example.fm; import static com.example.fm.ContactHelper.CREATION; import static com.example.fm.ContactHelper.MODIFICATION; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import com.example.tests.ContactData; import com.example.utils.SortedListOf; public clas...
29.513889
93
0.670118
714a336c729c8133c7f14b74516ac5031c4a5169
5,628
/* Class: CISC 3130 * Section: TY9 * EmplId: ****8149 * Name: Elena Tarasova */ import com.opencsv.CSVReader; import com.opencsv.CSVReaderBuilder; import com.opencsv.CSVWriter; import com.opencsv.exceptions.CsvException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java...
33.301775
108
0.652274
628e277b0a456d9f43610faeb2b0f1d43d8569b9
4,982
package fun.maxs.wheel.util; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.util.Objects; /** * 比较工具 * @author maxs */ public class CompareUtils { private CompareUtils() { } /** * 非空校验 */ private static boo...
22.958525
74
0.476917
893d409a2fcc6db4d59943633c676a4b1bf4f11c
433
package co.yiiu.plugin; import co.yiiu.domain.Model; import freemarker.template.TemplateException; import io.undertow.server.HttpServerExchange; import java.io.IOException; /** * Created by tomoya at 2019/4/9 * <p> * 视图解析插件,这个插件还要拆,要抽出一个接口定义视图的渲染方法 */ public interface ViewResolvePlugin extends IPlugin { voi...
24.055556
117
0.792148
1e422296f9795ccd2a2d38b3f269078a987d222c
2,170
/** * Copyright (c) 2015-present, Horcrux. * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. */ package abi14_0_0.host.exp.exponent.modules.api.components.svg; import abi14_0_0.com.facebook.react.ReactPacka...
39.454545
89
0.759447
cd07ba6b3cd9beabe65dadf68d11b33abc0bfcf4
16,771
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 license...
20.603194
936
0.800489
705670f0894b3e99530c29ea4fd4595ac48e7eee
173
package org.polkadot.types.primitive; /** * An 8-bit signed integer */ public class I8 extends Int { public I8(Object value) { super(value, 8, true); } }
15.727273
37
0.624277
a632b34d74efda24a433489422b279d3c930b9e9
5,034
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed un...
33.785235
123
0.701828
89a339ff426b294107c80b45bfbdb92fdea0912e
5,179
/* * Copyright (c) 2008-2012, Matthias Mann * * 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...
34.758389
110
0.68855
9ae6b8b3c2e06120b7cbcbc4e3c74c6e39cc8c19
4,226
/** * Copyright 2018 eussence.com and contributors * 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 ...
24.011364
114
0.689541
281085ba50b3a36659cdb4b004a4eb2690338ecf
2,343
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
39.711864
99
0.711908
66ef837465dd03a5a57b068477636368b4c096ff
616
package com.battlelancer.seriesguide.settings; import android.content.Context; import android.preference.PreferenceManager; /** * Settings related to the Now tab. */ public class NowSettings { public static final String KEY_DISPLAY_RELEASED_TODAY = "com.battlelancer.seriesguide.now.releasedtoday"; ...
28
70
0.733766
4ce72fa7ad670f7a1ba86f68479a53291c2d8a2c
10,906
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.eventhubs.implementation; import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.AmqpLink; import com.azure.core.amqp.CBSNode; import com.azure.core.amqp.Retry; import com.azur...
43.106719
198
0.643316
3b6e2851815d8cc43aa0d93392240a0beaa192bc
363
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package packages; /** * * @author Matias */ public class Console { public static void log(Object log){ ...
20.166667
101
0.688705
a4701e4b2ed2ab61cb77de7ef07ab45f2daafdca
5,431
package seedu.clinic.model.warehouse; import static java.util.Objects.requireNonNull; import static seedu.clinic.commons.util.CollectionUtil.requireAllNonNull; import java.util.Iterator; import java.util.List; import java.util.Optional; import javafx.collections.FXCollections; import javafx.collections.ObservableLis...
35.266234
120
0.679249
6f40fa52b1c17dcd5f227fdfb99a1abf7cc41100
390
public class LogicOperation { public static void main(String args[]) { boolean a = true; boolean b = false; System.out.println("a && b = " + (a && b)); System.out.println("a || b = " + (a || b)); System.out.println("!a = " + (!a)); ...
35.454545
59
0.405128
b9102d8905e248085bba717bb5c7415389c69bff
3,681
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
29.448
78
0.545776
81dd99d88e12bf2d6e0e9c61c358214c7b6d7864
1,352
package ch.awae.datasocket; import java.io.IOException; import java.io.Serializable; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.function.Function; class ServersideImpl extends BaseSocket { private final ServerImpl server; private final TypedMapping<Function<Serializ...
35.578947
168
0.693787
ceb8e1f535d416148b9a9fcdad08a972755f3dcd
1,141
package nrt.boot.prefs; import org.nutz.dao.entity.annotation.ColDefine; import org.nutz.dao.entity.annotation.ColType; import org.nutz.dao.entity.annotation.Column; import org.nutz.dao.entity.annotation.Name; import org.nutz.dao.entity.annotation.Table; @Table("core_preferences") public class Preference { @Name @Co...
21.942308
76
0.744084
edd47e778e02d8e82b501408f1c159586799f468
937
package dm.audiostreamerdemo.network; public class Like { String act; String al; String from; String hash; String object; String wall; public String getAct() { return act; } public void setAct(String act) { this.act = act; } public String getAl() { ...
15.616667
42
0.543223
e3a26e5368b018e39a7a02c08f55618132d179d0
546
package org.cybcode.stix.core.compiler; import org.cybcode.stix.api.StiXtractor; import org.cybcode.stix.api.StiXtractor.Parameter; public class SlotLink { public final RegularParserSlot target; public final StiXtractor.Parameter<?> parameter; public SlotLink(RegularParserSlot target, Parameter<?> param...
24.818182
67
0.71978
43ff228353614e288fd632606c8f21e8b49d8e6d
450
package com.javaeedev.util; import org.junit.Test; import static org.junit.Assert.assertEquals; public class GZipUtilTest { @Test public void testGzipAndUngzip() { final String text = "abcdefg \r\n hijklmn \t opqrst \u3000 uvwxyz"; byte[] data = text.getBytes(); byte[] gzipped = GZip...
23.684211
75
0.66
a3530af264f7b0e9a16773f9669c95eeb3d7a28d
1,270
package data_structures.linked_list; public class Main { private static int NUMBER_OF_NODES = 24; public static void main(String[] args) { // testing reverse linked list function Node head1 = new Node(); Node next1 = new Node(); head1.next = next1; int i = 0; w...
28.863636
60
0.571654
d57eb5f8b31cf70baab3c83b166f71f4310b1439
540
import java.util.*; public class Wildcards{ public static void main(String[] args){ List<String> ls = new ArrayList(); ls.add("String1"); ls.add("String2"); print(ls); Collection<Planet> cp = new ArrayList(); cp.add(new Planet("Mercury", 0.06)); ...
22.5
56
0.518519
77012d37baa605600a7158ce8a5818ecb92c6fb5
243
package chkui.springcore.example.hybrid.profile.service.konami; import chkui.springcore.example.hybrid.profile.service.Konami; public class Castlevania implements Konami { @Override public String getName() { return "Castlevania"; } }
18.692308
63
0.786008
0217273c3e3fea068bc0eed85acc9d9b2b089ec8
1,745
// automatically generated by the FlatBuffers compiler, do not modify package ppx; import java.nio.*; import java.lang.*; import java.util.*; import com.google.flatbuffers.*; @SuppressWarnings("unused") public final class Normal extends Table { public static Normal getRootAsNormal(ByteBuffer _bb) { return getRootA...
43.625
179
0.724355
3ff28a1b80a313cf5adbfe876e8153aea85c8111
570
package com.liushaoming.jseckill.backend.dto; import java.io.Serializable; public class SeckillMsgBody implements Serializable { private static final long serialVersionUID = -4206751408398568444L; private long seckillId; private long userPhone; public long getSeckillId() { return seckillId; ...
24.782609
71
0.694737
74da0da00977b1031a2546eb51dca5f0a37933cc
1,233
package com.dnsimple.data; import java.time.OffsetDateTime; public class DomainPush { private final Long id; private final Long domainId; private final Long contactId; private final Long accountId; private final OffsetDateTime acceptedAt; private final OffsetDateTime createdAt; private fin...
23.711538
158
0.660178
715f7c90372100bfcb761c5ad0ebcd842eb7354f
30,911
package astro.tool.box.module; import static astro.tool.box.function.NumericFunctions.*; import static astro.tool.box.function.PhotometricFunctions.*; import static astro.tool.box.module.ModuleHelper.*; import static astro.tool.box.module.tab.SettingsTab.*; import astro.tool.box.container.BatchResult; import as...
49.696141
201
0.618874
4cd4415424ec077c43a85588c0979606a0004391
10,712
/* Glazed Lists (c) 2003-2006 */ /* http://publicobject.com/glazedlists/ publicobject.com,*/ /* O'Dell Engineering Ltd.*/ package ca.odell.glazedlists.io; // the core Glazed Lists packages import ca...
38.394265
155
0.628267
2717aaef97c3f7541aaa3ef92e9f5b99457574cc
2,215
package vuthanhvt.com.demogalaho; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.ArrayList; import java.util.List; /** * Create by ...
27.012195
85
0.639278
be373a453f58c876a202c84e002d0fdffb7e4762
1,114
package AlgoExSolutions.Hard.LongestCommonSubsequence; import java.util.*; /** * * Longest Common Subsequence */ class Program { /** * * TC: O(mn) * * SC: O(mn) */ public static List<Character> longestCommonSubsequence(String str1, String str2) { // Write your code here. int[][] lcs = new int[s...
25.906977
88
0.528725
2eb4fca380df750ab82d626ee685719c05233aa6
2,013
package com.stupidtree.hita.views.pullextend; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.ViewParent; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.recyclerview.widget.RecyclerView; public class mRec...
30.969231
100
0.60159
22c2bec61f1460fb4eab781ef8b661e3ef0c69e6
4,133
package won.bot.valueflows.action; import org.apache.commons.lang3.StringUtils; import org.apache.jena.query.Dataset; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import won.bot.framework.eventbot.EventListenerContext; import won.bot.framework.eventbot.action.EventBotActionUtils; import won.bot.framework.e...
58.211268
129
0.765304
fc1159f821b97bb98356a92d2debc102d6474efc
7,418
package pw.mihou.alisa.modules.database; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.Filters; import com.mongodb.client.model.ReplaceOptions; import com.mongodb.client.model.Updates; import com.mongodb.client.result.DeleteResult; import com.mongodb...
35.156398
130
0.63265
66c938e9a57ca02f162ee3720dece1c3d775c837
3,653
package com.ngdesk.channels.sms; import javax.validation.Valid; import javax.validation.constraints.Email; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; import javax.validation.constraints.Size; import javax.validation.constraints.Pattern.Flag; import com.fasterxml.jackson....
31.491379
212
0.740761
353761b1d953628bee18893fb45bf82bd1447cd6
230
package com.storedobject.chart.encoder; import com.storedobject.chart.coordinate_system.YAxis; public class YAxisEncoder extends AxisEncoder { public YAxisEncoder() { super("yAxis", YAxis.YAxisWrapper.class); } }
20.909091
55
0.752174
d11928788b8b666e6a58f8d8e2310ba163db974d
1,252
package com.udacity.vehicles.conf; import java.util.Collections; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.do...
32.947368
94
0.78115
75f64aaa2b2d693aa98e54ab22ebf5d96d961077
3,697
package runner; import java.util.List; import constants.KidsFriendlyStatus; import constants.UserType; import controllers.BookmarkController; import entities.Bookmark; import entities.User; import partner.Shareable; public class View { public static void browse(User user, List<List<Bookmark>> bookmarks){ Syste...
29.34127
113
0.695699
7e4f5543f6d968d1fc57ca46298ed8bcc07b94b6
2,778
package dev.sukanya.gamecourtbooking.service.impls; import dev.sukanya.gamecourtbooking.dto.game.GameDTO; import dev.sukanya.gamecourtbooking.exceptions.GameAlreadyExistsException; import dev.sukanya.gamecourtbooking.model.courts.Game; import dev.sukanya.gamecourtbooking.repository.GameRepository; import dev.sukanya.g...
30.866667
74
0.708063
dd4ac37afbbda0df37978bb458fbe86c2842e043
225
package com.quorum.tessera.discovery.internal; import com.quorum.tessera.discovery.NetworkStore; public class NetworkStoreProvider { public static NetworkStore provider() { return DefaultNetworkStore.INSTANCE; } }
20.454545
49
0.795556
6fb9ce9a2884c2a00117f7a0eb93bf2b24f922e5
1,396
package JavaAdvanced.DefiningClasses.Exercise.CarSalesman_05; public class Car { private String model; private Engine engine; private int weight; private String color; public Car(String model, Engine engine){ this(model, engine,-1, "n/a"); } public Car(String model, Engine engine...
25.381818
78
0.597421
f836f88b0cfa74b15e3d48caf8a3444092311296
12,032
package com.bullhornsdk.data.model.entity.file; import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; import com.bullhornsdk.data.model.entity.core.standard.CorporationDepartment; import com.bullhornsdk.data.model.entity.core.type.AbstractEntity; import com.bullhornsdk.data.model.entity.core.type.Query...
31.010309
139
0.649518
0991decd206c9c0905b67b23faf93398f7d8424b
2,185
package com.linghangcloud.android; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.Button; import com.onegravity.rteditor.RTEditText; import com.onegravity.rteditor.RTManag...
36.416667
98
0.686957
9805a225ede4e3618afe8e2b2d429bc66113dbd3
4,522
/* * MIT License * * Copyright (c) 2017 Frederik Ar. Mikkelsen * * 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,...
42.261682
131
0.666962
cb097d3e1032b9ab2ba433d8c8f504e8d29629c4
6,939
package com.uet.beman.fragment; import android.app.Activity; import android.content.ContentResolver; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.ContactsContract; import android.support.v4.app.Fragment; import android.view.Lay...
38.55
212
0.657155
d308461bfe4088a220b51655c835f0b53b89e7df
1,998
package com.github.mikephil.charting.utils; import android.content.Context; import android.graphics.Color; import java.util.ArrayList; import java.util.Collection; public class MulticolorDrawingSpec extends DrawingSpec { private ArrayList<Integer> mColors = new ArrayList<Integer>(); // 3D colors private Array...
23.505882
68
0.63964
99a2e1484ec10de47193cd89417f01b2f48cd2ec
13,224
package com.bdoemu.gameserver.model.actions.templates; import com.bdoemu.commons.io.FileBinaryReader; import com.bdoemu.gameserver.model.actions.enums.*; import com.bdoemu.gameserver.model.actions.templates.frameevents.FrameEvent; import com.bdoemu.gameserver.model.creature.Creature; import org.slf4j.Logger; import or...
32.097087
141
0.626664
1b6118a9598b5cee89b4f3554245810747dc37e7
309
/* * Copyright 2002 Felix Pahl. All rights reserved. * Use is subject to license terms. */ package info.joriki.sfnt; public class EncodingPair { public int code; public int glyphIndex; public EncodingPair (int code,int glyphIndex) { this.code = code; this.glyphIndex = glyphIndex; } }
16.263158
50
0.695793
e69d05428a9fede1a574799c9dc536f4336da139
655
/** * Copyright (C) 2017 Baidu, Inc. All Rights Reserved. */ package io.iamhaha.cms.module.service; import io.iamhaha.cms.model.user.Student; import io.iamhaha.cms.module.model.request.StudentCreateReq; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * Student service i...
19.848485
64
0.723664
1987474077596337996c4f4e9b2eff93d94f74be
2,919
package com.gymnast.view.personal.activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.CheckBox; import android.widget.ImageView; import android.widget.Text...
35.597561
99
0.67112
3197e01c6df674b7b663167ca045f64e25ba0dc2
9,238
package nl.bos.utils; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.image.Image; import javafx.scene.layout.GridPane; import javafx.scene.layout.Priority; import javafx.stage.Modality; import javafx.sta...
39.478632
123
0.660533
cb192b8408650457b63a5f1503960a9bcc2386de
3,688
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.servicebus.security; import java.time.Instant; import java.util.concurrent.CompletableFuture; import com.microsoft.azure.servicebus.security.AzureActiveDirectoryTokenProvider.AuthenticationCallb...
53.449275
147
0.754067
847f718a96fa853ac233af5ae61ebd7a0261d11a
10,868
package gov.nih.nci.evs.owl.visitor; import java.util.Set; import org.semanticweb.owlapi.model.OWLAnnotation; import org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom; import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; impo...
34.833333
80
0.815237
dc9b2b3cc885213e45b0ec1baf431de40043c4fe
5,484
package mercy.digital.transfer.domain; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.field.ForeignCollectionField; import com.j256.ormlite.table.DatabaseTable; import lombok.Generated; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.Basic; import...
30.636872
126
0.697119
576d69de0b9248dc83fc9f77668960d1f70cf5e0
408
package trivia; import org.javalite.activejdbc.Base; import trivia.User; /** * Hello world! * */ public class App { public static void main( String[] args ) { Base.open("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/trivia", "root", "muva"); User u = new User(); u.set("username", "Marad...
17.73913
90
0.580882
40ed8020b60fd6ab0a54615e2bff55f79b931803
1,147
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 单个主记录+对应资金明细信息模型 * * @author auto create * @since 1.0, 2016-10-26 17:31:15 */ public class SingleFundDetailItemAOP...
24.404255
92
0.79163
a3cdd16d565e27ddc1ee3b987494bceb8aff87e0
1,124
public class Fig4_4 { public static void main (String[] args) { mainQ(Integer.parseInt(args[0]), Integer.parseInt(args[1])); } public static int mainQ(int n, int m){ assert (m>0); assert (n>0); int i = n; int t = 0; int h = n/m; /* int h = 0; */ /* while(m*h<=n){ */ /*...
19.37931
220
0.402135
2e736337057c3d86dc9b7f0692e3978bfd4df3c0
603
package fr.aumgn.diamondrush.stage; import org.bukkit.ChatColor; import fr.aumgn.diamondrush.DiamondRush; public class TransitionStage extends StaticStage { protected Stage nextStage; private int duration; public TransitionStage(DiamondRush dr, Stage nextStage, int duration) { super(dr); ...
24.12
92
0.68325
91e1d59dd328e84204f4708835f2e2295dac1102
1,535
package co.featureflags.spring; import co.featureflags.commons.model.FFCUser; import co.featureflags.server.exterior.FFCClient; import co.featureflags.server.integrations.FFCUserContextHolder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.Filter; import javax.servlet.FilterChain; impor...
33.369565
113
0.712052
6ef7d8468de9d5bbc07d308e850adc012434abe2
2,331
package org.packt.microservice.hrs.controller; import java.sql.Date; import java.util.Arrays; import java.util.List; import org.packt.microservice.hrs.model.data.Employee; import org.packt.microservice.hrs.service.EmployeeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
28.084337
85
0.751609
553899de4781224751eb9364812cf6deedc9d051
2,328
package com.dxj.common.constant; /** * 常量 * * @author Sinkiang */ public interface CommonConstant { /** * 用户默认头像 */ String USER_DEFAULT_AVATAR = "https://i.loli.net/2019/04/28/5cc5a71a6e3b6.png"; /** * 用户正常状态 */ Integer USER_STATUS_NORMAL = 0; /** * 用户禁用状态 */ ...
12.933333
83
0.462199
2611855b3fb657b895a4359d0067c806c6fda23c
12,324
/* * Copyright 2004-2009 the Seasar Foundation and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
25.515528
83
0.533187
0ea1dbdd69890b6f3048b51746ab25ca12eeddf8
284
/** * */ package author.view.util.undo; import game_data.Sprite; /** * @author Cleveland Thompson V (ct168) * */ public interface IRevertManagerInternal { public void addHistory(GameChangeEvent gameChangeEvent); public void addFuture(GameChangeEvent gameChangeEvent); }
14.947368
57
0.742958