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 |
|---|---|---|---|---|---|
1e2f97649a3f0d024899c07aaf09f6f42d6fd711 | 18,112 | package se.lth.cs.palcom.updatedistributionservice;
import java.io.IOException;
import java.util.HashMap;
import java.util.Set;
import ist.palcom.resource.descriptor.Command;
import ist.palcom.resource.descriptor.DeviceID;
import ist.palcom.resource.descriptor.PRDService;
import ist.palcom.resource.descriptor.Service... | 53.270588 | 210 | 0.77617 |
76b523057ee8de81782053a246f5b43273a4aab6 | 1,767 | /*
* Copyright 2016-2019 Tim Boudreau, Frédéric Yvon Vinet
*
* 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 ... | 29.45 | 89 | 0.75382 |
763892f986362a488d778d1e9d15f861af5a1023 | 1,026 | package org.maximkir.shcf4j.api.conn.ssl;
import javax.net.ssl.SSLEngine;
import javax.net.ssl.X509ExtendedTrustManager;
import java.net.Socket;
import java.security.cert.X509Certificate;
class TrustAllCertsTrustManager extends X509ExtendedTrustManager {
@Override
public void checkClientTrusted(X509Certifica... | 22.8 | 96 | 0.730019 |
74d0eb4f433a4e43a3736ae4f21b190112e99b0a | 4,409 | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" fil... | 27.04908 | 120 | 0.617147 |
fc1170df1a3e8ea6249a2d66687e7132b9d05379 | 1,687 | /**
* *****************************************************************************
*
* Copyright (c) 2012 Oracle Corporation.
*
* 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, and is... | 31.830189 | 91 | 0.658566 |
9fa21ad2ccf3fb42071d7efe311d41babc736136 | 136 |
package com.djs.learn.behavioral.interpreter;
public interface InterpreterInterface
{
String interpreter(ContextData contextData);
}
| 17 | 45 | 0.830882 |
510ce6e4336025f02b4958b92b1c35b45423a65b | 1,559 | package es.tid.fiware.iot.ac.dao;
/*
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U
*
* 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.... | 31.18 | 72 | 0.730597 |
4087a6638349a57455865eac6e1cf9d88b3f670a | 1,346 | /*
* Copyright 2020 DataStax, 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 agreed to i... | 33.65 | 98 | 0.780089 |
b647a459064626d896aa89d23ea8df28aa0fabb0 | 6,026 | package com.github.smartbuf.utils;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
/**
* ASMUtils wraps some useful function for bytecode operation
*
* @author sulin
* @since 2019-10-31 14:29:16
*/
public final class ASMUtils {
private static f... | 39.12987 | 122 | 0.586791 |
7a49388f7dcb32718bf7723ca2b76d995f2a2772 | 865 | // Copyright (C) 2021 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
package com.intel.dai.dsapi.pojo;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@ToString
@EqualsAndHashCode(callSuper = true)
public class NodeInventory extends FruHost {
public Dimm CPU0_DIMM_A1;
public Dimm CPU... | 22.179487 | 44 | 0.724855 |
fe16c9749c769dbde2ee6b861c3b927198c04b92 | 2,040 | /*
* Copyright 2012-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 36.428571 | 96 | 0.751961 |
58879a9e9731bd782c2c1da28b9439868875025e | 713 | package com.javarush.test.level06.lesson08.task05;
/* Класс StringHelper
Cделать класс StringHelper, у которого будут 2 статических метода:
String multiply(String s, int count) – возвращает строку повторенную count раз.
String multiply(String s) – возвращает строку повторенную 5 раз.
Пример:
Амиго -> АмигоАмигоАмигоАм... | 24.586207 | 79 | 0.652174 |
e4e24a2bebc840c03402fa7ae3e5e16bfdca8cdb | 8,343 | package voldemort.rest;
import static org.jboss.netty.handler.codec.http.HttpHeaders.Names.CONTENT_LENGTH;
import static org.jboss.netty.handler.codec.http.HttpHeaders.Names.CONTENT_LOCATION;
import static org.jboss.netty.handler.codec.http.HttpHeaders.Names.CONTENT_TRANSFER_ENCODING;
import static org.jboss.netty.han... | 45.342391 | 116 | 0.655999 |
0c4b0c55df5bd359154f7117fa9bafc838b9d270 | 2,620 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Zeebe Community License 1.0. You may not use this file
* ... | 33.589744 | 99 | 0.739695 |
6b6444fae24bfc02f659391dcb8acd5b0cc5f583 | 2,848 | package org.ehrbase.client.flattener;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class PathExtractorTest {
@Test
public void testPathExtractorWithAttribut() {
PathExtractor cut = new PathExtractor("/context/end_time|value");
assertThat(cut.getAttr... | 44.5 | 141 | 0.693118 |
3579caf173becee578553eae46863891e497e607 | 3,902 | package com.ecorengia.org.cinemaapp.data.model;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.arch.persistence.room.TypeConverters;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
import java.uti... | 24.08642 | 113 | 0.604305 |
082ea2749d9fe70e1cea449660dd32d8834691a1 | 1,909 | package test.base;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
/**
* Test Tester.
*
* @author <Authors name>
* @since <pre>5月 1, 2020</pre>
* @version 1.0
*/
public class TestTest {
base.Test test;
@Before
public void before() throws Exception {
test = new ... | 15.031496 | 77 | 0.626506 |
c805427f09f868b850899e90a7284ba6bcf69af1 | 7,987 | package org.fzu.cs03.daoyun.mapper;
import org.apache.ibatis.annotations.*;
import org.fzu.cs03.daoyun.entity.DataDictionary;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface DataDictionaryMapper {
// 空格:字段实体映射
// @Insert("INSERT INTO user (role_id, user... | 47.541667 | 205 | 0.653687 |
29c7eb9270c685285a439442f723bb1c820ff04d | 1,970 | package org.usfirst.frc.team1806.robot.util;
import java.util.LinkedList;
public class SamplingFilter {
private LinkedList<SamplingFilterValue> samplingBuffer;
int maxSamples;
Double currentRunningTotal;
/**
* Uses a {@link LinkedList} to sample a double value and average the last n samples.
... | 29.848485 | 89 | 0.610152 |
690111b32f5417ae68b6256c2559b73597677368 | 4,311 | /*
* #%L
* utils-aop
* %%
* Copyright (C) 2016 - 2018 Gilles Landel
* %%
* 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... | 27.113208 | 131 | 0.547901 |
f81fb222101c36ba62c6eba1cdab86750c1a196d | 15,144 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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... | 39.233161 | 176 | 0.683439 |
79bb5de421217138192432cafe957f5e3e1ebebb | 2,182 | package com.lunarku.order.service.impl;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import com.lunarku.order.pojo.OrderInfo;
import com.lunarku.order.service.OrderService;
import com.lunarku.sh... | 29.093333 | 75 | 0.791476 |
347b8870d9729b6975839654792ef8bd98f64429 | 718 | class Solution {
public List<List<Integer>> generate(int numRows) {
List<List<Integer>> triangle = new ArrayList<List<Integer>>();
if (numRows > 0) {
List<Integer> row = new ArrayList<Integer>();
row.add(1);
triangle.add(row);
}
for (int i = 1; i <... | 34.190476 | 76 | 0.476323 |
1a2360da324e88064a42101b15f30fa4bb0b830b | 1,451 | package com.sequenceiq.cloudbreak.converter.v4.util;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.api.endpoint.v4.util.responses.StructuredParameterQueryV4Response;
import com.sequenceiq.cloudbreak.converter.AbstractConversionServiceAwareConverter;
import com.sequenceiq.cloudbreak... | 55.807692 | 121 | 0.84011 |
d2e2202da4a264112f673aafccc380e414b86f64 | 15,965 | package com.bergerkiller.bukkit.tc.attachments.control.seat;
import java.util.Collection;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.util.Vector;
import com.bergerkiller.bukkit.common.controller.VehicleMountController;
import com.bergerkiller.bukkit.common.math.Matrix4x4;
imp... | 42.916667 | 145 | 0.631193 |
22fb0d44b6fb02ab7c67f1df46ae10b99b80bc80 | 4,770 |
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
import o... | 22.394366 | 90 | 0.578826 |
c88415ad754d71d9e113ad64b7158ad55552be71 | 3,427 | /*
* 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.154545 | 108 | 0.726875 |
4dfcc3b26a46a20de4a608811a56748817764ead | 3,638 | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in... | 37.895833 | 143 | 0.771028 |
d045abc2a0a64a7f38730826dbebfd0d3614b10a | 13,209 | package cn.aezo.bigdata.hbase;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.*;
import org.apache.hadoop.hbase.client.*;
import org.apache.hadoop.hbase.filter.FilterList;
import org.apache.hadoop.hbase.filter.PrefixFilter;
import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;
imp... | 43.166667 | 190 | 0.612158 |
972c91fa3e9e0937dae3e42dcbde0079ae5002a8 | 589 | package test.http.server;
import java.io.IOException;
import nn1211.http.server.HttpServer;
import static nn1211.http.server.ServerResponse.*;
//import org.junit.Test;
/**
* HttpServer's test cases.
*
* @author nn1211
* @since 1.0
*/
public class TestHttpServer {
// @Test
// public void test400() thro... | 21.814815 | 79 | 0.616299 |
7a800d5a0c350c6b6022f043f2ac0e3e5175cfe9 | 6,893 | package com.diamondq.common.storage.jdbc;
import com.diamondq.common.storage.kv.IKVColumnDefinition;
import com.diamondq.common.storage.kv.IKVTableDefinition;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Map;
import java.util.UUID;
import org.checkerf... | 35.168367 | 124 | 0.6112 |
222da1c49ebf731f2563542caeeecafcaf5fa690 | 614 | package com.dhcc.shanjupay.user.convert;
import com.dhcc.shanjupay.user.api.dto.menu.MenuDTO;
import com.dhcc.shanjupay.user.entity.ResourceMenu;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;
@Mapper
public interface ResourceMenuConvert {
ResourceMenuConve... | 25.583333 | 81 | 0.765472 |
1335e349f13c616da685b78bccaf26b9b9649b1c | 1,339 | // https://leetcode.com/problems/kth-largest-element-in-a-stream/
class KthLargest {
// https://leetcode.com/problems/kth-largest-element-in-a-stream/discuss/544481/Java-With-Explanation
private int k;
private Queue<Integer> queue;
public KthLargest(int k, int[] nums) {
this.k = ... | 22.316667 | 105 | 0.534727 |
fe9bbdd649703411009998f94c78f15a244f2f91 | 2,122 | package com.netthreads.gwt.client.service;
import java.util.LinkedList;
import java.util.List;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.http.client.Reque... | 24.674419 | 83 | 0.654571 |
6b447e12d6effed31a03acbace568c86bf4bb90b | 2,756 | /*
* Copyright (c) Facebook, Inc. and 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 applic... | 35.333333 | 99 | 0.714441 |
8e869bb6a2d6d1bdc5df841afd5437cc7dcfc45d | 4,289 | package org.z.component.cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.LoadingCache;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cache.caffeine.CaffeineCache;
import org.springframework.lang.Nullable;
import java.util.HashSet;
import java.util.Ma... | 29.376712 | 110 | 0.567265 |
54cd2feeea698d6eff27533413cb974e4c83f2c8 | 2,909 | /**
* Copyright (C) 2002 Mike Hummel (mh@mhus.de)
*
* 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... | 34.223529 | 98 | 0.633207 |
45c52c53177b21ed8c7db77d2e41650d1dbea07b | 475 | package com.mb.model.bonusPoint;
import com.mb.model.AbstractEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Entity
@Table(name = "bonus_point")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "type")
@Getter
@NoArgsConstructor
public clas... | 19.791667 | 53 | 0.776842 |
181d32bdd29e8e8c76e76e5a4e3d58b79915a7c1 | 9,728 | package GlobalUtilities;
/*
* AudioLoop.java
*
* This file is part of jsresources.org
*/
/*
* Copyright (c) 1999 - 2003 by Matthias Pfisterer
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... | 29.389728 | 118 | 0.71176 |
6f07d656fed7a32ae3facb26f33d2d4428fa7878 | 5,082 | package ch.hslu.ad.sw02_D1.list;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class MyList<T> implements Iterable<T>{
private Node head;
private Node tail;
private int size;
public MyList() {
this.head = null;
this.tail = null;
this.size = 0;
... | 22.995475 | 86 | 0.482487 |
792df2efabd8f020dd8de69a462272ab4a0f3742 | 279 | package com.webprague.service;
import java.sql.Timestamp;
import java.sql.Date;
import java.util.List;
public interface DateService {
public int addDate(int num, Date dateTime);
public List<com.webprague.model.Date> findAllByMonth(Date start_month, Date end_month);
}
| 23.25 | 91 | 0.774194 |
d882e85c479abb6f13c6c3e7841e655c2d5b6449 | 1,431 | package com.jj.server;
import com.jj.client.ClientInitialTask;
import com.jj.protocol.MessageRequest;
import com.jj.protocol.MessageResponse;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.re... | 34.071429 | 107 | 0.730259 |
54e41598e28c38ea017f46d31844ac718a58f922 | 600 | package com.alibaba.alink.pipeline.nlp;
import com.alibaba.alink.operator.common.nlp.bert.BertTextEmbeddingMapper;
import com.alibaba.alink.params.tensorflow.bert.BertTextEmbeddingParams;
import com.alibaba.alink.pipeline.MapTransformer;
import org.apache.flink.ml.api.misc.param.Params;
public class BertTextEmbedding... | 30 | 74 | 0.781667 |
85b6ec54020f2b0ae3b2a3ac12587d0c8439185e | 396 | package pnet.data.api.util;
import java.time.LocalDateTime;
/**
* A restriction for the update timestamp
*
* @author ham
* @param <SELF> the type of the restrict for chaining
*/
public interface RestrictUpdatedAfter<SELF extends Restrict<SELF>> extends Restrict<SELF>
{
default SELF updatedAfter(LocalDateTim... | 19.8 | 89 | 0.717172 |
9d98ccdb2dd18ba4366ac62792a91f3b8b79020c | 2,039 | /*
* $Id: PwsIntegerField.java 297 2004-02-24 22:29:25Z preecek $
*
* Copyright (c) 2008-2014 David Muller <roxon@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* h... | 31.369231 | 77 | 0.681216 |
05662e06ecf69fda246911a8d5110726bdcb6e12 | 211 | package net.teumert.prime.api;
import io.quarkus.test.junit.NativeImageTest;
@NativeImageTest
public class NativePrimeResourceIT extends PrimeResourceTest {
// Execute the same tests but in native mode.
} | 23.444444 | 62 | 0.800948 |
1ae452418da846bbf7b09d3f3ad79288dc7f2312 | 310 | package nl.lxtreme.user.rest;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
/**
* Nothing special here, just a sample "user" resource.
*/
@Path("/")
public class UserResource {
@GET
public Response getUserStuff() {
return Response.ok("Hello User!").build();
}
}
| 16.315789 | 55 | 0.693548 |
60112bf73338f5c2628c02f530c4beb2e05b78bf | 8,694 | package kr.ac.kopo.kopo40.web;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import javax.transaction.Transactional;
import org.hibernate.Hibernate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page... | 37.8 | 113 | 0.745802 |
fedb030b88ad4522c2080feca2d128161be24dd9 | 1,053 | package com.yarolegovich.slidingrootnav.sample.conexion;
import android.content.Context;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
/**
* Created by Yerko on 08/06/2017.
*/
public class Singleton {
private static Singleton singleton;
... | 24.488372 | 83 | 0.679012 |
4c3fff7e11ea2816fc3edcf858e3a0cd71698cac | 3,955 | package mchorse.blockbuster.api.loaders.lazy;
import mchorse.blockbuster.api.Model;
import mchorse.blockbuster.api.ModelLimb;
import mchorse.blockbuster.api.ModelPose;
import mchorse.blockbuster.api.ModelTransform;
import mchorse.blockbuster.api.formats.IMeshes;
import mchorse.blockbuster.api.formats.obj.OBJDataMesh;
... | 21.149733 | 105 | 0.69507 |
aeb3304b8218078cdb021fa9c2fc26f494e9d56b | 1,212 | package com.xwintop.xTransfer.sender.service.impl;
import com.xwintop.xTransfer.sender.bean.SenderConfig;
import com.xwintop.xTransfer.sender.service.Sender;
import com.xwintop.xTransfer.sender.service.SenderManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
/**
* @ClassName: S... | 31.894737 | 150 | 0.64604 |
14c7880b775eb258589cfd9966f3a0bf45c706aa | 791 | // Template Source: BaseEntityCollectionResponse.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------... | 41.631579 | 152 | 0.638432 |
12bdf93ed8e284e1ba375bb277031c620caf2026 | 338 | package io.github.jackzheng870.tofusite;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TofusiteApplication {
public static void main(String[] args) {
SpringApplication.run(TofusiteApplication.clas... | 28.166667 | 68 | 0.801775 |
3adcf49d3d08cbd0e965e8912d2b05042fef573a | 691 | package ObjectTracker;
import javax.swing.*;
import java.awt.*;
/**
* This class contains any methods that are needed
* to change the look and feel of the GUI components.
*
* @author Eoin O'Connor
* @see UserOptionsPanel
* @see Browser
*/
public class WindowUtilities
{
/**
* Tells the system to u... | 22.290323 | 77 | 0.6411 |
cf47e3d0b2ca0620d1e4609761ba8c6a6a51dc5b | 1,898 | package org.openpaas.servicebroker.model;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
/**
* PreviousValues 정보를 가지고 있는 데이터 모델 ... | 24.973684 | 109 | 0.710748 |
d21791df93d6974ba9b136ee00a413f9d912c088 | 5,500 | package com.ch.pojo;
public class StockInfo {
private String id;
private String compabbre;
private String compname;
private String englishname;
private String regadd;
private String sharescode;
private String sharesaddre;
private String timemarket;
private... | 22.916667 | 79 | 0.594182 |
8c83148691c9b622b5b808bc28f35be8cb2e2461 | 9,321 | /*
* MIT License
* Copyright (c) 2020 Alexandros Gelbessis
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | 42.561644 | 179 | 0.645639 |
61d47138d45f8f8f824b9fdd09532f7d22da1fe5 | 3,683 | /*
* ModeShape (http://www.modeshape.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
*
* Unless required by applicable law o... | 39.180851 | 101 | 0.716535 |
20b63949780a7486d21dd024a0fd577cb59fc485 | 288 | package org.rhett.admin.service;
import com.baomidou.mybatisplus.extension.service.IService;
import org.rhett.admin.model.entity.Permission;
import java.util.List;
public interface PermissionService extends IService<Permission> {
List<Permission> getPermissions(Integer roleId);
}
| 26.181818 | 65 | 0.815972 |
d0f2753db4714412874167485ea6829811c8c567 | 552 | package com.oim.core.business.manager;
import com.onlyxiahui.app.base.AppContext;
import com.onlyxiahui.app.base.component.AbstractManager;
import com.onlyxiahui.im.bean.UserCategoryMember;
/**
* 描述:
*
* @author XiaHui
* @date 2015年4月12日 上午10:18:18
* @version 0.0.1
*/
public class MessageManager extends Abstr... | 19.034483 | 73 | 0.744565 |
3ee20e0d5a68523558923ae509d358ca2b2569d7 | 258 | package gm;
import org.apache.mina.core.session.IoSession;
import tools.data.input.SeekableLittleEndianAccessor;
/**
*
* @author Kevin
*/
public interface GMPacketHandler {
void handlePacket(SeekableLittleEndianAccessor slea, IoSession session);
}
| 18.428571 | 76 | 0.77907 |
fae64967fc77cb166f3861dad19191b0d560c5f3 | 1,091 | package org.sylrsykssoft.rest.java.musbands.aspects.logger.annotation;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
... | 20.584906 | 70 | 0.655362 |
14b6a9f9dc67ea5f89cc3dfa2cf6b505c5b7d715 | 2,491 | /*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2021 The JReleaser 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
*
* https://www.apache.org/licenses/LICENS... | 23.280374 | 75 | 0.626255 |
a1e3c7d35ba29bd33a513fdad5f26a25fd04eaa4 | 1,277 | package com.mallplanet.clienttoolbox.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.google.gson.annotations.SerializedName;
@JsonInclude(Include.NON_NULL)
public class CampaignBalance {
@SerializedName("campaign_id")
private String... | 25.54 | 60 | 0.783085 |
c88a5fbbd51320876f293c04eed4516bcee9ed97 | 1,019 | package com.jayu.note.bmo;
import com.jayu.exception.BusinessException;
import com.jayu.mybatis.bmo.BaseBMO;
import com.jayu.mybatis.entity.PageModel;
import com.jayu.note.dao.model.Mquartz;
/**
* 文章归档 业务接口 概述 .
* <P>
* @author jayu
* @version V1.0 2015-12-25
* @createDate 2015-12-25 21:22:36
* @modifyDate jay... | 27.540541 | 92 | 0.743867 |
f859e46c975f6a9a20c18037376fbb3673580afc | 6,118 | /*
* */
package com.synectiks.process.server.streams.matchers;
import org.junit.Test;
import com.synectiks.process.server.plugin.Message;
import com.synectiks.process.server.plugin.streams.StreamRule;
import com.synectiks.process.server.plugin.streams.StreamRuleType;
import com.synectiks.process.server.streams.match... | 27.809091 | 71 | 0.641223 |
9e67e9403e3b6ec1abc899036246b3fba189ce90 | 10,990 | package br.com.basis.abaco.web.rest;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
im... | 41.007463 | 130 | 0.728207 |
019cf502c483f45987d4cb88914326d991be8b35 | 355 | package io.dropwizard.redis.delay;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.dropwizard.jackson.Discoverable;
import io.lettuce.core.resource.Delay;
import java.util.function.Supplier;
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
public interface DelayFactory extends Discoverabl... | 27.307692 | 60 | 0.8 |
96ec9c4432f0922cb6b5692dabd15095d79e0261 | 3,878 | /*
* 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 ... | 30.062016 | 211 | 0.748582 |
d9c6aaf67aacd3868e6c444621da3b3ef801aa01 | 888 | package bigdata;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.io.WritableComparator;
public class MatrixMultiplicationGroupComparator extends WritableComparator {
public MatrixMultiplicationGroupComparator() {
super(TupleWritable.class,true);
}
//Group a tuple by the... | 32.888889 | 105 | 0.693694 |
d5264ec330d2d4af272c4be2ff29b31dc4d0cf76 | 613 | package com.appl_maint_mngt.common.errors;
import com.appl_maint_mngt.common.errors.interfaces.IErrorPayload;
import com.appl_maint_mngt.common.errors.interfaces.IErrorPayloadBuilder;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Kyle on 16/04/2017.
*/
public class ErrorPayloadBuilder implem... | 26.652174 | 73 | 0.732463 |
4cd94d81fc8577682113730f261612a78fe1e638 | 2,145 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package uk.ac.cam.ceb.como.math.trendline;
import java.util.Arrays;
import org.apache.commons.math.linear.MatrixUtils;
import org.apache.commons.math.stat.regression.OLSMultipleLinearRegression;
import org.xmlcml.euclid... | 40.471698 | 138 | 0.641026 |
df18764b8d7751e5d86dee63dce6c51ad8a384bb | 8,598 | /*
* Copyright 2021 StreamThoughts.
*
* 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, Vers... | 39.260274 | 127 | 0.621424 |
ae7b295a60118ad0198db1b4ee397a2d3478d4f1 | 14,687 | package com.example.potato.couchpotatoes;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
imp... | 45.330247 | 146 | 0.58242 |
c3fb42951968c40d5a368557e6d7c4c9c54af858 | 2,640 | package br.com.salon.carine.lima.dto;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import br.com.salon.carine.lima.enuns.StatusAtendimento;
import br.com.salon.carine.lima.enuns.TipoEndereco;
import br.com.salon.carine.lima.models.Pagamento;
public clas... | 19.270073 | 64 | 0.743939 |
a5de02359649759dabb7e0924670e83570bf0443 | 802 | package com.fo0.lmp.ui.utils;
import org.vaadin.alump.materialicons.MaterialIcons;
import com.vaadin.icons.VaadinIcons;
import com.vaadin.server.FontAwesome;
public class ICON {
public static final FontAwesome SAVE = FontAwesome.SAVE;
public static final FontAwesome CANCEL = FontAwesome.TIMES;
public static final... | 36.454545 | 67 | 0.814214 |
00680a43794c1bae9ec6e70456f4cdf911776463 | 157 | package io.leopard.burrow.lang;
/**
* 参数验证
*
* @author 阿海
*
*/
@Deprecated
class AssertUtil extends io.leopard.boot.util.AssertUtil {
}
| 12.076923 | 59 | 0.617834 |
5a309aa0db84642213613c557c10b2f029fad502 | 4,690 | import java.util.ArrayList;
import java.util.Scanner;
import java.util.Stack;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class Interpreter {
public void start(String filePath) {
Stack<Integer> pile = new Stack<>();
ArrayList<String> vic = new ArrayList<String>();
... | 32.569444 | 73 | 0.439446 |
5e7ab4dcdda1cd544f8ef1afe9e90c16c5de2852 | 3,713 | /*
* Copyright (C) 2006 The Guava 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 agreed ... | 32.570175 | 101 | 0.615944 |
27d70847047d1b7f079b1d6b583886b4872ac999 | 760 | package com.doduck.prototype.cli.dir2server.cmd;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.beust.jcommander.IParameterValidator;
import com.beust.jcommander.ParameterException;
public class EmailValide implements IParameterValidator {
public static final Pattern VALID_EMAIL_ADDRESS... | 28.148148 | 93 | 0.743421 |
fad22ae7405cf12ce0ae2e16cfa64c0add6807d8 | 2,115 | package com.fo0.google.promotion.crawler;
import java.io.UnsupportedEncodingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootAp... | 30.652174 | 107 | 0.737589 |
8e104f530aa417f9fd4d2c4b0230f37f00176e15 | 544 |
package robertefry.penguin.input.mouse.listener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
/**
* @author Robert E Fry
* @date 15 Feb 2019
*/
public class MouseActionAdapter implements MouseActionListener {
@Override
public void onMouseEnter( MouseEvent e ) {
}
@Override
publi... | 16 | 64 | 0.731618 |
bb7667861722bf382a35c3bf9cd78f707cd79612 | 270 | package com.sap.icn.hello.tmp;
import java.lang.instrument.Instrumentation;
/**
* Created by I321761 on 2017/7/31.
*/
public class ObjectSizeSample {
public static void main(String[] args) {
Instrumentation ins;
Object o = new Object();
}
}
| 18 | 44 | 0.662963 |
c2e0da816c1fafe5073d5bf2f3b08a9c2b7a2801 | 503 | package com.luna.fastjson.exception;
import exception.FormativeException;
/**
* @author lunasaw
* 2019/4/10 22:35
*/
public class FastjsonException extends FormativeException {
public FastjsonException() {
super();
}
public FastjsonException(String message) {
super(message);
}
... | 19.346154 | 66 | 0.664016 |
e388263fe85d868e73f12a69161ed2c7ab0dbf6f | 3,318 | /*
* Encog(tm) Core v3.3 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2014 Heaton Research, 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... | 32.529412 | 78 | 0.760398 |
540fa3ba8e685a9b489e4bbc4a90bcf58d78dd49 | 715 | package la.renzhen.remoting;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
@Accessors(chain = true)
public class ChannelEvent<Channel> {
public enum Type {
CONNECT,
CLOSE,
IDLE,
EXCEPTION
}
//@formatter:off
@Getter private final Typ... | 21.666667 | 75 | 0.640559 |
47844d1098eb57416151f2a67da88bbef417175f | 7,197 | package model;
import javafx.collections.ObservableList;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class Search {
public static int eleindex[] = new int[100];
public static int schindex[] = new int[100];
public static int couindex[] = new int[100];
public stat... | 32.863014 | 213 | 0.560928 |
e1c1452d5d87d5df8bbb4297b187dcb48f13f6b9 | 2,549 | /*
* (c) Copyright 2015 Micro Focus or one of its affiliates.
*
* Licensed under the MIT License (the "License"); you may not use this file
* except in compliance with the License.
*
* The only warranties for products and services of Micro Focus and its affiliates
* and licensors ("Micro Focus") are as may be se... | 45.517857 | 138 | 0.766183 |
4eb300210898fb778d7ef87e86120141e1b586a3 | 3,013 | /*
* ControladorServlet.java
*
* Created on 7 de agosto de 2007, 20:31
*/
package controladores;
import java.io.IOException;
import java.util.Date;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax... | 30.13 | 123 | 0.63923 |
8bedd7ccb0e06fd49bd19128c2ab40fcc5abf384 | 23,173 |
package controller;
import Modelos.Cliente;
import Modelos.ClienteValidate;
import Modelos.Conexion;
import Modelos.JSONValid;
import Modelos.Usuario;
import Modelos.UsuarioCasinoValidate;
import Modelos.UsuarioValidate;
import com.google.gson.Gson;
import java.io.IOException;
import java.sql.ResultSet;... | 50.049676 | 256 | 0.660165 |
82b5bd1302cb97df42892d74306c35bc980f26b9 | 1,960 | package pl.itcraft.appstract.core.api.files;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotatio... | 39.2 | 113 | 0.79949 |
886ed99127d848369131e1640c6d8c5dcb1227b9 | 3,009 | package mekanism.common.item.block.machine;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import javax.annotation.Nonnull;
import mekanism.api.NBTConstants;
import mekanism.api.Upgrade;
import mekanism.api.text.EnumColor;
import mekanism.client.render.item.ISTERProvider;
import mekanism.comm... | 47.015625 | 135 | 0.772017 |
b1950c51df148ab87830353dddc2dfa9515f91ad | 3,157 | package com.joshng.util.collect;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.lang.ref.WeakReference;
import java.util.AbstractQueue;
import java.util.Iterator;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkS... | 24.099237 | 111 | 0.669306 |
fc8837d03c6a4b6ae9b3b8c7e7e0be33e5d737d8 | 2,936 | /*******************************************************************************
* ZuseCoin licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* http://www.apa... | 30.583333 | 100 | 0.666553 |
ba0c61ec32123ec55547bb379f7bbfe033430ba0 | 10,722 | /*
* Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.nc2.grid;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
imp... | 38.989091 | 129 | 0.660138 |
9c5041c0af026951c7675c8a36c296eda6b4b33d | 1,276 | package ru.obolensk.afff.beetle2.protocol.stream.packet;
import javax.annotation.Nonnull;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import ru.obolensk.afff.beetle2.protocol.channel.PacketType;
import ru.obolensk.afff.beetle2.protocol.channel.RawPacket;
import ru.obolensk.aff... | 27.73913 | 87 | 0.795455 |
0e711d98787961a999de0128aa7d597eb2f1bed1 | 75,347 | package com.buykop.console.controller;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotati... | 28.529724 | 188 | 0.669768 |
cdf7762dcf8faeadac7406075fc9239a358a0e3c | 3,265 | package de.hpi.des.hdes.engine.operation;
import de.hpi.des.hdes.engine.AData;
import de.hpi.des.hdes.engine.ADataWatermark;
import de.hpi.des.hdes.engine.udf.Aggregator;
import de.hpi.des.hdes.engine.udf.TimestampExtractor;
import de.hpi.des.hdes.engine.window.WatermarkGenerator;
import de.hpi.des.hdes.engine.window.... | 36.685393 | 94 | 0.721286 |
4eb6bb6bde2a88be35f21eec14412cb8a8debdf3 | 1,723 | /**
* Nov 22, 2004
*
* Copyright 2004 uitags
*
* 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 ... | 26.507692 | 80 | 0.686013 |
4c789197ed0660611b62df3fde838bfe9b43ade3 | 16,123 | // mc-dev import
package net.minecraft.world.level.chunk.storage;
import com.google.common.annotations.VisibleForTesting;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
i... | 37.235566 | 155 | 0.578676 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.