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 |
|---|---|---|---|---|---|
2ef575bbb1ccae25d312f191b993970a4d63ca4f | 2,286 | /*
This file is part of the Yet Another Extensible Simulator
Created on: Feb 2, 2011
yaes.ui.visualization.painters.PaintSpec
Copyright (c) 2008-2010 Ladislau Boloni
This package is licensed under the LGPL version 2.
*/
package yaes.ui.visualization.painters;
import java.awt.BasicStrok... | 21.566038 | 78 | 0.594051 |
4f2160e18919a78e6e0af147459c804e5fa5d3ae | 2,533 | package com.mr208.cqc.client;
import com.mr208.cqc.CQC;
import com.mr208.cqc.network.NetworkHandler;
import com.mr208.cqc.network.packets.PacketBreachDoor;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDoor;
import net.minecraft.block.BlockFenceGate;
import net.minecraft.block.BlockTrapDoor;
import... | 30.154762 | 89 | 0.76589 |
09959fddc06ce62948725aba8c8c1c7070d2274f | 9,071 | /*
* Copyright (c) 2019-2021, Istomin Andrei
*
* 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... | 32.281139 | 79 | 0.559806 |
cece9cba14a99a34ae2e184a90941e003ad9e59f | 2,831 | package com.kaya.awsome_info;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import... | 33.305882 | 123 | 0.643942 |
03a5d6e3568a1e84daf751a7fc8f1f74710d7982 | 4,401 | package it.progess.core.dao;
import it.progess.core.hibernate.HibernateUtils;
import it.progess.core.pojo.TblCategorySupplier;
import it.progess.core.pojo.TblCompany;
import it.progess.core.pojo.TblDeliveryCity;
import it.progess.core.pojo.TblDeliveryDeliveryCountry;
import it.progess.core.pojo.TblDeliveryZone;
import... | 32.360294 | 101 | 0.702568 |
5c279225c3fed8c9af6c3b80561024489b0b4192 | 3,690 | /*
* 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 net.iatsoftware.iat.resultdata;
/**
*
* @author michael
*/
import net.iatsoftware.iat.controllers.RestException;
import j... | 41 | 216 | 0.649051 |
ba4ba4d2a8c1c32df3c67ba5ed89e794d3abd00c | 1,123 | package com.dcy.quartz.dto.input;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
/**
* @Author:dcy
* @Description:
* @Date: 2021/4/3 14:51
*/
@Getter
@Se... | 23.893617 | 64 | 0.727516 |
7071d69b0ae7fdcd57fe23afcc7f40e78653c995 | 895 | package ch.epfl.tchu.gui;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
/**
* Test pour le launcher
*
* @author Edouard Michelin (314770)
* @author Julien Jordan (315429)
*/
public fi... | 25.571429 | 88 | 0.681564 |
0f53a4ec7d31b450b6c170b3d5a168c0679c03c4 | 361 | package com.blnz.xml.parse;
/**
* Information about the end of a document type declaration.
* @see com.blnz.xml.parse.base.Application#endDocumentTypeDeclaration
* @version $Revision: 1.1 $ $Date: 1998/06/10 09:45:11 $
*/
public interface EndDocumentTypeDeclarationEvent {
/**
* Returns the DTD that w... | 25.785714 | 71 | 0.684211 |
b2eba3bab042646601d5778f29f238a66dde550e | 92,099 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/service.proto
package com.clarifai.grpc.api;
/**
* Protobuf type {@code clarifai.api.ListAnnotationsRequest}
*/
public final class ListAnnotationsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@... | 34.952182 | 153 | 0.647694 |
287dd02644abf259702bc99b0daf75fc7df0cf68 | 1,863 | package org.zalando.zmon.actuator;
import io.micrometer.core.instrument.MeterRegistry;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.bean... | 33.872727 | 94 | 0.75416 |
721a9d4ea79110ae8567efb329b4fdfe7e0ac9e2 | 8,404 | package ar.rulosoft.mimanganu;
import android.content.Context;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotat... | 30.449275 | 97 | 0.702523 |
eb19bddd5aa6c2597854f21df7c6c2e47b325e76 | 2,608 | /*
* 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 ... | 30.682353 | 104 | 0.619248 |
947b2043fa9b71adf1fb9868f0ebd1751c05c21e | 1,978 | /*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* 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 applic... | 27.472222 | 84 | 0.672902 |
294ba767e914a8e9bef7760917353dcd81719b97 | 2,424 | package us.codecraft.webmagic.tools;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
public class CSVReader {
public static List<String... | 33.205479 | 149 | 0.543317 |
210b405a036e1b278174a83b51956e9bfb79d676 | 1,292 | /*
* Copyright 2018 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 applica... | 36.914286 | 145 | 0.760836 |
fe6cf4d46c20e429a75e4a71879f3d70cea27936 | 875 | package com.baidu.location;
import com.baidu.location.b.b.b;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
public class CommonEncrypt {
public static boolean a;
static {
try {
System.loadLibrary("locSDK4d");
a = true;
} catch (Exception e) {
... | 21.341463 | 74 | 0.517714 |
2aa683f671d13100a0a9b21aecd397a5fb58ebdf | 4,505 | package org.tensorflow.yolo;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.constraint.ConstraintLayout;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import androi... | 31.068966 | 108 | 0.594007 |
34e03bf8296584e913c5ec24fe6e38fad0df5890 | 765 | package chapter_08_ramda_stream;
import java.util.function.Consumer;
public class RamdaVariableAccess {
Consumer<String> createProc(String paramValue /* 実質finalのパラメータ変数 */) {
String changeValue = "change"; // 後述で再代入しているため、実質finalではない
String localValue = "local"; // 実質final
final String... | 33.26087 | 125 | 0.633987 |
1c6d1ff11aee0a5a8942faa03d12e30f4e418adc | 5,154 | // Copyright 2000-2020 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.structuralsearch;
import com.intellij.codeInspection.ex.InspectionProfileImpl;
import com.intellij.codeInspection.ex.InspectionToolWrapper;
import com.intell... | 44.051282 | 172 | 0.706442 |
87460b61743a0697d3501a68fb389f24132c3b38 | 28,864 | package quoridor;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.*;
/**
* Cette classe gère les différents aspect de la partie
*/
public class Partie {
private Mode mode;
private Plateau plateau;
private ArrayList<Joueur> joueurs;
private int tour;
/**
* Créé un ... | 67.915294 | 240 | 0.616477 |
8870fd345c9156119d7c9a4e2fe55f26bbc1a6dc | 1,785 | package com.silinx.source.swaggerranger.JavaCore.Reflection;
/*******************************************************************************
* @Copyright (C), 2018-2019,github:Swagger-Ranger
* @FileName: Reflection_GetClass
* @Author: liufei32@outlook.com
* @Date: 2019/4/6 19:11
* @Description: 获取Class对象
* @Ah... | 35 | 106 | 0.552381 |
5587aa587e4cb0d75e357fd7ce8d2f7995bc9b97 | 99 | package technology.semi.weaviate.client.v1.graphql.query.argument;
public interface Parameter {
}
| 19.8 | 66 | 0.818182 |
ed46742ced3f280eb723cf38d0519047a1f8943b | 15,950 | package com.ddf.materialbintool.main;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.ParameterException;
import com.ddf.materialbintool.bgfx.BgfxShader;
import com.ddf.materialbintool.main.compiler.BgfxShaderCompiler;
import com.ddf.materialbintool.main.compiler.Defines;
import com.ddf.materialbin... | 38.52657 | 198 | 0.711348 |
d9e9691d2ba0c4e63abf01e16ad8baa3490d857b | 2,305 | /*
* Copyright 2015 Matthew Timmermans
*
* 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... | 24.521277 | 76 | 0.615618 |
3c3aa23e3baf5f0cab2b02c5a232bd3b7963c9e1 | 1,180 | package com.github.neapovil.combatlog.command;
import com.github.neapovil.combatlog.CombatLog;
import dev.jorel.commandapi.CommandAPICommand;
import dev.jorel.commandapi.arguments.BooleanArgument;
import dev.jorel.commandapi.arguments.LiteralArgument;
import net.kyori.adventure.text.minimessage.tag.resolver.Placehold... | 34.705882 | 130 | 0.647458 |
1665dd27aea78a8c7ec98c544df98ea1650f0d7c | 453 | package ogr.user12043.taskorger.dao;
import ogr.user12043.taskorger.model.Column;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
/**
* Created on 12.06.2019 - 21:42
* part of taskorger
*
* @author user12043
*/
@Repository... | 26.647059 | 76 | 0.785872 |
fe666298c9378a54d6d6b9474f95f9c0f00cd6a3 | 340 | package org.orangepalantir.leastsquares;
public interface Fitter {
public void setData(double[][] xvalues, double[] zvalues);
public void setParameters(double[] parameters);
public double[] getParameters();
public double[] getUncertainty();
public void fitData();
public double cal... | 28.333333 | 63 | 0.688235 |
ed00acd9280535520e9916c654b01eb2dbaf1d39 | 525 | package com.hartwig.patient;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
@Value.Immutable
@JsonDeserialize(as = ImmutableLane.class)
public interface Lane {
String NOT_APPLICABLE = "NA";
String laneNumber();
String firstOfPairPath();
String... | 19.444444 | 65 | 0.712381 |
9e3ad5fc767f96a183db1674ca5eb1a077e56e0c | 1,376 | package com.ucar.datalink.common.zookeeper;
/**
* Created by lubiao on 2016/12/8.
*/
public class ManagerMetaData {
private String address;
private int port;
private int httpPort;
public ManagerMetaData() {
}
public ManagerMetaData(String address, int port, int httpPort) {
this.ad... | 20.537313 | 68 | 0.585756 |
75c0b667e2ca18aaf72096cb3998408a630fbc5b | 4,229 | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchlib.gbdt;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import javax.xml.pars... | 38.099099 | 120 | 0.626389 |
7890d59406d3fbec0a0ef0912f1695f45f762e7f | 353 | package com.zw.platform.basic.service;
import com.zw.platform.basic.dto.OrganizationGroupDO;
import java.util.List;
/**
* @author wanxing
* @Title: 组织-分组service
* @date 2020/12/1617:36
*/
public interface OrganizationGroupService extends CacheService {
/**
* 获取所有组织-分组关系
* @return
*/
List<... | 17.65 | 64 | 0.691218 |
5d2f280e37ccac0b3188a2de96857f6d9f24d76f | 7,887 | // Copyright 2015-2018 The NATS 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 applicable law or ag... | 39.044554 | 133 | 0.582097 |
2439401b1ad3ca65187ec4b2c696d5cc3a934d17 | 983 | package com.ceiba.vehiculo.servicio;
import com.ceiba.dominio.excepcion.ExcepcionDuplicidad;
import com.ceiba.vehiculo.modelo.entidad.Vehiculo;
import com.ceiba.vehiculo.puerto.repositorio.RepositorioVehiculo;
public class ServicioActualizarVehiculo {
private static final String EL_VEHICULO_NO_EXISTE_EN_EL_SISTEM... | 33.896552 | 108 | 0.76704 |
0a9a2c58d1086d1f6f9eabba9540bf7a4701cd4c | 168 | package com.jet.common;
/**
* @ClassName: HelloWorld
* @Description:
* @Author: Jet.Chen
* @Date: 2019/9/6 22:45
* @Version: 1.0
**/
public class HelloWorld {
}
| 14 | 25 | 0.630952 |
d573f75260f905e7101098fb438de1a5d3aafca4 | 510 | /*
* blackduck-artifactory-common
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.artifactory.modules.inspection.model;
// TODO: This... | 31.875 | 142 | 0.764706 |
74a0dc1692e528884840c8b9104bc1c9d3a3fa0c | 2,470 | package org.artifactory.ui.rest.service.admin.security.saml;
import org.artifactory.addon.AddonsManager;
import org.artifactory.addon.saml.SamlSsoAddon;
import org.artifactory.api.config.CentralConfigService;
import org.artifactory.api.context.ContextHelper;
import org.artifactory.descriptor.config.MutableCentralConfi... | 42.586207 | 103 | 0.759514 |
1d63900df7bc80c4dfadec064118362feef1270f | 1,019 | package com.lovecws.mumu.zookeeper.curator.framework;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.recipes.cache.NodeCache;
import org.apache.curator.framework.recipes.cache.NodeCacheListener;
import java.util.concurrent.TimeUnit;
public class CuratorCache {
/**
... | 29.970588 | 77 | 0.635918 |
13a42780bb41256c23bd6c28c8b813448db83321 | 4,483 | package org.protege.editor.core.ui.view;
import org.protege.editor.core.Disposable;
import org.protege.editor.core.ui.split.ViewSplitPane;
import org.protege.editor.core.ui.util.UIUtil;
import javax.swing.*;
import java.awt.*;
/**
* Author: Matthew Horridge<br>
* The University Of Manchester<br>
* Medical Inform... | 29.493421 | 84 | 0.644435 |
56826254a6300be7baf9b826b81a3b33dd4999f1 | 264 | package suwu.daopuerp.entity.annotation;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface Table {
/**
* table name
*
* @return
*/
String name() default "";
}
| 16.5 | 40 | 0.655303 |
86735d25d511538db1eed5502f0eda09d42372d5 | 5,842 | package com.jishukezhan.http.support;
import com.jishukezhan.annotation.Nullable;
import com.jishukezhan.core.http.ContentType;
import com.jishukezhan.core.lang.CollectionUtil;
import com.jishukezhan.core.lang.Preconditions;
import com.jishukezhan.core.lang.StringUtil;
import com.jishukezhan.http.FormBody;
import com.... | 27.819048 | 107 | 0.579938 |
a4135e302900456fb8344584bb55bfe527c4743c | 1,640 | package com.aidansu.mall.core.security.registry;
import lombok.Data;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* secure api放行配置
*
* @author aidan
*/
@Data
public class SecureRegistry {
private boolean enable = true;
private final List<String> defaultExcludePatterns... | 28.77193 | 74 | 0.656707 |
9f21e3cb2bf17aae2884ee00ad31768e3df84302 | 1,659 | /*
* Copyright 2016 nathan.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 28.118644 | 98 | 0.743219 |
9ce14fbfaf3c554e0a716d6a86f2c419be92c5e9 | 7,803 | /*
* Copyright 2000-2019 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... | 36.462617 | 135 | 0.678713 |
4c07ef164b937171d2314bbab6166da5dbd201ce | 20,540 | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.JNI.*;
/**
* This extension enables fixed-rate image com... | 79.612403 | 737 | 0.743671 |
c9099eea16bd1ba091ae76245f2fdb00402af6a9 | 3,208 | package com.construction.controller;
import java.security.Principal;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.b... | 29.163636 | 96 | 0.76808 |
bac45d35fdb74e613b432714800b29db6a7e2238 | 646 | package cz.nkp.urnnbn.solr_indexer;
/**
* Created by Martin Řehánek on 21.12.17.
*/
public class Counters {
private final int found;
private int indexed = 0;
private int errors = 0;
public Counters(int found) {
this.found = found;
}
public void incrementIndexed() {
indexed +... | 16.564103 | 41 | 0.566563 |
47cc3f09dadea1ef7116c3c219e4cf047b7e26ec | 1,330 | package com.cleanarchitecture.school.domain.student;
import lombok.*;
import org.hibernate.validator.constraints.br.CPF;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* A classe {@link Cpf} representa o número do <b>Cadastro... | 23.75 | 113 | 0.634586 |
8b319980a6f198255d41ca913cc1541f296fa19b | 10,832 | package com.softwear.webapp5.controller;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import javax.servlet.http.HttpServletResponse;
import com.softwear.webapp5.data.ProductSize;
im... | 44.576132 | 173 | 0.659435 |
bd1d229b00658dc69feda2a3699ca6fd0b8ce019 | 347 | package ru.geekbrains.pocket.backend.repository;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import ru.geekbrains.pocket.backend.domain.Project;
@Repository
public interface ProjectRepository extends MongoReposit... | 31.545455 | 79 | 0.850144 |
0f876287e5ef5862b3bb4e0f19bcae1efc90a9c9 | 6,270 | package org.jiserte.leaftion.math;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.imageio.ImageIO;
import org.jiserte.leaftion.image.ImageProcessor;
import Jama.Matrix;
@SuppressWarnings("unused")
public class MotionE... | 25.282258 | 107 | 0.538756 |
38c64aaa2105d455cdb584c3e39e85faf0b93f05 | 8,243 | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2013 - 2018 Adobe
* %%
* 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
*
... | 37.468182 | 115 | 0.670751 |
90cc7086559628fb19793f9391b62e0b7b37bc4a | 3,231 | /*
*
* Copyright (c) 2001, 2002, Oracle and/or its affiliates. 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... | 37.137931 | 79 | 0.69576 |
ea16b1923340f37a2202e90f227e065186bf156e | 185 | package com.emergy.tweetreader;
public interface ApplicationConstants {
public static final String DATE_FORMAT = "d MMM yy";
public static final String TIME_FORMAT = "HH:mm";
}
| 20.555556 | 54 | 0.756757 |
cfe9cb8bb9c8c4c489e0925b711003e01fde6f0d | 2,489 | /*
* Copyright © 2021 Ali Khaleqi Yekta, All Rights Reserved.
*
* Author: Ali Khaleqi Yekta [YektaDev]
* Website: https://Yekta.Dev
* Email: Me@Yekta.Dev
*
* 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 cop... | 31.506329 | 88 | 0.635195 |
14d7b76575d5a6a405f61ed61f12bfb5e7cf396e | 1,682 | package cn.edu.seu.swordoffer;
import java.util.Iterator;
import java.util.Stack;
/**
* @Author personajian
* @Date 2017/7/29 14:52
*/
public class T50_FirstParentNode {
public ListNode FindFirstCommonNode(ListNode root, ListNode pNode1, ListNode pNode2) {
if(root==null||pNode1==null||pNode2=... | 21.564103 | 90 | 0.552319 |
24c4d9ab5c9312b6876e435c2529f8d496de6fdf | 1,250 | package controllers;
import com.avaje.ebean.annotation.Transactional;
import models.Pessoa;
import play.data.DynamicForm;
import play.data.Form;
import play.db.jpa.JPA;
import play.mvc.Controller;
import play.mvc.Result;
import views.html.index;
import java.util.List;
import static play.libs.Json.toJson;
public cla... | 23.148148 | 109 | 0.6136 |
f72bbaf443181553e0095e0a110b70f17ecd2a9f | 11,690 | /*
* (C) Copyright IBM Corp. 2014, 2016 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 re... | 46.947791 | 207 | 0.738751 |
e67871d14378c4497a3879e607e8d1250d0bfb80 | 3,578 | package co.edu.uniquindio.ingesis.suturno.desktop.delegados;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import co.edu.uniquindio.ingesis.suturno.entidades.Servicio;
import co.edu.uniquindio.ingesis.suturno.negocio.ServiciosEJB;
import co.edu.uniquindio.ingesis.sut... | 28.854839 | 109 | 0.67384 |
e82443dd99200b257600fbe25a771eae2d7d1b49 | 436 | package com.xiaoyuzhuanqian.ui.guideview.listener;
import com.xiaoyuzhuanqian.ui.guideview.core.Controller;
/**
* Created by hubert on 2017/7/27.
* <p>
* 引导层显示和消失的监听
*/
public interface OnGuideChangedListener {
/**
* 当引导层显示时回调
*
* @param controller
*/
void onShowed(Controller control... | 17.44 | 56 | 0.639908 |
9c6bb9c2b61ac3c058ed8bbf11a4d7c86e2a8e1b | 17,958 | package com.ibm.ets.ita.ce.store.client.web.model;
/*******************************************************************************
* (C) Copyright IBM Corporation 2011, 2017
* All Rights Reserved
*******************************************************************************/
import static com.ibm.ets.ita.ce.sto... | 39.642384 | 125 | 0.73399 |
15ba48193034066c2b5656db3b1dc61d8476e645 | 969 | class anagrams {
static int counter = 0;
public static void main(String[] args) {
String str = "baaac";
char[] c = str.toCharArray();
anagram(c, 0);
System.out.println("Total iterations:"+ counter);
}
static void anagram(char[] temp, int p1) {
if(p1== temp.l... | 23.634146 | 99 | 0.488132 |
332b62e0a17cd9bd22914ddb33515e15622ce057 | 11,742 | /*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1... | 27.0553 | 148 | 0.537813 |
bd2f8d01904edf028b00350c11918c001dd2a90c | 28,231 | /*
* 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.684624 | 120 | 0.589529 |
434e4fab5d0d6a835d5eaed6fcc31bd260c31c2d | 2,176 | package org.tby.fourdk.core.sample.spring.infrastructure.http;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.tby.fourdk.core.command.bus.CommandBus;
import org.tby.fourd... | 43.52 | 122 | 0.773897 |
87dc30ce2811417659412134d2dc8cea6c110948 | 601 | package com.byteframework.base.user.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.byteframework.base.user.domain.RolePermission;
import com.byteframework.base.user.mapper.RolePermissionMapper;
import com.byteframework.base.user.service.RolePermissionService;
import org.sp... | 28.619048 | 131 | 0.810316 |
f5dc8e51994e1acfd837a8c3a215628e8e55b366 | 802 | package org.clever.security.dto.response;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.clever.common.model.response.BaseResponse;
import org.clever.security.entity.Permission;
import java.util.Date;
import java.util.List;
/**
* 作者: lzw<br/>
* 创建时间:... | 21.105263 | 53 | 0.734414 |
585c36fd4867f12f7cd2909c5ef7d8a6335a6ce3 | 744 | package org.openea.gateway.feign;
import org.openea.common.constant.ServiceNameConstants;
import org.openea.common.model.SysMenu;
import org.openea.gateway.feign.fallback.MenuServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
impor... | 31 | 124 | 0.798387 |
c8c4c68ceee1d3519d1647bb9f097e345eb88fe6 | 295 | package cn.edu.scu.jiangpeyton.keyshoot.rule;
import soot.util.ArraySet;
import java.util.Set;
public class API {
public String name;
public String provider;
public String packageName;
public boolean obfs;
public Set<String> hash = new ArraySet<>();
public Key key;
}
| 19.666667 | 47 | 0.708475 |
8fc4dd0a2da84c18e61ec93168f3d808ba393c69 | 4,187 | package theShowman.powers;
import basemod.interfaces.CloneablePowerInterface;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.evacipated.cardcrawl.mod.stslib.powers.abstracts.TwoAmountPower;
import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.meg... | 36.72807 | 200 | 0.694053 |
ff58ea1190c2257c300c3ac97afaebc7c2fd84b5 | 565 | package cn.detachment.gateway.config;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.cloud.gateway.route.RouteDefinition;
import org.springframework.cloud.gateway.route.RouteDefinitionRepository;
import org.springframework.context.ApplicationEventPublisherAware;
import java.util... | 29.736842 | 115 | 0.833628 |
49bc40d7a21657d0b10ac39eb8aa366657bb50e7 | 11,211 | package se.umu.cs.ldbn.client.ui;
import se.umu.cs.ldbn.client.Main;
import se.umu.cs.ldbn.client.utils.Common;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.MouseOutEvent;
import com.google.gwt.event.dom.client.M... | 29.816489 | 87 | 0.674605 |
d4a231c3f4459033238372d672eef2ab0f2c7aa5 | 562 | package com.github.xc145214.abstractFactory;
public class FemaleHumanFactory extends AbstractHumanFactory {
//创建一个女性黄种人
@Override
public Human createYellowHuman(HumanEnum humanEnum) {
return createHuman(HumanEnum.YelloFemaleHuman);
}
//创建一个女性白种人
@Override
public Human createWhiteH... | 24.434783 | 62 | 0.725979 |
55f02234c444da1424720d039f410f0f926006bb | 18,602 | package innovativedeveloper.com.socialapp.adapter;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.support.v7.widget.RecyclerView;
import android.text.method.LinkMovementMethod;
import ... | 47.820051 | 213 | 0.647726 |
876d8383df60e4cc2b2ec88d6dd1f52cd63ec9f6 | 1,606 | /*
* Copyright @ 2019-Present 8x8, 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 agr... | 29.2 | 75 | 0.639477 |
7439f69b4eab65868aaa0ebb4d4098e5cd1147b6 | 4,445 | package cn.com.lasong.plugin.idea.ui;
import cn.com.lasong.plugin.idea.jar.dialog.JarTreeNode;
import cn.com.lasong.plugin.idea.jar.jdcore.JDHelper;
import com.intellij.openapi.util.io.FileUtil;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
import org.fife.ui.rsyntaxtextarea.SyntaxConstants;
import org.fife.ui.r... | 30.868056 | 97 | 0.55838 |
8865c1057a299cd6659c87d99d9aa7cfda4df977 | 17,513 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 29.285953 | 82 | 0.58842 |
b04edbf40d23157dd11df300e6f9a928317b8a72 | 1,052 | package com.google.jstestdriver.idea.rt.execution.tree;
import com.google.jstestdriver.idea.rt.execution.tc.TCAttribute;
import com.google.jstestdriver.idea.rt.execution.tc.TCMessage;
import org.jetbrains.annotations.NotNull;
/**
* @author Sergey Simonchik
*/
public class BrowserNode extends AbstractSuiteNode<TestC... | 24.465116 | 79 | 0.729087 |
5f71481b34378ac4205aecad2f2b617f10c1f1bf | 617 | package com.chinalwb.hereyouare.mvp2;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
public class BasePresenter<T> implements IBasePresenter<T> {
// thread-safe set of listeners
private Set<T> mListeners = Collections.newSetFromMap(new ConcurrentHashMap<T, B... | 23.730769 | 96 | 0.708266 |
5ba2502fd1d1d4c860d77fb57558951009be336b | 2,675 | package io.github.zeroone3010.geogpxparser.cachelistparsers;
import io.github.zeroone3010.geogpxparser.Geocache;
import io.github.zeroone3010.geogpxparser.ParserTestFixture;
import io.github.zeroone3010.geogpxparser.tabular.CellData;
import io.github.zeroone3010.geogpxparser.tabular.TableData;
import io.github.zeroone... | 43.145161 | 196 | 0.659439 |
91633e9a899fb5c676cd257e98cb8ffba530545c | 1,981 | package com.rsaladocid.util.configuration;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
public class TestConfiguration {
private static final String NAME = "test";
private static final String SURNAMES = "foo stub";
private stati... | 26.065789 | 78 | 0.734478 |
3663ba0d2df5b6f30156a177f55b143475d29056 | 4,727 | // --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// 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:/... | 67.528571 | 196 | 0.773429 |
098ffda7aaba98e02660fd0f1cacdccaa8085e71 | 380 | package desafio11;
public class Casa {
private int numeroCasa;
public Casa() {
}
public Casa(int numero) {
this.numeroCasa = numero;
}
/**
* @return the numeroCasa
*/
public int getNumeroCasa() {
return numeroCasa;
}
/**
* @param numeroCasa the numeroCasa to set
*/
public void setNumeroCasa... | 13.103448 | 44 | 0.657895 |
dac17e993151cd60120f77f19bd0e80b455ea59e | 461 | package ai.dragonvalley;
import l2f.gameserver.model.instances.NpcInstance;
import l2f.gameserver.utils.Location;
public class Knoriks4 extends Patrollers
{
public Knoriks4(NpcInstance actor)
{
super(actor);
_points = new Location[]
{
new Location(147960, 110216, -3974),
new Location(146072, 109400, ... | 21.952381 | 50 | 0.707158 |
c49c41dbc53b7ba77cb45306bbbc113e75aae415 | 4,446 | /*
* 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")... | 40.788991 | 274 | 0.71525 |
b8e3563709606eb1a93a5b6344640d8b08772e7f | 420 | package com.ifountain.opsgenie.client.model.customer;
import com.ifountain.opsgenie.client.model.BaseResponse;
/**
* Represents OpsGenie service response for copy notification rules request.
*
* @see com.ifountain.opsgenie.client.IOpsGenieClient#copyNotificationRules(com.ifountain.opsgenie.client.model.customer.Co... | 32.307692 | 150 | 0.833333 |
1a4a862a2a22f53e30aaa16d5f3c722a0d34a780 | 1,809 | /*
* Copyright (C) 2016 Erik Jhordan Rey.
*
* 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 agre... | 29.177419 | 103 | 0.71089 |
933a3123861bda0c6d950ab4a0adb0caeb912c4c | 2,469 | /*******************************************************************************
* =============LICENSE_START=========================================================
*
* =================================================================================
* Copyright (c) 2019 AT&T Intellectual Property. All rights res... | 32.064935 | 86 | 0.558931 |
3df29c2346148ee204073a357c2cc20d4a5612fb | 495 | package com.jdroid.android.notification;
import android.app.NotificationChannel;
public interface NotificationChannelType {
String getChannelId();
String getName();
int getImportance();
/*
* Return false if the notification channel should be created. Return true if the notification channel was already
... | 23.571429 | 115 | 0.775758 |
40aa5fe2a3e707db552f5bce697ed3f72cfd2e9d | 407 | package de.webtech.quackr.service.user;
/**
* Used to signify that a user has not been found in the database.
*/
public class UserNotFoundException extends Throwable {
public UserNotFoundException(long userId) {
super("User with id " + userId + " not found!");
}
public UserNotFoundException(Strin... | 29.071429 | 66 | 0.675676 |
6c5ae56d3498496ea65cb73f8c2f195d630073fe | 10,410 | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.curate;
import org.apache.log4j.Logger;
import org.dspace.authorize.AuthorizeExcept... | 42.663934 | 128 | 0.619116 |
4e7424d73ad3859bae59889e69354d6cd790abe3 | 1,366 | /*
* 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.csuci.scrum.models;
/**
*
* @author sakwaa
*/
public class Distance extends Calc {
private double time, acc, vel, o... | 20.38806 | 101 | 0.561493 |
ce6f938f166d1b5cfee0ef7af00500c36030d20b | 3,896 | /*
* (c) 2012 University of Bolton
*
* 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... | 24.815287 | 125 | 0.700719 |
bff717b6ce345912a996601b4d169b88a297385e | 818 | package co.com.devline.eo;
import co.com.devline.eo.MaterialHasAdquisicion;
import java.util.Date;
import javax.annotation.Generated;
import javax.persistence.metamodel.CollectionAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="Ecli... | 43.052632 | 117 | 0.836186 |
763ab099f92185312ba57d80122eff7dd5d98fab | 22,911 | /**
* Autogenerated by Thrift Compiler (0.8.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hbase.thrift.generated;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardSch... | 31.820833 | 189 | 0.641351 |
50bb59d41c37494031bb5be391a697d8f470928c | 180 | package lsieun.tank.action;
import lsieun.tank.logic.Missile;
import lsieun.tank.logic.Weapon;
public interface Equipable {
void equip(Weapon weapon);
Missile fire();
}
| 16.363636 | 33 | 0.744444 |
0ef24d0ac629800cc0d6dcc2acb695aac5ac1fb0 | 1,519 | package com.example.springbootschedule.config;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* @Description
* @Author zhaobaolin
* @Date 2019/6/30
*/
@Service
public class Schedule {
pr... | 24.901639 | 84 | 0.63002 |
179a6f2d234cd646cb58b63178aa617f48b4e054 | 181 | package org.apache.avro.perf.test.record.jmh_generated;
public class RecordWithPromotionTest_TestStateDecode_jmhType extends RecordWithPromotionTest_TestStateDecode_jmhType_B3 {
}
| 36.2 | 121 | 0.895028 |
332d8f4b20f142f859b59b79ca38be5599220be9 | 7,676 | import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
public class DataImporter {
String title;
String pFirstName;
String pLastName;
String room;
String eContact;
String ePhone;
String ipNumber;
String ipName;
String doctor;
String diagnosis;
String admi... | 33.519651 | 120 | 0.564356 |
806e09118098c183da7f97e7beab27902dabe8e6 | 5,549 | /*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | 37.748299 | 119 | 0.725536 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.