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 |
|---|---|---|---|---|---|
122ab20512124ce863231f5fd68e39b09e7c19ca | 513 | package com.sahabt.testinium.page;
import com.sahabt.testinium.contracts.IHomePage;
import com.sahabt.testinium.contracts.ILoginPage;
import com.sahabt.testinium.util.BasePageUtil;
import org.openqa.selenium.By;
/*
* Created by oktayuyar on 2018-12-26
*/
public class HomePage extends BasePageUtil implements IHomeP... | 24.428571 | 65 | 0.74269 |
fede336fcdec786c4e5675e073aab97052e8b770 | 50,710 | //**********************************************************************
//
//<copyright>
//
//BBN Technologies
//10 Moulton Street
//Cambridge, MA 02138
//(617) 873-8000
//
//Copyright (C) BBNT Solutions LLC. All rights reserved.
//
//</copyright>
//*********************************************************************... | 38.798776 | 269 | 0.59158 |
625d494d2a604eba8dddccf86db33ba40244a48e | 3,716 | package com.mychaldea.api.classtype.user.controller;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.Matchers.hasSize;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet... | 40.835165 | 116 | 0.780678 |
409e1c007cdcfe8cccad6f463688f1d06c7c9a83 | 3,098 | package io.github.nickmacdon.utility.debug.flightrecorder;
/*
* This code is part of https://github.com/NickMacDon/BasicJavaFlightRecorder
* This code is licensed with the Apache License 2.0 https://www.apache.org/licenses/LICENSE-2.0
* Written by Nick MacDonald (C) 2019
*
* A unit test of the RingBuffer used t... | 35.204545 | 97 | 0.711104 |
ca3ddc158aafaa1d27a5090c6037b0d7b0c1878e | 143 | /**
* @see io.github.thinkframework.generator.core.util.TypesMapping
* @author hdhxby
*/
package io.github.thinkframework.design.singleton;
| 23.833333 | 65 | 0.769231 |
9960bd652793dbb8c10b2557acf24a0f2eba35cb | 648 | package cpaint;
import java.util.Objects;
public class Canvas implements Command {
final int w;
final int h;
Canvas(int w, int h) {
this.w = w;
this.h = h;
}
@Override
public Screen executeWith(Screen screen) {
return screen.drawCanvas(this);
}
@Override
... | 19.636364 | 66 | 0.54321 |
8c046a58443d79195f88dbee04cdf759fc29554a | 495 | package com.su.hydrangea;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
@EnableFeignClients
@SpringBootApplication... | 27.5 | 68 | 0.826263 |
7573707c3821dda5af5e967912465304e51296d1 | 4,211 | package nam.model.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import nam.model.Volume;
import org.apache.commons.lang.StringEscapeUtils;
import org.aries.util.BaseUtil;
import org.aries.uti... | 26.15528 | 84 | 0.70767 |
8cacf666ad304108eda4ccbe497c3636ac98e260 | 1,809 | /*
* Copyright 2008 Alin Dreghiciu.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 29.655738 | 84 | 0.706468 |
faeeeec346e84371fae1cf3d0bd794f1937589bf | 854 | package com.riswu.timetable;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;
public class SubjectTileView extends LinearLayout {
public SubjectTileView(Context context) {
this(context, null)... | 28.466667 | 81 | 0.742389 |
b5249cde788468444836b2df36dc617a0bff3873 | 20,215 | /*
* 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... | 36.48917 | 100 | 0.673015 |
ae2d3abe430dc0ee597282ac5fbeb72119c1f993 | 3,837 | package com.example.simpleinstagram.fragments;
import android.content.Intent;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import an... | 36.198113 | 115 | 0.685431 |
93b2f38b952c324af010e613abf3a0d00b707b60 | 7,528 | // Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE
package org.bytedeco.videoinput.global;
import org.bytedeco.videoinput.*;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
public class videoInputLib extends org.bytedeco.videoinput.presets.videoInputLib {
sta... | 32.034043 | 122 | 0.700452 |
0825588ba8dcfddd36eff63e0444b1cc17bd6e6f | 2,553 | package com.edtech.animations;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.view.View;
/**
* Created by gautamkarnik on 2015-05-21.
*/
public class Sprite {
private final String CLASS_NAME = getClass().getSimpleName();
private int x, y;
p... | 24.786408 | 83 | 0.511555 |
d02b2de4701295551ceeda2cc2f9615c985c9a6d | 15,713 | package com.github.iunius118.tolaserblade.client.model.laserblade;
import com.github.iunius118.tolaserblade.ToLaserBlade;
import com.github.iunius118.tolaserblade.client.color.item.LaserBladeItemColor;
import com.github.iunius118.tolaserblade.client.model.SimpleLaserBladeModel;
import com.github.iunius118.tolaserblade... | 63.358871 | 159 | 0.651308 |
ce95371e08337b1622acba2e39b74ca6729f8855 | 1,659 | package com.orbitz.consul;
import com.orbitz.consul.model.acl.AclResponse;
import com.orbitz.consul.model.acl.AclToken;
import com.orbitz.consul.model.acl.AclTokenId;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.PUT;
import retrofit2.htt... | 23.7 | 60 | 0.648583 |
10e9818f3be589adc1b0dfc345a2b4ccd7dae20a | 999 | // Code generated by Webpb compiler, do not edit.
// https://github.com/linqu-tech/webpb
package test3;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import tech.linqu.webpb.runtime.WebpbMessage;
import tech.linqu.webpb.runtime.WebpbMeta;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Test i... | 23.232558 | 140 | 0.688689 |
eb75af8791eea6f4f07f7f730f6adb3c8ac35940 | 4,713 | /*
* Copyright 2019 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 appli... | 36.253846 | 117 | 0.620836 |
26f035e931426486286f955232dc44ff12167170 | 1,234 | /*
* Copyright (c) 2018. paascloud.net All Rights Reserved.
* 项目名称:paascloud快速搭建企业级分布式微服务平台
* 类名称:NotDisplaySqlAspect.java
* 创建人:刘兆明
* 联系方式:paascloud.net@gmail.com
* 开源地址: https://github.com/paascloud
* 博客地址: http://blog.paascloud.net
* 项目官网: http://paascloud.net
*/
package com.paascloud.core.aspect;
import ... | 22.851852 | 73 | 0.683955 |
5937fd3ae474d6c4bc81fb5c8e757d5193bfd70a | 797 | package BatalhaNaval;
public class Interface {
public static int[][] Grid;
private static int Gridh = 8;
private static int Gridv = 8;
public static void Tabuleiro() {
Grid = new int[Gridv][Gridh];
for (int i = 0; i < 10; i++) {
System.out.println(" ");
for (i... | 21.540541 | 47 | 0.450439 |
ac5a1a06b94a4ea2b403fe22833829264e3b27f8 | 4,895 | /**
Copyright 2013 Intel Corporation, 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 applicable law or agr... | 35.992647 | 81 | 0.605924 |
b8162b8eae554e5cfcbdcc03e0aa547d646968c0 | 2,493 | package org.umlg.sqlg.test.filter.and;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__;
import org.apache.tinkerpop.gremlin.structure.T;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.junit.Asser... | 41.55 | 124 | 0.588849 |
c3948040e3b33a946e28cad102535b9755300748 | 151 | package Overriding;
public class Overriding {
public static void main(String[] args) {
BExtA b = new BExtA();
b.show();
}
}
| 13.727273 | 44 | 0.576159 |
3213bd6a7e9b63209ee04ad94abe2201aeaeb3a4 | 5,063 | package com.yikuan.androidcommon.ui;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import an... | 26.647368 | 117 | 0.55718 |
5845a99efd0482b21632988558f27f4bddd98000 | 3,068 | /*---------------------------------------------------------------------------*
* Copyright (c) 2018 McAfee, LLC - All Rights Reserved. *
*---------------------------------------------------------------------------*/
package com.opendxl.client;
import com.opendxl.client.callback.RequestCallback;
... | 26 | 105 | 0.555737 |
5bf87d747fcd73b7bf3e6d5a5f61206a2e84bf94 | 1,197 | package quizOne;
/*final abstract class Main {
public void print () {}
private static String name;
private static String getName() { return name;}
public static void main(String[] args) {
System.out.println("CodingBook");
}
/ }
*/
/*class Main {
public void print () {}
private... | 20.637931 | 51 | 0.619883 |
cbd7f969bb70c37de05bf4bfeae0aee713455e07 | 3,028 | /*
* Copyright 2015 MovingBlocks
*
* 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... | 32.913043 | 108 | 0.594782 |
5d3314dd4c8f3d1645307a0486ffec33a515b893 | 994 | package com.yammer.breakerbox.dashboard.bundle;
import com.netflix.hystrix.dashboard.stream.MockStreamServlet;
import com.netflix.hystrix.dashboard.stream.ProxyStreamServlet;
import io.dropwizard.Configuration;
import io.dropwizard.ConfiguredBundle;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.setup.... | 41.416667 | 121 | 0.777666 |
beaf4992818bcdb0809708c593f3e2a449282596 | 7,025 | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... | 47.789116 | 117 | 0.680854 |
a3628172e3e16d3f75fc6bf44bd69e669f7f20d7 | 2,529 | /*
* Licensed to the Technische Universität Darmstadt under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The Technische Universität Darmstadt
* licenses this file to you under the Apache License, Version... | 28.41573 | 100 | 0.718861 |
fa736151a616e4be8a6d6adec868f5534347230f | 863 | package org.opencds.cqf.tooling.library.stu3;
import org.hl7.fhir.dstu3.model.DomainResource;
import org.hl7.fhir.dstu3.model.Narrative;
import org.hl7.fhir.instance.model.api.IBaseResource;
import org.opencds.cqf.tooling.library.BaseNarrativeProvider;
import ca.uhn.fhir.context.FhirContext;
public class NarrativePr... | 34.52 | 126 | 0.767092 |
48c15776278581d7cefe936380c9310e22ba0cab | 1,618 | // Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.alcatel.as.service.diagnostics.impl;
import java.io.IOException;
import java.util.Dictionary;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.frame... | 38.52381 | 114 | 0.736712 |
5b56f5882be87ae2094d0fe9ef85ea6da1cb0286 | 10,571 | /*
* MIT License
*
* Copyright (c) 2021 Hasan Demirtaş
*
* 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, m... | 34.773026 | 116 | 0.658783 |
22b9f1ddd9cc81e79ac20be282d4bd5b33dc9e29 | 11,417 | package com.fasterxml.jackson.databind.node;
import java.io.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
import com.fasterxml.ja... | 31.279452 | 122 | 0.5921 |
8a6788fb5470f52a027ca3e82d34d48aa7d981e1 | 682 | package com.eningqu.modules.api.service;
import com.eningqu.common.base.service.IBaseService;
import com.eningqu.domain.api.Product;
/**
*
* @desc TODO 产品service接口
* @author Yanghuangping
* @since 2018/7/5 15:22
* @version 1.0
*
**/
public interface IProductService extends IBaseService<Product>{
... | 17.487179 | 63 | 0.596774 |
26d071341ff8d900cf353d09a7fa2aea407592a8 | 8,136 | /*
* 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 ... | 37.150685 | 134 | 0.651794 |
b2693a2e2532b6a8675ab1c107ff9c1b53476752 | 70 | import sting.Injectable;
@Injectable
public class NoPackageModel
{
}
| 10 | 27 | 0.8 |
d33c2b321372c7873e7fc289256695a689dc838e | 6,895 | package ru.volkov.guest.view.meet;
import com.github.appreciated.Swiper;
import com.github.appreciated.SwiperConfigBuilder;
import com.github.appreciated.card.RippleClickableCard;
import com.github.appreciated.config.Direction;
import com.vaadin.flow.component.Component;
import com.vaadin.flow.component.Composite;
imp... | 38.305556 | 115 | 0.648731 |
8b171e7cda63a845f46e81d7f0e068a113b1d690 | 2,595 | package com.example.infm308.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotati... | 35.547945 | 108 | 0.662428 |
9e1eace7fed5db53f64d4c9e1bef7b9d3806598f | 1,805 | /*
* Copyright 2003 - 2020 The eFaps Team
*
* 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 ... | 30.083333 | 100 | 0.725208 |
4cea0c1a96379988db6ed492047f09a90dfdb50c | 986 | package org.jboss.errai.demo.client.shared;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;
/**
* This JAX-RS resource interface is used on both the client and the server.... | 28.171429 | 79 | 0.732252 |
4772150584b4a27320ddc0fe38aecba0a80fefa5 | 1,069 | package com.yueny.demo.capture.demo.cardbin;
import java.io.File;
import java.util.List;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import com.yueny.demo.capture.BaseBizTest;
import com.yueny.rapid.lang.util.burrow.FileUtil;
im... | 25.452381 | 106 | 0.734331 |
98e7682d780b6704533c1026e0e568610c481908 | 2,122 | /*
* Copyright (C) 2017 - present Instructure, 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 requ... | 26.525 | 111 | 0.679548 |
ffcef3927906c4cda08ba02325caf64cf7be3d33 | 3,215 | /*
* 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 ... | 37.823529 | 99 | 0.609953 |
9dac58cd82d58d402c494cb402fd537c1d925248 | 1,547 | /**
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.curve;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.coverBean... | 34.377778 | 101 | 0.742728 |
83aae8ca53172d3355be7fb3f0fd40d59db115b8 | 1,718 | /*
* Copyright 2000-2018 Vaadin Ltd.
*
* 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... | 29.62069 | 80 | 0.689756 |
2f4c560ff96d636696f1adcfafe4ca3a117d89e1 | 14,004 | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
package com.twitter.scrooge.test.gold.thriftjava;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util... | 28.177062 | 135 | 0.671879 |
8e306e6f3bba042b969eaff81a1bc485bcd8d2cd | 907 | import java.math.BigInteger;
public class DiscorruptBank {
private BigInteger money;
public DiscorruptBank () {
money = new BigInteger("100000000000");
}
public void depositMoney (BigInteger deposit) {
BigInteger m = this.getMoney();
// money = money.add(deposit);
try ... | 22.121951 | 53 | 0.570011 |
2012daff3add9d96d8b50cc916a2e2dd90196818 | 1,110 | /*
*
* Copyright (c) 2019 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http:/... | 25.813953 | 98 | 0.682883 |
c3682f4ee367b3e3a3279a125a50d2f160a683ed | 1,301 | package com.myedu.project.store.service;
import com.myedu.project.store.domain.YunStoreCouponReceive;
import java.util.List;
/**
* 优惠券领用Service接口
*
* @author 梁少鹏
* @date 2020-02-24
*/
public interface IYunStoreCouponReceiveService
{
/**
* 查询优惠券领用
*
* @param id 优惠券领用ID
* @return 优惠券领用
... | 20.650794 | 116 | 0.651038 |
7c100863747074463e54c9fbe5ca643d5121c589 | 4,882 | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | 41.726496 | 86 | 0.769357 |
60fea67205e52c161d98964cb5de1eab57bd9037 | 1,404 | package zapsolutions.zap.connection.lndConnection;
import java.util.concurrent.Executor;
import io.grpc.CallCredentials;
import io.grpc.Metadata;
import io.grpc.Status;
/**
* This class is used to create macaroon CallCredentials for the gRPC calls.
*/
public class MacaroonCallCredential extends CallCredentials {
... | 30.521739 | 117 | 0.621083 |
ae7d18ee9dbf18ce9cc9b1f5981081d139e18359 | 1,348 | package cz.cvut.fel.ida.learning.crossvalidation.splitting;
import cz.cvut.fel.ida.learning.LearningSample;
import cz.cvut.fel.ida.setup.Settings;
import cz.cvut.fel.ida.utils.generic.Pair;
import java.util.List;
import java.util.logging.Logger;
import java.util.stream.Stream;
public class LinearSplitter<T extends L... | 33.7 | 134 | 0.672849 |
5a402782fa6adcdaffca6d87a9b9d47194004700 | 2,386 | package com.ruoyi.offline.service.impl;
import java.util.List;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.offline.mapper.MjxtMjxtCdwgxxQywxMa... | 24.346939 | 103 | 0.703269 |
d9f9b2a0b5050fd5172d66c59effec63e565fc40 | 175 | package interfaces;
import models.KeyBind;
import java.awt.event.KeyListener;
public interface BirdKeyListener extends KeyListener {
void addBind(KeyBind keyBind);
}
| 14.583333 | 54 | 0.788571 |
ac089a566c04d56287bf581d9d0557973f795513 | 702 | package com.xresch.pageanalyzer.response;
import com.xresch.cfw.response.bootstrap.BTFooter;
import com.xresch.cfw.response.bootstrap.BTLink;
/**************************************************************************************************************
*
* @author Reto Scheiwiller, (c) Copyright 2019
* @licens... | 26 | 112 | 0.477208 |
5af18d6f9a4d5810be5a96eb51cf69725c3ed581 | 1,490 | // This example is from _Java Examples in a Nutshell_. (http://www.oreilly.com)
// Copyright (c) 1997 by David Flanagan
// This example is provided WITHOUT ANY WARRANTY either expressed or implied.
// You may study, use, modify, and distribute it for non-commercial purposes.
// For any commercial use, see http://www.da... | 41.388889 | 79 | 0.728859 |
e1c643ed1ba46196ab2a00ea8f17ef47ac8f4774 | 680 | package quemepongo.model.usuario.guardarropa;
import java.util.Set;
import quemepongo.model.prenda.Prenda;
/**
* Sugerencias de modificacion remover de guardarropas.
*
* @since 05.27.2021
* @version 1.0
*/
public class TentativaQuitar extends Tentativa {
/**
* Sugiere eliminar una prenda del guardarrop... | 20 | 58 | 0.667647 |
1e3d5e9a07c8b681634aac888c8475953d7f2db0 | 232 | package com.wilson.cms.annotation;
import java.lang.annotation.*;
/**
* 权限标记
*/
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Permission {
String value();
}
| 16.571429 | 46 | 0.741379 |
dc3b48ac372255f9deeda4f15ac203dc0e15ce7a | 4,779 | /*
* Copyright 2018 iserge.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 40.846154 | 84 | 0.719607 |
4123208ee577cf13625add8c15e5700d79c79b68 | 484 | package com.smzdm.elasticsearch.http.jetty;
import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.common.settings.Settings;
/**
* @author zhengwen.zhu
*/
public class JettyHttpServerTransportModule extends AbstractModule {
private final Settings settings;
public JettyHttpServerTr... | 23.047619 | 68 | 0.75 |
6da576b7e24caaf823b965f605ed0b93afa42ff9 | 3,448 | package org.wiztools.restclient.ui.update;
import java.awt.Desktop;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.inject.Inject;
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
import... | 36.294737 | 106 | 0.601508 |
3521d1b6130ad0203ef85e15b55e32e5c72bbe09 | 1,996 | package com.jk.ch3;
import com.alibaba.fastjson.JSON;
/**
* 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。
*
* 示例:
*
* 输入: [0,1,0,3,12]
* 输出: [1,3,12,0,0]
* 说明:
*
* 必须在原数组上操作,不能拷贝额外的数组。
* 尽量减少操作次数。
*
* 来源:力扣(LeetCode)
* 链接:https://leetcode-cn.com/problems/move-zeroes
* 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处... | 22.942529 | 111 | 0.513527 |
f111d6d7a31b7b89e94594c214cf06f18f94f0fc | 376 | package jp.yoshi_misa_kae.tatami.annotations.event;
import android.support.annotation.IdRes;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
... | 25.066667 | 51 | 0.819149 |
94af809960cbf2a7d7d8e29cc8d5106ebfe6a352 | 513 | package br.ufc.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import br.ufc.model.Papel;
@Repository
public class PapelDAO {
@PersistenceContext
private EntityManager manager;
public Papel re... | 19 | 86 | 0.768031 |
5c19793d81e227acbe812d9c9bf1d5ab8491f38d | 21,811 | /*
* $Id: DBWriter3.java 7541 2014-11-18 15:24:12Z costing $
*/
package lia.Monitor.Store.Fast;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import lia.Monitor.monitor.AppConfig;
import lia.... | 39.728597 | 202 | 0.420338 |
a018cb069ebb699a16666b986f1d17768d1f1b40 | 642 | package com.java.bigDataIndexing.service;
import com.java.bigDataIndexing.controller.PlanController;
import org.everit.json.schema.Schema;
import org.everit.json.schema.ValidationException;
import org.everit.json.schema.loader.SchemaLoader;
import org.json.JSONObject;
import org.json.JSONTokener;
public class Valida... | 33.789474 | 130 | 0.791277 |
866d6d27229fd590aa058125fe4af5d6381c909a | 2,410 | import android.annotation.SuppressLint;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
public class RealNumberWatcher implements TextWatcher {
private final EditText editText;
private char separator = ',';
/**
* Decimal-Signed inputType TextWatcher ... | 32.133333 | 89 | 0.624066 |
ffca77e4adb2d2e89fafd052224e00d76abca3aa | 2,555 | package es.dani;
import java.util.Scanner;
/**
* @author Daniel Carmona Rodriguez
*/
public class Main {
public static void main(String[] args) {
int[][] matriz;
matriz=sizeMatriz();
getMatriz(matriz);
imprimirMatriz(matriz);
calcularValorMaximo(matriz);
}
/**
* Funcion para cre... | 30.783133 | 93 | 0.540117 |
8cb62a013f217bcfb4cb3cfa56cbdf5e67350454 | 643 | package tec.uom.tools.shared;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Test;
/**
* Created by IntelliJ IDEA.
* User: Anakar Parida
* Date: 5/13/15
* Time: 11:16 PM
*/
public class Absolute... | 20.741935 | 75 | 0.732504 |
3199b80dc91bf24cc8c2dda255f6c923bc614a65 | 2,043 | package org.apache.rocketmq.example.quickstart;
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
import org.apache.rocketmq.client.consumer.listener.ConsumeConcurrentlyStatus;
import org.apache.rocketmq.client.consumer.lis... | 42.5625 | 117 | 0.610866 |
12b9220012331e27562f7d1759b990ca369ceb5a | 1,980 | package info.javaspec.console;
import com.beust.jcommander.JCommander;
import info.javaspec.console.MultiCommandParser.JCommanderParameters;
import java.util.List;
public final class JCommanderHelpers {
private JCommanderHelpers() {}
public static void parseMainArgs(JCommanderParameters subject, String... args)... | 32.459016 | 118 | 0.722222 |
d2a34e0e8e605edf6c37ba0fee4e01a7d2f0de59 | 1,437 | package br.com.bytechameleon;
import java.io.ByteArrayInputStream;
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.IllegalClassFormatException;
import java.security.ProtectionDomain;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
public class Transforme... | 26.127273 | 98 | 0.743911 |
77136041077691bd314cc46de51f4e44400bf79f | 4,245 | package data;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;... | 29.275862 | 79 | 0.726973 |
c05b2a34ac90621349dd80fb294c75fd710f0605 | 94 | package ast;
/**
* @author kongtong.ouyang on 2018/2/8.
*/
public class ExpressionNode {
}
| 11.75 | 39 | 0.670213 |
0dda6493671783ae1176d1aa2c342cbef864feea | 2,121 | package org.concerto.FinancialEngineeringToolbox.Util.Simulation.MeanReverting;
import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics;
import org.concerto.FinancialEngineeringToolbox.ConstantForTest;
import org.concerto.FinancialEngineeringToolbox.Exception.ParameterRangeErrorException;
import org.con... | 37.210526 | 131 | 0.693069 |
911ef541c2e81d819ca985f49895e9673d61955e | 3,826 | /*
* Copyright (c) 2015 Uber Technologies, 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, me... | 28.340741 | 83 | 0.61265 |
fec98ecd145f125740bbe09ca2754db017708bc3 | 7,986 | package com.michelin.ns4kafka.cli.services;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.util.StdDateFormat;
import com.michelin.ns4kafka.cli.KafkactlConfig;
import com.michelin.ns4kafka.cli.models.Resource;
import com.micheli... | 40.953846 | 143 | 0.552467 |
4bd95ce55fd40420d98724467bd9e1a8b85d2725 | 1,873 | package org.jvirtanen.value;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.StandardToStringStyle;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/*... | 30.209677 | 80 | 0.657768 |
cc0768a6867bebd954e8fc79ac9747d821d4d1ae | 1,229 | package bdv.ui.sourcetable;
import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.JTable;
import javax.swing.UIManager;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import javax.swing.table.TableCellRenderer;
/**
* @author Tobias Pietzsc... | 24.098039 | 172 | 0.738812 |
9f3d11b9bebcad40dae8d8e2748ee9ddf58e6ad4 | 245 | package io.bot.email.model;
public enum SetupState {
FIRST_USER_SETUP, SELECT_EMAIL_VENDOR, SELECT_EMAIL_PROTOCOL, ENTERING_EMAIL, ENTERING_PASSWORD,
CHANGE_VENDOR, CHANGE_PROTOCOL, CHANGE_ADDRESS, CHANGE_PASSWORD,
SETUP_FINISHED
}
| 30.625 | 100 | 0.816327 |
774edf4b0e27d4f6ee8e7258dfd1e404b8264564 | 2,701 | /*
* 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 com.semantic;
import igmas.process.JVMProcess;
import igmas.process.util.Util;
import java.io.File;
import java.io.IOException... | 26.742574 | 88 | 0.607553 |
3e70565892eddaf759aabc82f6f4ec9960e2772c | 536 | package com.jpeony.test.service.interceptor;
import com.jpeony.common.spring.interceptor.InterceptorChain;
import com.jpeony.test.BaseServletTest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
* 拦截器测试
*
* @author yihonglei
*/
public class InterceptorTest extends BaseSer... | 23.304348 | 62 | 0.733209 |
5383c48cb357cf4b8c4fa143bd57adb810400c97 | 158 | package org.w3.activity.streams.object;
import com.fasterxml.jackson.annotation.JsonTypeName;
@JsonTypeName("Page")
public class Page extends Document{
}
| 15.8 | 53 | 0.797468 |
6182cc7d31c4cf8b84e0af97533defb1359de87c | 1,768 | package TheCopycat.powers;
import TheCopycat.CopycatModMain;
import com.megacrit.cardcrawl.actions.common.ReducePowerAction;
import com.megacrit.cardcrawl.actions.common.RemoveSpecificPowerAction;
import com.megacrit.cardcrawl.cards.DamageInfo;
import com.megacrit.cardcrawl.core.AbstractCreature;
import com.megacrit.c... | 32.145455 | 112 | 0.765271 |
561c57f3c9041a62bcfd304ba11976a7193f1c15 | 4,317 | /*
* Copyright 2018 Group 5.
*
* 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.323529 | 157 | 0.61779 |
752ac13c7f055d0a90b44218a07349c0df27a7eb | 202 | package com.zts.xtp.common.enums;
public enum OptCallOrPutType {
XTP_OPT_CALL(1),
XTP_OPT_PUT(2);
public final int type;
OptCallOrPutType(int type){
this.type = type;
}
}
| 15.538462 | 33 | 0.648515 |
80fafbd04d3d09e7edfcfa5b81e854746250f92c | 269 | package com.linln.admin.order.validator;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
/**
* @author albert.fang
* @date 2021/01/27
*/
@Data
public class DetailValid implements Serializable {
private Long id;
} | 16.8125 | 50 | 0.750929 |
efad63818b9c4e78764a837ab71827db03ac2f2d | 285 | package com.example.android.sunshine.app.Model.ForecastModels;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by deepanshpahwa on 2/19/16.
*/
public class Forecast {
@SerializedName("list")
public
List<data> forecastDays;
}
| 15.833333 | 62 | 0.729825 |
de36e8d1ff8d1d7b26b4ea82197f52200a951193 | 1,685 | package com.bitmovin.api.sdk.common;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class BitmovinHeadersInterceptor implements RequestInterceptor {
private final Str... | 37.444444 | 115 | 0.682493 |
bbc65c2caaad8846ecde131616e307f967907199 | 525 | package com.example.hibernatesecondlevelcache.repository;
import com.example.hibernatesecondlevelcache.entity.onetoone.workaround.MarketOneToOne;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.QueryHints;
import javax.persistence.QueryHint;
public interfa... | 37.5 | 87 | 0.830476 |
e210bebefcf2593c8195f5a31c514615f5729f4d | 6,723 | package org.libj.xquery.runtime;
import org.libj.xquery.Callback;
import org.libj.xquery.annotation.Function;
import org.libj.xquery.annotation.Namespace;
import org.libj.xquery.xml.XML;
import java.util.ArrayList;
@Namespace(name="op")
public class Op {
//////////////////////////////////////////////////
///... | 27.896266 | 71 | 0.510486 |
76467319dedb9b86c150308d907d36de6dd57de9 | 7,423 | /*
* Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com>
*/
package play.mvc;
import java.util.function.Consumer;
import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
import org.junit.Test;
import play.Application;
import play.Environment;
import play.core.j.JavaContextCompone... | 42.907514 | 109 | 0.631281 |
161725e7e2593cc2846efc0d3df6f3b8a794899c | 1,655 | package com.example.zhoul_pc.mytestapp.retrofit.biz;
import com.example.zhoul_pc.mytestapp.common.BaseUrl;
import com.example.zhoul_pc.mytestapp.retrofit.bean.ACEntertainmentEntity;
import com.example.zhoul_pc.mytestapp.retrofit.inter4face.IACBiz;
import com.example.zhoul_pc.mytestapp.retrofit.listener.OnCommonRetrofi... | 36.777778 | 120 | 0.659215 |
36cc7e174bf3285174bc163b7b527455199eb821 | 43,864 | /*
* Copyright 2004,2005 The Apache Software 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 ap... | 41.032741 | 124 | 0.57505 |
20ebf0337e7b7e0f205875a5d1b1a13aec115cd6 | 660 | package jacoblo.algorithm.Greedy;
import jacoblo.data.Job;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
public class SchedulingTest {
@Test
void testSample() {
SchedulingGreedy<Integer,Integer> sg = new SchedulingGreedy<>();
// sg.addJob(newJob(10,1));
// sg.addJob(newJob(1,10));
... | 22.758621 | 68 | 0.633333 |
de765e87cc8fce2ed94243f357b481b83bca93c1 | 1,390 | /*
* 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 googledb;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Frame;
import javax.swing.BorderFactory;
im... | 29.574468 | 93 | 0.676978 |
4de901f1789a05538d639dbf14ad104c67bbc0ed | 6,335 | package elasticsearchtest2;
import static org.junit.Assert.*;
import org.junit.*;
import java.util.*;
import java.io.*;
import org.elasticsearch.action.bulk.*;
import org.elasticsearch.common.transport.*;
import org.elasticsearch.client.transport.*;
import org.elasticsearch.common.settings.*;
import org.elasticsear... | 35.589888 | 183 | 0.577743 |
18631249561317b8d25d0abb4521f01fa54e98e4 | 1,967 | /**
* Copyright 2013 Canada Health Infoway, 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 applicab... | 31.725806 | 88 | 0.743264 |
f4cecc282605ae41fb3b8697ce3d53c8e94bfe43 | 5,706 | package com.olku.autoproxy.sample;
import androidx.annotation.NonNull;
import com.olku.autoproxy.sample.$MimicFinalClass.M;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import java.util... | 38.554054 | 122 | 0.595864 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.