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
9489c001c9e851e0e1bef004c09cb6415b1737ef
1,326
package io.swagger.v3.jaxrs2.resources; import io.swagger.v3.jaxrs2.resources.model.User; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.Content; import io.swagger.v3.oas.annotations.media.ExampleObject; import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3...
32.341463
103
0.580694
630d1490b5ddf56c980ff5e3de705a1b336eb165
168
package codegenTest; /** * @author VISTALL * @since 13:31/10.01.13 */ public class IoTest extends MainRunClassTestCase { public void testFileExistsTest() { } }
12
48
0.702381
6cd03df1e872a1337594ce80162d85eefb16abc0
13,213
/* * QCRI, NADEEF LICENSE * NADEEF is an extensible, generalized and easy-to-deploy data cleaning platform built at QCRI. * NADEEF means "Clean" in Arabic * * Copyright (c) 2011-2013, Qatar Foundation for Education, Science and Community Development (on * behalf of Qatar Computing Research Institute) having...
32.868159
98
0.554227
ba5eef3b7b2cf1289cac9c152a841522c7f7a90f
6,189
/* * Copyright (c) 2009-2010 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
32.403141
101
0.594119
411b01c0154919ba85277231ead65a903c338555
5,152
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * 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...
48.149533
153
0.720885
80686f04bf1de8e4dbce8cc617190281788c7118
3,261
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; public interface CatchPokemonOutProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.CatchPokemonOutProto) com.google.protobuf.MessageOrBuilder { /** * <code...
30.764151
88
0.708372
3a494f04a2379d2266abaf1ac4356f545747f2d5
2,727
package com.samourai.wallet.util; import android.content.Context; import com.samourai.wallet.SamouraiWallet; public class PushTx { private static PushTx instance = null; private static Context context = null; private PushTx() { ; } public static PushTx getInstance(Context ctx) { context =...
27.27
144
0.587459
36072583bbe4de676717c2e863b519fa7cf43b9e
1,284
package protocolsupport.protocol.connection; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import lombok.AllArgsConstructor; import net.md_5.bungee.protocol.DefinedPacket; import java.net.InetSocketAddress; @AllArgsConstructor p...
31.317073
71
0.696262
a9298c4bca0d3fdef8c4a715a50fe356c8832f76
1,132
package com.dawn.jat.illuminati.login.controller; import static org.junit.jupiter.api.Assertions.assertEquals; import com.dawn.jat.illuminati.login.mock.MockAuthentication; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.S...
29.789474
66
0.745583
51f5bf9fee31eeedff80b1f5169bb2a6f85410c7
4,039
package com.quark.datastream.runtime.common.job; import java.io.Serializable; import java.util.Date; /** * 网关与服务器通用返回类型 * * @author WangHao 2018年8月22日 */ public class RuntimeInst implements Serializable { private static final long serialVersionUID = -8638540542514255555L; private Long id; private Long data...
16.418699
68
0.73335
39f422f274b307b705a29b3c01d4d6eff68073f3
9,360
/* * Copyright 2017 Dominik Helm * * 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 ...
28.108108
148
0.644551
f48cc0ca3b2e60af09beff1333eb0e382c4504de
8,282
package com.senzing.datagen; import com.senzing.cmdline.CommandLineOption; import com.senzing.cmdline.ParameterProcessor; import java.io.File; import java.util.*; import static java.util.Collections.*; enum DataGeneratorOption implements CommandLineOption<DataGeneratorOption, DataGeneratorOption> { HELP("-hel...
31.371212
77
0.653707
94262bfe24583900ec124faa7b35406925954484
10,344
package com.icthh.xm.tmf.ms.communication.rules; import static com.icthh.xm.tmf.ms.communication.domain.MessageResponse.Status.FAILED; import static com.icthh.xm.tmf.ms.communication.domain.MessageResponse.Status.SUCCESS; import static com.icthh.xm.tmf.ms.communication.messaging.handler.SmppMessagingHandler.ERROR_BUSI...
39.632184
118
0.734242
a2e78e5c801a8a6f8238c1de1b31c8f160340af4
1,247
package com.alibaba.rocketmq.broker.transaction.jdbc; public class JDBCTransactionStoreConfig { private String jdbcDriverClass = "com.mysql.jdbc.Driver"; private String jdbcURL = "jdbc:mysql://localhost:3306/rocketmq?useUnicode=true&characterEncoding=UTF-8"; private String jdbcUser = "root"; private St...
21.5
108
0.668805
c3edf197a2f16b112fec25ace56ec404cdb11361
1,616
package works.rational.service; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.security.core.userdetails.UserDetails; import org.sprin...
26.491803
71
0.762995
54eaa4ce3cf09d4cf835356404f3e7ebeb461f15
2,246
package com.sofkau.academicsystembackend.usecases.listactivetraining; import com.sofkau.academicsystembackend.collections.program.Program; import com.sofkau.academicsystembackend.collections.program.Time; import com.sofkau.academicsystembackend.models.training.TrainingDTO; import com.sofkau.academicsystembackend.repo...
44.039216
166
0.725735
8c0b658c869bc37d2c42bae68e2a01e3cfb95726
1,528
package org.charts.dataviewer.example; import org.charts.dataviewer.example.factory.DataViewerFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DataViewerExample { private static final Logger log = LoggerFactory.getLogger(DataViewerExample.class); public static void main(String[] args...
41.297297
90
0.788613
336601975cede42240d74722d8e8c36014621b8e
422
module org.pcap4j.packetfactory.propertiesbased { requires org.pcap4j.core; requires java.sql; // opens this package so that PacketFactoryPropertiesLoader can load packet-factory.properties opens org.pcap4j.packet.factory.propertiesbased; provides org.pcap4j.packet.factory.PacketFactoryBinderProvider with ...
38.363636
100
0.829384
0412f1e8478bc408ad2c6a05c03e97b74fa337ea
2,387
package request; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ ...
18.083333
58
0.553833
92f4f11d67a3eb13a604fa63fcc906dfb399358c
4,557
package org.tigris.juxy.util; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.FactoryConfigurationError; import javax.xm...
29.784314
95
0.703314
cb5a886a100f52e17ba8c02befe9675526a20e75
939
package com.nzt.gdx.test.api.math; import com.badlogic.gdx.math.Circle; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.nzt.gdx.math.shapes.Segment; public class AbstractMathTest { public static Circle c(float radius) { return new Circle(0, 0, radius); } ...
24.076923
76
0.637913
9062b2767270e68cc07bb255ccea78001fff42eb
2,423
package com.webcheckers.ui; import com.webcheckers.appl.GameManager; import com.webcheckers.model.CheckersGame; import com.webcheckers.model.Player; import com.webcheckers.util.Message; import java.util.Objects; import java.util.logging.Logger; import com.google.gson.Gson; import spark.Request; import spark.Response...
35.632353
126
0.690879
806608c196b277f1fc10a85ff2da0e3fbddbc933
2,454
package com.inHere.entity; import java.util.Date; import java.util.HashMap; import java.util.Map; public class Comment { private Integer id;// 实体编号 private Integer extType;// 栏目类别 private Integer recordId;// 记录编号 private String content;// 评论内容 private String userId;// 用户编号 private String name;// 匿名 private Da...
19.171875
107
0.661777
88db135755e153cdb9039d826752dae02b190cfb
1,201
/** * File generated by the ThingML IDE * /!\Do not edit this file/!\ * In case of a bug in the generated code, * please submit an issue on our GitHub **/ package org.thingml.generated.messages; import no.sintef.jasm.*; import no.sintef.jasm.ext.*; import java.util.*; import java.nio.*; public class DrawThingM...
25.553191
128
0.729392
5596b208744207d9a896ba157e1e7164e5bd5091
392
package org.code4everything.demo.pattern.decorator; import org.code4everything.demo.pattern.factory.Shape; /** * @author pantao * @since 2018-07-25 */ public abstract class ShapeDecorator implements Shape { protected Shape decoratedShape; public ShapeDecorator(Shape decoratedShape) { this.decorat...
20.631579
55
0.739796
d2c52c2b82c920cc0b700ecbccf1db3caa58f195
3,361
package com.speedphoenix.Display.Affclasses; import javax.swing.*; import javax.swing.border.TitledBorder; import javax.swing.table.TableCellRenderer; import javax.swing.text.BadLocationException; import java.awt.*; import java.awt.image.BufferedImage; import java.util.ArrayList; /** * Tbale cell renderer qui nous pe...
32.631068
95
0.572746
ecf85691106f1eeed22885d537a93500213fe705
707
package cc.catalysts.boot.report.pdf.impl; import cc.catalysts.boot.report.pdf.PdfReport; import cc.catalysts.boot.report.pdf.PdfReportPrinter; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * @author Klaus Lehner */ public final class PdfReportHttpResponsePrinter implements PdfRepo...
30.73913
98
0.762376
3152b3a8d4e38f81991a0ba1542a782155877af4
1,500
package com.javatmp.module.content.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Temporal; imp...
28.846154
89
0.706
f36d2aaace562faf415cd6b5857d64b491db925e
1,464
package toyplus; import funpl.semantic.FunCommand; import funpl.semantic.FunMachine; public class Plus extends FunCommand{ public Plus(FunMachine machine) { super(machine); } public Plus() { super(); } @Override public Object execute(Object... value) throws Exception { try { int s=(I...
25.684211
96
0.59153
122a3432e3cf138971b8b92431c5a72f6dbe1ecb
20,148
class Bd { public uZXWbG3c[][][][] XT; public Yo7nka9WY88Nmo On9he3CA; public static void hY (String[] b6vuEbLfI3) { if ( !---new void[ -null[ false.GanTv]][ -new void[ !!!!-new Mq5vma_xgdcuN()[ -O3A6ISiEJ().RhyxvmMR1Oc]].X2PbwNyx5R4nu()]) new boolean[ !-!!!!!-true.zJNn0qtdW_Xq()].eoPeKCH26;else ;...
37.801126
239
0.49464
54f1df94196b33c3a159ed0da3eaed30650d9532
377
import java.util.stream.Stream; import javafx.util.Pair; public class Problem { public static <T> T pickRandomElement(Stream<T> stream) { if (null == stream) return null; return stream.parallel() .map((element) -> new Pair<Double, T>(Math.random(), element)) .reduce((lhs, rhs) -> lhs.getKey() > rhs...
22.176471
67
0.6313
5539cdf0b7e0cf95a9b2b4b31b38de8b4dbe2c08
879
class Solution { // 双重for循环 public int XXX(int[] nums) { if(nums.length==0 || nums.length ==1) return nums.length; int i=0; for(;i<nums.length;i++){ int j = i+1; if(j<nums.length && nums[j]>nums[i]) continue; boolean flag = false; int inde...
27.46875
65
0.37884
3658ede7df277566b7143f2ce6211e3a00e88c27
1,416
package tests; import models.Contact; import models.DietType; import models.TelephoneType; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.fest.assertions.Assertions.assertThat; import static play.test.Helpers.fakeApplication; import static play.test.Helpers.inMemoryDataba...
30.782609
99
0.692797
e36334b91aef4a52600c10cb163c444d24b3cc68
3,427
package frc.robot.subsystems; import com.ctre.phoenix.motorcontrol.NeutralMode; import com.ctre.phoenix.motorcontrol.can.WPI_TalonFX; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants; import static java.lang.Math.max; import static java.lang.Math.min; /** * @author Aahana Shrivastava...
32.638095
114
0.707908
a478c22b4c2c410b31d9093696e93bf1025b1137
3,308
package com.wonderpush.sdk.segmentation.parser; import java.util.HashMap; public class Geohash { private static final char[] BASE32_CODES = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'j', 'k', 'm', 'n', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x...
30.62963
119
0.51179
936b60ee81b2975611e03bc31b6444674c3277f1
2,647
/* * Copyright (c) 2007, 2019 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
40.723077
87
0.721194
71ec5bccd869fa2b67196e75cd43f064fe0d1019
11,447
/* * Copyright (c) 2018 Nam Nguyen, nam@ene.im * * 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...
31.534435
106
0.715297
bf7dd5e43ef87c3bc757d436073ed90204986ecd
2,859
package org.pf1etools.creature.utils; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.pf1etools.roll20npc.parser.TextParser; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import lombok.Getter; import lombok.Setter; import lombok.exter...
24.86087
106
0.679258
5e8634bd6963cd9b82b6d61c3c9a025e06b4327b
219
package thinkinjava.chapter21_concurrency; public class BasicThrads { public static void main(String[] args) { Thread t = new Thread(new LiftOff()); t.start(); System.out.println("Watiting for LiftOff"); } }
19.909091
45
0.716895
c316a9943e6725b86f01d4e0a6dc1f95d6d632b9
2,891
import java.awt.Graphics; /* * Credit to Eric Pogue for ShapesLibrary.java * Specifically implementation of Oval class */ class Face extends OvalDraw{ private OvalDraw eyeL; private OvalDraw eyeR; // 1: frown, 2: straight, 3: smile private int expression = (int) (Math.random() * 3) + 1; public voi...
31.769231
101
0.613283
1dd45d44fb195c32576048133e703815b917d2bf
15,909
package net.petrikainulainen.spring.testmvc.todo.controller; import com.github.springtestdbunit.DbUnitTestExecutionListener; import com.github.springtestdbunit.annotation.DatabaseSetup; import com.github.springtestdbunit.annotation.ExpectedDatabase; import com.github.springtestdbunit.assertion.DatabaseAssertionMode; i...
53.207358
133
0.682255
f006c04c5bfca3b9355e5c17d208f4b34cf452b1
639
package com.github.archerda.designpattern.factory.factorymethod; import com.github.archerda.designpattern.factory.Pizza; /** * Create by archerda on 2017/10/18. */ public class NYStyleVeggiePizza implements Pizza { @Override public void prepare() { System.out.println("Prepare NY style veggie pizza"...
21.3
64
0.652582
f8426d753743dfb78fe6e7075d0f01754f7bc3d3
5,553
package edu.wpi.grip.core.operations.composite; import edu.wpi.grip.annotation.operation.PublishableObject; import edu.wpi.grip.core.operations.network.PublishValue; import edu.wpi.grip.core.operations.network.Publishable; import edu.wpi.grip.core.sockets.NoSocketTypeLabel; import edu.wpi.grip.core.sockets.Socket; im...
30.85
99
0.670268
8d508acf2db73b9a643033bb14b14871cf9e0cfb
2,445
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseFailure; import static seedu.address.logic.parser.CommandParserTestUtil.assertParseSuccess; import org.junit.Test; import see...
44.454545
92
0.744376
fc1520b72f6365c19d2a9f64bc9d8179dedefb62
228
package coolingSelector; public class PassiveCoolingType implements IIdentifyCoolingType{ @Override public int fetchUpperLimit() { return 35; } @Override public int fetchLowerLimit() { return 0; } }
14.25
65
0.701754
1e6411748d521dfcf4fe1bb88f9ef089f9cf0df3
141
package pl.polsl.task.manager.rest.api.services; public interface StartUpFiller { void createInitialData() throws RuntimeException; }
17.625
53
0.787234
74e127effffa1d131c4f3c164728e4abd3cb91cd
1,186
package model; import org.apache.commons.lang3.tuple.Pair; import java.math.BigInteger; import java.util.List; public interface Instruction { int execute(List<Integer> inputs); static Instruction from(int n) { if(n == 0) { return new Halt(); } Pair<Integer, Integer> pair...
25.234043
79
0.559865
86e3b9a5982a23c3771d2768f14acab6e637c4a7
10,572
package com.orbitz.monitoring.api; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.mockito.Moc...
29.864407
99
0.674328
7668b6a84fcf495e6636dc175cf35a7cad2dc4a1
6,657
/* * This project is licensed as below. * * ************************************************************************** * * Copyright 2020-2022 Intel Corporation. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
38.929825
116
0.700916
6b307e49b68d8540e6f35e523e8e8cef8f6b99f6
2,021
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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, in...
35.45614
97
0.714498
90b20f8389f3b0acfd9fc7a37cc0086787596d14
2,586
// Copyright (c) 2015 firsh.ME package fuck.gfw.client; import fuck.gfw.utils.LogListener; import fuck.gfw.utils.LogOutputStream; import javax.swing.*; import javax.swing.text.BadLocationException; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class LogFrame exten...
22.293103
85
0.692575
45f284a349dbeeb348e0aa816c4531dd3c671e3d
4,886
package org.apache.xmlbeans.impl.xb.xsdschema; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.net.URL; import javax.xml.stream.XMLStreamReader; import org.apache.xmlbeans.SchemaType; import org.apache.xmlbeans.XmlBeans; import org.apache.xmlbeans.XmlExce...
44.018018
181
0.744986
4a010fe21f92b5859a5c9928f807cfa3e21e7528
3,487
/* * Copyright © 2021 Cask Data, 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 t...
42.012048
118
0.75423
49f58f74a91fd0a05b94af25690e28ff7c0fe3ce
524
/* * 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 edu.eci.arsw.parcial.service; import java.io.IOException; /** * Servicios expuestos * * @author */ public interface Movi...
20.153846
79
0.669847
a07c15b7e9150158851bcebd6361f9cbdc731187
655
package com.sleepy.media.theater.pojo; import lombok.Data; import java.util.List; /** * 电影文件对象定义 * * @author gehoubao * @create 2021-04-16 19:41 **/ @Data public class MovieFileItemPOJO { /** * 电影中文名 */ String nameCN; /** * 电影父目录名 */ String parentDirName; /** * 电影文件名...
14.555556
46
0.554198
95eacb8d28d87d8430cf1b23c43cd5aba97a6c89
50,160
/** * Helios Development Group LLC, 2013 */ package com.heliosapm.shorthand.store; import gnu.trove.map.hash.TObjectIntHashMap; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.lang.management.ManagementFactory; import java.lang.management.ThreadMXBean; impor...
36.50655
237
0.692065
a44fbce42608f43ac8c11ae35ca8f02b64047608
47,777
package ru.i_novus.ms.rdm.sync.dao; import net.n2oapp.platform.jaxrs.RestCriteria; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.CannotAcquireLockException; import org.springframework.data.domain.Page; import org.s...
43.473157
334
0.615861
7cb8b50287b5181569c3e9bf17ef4fd90214705e
23,702
package edu.udel.cis.vsl.civl.library.comm; import java.math.BigInteger; import java.util.ArrayList; import java.util.BitSet; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import edu.udel.cis.vsl.civl.config.IF.CIVLConfiguration; import ...
39.306799
120
0.723019
0c530c400644b844ed400b607ab735b27ffa6791
4,048
/* * SANNet Neural Network Framework * Copyright (C) 2018 - 2021 Simo Aaltonen */ package utils.procedure.expression; import utils.matrix.*; import utils.matrix.operation.UnaryMatrixOperation; import utils.procedure.node.Node; import java.io.Serializable; /** * Class that defines expression for un...
29.764706
189
0.64501
ee09b8ec71a66b85dcf2796782cec6d2ce366cfe
2,088
package com.jee.boot.controller.user; import java.util.Date; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import org.springframework.scheduling.annotation.Scheduled; import org.sp...
32.123077
75
0.657567
32a2f3eb7e2d1f544746358221441c7eacfb8743
623
package com.github.biba.flashlang.operations.impl.info.local.impl.collection; import com.github.biba.flashlang.domain.db.Selector; import com.github.biba.flashlang.domain.models.collection.Collection; import com.github.biba.flashlang.operations.impl.info.local.impl.generic.AbstractLoadCursorOperation; public class Lo...
34.611111
101
0.786517
acda38c6aaf9cffa38e800f4f7452aa6567c01cb
1,443
/* * Copyright 2019 junichi11. * * 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.315789
75
0.649342
9088159bcf158fd6412bad3c49f4f7de4eed6409
5,757
/* * Copyright 2016-2020 Talsma ICT * * 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 agr...
42.330882
145
0.714261
1f83340dbb6edf9d2033bcb94169880c3ce016a8
2,960
/* * BSD 2-Clause License * * Copyright (c) 2020, Ondrej Fischer * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright noti...
32.888889
81
0.673649
02633d96207c121767843da250cdfe0424aab838
1,759
package de.oszimt.ls.aliendefence.model.persistenceDummy; import java.util.ArrayList; import java.util.List; import de.oszimt.ls.aliendefence.model.Level; import de.oszimt.ls.aliendefence.model.Target; import de.oszimt.ls.aliendefence.model.persistence.ILevelPersistance; public class LevelDummy implements ILevelPers...
28.370968
80
0.716316
4f81f072761ef825b7aa74df0b720f84a765dc91
365
package com.qmuiteam.qmui.qqface; /** * @author cginechen * @date 2016-12-21 */ public class QQFace { private String name; private int res; public QQFace(String name, int res) { this.name = name; this.res = res; } public String getName() { return name; } publi...
14.6
41
0.561644
164bcfc9c4b75f4a55e623f85c9c649dcd972ab2
1,754
package com.bkahlert.nebula.utils.selection.retriever.impl; import java.util.ArrayList; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.jface.viewers.ISelection; import com.bkahlert.nebula.utils.selection.SelectionUtils; import com.bkahlert.nebula.utils.selection.retriever.ISelecti...
26.179104
78
0.748575
d21737dee1c61ef2afae1f07231d62993200dcaf
12,007
package com.qcx.common.utils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.LinkedHashSet; /** * * @ClassName: DateUtils * */ public class DateUtils { /** ...
21.673285
78
0.603565
682d56ca460e94fa045c63cbda11c9703e1e166c
2,577
package exp.libs.sock.socket.nio.common.filter; import exp.libs.sock.socket.nio.common.filterchain.INextFilter; import exp.libs.sock.socket.nio.common.filterchain.impl.BaseFilter; import exp.libs.sock.socket.nio.common.interfaze.ISession; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Map; ...
22.80531
98
0.667831
6bcca17061d969bbe1192971fcaba8f95f1633bb
2,768
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * 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/. */ package org.mozilla.javascript.as...
26.873786
77
0.592124
fc0d662408003f558bf44f3266eb2558c93c7bd0
425
/** * <p>Title: Picture</p> * <p>Description: Picture</p> * <p>Copyright: Copyright (c) 2008</p> * <p>Company: RedAntSoft.com</p> * <p>@author: RedAntSoft</p> * <p>@version 1.0beta </p> **/ package com.palmelf.eoffice.service.picture; import com.palmelf.core.service.BaseService; import com.palmelf.eoffice.model.pictu...
22.368421
71
0.717647
d40fbe04a8218d0a534107f139f22f80bd953882
3,468
/* * Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com> */ package javaguide.async; import javaguide.testhelpers.MockJavaAction; import org.junit.Before; import org.junit.Test; import play.libs.Comet; import play.mvc.Result; import play.test.WithApplication; import static org.hamcrest.CoreMatchers.*; i...
35.030303
118
0.578431
4ed856416d1dbc00bb7664b0183f2c9377b0cd7b
289
package com.modus.create.financialbalance.dao; import com.modus.create.financialbalance.entity.FinancialBalance; import java.util.UUID; public interface FinancialBalanceDao { FinancialBalance save(FinancialBalance financialBalance); FinancialBalance getByUserId(UUID userId); }
26.272727
65
0.82699
ce159124c888b1f6781c47ec3894f3f311c1dc6c
2,776
package com.mazentop.modules.skin.controller; import com.mazentop.entity.SkinCountry; import com.mazentop.entity.SysCountry; import com.mazentop.modules.skin.commond.SkinCountryCommond; import com.mazentop.modules.skin.service.SkinCountryService; import com.mztframework.annotation.ApiVersion; import com.mztframework.d...
31.191011
126
0.681916
2f4fb44f386e359844fc00d1a702278800534aba
3,672
package io.github.cloudiator.rest.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import io.github.cloudiator.rest.model.Behaviour; import io.github.cloudiator.rest.model.Inter...
25.324138
98
0.6939
41c1f8e9768bdd41b72cf85219d34268763f24e8
155
java.lang.Integer a = 2; switch (a) { case 1: print(a); case 2: print(a + 2); break; case 3: print(a - 1); break; default: print("foooo"); } print("wow");
10.333333
24
0.606452
f32a5196eeeb98bfd1e30e512bc432446f72de48
431
package com.github.zheng93775.study.struct.constant; import com.github.zheng93775.study.struct.constant.base.Constant; import com.github.zheng93775.study.struct.constant.base.ConstantTagEnum; public class DoubleConstant extends Constant { /** * (1字节) 常量类型标志 * @see ConstantTagEnum */ public byte...
23.944444
72
0.709977
7bb1f2b4d318dc800e6e5ced2a49654d58c184c9
159
package ro.sapientia.mesteri2015.log; import org.junit.runner.RunWith; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) public class LogTest { }
17.666667
37
0.798742
0887b5d2bd1e1658deb3d0db9138622bec5b1525
564
package test.mssql; import gudusoft.gsqlparser.EDbVendor; import gudusoft.gsqlparser.TGSqlParser; import gudusoft.gsqlparser.stmt.TUseDatabase; import junit.framework.TestCase; public class testUse extends TestCase { public void test1(){ TGSqlParser sqlparser = new TGSqlParser(EDbVendor.dbvmssql); ...
28.2
80
0.730496
09e4c24592836b15fa8875e83902601565c9c38d
1,730
package org.nearbyshops.enduserappnew.ViewHolderCommon; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import butterknife.Bind...
22.467532
84
0.719075
f9018e5473de8694c0e5048365c0c9e61c69b88e
220
/* * Copyright (c) 2013 Villu Ruusmann */ package org.jpmml.evaluator; import org.dmg.pmml.*; /** * @see ResultFeatureType#ENTITY_ID */ public interface HasEntityId extends ResultFeature { String getEntityId(); }
15.714286
52
0.722727
fac888e08443301f22a6731f16615b81a4b1fc13
748
package tk.slicecollections.maxteer.libraries.menu; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.event.Listener; import tk.slicecollections.maxteer.plugin.MPlugin; /** * @author Maxter */ public class PlayerMenu extends Menu implements Listener { protected Player player; public...
20.777778
60
0.719251
b26f344f81b3a40dfbf2cc31be42aaa70edf350d
538
package duke.util; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * JUnit test class for {@code StringCleaner}. */ public class StringCleanerTest { /** * Tests the string cleaning methods. */ @Test public void testStringCleaner() { ...
26.9
115
0.682156
0330156a70f6e9b213b1c83befdda9d7394c4ca1
3,673
/* * Copyright 1999-2006 University of Chicago * * 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...
23.850649
75
0.659406
8f50c3c606e8229110286370e3f9f791115f5508
1,787
package ie.gmit.sw; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; /** * The Launcher Class * * @author Tianle Shu * * @version 1.0b */ public final c...
27.921875
92
0.69446
234c7877029f79cbc0b5f6da50f9777efc121cda
2,197
package com.logginghub.utils.sof; import java.io.Closeable; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.ByteBuffer; public class StreamWriterAbstraction implements WriterAbstraction, Closeable { private DataOutputStream dos; public Stre...
26.154762
86
0.635412
05bbb499b3bfb40e0f75ba39673a1029686d8180
2,268
/* The Adama Programming Language For Board Games! * See http://www.adama-lang.org/ for more information. * (c) copyright 2020 Jeffrey M. Barber (http://jeffrey.io) */ package org.adamalang.translator.tree.types.natives; import java.util.function.Consumer; import org.adamalang.translator.env.Environment; import o...
31.943662
106
0.7597
31de2f37570ccd5db51432f4c02b8e6d9b86cfbf
296
package com.tradeshift.client.oauth1.credentials; import java.util.UUID; public interface OAuth1CredentialStorage { public TokenAndSecret get (UUID companyAccountId); public void put (UUID companyAccountId, TokenAndSecret credentials); public void remove (UUID companyAccountId); }
29.6
72
0.797297
d70d9bc1ef647c794e7d20500ad628948f42cc3c
1,008
package net.plavcak.jenkins.plugins.scmskip; import hudson.Extension; import hudson.model.listeners.RunListener; import org.jenkinsci.plugins.workflow.job.WorkflowRun; import java.util.logging.Level; import java.util.logging.Logger; @Extension public class SCMSkipWorkflowRunListener extends RunListener<Wor...
31.5
103
0.627976
3c709fc00c9939fa08630130021f5bfe67952a2e
8,411
package com.ceiba.pedido.modelo.entidad; import java.time.DayOfWeek; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import com.ceiba.dominio.ValidadorArgumento; import com.ceiba.dominio.excepcion.ExcepcionValorInvalido; import lombok.Getter; @Getter public class Pedido { private static ...
51.286585
164
0.733207
d3dd65b0abd2f027969ac71504ad967f309cbc66
12,530
/* * Copyright 2017 HugeGraph Authors * * 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, Ve...
37.181009
80
0.590662
6b9661ddcd230b854b7dc99d37211b74f3e03858
3,899
/* * 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...
28.253623
88
0.608105
4cb411cad4e99e42dc4434579289bd4f6f287aa3
2,760
//package com.ciel.scatquick.eljob; // //import com.dangdang.ddframe.job.api.simple.SimpleJob; //import com.dangdang.ddframe.job.config.JobCoreConfiguration; //import com.dangdang.ddframe.job.config.simple.SimpleJobConfiguration; //import com.dangdang.ddframe.job.lite.api.JobScheduler; //import com.dangdang.ddframe.job...
45.245902
128
0.671739
b9c884e8653e970f5b32b2b4e1fab84664e87685
7,745
package com.tencent.mm.sdk.modelmsg; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.os.Bundle; import com.tencent.mm.sdk.b.b; import com.tencent.mm.sdk.modelmsg.WXMediaMessage.IMediaObject; import com.xunlei.tdlive.R; import java.io.ByteArrayOutputStream; import java.io.O...
44.257143
172
0.641704
f2211e170da9a8fcb9070814ab465f9030b71ea3
755
package com.github.upcraftlp.modid.proxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; im...
26.964286
70
0.768212
a20243650ade53868bfb281e1af17c5112deeec9
461
package com.diguits.javafx.settings.controllers; public interface ISettingsService { void registerSettingItem(String name, String caption, String hint, ISettingItemController<?> controller); void registerSettingItem(String name, String caption, String hint, ISettingItemController<?> controller, String parentName...
27.117647
106
0.793926
a5cc363c74cdb089d6fb2adb79104ad2a417ebb9
3,765
// package com.relaxed.common.log.action; // // import cn.hutool.core.util.StrUtil; // import cn.hutool.json.JSONUtil; // import com.google.common.collect.MapDifference; // import com.google.common.collect.Maps; // import com.relaxed.common.log.action.enums.AttrOptionEnum; // import com.relaxed.common.log.action.model....
34.541284
90
0.727224
3a14b93d64545e00318217dd1d6a253f71a7574b
1,297
package edu.ustc.mix.front.security; import java.util.List; import java.util.Set; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.apache.shiro.SecurityUtils; import org.apache.shiro.web.filter.PathMatchingFilter; import org.springframework.beans.factory.annotation.Auto...
32.425
97
0.79414
95a283b7aa5c915839aef5ea3fe8dd4123467d2b
4,020
package restx.common.processor; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.samskivert.mustache.Template; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.RoundEnvironment; ...
38.653846
127
0.697761
2f89781adc265bb6d7508f86680dc015d9e4cd4c
1,102
package io.vertx.ext.unit.report; import io.vertx.codegen.annotations.CacheReturn; import io.vertx.codegen.annotations.VertxGen; import io.vertx.core.Handler; import io.vertx.core.streams.ReadStream; /** * The test suite reports is basically a stream of events reporting the test suite execution. * * @author <a hre...
24.488889
109
0.741379