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 |
|---|---|---|---|---|---|
c865a853b6c81cc9ee89320eb31ba3f58e904b2f | 1,275 | /**
* $Revision: 1.0
* $Date: 2013-5-21
*
* Copyright (C) 2013-2020 MNT. 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... | 29.651163 | 114 | 0.705098 |
2cbca0dff6cabb063736d3cc92788fedd5bc8723 | 442 | package com.jimmy.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;
/**
* <p>
* User: lian zd Date:2017/9/21 ProjectName: spring_learn1 Version: 1.0
*/
@Getter
@Setter
@ToString
public class UserInfo {
private String userName;
private String passWord;
p... | 17.68 | 71 | 0.714932 |
bee4c67cc0dc345281d23b3cc562143425ee132f | 5,539 | /*
* Copyright (c) 2015-2020 Vladimir Schneider <vladimir.schneider@gmail.com>, all rights reserved.
*
* This code is private property of the copyright holder and cannot be used without
* having obtained a license or prior written permission of the copyright holder.
*
* Unless required by applicable law or agreed... | 68.382716 | 185 | 0.771258 |
893e497bd2c75c4eb493b78ba40e72d7b820ea19 | 1,387 | /**
* Copyright 2019 Anthony Trinh
*
* 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... | 27.74 | 75 | 0.734679 |
96135a9a37f1e3352af50beb0b44e5ebd1d5b648 | 2,926 | package org.protege.editor.owl.ui.renderer;
import javax.swing.*;
import java.awt.*;
import java.util.Objects;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 9 Aug 16
*/
public class AddChildIcon implements Icon {
private final Icon icon;
private final Color color;
pri... | 29.857143 | 80 | 0.584757 |
3f3f1f07290010dda6f52306c7c2f109dd06c7d7 | 1,080 | package net.robinx.lib.blurview.processor;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.v8.renderscript.RenderScript;
import net.robinx.lib.blurview.algorithm.IBlur;
import net.robinx.lib.blurview.algorithm.rs.RSStackBlur;
/**
* Created by Robin on 2016/8/20 15:51.
*/
publ... | 26.341463 | 78 | 0.682407 |
8876d2ab59f30e35f69ca627f4d5c299e5b496f9 | 909 | package org.samarthya.collect.android.utilities;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.samarthya.collect.android.TestSettingsProvider;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
impor... | 32.464286 | 109 | 0.79978 |
14ab093feb7dbe50ddb8244b38c1a38c870d25be | 46,682 | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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... | 45.059846 | 149 | 0.654663 |
ec0f47df4c94ff8c0a18fe96ff41c291036245fa | 101 | package com.maxqiu.demo.uml.demo4_1_association;
/**
* @author Max_Qiu
*/
public class Address {}
| 14.428571 | 48 | 0.722772 |
15a9e41a5fd5e9fd2b1474b4940b968b72ecf39b | 86 | package com.solid._5_dependency_inversion;
interface Savable {
boolean save();
}
| 14.333333 | 42 | 0.755814 |
5a000d86e0d6d9995abdcbc6a31d04607382f6e2 | 4,421 | package com.stanwind.sync;
import com.stanwind.sync.CanalConstant.EventType;
import com.stanwind.sync.anno.Listener;
import com.stanwind.sync.anno.SyncListener;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java... | 35.943089 | 110 | 0.627686 |
aafd8173eac9c572c1b846ce817d6001f7229d9a | 3,581 | package org.fortiss.smg.rulesystem.impl.ruleManager;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.List;
import org.fortiss.sm... | 28.420635 | 100 | 0.701201 |
818aee127e439d948eefc89f8b93fecf80cd08da | 3,983 | package ua.stqa.training.selenium.tests;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.io.File;
import java.util.List;
import static o... | 44.752809 | 121 | 0.685915 |
a1b3121f98bdc8f8f6116d1064fb01c036f46329 | 360 | package ca.ulaval.glo4002.theproject;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"pretty", "html:target/cucumber"},
features = {"src/test/resources"},
format = {"junit:target/cucumber/jun... | 27.692308 | 61 | 0.738889 |
4667d48327f3b133b99350b72fc9a5d500f5e38e | 6,318 | /*******************************************************************************
* Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | 30.970588 | 119 | 0.635011 |
d298d27f443b7430e30979d89d126b8c2915cb91 | 1,152 | package org.rx.io;
import org.apache.commons.io.FilenameUtils;
import org.rx.core.NQuery;
import org.rx.core.Strings;
import java.io.InputStream;
public interface CurdFile<T> {
default String padDirectoryPath(String path) {
if (Strings.isEmpty(path)) {
return Strings.EMPTY;
}
... | 26.790698 | 92 | 0.613715 |
522744979180ecc3786ab20316ff2e923a1370cb | 3,460 | /*
* 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 ... | 32.037037 | 114 | 0.680347 |
e44a47811c6746a617c7fc1735cdc84d95f4c919 | 1,208 | package org.sagebionetworks.bridge.workerPlatform.bridge;
import java.util.List;
import com.google.common.collect.ImmutableList;
import org.sagebionetworks.bridge.rest.model.UploadStatus;
/**
* Contains an upload status and validation message list. This is primarily to hold pertinent data from both Upload and
* U... | 30.2 | 119 | 0.714404 |
6af385f3b352d87a4ed2faf9c6f624eb0b3a8204 | 4,781 | package wb.t20191206_httpserverfwdemo.module.fatcalc_v1.tests;
import java.util.ArrayList;
import java.util.List;
import charlotte.tools.IntTools;
import charlotte.tools.SecurityTools;
import charlotte.tools.StringTools;
import wb.t20191206_httpserverfwdemo.module.fatcalc_v1.FatFloat;
import wb.t20191206_httpserverfw... | 22.875598 | 110 | 0.600502 |
3e951322258369eb898ad77a2cab9e1eaa0ceac7 | 181 | package icalgen;
public class Start {
public static void main(String[] args) {
ICalGen.generateICalTamilHolidays("2018");
ICalGen.generateICalTamilHolidays("2019");
}
}
| 15.083333 | 44 | 0.729282 |
6b613887ff7656714eb517f1c73b5047813e9a9e | 1,322 | package hyweb.jo.type;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import hyweb.jo.IJOType;
/**
* @author William
*/
public class JOStringType extends JOType<String> {
@Override
public String dt() {
return IJOType... | 24.036364 | 89 | 0.553707 |
65954b0f99950e4f8311b4e67538fe957d8db337 | 295 | package view.data_management_bean;
public class DataManagementBean {
public DataManagementBean() {
}
public String update() {
// Add event code here...
return null;
}
public String refresh() {
// Add event code here...
return null;
}
}
| 17.352941 | 34 | 0.586441 |
6d814e7b96f1b7be38090f57df70d7866779b855 | 2,229 | package com.bewitchment.common.core.gen;
import com.bewitchment.common.block.ModBlocks;
import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.IChunkGenerator;
import net.minecr... | 44.58 | 138 | 0.673396 |
7c5599ba94346d8603d2360c7250cacc61d830bf | 71 | /**
* Created by admin on 2018/7/14.
*/
package im.tabis.admin.frame; | 17.75 | 33 | 0.661972 |
bcb237fbd80fd2b36badd1569cead02af330491b | 2,261 | package uk.ac.ebi.ep.model.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import uk.ac.ebi.ep.model.EnzymePortalC... | 59.5 | 235 | 0.78107 |
56b5ad35e44d2c3f61a929f23073d7a5f72e2fa5 | 6,107 | /*
* 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 ... | 44.253623 | 126 | 0.699853 |
40af0f559e05d8bb987e476e02b72483a4761403 | 3,316 | package com.kkk.sql;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Scanner;
import org.junit.Test;
/**
* @description 在people表中做一些简单的增删改查
* @author KKKITSCH
*
*/
/*
* jdbc中,增删改... | 21.960265 | 91 | 0.62123 |
907e60a66671fe0e82180b9ec4725883004d6862 | 9,752 | package uchicago.src.collection;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import uchicago.src.sim.util.Random;
//import junit.extensions.*;
public class CollectionTest extends TestCase {
SparseObjectMatrix sparse;
DoubleMatrix dmatrix;
NewMatrix nmatrix;
... | 32.078947 | 72 | 0.476313 |
2b048ee4a20fd3c77a1ff4717bb2c101d75ee905 | 2,481 | package com.clown.design.controller;
import com.clown.design.entity.Role;
import com.clown.design.service.IRoleSerivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sp... | 37.029851 | 132 | 0.626763 |
c7b7438361c3923c2c90fb3c31e64f0a651e4ce7 | 1,265 | package neqsim.fluidMechanics.geometryDefinitions.stirredCell;
import neqsim.fluidMechanics.geometryDefinitions.GeometryDefinition;
/**
* <p>
* StirredCell class.
* </p>
*
* @author asmund
* @version $Id: $Id
*/
public class StirredCell extends GeometryDefinition {
private static final long serialVersionUI... | 19.765625 | 68 | 0.566798 |
e175cd0353b4f60c768e58ee0793227cd48cf3e0 | 2,957 | package com.ms.silverking.cloud.dht.meta;
import java.io.IOException;
import com.ms.silverking.cloud.dht.client.ClientDHTConfiguration;
import com.ms.silverking.cloud.dht.gridconfig.SKGridConfiguration;
import com.ms.silverking.cloud.meta.MetaClientBase;
import com.ms.silverking.cloud.zookeeper.ZooKeeperConfig;
impor... | 36.506173 | 116 | 0.747041 |
4c3c8ec297c2c961683eca6149075f97ed5d070c | 2,277 | /*
* File: AbstractLineBracketInterpolator.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Jun 16, 2008, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclus... | 27.433735 | 101 | 0.666667 |
c2a9a92ecee5b3ce2b1c7bbfbe97a8d1eff6c968 | 1,337 | package bg.uni.sofia.fmi.mjt.dungeon.actor;
import bg.uni.sofia.fmi.mjt.dungeon.treasure.Weapon;
import bg.uni.sofia.fmi.mjt.dungeon.treasure.Spell;
public class Hero extends Character implements Actor{
private int maxHealth;
private int maxMana;
private Position position;
public Hero() {
super();
}
public... | 24.759259 | 112 | 0.692595 |
e88f31ae89c09b3dfbf0ee722e32da1aa05dde5f | 4,101 | package id.redhat.demo.catalog;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.mock.mockito.MockBean;
imp... | 41.846939 | 102 | 0.697879 |
9241afacf2f291df1e1a3c6ce9c2803d6fa871b5 | 1,381 | package slimeknights.tconstruct.shared;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;... | 38.361111 | 114 | 0.796524 |
21eec92cc1bbc7ae553658cf3254078d6258896a | 353 | package com.cpucode.java.block;
/**
* @author : cpucode
* @date : 2021/8/3
* @time : 9:25
* @github : https://github.com/CPU-Code
* @csdn : https://blog.csdn.net/qq_44226094
*/
public class User {
String name;
public String getName() {
return name;
}
public void setName(String name) {
... | 16.809524 | 44 | 0.586402 |
f83d87ea92468544d09b6eb2f4577afa486d73d9 | 5,347 | /*
* 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 ... | 36.128378 | 114 | 0.697774 |
70a698c30b79e568c8a0138493884437cfe02822 | 2,174 | package com.ltc.share;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import com.ltc.share.qq.QQUtil;
import com.ltc.sha... | 23.89011 | 111 | 0.713431 |
4f2e294c99ef94c69582df64af8c26aac8cfe3da | 7,332 | /*
* Copyright (c) 2014, 2015 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
* Eclipse Public License version 1.0
* GNU General Public License version 2
* GNU Lesser General ... | 36.844221 | 148 | 0.649755 |
6a13cc287b03fc318c4dd60be4c4eb05e0972508 | 1,305 | package it.smartcommunitylab.aac.spid.persistence;
import java.util.List;
import org.springframework.stereotype.Repository;
import it.smartcommunitylab.aac.repository.CustomJpaRepository;
import it.smartcommunitylab.aac.repository.DetachableJpaRepository;
@Repository
public interface SpidUserAccountRepository exten... | 36.25 | 107 | 0.822989 |
98bc60ca273c271143b5cb877d338b624bb0df1e | 269 | package com.johnnywey.flipside;
/**
* Simple interface for an HttpResponse of some sort to allow matching.
*
* See {@link com.johnnywey.flipside.Matcher}
*/
public interface ClientResponse {
public Integer getStatusCode();
public String getStatusText();
}
| 22.416667 | 71 | 0.736059 |
0f80ce8d51ecb2f0b6832fcaf60ef0f2c7116ba1 | 967 | package com.qa.library.utils;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import com.qa.library.domain.Book;
import com.qa.library.domain.Library;
import com.qa.library.dto.BooksDTO;
import com.qa.library.dto.LibraryDTO;
@Service
public class LibraryMapper imple... | 20.145833 | 68 | 0.737332 |
b5da7ea6f4bcb7b7258a373667a22ea10c04bbc8 | 519 | package com.maldiny.spring.batch.flatfileitemreader;
import org.springframework.batch.item.file.mapping.FieldSetMapper;
import org.springframework.batch.item.file.transform.FieldSet;
import org.springframework.validation.BindException;
public class MyObjectFieldSetMapper implements FieldSetMapper<MyObject> {
... | 34.6 | 86 | 0.797688 |
27554e1799370a8fb1d3aef1c694381266e80bff | 306 | package typesafecriteria.ent;
import org.lechuga.annotated.MetaField;
import org.lechuga.annotated.anno.Entity;
@Entity(entity = DeptCount.class, table = "")
public interface DeptCount_ extends Department_ {
public static final MetaField<DeptCount, Long> employees = new MetaField<>("employees");
} | 27.818182 | 92 | 0.777778 |
ea70e11cae812e8cc43edd950f847ab4f16ab2c9 | 11,467 | package com.lordofthejars.nosqlunit.marklogic;
import com.lordofthejars.nosqlunit.core.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concur... | 34.748485 | 159 | 0.668178 |
6f0790876a1ec1b905745cbae205d4be01b9f1de | 823 | //leetcode question - https://leetcode.com/problems/find-the-duplicate-number/
public class DuplicateNumber {
public static void main(String[] args) {
int[] arr = {1,3,4,2,2}; //leetcode sample case1
int ans =findDuplicate(arr);
System.out.println(ans);
}
static int findDuplicate(... | 24.939394 | 93 | 0.529769 |
ddb26f744f417ebcba8ce27af6ca7e7eb16bb2d4 | 5,381 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 45.991453 | 144 | 0.692622 |
90658aa24b3ec13a2b379100bd874184385e509c | 126 | package com.adonis.tratamientodeimagenes.mvp.view;
public interface IClickInterface {
void onClickItem(int resource);
}
| 18 | 50 | 0.793651 |
0f666a54a2570b6deeed7c55017bae96947fb9ee | 13,648 | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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... | 16.364508 | 815 | 0.793303 |
b2ff34bd5f4a049cf1b1586456ce44beacd7c9ab | 716 | package com.tutorial.seleniumgriddocker.components;
import org.apache.log4j.Logger;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class SeleniumPage {
private WebDriver driver;
pri... | 26.518519 | 62 | 0.71648 |
5054fc9080a27d6bb7d0fa9b8192a31a6c27b666 | 288 | package org.apache.spark.examples.mllib;
/**
* @deprecated Use ml.regression.LinearRegression and the resulting model summary for metrics. Since 2.0.0.
*/
public class RegressionMetricsExample {
static public void main (java.lang.String[] args) { throw new RuntimeException(); }
}
| 36 | 108 | 0.753472 |
4ae9b4fd8ec11480e52d927b4891b98542df4503 | 7,932 | package com.yiran.web.controller.weixin;
import java.net.URLEncoder;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.ui.Model;
import org.apache.commons... | 49.267081 | 145 | 0.768911 |
00653461eef5b09452ca992f6381fd0881d232b6 | 1,375 | /**
* 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 m... | 30.555556 | 80 | 0.733091 |
a22d07bb4d87498be82c8699ecaf79e40accb8bd | 567 | package landmaster.landcraft.tile;
import javax.annotation.*;
import landmaster.landcraft.net.*;
import landmaster.landcraft.net.teupdate.UpdateTEPlayerMime;
public class TEPlayerMime extends TEEnergy
implements RedstoneControl.Provider<TEPlayerMime> {
public TEPlayerMime() {
super(240000, 1000, 1000);
}
stat... | 24.652174 | 74 | 0.790123 |
b857dd7fc3dc856b44eb4604b32d2739d3008f19 | 1,847 | package com.sun.jna.win32;
import com.sun.jna.Function;
import java.lang.reflect.Method;
import com.sun.jna.NativeLibrary;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.NativeMappedConverter;
import com.sun.jna.NativeMapped;
import com.sun.jna.FunctionMapper;
public class StdCallFunctionMa... | 34.203704 | 106 | 0.582566 |
05896c7a23c66196d454cd782052e5b8122f9097 | 1,653 | /*
* Copyright (c) 2021 Hanbings / hanbings MoeFurry MoeMark.
*
* 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... | 32.411765 | 93 | 0.656382 |
d0f95285c22d6474296b53a9d53723e7f928394d | 368 | package com.bullhornsdk.data.model.response.list.customobjectinstances;
import com.bullhornsdk.data.model.entity.core.customobjectinstances.joborder.JobOrderCustomObjectInstance8;
import com.bullhornsdk.data.model.response.list.StandardListWrapper;
public class JobOrderCustomObjectInstance8ListWrapper extends Standar... | 46 | 114 | 0.88587 |
20cfe01519b35cc6bfb0c2dcf5c0e149087d6e6e | 6,349 | package org.stagemonitor.requestmonitor.reporter;
import com.codahale.metrics.Timer;
import org.junit.Before;
import org.junit.Test;
import org.stagemonitor.core.MeasurementSession;
import org.stagemonitor.requestmonitor.ExternalRequest;
import org.stagemonitor.requestmonitor.RequestTrace;
import java.util.Collectio... | 43.190476 | 162 | 0.822807 |
67672c82ebe48f66332080a2b3c151e3b418ed96 | 983 | /*L
* Copyright Oracle inc, SAIC-F
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-util/LICENSE.txt for details.
*/
package gov.nih.nci.ncicb.cadsr.common.persistence.dao;
import java.util.Collection;
import java.util.Map;
import java.util.List;
import gov.nih.nci... | 28.085714 | 66 | 0.738555 |
d18191b7e499b4f5fc0caa77725af4b08e2fbf5e | 517 |
package com.alibaba.alink.pipeline.dataproc.format;
import com.alibaba.alink.operator.common.dataproc.format.FormatType;
import com.alibaba.alink.params.dataproc.format.KvToColumnsParams;
import org.apache.flink.ml.api.misc.param.Params;
public class KvToColumns extends BaseFormatTrans<KvToColumns> implements KvToCo... | 27.210526 | 105 | 0.760155 |
fe04d25f4e3bc505ab3821f6a74f7e6e31692efd | 5,230 | // Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.jasmin;
import static org.junit.Assert.assertEquals;
import static org.junit.... | 37.898551 | 87 | 0.634608 |
b3ca9a9e3a7f14dd91acc240b89c47a86a7135ec | 23,079 | package com.mopub.nativeads;
import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import com.google.android.gms.plus.PlusShare;
import com.mopub.common.DataKeys;
import com.mopub.common.logging.MoPubLog;
import com.mopub.common.util.Numbers;
import com.mopub.nativeads.CustomEventNat... | 56.566176 | 252 | 0.609948 |
267a43b608e89f26000431a45cea181bf230490e | 160,755 | /*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su... | 46.353806 | 368 | 0.802333 |
a6b3c7d82fe4cf24b67b0db840cfe191af7c5a36 | 349 | package com.ans.cloud.domain;
import com.ans.cloud.data.Addable;
import com.ans.cloud.data.Pageable;
import com.ans.cloud.data.model.PermissionLog;
import com.ans.cloud.model.QPermissionLog;
/**
* Created by anzhen on 2016/2/24.
*/
public interface PermissionLogDomain extends Addable<PermissionLog >,Pageable<Permi... | 24.928571 | 109 | 0.790831 |
9422139a5cee683f38031d89d4d6b04f14f1e84d | 2,117 | /**
* Copyright 2009-2017 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 a... | 40.711538 | 107 | 0.708077 |
d04d0fc3e6f2546c84c7bf8bb910ff2ea4ea4f0c | 1,567 | /*
* Copyright 2018
* Matías Roodschild <mroodschild@gmail.com>.
* Jorge Gotay Sardiñas <jgotay57@gmail.com>.
* Adrian Will <adrian.will.01@gmail.com>.
* Sebastián Rodriguez <sebastian.rodriguez@gitia.org>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | 29.566038 | 89 | 0.683472 |
a1d00a4b77e9cf9cbc34e3cfb804266b5afdeda5 | 7,396 | /*
* Copyright (C) 2017-2021 Thomas Akehurst
*
* 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... | 35.052133 | 100 | 0.731747 |
4dcbff58a40e7c1aa397ebd5836b04b4fbfcdaa2 | 10,442 | package iot.networkentity;
import iot.Environment;
import iot.lora.*;
import iot.networkcommunication.api.Receiver;
import iot.networkcommunication.api.Sender;
import iot.networkcommunication.impl.ReceiverWaitPacket;
import iot.networkcommunication.impl.SenderNoWaitPacket;
import util.Converter;
import util.Pair;
imp... | 32.030675 | 146 | 0.644991 |
46f971aecfc805019d88ef555a2f2bec1c7d1187 | 405 | package com.github.alexeylapin.oca.g03_using_operators_and_desicion_constructs.t02_equality;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class T01 {
@Test
void puzzler() {
String str1 = "one";
String str2 = "two";
boolean equal... | 20.25 | 92 | 0.68642 |
c915d0615ccb2138900128e3b3c2f6e7bece2fd9 | 2,207 | package com.mxgraph.test;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import java.util.Random;
import javax.swing.JFrame;
import com.mxgraph.model.mxCell;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.model.mxICell;
import com.mxgraph.swing.mxGraphComponent;
import com.... | 23.478723 | 73 | 0.714998 |
886a91ce0fb5f06a789e74e6b6742eabfc4e5cc3 | 5,992 | package org.odk.collect.android.utilities;
import android.graphics.Bitmap;
import com.google.zxing.ChecksumException;
import com.google.zxing.FormatException;
import com.google.zxing.NotFoundException;
import com.google.zxing.WriterException;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Ru... | 40.214765 | 170 | 0.741656 |
150515701552c0b835b610966bcc3b64c64aadeb | 4,473 | package org.greenplum.pxf.plugins.hdfs.parquet;
import org.apache.parquet.schema.MessageType;
import org.apache.parquet.schema.MessageTypeParser;
import org.apache.parquet.schema.Type;
import org.greenplum.pxf.api.filter.TreeTraverser;
import org.greenplum.pxf.api.io.DataType;
import org.greenplum.pxf.api.utilities.Co... | 53.25 | 124 | 0.647664 |
efbb966abf9083bb5d84687a31272daa1aae43a6 | 738 | package com.qiangdong.reader.faq;
import com.qiangdong.reader.BaseTest;
import com.qiangdong.reader.dto.FaqDto;
import com.qiangdong.reader.request.BaseRequest;
import com.qiangdong.reader.serviceImpl.WorksFaqServiceImpl;
import java.util.List;
import org.junit.Test;
import org.springframework.beans.factory.annotation... | 29.52 | 65 | 0.798103 |
d3d4e6b7b7c0dd6881d954bc5fbf3710a25392a5 | 852 | package optional;
import entity.User;
import org.junit.Test;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import static junit.framework.TestCase.assertTrue;
/**
* @Description :
* @Author: wuwangqiang
* @Version: 2020/4/23 0023 16:13
*/
public class filter {
@Test
... | 23.027027 | 83 | 0.616197 |
b3a4c2ec76334f071aaba2a72f8f6cd4bc8aa528 | 2,269 | package org.infinispan.test.integration.as;
import org.infinispan.Cache;
import org.infinispan.Version;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.manager.DefaultCacheManager;
import org.infinispan.manager.EmbeddedCacheManager;
import org.infinispan.tree.Fqn;
import org.infin... | 37.816667 | 176 | 0.753195 |
4697d237729156f8d7d94cc0c1bf74cf0fba2f8c | 10,701 | package com.xcore.application.modules.live.models.sessions;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xcore.application.modules.live.exceptions.session.*;
import com.xcore.application.modules.live.models.events.LiveEvent;
import com.xcore.application.modules.live.services.LiveMessagingService;
imp... | 30.487179 | 181 | 0.721148 |
3ecc65fb3bd13218589d7aeb9e68a3736b1a8fa7 | 12,228 | /*
* Copyright (c) 2010-2017 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.web.page.admin.reports.component;
import java.io.IOException;
import java.nio.file.Files;
import ja... | 41.591837 | 176 | 0.685394 |
448ee002d78f9ad8b562e1b9ec74f8f3c47e91d4 | 6,669 | package com.turlir.abakgists.gist;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.Menu;
import android.view.MenuItem;
import a... | 30.732719 | 94 | 0.609237 |
df4bac32b80e734993a81f12a708894492c21858 | 138 | package org.openinfoloka.goosefish;
public class GoosefishBandit {
public float getScore(String url) {
return 0.0f;
}
}
| 13.8 | 37 | 0.681159 |
6d6f982b7f7c67360cd9dfb69645007b250bed2a | 15,633 | /*
* Copyright 2014 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... | 41.031496 | 120 | 0.704343 |
844f2fc5ccb222489749e20be216aef1dc5afbc4 | 1,195 | /*
* FileName:VMRole.java
* Description:用于前台展示组织树,数据基类
* History:
* 版本号 作者 日期 简介绍
* 1.0 chenchen 2014-08-06 查询、操作
*/
package com.job.manager.vo;
import com.job.manager.util.StringHelper;
import java.io.Serializable;
import java.util.Date;
public class VMRole implements Serializable ... | 22.980769 | 71 | 0.630126 |
a3dd21a0db313e2ac3db2b44eb7a8d1f6453adba | 419 | package collabware.model.internal.parser;
class Token<T> {
private final T value;
private final TokenType type;
Token(T value, TokenType type) {
super();
this.value = value;
this.type = type;
}
TokenType getType() {
return type;
}
T getValue() {
return value;
}
public String toString() {
... | 13.516129 | 41 | 0.627685 |
4dcb71c22b1dcb251c1503da519750c8829266df | 297 | package cz.config;
/**
* Configuration for hockeyapp related things
* Created by david.bilik@ackee.cz on 25. 6. 2014.
*/
public class HockeyConfig {
public static final String HOCKEYAPP_ID = "29104e48138b8111d57b6377aa67b5fd";
public static final boolean HOCKEYAPP_AUTOSEND = false;
}
| 27 | 81 | 0.757576 |
faf6a6edab84c677c3b7abc546ee8ef2dd6bb9d0 | 1,791 | package com.atlassian.bitbucket.jenkins.internal.link;
import com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMRepository;
import com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource;
import hudson.Extension;
import hudson.model.Action;
import jenkins.model.TransientActionFactory;
import org.jenkins... | 38.106383 | 115 | 0.761586 |
1f384e5f95fca4dcb7c8fd1066389f1824102da1 | 2,280 | package com.google.vr.adapter;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.google.vr.R;
import com.google.vr.activity.Vi... | 31.232877 | 86 | 0.688596 |
a4aa91bfcd7be2518769ffcc77fbc4f82237781f | 2,931 | package io.onedev.server.plugin.authenticator.ldap;
import org.hibernate.validator.constraints.NotEmpty;
import io.onedev.server.web.editable.annotation.Editable;
@Editable(name="Active Directory", order=100)
public class ActiveDirectoryAuthenticator extends LdapAuthenticator {
private static final long serialVers... | 31.858696 | 124 | 0.745479 |
0f48fa7129ffdfca60b9d7208d1ccf3f7a3a7c7b | 351 | package irc.account;
/**
* Created by Nick on 7/16/2014.
*/
public class Account {
private String name;
private OAuth key;
public Account(String name, OAuth key) {
this.name = name;
this.key = key;
}
public String getName() {
return name;
}
public OAuth getKey(... | 15.26087 | 44 | 0.561254 |
8a3b2bbc25af085eee1576dbf64e548bd4810aca | 2,541 | package kujiin.ui.creation;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.DatePicker;
import javafx.scene.control.ListView;
import javafx.util.Duration;
import ... | 36.826087 | 135 | 0.670602 |
b7d1c8185085a08c9704c4c0de7ea3dd727192bb | 7,611 | /*
* Copyright 2002 Draagon Software LLC. All Rights Reserved.
*
* This software is the proprietary information of Draagon Software LLC.
* Use is subject to license terms.
*/
package com.draagon.meta.object.pojo;
import com.draagon.meta.InvalidMetaDataException;
import com.draagon.meta.InvalidValueException;
impo... | 32.948052 | 215 | 0.598739 |
fcd22d369533ad7b6691b8b988f9d7839d76f8fe | 6,118 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ilm;
import org.apache.lucene.util.SetO... | 39.470968 | 132 | 0.674567 |
36efe51f91accb94da6ca5ba0991ab3b58c1e05c | 3,446 |
package com.esri.soap.mapservice;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SimpleMarkerSymbol... | 25.525926 | 119 | 0.610273 |
df91029bca43e7df85b5563fa46be7884346b183 | 10,118 | package org.openapitools.jackson.nullable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.... | 36.395683 | 136 | 0.640443 |
f859f10d0caf47248f0a1fac53e2914c488987e4 | 141 | package com.joryun.boot.scaffold.service;
/**
* base service
*
* @author joryun
* @date 2018-11-27
*/
public interface BaseService {
}
| 12.818182 | 41 | 0.680851 |
8b506df144ac4d9985ff6a5b5189b6ac79633a67 | 394 | package com.yr.net.app.moments.bo;
import lombok.Data;
import java.util.Set;
/**
* @author dengbp
* @ClassName momentsLikeQueryBo
* @Description 动态点赞查询条件
* @date 2020-12-18 13:36
*/
@Data
public class CommentsLikeQueryBo {
/** 多个逗号分开 **/
private final Set<Long> momentsIds;
public CommentsLikeQuer... | 16.416667 | 54 | 0.682741 |
0c93d7afd8ebfb7bfb28fd25104abe294fbfdab8 | 1,900 | /*
* Copyright 2014 - Present Rafael Winterhalter
*
* 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... | 37.254902 | 118 | 0.696842 |
0dba76be32204f782fc9077b03d8ab6f89daa684 | 304 | package com.linkbyte.everscript;
public class UserRuntimeError extends RuntimeError {
ESInstance instance;
Token token;
UserRuntimeError(ESInstance instance, String message, Token token) {
super(token, message);
this.instance = instance;
this.token = token;
}
}
| 23.384615 | 72 | 0.690789 |
8c10a2a15a838e26a9dd9e342450f30547681215 | 9,620 | package se.mickelus.tetra.blocks.forged.transfer;
import net.minecraft.core.BlockPos;
import net.minecraft.core.particles.ParticleTypes;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.network.Connection;
import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket;
import net.minecraft.serve... | 32.721088 | 137 | 0.581705 |
4405d05b1e80f177f25516090047fc777edb0a2a | 615 | package com.quochung.covid20.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class TinTuc {
@SerializedName("status")
@Expose
private String status;
@SerializedName("totalresults")
@Expose
private int totalr... | 17.571429 | 50 | 0.671545 |
955963ba887cebe6ecfadbdc7656fb00c7e4c305 | 1,559 | package jp.ac.nii.prl.mape.controller.service;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import jp.ac.nii.prl.mape.controller.mod... | 37.119048 | 107 | 0.717768 |
2d1fcacd0e5e9eca55c371b3b7fd0c0133b1e4dc | 913 | package com.netsparker.teamcity;
import jetbrains.buildServer.controllers.BaseFormXmlController;
import jetbrains.buildServer.log.Loggers;
import jetbrains.buildServer.serverSide.SBuildServer;
import org.jetbrains.annotations.NotNull;
import javax.servlet.http.HttpServletRequest;
import java.util.Enumeration;
import ... | 29.451613 | 74 | 0.79299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.