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 |
|---|---|---|---|---|---|
74f14205f291b5541c94c1b1efce21fca66ce775 | 1,235 | package org.catrobat.confluence.rest.json;
import javax.xml.bind.annotation.XmlElement;
public class JsonCategory {
@XmlElement
private int categoryID;
@XmlElement
private String categoryName;
public JsonCategory(int categoryID, String categoryName) {
this.categoryID = categoryID;
this.ca... | 22.053571 | 118 | 0.639676 |
8a8827917048e70e650af2e27eefc844f18cbb92 | 199 | package org.beigesoft.ui;
public interface IEventMotion {
public int getX();
public int getY();
public boolean isIntentEdit();
public void consume();
public boolean isConsumed();
}
| 13.266667 | 32 | 0.698492 |
0c8c4ae43fb7cf058aedff0f002809fb70116303 | 13,672 | // Copyright 2020 The Nomulus Authors. 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 required by a... | 47.307958 | 100 | 0.677443 |
0d01b22f7090496bfd70656d419964d01cc1c48e | 1,775 | package com.opsgenie.tools.backup.exporters;
import com.opsgenie.tools.backup.retrieval.EntityRetriever;
import com.opsgenie.tools.backup.util.BackupUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.PrintWriter;
import java.util.List;
abstract class BaseExporter<T> i... | 31.140351 | 111 | 0.661972 |
339c9c89eacf5e91e79e277c9f6e21644e471c11 | 2,579 | package com.jzd.jzshop.ui.home.local_life.location;
import android.content.Context;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.jzd.jzshop.R;
import com.jzd.jzshop.entity.ChoiceCityEntity;
import com.jzd.jzshop.ui.order.orderd... | 39.075758 | 131 | 0.670415 |
ee3c023bc93383df4fd41260ad573f9f8a9e9df3 | 18,897 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU General
* Public License Version 2 only ("GPL") or the Common Development and Distribution
* License("CDDL")... | 45.644928 | 170 | 0.594645 |
ad0c24087802c88857bd7b7cb153ab880114efa8 | 2,861 | /*
* Copyright (c) 2012 - 2020 Arvato Systems 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 required by applicabl... | 51.089286 | 128 | 0.803216 |
dbfb6f8ecd40f72991e567e9edf40b5662ff18ca | 1,297 | /**
* @author Virtusa
*/
package org.bian.service;
import java.util.List;
import org.bian.dto.*;
public interface FraudAmlResolutionApiService {
FraudCaseBaseWithIdAndRoot executePost(FraudCaseBase request);
FraudCaseBaseWithIdAndRoot executePut(String crReferenceId, FraudCaseBase request);
RecordResponse ... | 30.162791 | 99 | 0.837317 |
f17f1c059a5c21c4027d42da0824a4fc41378722 | 16,338 | /*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... | 33.479508 | 106 | 0.64555 |
1e9f666c95a95e197c4c5148889162971d59b2d1 | 2,289 | package se.claremont.taf.core.gui.teststructure;
import java.util.ArrayList;
import java.util.List;
public class TestStepList {
private List<TestStep> testSteps = new ArrayList<>();
private List<TestStepListChangeListener> changeListeners = new ArrayList<>();
public TestStepList(){
}
public voi... | 30.52 | 81 | 0.592398 |
b92962f7713fbc39e720f41ec65f6deb0c855e19 | 2,630 | package mage.deck;
import mage.cards.ExpansionSet;
import mage.cards.Sets;
import mage.cards.decks.Constructed;
/**
* LevelX2
*/
public class Legacy extends Constructed {
public Legacy() {
super("Constructed - Legacy");
for (ExpansionSet set : Sets.getInstance().values()) {
if (set.... | 32.875 | 62 | 0.569962 |
6adb4a95dc950af4624ede5abfab6e7741f3f7bf | 2,422 | package org.solent.devops.chargereconciler.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.Serializable;
public class Bill implements Serializable {
@JsonProperty("entry_c... | 23.980198 | 63 | 0.655244 |
34aa7eff73bd99f5aeffb64a26eec69f55a69e04 | 12,751 | /*******************************************************************************
* 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. 1.0
... | 39.354938 | 146 | 0.666614 |
4f9c7fe184fa01d252181b3aa52f5d49c4fb1c71 | 5,217 | /*
* Tencent is pleased to support the open source community by making Angel available.
*
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a c... | 33.229299 | 100 | 0.618171 |
8c3e0102ad46c43a7622622f4b3f9ec0058c1271 | 371 | /**
* Created by beyka on 5.1.17.
*/
package com.github.aantonello.tiffbitmapfactory;
public enum Orientation {
TOP_LEFT(1),
TOP_RIGHT(2),
BOT_RIGHT(3),
BOT_LEFT(4),
LEFT_TOP(5),
RIGHT_TOP(6),
RIGHT_BOT(7),
LEFT_BOT(8),
UNAVAILABLE(0);
final int ordinal;
Orientation(int ... | 16.130435 | 48 | 0.609164 |
e3625855ffc496e1957504895f350dc97d54e9ee | 65,830 | // Copyright (c) YugaByte, 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 in writ... | 46.920884 | 100 | 0.619019 |
d865c4dd9ae6ab533de0ddcbbe67d132487552d3 | 2,178 | /*
* 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")... | 35.704918 | 134 | 0.735537 |
50186e00f24c666f34901f56429aa0398792b787 | 88 | package eu.ebrains.kg.search.controller.indexing;
public interface InstanceHandler {
}
| 17.6 | 49 | 0.818182 |
d137647b6fadaa4f658a478b7868796859fbbe18 | 1,730 | package thaumcraft.client.renderers.entity.mob;
import net.minecraftforge.fml.relauncher.*;
import thaumcraft.client.renderers.models.entity.*;
import net.minecraft.util.*;
import net.minecraft.client.renderer.entity.*;
import net.minecraft.client.model.*;
import org.lwjgl.opengl.*;
import net.minecraft.entity.*;
@Si... | 36.808511 | 154 | 0.715029 |
24071b512a996f8d6fb22a24dff0e5ee71752cdc | 7,158 | /*
* 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.691892 | 107 | 0.722269 |
ecf24b1f7d0f0511b68f0c8d31d408d42804de5c | 3,975 | package com.example.android.justjava;
import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
/**
* This app displays an order form to order coffe... | 31.299213 | 116 | 0.651321 |
62e10ef7a363684664aa95f6fbe1585980da4665 | 314 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
package com.microsoft.accessibilityinsightsforandroidservice;
import android.content.Context;
public class ATFAScannerFactory {
public static ATFAScanner createATFAScanner(Context context) {
return new ATFAScanner(context);
}
}
| 24.153846 | 64 | 0.796178 |
661179cf0d5916e0463828cd504e35a57e6e4d28 | 455 | package de.altenerding.biber.pinkie.business.notification.control;
import de.altenerding.biber.pinkie.business.notification.entity.Message;
import org.apache.logging.log4j.Logger;
import javax.enterprise.event.Event;
import javax.inject.Inject;
public class NotificationProcessor {
@Inject
private Event<Message> m... | 20.681818 | 72 | 0.815385 |
320a700d24e930b63fc0ec5e95c46580fbb00abe | 2,997 | /*
* XML Type: CT_PhoneticPr
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPhoneticPr
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main;
import org.apache.xmlbean... | 28.273585 | 213 | 0.692693 |
34871267f475c853fea6639658ddba3d1df8fbb9 | 431 | package cn.cerc.sample.config;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.WebApplicationContext;
import cn.cerc.mis.core.StartAppDefault;
@Controller
@Scop... | 26.9375 | 62 | 0.842227 |
7e753a1eb90e941deea15b603753d78e80c794a6 | 839 | package me.aikin.seed.model;
import java.io.Serializable;
import java.sql.Timestamp;
public class User implements Serializable {
private Long id; //TODO: generate auto
private String userName;
private Timestamp createdAt;
public User(Long id, String userName, Timestamp createdAt) {
this.id ... | 19.97619 | 64 | 0.628129 |
c97830814171e7b547790c42221cb6fff9f81d75 | 1,007 | package com.wagner.projecteuler.problem_004;
import com.wagner.shared.util.AlgorithmUtil;
/**
* User: DanielW
* Date: 07.12.2018
* Time: 15:00
*/
public class LargestPalindromeProduct {
/*
* A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is... | 26.5 | 138 | 0.648461 |
0feae695730bf6a476df1a82c367099fd6a28241 | 1,792 | package com.java.test.ThirdInterface.wx;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.java.test.util.httputil.OkHttpUtil;
import org.apache.commons.codec.binary.Base64;
import org.junit.Test;
import org.springframework.stereotype.Service;
import sun.misc.BASE64Decoder;
import j... | 32.581818 | 110 | 0.713728 |
a412736f7138360987bfec7c49ab75636735ec3b | 2,642 | /*
* Testing Class for the analyzeText Function, produces randomly generated strings
*/
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
public class analyz... | 33.443038 | 109 | 0.562074 |
287ea04d2afa1d39765552188164fa3b79f86448 | 3,557 | package com.teethen.xsdk.ninegrid.complex.news;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.teethen.sdk.xwidget.nine... | 33.87619 | 106 | 0.657295 |
8c8bdbbbc82ab9eb6dd7388ffacc9c28514f260c | 3,392 | package org.egov.waterconnection.web.models;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstru... | 26.294574 | 144 | 0.754127 |
11aff3bcce2562b9ef5d289c1e9a66c99da05e95 | 16,123 | /**
* Copyright 2019 Enterprise Proxy 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 ... | 30.080224 | 145 | 0.690876 |
1bf71d928426679fa9b90c85f5feff353cbf4393 | 1,323 | /*
Copyright 2000-2005 University Duisburg-Essen, Working group "Information Systems"
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 ... | 33.075 | 82 | 0.728647 |
b09f4df37afcdc4f44360ae68c484b58de65adb7 | 6,448 | package org.mitre.synthea.modules;
import com.google.gson.Gson;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import org.mitre.synthea.helpers.Utilities;
import o... | 40.810127 | 100 | 0.692928 |
888109322b3f10539a6cf5d9389daf756a8f88fa | 821 | package org.baeldung.lagom.helloworld.weather.api;
import static com.lightbend.lagom.javadsl.api.Service.named;
import static com.lightbend.lagom.javadsl.api.Service.*;
import com.lightbend.lagom.javadsl.api.Descriptor;
import com.lightbend.lagom.javadsl.api.Service;
import com.lightbend.lagom.javadsl.api.ServiceCall... | 29.321429 | 74 | 0.758831 |
7b4ae4a539d81a5f022ada02c3a060adaa9288f7 | 293 | package org.sv.flexobject.hadoop.mapreduce.input;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.InputSplit;
import java.io.IOException;
import java.util.List;
public interface Splitter {
List<InputSplit> split(Configuration conf) throws IOException;
}
| 24.416667 | 66 | 0.808874 |
dd9073d5540f6fddde8f69b26e28142a8b5c5cf6 | 8,967 | package com.lody.virtual.helper;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.ViewCompat;
import android.util.Log;
... | 38.320513 | 132 | 0.490688 |
a099aedd755b50178ff0b2de191f3c31d3643108 | 9,030 | package com.j1adong.progresshud;
import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.IntDef;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
impor... | 29.318182 | 172 | 0.637984 |
43ee5b8674beaf9385aa3fd8cea04106b5142635 | 781 | package com.webank.wedatasphere.linkis.bml.service.impl;
import com.webank.wedatasphere.linkis.bml.service.BmlShareResourceService;
import org.glassfish.jersey.media.multipart.FormDataMultiPart;
import java.io.OutputStream;
import java.util.Map;
public class BmlShareResourceServiceImpl implements BmlShareResourceSer... | 31.24 | 146 | 0.793854 |
4daebdb1c885deff009a85f546fcc186c46d8233 | 736 | package ast;
import libs.Tokenizer;
import ui.Main;
public class PHRASE extends STATEMENT {
String name;
String phrase;
@Override
public void parse(){
Tokenizer tokenizer = Tokenizer.getTokenizer();
//MAKEPHRASE
tokenizer.getAndCheckNext("MAKEPHRASE");
// Phrase Name
... | 23 | 69 | 0.592391 |
8695541aeb1b287fa73397b1dea628debc74c1cd | 8,219 | /*
* The MIT License
*
* Copyright 2015 Camilo Sampedro.
*
* 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,... | 31.611538 | 264 | 0.673075 |
dc71a9159680de9537c1032dfd21e3b264502e63 | 289 | package com.lambkit.common;
public interface LambkitPasswordCracker {
/**
* 加密
* @param password
* @return
*/
String encode(String password, String salt);
/**
* 解密
* @param password
* @return
*/
String decode(String password, String salt);
}
| 13.761905 | 46 | 0.602076 |
63ca871f7a427a59dab82972e294a90c98899377 | 3,572 | /*
* Copyright 2018 Couchbase, 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 ... | 30.271186 | 91 | 0.702128 |
8a152bb585379f1751129bed61e6bbbeb1dffc8b | 3,698 | /*-
* ===========================================================================
* puzzler-github
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Copyright (C) 2019 Kapralov Sergey
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Permission is hereby... | 43.505882 | 104 | 0.53245 |
1e1f555c0ca199f42c48c5339ca98833ffaa0bd7 | 202 | package demoMod.scapegoat.interfaces;
public interface AbstractSecondaryMCard {
boolean isSecondaryMModified();
int getValue();
int getBaseValue();
boolean isSecondaryMUpgraded();
}
| 16.833333 | 41 | 0.742574 |
d003be2e185ecef64d1f327f9ae7a2fc845c8b55 | 1,254 | package net.minecraft.client.renderer.entity;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import java.util.Map;
import net.minecraft.client.model.ChestedHorseModel;
import net.minecraft.client.model.geom.ModelLayerLocation;
import net.minecraft.resources.ResourceLocation;
impo... | 50.16 | 250 | 0.816587 |
8da5ef4d7c4f170e1a7efd8ee1ca5ff16cfe60f8 | 11,787 | /*
* Copyright (c) 2013. Knowledge Media Institute - The Open University
*
* 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... | 36.60559 | 214 | 0.698736 |
ab6287fe4a82c91c37ffff70eb0ba52aa1f2082f | 1,347 | package it.dbruni.commandwhitelist.listeners;
import it.dbruni.commandwhitelist.CommandWhitelist;
import org.apache.commons.lang.StringUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Sound;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.p... | 32.071429 | 115 | 0.703786 |
0b3187368c92775eebfb2936fc95d6a85090830e | 1,268 | //Deobfuscated with https://github.com/SimplyProgrammer/Minecraft-Deobfuscator3000 using mappings "C:\Users\Admin\Desktop\Minecraft-Deobfuscator3000-1.2.2\1.12 stable mappings"!
//Decompiled by Procyon!
package org.spongepowered.asm.mixin.injection.throwables;
import org.spongepowered.asm.mixin.refmap.*;
import org.... | 42.266667 | 177 | 0.752366 |
4fd199c2c505406f75917e3187c9b0c520086d4c | 571 | package com.github.hewking.encryptlib;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class EncryptActivity extends AppCompatActivity {
private TextView tv;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.on... | 27.190476 | 63 | 0.732049 |
4c361ada07c0e5cf761e6df7d6e780eb225decf7 | 513 | package edu.fiuba.algo3.modelo.tipoTarjeta;
public class Globo implements TipoTarjeta {
private final String nombre;
public Globo(){
this.nombre = "Globo";
}
public String obtenerNombre(){return nombre;}
public boolean esGlobo(){
return true;
}
public boolean esCanion(){
... | 20.52 | 49 | 0.619883 |
8e65bc3b021b9ab15fb2cb581b5bb733566763b7 | 3,199 | /*
* 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... | 53.316667 | 144 | 0.791497 |
1a17c96b2b3671904d410af73f600bb5dffcfe17 | 874 | package edu.cmu.ml.proppr.util;
import static org.junit.Assert.*;
import java.util.Collections;
import org.junit.Test;
import edu.cmu.ml.proppr.util.math.MuParamVector;
public class MuParamVectorTest {
private static final double EPS=1e-6;
@Test
public void testMap() {
MuParamVector foo = new MuParamVector()... | 20.809524 | 49 | 0.680778 |
57e1b9a24e7d8a56160456e6268f402a6d4779a5 | 1,704 | package de.ids_mannheim.korap.query.object;
import java.util.LinkedHashMap;
import java.util.Map;
/** Definition of koral:distance in KoralQuery.
*
* @author margaretha
*
*/
public class KoralDistance implements KoralObject {
private final KoralType type = KoralType.DISTANCE;
private String key = "w";
... | 22.72 | 78 | 0.607394 |
4bd347872065c6bf69cd5f397524e47db1bfad1b | 1,400 | /*
* All content copyright Terracotta, Inc., unless otherwise indicated. 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/LI... | 41.176471 | 100 | 0.746429 |
0dc3addcf1c94a8c1fe0bd14994516de133ca0fe | 3,409 | package seedu.address.logic.parser.addcommandparser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.logic.commands.CommandTestUtil.VALID_GENERAL_EVENT_DATE_1;
import static seedu.address.logic.commands.CommandTestUtil.VALID_GENERAL_EVENT_DESCRIPTION_1;
imp... | 48.014085 | 118 | 0.741566 |
65f7d77d86c7c04ec6842e78de64b4c8e4359462 | 194 | package rss_to_telegram.dto_layer;
public class Article {
public String title;
public String link;
public String description;
public String pubDate;
public String author;
}
| 19.4 | 34 | 0.731959 |
99bf650f0bf2a78e48ed289264d50fcb47e3148c | 3,668 |
/*******************************************************************************
* Copyright (c) 2004, 2005 Actuate 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 a... | 24.131579 | 94 | 0.688659 |
135a67a5520beb259e51062bb694dd8bd832e9ba | 914 | package br.com.microservice.fornecedor.controller;
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.RequestMapping;
import org.springframe... | 32.642857 | 73 | 0.828228 |
99f5072eb3c34acb209e661b3657d86d4d87946c | 1,276 | package top.jsjkxyjs.service;
import top.jsjkxyjs.entity.Class;
import top.jsjkxyjs.entity.User;
import java.util.List;
public interface CounselorService {
/**
* 调用此方法获取辅导员对应的班级成员信息
*
* @param classId 班级id
* @return list集合
*/
List<User> doGetClassUser(int classId);
/**
* 调... | 16.571429 | 66 | 0.543103 |
926b4bbc90bd5fa3c139506fd741de4838545a85 | 23,255 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | 45.331384 | 140 | 0.700194 |
295e14faba86a5fd0bf98cee6a8d41a1b2e34d5b | 2,089 | /*
* Testerra
*
* (C) 2020, Peter Lehmann, T-Systems Multimedia Solutions GmbH, Deutsche Telekom AG
*
* Deutsche Telekom AG and all other contributors /
* copyright owners license this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this
* file except in compliance w... | 37.981818 | 97 | 0.7281 |
4fb000abf115d133d44a560dded5fe67a1140765 | 3,750 | package com.quanyan.yhy.ui.wallet.view;
/**
* Created by Administrator on 2016/10/31.
*/
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import ... | 32.051282 | 95 | 0.672267 |
7eeffa8faaf06df72dbe0c84fa1ecb172687b7e4 | 3,005 | package com.jonss.fluid27.actitities;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.Menu... | 30.353535 | 101 | 0.649584 |
39566b1cc0c471f71212f9319e1497d0e3dcac66 | 288 | package at.tuwien.repository.jpa;
import at.tuwien.entities.container.Container;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ContainerRepository extends JpaRepository<Container, Long> {
}
| 26.181818 | 77 | 0.84375 |
467257e9595c804739f186d5826667c81ea430e4 | 1,698 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 30.321429 | 77 | 0.727915 |
0115ce990a97dceb2f8c2b8aa7c8ff96a50b8212 | 3,011 | package com.mexus.homeleisure.api.image;
import com.mexus.homeleisure.common.BaseControllerTest;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.hateoas.MediaTypes;
import org.springframework.mock.web.MockMultipartFile;
import org.springframework.restdocs.mockmvc... | 46.323077 | 124 | 0.697443 |
76f6a8539d79484699cd2df3fc2147cb039a74f2 | 3,195 | package it.polimi.ingsw.model;
/**
* Class that is used to store general player's information
*/
public class Player {
/**
* Player's username
*/
private final String username;
/**
* Player's status
*/
private StatusPlayer status;
/**
* Player's color
... | 22.659574 | 60 | 0.523005 |
25d0d027f2f81c86cf1624bd668035ac88454617 | 18 | package Classes;
| 6 | 16 | 0.777778 |
f2735acdc90a7e52a6ec7cb1798b6b18487760f8 | 3,165 | /*===========================================================================
Copyright (C) 2009 by the Okapi Framework contributors
-----------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in com... | 40.063291 | 80 | 0.71406 |
b07e834b176b8f9328b342ae221bc8c4c18f64d6 | 50,430 | /*
* 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.737288 | 204 | 0.712512 |
f6d9dcf1ee68ac5aaf5747956a2183c2c1d98b84 | 1,588 | /*
* Copyright 2018 EPAM Systems, 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 ... | 41.789474 | 79 | 0.785894 |
8aa44adf8a5497e0bdeddef1e64fdc08db4c2158 | 9,314 | package net.minecraft.gametest.framework;
import com.google.common.base.Stopwatch;
import com.google.common.collect.Lists;
import it.unimi.dsi.fastutil.objects.Object2LongMap;
import it.unimi.dsi.fastutil.objects.Object2LongMap.Entry;
import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap;
import it.unimi.dsi.fas... | 32.340278 | 159 | 0.64344 |
1145fba4000701771ae412620d142357f6a56478 | 2,427 | package com.algorand.algosdk.v2.client.model;
import java.util.Objects;
import com.algorand.algosdk.util.Encoder;
import com.algorand.algosdk.v2.client.common.PathResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* TransactionParams contains the parameters that help a client construct a new
* tra... | 30.3375 | 93 | 0.6815 |
5c0ec7bf320e1f5790a545889bd78e6f99320fdb | 1,083 | package ex1;
import org.jdbi.v3.core.Handle;
import org.jdbi.v3.core.Jdbi;
public class Main {
public static void main(String[] args) {
Jdbi jdbi = Jdbi.create("jdbc:h2:mem:test");
try (Handle handle = jdbi.open()) {
handle.execute("""
CREATE TABLE legoset (
... | 37.344828 | 111 | 0.55494 |
6ba079ad32628373fa331685014c0a7063b71c22 | 4,483 | package com.vaadin.flow.component.treegrid.it;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.IntStream;
import com.vaadin.flow.component.html.Div;
import com.vaadin.flow.component.html.NativeButton;
import com.vaad... | 39.672566 | 100 | 0.625474 |
5f52e104e6c6868758347c4544f58cab35dc63d9 | 3,255 | /*
* Copyright 2012 Jesper Terkelsen.
*
* 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 agree... | 32.55 | 103 | 0.635945 |
529b62e4f3f72a52d0510e8870c46ae07cbbfa46 | 1,690 | /**
* Copyright (c) Istituto Nazionale di Fisica Nucleare, 2014-2021.
*
* 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... | 37.555556 | 97 | 0.801183 |
4af52167c94500cc523e5c74f9688b7c27360c87 | 358 | /**
*
*/
package com.cpt1.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Select;
import com.cpt1.entity.User;
/**
* TODO UserMapper2
* @author suns sontion@yeah.net
* @since 2017年3月16日上午11:42:34
*/
public interface UserMapper2 {
User getUserById(int id);
@Select("select * from ... | 15.565217 | 44 | 0.687151 |
1578907de1041da246da461a59a489766b4478b7 | 341 | package com.mcgrady.xui.linkagerecyclerview.adapter.viewholder;
import android.support.annotation.NonNull;
import android.view.View;
/**
* Created by mcgrady on 2019/5/20.
*/
public class LinkageSecondaryViewHolder extends BaseViewHolder{
public LinkageSecondaryViewHolder(@NonNull View itemView) {
supe... | 22.733333 | 63 | 0.765396 |
7015b2cf865f22c3dafa2fc66b17980ee6ac5721 | 4,636 | /*
* 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 ... | 43.735849 | 87 | 0.709232 |
274cfcf4de95d7c1b50714bc801c6361b2bd4ceb | 58,764 | package com.ibm.safr.we.internal.data.pgdao;
/*
* Copyright Contributors to the GenevaERS Project. SPDX-License-Identifier: Apache-2.0 (c) Copyright IBM Corporation 2008.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 37.524904 | 191 | 0.580764 |
490f87b9ca584c19b9ce560196c03014a4dc6b01 | 76 | /**
*
*/
/**
* @author invtidke
*
*/
package org.dyfaces.debug; | 9.5 | 26 | 0.473684 |
24133af5a6b53da87fc7e9d91e99a7be66c01474 | 595 | package com.webfleet.oauth.controller;
//@Controller
public class ErrorController //implements org.springframework.boot.web.servlet.error.ErrorController
{
// @RequestMapping(KnownUrls.ERROR)
// public String error(HttpServletRequest request)
// {
// Integer statusCode = (Integer) request.getAttribute... | 25.869565 | 100 | 0.668908 |
554c84e0db15b30a5706c1fa54387e10534d89ac | 1,563 | package net.grian.spatium.transform;
import net.grian.spatium.geo3.Triangle3;
import net.grian.spatium.geo3.Vector3;
@FunctionalInterface
public interface Transformation {
/**
* Applies the transformation to a point.
*
* @param point the point
*/
public void transform(Vector3... | 32.5625 | 112 | 0.668586 |
0a2efc3517df20b87b675562313dbc088a2078c5 | 20,970 |
package controlador;
import java.sql.*;
import javax.swing.table.DefaultTableModel;
import conexion_bd.*;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.pdf.PdfPTable;
import com.itextpdf.text.pdf.PdfWriter;
import java.io.FileNotFoundException;
import java.io.F... | 47.123596 | 175 | 0.59547 |
4b5a152f7aae321b470b453293baf4376076472c | 2,823 | /*
# Copyright © 2021 Argela Technologies
#
# 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 ... | 20.605839 | 74 | 0.630889 |
0bb132abddc1940d861798dc6b13ce289b2fa3a6 | 489 | package com.keimons.deepjson.test.verification;
import com.keimons.deepjson.test.AssertUtil;
import org.junit.jupiter.api.Test;
/**
* 栈深验证
*
* @author houyn[monkey@keimons.com]
* @version 1.0
* @since 1.7
**/
public class ThreadStackSizeTest {
@Test
public void test() {
try {
test();
} catch (Error er... | 20.375 | 81 | 0.695297 |
2a6095fd4891ed825927d8e6ed47dc89f2516f60 | 1,705 | package org.openxava.web.editors;
import static org.openxava.jpa.XPersistence.*;
import java.util.*;
import javax.persistence.*;
/**
* An implementation of {@link IFilePersistor} <p>
*
* @author Jeromy Altuna
*/
public class JPAFilePersistor implements IFilePersistor {
/**
* @see org.openxava.web.editors.... | 24.014085 | 76 | 0.687977 |
3c9cc285f1155fa89f793d07a6c5ac3ee1261b2b | 371 | package es.ftoribio.dam;
import es.ftoribio.dam.models.Biblioteca;
import es.ftoribio.dam.utils.Menu;
public class Main {
public static void main(String[] args){
Biblioteca biblioteca = Biblioteca.getInstance();
int option;
do {
option= Menu.optionMenu();
bibliotec... | 21.823529 | 57 | 0.625337 |
7da4ef798ef7b2c961f82e4d2bdc2e411a1d7ee5 | 672 | package org.cyclops.integrateddynamics.capability.networkelementprovider;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import org.cyclops.integrateddynamics.api.network.INetworkElement;
import org.cyclops.integrateddynamics.api.network.INetworkElementProvider;
import java.util.Collection... | 32 | 94 | 0.813988 |
e3e90735a8c3c04ac0cfafb501e0ddb8a3adc046 | 1,851 | /*******************************************************************************
* Copyright 2014 Rafael Garcia Moreno.
*
* 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://w... | 31.913793 | 94 | 0.686116 |
53f1ca32422208b6efc16cf369f9e76bc3e45f77 | 175 | package test;
import java.util.List;
public class UnusedImport111113 {
public static void main() {
System.out.println(List[].class.getName());
}
}
| 14.583333 | 51 | 0.628571 |
d91425a3beab0f4d83c22ead3f343ab6b70a1e85 | 495 | package com.giraone.samples.pmspoc1.boundary.dto;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;
import com.giraone.samples.pmspoc1.entity.CostCenter;
@Mapper
public interface CostCenterMapper
{
CostCenterMapper INSTANCE = Mappers.getMapper(CostCenterMapper.cl... | 30.9375 | 82 | 0.826263 |
ebfdfb6d58e3226b898418f0a94c00f95fd1e9e1 | 5,121 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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... | 40.322835 | 132 | 0.658465 |
79d6889ab452fde2da98edc803fac3c002a7ddae | 1,541 | package Samples;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.Servo;
/**
* Created by Black Tigers on 29/12/2017.
*/
@TeleOp(name="servoTest", group="")
@... | 24.078125 | 59 | 0.532771 |
cfe12349587d2cfc5686a826c4640849429f4526 | 208 | package edu.uml.studentname.stocktrader;
/**
* Client code for the StockService application.
*/
public class StockTraderApp {
public static void main(String[] args) {
// write your code here
}
}
| 17.333333 | 48 | 0.701923 |
c3d749d7ad96b0f42475dba61ed3a3574c795646 | 1,935 | package de.fxworld.basel.ui;
import java.util.List;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.vaadin.spring.annotation.SpringView;
import com.vaadin.ui.Grid;
import de.fxworld.basel.api... | 28.043478 | 94 | 0.73385 |
15f79847c99a3cb9bad492ff92d0dde10982bac2 | 1,790 | /*
* Copyright 2019 WeBank
* 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, ... | 23.866667 | 76 | 0.69162 |
1fdc9b94a3846dcfb36ca31c2d50d3d282c90ae8 | 2,987 | /*
* Copyright 2017 David Karnok
*
* 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... | 29.574257 | 75 | 0.531637 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.