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 |
|---|---|---|---|---|---|
df6196de19e67149c292993f014e8803468f7a85 | 675 | package me.ste.stevesdbclient.network.packet.out;
import me.ste.stevesdbclient.network.packet.PacketId;
import me.ste.stevesdbclient.network.packet.PacketOut;
import me.ste.stevesdbclient.util.DataWriter;
@PacketId(0)
public class HelloPacket extends PacketOut {
private final int protocolVersion;
private fina... | 30.681818 | 67 | 0.755556 |
eb841335c0aa9212a70a3dd7958017e39979a8c0 | 885 |
package com.jfixby.r3.assets.packer.raster;
import java.io.IOException;
import com.jfixby.r3.assets.packer.cfg.ConfigLoader;
import com.jfixby.r3.assets.packer.cfg.R3AssetsPackerConfig;
import com.jfixby.scarabei.api.file.File;
import com.jfixby.scarabei.api.file.LocalFileSystem;
import com.jfixby.scarabei.api.json.... | 30.517241 | 85 | 0.79661 |
86ffaece06c9edf41d60669b596cffd95a525184 | 2,485 | package algorithem.problem62;
import algorithem.linkedlist.ListNode;
import algorithem.problem22.ReverseLinkedList;
import java.util.Stack;
/**
* Implement a function to check if a linked list is a palindrome,
*/
public class PalindromeList
{
private final ReverseLinkedList reverseLinkedList;
public Palindrome... | 26.43617 | 106 | 0.716298 |
6f7a0c94d3b1fc54d6486e20b2a1e8e7621ab559 | 1,387 | package com.l99.chinafootball.adapter;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.l99.chinafootball.R;
import com.l99.chinafootball.base.BaseListViewAdapter;
import com.l99.chinafootball.bean.MenuBean;
import com.l99.chinafootba... | 31.522727 | 100 | 0.695746 |
3934547b143712f6ea7f0a4641338afe2b3858f9 | 9,181 | package uk.ac.ebi.biosamples.relations.webapp;
import org.json.simple.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import uk.ac.ebi.biosamples.relations.model.Group;
import uk.ac.ebi.biosamples.re... | 33.02518 | 92 | 0.700251 |
edbe926fdb13fa47f7b2696761d6e3a275906455 | 824 | package com.regitiny.catiny.advance.service.mapper;
import com.regitiny.catiny.advance.controller.model.FollowGroupModel;
import com.regitiny.catiny.domain.FollowGroup;
import com.regitiny.catiny.service.dto.FollowGroupDTO;
import com.regitiny.catiny.service.mapper.EntityMapper;
import org.mapstruct.Mapper;
import ja... | 29.428571 | 146 | 0.825243 |
93c6b7f491bff2541283467d24de34f13592552c | 3,903 | package yuanyangwu.flink.training.streaming.operator;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.streaming.api.datastream.SingleOutputStreamOperator;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
import org.junit.Test;
import yuanyangwu.flink.training.util.Lo... | 41.521277 | 94 | 0.570587 |
b334c7ceed956788f8d72d3b450c2e0bbc187555 | 549 | package org.example.app.api;
import org.example.app.api.Task;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
public class TaskTest extends TestCase {
Task taskA;
Task taskB;
public void setup() {
taskA = new Task(1, "task one");
taskB = new Task(2, "task t... | 19.607143 | 50 | 0.679417 |
424f9d34b1c6e4124e7dbe9697b7896297093e63 | 3,132 | package me.nereo.multi_image_selector;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.io.File;
import me.nereo.multi_image_selector.bean.Image... | 35.191011 | 148 | 0.66986 |
f5e2dfc299e8b0d56f7af5ff8649abc9e8addee6 | 12,553 | /**
* Copyright 2010 Sven Diedrichsen
*
* 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.520725 | 108 | 0.721342 |
d06724a14a3c3e8c82d94840c213dace421a3128 | 34,159 | //////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////
package me.yohom.amap_map_fluttify.sub_handler.custom;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Color;
import andr... | 45.363878 | 185 | 0.500278 |
e36e077024394533120f2cda0088d9594e52ffa5 | 414 | package com.ubsoft.framework.core.dal.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {
String name() default "";
String dataType() default "";
boolean unique() default false;
boolean nullable() defau... | 18.818182 | 49 | 0.748792 |
d96a83bb8fa01a1965ae37055cc9357a37c03e6d | 788 | package com.u2p.core.db;
public class DbUser {
private long id;
private String user,group,hash;
public DbUser(String user, String group, String hash) {
super();
setUser(user);
setGroup(group);
setHash(hash);
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}... | 15.153846 | 67 | 0.621827 |
7f87809a6f90c9638ca15d058c6d46100b46f798 | 679 | package com.sys.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* 网关服务
* 网关没有数... | 32.333333 | 79 | 0.802651 |
a430fb8f7c1fee626ca38abb3fbb8780859d49bb | 254 | package com.pontusvision.gdpr;
public class CountryDataRequest
{
public String getSearchStr()
{
return searchStr;
}
public void setSearchStr(String searchStr)
{
this.searchStr = searchStr;
}
String searchStr;
}
| 14.111111 | 45 | 0.661417 |
81aa0e6e52701cfd3f898a02f0c00e34a18c570d | 4,927 | package edu.harvard.fas.rbrady.tpteam.tpbridge.xml.test;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import junit.framework.Test;
import org.eclipse.hyades.test.common.junit.DefaultTestArbiter;
import org.eclipse.hyades.test.common.junit.HyadesTestCase;
import org.eclipse.hya... | 33.97931 | 87 | 0.66917 |
0de0277e43f5b82d81c6df0d037cd0f255bf4686 | 37,647 | package com.yandex.ydb.logstore.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.... | 51.360164 | 184 | 0.741254 |
16542e01e8161b86dbe47eec7efbc1635906af47 | 4,435 | package com.maddog05.easysqlite.entities;
import android.util.Log;
import com.maddog05.easysqlite.messages.EasySQLiteMessage;
import java.util.ArrayList;
import java.util.List;
/*
* Created by maddog05 on 16/03/16.
*/
public class EasySQLiteTable {
private static final String LOG_TAG = EasySQLiteTable.class.g... | 28.612903 | 80 | 0.554002 |
c4cc4c6672130cb621dc0d6d68e6ec0a707cb14a | 28,456 | package vista;
import clases.*;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class frmEmpleado extends javax.swing.JFrame {
Arreglo_Empleado obj = new Arreglo_Empleado();
int tipo; // 0=Programador 1=Analista
Empleado emp;
public frmEmpleado() {
initComp... | 46.572831 | 169 | 0.630588 |
26d6e168b563da0daa389e98af7e649666dec2be | 2,028 | /**
* 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... | 39 | 93 | 0.744576 |
a1b7ea1d88997d090ededffcc95318f7dc756fae | 3,261 | package com.zhangzlyuyx.easy.shiro.util;
import java.util.Date;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.zhangzlyuyx.easy.core.Result;
import com.zhangzlyuyx.easy.core.util.CryptoUtils;
import io.jsonwebtoken.Claims;
... | 26.088 | 127 | 0.705918 |
64b969af1e0f007275c2d45615b36a421a01f192 | 4,112 | package regularExpressions.matcher;
import org.junit.Test;
import java.util.Optional;
import regularExpressions.parsing.Parser;
import regularExpressions.regexp.RegExpOfCharacters;
import regularExpressions.regexp.RegExpOfCharactersVisitor;
import regularExpressions.satisfier.visitors.RandomSatisfier;
import regular... | 27.783784 | 142 | 0.631323 |
04490e903cdeae8fde995311b9626f836324d585 | 5,610 | package com.xiaxinyu.restful.client.spring;
import java.nio.charset.Charset;
import com.xiaxinyu.restful.client.exception.RestServiceException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import org... | 46.363636 | 112 | 0.684135 |
5293ecbdaeefb570ad4fd8e020700f44236ff18f | 2,023 | package net.menthor.ontouml2alloy.scenarios;
import RefOntoUML.Class;
import RefOntoUML.parser.OntoUMLNameHelper;
import RefOntoUML.parser.OntoUMLParser;
public class AntiRigidityScenario extends ContentScenario {
public enum AntirigidityMode {
MANDATORY {
@Override
public String toString(){
... | 21.072917 | 150 | 0.690559 |
9a3a04c47549e046bf574c56de94bca3d2a6ffe2 | 1,741 | package com.silence.robot.exception;
/**
* @author silence
*/
public enum ExceptionCode {
//
PRECISION_ERROR(100001,"精度不足,请添加精度位数后再试"),
LOGIN_ERROR(100002,"用户名密码错误"),
AUTH_ERROR(100004,"当前未登录不能访问该页面"),
MENU_ERROR(100005,"暂时只支持二级菜单"),
NO_EXIST(100006,"记录不存在"),
CMD_ERROR(100007,"输入的命令不正确... | 28.080645 | 52 | 0.690982 |
dcccea0c1fc1d447ca5ce44eb0cb0998a001eebf | 6,588 | package com.noko_soft.budget.budgetmanager;
import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.Observer;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.... | 41.961783 | 137 | 0.642532 |
705ac0ffd58ee4517abb3334729e149683a4218d | 2,620 | package br.fatea.simplebank.model.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import br.fatea.simplebank.exceptions.CreditCardNotFoundException;
import br.fatea.simplebank.model... | 41.587302 | 81 | 0.820611 |
520a84bac55d56c9e46c2734832464e90f4c6ef9 | 4,440 | /*
* Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package goodman.com.sun.jmx.mbeanserver;
import goodman.javax.management.openmbean.*;
import com.sun.j... | 35.52 | 80 | 0.705856 |
2f3b630fffff3695e73b321c60f4951f3e0f35d2 | 274 | package ru.noties.markwon;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
@SuppressWarnings("WeakerAccess")
public interface SyntaxHighlight {
@NonNull
CharSequence highlight(@Nullable String info, @NonNull String code);
}
| 22.833333 | 72 | 0.79562 |
ef34b15605f42513f9b5be69ee56df4b3e008976 | 1,758 | //========================================
// Kyle Russell
// AUT University 2016
// Distributed & Mobile Systems
//========================================
package com.kyleruss.jsockchat.server.db;
import com.kyleruss.jsockchat.server.core.DBManager;
import java.sql.SQLException;
public class DatabaseBuilder
{
... | 27.904762 | 108 | 0.52446 |
7afd2484277ad4eaf1a5bf3cce4ffb95b63652dc | 1,346 | package shortly;
import shortly.model.Account;
import shortly.repository.AccountRepository;
import shortly.repository.AccountRepositoryImpl;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfigura... | 29.26087 | 77 | 0.821694 |
254d3ea0ef4dad8a382b9fafe794830050f00091 | 1,318 | /*
* Copyright (c) 2015-2016 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... | 35.621622 | 76 | 0.741275 |
34d05e70d1a9216cbd2111a09a434fb3b534b396 | 794 | package at.jku.sea.cloud.rest.pojo.predicate;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeInfo(use = Id.NAME, property = "__type")
@JsonTypeName(value = "HasIdPredicate")
public class Pojo... | 20.894737 | 56 | 0.70403 |
5135b69db59f88f14118d648bf5e7dd9d7d51c53 | 2,686 | package pangolin.inject.XUtil;
import androidx.viewpager.widget.ViewPager;
import com.youth.banner.Transformer;
import com.youth.banner.transformer.AccordionTransformer;
import com.youth.banner.transformer.BackgroundToForegroundTransformer;
import com.youth.banner.transformer.CubeInTransformer;
import com.youth.banne... | 38.371429 | 82 | 0.680938 |
7a6de4a2c4b099ce0b408e94f28bdbc27064ed87 | 10,133 | package tracer.paths;
import processing.core.PApplet;
import processing.core.PGraphics;
import tracer.Point;
/**
*
* A line in 2D space.
*
* @author James Morrow [jamesmorrowdesign.com]
*
*/
public class Line extends Path {
private Point a, b;
public final static int DEFAULT_INTERSECT_RADIUS = 8;
... | 27.386486 | 116 | 0.523636 |
1853230ebf09e9df3690c774857cbb611ec8148a | 8,163 | package com.github.thomasdarimont.keycloak.custom.oidc.remoteclaims;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.github.thomasdarimont.keycloak.custom.support.TokenUtils;
import com.google.au... | 37.791667 | 175 | 0.701213 |
20f999f3e30192819fc2346d2835a8c69ab1230c | 2,122 | package com.paypal.sellers.bankaccountextract.service.impl;
import com.paypal.sellers.entity.FailedBankAccountInformation;
import com.paypal.sellers.repository.FailedBankAccountInformationRepository;
import com.paypal.sellers.service.FailedEntityInformationService;
import lombok.extern.slf4j.Slf4j;
import org.springfr... | 27.921053 | 109 | 0.789821 |
b9e19a7311612328e7fd114e78cef1802b5a5190 | 517 | /*
* (c) 2018-2019 Charles-Philip Bentley
* This code is licensed under MIT license (see LICENSE.txt for details)
*/
package pasa.cbentley.jpasc.pcore.interfaces;
/**
* Interface to an input mechanism for choosing an account
* @author Charles Bentley
*
*/
public interface IAccountSelector {
/**... | 19.148148 | 73 | 0.628627 |
3124131bee41c23c38a982c979e4523e4a169055 | 1,242 | package com.cloud.CloudDemo.model;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.... | 17.492958 | 81 | 0.731079 |
5eaf50f84d12f43627f94963c15056825806802f | 1,881 | package com.ontology2.bakemono.joins;
import com.google.common.collect.Maps;
import org.apache.hadoop.io.VIntWritable;
import org.apache.hadoop.io.WritableComparable;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Map;
public abstract class TaggedItem<T extends Writ... | 21.872093 | 94 | 0.617225 |
0510088ea9f82239986ee8b482d39a3a24e62ad3 | 10,601 | package it.unive.lisa.analysis.dataflow.impl;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;
import it.unive.lisa.analysis.dataflow.DataflowElement;
import it.unive.lisa.analysis.dataflow.PossibleForwardDataflowDomain;
import it.unive.lisa.program.cfg.ProgramPoint;
import it.unive.lisa.symbol... | 28.885559 | 105 | 0.621356 |
20626b54874c943161584ae5ebc395028305fbf6 | 284 | package com.example.colorsample;
import android.graphics.Color;
public class BlueActivity extends ColorActivity {
@Override
protected int getMyColor() {
return Color.BLUE;
}
@Override
Class getNextClass() {
return YellowActivity.class;
}
}
| 16.705882 | 49 | 0.676056 |
7ae6047cc95d6d4e3459f45f2b2fe295df212a2a | 292 | private byte[] streamToBytes(InputStream in) throws IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try {
IOUtils.copy(in, out);
} finally {
IOUtils.closeQuietly(in);
}
return out.toByteArray();
}
| 29.2 | 69 | 0.578767 |
63d7900b7e1e0ce4836bc7a97f108302e2e72d85 | 355 | package cn.ztuo.bitrade.vo;
import lombok.Data;
import java.math.BigDecimal;
/**
* @Description:
* @Author: GuoShuai
* @Date: 2019/5/5 5:03 PM
*/
@Data
public class OtcWalletVO {
private String coinName;
private BigDecimal amount;
/**
* 0-币币转法币,1-法币转币币
*/
private String direction;
... | 13.148148 | 32 | 0.64507 |
d40dcc6bd4a7e362db24994cd03ecc21b6d253df | 1,245 | package net.minecraft.server;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
public class WorldGenFeatureRadiusConfiguration implements WorldGenFeatureConfiguration {
public static final Codec<WorldGenFeatureRadiusConfiguration> a = RecordCodecBuilder.create((in... | 40.16129 | 115 | 0.730924 |
ce9ea5d25c623fd87f59a7ccb8c1c3d85621ff6e | 2,456 | package com.jerey.themelib.base;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.jerey.themelib.IDynamicNewView;
import com.jerey.th... | 28.55814 | 86 | 0.665309 |
5a98e7793ce525e1299288c0a932cee1cdb529ce | 5,168 | package com.pigdogbay.foodhygieneratings;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import com.pigdogbay.foodhygieneratings.model.Establishment;
import com.pigdogbay.foodhygieneratings.model.FoodHygieneAPI;
import com.pigdogbay.foodhygieneratings.model.LocalAuthority;
import com.pi... | 42.01626 | 110 | 0.714783 |
d05de15cefbe39bfbde62ef609584573fde673fd | 20,120 | class nxLxmZxAQJm {
public lHVK Q2fS;
public F2U[] j () throws oVW0p9xGG3 {
DL5hlz03hY[][] ETZHA;
void XMumiywbclE9w;
boolean[][] XZhxoB1w;
false.DkFueFcqFW_x();
}
public static void dtEXDifIIzc (String[] BDjV3h) throws WC {
int SuURR = 321.eIZTZwJ2 = null.S();
... | 40.159681 | 251 | 0.500099 |
b513d7cf687c38e0edb7004ce1ca83a9d4ae820f | 348 | package cn.ism.fw.simba.sso.server.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
@RequestMapping("")
public class SsoController {
/*
public String login(){
}
public S... | 17.4 | 62 | 0.764368 |
829282e9949247ecff658f5345e489a655dfd340 | 14,923 | /*
* (C) Copyright IBM Corp. 2021, 2022
*
* SPDX-License-Identifier: Apache-2.0
*/
package io.github.linuxforhealth.hl7.message;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import java.util.List;
import org.hl7.fhir.r4.model.Bundle.BundleEntryComponent;
import org.hl7.fh... | 62.439331 | 344 | 0.64873 |
5800263076d81d12c9fe0652fcdabd4bdf17704c | 3,294 | /*
* 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... | 31.980583 | 77 | 0.604129 |
1ea00c0fb2f0e8ae3bdea8d49074839a89edcf7e | 388 | package com.vti.dto;
public class GroupFormForUpdating {
private String name;
private short totalMember;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public short getTotalMember() {
return totalMember;
}
public void setTotalMem... | 15.52 | 49 | 0.677835 |
f3d2a039e6be9e4c28bbc01cb33163d51aa8bef1 | 222 | package org.tiankafei.web.common.service;
/**
* 获取容器端口接口
*
* @author tiankafei
* @since 1.0
*/
public interface Container {
/**
* 获取容器端口
*
* @return 容器端口
*/
Integer getContainerPort();
} | 12.333333 | 41 | 0.576577 |
ff3b9946b0404adcc07162c833eaced09afd35b6 | 2,193 | package ee.ut.jbizur.network.io.tcp.netty;
import ee.ut.jbizur.network.io.AbstractClient;
import ee.ut.jbizur.protocol.address.Address;
import ee.ut.jbizur.protocol.address.TCPAddress;
import ee.ut.jbizur.protocol.commands.net.NetworkCommand;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
... | 31.782609 | 95 | 0.649339 |
19278f75af92d6b2d940fdf6c9a6d3c6c6dc186b | 5,891 | /*
* XML Type: CT_NameOrCorporateType
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/bibliography
* Java type: org.openxmlformats.schemas.officeDocument.x2006.bibliography.CTNameOrCorporateType
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x... | 35.275449 | 196 | 0.654218 |
712ddf98599059d26d21bf650aea327c9ea08b6e | 5,556 | // UserModule.java
/*
* Copyright (c) 2008, Gennady & Michael Kushnir
* 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 copyrigh... | 39.685714 | 90 | 0.725882 |
a17b4d791e3ab0d7f8c63b61ae96f0bc8453acee | 1,743 | // Copyright (c) 2015-2020 Vladimir Schneider <vladimir.schneider@gmail.com> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.language;
import com.vladsch.flexmark.util.format.options.ListSpacing;
import com.vladsch.plugin.util.ui.ComboBox... | 38.733333 | 177 | 0.747562 |
858e829a836d39301da2eed4e5904b8cc978da69 | 962 | /*
* MIT License Copyright (c) 2022 unified-ast
* https://github.com/unified-ast/ast-generator/blob/master/LICENSE.txt
*/
package org.uast.astgen.scanner;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.uast.astgen.exceptions.ParserException;
/**
* Test for {@link Scanner} ... | 24.05 | 73 | 0.621622 |
58799e1d08f93ca93cc7554ba2b048736734f6c4 | 3,015 | package hu.belicza.andras.amaze.world.shape;
import hu.belicza.andras.amaze.world.World;
import hu.belicza.andras.amaze.world.level.BlockPos;
import javafx.animation.KeyFrame;
import javafx.animation.KeyValue;
import javafx.animation.Timeline;
import javafx.beans.property.BooleanProperty;
import javafx.beans.p... | 30.15 | 130 | 0.641128 |
fbb2bf2d468ce088e5cd4213ba1a997bb2304d9e | 2,043 | package org.jboss.qa.brms.performance.construction.tsp;
import org.jboss.qa.brms.performance.construction.AbstractConstructionHeuristicPlannerBenchmark;
import org.jboss.qa.brms.performance.examples.tsp.TravelingSalesmanProblem;
import org.jboss.qa.brms.performance.examples.tsp.domain.TravelingSalesmanTour;
import org... | 40.86 | 116 | 0.795888 |
b080b740fb2e0e42d8cdea010aa647143e34c0ed | 547 | package gov.nara.nwts.ftapp.crud;
import gov.nara.nwts.ftapp.nameValidation.RenamePassFail;
/**
* Stores the results of a database action.
* @author TBrady
*
*/
public class CRUDDetails {
CRUD action;
RenamePassFail status;
int id;
String note;
public CRUDDetails(CRUD action, RenamePassFail status, int id, St... | 21.038462 | 92 | 0.681901 |
d3dd5376f64941304cd653c47df85d0a69ec6334 | 5,413 | package seedu.trackbeau.logic.parser;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.trackbeau.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.trackbeau.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
... | 46.663793 | 119 | 0.769629 |
a939f534ea907d7905b8837d7f884378e6238a7c | 2,078 | package java1;
import java.io.*;
import java.util.Arrays;
public class MatrixOnes
{
public static void main(String args[]) throws Exception
{
FileReader fr = new FileReader("/home/rkapoor/Documents/Code/Input1.txt");
BufferedReader br = new BufferedReader(fr);
int [][] mat1;
int [][] mat2;
MatrixOnes o... | 18.890909 | 76 | 0.483638 |
825fea93ba37e62af8363818b782d5b94dde127e | 4,917 | // Copyright 2000-2018 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.ide.util.newProjectWizard;
import com.intellij.ide.util.projectWizard.AbstractModuleBuilder;
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
im... | 37.823077 | 140 | 0.72951 |
db0662b4fff37450579f1b691e696fa2eb42ac59 | 3,278 | package dev.gegy.gengen.core.impl.vanilla;
import dev.gegy.gengen.api.generator.GenericChunkGenerator;
import dev.gegy.gengen.util.SpatialRandom;
import mcp.MethodsReturnNonnullByDefault;
import dev.gegy.gengen.api.CubicPos;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.util.math.BlockPos;
import ... | 31.519231 | 121 | 0.681818 |
231e463e30ec3682af65f3473b4f6773b6ec9dda | 9,953 | package brickhouse.udf.collect;
/**
* Copyright 2012 Klout, 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 ... | 35.294326 | 115 | 0.677183 |
224384bfbede4c08b428d96079c818be3264525f | 1,842 | package me.panavtec.drawableview.draw;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.Log;
import me.panavtec.drawableview.BuildConfig;
import me.panavtec.drawableview.DrawableViewConfig;
import me.panavtec.drawableview.draw.log.CanvasLogger;
import m... | 25.943662 | 92 | 0.737785 |
b7f910818ffdecf20424432bdb9c8005a790a1fc | 264 | package com.github.imthenico.annihilation.core.util;
import java.io.File;
public class FilenameUtil {
public static String getNameWithoutExt(File file) {
String[] separatedName = file.getName().split("\\.");
return separatedName[0];
}
} | 22 | 61 | 0.689394 |
0b1bd675c51d003f1fc57a3820c563a1e7356066 | 154 | package com.tvd12.ezyfox.binding.testing.ext.data;
import com.tvd12.ezyfox.binding.annotation.EzyObjectBinding;
@EzyObjectBinding
public class Data {
}
| 19.25 | 60 | 0.818182 |
729c9a2226fc5ea6b028ffee770d723c35d82fbc | 2,020 | package com.github.kuangcp.serialize.json;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.github.kuangcp.serialize.Person;
import com.github.kuangcp.serialize.json.speed.FastJsonTool;
import com.github.kuangcp.serialize.json.speed.GsonTool;
import com.github.kuangcp.serialize.json.speed.JacksonT... | 33.114754 | 80 | 0.771287 |
607798a0b6595b1ea3ac786d7a9c900f9e2cdd7e | 1,387 | package cn.aiguigu._06_search;
/**
* @author: YSL
* @date: 2020/4/17 18:45
* @description: 插值查找。此算法样要求数组有序
* 关键词:数值分析 线性插值 插值算法 自适应梯度下降
*/
public class InsertValueSearch {
public static void main(String[] args) {
int[] arr = new int[100];
for (int i = 0; i < 100; i++) {
arr[i] = i ... | 30.152174 | 90 | 0.550829 |
6039eb73bc577da37bb7a22be46cfc31999c2ebb | 2,591 | package org.opentosca.toscana.model.operation;
import java.util.Optional;
import org.opentosca.toscana.core.parse.model.MappingEntity;
import org.opentosca.toscana.model.util.ToscaKey;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
see TOSCA Specification V1.1 ch. 5.8.4
*/
@EqualsAndHashCode
@ToStri... | 23.342342 | 114 | 0.629873 |
0a5dad18c1558fb289734abcc55828fdc016045c | 5,411 | package me.joshmckinney.scheduler.ui;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.layout.Region;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import me.joshmckinney.scheduler.App;
impor... | 40.684211 | 99 | 0.568472 |
2f57a6cbd208d212a3480b39ffaf5ae89a81073c | 6,202 | package com.actram.wordattainer;
import java.io.Serializable;
import java.util.Objects;
import java.util.Random;
/**
* Contains settings that can customize the set of results a {@link Generator}
* produces.
*
* @author Peter André Johansen
*/
public class GeneratorSettings implements Serializable {
private sta... | 26.279661 | 102 | 0.787972 |
5356d0b9b9a224906190a8addfb7e1ae9dfbff3b | 177 | package delft;
import org.junit.jupiter.api.Test;
public class LoopInTestMethodsForLoop {
@Test
void t1() {
for(int i = 0; i < 10; i++) {
}
}
}
| 11.8 | 39 | 0.548023 |
e09cabaee36d841eae21d3408a259e43e90fb663 | 1,182 | package com.gonwan.springcloud.license.model;
import org.springframework.data.redis.core.RedisHash;
/*
* # SMEMBERS organization
* # HGETALL organization:e254f8c-c442-4ebe-a82a-e2fc1d1ff78a
*/
@RedisHash("organization")
public class Organization {
private String id;
private String name;
private Stri... | 19.064516 | 61 | 0.652284 |
ec51cff4ef61d8ff321c4101aa5db6bc28e2a73f | 2,299 | /* This file has been automatically generated; do not edit */
package org.meshpoint.anode.stub.gen.platform;
public class Org_webinos_api_mediacapture_MediacaptureManager {
private static Object[] __args = new Object[3];
public static Object[] __getArgs() { return __args; }
static Object __invoke(org.webinos.ap... | 31.067568 | 106 | 0.729448 |
b04765c411155ab4940d2d8d9d18e1cd79f7a47a | 903 | package com.ifountain.opsgenie.client.model.team.routing_rule;
import com.ifountain.opsgenie.client.model.BaseResponse;
import com.ifountain.opsgenie.client.model.beans.TeamRoutingRule;
import org.codehaus.jackson.annotate.JsonUnwrapped;
/**
* Represents OpsGenie service response for get TeamRoutingRules request.
*... | 25.083333 | 103 | 0.72093 |
018083fdf05e6eced79b1cd6f796a023cdf150b1 | 5,074 | /**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* dist... | 29.32948 | 97 | 0.60268 |
d949316931ab651eda86fe7b89fdbd3bbac3f2c1 | 1,305 | /*
* Copyright 2021 Sonu Kumar
*
* 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 applicable law or ... | 31.829268 | 102 | 0.730268 |
c973b229aa872156c76712946dd830dbbe0feaf7 | 1,415 | package repast.simphony.plugin;
import java.util.Iterator;
import org.java.plugin.PluginClassLoader;
import org.java.plugin.PluginManager;
import org.java.plugin.registry.Extension;
import org.java.plugin.registry.ExtensionPoint;
import repast.simphony.scenario.ScenarioCreator;
import repast.simphony.scena... | 34.512195 | 107 | 0.773852 |
22e296ec31f808b99400882d0f14df6b98560c93 | 2,887 | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 45.109375 | 138 | 0.72636 |
d37e0d70a71d0a2cf9d731af97c385ff4a8ba663 | 1,645 | package me.jishuna.actionconfiglib.effects.entries;
import org.bukkit.Location;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import me.jishuna.actionconfiglib.ActionContext;
import me.jishuna.actionconfiglib.ArgumentFormat;
import me.jishuna.actionconfiglib.ConfigurationEntry;
import me.jis... | 35.76087 | 93 | 0.790274 |
f7658cf66d391c86a247c8d390c92dc669158e53 | 5,385 | package net.pechorina.config;
import io.jsonwebtoken.ExpiredJwtException;
import io.jsonwebtoken.IncorrectClaimException;
import io.jsonwebtoken.MalformedJwtException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.Authentication;
import org.springframework.security.c... | 37.922535 | 114 | 0.648839 |
14378d02a2a080d28babc6d1245d2b307436e2d5 | 716 | package Tratamento_de_Erro;
public class ChecadaVsNaoChecada {
public static void main(String[] args) {
try {
geraErro1();
} catch (RuntimeException e) {
System.out.println(e.getMessage());
}
try {
geraErro2();
} catch (Throwable e) {
... | 22.375 | 59 | 0.547486 |
ffd2ee1102afac8861de1b99e03d661ddf106dba | 8,029 | package org.caohh.albol.mapper;
import static org.caohh.albol.mapper.RoleResourceDynamicSqlSupport.*;
import static org.mybatis.dynamic.sql.SqlBuilder.*;
import java.util.List;
import java.util.Optional;
import javax.annotation.Generated;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.a... | 50.496855 | 113 | 0.754764 |
8fb4c8babfdae7a35e2ed77d1704eac37e711e47 | 3,284 | package com.rumian.demo1.controller;
import com.alibaba.fastjson.JSONObject;
import com.rumian.demo1.model.User;
import com.rumian.demo1.service.AdminService;
import com.rumian.demo1.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.w... | 39.095238 | 97 | 0.609318 |
886bd7a6433c4c2fb86486cdf22b289e87e9c972 | 7,508 | /*
* 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... | 38.306122 | 129 | 0.684337 |
0f2b1b653b1e54cc06080657077cdb1deb5ce755 | 157 | package org.jbei.ice.lib.bulkupload;
/**
* Value of header
*
* @author Hector Plahar
*/
public interface HeaderValue {
boolean isSampleField();
}
| 12.076923 | 36 | 0.681529 |
19b48b2142ea26cd53b374582098922cb64f6554 | 4,031 | package pw.cdmi.open.model.entities;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;... | 33.31405 | 150 | 0.690151 |
94bac761c54e32f7262a1394723af367c7f74e4d | 297 | package com.analuciabolico.assembly.v1.schedule.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public enum ScheduleResultEnum {
APPROVED("Approved"),
DISAPPROVED("Disapproved"),
UNDEFINED("Undefined"),
DRAW("Draw");
String key;
}
| 18.5625 | 54 | 0.740741 |
c9380a165a2fd1867d7e1ed6499d92dbcf1c8f34 | 186 | package com.jive.sip.transport.tcp;
import com.jive.sip.message.api.SipMessage;
public interface TcpChannel
{
TcpFlowId getFlowId();
void writeAndFlush(final SipMessage msg);
}
| 14.307692 | 43 | 0.768817 |
c29faa43b53af797c09d1f616218ec24c7093065 | 9,323 | package com.refaat.eng.Main;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... | 43.362791 | 140 | 0.565805 |
8d7c02c79df293cf01ea7b8e6a4d6c81ae639cf6 | 258 | package com.wirehall.commandhunt.backend.model.graph;
import com.fasterxml.jackson.annotation.JsonValue;
public enum VertexType {
METACOMMAND,
FLAG,
OPTION,
USER;
@JsonValue
public String toLowerCase() {
return name().toLowerCase();
}
}
| 16.125 | 53 | 0.728682 |
e83c45e78b25aca30d3861b517ab0762291f88cc | 469 | package org.mtc.pattern.composite.ui;
/**
* 用于显示图片的UI
*/
public class Icon extends UIContainer {
/**
* 这个 Icon 显示的图片,简单起见用String代替
*/
private String _image;
public String getImage() {
return _image;
}
public void setImage(String image) {
_image = image;
}
public Icon() {
}
public Icon(String ... | 13.027778 | 39 | 0.656716 |
7320182b4854a548aa15b03911fa4fc15fcc0eca | 7,420 | /*
Copyright 2013 Nationale-Nederlanden
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... | 50.135135 | 281 | 0.704582 |
1fa6bb64baf224bfb70fc2a0c5064a36d2bd7013 | 3,885 | /**
* Copyright 2011 National ICT Australia 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 applicable l... | 29.656489 | 82 | 0.725097 |
71bc0655c4eb122edd9370834a20f7a9a99b7fa1 | 5,508 | package com.leechwin.csslint.eclipse.engine;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.NativeArray;
import org.mozilla.javascript.NativeJavaArray;
import o... | 34.425 | 199 | 0.611474 |
1e827f42fe71d3f60dcf5eb8296d20445fb81f50 | 476 | package spotify.murari.payload.request;
import javax.validation.constraints.NotBlank;
import lombok.Data;
@Data
public class AlbumRequest {
private String id;
@NotBlank(message = "{album.albumName.absent}")
private String albumName;
private String uploadedBy;
private Integer numberOfLikes;
@N... | 22.666667 | 50 | 0.741597 |
358792dfb66dab072c6eeac1a1fcaff209b27bb2 | 1,346 | package com.estafet.microservices.scrum.lib.selenium.pages.story;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.FindBy;
import com.estafet.microservices.scrum.lib.selenium.pages.Page;
import com.e... | 22.433333 | 79 | 0.720654 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.