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 |
|---|---|---|---|---|---|
6f8462a8b7bd53d8a14abf56fb1b118c402da7c5 | 4,795 | /*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | 34.746377 | 124 | 0.709906 |
b844ce8119d462acec36a33a33e94c388927bb39 | 593 | package com.rjliulei.quanzi.service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import cn.bmob.push.PushConstants;
/**
*
*/
public class MyPushMessageReceiver extends BroadcastReceiver {
@Override
public void onReceiv... | 23.72 | 105 | 0.726813 |
9b353ed72a71cbe9455ec7a57ca08f7c44bf4e0e | 2,041 | package com.devonfw.ide.sonarqube.common.impl.check.naming;
import org.junit.Test;
import org.sonar.java.checks.verifier.JavaCheckVerifier;
/**
* Test of {@link DevonNamingConventionClassExtendsClassSearchCriteriaToCheck}
*/
public class DevonNamingConventionClassExtendsClassSearchCriteriaCheckTest {
/**
* Te... | 30.924242 | 102 | 0.78148 |
c7bedb30583ad5fa5934c2bcbf9e14da9cb22017 | 94 | package com.ppdai.das.console.common.validates.group.db;
public interface DeleteDataBase {
}
| 18.8 | 56 | 0.808511 |
4c2f14168389a088063eb73b8922a8ff714b21a3 | 303 | package com.library.search;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class DBSeachControllerBean {
@Bean
public IDBSearchController getDBSeachControllerInstance() {
return new DBSearchController();
}
}
| 23.307692 | 60 | 0.828383 |
5b7e89416a047fd68ba80273d51f433b3b0f1e26 | 1,378 | package kr.syeyoung.textcodedscratch.parser.tokens.terminal.operators;
import kr.syeyoung.textcodedscratch.parser.tokens.nonterminal.expression.VariableExpression;
import kr.syeyoung.textcodedscratch.parser.tokens.nonterminal.function.FunctionParameter;
import kr.syeyoung.textcodedscratch.parser.tokens.terminal.consta... | 32.046512 | 202 | 0.714078 |
aa0e88da00246ae5015c18ff69174b8f730b3e53 | 25,291 | package tanks;
import tanks.bullet.Bullet;
import tanks.gui.screen.ScreenGame;
import tanks.obstacle.Obstacle;
public class Effect extends Movable implements IDrawableWithGlow
{
public enum EffectType {fire, smokeTrail, trail, ray, mineExplosion, laser, piece, obstaclePiece, obstaclePiece3d, charge, tread, darkFi... | 38.031579 | 273 | 0.53438 |
a523653cdcc42c64642577c847658e007507bec1 | 1,376 | /*
* Copyright (c) 2003-2012 Fred Hutchinson Cancer Research Center
*
* 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... | 18.849315 | 75 | 0.721657 |
8e96d82461fdfbb0e4245e4753776f34dc875273 | 11,370 | /*
* Copyright © 2020. TIBCO Software Inc.
* This file is subject to the license terms contained
* in the license file that is distributed with this file.
*/
package com.tibco.be.redis;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.jupiter.api.Assertion... | 30.159151 | 117 | 0.736148 |
e14e27956cc0f89e0ae25c050a1f09ca103b7566 | 651 | package io.virtdata.libbasics.shared.from_string.to_unset;
import io.virtdata.annotations.Categories;
import io.virtdata.annotations.Category;
import io.virtdata.annotations.ThreadSafeMapper;
import io.virtdata.api.VALUE;
import java.util.function.Function;
/**
* Yields UNSET.value if the input value is null or emp... | 25.038462 | 68 | 0.718894 |
b0b3c066355f5c4d2213225a244379f39e8ed6bc | 242 | // (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
package org.pytorch;
public class LiteModuleLoader {
public static Module load(final String modelPath) {
return new Module(new LiteNativePeer(modelPath));
}
}
| 22 | 71 | 0.747934 |
139ee7546722fb11ecc3faa8e5b5d868ae3eb90a | 2,278 | package rocks.inspectit.shared.all.instrumentation.config.impl;
/**
* Descriptor that is used in special sensors to denote if the return value and/or argument value
* should be replaced if the special sensor returns result.
*
* @author Ivan Senic
*
*/
public class SubstitutionDescriptor {
/**
* If return val... | 23.484536 | 101 | 0.708077 |
a8b800f38b58f4a0a82b76d19ecd6e5a0a478eae | 499 | package org.keycloak.adapters.jbossweb;
import org.apache.catalina.Container;
import org.apache.catalina.Valve;
import org.keycloak.adapters.AdapterDeploymentContext;
import org.keycloak.adapters.tomcat.AbstractAuthenticatedActionsValve;
public class AuthenticatedActionsValve extends AbstractAuthenticatedActionsValve... | 35.642857 | 115 | 0.835671 |
41b840c1c610e6d9efa1900eb5cf298e7099aeff | 1,789 | package gov.cdc.usds.simplereport.service.dataloader;
import gov.cdc.usds.simplereport.db.model.PatientLink;
import gov.cdc.usds.simplereport.db.repository.PatientLinkRepository;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import java.util.stream.C... | 33.12963 | 95 | 0.619899 |
11dfafc68d6185b95306c239fe08b28c8114c066 | 8,168 | package com.example.greg3d.cureintakedispatcher.helpers;
import android.os.Environment;
import android.util.Log;
import com.example.greg3d.cureintakedispatcher.constants.Settings;
import com.example.greg3d.cureintakedispatcher.framework.annotations.Name;
import com.example.greg3d.cureintakedispatcher.model.BaseModel;... | 35.824561 | 105 | 0.578722 |
3fce4c332079b8676c2307774572c94337cb19c6 | 2,243 | package io.aebrn.commands;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author aebrn
* 12/12/2020
*/
public abstract class Command {
private final String[] aliases;
private String syntax;
private Argument[] arguments = new Argument[]{};
public Command(String..... | 29.12987 | 86 | 0.600535 |
bacbd2b6efe76d707a2c995cdcba391566a0271b | 3,249 | /*******************************************************************************
* Copyright (c) 2015, 2018 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | 45.760563 | 120 | 0.663589 |
880be3ef6527ccd2bd00ef701d351c85aebb7ca1 | 1,031 | package drmeepster.appraisal.manager.block;
import java.util.List;
import drmeepster.appraisal.context.BlockAppraisalContext;
import drmeepster.appraisal.context.FluidAppraisalContext;
import drmeepster.appraisal.quack.AppraisalFluid;
import drmeepster.appraisal.quack.block.AppraisalFluidBlock;
import net.min... | 29.457143 | 102 | 0.750727 |
8b00e5aea003dc43a3a686a28c3158721a671320 | 7,971 | /*
* Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose
*
* 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... | 29.966165 | 141 | 0.717225 |
e5a4718a79316bfcab84bbd033a667cb2ca58b68 | 680 | package com.web.properties;
public class BrowserProperties {
private String signUpUrl = "/imooc-signUp.html";
private String loginPage = SecurityConstants.DEFAULT_LOGIN_PAGE_URL;
private LoginResponseType loginType = LoginResponseType.JSON;
public String getSignUpUrl() {
return signUpUrl;
}
public void se... | 19.428571 | 69 | 0.763235 |
7f9bb0bc90dc1d0180740052aeda03cec4deffb3 | 11,534 | /*
* 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 ... | 38.704698 | 135 | 0.69941 |
5606b197bd8ecf80dc460bbda9ab9a94d1bb96e8 | 1,594 | package com.musingscafe.commons.object;
import java.util.Optional;
import java.util.function.Supplier;
public class Obj {
private Obj() {}
public static boolean valueOf(Boolean object) {
return object != null && object;
}
public static int valueOf(Integer integer) {
if (integer == nu... | 22.450704 | 76 | 0.569009 |
82316a8c6eab3403af975324ec5a7575e5777f41 | 1,821 | //
// Decompiled by Procyon v0.5.36
//
package edu.emory.mathcs.backport.java.util.concurrent;
import java.util.Iterator;
import edu.emory.mathcs.backport.java.util.Deque;
public interface BlockingDeque extends BlockingQueue, Deque
{
void addFirst(final Object p0);
void addLast(final Object p0);
... | 26.014286 | 102 | 0.695222 |
f23c64aaeb1c1e4410419ad90ab45113976ad2a6 | 1,270 | package com.leboro.util.http;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
public class HttpRequestResponse {
private final int responseStatusCode;
private final String responseBody;
public HttpRequestResponse(int responseStatusCode, St... | 24.901961 | 77 | 0.620472 |
fce31755169e178e37ed860152db4b7ffa8e08e2 | 265 | package com.viaoa.web;
import com.viaoa.web.swing.JToolBar;
import com.viaoa.web.swing.*;
public class OAScroller implements ComponentInterface, LayoutInterface {
public OAScroller(JToolBar toolBar) {
// TODO Auto-generated constructor stub
}
}
| 20.384615 | 72 | 0.743396 |
656ff91d3ad8b96312a402860a448804f3c4d196 | 4,573 | /*
*
* Copyright 2008 Flosslab s.r.l. (http://www.flosslab.it) All rights reserved.
*
* This file is part of e-prot 1.1 software.
* e-prot 1.1 is a free software;
* you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; version 2... | 38.754237 | 145 | 0.727969 |
c78e9557f9a97a788a3b5cef9670026eeae740b4 | 1,980 | /*
Copyright 2012, 2019 Jonathan West
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... | 21.290323 | 90 | 0.600505 |
7036602a74ce0af1908396fe370aaee5414aaa36 | 1,307 | package com.example.androidthings.aurai;
import edu.berkeley.idd.utils.SerialMidi;
/**
* Demo of the SerialMidi class
* Created by bjoern on 9/12/17.
*/
public class MidiTestApp extends SimplePicoPro {
SerialMidi serialMidi;
int channel = 0;
int velocity = 127; //0..127
int timbre_value = 0;
f... | 27.229167 | 82 | 0.667942 |
613938ab608b4004d2e71cf26fe9146ad116caa9 | 2,832 | package org.intermine.objectstore.query;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | 31.120879 | 103 | 0.600989 |
1c75e67faa64f7e3f4b1d168ac94c3c6fb8f9333 | 711 | package com.dji.sample.map.model.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* @author sean
* @version 0.2
* @date 2021/11/29
*/
@AllArgsConstructor
@NoArgsConst... | 18.230769 | 53 | 0.731364 |
2c290733cc7611d48fc06795f38fc1bfe42e02f2 | 796 | package com.fc.materialbomb;
import android.app.Application;
import android.os.Handler;
/**
* class description here
*
* @author fucong
* @version 1.0.0
* @see ""
*/
public class FCApplication extends Application {
private static FCApplication mFCApplication;
private Handler mHandler;
public stat... | 16.244898 | 72 | 0.640704 |
491d4c1ac3988bad7b1d876aef6ed1c787700da8 | 8,397 | /* file: NeuralNetPredicDenseBatch.java */
/*******************************************************************************
* Copyright 2014-2018 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, ... | 49.686391 | 110 | 0.720257 |
d5b669d9506f06fc3844249270c9c8e587357a6d | 228 | package com.mikkaeru.bankaccount.domain.exception;
public class DuplicatedDataException extends DomainException {
public DuplicatedDataException(Error invalidDuplicatedData) {
super(invalidDuplicatedData);
}
}
| 25.333333 | 65 | 0.79386 |
e04efa9e133f68ba5d43d0222f3d14613cd331e9 | 946 | /*L
* Copyright Northwestern University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.io/psc/LICENSE.txt for details.
*/
package edu.northwestern.bioinformatics.studycalendar.service.delta;
import edu.northwestern.bioinformatics.studycalendar.domain.delta.PropertyChange;
... | 32.62069 | 102 | 0.774841 |
126873a36febf7653972bfd90d7079d00c053e97 | 5,887 | package de.koelle.christian.trickytripper.dataaccess.suite.exchange;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
imp... | 38.986755 | 105 | 0.712077 |
cbfc58a5e9fa9fed88ceb63903770367b55d9de1 | 558,132 | /*
*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... | 40.153381 | 520 | 0.761515 |
e4ddb3e58498688dfb8fb1076c0a0e981a9663d1 | 695 | package org.twelveolympians.zeus.basic.rest;
import org.twelveolympians.zeus.common.core.entity.vo.Result;
import org.twelveolympians.zeus.basic.config.RabbitMQConfig;
import org.twelveolympians.zeus.basic.message.MessageSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... | 33.095238 | 77 | 0.784173 |
6103ccfb4b6b03ccd89b2088d3f4e64fc3a6ec52 | 716 | package com.hccake.ballcat.system.converter;
import com.hccake.ballcat.system.model.dto.SysRoleUpdateDTO;
import com.hccake.ballcat.system.model.entity.SysRole;
import com.hccake.ballcat.system.model.vo.SysRolePageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
* 系统角色POJO转换器
*
* @author ... | 20.457143 | 71 | 0.74581 |
0a33106817fdacd424a326a4674356309922e9a1 | 1,515 | package com.app.library.utils;
import javafx.scene.control.Alert;
import javafx.scene.control.Spinner;
import javafx.scene.control.SpinnerValueFactory;
import javafx.util.StringConverter;
import org.springframework.stereotype.Component;
import java.util.Objects;
@Component
public class ViewUtils {
public void s... | 32.234043 | 97 | 0.677228 |
f46afee823a35bf10bedf3efc2a0dd7492217252 | 2,180 | package org.metahut.octopus.server.service.impl;
import org.metahut.octopus.api.dto.UserConditionsRequestDTO;
import org.metahut.octopus.api.dto.UserResponseDTO;
import org.metahut.octopus.dao.entity.User;
import org.metahut.octopus.dao.entity.User_;
import org.metahut.octopus.dao.repository.UserRepository;
import org... | 40.37037 | 116 | 0.738073 |
ca2924e478eacf800a14c5ea659fb5104b1f48f0 | 2,525 | /*
* Copyright 2008-2010 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 requi... | 29.022989 | 101 | 0.723168 |
c3c5526b5ea1c310edf1d57677f1ed8c00980859 | 1,519 | package sunrise.raas.sdk.core.dependencyinjection;
import sunrise.raas.sdk.core.application.ApplicationFactory;
import sunrise.raas.sdk.core.application.ExecutorApplicationFactory;
import sunrise.raas.sdk.core.authentication.AuthenticationDetailsFactory;
import sunrise.raas.sdk.core.authentication.AuthenticationDetail... | 50.633333 | 172 | 0.803818 |
c0abefa16d26eeff9b29651616000333741ec56d | 5,451 | package test.postgresql;
/*
* Date: 11-5-20
*/
import gudusoft.gsqlparser.EDbVendor;
import gudusoft.gsqlparser.EExpressionType;
import gudusoft.gsqlparser.TCustomLexer;
import gudusoft.gsqlparser.TGSqlParser;
import gudusoft.gsqlparser.nodes.TConstant;
import gudusoft.gsqlparser.nodes.TExpression;
import... | 44.317073 | 122 | 0.656944 |
2070fc61234b867dfd43f8069c83a7f30016cb0c | 9,777 | /*
* Copyright 2020. Huawei Technologies Co., Ltd. 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
*
... | 36.755639 | 137 | 0.638233 |
3a8af5386655ebba37fc4154bb7d896750e0bcd7 | 1,185 | package org.craft.spoonge.util;
import com.flowpowered.math.vector.*;
import org.craft.maths.*;
import org.spongepowered.api.util.*;
public class SpoongeEulerDirection implements EulerDirection
{
private static final long serialVersionUID = -5929666419226928759L;
private float roll;
private... | 20.789474 | 141 | 0.61097 |
1c907fa1e6a402423637045594b24d213969114a | 487 | package javassist.compiler.ast;
import javassist.compiler.*;
public class AssignExpr extends Expr
{
private AssignExpr(final int a1, final ASTree a2, final ASTList a3) {
super(a1, a2, a3);
}
public static AssignExpr makeAssign(final int a1, final ASTree a2, final ASTree a3) {
return n... | 24.35 | 89 | 0.665298 |
c1b1adf5e383c263fac074d51e19d69442717715 | 2,009 | package me.liuli.ez4h.utils;
import javax.net.ssl.HttpsURLConnection;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.net.URL;
import java.util.Base64;
public class OtherUtil {
public static boolean isNull(Object object) {
return object == null;
}
public static String base64En... | 32.403226 | 171 | 0.629169 |
22cdb3d3cc4ce12c903486adeba38a6fc5aa1fc8 | 8,128 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.01... | 33.44856 | 124 | 0.608391 |
82643c354261fd5191a003b49c461aefc2a0604d | 5,743 | /*
* Copyright 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 24.75431 | 88 | 0.608393 |
2249d136dbd4875b6ddf4942166b5b561863e13e | 3,086 | /**
* 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... | 36.738095 | 105 | 0.637719 |
f9ae174c06a5b9383b0d65835e53b0dbd6933a87 | 4,144 | import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/*
* ****************************
* Filename: ClientMain.java
* Student Name: Jinke He
* University ID: 201219022
* Departmental ID: x6jh
* ****************************
*/
/**
* This class contains a mai... | 29.6 | 112 | 0.600627 |
c3422a0464b865c30b8ad060c6b18fb0db561758 | 3,073 | package com.exasol.rls.administration.scripts;
import static com.exasol.adapter.dialects.rls.RowLevelSecurityDialectConstants.EXA_RLS_USERS_TABLE_NAME;
import static com.exasol.adapter.dialects.rls.RowLevelSecurityDialectConstants.EXA_ROLES_MAPPING_TABLE_NAME;
import static com.exasol.rls.administration.scripts.BitFie... | 45.865672 | 122 | 0.645623 |
371a613f1dee16636b47201a19aa1bb76f40248a | 96 | package com.puzzle15.puzzles.functions;
public interface IsWinState {
boolean isWin();
}
| 12 | 39 | 0.739583 |
d2ec52cc3dab363406b18a864a84728ed4fc3b6f | 4,266 | package de.cronn.jira.sync.config;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import de.cronn.jira.sync.domain... | 30.690647 | 125 | 0.816925 |
abd1e3ce6a04d5937e12472d4b3eec9638bfa17e | 2,386 | package packed.internal.hooks.usesite;
import java.lang.annotation.Annotation;
import app.packed.base.Nullable;
import app.packed.hooks.BeanField;
import app.packed.hooks.BeanMethod;
import packed.internal.bundle.ExtensionModel;
import packed.internal.hooks.FieldHookModel;
import packed.internal.hooks.MethodHookBoots... | 36.707692 | 113 | 0.672255 |
651ccc8811764a1ec173e9a8430a12870541c0f2 | 2,696 | package org.se.lab.service;
import java.util.Date;
import org.easymock.EasyMockRunner;
import org.easymock.Mock;
import org.easymock.TestSubject;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.se.lab.db.dao.PostDAO;
import org.se.lab.db.data.Community;
import org.se.lab.db... | 23.042735 | 91 | 0.737018 |
fcd475afccaebb902641810d599ca5d6f1e60a16 | 178 | package examples.inheritance;
public class Cat extends Animal{
public Cat(){
super();
}
public Cat(int legs, int size){
super(legs, size);
}
}
| 13.692308 | 35 | 0.578652 |
09ff3b4baab1fe5433f44f8f49f8e7025623097f | 4,670 | package com.example.administrator.amf_gear;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.res.Resources;
import android.os.AsyncTask;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOE... | 33.597122 | 110 | 0.590792 |
7d2fdfe6b9694a8adba80382013aebd8f75863c2 | 4,420 | /**
*
* Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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 L... | 34.263566 | 119 | 0.654525 |
f2353c9c0bb195d4fd41641f20d9ef13c0034211 | 293 | package com.company.svobuggageclaim.screen.airline;
import io.jmix.ui.screen.*;
import com.company.svobuggageclaim.entity.Airline;
@UiController("Airline.edit")
@UiDescriptor("airline-edit.xml")
@EditedEntityContainer("airlineDc")
public class AirlineEdit extends StandardEditor<Airline> {
} | 29.3 | 58 | 0.812287 |
c241fd75f84ee96ca2d94b27cb1e01e27e3c1ca1 | 7,299 | /***********************************************************
* This software is part of the ProM package * http://www.processmining.org/ * *
* Copyright (c) 2003-2006 TU/e Eindhoven * and is licensed under the * Common
* Public License, Version 1.0 * by Eindhoven University of Technology *
* Department of Informati... | 42.436047 | 167 | 0.766269 |
0e9926e53fbd02fb89dcd7d7af5401d0ccc143fd | 418 | package hope.it.works.pulse;
import hope.it.works.ct.MyIntList;
public class Pulse {
public Pulse(int length) {
vals = new double[length];
scalars = new double[length];
maxTime = new int[length];
sigMaxTime = new int[length];
}
public float x,y;
public double [] vals;
public double [] scalars;
publi... | 19.904762 | 34 | 0.703349 |
a64874110c607a718b7786fcc444ac64660fd70a | 164 | public class Superari
{
public static void main(String[] args) {
System.out.println("It's SUPERARI15!");
for(int i=0;i<5;i++)
System.out.println("*");
}
}
| 18.222222 | 41 | 0.640244 |
386843076cfde78bf8e0aed46eef4a7752dc320f | 220 | package com.yonyou.etl.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonyou.etl.entity.FiVtHead;
/**
* @author yhao
*/
public interface IFiVtHeadService extends IService<FiVtHead> {
}
| 20 | 62 | 0.790909 |
baff42f5690b6a628da4b329110cef9c230371fe | 9,162 | package com.blackirwin.datamodel;
import com.blackirwin.annotations.ParseByTestArray;
import com.blackirwin.annotations.ParseByTestString;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.CodeBlock;
import java.util.List;
import javax.lang.model.element.Element;
import javax.lang.model.type.Decla... | 50.340659 | 126 | 0.584916 |
811ffd66279a0a1e81889a558dc1fbd07c972299 | 36,919 | package tracks;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Ran... | 40.839602 | 120 | 0.535199 |
9647e35d2bd0d32da1127bb01a71f40f21d0ec18 | 3,234 | package com.hybridweb.core.controller.gateway;
import com.hybridweb.core.controller.Utils;
import com.hybridweb.core.controller.website.model.ComponentConfig;
import com.hybridweb.core.controller.website.model.ComponentSpec;
import com.hybridweb.core.controller.website.model.WebsiteConfig;
import io.fabric8.kubernetes... | 38.5 | 118 | 0.686456 |
5dcf1ef1a43d2a400cb03a72891f4ad54c4d48c1 | 5,194 | /*
* Copyright 2008, Unitils.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 or agreed to in writing, ... | 34.85906 | 159 | 0.717944 |
0607d0763036b1433e74a03718d06668fefea05c | 3,297 | /**
* Copyright (C) 2012 Google 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... | 36.230769 | 92 | 0.721262 |
7a30fc0a427c022e652826f737faf5b475ba233c | 12,960 | /**
* 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... | 34.285714 | 80 | 0.645216 |
18a8c4e72aa146ddb8f6eee6cc6745b005cad510 | 751 | package com.github.akshatdev0.swapi.starwars.starship;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.List;
import org.immutables.value.Value;
@Value.Immutable
@JsonSerialize(as = ImmutableStarship.class)
@JsonDeserial... | 16.688889 | 65 | 0.743009 |
9769ea31d2031982f04356232fc79042be77eab8 | 8,380 | package com.automationpractice.steps;
import org.openqa.selenium.WebDriver;
import cucumber.api.java.Before;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import cucumber.api.java.en.And;
import com.automationpractice.tasks.Writer;
import com.automationpract... | 48.72093 | 119 | 0.804535 |
5785a4a923b7bc547faa96273d0b42594456f1cb | 517 | package com.lhy.netlibrary;
import java.util.Map;
/**
* Created by lhy on 2017/2/28
*/
public interface BaseNet {
void getRequest(String url, Map<String, Object> params, IRequestListener listener);
void postRequest(String url, Map<String, Object> params, IRequestListener listener);
void downloadFileW... | 28.722222 | 108 | 0.769826 |
b0c262b6548b7f34e1cf22f6928f6b772d240bdd | 2,884 | /** Generated by english-annotation-buster, Powered by Google Translate.**/
/*
* Copyright 2002-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
*
*... | 21.848485 | 77 | 0.696255 |
f499bd749a7c14c30803440a69d383e13e980754 | 299 | package com.anop.resource;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import javax.validation.constraints.NotNull;
/**
* 通知自动待办事项更新参数
*
* @author Xue_Feng
*/
@Data
public class AutoTodoResource {
@NotNull
@Range(min = 0, max = 1)
private byte isAuto;
}
| 15.736842 | 49 | 0.715719 |
53897b17f76de76c6e6050a2e1bdb20ba20f918c | 2,152 | /*******************************************************************************
* Copyright 2019 Fabrizio Pastore, Leonardo Mariani
*
* 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 L... | 33.107692 | 98 | 0.679833 |
82c9712875f618675e5382cd5ae9fd33b9ccef24 | 3,366 | /*
* 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 ... | 35.431579 | 120 | 0.699049 |
93288d6ac83952e55e65c24fb79e09bec95a1c67 | 5,794 | package fi.riista.feature.gamediary.observation;
import fi.riista.feature.account.user.SystemUser;
import fi.riista.feature.harvestpermit.HarvestPermitLockedByDateService;
import fi.riista.feature.huntingclub.group.HuntingClubGroup;
import fi.riista.feature.huntingclub.hunting.ClubHuntingStatusService;
import fi.riist... | 44.914729 | 116 | 0.692268 |
d4dd21dd8988d207070b800e5d1431d63ec50496 | 5,843 | package com.digital.harrier.common.helper;
import okhttp3.*;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
... | 36.981013 | 134 | 0.655485 |
bd08c4b467f94383cccb1cf9c15ba1dc604b83d9 | 1,198 | /**
* Copyright (C) 2008 Google 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... | 28.52381 | 82 | 0.751252 |
0b6ec1d6c3e1f2f2f0c52111c64cad6f3be0f6a7 | 522 | module vproxy {
requires jdk.unsupported;
requires jdk.crypto.ec;
requires jdk.crypto.cryptoki;
// export the processor and related types
// then the user can write and use their own processors
exports vproxy.processor;
exports vproxy.util;
uses vproxy.processor.ProcessorRegistry;
... | 24.857143 | 59 | 0.703065 |
5ba00e3b4ac2432ac11e07ec93a41394f396dfd5 | 1,258 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.12 at 09:... | 23.296296 | 110 | 0.624006 |
3709616c1b5eeded26e1e3dec30343f8aef944c5 | 3,281 | package lib;
import java.util.ArrayList;
import java.util.List;
public class Poll implements PollSink {
private static final int INFINITE = Integer.MAX_VALUE;
private long startTime;
private final List<PollSinkCb> loopSinks;
private final List<PollSinkCb> msgSinks;
private final List<PollPeriodicS... | 29.035398 | 128 | 0.577568 |
1c3adad388c722c551b6e840c8dbcb6f4b871ef3 | 4,969 | /*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distrib... | 31.251572 | 145 | 0.691286 |
66caf9e5e39e99a687e585d9c8b0e6eb0ba05233 | 2,813 | package com.planet_ink.coffee_mud.CharClasses;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import ... | 48.5 | 88 | 0.761109 |
4a33080a53bd8c604c9d47f09416749661ea9526 | 5,291 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 60.816092 | 126 | 0.786619 |
96a299177a99dd8ad5dbcfea7970df5cadc83a10 | 243 | package com.xtransformers.designpattern.chain.three;
/**
* @author daniel
* @date 2021-07-18
*/
public class HandlerB extends Handler {
@Override
protected void doHandle() {
System.out.println("HandlerB.doHandle");
}
}
| 18.692308 | 52 | 0.674897 |
8a7c6c85dd3183ed797f0635bec98e4d7b7f3ad9 | 2,341 | package org.tool.c.services.crypto;
import org.tool.c.utils.FileUtils;
import org.tool.c.utils.constants.Constants;
import javax.crypto.spec.SecretKeySpec;
import java.io.*;
import java.security.SecureRandom;
import java.util.ResourceBundle;
/**
* Symmetric Key.
*/
public class SymmetricKey {
/**
* Secre... | 26.602273 | 110 | 0.652285 |
859c88838aa2a19170e0fb75650c3cf27cc46b72 | 2,309 | /**
* Copyright © 2006-2016 Web Cohesion (info@webcohesion.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... | 32.985714 | 180 | 0.722391 |
ea4ba49d41ac8320794110cf4f38c7d70e6d80a1 | 2,344 |
package info.freelibrary.jiiify.util;
import static org.junit.Assert.assertEquals;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import org.junit.Test;
import info.freelibrary.jiiify.Constants;
import info.freelibrary.util.Logger;
import info.freelibrary.util.LoggerFacto... | 37.806452 | 114 | 0.747867 |
b889cfe689917e446f00079ab214459ca8a7184b | 5,196 | package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* CRDirectDebitArrangementExecuteOutputModel
*/
public class ... | 35.834483 | 260 | 0.806005 |
e77abae2dc7a56679563f7933575c80d185cd0c9 | 9,946 | package me.guillaumin.android.osmtracker.service.gps;
import me.guillaumin.android.osmtracker.OSMTracker;
import me.guillaumin.android.osmtracker.R;
import me.guillaumin.android.osmtracker.activity.TrackLogger;
import me.guillaumin.android.osmtracker.db.DataHelper;
import me.guillaumin.android.osmtracker.db.TrackConte... | 28.498567 | 151 | 0.729338 |
b2701adef643b1d6f5b50b6a73f717f5a11358b7 | 11,518 | /*
*Copyright 2014 DDPush
*Author: AndyKwok(in English) GuoZhengzhu(in Chinese)
*Email: ddpush@126.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/LICEN... | 28.723192 | 187 | 0.529866 |
a25574df88290f27ba68a76cb0d53b7f0814f3ab | 1,019 | package io.uouo.wechatbot.service.impl;
import io.uouo.wechatbot.entity.Event;
import io.uouo.wechatbot.mapper.EventMapper;
import io.uouo.wechatbot.service.IEventService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
pub... | 22.644444 | 62 | 0.696762 |
c216e2d7c020f231f3680cd6e12e03e0932963da | 8,690 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.hl7.fhir.definitions.ecore.fhir;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Annotations</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are su... | 35.614754 | 140 | 0.636594 |
4ad56ced29ede2a24e289f76f793b50767a00b9c | 645 | package com.alibaba.testable.core.exception;
import java.lang.reflect.InvocationTargetException;
/**
* @author flin
*/
public class MemberAccessException extends RuntimeException {
public MemberAccessException(String message) {
super(message);
}
public MemberAccessException(String message, Thr... | 23.888889 | 75 | 0.686822 |
532a0f5eddeb830954ea64f880b2fa57f26e062b | 383 | package expressions;
import java.util.Map;
public class And extends AbstractBinaryExpression implements Expression {
public And(Expression left, Expression right) {
super(left, right, "And", "&");
}
@Override
public Expression fillVariables(Map<String, Expression> map) {
return new A... | 23.9375 | 74 | 0.697128 |
9bacb550fe7734c6002537ec6bbd1744a616b955 | 4,599 | package com.zdd.myutil.view.weather;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import com.zdd.myuti... | 30.058824 | 126 | 0.61796 |
6312bf307a1f7e46cf7d76c09933a932fc159902 | 155 | package controller;
public class SearchborrowinfoController {
public void getinfo(long id, String name)
{
}
public void returninfo()
{
}
}
| 10.333333 | 43 | 0.690323 |
231aa6db5697404acc42978cddcaee382d88fe9c | 30,398 | import java.applet.*;
import java.awt.*;
public class CommissionsAppBeta extends Applet {
final int number_of_brokers = 33;
final int THRESHOLD = 32000;
TextField price_obj;
TextField shares_obj;
TextField[] values;
Label[] brokers;
Label[] phones;
Checkbox is_stock;
Checkbox is_option;
Checkbox... | 26.250432 | 90 | 0.430522 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.