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 |
|---|---|---|---|---|---|
42b3c1d18edc733f0baaa6785371d32a07e8d38f | 3,036 | package ftn.sbz.cdssserver.monitoring;
import ftn.sbz.cdssserver.model.monitoring.HeartBeat;
import ftn.sbz.cdssserver.model.monitoring.MonitoringPatient;
import ftn.sbz.cdssserver.model.monitoring.OxygenLevel;
import ftn.sbz.cdssserver.model.monitoring.Urination;
import org.kie.api.runtime.KieSession;
import org.kie.... | 29.192308 | 141 | 0.657115 |
eea8ad4cee2065f636105ec8396c696fe71273be | 2,913 | /*----------------------------------------------------------------------------*/
/* Source File: PARKINGLOTCONFIGDATABUILDER.JAVA */
/* Description: Test Data Builder Pattern for ParkinglotConfig domain object*/
/* Author: Carlos Adolfo Ortiz Quirós (COQ) ... | 29.424242 | 81 | 0.520426 |
d798f9fd30d118c86ac346e869348ab2fbef5a8a | 862 | /**
* Copyright (C), 2015-2020, XXX有限公司 FileName: RecordNotFoundException Author: xiao Date:
* 2020/11/14 08:22 History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package com.hsiao.springboot.ehcache.exception;
import org.springframewor... | 25.352941 | 91 | 0.669374 |
5abf709d8808d3c507ee4accf210a35ed6f89f13 | 2,608 | /*
package mods.coww.mixins;
import mods.coww.registry.CropWonderWorkingBlocks;
import mods.coww.registry.CropWonderWorkingItems;
import net.minecraft.block.Block;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.item.BuiltinMode... | 48.296296 | 162 | 0.694402 |
f8c8066ea9774b7a3e5a2959cd5d0dd68f3f351e | 13,576 | package org.carlspring.strongbox.storage.indexing;
import org.carlspring.strongbox.config.Maven2LayoutProviderTestConfig;
import org.carlspring.strongbox.providers.layout.Maven2LayoutProvider;
import org.carlspring.strongbox.services.ArtifactManagementService;
import org.carlspring.strongbox.storage.repository.Mutable... | 46.975779 | 120 | 0.610489 |
f48b0e7de496af242fbf8745b41a691893348e65 | 332 | package br.com.adslima.domain;
/**
*
* @author andrews.silva
*
*/
public enum Authorities {
ROLE_USER, ROLE_ADMIN;
public static String[] names() {
String[] names = new String[values().length];
for (int index = 0; index < values().length; index++) {
names[index] = values()[index].name();
}
return ... | 15.809524 | 57 | 0.626506 |
76b066680e995ef0e1efb03a46b9ba65bf0517a3 | 5,111 | package eu.nets.ms.pia.integration.nets.netaxept;
import static eu.nets.ms.pia.service.model.Operation.AUTHORIZE;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doAnswer;
import static org.m... | 40.563492 | 415 | 0.817257 |
24fa722fea666d675b429c1a96f9ea187640a307 | 929 | package lol.client.ai;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.BeforeEach;
class RandomAITest{
@BeforeEach
Turn turn = new Turn();
@Test
public Turn testChampionSelec... | 26.542857 | 88 | 0.684607 |
30be684066078799ee4896c528ba23de48e5b4da | 8,277 | /*
* Copyright (c) 2020, Martin Allusse and Alexandre Baret and Jessy Barritault and Florian
* Bertonnier and Lisa Fougeron and François Gréau and Thibaud Lambert and Antoine
* Orgerit and Laurent Rayez
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are... | 39.985507 | 102 | 0.689743 |
83157b4397c75f271a120288be34760af4790afc | 1,434 | package com.avalontm.leetcode._116PopulatingNextRightPointersinEachNode;
/**
* 116. Populating Next Right Pointers in Each Node
* Given a binary tree
* <p/>
* struct TreeLinkNode {
* TreeLinkNode *left;
* TreeLinkNode *right;
* TreeLinkNode *next;
* }
* Populate each next pointer to point to its next right no... | 28.117647 | 134 | 0.633891 |
31326e4a9c4ee5a580c2ef959519048b1afe667a | 5,060 | /*
* 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 ma... | 23.534884 | 84 | 0.589526 |
9295258e82c62ddf158819eb8a098f9bdd96dbbe | 4,236 | package kr.ac.cau.cse.caunter2015.dealActivity;
import android.app.ActionBar;
import android.app.Activity;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ExpandableListView;
import android... | 33.619048 | 123 | 0.673749 |
0c72d3f7670edf4fcc8115a477a35d22788939aa | 2,363 | package camelinaction;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.hazelcast.HazelcastConstants;
/**
* Route used by both foo and bar server.
* <p/>
* This route will expose a HTTP server on localhost port 8080... | 38.112903 | 115 | 0.634363 |
436432fab65f1ac8af3e4216ef5549ca140b6a16 | 2,759 | package com.chrisking.publictransportapp.activities.city;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import com.chrisking... | 31.712644 | 92 | 0.682131 |
df53ba1f3e75453c3e6b07f7dd882de406a8119c | 18,053 | package com.quootta.mdate.ui.activity;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import c... | 37.376812 | 132 | 0.554645 |
55717b0829d6c9725cb6bae978fdd4839866bcf0 | 484 | package com.graduate.laborManager.pub.dao.impl;
import com.graduate.laborManager.common.base.baseDao.impl.BaseDaoImpl;
import com.graduate.laborManager.pub.bean.Staff;
import com.graduate.laborManager.pub.dao.IStaffDao;
import org.springframework.stereotype.Repository;
/**
* @project: laborManager
* @description: h... | 26.888889 | 75 | 0.791322 |
57ee27e661a11997354d6cfb6105853716f76ac6 | 1,450 | package alt.beanmapper.util;
/**
*
* @author Albert Shift
*
*/
public final class StringUtil {
private StringUtil() {
}
public static String capitalize(String str) {
return changeFirstCharacterCase(str, true);
}
public static String uncapitalize(String str) {
return changeFirstCharacterCase(str, fals... | 22.307692 | 84 | 0.677931 |
62a6a979d923821041bc0443c7e5c79a1513ca98 | 5,670 | // Copyright 2017-2019, Schlumberger
//
// 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 ... | 30.983607 | 81 | 0.677072 |
b0994d283f28fdd206d8b1437878256279828a5d | 331 | package co.yixiang.app.common.persistence.dao;
import co.yixiang.app.common.persistence.model.StoreGoodsCate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 商城商品分类 Mapper 接口
* </p>
*
* @author hupeng
* @since 2019-09-08
*/
public interface StoreGoodsCateMapper extends BaseMapper<StoreGoods... | 19.470588 | 74 | 0.749245 |
55149a96a8f784863abae5f30028a4da345faf3f | 1,081 | package net.minecraft.src;
public class DistributedModels {
public static final ModelBiped modelArmorChestplate = new ModelBiped(1.0F);
public static final ModelBiped modelArmor = new ModelBiped(0.5F);
private static final ModelBiped[] bipedModels = new ModelBiped[]{modelArmorChestplate, modelArmor};
private Di... | 27.717949 | 106 | 0.712303 |
12296b6b636da8d4efadff1302f3f1ef7aeaf223 | 31,266 | package android.support.v7.widget;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.database.DataSetObservable;
import android.os.A... | 34.778643 | 242 | 0.643255 |
3dbf0e74a52b4ea5077c6b568cbb952f42a6f2b5 | 4,317 | /*
* (C) Copyright 2010-2015 Nuxeo SA (http://nuxeo.com/) and others.
*
* 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... | 31.977778 | 119 | 0.614779 |
17303949c0b1f158231cd18e9954df40ccc1fc5d | 1,045 | package com.turn.edc.discovery;
import com.google.common.net.HostAndPort;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Tests for {@link CacheInstance}
*
* @author tshiou
*/
@Test
public class CacheInstanceTest {
@Test
public void testFromString() {
// Valid cases
Assert.assertEquals... | 29.857143 | 72 | 0.760766 |
8108af7f37cc424961c0f2e3fefa4898ad81d87c | 2,159 | package com.bluelinelabs.logansquare.processor;
import com.bluelinelabs.logansquare.typeconverters.TypeConverter;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import java.io.IOException;
import java.lang.Override;
import jav... | 34.269841 | 144 | 0.558129 |
ab05220e8f72982fba9f6867b0663cba27e39022 | 14,636 | package com.zsmile.ui;
import com.intellij.uiDesigner.core.GridConstraints;
import com.intellij.uiDesigner.core.GridLayoutManager;
import com.intellij.uiDesigner.core.Spacer;
import com.zsmile.selenium.SeleniumConfig;
import com.zsmile.selenium.TBHomeSearchS;
import javax.swing.*;
import java.awt.*;
import ... | 62.815451 | 322 | 0.676756 |
e17de2184058e6e4371d3704fd69a799ecf4c621 | 1,728 | package com.rumaan.academapp.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.rumaan.academapp.R;
import c... | 28.327869 | 115 | 0.72338 |
01a97eef46f483ffb460080b041b47035243f1d3 | 127 | public class EntityPotion {
// Failed to decompile, took too long to decompile: net/minecraft/entity/projectile/EntityPotion
} | 42.333333 | 97 | 0.80315 |
83b2f99d1f7e2ce3ed8c58053dee0b41d15087ba | 1,177 | /*
* Copyright 2012-2015 MarkLogic Corporation
*
* 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... | 31.810811 | 75 | 0.763806 |
71ff3681a5040e02c42596c23faaf94776f726cb | 5,486 | /*
* Autopsy Forensic Browser
*
* Copyright 2011-17 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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.apach... | 37.067568 | 137 | 0.685928 |
44c943b0a6b9515b2cb6893b7f8817504221378a | 11,640 | /*
* Copyright 2017 Teamwork.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 37.070064 | 133 | 0.672595 |
b854269655206b61d488539a95006ad5edbd11ed | 1,227 | package gov.nih.nci.cabig.caaers.web.filters;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
/**
* @author Biju Joseph
* Created on : 4/26/13 3:07 PM
*/
public class WebCacheIdFilte... | 31.461538 | 153 | 0.691932 |
53242e34f384f90b4b6fda60f97ca624fa478203 | 7,746 | package org.observe.collect.impl;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import java.util.function.Consumer;
import org.observe.ObservableValue;
import org.observe... | 27.083916 | 137 | 0.713142 |
a7e90b1de0e57ad16f8aca5e4ff44d446f68b4a3 | 3,037 | /**
* Copyright (C) 2017 Alibaba Group Holding Limited
*/
package com.alibaba.sdk.android.photostore.runner;
import android.util.Log;
import com.alibaba.sdk.android.photostore.Constants;
import com.alibaba.sdk.android.photostore.PhotoStoreClient;
import com.alibaba.sdk.android.photostore.api.NewPagedRequest;
import... | 36.154762 | 95 | 0.48864 |
55b38fb78fb68eeee8b1fdb87ebbaa708d060d69 | 446 | package org.nd4j.linalg.exception;
/**
* Base (unchecked) exception for ND4J errors
*
* @author Alex Black
*/
public class ND4JException extends RuntimeException {
public ND4JException() {}
public ND4JException(String message) {
super(message);
}
public ND4JException(String message, Throw... | 19.391304 | 59 | 0.661435 |
dedade73675d325379dc443a91b3adac273f4ac7 | 7,289 | /*******************************************************************************
* Copyright 2014 NIFTY 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 Lic... | 21.250729 | 87 | 0.667444 |
1c32ecb2c62fc4ca1c0980c9a1fe384f31faac22 | 1,807 | /*
* Copyright 2014-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 ap... | 26.573529 | 75 | 0.65855 |
08fd300342696adf4ee7acf5c72d8d96c1875dfb | 1,137 | package com.pengrad.telegrambot.model;
import java.util.Arrays;
/**
* stas
* 8/5/15.
*/
public class UserProfilePhotos {
private Integer total_count;
private PhotoSize[][] photos;
public Integer totalCount() {
return total_count;
}
public PhotoSize[][] photos() {
return photo... | 23.6875 | 113 | 0.588391 |
b040d27169319166b58eb18487a63b8f48b28873 | 3,593 | /*
* Copyright (C) 2018 Eric Afenyo
*
* 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.369369 | 99 | 0.687448 |
5af3e73c7e029352e2433f5509a98ff6483114ae | 2,612 | package com.huaweicloud.sdk.rds.v3.model;
import com.huaweicloud.sdk.core.SdkResponse;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.huawe... | 26.12 | 95 | 0.648545 |
4bfc6e70f5b3a4574388e6eca7f02cd0c164192d | 1,872 | package chropro;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.lang.Void;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import javax.annotation.Generated;
import org.jetbrains.annotations.NotNull;
@Generated(
value = "chro... | 30.688525 | 123 | 0.735043 |
85f18fcfadc705c3fbecf4067166caac35199079 | 1,403 | package com.haoji.haoji.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.haoji.haoji.R;
import java.util.ArrayList;
import java.util.HashMap;
public c... | 25.981481 | 94 | 0.707056 |
7ba509f2a8bb558952e41104eec106e5206e5a4a | 5,589 | {{=<% %>=}}
<%license%>
package <%fullPackageName%>;
import com.intellecteu.catalyst.swift.converter.MTUtils;
import org.apache.commons.lang3.StringUtils;
import swift.xsd.fin_103.*;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex... | 23.682203 | 165 | 0.569512 |
36c2b767a5b8dafa2d78f70d8f92ec6616176b12 | 3,349 | package de.dhbw.humbuch.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.lowagie.text.... | 24.268116 | 77 | 0.67244 |
d126929a92bfeeb99215e70e9e3efd476d3db25b | 1,872 | package com.iq.code.controller;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.anno... | 35.320755 | 90 | 0.785256 |
808bdf8eaf23e6ac8acc69896881e8e90a9dc952 | 598 | package com.enigma.object.container.ognl;
import com.enigma.object.model.scan.FieldScan;
/**
* todo: 添加注释
*
* @author tianyang on 17/7/28.
*/
public class OgnlField extends FieldScan {
public boolean wrapped;
public OgnlField(FieldScan fieldScan) {
this.field = fieldScan.field;
this.cls... | 23 | 57 | 0.662207 |
2dc3a9c90891b3cbe629589a2b5a525fa77fec48 | 1,385 | package seedu.pivot.logic.parser;
import static seedu.pivot.commons.core.DeveloperMessages.ASSERT_CASE_PAGE;
import static seedu.pivot.commons.core.UserMessages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.pivot.logic.parser.AddCommandParser.arePrefixesPresent;
import static seedu.pivot.logic.parser.CliSyntax.P... | 41.969697 | 117 | 0.772563 |
c8f1b8b7d661e64463c584059350f2a8ba84d881 | 5,618 | /*
* Copyright (c) 2014-2020 Xceptance Software Technologies GmbH
*
* 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 requir... | 35.333333 | 136 | 0.545034 |
ba6d13bb969de0dbb5075df7da432ee4aebf8303 | 844 | package com.exmyth.commons.validator.constraint.field;
import com.exmyth.commons.validator.constraint.Scope;
import java.lang.annotation.*;
import java.util.Collection;
import java.util.Map;
/**
* The annotated element must not be {@code null} nor empty. Supported types are:
* <ul>
* <li>{@code CharSequence} (len... | 28.133333 | 81 | 0.721564 |
aaa51bda9c07a4e48dfa0901fe488aec02cc65a4 | 8,508 | /**
* 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... | 42.118812 | 189 | 0.703103 |
0fab40bab032e8ea2d614d775555afe5eba1c115 | 1,952 | package com.example.shixian.adapter.cell;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.example.shixian.R;
import com.example.shixian.adapter.base.RVBaseAdapter;
import com.example.shixian.ada... | 29.134328 | 141 | 0.679303 |
b66c5466a3eb2e21e2689d651a7f7ab257829568 | 1,370 | package com.xr.base.core.model;
import java.beans.Transient;
import java.io.Serializable;
import java.util.Date;
/**
* <b>author</b>: forvoyager@outlook.com
* <b>time</b>: 2019-06-18 08:05:38 <br>
* <b>description</b>: 基础模型数据
*/
public class BaseModel implements Serializable {
public static final String CREATE... | 19.855072 | 61 | 0.687591 |
1c227ba0fe9ac3fec20f1a19c6410ec9de57154a | 328 | package com.gilang.frameworkproject.framework;
import android.app.Activity;
import android.view.View;
/**
* Created by macair on 1/15/16.
*/
public abstract class DataModel {
public abstract int getViewResId();
public abstract RecyclerHolder createViewHolder(View v, Activity activity, RecyclerAdapter adap... | 21.866667 | 104 | 0.768293 |
aa51401d9fa46cfccad6d08d74f4342e764c37ec | 2,578 | /*******************************************************************************
* Copyright 2017 Bstek
*
* 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/l... | 26.57732 | 80 | 0.680372 |
713160caea6fc86be3e7136ae84df29c5c78b90a | 641 | package fi.riissanen.gwent.game.states;
import fi.riissanen.gwent.game.Gwent;
/**
* Adapter for {@link GameState}.
* @author Daniel
*/
public class GameStateAdapter implements GameState {
protected final Gwent game;
/**
* Constructor.
* @param game The game instance
*/
public GameS... | 15.634146 | 52 | 0.572543 |
20b3e456e8625971b13469acde014a2c5454bdce | 629 | package ox.source.provider.tools;
import android.database.sqlite.SQLiteDatabase;
import ox.source.provider.anno.DataBase;
import ox.source.provider.core.SQLiteProvider;
/**
* @author FengPeng
* @date 2017/2/26
*/
@DataBase(
name = "tools.db",
authority = "ox.source.provider.tools",
tables ... | 22.464286 | 81 | 0.683625 |
45435bdfe36ff8036e9d7cf06dbdcc23687a0b27 | 3,514 | package main.DAO;
import main.Connection.DatabaseConnection;
import main.Model.Purchase_order_monthly;
import main.UI.CrudDAO;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class Purcha... | 29.283333 | 156 | 0.641719 |
4902dd583e677f6675ba991edc9103c624945b16 | 1,595 | /*
* Created by LuaView.
* Copyright (c) 2017, Alibaba Group. All rights reserved.
*
* This source code is licensed under the MIT.
* For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
*/
package com.taobao.luaview.activity;
import android.app.A... | 22.464789 | 121 | 0.637618 |
768a695a48892a11609f1df52da620f9795c28df | 23,967 | package org.tomitribe.auth.signatures;
import java.security.spec.AlgorithmParameterSpec;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java... | 42.195423 | 169 | 0.636542 |
6caa2c065b0edaade7c1ed5595296864b3508116 | 1,143 | package br.com.banco.api.apibanco.entidades;
import lombok.Data;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validat... | 24.319149 | 73 | 0.734908 |
84fc55507ea7bc0093a2fc552bbf4bb41480d1ee | 2,190 | /*
* Copyright (c) 2008-2016, GigaSpaces Technologies, Inc. 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
*
* Un... | 37.118644 | 139 | 0.724201 |
20457b2d7289ab0f428e01ec2cb7a7f1d9c77b5d | 824 | package worker.JianCe.Mina;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFactory;
import org.apache.mina.filter.codec.ProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolEncoder;
/**
* Created by HUPENG on 2016/9/4.
*/
public class MyImageFactory implement... | 26.580645 | 77 | 0.747573 |
badf51bc151b9fa3383461a4838a5212092d265e | 2,198 | package com.graphhopper.storage.extensions;
import com.graphhopper.storage.Graph;
import com.graphhopper.storage.GraphHopperStorage;
import com.graphhopper.storage.NodeAccess;
public class RoadSignEncoder
{
/**
* Positions of bits for encoding various pieces of information
*/
final byte TRAFFIC_LIG... | 26.481928 | 82 | 0.6697 |
1a954e1d7d3f3db4ebe5b9452b6fd74188a9b3d4 | 8,047 | package org.touchhome.app.manager.common.impl;
import lombok.Getter;
import org.apache.commons.lang3.StringUtils;
import org.touchhome.app.manager.common.ClassFinder;
import org.touchhome.bundle.api.EntityContext;
import org.touchhome.bundle.api.EntityContextEvent;
import org.touchhome.bundle.api.entity.BaseEntity;
im... | 42.803191 | 146 | 0.673046 |
91a011bdd27acbe415567873bcfbfe265de7f837 | 1,217 | package creativestudioaq.daily;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
/**
* Created by honggyu on 2015-12-21.
*/
public class InformationActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... | 23.862745 | 80 | 0.579293 |
bc9beef119ab807dcf0fb7fc5a8e56e3bdc2e98d | 1,423 | package uk.me.jasonmarston.domain.service;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import org.springframework.security.core.GrantedAuthority;
import uk.me.jasonmarston.domain.aggregate.impl.User;
import uk.me.jasonmarston.domain.details.impl.RegistrationDetails;
import uk... | 41.852941 | 67 | 0.787772 |
13d4af9a80fb149cb7ca7482bf35b8a825ac9e69 | 4,149 | /*
* 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 ... | 26.09434 | 107 | 0.746445 |
cb569a7be2a39c0f8128579f63102055f271ac7b | 5,522 | /*
* Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req... | 40.903704 | 157 | 0.693408 |
84148fb6a7a896658d7df35b586d0ce3f31b6e80 | 7,913 | /*捂脸猫FaceCat框架 v1.0
1.创始人-矿洞程序员-上海宁米科技创始人-脉脉KOL-陶德 (微信号:suade1984);
2.联合创始人-上海宁米科技创始人-袁立涛(微信号:wx627378127);
3.联合创始人-河北思尔企业管理咨询有限公司合伙人-肖添龙(微信号:xiaotianlong_luu);
4.联合开发者-陈晓阳(微信号:chenxiaoyangzxy),助理-朱炜(微信号:cnnic_zhu);
5.该框架开源协议为BSD,欢迎对我们的创业活动进行各种支持,欢迎更多开发者加入。
包含C/C++,Java,C#,iOS,MacOS,Linux六个版本的图形和通讯服务框架。
*/
packa... | 23.834337 | 152 | 0.558069 |
a8014f1053bef33f97029a105cf3c90d6c294b34 | 2,920 | package ca.uhn.fhir.empi.rules.json;
/*-
* #%L
* HAPI FHIR - Enterprise Master Patient Index
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* 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 co... | 26.788991 | 115 | 0.74863 |
d16624847254e74edda2e19fa6a2f0bdf1bb7700 | 1,646 | /**
*
*/
package org.openforis.calc.schema;
import java.util.Collection;
import org.jooq.Record;
import org.jooq.SelectQuery;
import org.openforis.calc.metadata.AoiHierarchy;
import org.openforis.calc.metadata.AoiLevel;
import org.openforis.calc.schema.Hierarchy.Level;
import org.openforis.calc.schema.Hierarchy.Vi... | 26.548387 | 102 | 0.776428 |
e350554123a42bab76bab2a9a5745f1618d8110c | 244 | package src.test.resources;
import org.checkerframework.checker.tainting.qual.*;
class Outer {
class Nested {
class InnerMost {
@A Outer context(@B Outer.@C Nested.@D InnerMost this) {
return Outer.this;
}
}
}
}
| 20.333333 | 62 | 0.643443 |
e47cf2a8c6e3912b6acafd2e3200b13952e9592b | 96 | package p06_twitter.interfaces;
public interface Repo {
void saveTweet(String content);
}
| 13.714286 | 35 | 0.760417 |
ff99ed01a1a7f46f2e3aca4cfcbf1b2ca3b3899b | 3,098 | package com.nishant.algorithms.datastructure.disjointset.v2;
import com.nishant.algorithms.datastructure.disjointset.v1.DisjointSetArrayImpl;
public class DisjointSetArrayImplWithPathCompression {
private int size;
private int[] table;
private int[] sizeTable;
private int numberOfComponents;
pu... | 24.784 | 100 | 0.541963 |
35c8ffd007a21dba553dd403fe53805d247d6ed2 | 1,278 | package java.util.concurrent.atomic;
import java.util.Arrays;
public class AtomicReferenceArray<E> implements java.io.Serializable {
private final Object[] array; // must have exact type Object[]
public AtomicReferenceArray(int length) {
array = new Object[length];
}
public AtomicReferenceA... | 22.821429 | 71 | 0.588419 |
42772aaab3b8f78268c781568915c25351671b30 | 6,234 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... | 27.830357 | 114 | 0.721206 |
f2a5e691f5d801975710c7580e7890e034629f7d | 4,172 | package sk.homisolutions.shotbox.snem.shoottrigger.rpigpiobutton;
import com.pi4j.io.gpio.*;
import com.pi4j.io.gpio.event.GpioPinDigitalStateChangeEvent;
import com.pi4j.io.gpio.event.GpioPinListenerDigital;
import org.apache.log4j.Logger;
import sk.homisolutions.shotbox.tools.api.external.trigger.ShootTrigger;
impor... | 34.479339 | 137 | 0.618888 |
d88dd510bd4d54d76cbfa07795024d5a5e2deddc | 3,725 | package com.artarkatesoft.learncamel.springbootapps.routes;
import com.artarkatesoft.learncamel.springbootapps.alert.MailProcessor;
import com.artarkatesoft.learncamel.springbootapps.domain.Item;
import com.artarkatesoft.learncamel.springbootapps.exceptions.DataException;
import com.artarkatesoft.learncamel.springboot... | 38.802083 | 141 | 0.642148 |
616698a1df5cd4144f70238564efbe95df8d180d | 5,535 | /**
* Copyright (c) 2005-2012 https://github.com/zhangkaitao
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
package com.sishuok.es.maintain.editor.web.controller.utils;
import com.google.common.collect.Lists;
import org.apache.commons.compress.archivers.zip.Zip64Mode;
import org.ap... | 34.166667 | 140 | 0.539837 |
60a3a03517a01fff87b4a7358aba34bd17556906 | 2,118 | package me.galaxy.rocket;
import me.galaxy.rocket.config.ConsumerConfig;
import me.galaxy.rocket.config.ExceptionIgnore;
import org.apache.rocketmq.acl.common.AclClientRPCHook;
/**
* @Description
* @Author galaxy-captain
* @Date 2019-06-21 15:00
**/
public class RocketConfiguration {
private String nameServe... | 23.797753 | 90 | 0.692635 |
35d18bf0f4986b22a319bf614cff7d492f441e75 | 3,707 | /*
* Copyright 2019 Hotspring Ventures 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 app... | 43.104651 | 157 | 0.745077 |
02f110b92df0d92b216022b691e8d6cc46b20b8d | 557 | /*
* Copyright (C) 2013 Schlichtherle IT Services & Stimulus Software.
* All rights reserved. Use is subject to license terms.
*/
package net.java.trueupdate.core.zip.patch;
import java.io.IOException;
/**
* Indicates that a computed {@link java.security.MessageDigest} did not match
* an expected message digest.... | 26.52381 | 78 | 0.755835 |
766c699945ca9676768713c42b8a7d5a86969b8d | 6,624 | /*
* Licensed to Leidos, Inc. under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information regarding copyright ownership.
* Leidos, Inc. licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file exc... | 36.196721 | 131 | 0.701993 |
2c68295ce05b2b62bab71e1d1fcbbab164704177 | 4,283 | package io.github.haykam821.prettyplanks;
import io.github.haykam821.prettyplanks.block.PrettyButtonBlock;
import io.github.haykam821.prettyplanks.block.PrettyPressurePlateBlock;
import io.github.haykam821.prettyplanks.block.PrettyStairsBlock;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.bloc... | 54.21519 | 151 | 0.801074 |
c67f1fb508b9b94675bce5ef0fa3a0106317525e | 5,985 | package ComunicacionServer;
import IcomuniacionServer.IcomuniacionServer;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
import java.util.HashMap;
import java.util.Map;
import ja... | 32.704918 | 110 | 0.589808 |
5aeff65500afca8147991437f8a7e9c40bb20db3 | 729 | package com.facebook.react.fabric;
import android.util.SparseArray;
import com.facebook.react.uimanager.ReactShadowNode;
/**
* Simple container class to keep track of {@link ReactShadowNode}s that represents the Root
* Shadow Nodes of a {@link FabricUIManagerModule}
*/
public class RootShadowNodeRegistry {
priv... | 24.3 | 92 | 0.751715 |
523c13e2753cc439b269137db1d3604d6d4e94ea | 169 | package com.yizhiteamo.ufood.mapper;
import com.yizhiteamo.ufood.entity.Icon;
import java.util.List;
public interface IconMapper {
List<Icon> getCateIcon();
}
| 13 | 40 | 0.751479 |
eba89b3d486f7e001f092530099f657d655343e0 | 429 | package tech.receipts.ui.view;
import tech.receipts.data.model.ApiError;
import tech.receipts.data.model.ticket.GetTicketsRequest;
import tech.receipts.data.model.ticket.LotteryTicketsCollectionResponse;
public interface TicketsMvpView extends MvpView {
void onGetTicketsFinished(GetTicketsRequest request, Lotter... | 33 | 124 | 0.848485 |
a7d6cd599b201f977f1088380c40c0fb6ac5b8ab | 8,830 | package org.ega_archive.elixircore.test.util;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import lombok.extern.slf4j.Slf4j;
import org.ega_archive.... | 40.691244 | 134 | 0.673386 |
d61998bb0553dd4adf468752cb6ca1bed21ce7a1 | 19,670 | /*
* Copyright 2014 Avanza Bank AB
*
* 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... | 41.851064 | 206 | 0.788358 |
620595194df295f632d73df1e4ea1eb0df4da41a | 1,299 | /*
*
* The contents of this file are subject to the Terracotta Public 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://terracotta.org/legal/terracotta-public-license.
*
* Software distributed under t... | 29.522727 | 83 | 0.727483 |
bdef831cba496efc7c4434a17bb8658fe973fb8f | 2,606 | /*
* ProGuardCORE -- library to process Java bytecode.
*
* Copyright (c) 2002-2020 Guardsquare NV
*
* 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/licen... | 36.704225 | 136 | 0.750959 |
a4c13ca9b80db55bde1616d3b8e2d0c75f0687d6 | 1,235 | package com.google.sps.servlets;
import com.google.sps.data.JsonData;
import com.google.gson.Gson;
import java.io.IOException;
import java.util.Date;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRes... | 28.72093 | 98 | 0.7417 |
6eac5a62df7d9020accdf60c70c84e7344206913 | 568 | package com.andersonfonseka.wr.components;
import java.util.UUID;
public class FormGroup extends Component {
public FormGroup() {
super("FormGroup#" + UUID.randomUUID().toString());
}
public FormGroup(String id) {
super(id);
}
@Override
public String doRender() {
StringBuilder sb = new StringBuilde... | 17.75 | 83 | 0.660211 |
e6a349260dee6ab04d2b51d5eb3c8a76c666c325 | 1,614 | /**
*
*/
package sorts.exchange;
import main.ArrayVisualizer;
import sorts.templates.Sort;
/**
* @author yuji
* @author fungamer2
*
*/
public final class PseudoHeapSort extends Sort {
/**
* @param arrayVisualizer
*/
public PseudoHeapSort(ArrayVisualizer arrayVisualizer) {
super(arra... | 22.732394 | 94 | 0.614002 |
89ace2d4ab708894e42be5e4fb0bda630e0a5288 | 36,151 | package com.bjdvt.platform.model;
import java.util.ArrayList;
import java.util.List;
public class StylePhotoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public StylePhotoExample() {
oredCriteria = new ArrayList<Criteria>();
... | 32.745471 | 102 | 0.586097 |
c96e859c7fe1993ef3d034bf17967bbf954c9fce | 4,290 | package org.gitlab4j.api.models;
import java.util.ArrayList;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
public class CommitPayload {
private String branch;
private String commitMessage;
private String startBranch;
private String startSha;
private Object startP... | 23.96648 | 99 | 0.608858 |
62bc801cd8992d4b630d891e4db2ed987e6d46de | 2,282 | package com.springmvc.entity;
import java.io.Serializable;
/**
* @ClassName Class
* @Author JinZhiyun
* @Description 班级实体类
* @Date 2019/4/15 16:45
* @Version 1.0
**/
public class Class implements Serializable {
private static final long serialVersionUID = 5262671908815902069L;
//班级表代理主键,uuid
privat... | 21.733333 | 70 | 0.597283 |
4075bd8aee52663af0bfafca6d9e986c6e6584c4 | 1,287 | package model.data;
import java.io.Serializable;
public class RecordQuery implements Serializable{
private String m_LevelName;
private String m_UserName;
private String m_OrderBy;
private int m_Page;
private int m_ResultsPerPage;
private boolean m_IsDesc;
public RecordQuery() {
m_LevelName = nu... | 18.385714 | 53 | 0.688423 |
8dd91ae349c9ad8c2638a5703d1d1288f1a91818 | 7,227 | /*
* Copyright (C) 2011-2016 Markus Junginger, greenrobot (http://greenrobot.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.apache.org/licenses/LICENSE-2.0
*... | 31.558952 | 131 | 0.646741 |
6a3033bf981aeeadc274845745b6475a13c9d723 | 1,140 | package com.howiezhao.akuoj.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.s... | 24.255319 | 96 | 0.740351 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.