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 |
|---|---|---|---|---|---|
de26ccd272a688552d5e27211bdab04a87e3818c | 5,802 | // 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... | 40.013793 | 95 | 0.763013 |
a53917810e311f25b3a67691044bac3a8604f2d4 | 148 | package com.umu360.patterns.strategy.platform;
import java.util.List;
public class StoreModule {
private List<IModule> availableModules;
}
| 13.454545 | 46 | 0.77027 |
2e91461bddc6f955954fd3adefb7ecfcabb825e9 | 815 | package com.google.android.gms.internal.ads;
import android.net.Uri;
import com.google.android.gms.ads.internal.overlay.zzp;
import com.google.android.gms.ads.internal.overlay.zzv;
import com.google.android.gms.ads.internal.zza;
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
public interface zz... | 19.404762 | 127 | 0.663804 |
1180c8ee94f7cbb85f18a87b3421aea50a1755ff | 1,386 | /*
* Copyright (C) 2019 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package example.web.framework;
import com.sun.net.httpserver.HttpExchange;
import global.namespace.fun.io.bios.BIOS;
import java.util.Map;
import static global.namespace.neuron.di.java.Incubator.wire;
in... | 34.65 | 84 | 0.606782 |
8328e9730840ba79e6f7fd69a98bcd42dfc97086 | 2,046 | /*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 38.603774 | 89 | 0.778104 |
33255f9069e301c69892e53cf7d58aaa301ecb6a | 3,393 | /*
* Vechain Wallet SDK is licensed under the MIT LICENSE, also included in LICENSE file in the repository.
*
* Copyright (c) 2019 VeChain support@vechain.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to de... | 28.041322 | 463 | 0.707339 |
160ac913c937259c946f9d9448beaa16506ec4c2 | 1,807 | package de.isuret.polos;
import java.awt.Graphics;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.awt.image.BufferedImage;
import javax.swing.JFrame;
public class Mandelbrot extends JFrame implements MouseMotionListener {
private final int MAX_ITER = 40;
private Buff... | 27.378788 | 95 | 0.540122 |
cdc29baabae1aa577ef8abdc9871e9b05891d58b | 1,540 | package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class _244 {
public static class Solution1 {
class WordDistance {
private Map<String, List<Integer>> map;
public WordDistance(String[] word... | 32.083333 | 80 | 0.408442 |
6545e8916dc1aa829d08b686a7bd9ddda43062e4 | 2,878 | package cn.edu.cqu.graphics.pipes.sample;
import cn.edu.cqu.graphics.Constants;
import cn.edu.cqu.graphics.alg.GridVoxelizer;
import cn.edu.cqu.graphics.math.Optimizer;
import cn.edu.cqu.graphics.math.energy.L1Median;
import cn.edu.cqu.graphics.model.PointCloud;
import cn.edu.cqu.graphics.protocol.*;
import org.spring... | 32.704545 | 105 | 0.636901 |
08051c85fc12990f12da66c45615048f25b5ef31 | 312 | package com.emc.mongoose.storage.driver.pravega.cache;
import io.pravega.client.ByteStreamClientFactory;
import io.pravega.client.control.impl.Controller;
import java.util.function.Function;
public interface ByteStreamClientFactoryCreateFunction
extends Function<Controller, ByteStreamClientFactory> {
}
| 26 | 59 | 0.839744 |
25502bcccfb847ad2b2777abb7647044cad3aa9e | 542 | package edu.fiuba.algo3.modelo;
public interface Fase {
public void asignarPartida(Partida partida);
public void iniciarFase();
public void ejecutarMovimiento(Movimiento unMovimiento) throws Throwable;
public void siguienteRonda();
public int tropasAColocarPorJugador();
public Ronda obtene... | 20.846154 | 77 | 0.745387 |
c3ef9465a4a6cd4acb52bcfbc4603074d4a5d10d | 533 | package com.springboot.service.repository;
import com.springboot.service.entity.UserInGroup;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
public interface UserInGroupRepository extends JpaRepository<Use... | 33.3125 | 84 | 0.804878 |
82d786a0e11c4ae96fe2d6a9a236f717ed1610ad | 1,348 | /*
* 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 hirs.data.persist.exception;
/**
*
*/
public class ImaIgnoreSetBaselineException extends RuntimeException {
private sta... | 25.433962 | 84 | 0.650593 |
6fd2549cf506f8a7a1c544030cf3dfe6226ad925 | 1,237 | package seedu.recipe.logic.commands;
import static seedu.recipe.logic.commands.CommandTestUtil.assertCommandFailure;
import static seedu.recipe.testutil.TypicalQuote.QUOTE_1;
import static seedu.recipe.testutil.TypicalQuote.getTypicalQuoteBook;
import org.junit.jupiter.api.Test;
import seedu.recipe.model.Model;
impo... | 36.382353 | 89 | 0.78173 |
c1e4c9be4864d389bfcfb0ce88b5913231a63e3a | 13,274 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.... | 30.305936 | 139 | 0.53601 |
06ffc138f681e7e8e2becbaf10149d64e39d90e2 | 220 | package com.mobapphome.simpleencryptorlib;
/**
* Created by settar on 2/6/17.
*/
public class Constants {
public static final String MAH_ENCHRIPTOR_GITHUB_LINK = "https://github.com/hummatli/MAHEncryptorLib";
}
| 20 | 106 | 0.75 |
c80de7f9b7b65096231811e37bded413adab17d5 | 250 | package aaron.spring.data.cachedemo.repository;
import aaron.spring.data.cachedemo.model.CoffeeOrder;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CoffeeOrderRepository extends JpaRepository<CoffeeOrder, Long> {
}
| 31.25 | 81 | 0.848 |
69a7abb9a1af3b9489b5b42789cc77ed12a70d87 | 1,506 | 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, 2021-12-14 18:00:57
*/
public class ExpenseCtrRuleGroupInfo extends Ali... | 19.558442 | 91 | 0.749004 |
da85c9a6228589c3a971f04f2af5e16789fcea31 | 1,437 | package settings;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import appUtils.ZabAppSettings;
public class TestSettingLong{
private SettingLo... | 24.775862 | 89 | 0.740431 |
7fb3f54f01ce38d59dbef13fffe21f48302ebfa3 | 12,093 | /*
* COMA 3.0 Community Edition
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This ... | 32.162234 | 125 | 0.637311 |
e9c2c72558a47538d0e0b8474f268d035fe1c4ce | 1,824 | package application.configurations.dbloader.loaders;
import application.configurations.dbloader.LoaderDependencies;
import application.entities.EventEntity;
import application.entities.UserEntity;
import application.entities.properties.CityEntity;
import application.entities.properties.CountryEntity;
import lombok.ext... | 29.419355 | 116 | 0.749452 |
64572d9c2dedb424e310e41a4df2be53ab0bb406 | 260 | package edu.learn.repository;
import edu.learn.entity.User;
import io.quarkus.hibernate.orm.panache.PanacheRepository;
import javax.enterprise.context.ApplicationScoped;
@ApplicationScoped
public class UserRespository implements PanacheRepository<User> {
}
| 23.636364 | 65 | 0.842308 |
7f7d7b9f79114175921ffdf55503fee00f49225a | 486 | package com.wu.gulimall.gulimall_product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.gulimall.gulimall_common.common.utils.PageUtils;
import com.wu.gulimall.gulimall_product.entity.SpuImagesEntity;
import java.util.Map;
/**
* spu图片
*
* @author chenshun
* @email 2947323341@q... | 23.142857 | 69 | 0.779835 |
cfcd0f5e9cf36a907d8b9c4867cfc9291004f8e0 | 5,372 | package com.etiennelawlor.discreteslider.library.ui;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.etiennelawlor.discreteslider... | 36.297297 | 122 | 0.662509 |
52d835447859d6dfdd931b6da2cb88f0d6e4cb58 | 710 | package jianzhi;
public class jz67 {
// see jianzhi offer book
public int cutRope(int target) {
if (target < 2) {
return 0;
}
if (target == 2) {
return 1;
}
if (target == 3) {
return 2;
}
int[] products = new int[targ... | 21.515152 | 67 | 0.4 |
fc8a252866df8eda6696cb5cf9e4d5282fd813aa | 10,432 | package de.otto.synapse.endpoint.sender.sqs;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.otto.synapse.endpoint.MessageInterceptorRegistry;
import de.otto.synapse.message.Header;
import de.otto.synapse.message.Message;
import de.otto.synapse.message.TextMessage;
import de.otto.synapse.translator.Mes... | 39.218045 | 179 | 0.669095 |
fc624edfd63888dfdccd4b6d6f3d7c354e3603d1 | 12,801 | package us.ihmc.exampleSimulations.m2;
import us.ihmc.euclid.Axis;
import us.ihmc.euclid.tuple3D.Vector3D;
import us.ihmc.graphicsDescription.Graphics3DObject;
import us.ihmc.graphicsDescription.appearance.YoAppearance;
import us.ihmc.yoVariables.registry.YoVariableRegistry;
import us.ihmc.yoVariables.variable.YoDoubl... | 50.003906 | 159 | 0.715335 |
9a2531bf58d374b2c64fe914d795f8238458e3d1 | 773 | package org.kuali.coeus.instprop.api.sponsor;
public interface InstPropSponsorService {
/**
* This method updates the sponsor proposal number on an institutional proposal only if the institutional proposal
* does not currently have an sponsor proposal number set. If the institutional proposal is not fou... | 48.3125 | 126 | 0.773609 |
ff0ee9f2ff030cbe05425756003eb28faf8721a0 | 7,084 | package io.gridgo.bean.factory;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.function.Function;
import java.util.function.Supplier;
import io.gridgo.... | 32.948837 | 117 | 0.621542 |
ec7311688cd6d69c58b219cfc636e6479590cc35 | 2,387 | package com.meiyouframework.bigwhale.dto;
import com.meiyouframework.bigwhale.common.Constant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang.StringUtils;
import org.springframework.util.CollectionUtils;
import java.util.*;
... | 25.393617 | 125 | 0.615417 |
e53819d5cc1a174ff805dcf9f3f8916eebf20dfa | 2,702 | package com.liangtee.jsuperlite.core.utils.wordtemplate.XWPFHandler;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.poi.xwpf.usermodel.XWPFParagraph;
import org.apache.poi.xwpf.usermodel.XWPFTable;
import org.apache.poi.xwpf.usermodel.XWPFTableCell;
import org.apache.poi.xw... | 25.490566 | 85 | 0.743153 |
60b5e40e606d9c938b97bf938dcd47f413afcbcf | 37,683 | /*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package banki.util.concurrent;
import banki.util.Collection;
import banki.util.concurrent.RejectedExecutionException;
import... | 38.808445 | 79 | 0.574795 |
6b64f2c79290892cf3bb793676e6f12c16e7ee66 | 4,184 | package uk.gov.pay.webhooks.deliveryqueue.dao;
import com.codahale.metrics.MetricRegistry;
import io.dropwizard.testing.junit5.DAOTestExtension;
import io.dropwizard.testing.junit5.DropwizardExtensionsSupport;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.exte... | 44.989247 | 165 | 0.74044 |
9dace6b36acdbaf4ac385efe62d370cba88fab29 | 1,461 | package com.cyc.baseclient.api;
/*
* #%L
* File: CycAccessUnavailableTest.java
* Project: Base Client
* %%
* Copyright (C) 2013 - 2018 Cycorp, 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 ... | 27.055556 | 82 | 0.696783 |
05ebda1bba6629a8c9e3b20d849777d933ee5a65 | 535 | package com.bellisimo.service;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableAutoConfiguration(exclude = {
org.springframework.boot.a... | 31.470588 | 88 | 0.824299 |
198d82ea9702c0cda3cc069dd73dd1e029c45577 | 2,380 | package com.epam.jdi.websockettests;
import com.epam.jdi.http.WebSocketTextClient;
import com.epam.jdi.httptests.support.WithJettyWebSockets;
import org.glassfish.tyrus.client.ClientProperties;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
i... | 31.733333 | 101 | 0.678151 |
d3fd15cb0f0c56416211cfc6563be2b8ce4efeee | 1,093 | package com.outbrain.swinfra.metrics.timing;
import java.util.concurrent.TimeUnit;
public interface Clock {
Clock DEFAULT_CLOCK = new SystemClock();
long getTick();
long getTick(TimeUnit timeunit);
/**
* A clock that uses System.nanoTime to measure its ticks.
* Ticks are provided according the to giv... | 23.76087 | 89 | 0.672461 |
65d4be93c07ec319bd1c35fe67dc12b844a3352e | 989 | package com.ken.sharding;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.github.javafaker.Faker;
import com.ken.sharding.entity.User;
import com.ken.sharding.service.UserService;
import org.junit.jupiter.api.Test;
import org.s... | 28.257143 | 89 | 0.706775 |
594dbff63d04e465d4c30c4969a7659ed9fdd529 | 1,959 | package com.ingenico.connect.gateway.sdk.client.android.exampleapp.view.detailview;
import android.widget.AdapterView.OnItemSelectedListener;
import com.ingenico.connect.gateway.sdk.client.android.exampleapp.render.persister.InputDataPersister;
import com.ingenico.connect.gateway.sdk.client.android.sdk.model.PaymentC... | 34.368421 | 148 | 0.819806 |
f2f14e5a64e604e852d6495b58383e723f020f4d | 122 | class TicTacToe {
void play(String player, int x, int y) {
}
boolean isOver() {
return true;
}
}
| 13.555556 | 44 | 0.532787 |
dda0f1b4df446133311a6851f47724f836fdcadd | 111 | package com.identity.platform.auth.constant;
public class DomainConstants {
public enum LOCKED {
Y, N
}
}
| 13.875 | 44 | 0.738739 |
210dc791a0c847bdfdd4da0cfbcd0f0f5621e9db | 36,338 | package io.basestar.graphql.schema;
/*-
* #%L
* basestar-graphql
* %%
* Copyright (C) 2019 - 2020 Basestar.IO
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | 42.204413 | 150 | 0.633084 |
e1fe6d61fedbcf074c9f7370858e64d7ba8d4dc9 | 1,462 | package com.unipad.io.mina;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.keepalive.KeepAliveMessageFactory;
public class ClientKeepAliveMessageFactoryImp implements KeepAliveMessageFactory{
/** 蹇冭烦鍖呭唴瀹�*/
private static final String HEARTBEATREQUEST = "0x11";
private sta... | 29.836735 | 81 | 0.736662 |
708ae6dd9f63d71690155b2d3fb52bcddb2499dd | 1,290 | package com.megift.set.location.phone.entity;
import com.megift.resources.base.Entity;
/**
* @class : Phone.java<br/>
* @company : Megift S.A<br/>
* @user : YQ<br/>
* @date : Feb 23, 2015<br/>
* @update date : Feb 23, 2015<br/>
* @update by : Feb 23, 2015<br/>
* @version : 0.1 <br/>
* @author Yonatan Alexis Q... | 16.538462 | 51 | 0.646512 |
08c811bc39601d80f761017abaa2b56d72fb8558 | 23,887 | package com.vimukti.accounter.web.client.ui;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Label;
import com.vimukti.ac... | 30.901682 | 116 | 0.743919 |
9ff8de1f400d44ac02186502464bff206e3be978 | 490 | package project.server;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
/**
* 채팅방을 구현한 클래스
* 채팅방 ID 와 해당 채팅방에 들어가있는 클라리언트들을 가진다.
*/
public class ChatRoom {
private final String id;
private final Queue<Client> clients = new ConcurrentLinkedQueue<>();
public ChatRoom(String i... | 18.148148 | 72 | 0.646939 |
e8fb31260c70357b942da2bed737a5c7d04c56ec | 773 | package br.com.crypto.commons.ftp.helper;
public class ConnectionParameters {
String user;
String password;
Integer port;
String host;
public ConnectionParameters(String user, String password, Integer port, String host) {
this.user = user;
this.password = password;
this.port = port;
this.host = host;
}... | 17.568182 | 87 | 0.692109 |
ef2c3fd2722fbfbfb69c14b9856595a947167fc9 | 15,555 | /**Copyright 2010 Research Studios Austria Forschungsgesellschaft mBH
*
* This file is part of easyrec.
*
* easyrec is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | 59.826923 | 126 | 0.521826 |
9303361a0d44d2ab2263559c60fe90ed3f5a2b80 | 89 | package org.hv.biscuits.state;
/**
* @author leyan95
*/
public class StateContext {
}
| 11.125 | 30 | 0.685393 |
e8b86771df1d4c59202e6690f38012b7136be80d | 213 | package spencercjh.problems;
/**
* https://leetcode-cn.com/problems/xor-operation-in-an-array/
*
* @author spencercjh
*/
class XorOperationInAnArray {
public int xorOperation(int n, int start) {
}
} | 17.75 | 62 | 0.690141 |
1f3dd14929f5be50ea836521a2bd1844f9ade55d | 3,656 | /*
* Copyright (c) 2017 AcadiaSoft, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 40.622222 | 151 | 0.725109 |
14533d0ff9cd292c112d288904e8034ee1d5a05b | 346 | /**
* Created by milabobo on 8:42 PM.
*/
public class Main {
public static void main(String[] args) {
System.out.println(new Rect.Builder()
.width(1)
.height(2)
.fillColor(3)
.strokeColor(4)
.strokeLength(5)
.b... | 21.625 | 45 | 0.439306 |
2fdaad4d3e035e59b05f64ca33ff1522f7038c57 | 5,694 | package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... | 27.77561 | 110 | 0.69986 |
97e6e96b803cf0bd79c97fa55be44cfa60983bd8 | 1,918 | /*
* @Author: rooterShip
* @Date: 2022-05-19 21:50:27
* @LastEditors: rooterShip
* @LastEditTime: 2022-05-19 22:23:53
*/
/**
* 199. 二叉树的右视图
* 给定一个二叉树的 根节点 root,想象自己站在它的右侧,按照从顶部到底部的顺序,返回从右侧所能看到的节点值。
*
* 输入: [1,2,3,null,5,null,4]
* 输出: [1,3,4]
*
* 输入: [1,null,3]
* 输出: [1,3]
*
* 输入: []
* 输出: []
*/
pack... | 30.444444 | 89 | 0.5756 |
943327cc02b814cc7a4205d6d51dc7428084a10e | 2,714 | package tgtools.mq.rabbit.exchange.fanout;
import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.BuiltinExchangeType;
import com.rabbitmq.client.Connection;
import tgtools.exceptions.APPErrorException;
import tgtools.mq.rabbit.AbstractProducer;
import tgtools.util.StringUtil;
import java.io.IOException;
import ... | 30.155556 | 131 | 0.674282 |
8c1d3bdcbfea5ec487c67c66456aa9973beb17e2 | 1,999 | package com.jakester.flicksapp.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.google.android.youtube.player.YouTubeBaseActivity;
import com.google.android.youtube.player.YouTubeInitializationResult;
import com.google.android.youtube.player.YouTubePlayer;
import com.g... | 36.345455 | 114 | 0.695848 |
da7cec09c680ca3e396671f69efd8b82de7d8be8 | 3,351 | package fr.openwide.core.wicket.more.markup.html.select2;
import java.util.Collection;
import org.apache.wicket.markup.html.form.AbstractTextComponent;
import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.markup.html.form.ListMultipleChoice;
import org.apache.wicket.model.IModel;
import o... | 31.914286 | 142 | 0.73023 |
f789018ccb5400f08748121b14e006ca7b80337e | 2,419 | /*
* Copyright 2015-present Open Networking Foundation
*
* 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 applicabl... | 29.144578 | 99 | 0.68458 |
b51f750153b1524778641cd570d0ab0c71d898cc | 3,319 | //package com.bych.config;
//
//import com.alibaba.fastjson.serializer.SerializerFeature;
//import com.alibaba.fastjson.support.config.FastJsonConfig;
//import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.fo... | 27.658333 | 105 | 0.70925 |
f6f8799e0b93a38026591c13e7cdcf913cdc7958 | 580 | package com.withertech.tim_wim_holes.mixin.common.tardis.exterior;
import com.withertech.tim_wim_holes.ducks.IEExteriorTile;
import net.minecraft.tileentity.TileEntityType;
import net.tardis.mod.tileentities.exteriors.ApertureExteriorTile;
import net.tardis.mod.tileentities.exteriors.ExteriorTile;
import org.spongepow... | 34.117647 | 94 | 0.853448 |
a2e09c30d6a93dbfdedf9dad187c52e5196e5085 | 1,016 | package com.imooc.mapper;
import com.imooc.pojo.vo.CategoryItemsVO;
import com.imooc.pojo.vo.CommentsVO;
import com.imooc.pojo.vo.SearchItemsVO;
import com.imooc.pojo.vo.ShopCartVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
public interface ItemsMapperCustom {
/**
... | 21.166667 | 108 | 0.661417 |
030642eb4f25b4b74418765d20a7f22a58f6954f | 2,043 | package org.github.ezauton.ezauton.recorder.base;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.github.ezauton.ezauton.localization.IRotationalLocationEstimator;
import org.github.ezauton.ezauton.localization.ITranslationalLocationEstimator;
import org.github.ezauton.ezauton.recorder.SequentialDataRec... | 33.491803 | 174 | 0.721488 |
2c82301fdd96191e9f381df105c04ad819533d6d | 262 | package com.krishagni.catissueplus.core.biospecimen.repository;
import com.krishagni.catissueplus.core.common.domain.LabelPrintJob;
import com.krishagni.catissueplus.core.common.repository.Dao;
public interface LabelPrintJobDao extends Dao<LabelPrintJob> {
}
| 29.111111 | 67 | 0.847328 |
8fb8446753e6ba5acdf8a8e2975997ffde8362f1 | 2,263 | package org.orecruncher.dsurround.effects.blocks.producers;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.shape.VoxelShape;
import net.minecraft.world.World;
import org.orecruncher.dsurroun... | 36.5 | 123 | 0.632788 |
0769b87c1cf033c6ed22d920dafb6f81822544c3 | 4,843 | /*
* 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 u... | 20.608511 | 83 | 0.69874 |
eb41b0bab8ccce43e64639be096867d9479e99f8 | 1,398 | package org.elasticsearch.transport.nio.channel;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.transport.TcpChannel;
import org.elasticsearch.transport.nio.AcceptingSelector;
import java.io.IOException;
import java.nio.channels.ServerSoc... | 35.846154 | 126 | 0.75608 |
5285ade1bcc2e0986d57a5a1105d7e34a9b827f0 | 6,825 | /*
* 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 ... | 39.912281 | 100 | 0.716337 |
ca8ae43a960168683af8d29808d6fd6db79f0fa3 | 672 | package com.packtpub.springsecurity.configuration;
import com.packtpub.springsecurity.repository.RememberMeTokenRepository;
import com.packtpub.springsecurity.web.authentication.rememberme.JpaTokenRepositoryCleaner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconf... | 33.6 | 91 | 0.837798 |
b3898a8106a9f6c2d588c985edb23d84bf9573a1 | 9,903 | package authoring.editorview.level.subviews.editorfields;
import java.util.List;
import java.util.ResourceBundle;
import authoring.editorview.level.WaveObject;
import engine.level.wave.WaveString;
import authoring.editorview.level.LevelSetView;
import authoring.editorview.level.LevelAuthoringViewDelegate;
import javaf... | 55.324022 | 136 | 0.459659 |
5f92acdc196659c34788ee98c424e8aa9d21178e | 116 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://ec.gob.sri.ws.recepcion")
package recepcion.ws.sri.gob.ec;
| 38.666667 | 82 | 0.767241 |
ea99f182c1094c096c1224eff3e751eba905ba52 | 1,299 | package com.reindeercrafts.notificationpeek.peek;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.view.View;
/**
* OnClickListener class that performs launching apps from the notification.
* <p/>
* Created by ... | 28.23913 | 97 | 0.681293 |
1b6f1be28ac408d55ca24c7ecf44b4e12f213ec0 | 4,559 | package com.sic.entity;
import java.util.Date;
public class ChItem {
private String id;
private String chItemId;
private String parentId;
private Long type;
private String name;
private String content;
private String choice;
private String itemRequirementId;
private Long v... | 18.53252 | 64 | 0.622286 |
6010b526eddc5e0a3e06ef8be700388ab6f59c1d | 8,795 | /*
* 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 under t... | 53.30303 | 193 | 0.711654 |
a45c13557adee5169f83ef6119b11f1232974de7 | 79 | package new_simvasos.model.Enums;
public enum EnumRoleType {
ROLE_TYPE1
}
| 13.166667 | 33 | 0.772152 |
b11ee4751ab0b807b67804d495484b0c0392b80d | 382 | public class A2qno23 {
public static void main(String[] args) {
int a=Integer.parseInt(args[0]);
int b=Integer.parseInt(args[1]);
int c=Integer.parseInt(args[2]);
int max=Math.max(a, b);
int max1=Math.max(max, c);
int min=Math.min(a, b);
int min1=Math.min(min, b);
int mid =(a+b+c)-(max1+min1);
System.out.print(" "+min1... | 23.875 | 40 | 0.670157 |
cea2069ba0d6c9abc468030eafda450199d812e4 | 6,068 | /*
* 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 ... | 44.617647 | 165 | 0.677983 |
34f9e87a17cb5a9da19746f65381568a6a7da332 | 4,853 | /*
Copyright (c) 2003-2004, Dennis M. Sosnoski
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 conditions and th... | 40.781513 | 81 | 0.691737 |
239b38a5cc5d57a2b9a9cd12e3d92a53dfbbbc1f | 2,320 | package com.devsmart.microdb;
import com.devsmart.ubjson.UBObject;
import com.devsmart.ubjson.UBString;
import com.devsmart.ubjson.UBValue;
import com.devsmart.ubjson.UBValueFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.UUID;
public class Utils {
private static final Logger... | 31.780822 | 88 | 0.562931 |
07d5ecdf02a3b85eb9435d1002db731fd4f0c314 | 11,512 | /*
* 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 ... | 26.464368 | 100 | 0.59894 |
725f00728fadbbe87be1ee13cae9078b9869b76f | 188 | package org.basex.query.func.hof;
/**
* Function implementation.
*
* @author BaseX Team 2005-15, BSD License
* @author Leo Woerteler
*/
public final class HofConst extends HofId {
}
| 17.090909 | 43 | 0.712766 |
6f77ebc3280a217b8d7b307bbe13e3505a7832c2 | 964 | package com.mercury.chat.server.protocol;
import static com.mercury.chat.common.MessageType.HEARTBEAT;
import static com.mercury.chat.common.util.Messages.buildMessage;
import io.netty.channel.ChannelHandlerContext;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.... | 31.096774 | 85 | 0.773859 |
2f12bb28e7d64f3926521658048b30be48d6cbab | 2,756 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 29.634409 | 98 | 0.634253 |
8a15f0ccd5e8e7f4cb101d836c8072c2a5f531f9 | 5,489 | /**
* MIT License
* Copyright (c) 2018 jiangcihuo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | 34.093168 | 146 | 0.751867 |
6707fba6fc47ae9aa0f13dbf90bca1dce825f928 | 382 | package compactjvm.cpentities;
import compactjvm.definitions.ConstantPoolType;
/**
* Constant pool method type entity
* @author Adam Vesecky
*/
public class CPMethodType extends CPEntity {
public int descriptorIndex;
public CPMethodType(){
super(ConstantPoolType.CPT_MethodType);
}
@... | 17.363636 | 47 | 0.683246 |
bd43d9bb314703dd3245232c5b007880e6f3edd3 | 3,188 | /**
* Copyright 2019 LinkedIn Corp. 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 applica... | 39.358025 | 121 | 0.781368 |
88b20020ebac9891131b183bc329eb6b63a68fd1 | 2,965 | /*
* 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 n... | 38.012821 | 106 | 0.707251 |
1aa8fe1446be46ab0bdf8087f0f4037164a4e1cc | 7,611 | /*
* Copyright (C) 2010-2020, Danilo Pianini and contributors
* listed in the main project's alchemist/build.gradle.kts file.
*
* This file is part of Alchemist, and is distributed under the terms of the
* GNU General Public License, with a linking exception,
* as described in the file LICENSE in the Alchemist di... | 36.591346 | 121 | 0.632768 |
7acc5da7f32a6fbb788d6f6d0a0b0fea4c09e3fc | 351 | package de.bergwerklabs.framework.commons.bungee.command;
import net.md_5.bungee.api.CommandSender;
/**
* Created by Yannic Rieger on 28.11.2017.
*
* <p>
*
* @author Yannic Rieger
*/
public interface BungeeCommand {
String getDescription();
String getUsage();
String getName();
void execute(CommandSe... | 15.954545 | 57 | 0.712251 |
857961be5eb5d83caa1b1fcbbbb289d551b5026b | 527 | package org.lean.render.svg;
import org.junit.Test;
import org.lean.presentation.LeanPresentation;
import org.lean.util.CrosstabPresentationUtil;
public class LeanPresentationCrosstabOnlyFactsTest extends LeanPresentationTestBase {
@Test
public void testCrosstabRenderOnlyFacts() throws Exception {
LeanPrese... | 29.277778 | 85 | 0.798861 |
aab3ef1b3f921730adbc9b9b06f5e27b0ac3c2d4 | 200 | package com.javiertarazaga.instasearch.presentation.view;
/**
* Interface representing a View from which the user can login into their instagram account
*/
public interface InstagramOAuthView {
}
| 22.222222 | 91 | 0.795 |
9c977acfa11650225224ec1fa1b9bfb2a512c1e2 | 509 | package stm;
/**
* A Define class to store experience states, which outline their current behavior and inclination toward what tasks.
*/
public class EXPSTATE {
//Before finalization.
public static final int FIRSTTIME = -1;
public static final int NULL = -2;
//LTM Second Half special operation.
public static fi... | 28.277778 | 117 | 0.734774 |
f384c6f057aeb82dd7c617f025c7eb14efba5180 | 5,721 | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from wallet.djinni
package com.ledger.reactnative;
import co.ledger.core.ExtendedKeyAccountCreationInfo;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactCon... | 37.638158 | 240 | 0.695333 |
f8c9e3ca5a2e4fabc7e86ac0eeb1560f0c8158eb | 5,714 | package victor.kata.parking;
import static java.util.Comparator.comparing;
import static java.util.stream.Collectors.toSet;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Stream;
import victor.kata.parking.slots.DisabledSlot;
import victor.... | 35.490683 | 159 | 0.701435 |
f96e49c33826d1a7de9a939238cdc37168b80169 | 870 | package com.a528854302.gmall.provider;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discove... | 32.222222 | 72 | 0.818391 |
547561c392825a0e64eb621f4c4aba2b57fc0f30 | 1,113 | /*
* Copyright 2017 Courtanet
*
* 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... | 29.289474 | 95 | 0.696316 |
288a5c04843cb874bc59aa8e9ccecf0310525c36 | 1,058 | package ar.edu.unc.famaf.redditreader;
import java.util.Date;
/**
* Created by male on 29/09/16.
*/
public class PostModel {
private String mSubreddit;
private Date mDate;
private int mComments;
private String mImage;
public PostModel(String mSubreddit, Date mDate, int mComments, String mImage)... | 19.592593 | 83 | 0.618147 |
c7de585687ce9c7fd816eb19a205b95dea6aabbb | 426 | package seedu.saveit.logic;
import seedu.saveit.logic.suggestion.Suggestion;
import seedu.saveit.logic.suggestion.SuggestionResult;
/**
* API of the SuggestionLogic component
* used to handle the logic regarding the handling of suggestions
*/
public interface SuggestionLogic {
void updateCaretPosition(int pos... | 23.666667 | 65 | 0.788732 |
4bffd3807015965786726ca9923df961ef95eb62 | 6,924 | /* AT4J -- Archive file tools for Java -- http://www.at4j.org
* Copyright (C) 2009 Karl Gustafsson
*
* This file is a part of AT4J
*
* AT4J is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either ... | 38.254144 | 102 | 0.702917 |
423403fd7675ec7b855ae2d45402aa7cd35b9e7c | 3,726 | package de.fhpotsdam.unfolding;
import processing.core.PApplet;
import processing.core.PVector;
import de.fhpotsdam.unfolding.core.Coordinate;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam.unfolding.geo.Transformation;
import de.fhpotsdam.unfolding.marker.Marker;
import de.fhpotsdam.unfolding.marker... | 35.150943 | 113 | 0.705582 |
63e366cbbd45891c9220e019b896c08cf696eb91 | 7,441 | package de.jonato.jfxc.controls.combobox;
/*
* #%L
* JFXC
* %%
* Copyright (C) 2016 Jonato IT Solutions
* %%
* 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.apac... | 46.50625 | 247 | 0.587152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.