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 |
|---|---|---|---|---|---|
3d90c0ecec30e4333d21a9c5444c9c3ef07a920d | 1,375 | package com.robot.carey.zenboserver;
import android.util.Log;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.ServerSocket;
import java.net.SocketException;
import java.util.Enumeration;
public class GetIpAddress {
public static String IP;
public static int PORT;
public st... | 31.976744 | 116 | 0.577455 |
7a4968be6cf4d29308ba9929cb610a9173da6fc2 | 883 | package com.etc.RentMarket.service;
import java.util.List;
import com.etc.RentMarket.entity.Usersdetail;
/**
* 地址管理服务层接口
* @author 陈伟杰
*
*/
public interface AddressService {
/**
* 查询用户的地址信息
* @param userName
* @return
*/
List<Usersdetail> queryUserAddr(String userName);
/**
* 添加地... | 19.195652 | 95 | 0.660249 |
aff4cb7961df3d2928ac1e4347995c89436d3170 | 949 | package perobobbot.twitch.eventsub.api.event;
import com.google.common.collect.ImmutableList;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import lombok.ToString;
import lombok.Value;
import perobobbot.twitch.api.UserInfo;
import java.time.Instant;
@Value
@EqualsAndHashCode(callSuper = true)
@ToString(cal... | 37.96 | 264 | 0.773446 |
615d51a1a0ee854d979022ea6be0b238827efe1d | 820 | package qub;
public interface TakeWhileIteratorTests
{
static void test(TestRunner runner)
{
runner.testGroup(TakeWhileIterator.class, () ->
{
IteratorTests.test(runner, (Integer count, Boolean started) ->
{
final int additionalValues = 5;
... | 26.451613 | 111 | 0.478049 |
c4ac067e0ea62303c7b57e6564a2d274a37a9baf | 877 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dtatransferobjects;
/**
*
* @author Jakir Hossain Riaz
*/
import java.util.Date;
import org.springframework.f... | 22.487179 | 80 | 0.660205 |
edbc4a7f57d139d8b52c79388523fe82c048ebd8 | 1,174 | package com.smartgwt.mobile.client.widgets.events;
import com.smartgwt.mobile.SGWTInternal;
import com.smartgwt.mobile.client.internal.events.AbstractCancellableEvent;
public class ShowContextMenuEvent extends AbstractCancellableEvent<ShowContextMenuHandler> {
private static Type<ShowContextMenuHandler> TYPE = n... | 29.35 | 92 | 0.684838 |
0100e58af79d463e4a701486cc966dbee87d2e5f | 3,302 | /*
* Copyright (c) 2022, Harald Kuhr
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of condition... | 32.058252 | 81 | 0.683525 |
a678fb21d4dad6204ddc966503508ec78dfcd9b3 | 880 | package com.popupmc.areaspawnlite.config;
import com.popupmc.areaspawnlite.AreaSpawnLite;
import org.bukkit.Material;
import java.util.ArrayList;
import java.util.List;
public class BlockList {
public BlockList(List<String> materialStrs, AreaSpawnLite plugin) {
this.plugin = plugin;
... | 29.333333 | 103 | 0.6125 |
fa72eb534284e0ad3ef3aafc850d813dd4ae6a9f | 1,376 | package net.machina.collections.lists;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
public class ListsMain {
public static void main(String[] args) {
List<String> lista = new LinkedList<>();
lista.add("Wiesiek");
lista.add("... | 29.276596 | 90 | 0.569041 |
3c74daea9b014f85d38299515eaead722920e97c | 1,669 | package edu.upenn.eCommerceCrawler;
public class TreeTraversal {
public List<Integer> postorderTraversal(TreeNode root) {
LinkedList<Integer> result = new LinkedList<>();
Deque<TreeNode> stack = new ArrayDeque<>();
TreeNode p = root;
while(!stack.isEmpty() || p != null) {
if(p != null) {
... | 30.345455 | 72 | 0.519473 |
b050c9d0aae01947d291ddce0aa05f7f4f76d8cf | 9,359 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ComprasOnLine.servlets;
import java.io.IOException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.ut... | 43.733645 | 145 | 0.640026 |
61f2487a23f6366e82afd2f52c9c1d21ee61ad19 | 2,931 | package com.sparta.jm.controller;
import com.sparta.jm.model.BugsBunny;
import com.sparta.jm.model.ElmerFudd;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class GeneratingPopulation {
private List<BugsBunny> rabbit = new ArrayList<>();
private List<ElmerFudd> ... | 41.871429 | 163 | 0.560901 |
40ac0fba9c7d4f6cacb893f253be80470a0d54b4 | 1,411 | package cli.home;
import cli.hospital.HospitalHomepage;
import java.sql.SQLException;
import java.util.Scanner;
/**
* Fill in
*
* @author Ratantej
* @version 2.0
* @since 1.0
*/
public class ViewProgramDetails {
public ViewProgramDetails() throws SQLException {
System.out.println();
Syste... | 31.355556 | 115 | 0.593196 |
e14462e67be630cc82f33a3d7ddf5b04f92f521d | 1,130 | package com.spring5.core.aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.a... | 23.061224 | 72 | 0.725664 |
617f7b5a47e772ab27781a4a0f5394d8ea3491b7 | 24,384 | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.geotools.plumbing;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Coll... | 37.68779 | 100 | 0.639149 |
678e7ad271e8d355a54134c46a35824e4ea64ddd | 132 | class Example
{
public static void main(String args[])
{
System.out.print("args");
}
} | 18.857143 | 47 | 0.454545 |
93e83a21b3302a728cfe6d4440fe69d8ae0f505b | 17,350 | /*
* Copyright (c) 2015,robinjim(robinjim@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/LICENSE-2.0
*
* Unless required by applicabl... | 45.064935 | 221 | 0.604092 |
b3e313d971d657142a4c23df0c1718a4ae5198fb | 1,172 | package com.agonyengine.config;
import com.agonyengine.model.map.Direction;
import com.agonyengine.model.command.impl.MoveCommand;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.inject... | 29.3 | 73 | 0.748294 |
f3cbcdf230f3786336e7776c765db14048f13322 | 379 | package org.tona.codechallenge.controllers.exceptions;
import lombok.Getter;
import lombok.Setter;
public class DuplicatedMovieException extends Exception {
private static final long serialVersionUID = 1L;
public @Getter @Setter String title;
public DuplicatedMovieException() {
this("");
}
public Duplicat... | 22.294118 | 57 | 0.773087 |
e8e23edd43a1ba4fdb132fc5790b22e8a21b4879 | 3,038 | package jstat.maths.errorfunctions;
import jstat.base.CommonConstants;
import jstat.maths.functions.IVectorRealFunction;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.factory.Nd4j;
/**
* LogisticSSEVectorFunction implements
* J = \sum
*/
public class LogisticSSEFunction implements ILossFuncti... | 29.211538 | 103 | 0.578341 |
8f573e5b206af6ef953899219c5fc6cb83a8875b | 1,540 | /*
* Copyright 2021 kings1990(darkings1990@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 38.5 | 131 | 0.775325 |
4c018250e21d450ce696347efb2360086655b6dc | 61,770 | package com.stripe.model;
import com.google.gson.annotations.SerializedName;
import com.stripe.Stripe;
import com.stripe.exception.StripeException;
import com.stripe.model.radar.Rule;
import com.stripe.net.ApiResource;
import com.stripe.net.RequestOptions;
import com.stripe.param.ChargeCaptureParams;
import com.stripe... | 34.469866 | 100 | 0.68475 |
3e6590e54cc4652e3602ba0b6eaba0ad7166487f | 6,501 | package leeon.mobile.BBSBrowser;
import leeon.mobile.BBSBrowser.models.MailObject;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
... | 33.510309 | 105 | 0.725427 |
cd0118092f750f6428ed36788742b7a897a15a06 | 1,288 |
package com.laegler.openbanking.soap.service;
import javax.xml.ws.WebFault;
/**
* Too Many Requests
*
* This class was generated by Apache CXF 3.3.3
* 2019-10-21T07:01:27.456+13:00
* Generated source version: 3.3.3
*/
@WebFault(name = "DELETE_DeleteacallbackURI_429", targetNamespace = "http://laegler.com/ope... | 28 | 129 | 0.732143 |
d151a360dec436d0b4ce8549ad63d04c9a0648b7 | 759 | package main.java.JSONTypes;
import java.util.ArrayList;
import main.java.JSONElementVisitor;
public class JSONArray implements JSONElement {
private ArrayList<JSONElement> items;
public JSONArray() {
this.items = new ArrayList<JSONElement>();
}
public JSONArray(ArrayList<JSONElement> item... | 21.685714 | 87 | 0.664032 |
e055e1db97792e9cf427afd5e86bdfbbc957d82b | 236 | package com.jenkins.android.model;
import java.util.List;
/**
* @author RAE
* @date 2021/12/31
* Copyright (c) https://github.com/raedev All rights reserved.
*/
public class JobChangeSet {
public List<JobChangeItem> items;
}
| 16.857143 | 63 | 0.70339 |
b4c0cd933457d8e070677da34d2f49480dc3a894 | 276 | package com.opentravelsoft.service.operator;
import java.util.List;
import com.opentravelsoft.entity.product.FileItem;
public interface PriceUploadService {
List<FileItem> roGetFileList(int teamId);
int txSaveFile(FileItem fileItem);
int txDelFile(int fileId);
}
| 17.25 | 50 | 0.789855 |
da69b6ab154050c94bed91bc939bfafc48a44a41 | 29,718 | /*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 2000, 2016. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... | 33.278835 | 139 | 0.513393 |
4313bb4058e20d2b7d64437d62dc6fae0f111819 | 2,024 | package com.linda.framework.rpc.aio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.AsynchronousChannelGroup;
import java.nio.channels.AsynchronousServerSocketChannel;
import java.nio.channels.AsynchronousSocketChannel;
im... | 34.305085 | 80 | 0.722826 |
bb55374e4a7204ab8b10183c969fd5d7d6abb627 | 338 | /**
* Represents an arithmetic expression
*/
public interface Node {
/**
* @return value that results from evaluating the expression
*/
public double evaluate();
/**
* @return expression in postfix notation
*/
public String toPostfixString();
/**
* @return expression in infix notation
*/
public St... | 17.789474 | 61 | 0.683432 |
ebf3a75455dbbf52157f601aba8a3323a21c3395 | 397 | package hse.project.mongo.repository;
import hse.project.entities.mongo.MongoCustomer;
import hse.project.entities.mongo.MongoTariffCustomer;
import hse.project.entities.prototypes.Customer;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface VMCustomerRepositoryInterface extends Mong... | 36.090909 | 95 | 0.853904 |
83b39a810f62a93594efe192db503445dca6041e | 12,968 | package seedu.address.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ACAD_LEVEL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ACAD_STREAM;
import static seedu.... | 60.316279 | 118 | 0.741209 |
8045c6b19743fb622827606b48a0f3acc4f81912 | 1,431 | package io.github.zeroone3010.geogpxparser.tabular;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotSame;
public class TableRowTest {
static final TableRow hr1 = new TableRow(true);
static final TableRow r1 = new TableRow(false);
static final T... | 28.058824 | 69 | 0.640811 |
25a6b7d543508ecc35ad963715d9452ec467ab08 | 875 | package info.itsthesky.disky3.core.skript.properties.guild;
import info.itsthesky.disky3.api.skript.properties.MultipleGuildProperty;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.NewsChannel;
import net.dv8tion.jda.api.entities.StageChannel;
import org.jetbrains.annotations.NotNull;
... | 29.166667 | 77 | 0.688 |
7ddb0beee718883eaab82dcfa2095c1520b7678f | 8,935 | package com.bnd.core.reflection;
import static org.junit.Assert.*;
import com.bnd.core.reflection.ReflectionProvider;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import com.bnd.core.domain.um.User;
/**
* @author © Peter Banda
* @since 2012
*/
public class ReflectionProviderTest {
privat... | 35.59761 | 93 | 0.776609 |
b839f7698c2e5aa15d8075d2fe04e3fadf30d403 | 1,059 | package com.arematics.minecraft.core.proxy;
import com.arematics.minecraft.core.Boots;
import com.arematics.minecraft.core.CoreBoot;
import com.arematics.minecraft.core.server.entities.player.CorePlayer;
import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
public class MessagingUt... | 36.517241 | 109 | 0.731822 |
205a6e16c955bdff18d0692e5ba31cd6e3720c77 | 4,800 | import javax.swing.JOptionPane;
class exercicio02 {
public static void main(String[] args) {
Teste teste = new Teste();
int opcao = 0;
String aux = "";
while (opcao != 9) {
opcao = Integer.parseInt(JOptionPane.showInputDialog ("\n1 - Adicionar elemento na Fila \n2 - Adicionar elemento na Pilha \n3 - Rem... | 34.532374 | 189 | 0.422083 |
80f5f91a918e6aef95f66f365b8142589aa8aa4f | 8,603 | package org.zstack.core.gc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.zstack.core.Platform;
import org.zstack.core.cloudbus.ResourceDestinationMaker;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.core.... | 38.578475 | 184 | 0.613739 |
7f889252ac42b35f2f12aa9acd0126df3b8df505 | 7,417 | package uk.gov.hmcts.reform.pcqbackend.controllers;
import lombok.extern.slf4j.Slf4j;
import net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner;
import net.thucydides.core.annotations.WithTag;
import net.thucydides.core.annotations.WithTags;
import org.junit.Rule;
import org.junit.Test;
import or... | 41.668539 | 117 | 0.703384 |
12c8e3b8771e2ae8f2f475220336239762e52ab5 | 211 | package com.darwinsys.soundrec;
import org.junit.Test;
public class DummyTestToPlacateMaven {
@Test
public void test() {
System.out.println(
"Dummy test to placate M2E 'Maven->Update Project'");
}
}
| 15.071429 | 56 | 0.720379 |
f864bc63d7c6315860e1b3423cbcc15c048c5640 | 15,379 | /*
* 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 ... | 35.111872 | 123 | 0.659406 |
df28b9677e025a858e25db8d04e4bc11623a0d7c | 6,952 | package com.ramusthastudio.myalarmmanager;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.DatePicker;
import andro... | 41.879518 | 118 | 0.753884 |
31dc0ca27c778c15c2816d7860f6ea745495b43a | 613 | package com.huifer.design.singleton;
import java.io.Serializable;
/**
* <p>Title : SerializableSign </p>
* <p>Description : 序列化与反序列化的单例模式</p>
*
* @author huifer
* @date 2019-05-16
*/
public class SerializableSign implements Serializable {
public final static SerializableSign Instance = new SerializableSign... | 18.029412 | 75 | 0.681892 |
db620903852be1abc728aad8613772dfb4bdba83 | 1,731 | /*
* @copyright defined in LICENSE.txt
*/
package hera.api.transaction;
import static org.slf4j.LoggerFactory.getLogger;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.SimpleModule;
import hera.annotation.ApiAudience;
import hera.annotation.ApiStability;
import her... | 29.338983 | 77 | 0.740612 |
ff5d3442182036d9c1bad4f8de6b00bdd4688bb9 | 159 | package com.ruoyi.javamail.entity;
import lombok.Data;
@Data
public class OnlinePdfEntity {
private String remark;//提示语
private String info;//内容
}
| 13.25 | 34 | 0.72956 |
5154fcdfa3a9c7cca650a1294d7571c958496999 | 242 | package org.firstinspires.ftc.teamcode;
/**
* 用于机器人的传送带运输
*
* @author wfrfred
* @version 1.0
* @Time 2021-07-06 19:06
*/
public interface TransportModule {
void startTransporting(boolean isForward);
void stopTransporting();
}
| 16.133333 | 46 | 0.702479 |
7b43205e5f38fd2dd0c3b984ce4066d6c35c5db2 | 2,468 | package org.fugerit.java.core.util.result;
import java.io.Serializable;
import java.util.HashMap;
import java.util.logging.Level;
import org.fugerit.java.core.log.BasicLogObject;
public class VirtualPageCache<T> extends BasicLogObject implements Serializable {
/**
*
*/
private static final long... | 24.68 | 82 | 0.675851 |
aa94640daad7954872c75c785f3e349b9d8b49d9 | 940 | package io.github.maseev.alpaca.util;
import io.github.maseev.alpaca.http.exception.APIException;
import io.github.maseev.alpaca.http.transformer.Transformer;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
import java.util.function.Function;
import org.asynchttpclient.L... | 31.333333 | 85 | 0.698936 |
4f7bd18aad6bf1736a361c9dc08a0545dfdc2e44 | 4,306 | package frc.robot.controllers;
import frc.robot.RobotContainer;
import frc.robot.subsystems.Drive;
public class InterpolatedPS4Gamepad extends PS4Gamepad {
static double deadZoneThreshold;
static double fullThrottleThreshold;
static RampComponent rComponent;
public InterpolatedPS4Gamepad(int port) ... | 55.922078 | 227 | 0.687413 |
ac10d288123721a7e353d1bf51b6b25297064241 | 1,044 | package WayofTime.bloodmagic.client;
import net.minecraft.client.renderer.ItemMeshDefinition;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import javax.annotation.Nullable;
import java.util.List;
/**
* Provides a custom... | 24.857143 | 77 | 0.694444 |
3f040ebcc77b947017d4ae3071ca13786fbb6b0a | 2,085 | package sword.collections;
abstract class AbstractImmutableIntTransformable extends AbstractIntTraversable implements ImmutableIntTransformable {
abstract ImmutableIntTransformableBuilder newIntBuilder();
abstract <U> ImmutableTransformableBuilder<U> newBuilder();
@Override
public ImmutableIntTransfo... | 28.561644 | 118 | 0.609592 |
5e2688ea3fce504a66dd5e0479fed90b9cff2af6 | 1,219 | package org.animeaholic.millipede.test;
import java.util.ArrayList;
import java.util.List;
import org.animeaholic.millipede.entity.CrawlResTask;
import org.animeaholic.millipede.entity.CrawlTask;
import org.animeaholic.millipede.entity.base.AbsBaseTask;
import org.animeaholic.millipede.processor.AbsCrawlResProcessor;... | 31.25641 | 82 | 0.757998 |
6efd8a43b38a51729dd232d70a67de3a9c77156f | 884 | package org.thingsboard.server.dao.rule;
import org.thingsboard.server.common.data.id.EntityId;
import org.thingsboard.server.common.data.id.RuleNodeId;
import org.thingsboard.server.common.data.id.TenantId;
import org.thingsboard.server.common.data.page.PageData;
import org.thingsboard.server.common.data.page.PageLin... | 40.181818 | 107 | 0.829186 |
113e6b90921beb3ce2266b8363194fca8fa8b942 | 729 | package com.fionapet.business.service;
import com.fionapet.business.entity.WarehouseOutrecordDetail;
import org.dubbo.x.repository.DaoBase;
import org.dubbo.x.service.CURDServiceBase;
import com.fionapet.business.repository.WarehouseOutrecordDetailDao;
import org.springframework.beans.factory.annotation.Autowired;
/*... | 33.136364 | 143 | 0.816187 |
28e91162faa1346f47a18b1b8d7fe59545a0ed56 | 429 | package tbdb4java.integration.factories;
import tbdb4java.integration.DAOGenres;
import tbdb4java.integration.factories.imp.DAOGenresFactoryImp;
public abstract class DAOGenresFactory {
private static DAOGenresFactory instance;
public static DAOGenresFactory getInstance(){
if(instance == null)
instance = new ... | 23.833333 | 63 | 0.806527 |
867e6eae6c95057470fa18c03fce12c3ae41abbd | 2,433 | package de.hsmainz.cs.semgis.arqextension.geometry.relation;
import org.apache.jena.sparql.expr.NodeValue;
import org.apache.jena.sparql.function.FunctionBase3;
import org.apache.sis.coverage.grid.GridCoverage;
import org.locationtech.jts.geom.Geometry;
import org.locationtech.jts.operation.distance3d.Distance3D... | 52.891304 | 170 | 0.780107 |
639ff25286054a2eddb81f5ec68cb6fdb7446d9d | 235 | package com.its.scc.Activities.Internal.CreateAbsensi.presenter;
public interface IInternalCreateAbsensiPresenter {
void onSubmit(String id_internal, String judul_absensi, String tgl_absensi, String jam_mulai, String jam_selesai);
}
| 39.166667 | 115 | 0.846809 |
71614f6e3fb5401c34ad05418e4d3051591a66b0 | 4,183 | package org.anddev.andengine.opengl.texture;
import android.graphics.Bitmap;
import java.util.ArrayList;
import org.anddev.andengine.opengl.texture.builder.ITextureBuilder;
import org.anddev.andengine.opengl.texture.builder.ITextureBuilder.TextureSourcePackingException;
import org.anddev.andengine.opengl.texture... | 31.689394 | 150 | 0.722209 |
d6caf6b5b7740af68bc1e13d18103821e42df785 | 717 | package com.asaon.html;
import com.asaon.html.dsl.Document;
import java.util.List;
import java.util.function.Function;
import java.util.function.UnaryOperator;
public interface HtmlInterpreter<T> {
void onTagStart(String name, List<Attribute> attrs, boolean empty);
void onContent(String content);
void onTagEnd(St... | 21.727273 | 68 | 0.718271 |
2532fb8ad4469890bfdb8ddac49d48891dd6632b | 397 | package redstone.multimeter.block;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import redstone.multimeter.interfaces.mixin.IBlock;
public interface Meterable extends IBlock {
@Override
default boolean isMeterableRSMM() {
return true;
}
p... | 20.894737 | 74 | 0.793451 |
b4aebf0f519762111fd8b2465716c916f6399974 | 20,436 | /*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... | 45.923596 | 203 | 0.649589 |
d6693cb5552eff052cdee65abcc9e0f310a54a94 | 620 | package frc.robot.commands.autos;
import edu.wpi.first.wpilibj2.command.InstantCommand;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import frc.robot.subsystems.*;
import frc.robot.RobotConstants.AutoConstants;
import frc.robot.utils.pathplanner.AutoFromPathPlanner;
public class BasicAuto extends Se... | 34.444444 | 116 | 0.795161 |
bf1951ff944999b506d78e1921029b3bf9213ecd | 2,767 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.cirdles.squidParametersManager.parameterModels.referenceMaterials;
import com.thoughtworks.xstream.XStream;
import java.io... | 31.804598 | 95 | 0.699313 |
92a2087bd7c232503551c3bd30c03b19b5fb3fc4 | 2,818 | package com.stitch.converter;
import java.io.File;
import com.stitch.converter.model.StitchImage;
import com.stitch.converter.view.OverviewController;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.im... | 30.967033 | 128 | 0.719659 |
7c31ff477f393533e35ea31b00d3613539ad8d24 | 3,697 | package com.codemotionapps.reactnativehelpscout;
import android.app.Application;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bri... | 27.589552 | 101 | 0.747633 |
b629ba9617100999aed8add0fd0985cdba4b6d0a | 1,017 | import cells.*;
import notes.Note;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
public class ATM {
private BigInteger balance = BigInteger.valueOf(0);
private static final List<Cell> cells;
static {
cells = new ArrayList<>();
cells.add(new CellOne());
... | 26.076923 | 66 | 0.558505 |
b0043490ca1ca74fb9dd58f6aab4040b61b4b608 | 2,509 | package uk.gov.ons.ctp.response.casesvc.client;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.godaddy.logging.Logger;
import com.godaddy.logging.LoggerFactory;
import java.io.IOException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation... | 39.203125 | 95 | 0.774811 |
ee56deb606fe9ca35225fb29e3480cc8ad35fe4e | 1,255 | import java.time.LocalDate;
import java.util.Objects;
public class BankStatement {
private LocalDate date;
private double amount;
private String description;
public BankStatement(LocalDate date, double amount, String description) {
this.date = date;
this.amount = amount;
this.... | 24.134615 | 77 | 0.56494 |
61fae0b616dbc25919e71669de97cb8216656c04 | 1,704 | /*
* Copyright 2008-2021 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 32.769231 | 145 | 0.734155 |
cf467f6b6be76c53dde93a312d61e12abd530653 | 4,222 | package bootstrap.casterio.com.myapplication.service;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
/**
* An {@link IntentService} subclass for handling asynchronous task requests in
* a service on a separate handler thread.
* <p>
* TODO:... | 38.036036 | 107 | 0.633823 |
39f308df89ebc792681e1e197d8c091f62f8fe9e | 244 | package academy.springboot.domain;
import lombok.*;
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
public class TemplateClass {
private String name;
private String middleName;
private String lastName;
}
| 16.266667 | 34 | 0.782787 |
c85145eb4dc5086085ec7069796d253390ec2497 | 7,553 | /*
* Copyright (c) 2017, ZoltanTheHun
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditio... | 40.390374 | 116 | 0.62121 |
191a798c759a6af39f018dd7c6e97dfd6637bd5a | 2,238 | package com.cf.carpark.api.swagger;
import com.cf.carpark.domain.CfCarPark;
import com.cf.carpark.request.CfCarParkForm;
import com.cf.framework.domain.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.... | 57.384615 | 176 | 0.626899 |
c1105d1e1ca176766aaf7bde562503ba772f49dc | 1,493 | package com.ditamex.model;
// Generated 30-nov-2015 23:14:44 by Hibernate Tools 4.3.1
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Category generated by hbm2java
*/
public class Category implements java.io.Serializable {
private Byte categoryId;
private String name;
... | 21.637681 | 85 | 0.647019 |
825eda87c141aeb5de067bd5320c1ca4169702fc | 2,499 | /**
* Copyright 2014 Tampere University of Technology, Pori Department
*
* 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 ... | 25.762887 | 210 | 0.707483 |
6931e12142c6307da11a99d553c7e0c329c13880 | 1,400 | /*
* Decompiled with CFR 0.150.
*
* Could not load the following classes:
* android.content.DialogInterface$OnClickListener
* androidx.appcompat.app.AlertDialog$Builder
* net.runelite.mapping.Implements
*/
package com.jagex.mobilesdk.payments;
import android.content.DialogInterface;
import androidx.appcompa... | 37.837838 | 300 | 0.781429 |
7791acf9eb768f240f8c3bd6cc4bce7633b908a2 | 3,866 | package ibis.deploy.gui.editor;
import ibis.deploy.gui.misc.Utils;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.io.File;
import javax.swing.JButton;
impo... | 27.614286 | 79 | 0.61821 |
d233d80de6fe94d67d5edeb962a5dc9c1dbfa1eb | 1,841 | package nz.rafikn.movierates.services.impl;
import nz.rafikn.movierates.model.Movie;
import nz.rafikn.movierates.model.RawSearch;
import nz.rafikn.movierates.model.SearchResponse;
import nz.rafikn.movierates.model.SearchResult;
import nz.rafikn.movierates.services.VimeoAPIService;
import java.util.*;
/**
* Created ... | 25.929577 | 85 | 0.637697 |
6d982019ad1d68bcd6d18e03ff41d2c9f8b62249 | 1,888 | /*
* Copyright 2014 Ahmed El-mawaziny.
*
* 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 ag... | 28.606061 | 81 | 0.699682 |
1d825de77fa26909a682ebc1cd83524271a12c0a | 645 | package cursedflames.lib;
public class Potions {
// private static Map<String, Potion> potions = new HashMap<>();
//
// public static void init() {
// for (ResourceLocation potionLoc : Potion.REGISTRY.getKeys()) {
// System.out.println(potionLoc.toString());
// Potion potion = Potion.getPotionFromResourceLocation... | 30.714286 | 80 | 0.67907 |
b439aa421be4f10bf6fe209377af2decbdb7573b | 1,907 | //
// LogColors.java
//
// Lunar Unity Mobile Console
// https://github.com/SpaceMadness/lunar-unity-console
//
// Copyright 2019 Alex Lementuev, SpaceMadness.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obta... | 33.45614 | 91 | 0.70215 |
d813e7a2d449f8fdc71cd675648750a38085567f | 4,176 | package net.thevpc.nuts.toolbox.njob;
import net.thevpc.nuts.*;
import net.thevpc.nuts.toolbox.njob.model.Id;
import net.thevpc.nuts.toolbox.njob.model.NJob;
import net.thevpc.nuts.toolbox.njob.model.NProject;
import net.thevpc.nuts.toolbox.njob.model.NTask;
import java.lang.reflect.Field;
import java.util.UUID;
impo... | 32.372093 | 106 | 0.580939 |
2f848d89a8ec8b137e3c8250589cc4fe0318434c | 26,503 | package com.luulsolutions.luulpos.web.rest;
import com.luulsolutions.luulpos.LuulposApp;
import com.luulsolutions.luulpos.domain.ShopChange;
import com.luulsolutions.luulpos.domain.Shop;
import com.luulsolutions.luulpos.domain.Profile;
import com.luulsolutions.luulpos.repository.ShopChangeRepository;
import com.luuls... | 42.540931 | 127 | 0.720824 |
887282bfdcbe5c78cdb428c8720a0586304b530b | 803 | package io.cucumber.config.builders;
import io.cucumber.config.MapBuilder;
import io.cucumber.config.FieldSetterContract;
import java.io.StringReader;
public class JsonTest extends FieldSetterContract {
@Override
protected MapBuilder makeMapBuilder() {
StringReader jsonReader = new StringReader("" +
... | 29.740741 | 68 | 0.4533 |
d7f6f05e609cb942f4b72ce5699a8cbe1d8014cd | 6,372 | /*
* 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
* d... | 36.411429 | 125 | 0.665254 |
71611481171b114bcf8d24ef4c657c6a532942a8 | 424 | package com.redhat.ceylon.compiler.typechecker.analyzer;
import com.redhat.ceylon.compiler.typechecker.tree.Node;
/**
* Represents situations that the typechecker accepts,
* because they are in principle well-typed, but that
* the backends don't yet support.
*/
public class UnsupportedError extends AnalysisError... | 24.941176 | 57 | 0.759434 |
6e5314b321bffa25fbf7996ba6b666f43e001a77 | 2,222 | package com.igitras.codegen.common.next;
import com.igitras.codegen.common.next.annotations.NonNls;
import com.igitras.codegen.common.next.annotations.NotNull;
import com.igitras.codegen.common.next.annotations.Nullable;
/**
* Represents a Java annotation.
* <p>
* Created by mason on 1/5/15.
*/
public interface C... | 28.126582 | 138 | 0.659316 |
30b7a5005f0a253757561a40be344a97ab60d92c | 5,563 | // 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
// distribute... | 29.590426 | 99 | 0.712206 |
bf6cff5e43471c6221a6b61b07cfbc647f0a61c9 | 5,502 | /*
* Copyright 2020 Centre for Computational Geography.
*
* 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... | 32.946108 | 97 | 0.597056 |
fab1c972f5800c32f9048fb7967fb91fe8fe8c0c | 4,093 | /*
* Copyright 2006-2010 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain ... | 29.65942 | 104 | 0.524065 |
37aaeb49fd5db7456a6c9093749cd259211aa2a5 | 2,764 | /**
* <copyright>
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*... | 30.711111 | 110 | 0.643994 |
99be362c349d75b5dc0013e66f222cba576ecc5a | 8,282 | package duke.ui.window;
import duke.DukeCore;
import duke.command.Executor;
import duke.command.Parser;
import duke.data.Impression;
import duke.data.Investigation;
import duke.data.Medicine;
import duke.data.Observation;
import duke.data.Patient;
import duke.data.Plan;
import duke.data.Result;
import duke.data.Search... | 36.165939 | 115 | 0.648032 |
d6bfeac60c7c0006b0de8543b970082f074498dd | 2,235 | /*
* 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 ... | 39.910714 | 83 | 0.76689 |
8b467e5bdebf667cd477aa64c7f4345d71dac223 | 3,043 | /*
* Copyright (c) 2012, Isaiah van der Elst (isaiah.v@comcast.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright no... | 35.8 | 88 | 0.769964 |
72e0e589d4cd223261fc1f562d599489c3f2fc31 | 1,481 | package com.asche.wetalk.other;
import com.asche.wetalk.entity.Logger;
import com.asche.wetalk.mapper.LoggerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.H... | 32.911111 | 146 | 0.755571 |
cacdef60978568c8f2d34f0f5b66685eba6e20c0 | 995 | /*
$Id: //depot/External Projects/i9500/Implementation/Source/bgxop/main/modules/gui/src/java/net/bgx/bgxnetwork/bgxop/gui/lv/timetable/timedia/model/test/TestDataTDPair.java#1 $
$DateTime: 2007/07/04 14:49:50 $
$Change: 19371 $
$Author: O.Lukashevich $
*/
package net.bgx.bgxnetwork.transfer.tt;
import java.u... | 30.151515 | 176 | 0.670352 |
ab7e2c4ab78ddd37123553608aa50e705d7eff36 | 747 | package com.stylefeng.guns.modular.system.dao;
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.Order;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
/**
* <p>
* 订单 Mapper 接口
* </p>
*
* @author simple.song
* @since 201... | 20.189189 | 108 | 0.651941 |
f531e0f07e13f4e77c1595ddb21c786dde3a25c3 | 3,020 | /*
* The MIT License
*
* Copyright 2015 Neil McAlister.
*
* 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... | 48.709677 | 101 | 0.728477 |
8ef4295e2d268bf7c861d18ebafcf633501a7f66 | 425 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ed.biodare2.backend.util.concurrent.id.db;
import org.springframework.data.jpa.repository.JpaRepository;
/**
*
*... | 25 | 80 | 0.724706 |
3dfd1886a7122cd2a915654dbe19cf28b6012735 | 3,503 | /*******************************************************************************
* Copyright (c) 2004 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 availab... | 20.248555 | 81 | 0.655724 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.