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 |
|---|---|---|---|---|---|
3633fa66c5b79287645c1a4b3b2fa2d749e3bec3 | 2,690 | /*
*
* * The MIT License (MIT)
* *
* * Copyright (c) 2018. Lorem XiaoMiSum (mi_xiao@qq.com)
* *
* * 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, inclu... | 33.625 | 76 | 0.620818 |
7c1b58662443bf96c1fcfc59d06a08ac9df4363c | 130 | package net.andreho.struct.primitive;
/**
* Created by 666 on 07.08.2016.
*/
public interface IntSet extends IntCollection {
}
| 16.25 | 47 | 0.730769 |
85dfa5413da25f67f35bafb86c6cc42fac2f4219 | 10,339 |
package net.restlesscoder.sandbox;
import javax.swing.KeyStroke;
import javafx.scene.input.*;
import javafx.scene.input.KeyCombination.ModifierValue;
public class JavaFXKeys {
public static void main(final String... args) {
final String[] accel = {
"BACK_SLASH",
"GREATER",
"LESS",
"MINUS",
"PLUS"... | 22.525054 | 99 | 0.671148 |
3b49be01bd6a807fe57c30344f74f6f651675236 | 4,739 | package com.slugterra.dimension;
import java.util.ArrayList;
import java.util.List;
import com.slugterra.biomes.BiomeRegistry;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.WorldType;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.biome.Biom... | 27.393064 | 106 | 0.70479 |
2c76b7cacc7dbb13f17110d75276bc6a85563e5d | 1,256 | /*
* Copyright 2018 NAVER Corp.
*
* 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 w... | 27.911111 | 75 | 0.690287 |
3d754b1cd96965525c54ac9cd3512d08e20f616e | 3,487 | /*
* Copyright 2006-2007,2009 National Institute of Advanced Industrial Science
* and Technology (AIST), and contributors.
*
* 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... | 27.674603 | 113 | 0.687697 |
521d8120fd399442d2c0911cf886793a7075f735 | 408 | package io.deephaven.javascript.proto.dhinternal.grpcweb.message;
import elemental2.core.Uint8Array;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(
isNative = true,
name = "dhinternal.grpcWeb.message.ProtobufMessage",
namespace = JsPackage.GLOBAL)
public ... | 25.5 | 65 | 0.754902 |
5cd0353c1077593818fe4993e08b6c8bbeacec05 | 3,228 | package com.example.jorge.nfcow;
import static android.widget.Toast.LENGTH_SHORT;
import static java.lang.System.currentTimeMillis;
import android.graphics.Bitmap;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.W... | 29.345455 | 80 | 0.64684 |
620e8ba19c862a3fb63d1b6942f6b62c49b9f4bf | 695 | package pers.shawn.rbac.bean;
/**
* @author shawn
* @create 2020-08-17 16:46
* @desc 自定义异常类
**/
public class NativeException extends Exception {
private final ResultCode resultCode;
public NativeException(ResultCode resultCode) {
super(resultCode.getMsg());
this.resultCod... | 20.441176 | 64 | 0.623022 |
a80f24f7bef3250f77e1fdd01dfbad0ce2c8642e | 15,596 | // This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package cmdb.proxies;
public class CITransitionAudit
{
private final com.mendix.systemwideinterfaces.core.IMendixObject cITransitionAuditMendixObject;
private final com.mend... | 36.439252 | 222 | 0.765902 |
27fe406c71237a38427df420e8db48268d421d02 | 309 | package com.neueda.jetbrains.plugin.graphdb.jetbrains.actions.ui.console;
import com.intellij.util.messages.Topic;
public interface CleanCanvasEvent {
Topic<CleanCanvasEvent> CLEAN_CANVAS_TOPIC = Topic.create("GraphDatabaseConsole.CleanCanvasTopic", CleanCanvasEvent.class);
void cleanCanvas();
}
| 28.090909 | 127 | 0.809061 |
b7cdb277145a865a9f755a78682680d7df097af5 | 2,045 | package io.electra.core.engine;
import io.electra.core.data.DataStorage;
import io.electra.core.data.DataStorageImpl;
import io.electra.core.exception.EngineInitializationException;
import io.electra.core.exception.FileSystemAccessException;
import io.electra.core.index.IndexStorage;
import io.electra.core.index.Index... | 25.5625 | 98 | 0.718337 |
8a0fb810a9b43e915a739c0726b886cd4e8ef44a | 876 | package irvine.oeis.a058;
import irvine.math.group.IntegerField;
import irvine.math.group.PolynomialRingField;
import irvine.math.polynomial.Polynomial;
import irvine.math.z.Z;
import irvine.oeis.Sequence;
/**
* A058606 McKay-Thompson series of class 28A for Monster.
* @author Sean A. Irvine
*/
public class A05860... | 32.444444 | 103 | 0.71347 |
1aa78d31cd57f3e89cf366e8681af8849d857182 | 831 | /**
* Joice
* Copyright (c) 1995-2017 All Rights Reserved.
*/
package org.joice.web.test.dubbo;
import java.util.List;
import javax.annotation.Resource;
import org.joice.common.dao.domain.TaskSchedule;
import org.joice.facade.api.SchedulerFacade;
import org.joice.web.test.base.BaseTest;
import org.ju... | 23.083333 | 82 | 0.693141 |
cfe1633fde815f99410335b28a1716699d5f8f6c | 163 | package com.lxk.design.pattern.proxy.statics;
/**
* 目标接口:
* 为实现多态
* 包含目标方法的声明
*/
public interface Target {
/**
* 目标方法
*/
void business();
}
| 11.642857 | 45 | 0.570552 |
5c0c29cb9ff6765bf9ff434e4cac157f3ad5a43c | 1,152 | package org.plyct.plyex;
public class Endpoint {
public enum Method {
get,
post,
put,
patch,
delete
}
public Endpoint(Method method, String path) {
this.method = method;
this.path = path;
if (!this.path.startsWith("/")) this.path = "/" + thi... | 25.043478 | 118 | 0.584201 |
9395a7c164e1a6703bb66ddf53312d3212516a3a | 38,910 | package gftgu;
/*
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
*/
import org.trianacod... | 46.047337 | 230 | 0.577512 |
6f0d692107418a0f35bde66a7f47292ca5d0dc52 | 5,511 | package com.gempukku.swccgo.cards.set7.dark;
import com.gempukku.swccgo.cards.AbstractUsedOrLostInterrupt;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.cards.evaluators.PerTIEEvaluator;
import com.gempukku.swccgo.common.CardSubtype;
import com.gempukku.swccgo.common.GameTextActionId;
imp... | 51.504673 | 241 | 0.648521 |
d608cbf0220081739e13d6b1b4b582d362423423 | 421 | package com.loto.lotomod.items;
import net.minecraft.item.Item;
public class ItemRightPassengerSideMirrorForToyotaCamry2007200820092010UnpaintedNonHeatedNonFoldingDoorUSABuiltOutsideRearViewReplacementMirror
extends Item {
public ItemRightPassengerSideMirrorForToyotaCamry2007200820092010UnpaintedNonHeatedNonFoldi... | 30.071429 | 143 | 0.885986 |
0630390aafe39e7bd1c3895669377be194b8edde | 1,009 | package generic;
import java.util.Objects;
/**
* @autor Андрей
* @since 10.07.2018
*/
public class User extends Base implements Comparable<User> {
public User(String id, String name) {
super(id);
this.name = name;
}
public User(String id) {
super(id);
}
private String... | 19.784314 | 60 | 0.520317 |
2bcf639bf3773ec7614734ac21edf169d1cecb67 | 4,901 | /*
* Copyright 2016 Google LLC
*
* 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... | 37.7 | 80 | 0.733524 |
dba18d522583ac40a50ef022f5bb5e98f3faf3d3 | 536 | package com.rsosor.ec.service;
import com.rsosor.ec.model.UmsResourceCategory;
import java.util.List;
/**
* 後台資源分類管理 Service
*
* @author RsosoR
* @date 2022/2/22
*/
public interface UmsResourceCategoryService {
/**
* 獲取所有資源分類
*/
List<UmsResourceCategory> listAll();
/**
* 創建資源分類
... | 15.314286 | 65 | 0.623134 |
382b19f30b9c5a37b5b1c4490cb798d4a279623b | 4,014 | /**
*
*/
package com.mrd.yourwebproject.model.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToO... | 17.682819 | 73 | 0.70005 |
89702e3a5dd44aec991e3f570a1c8c3b73e3edb7 | 94 | package enums;
public enum PlaceOfLiving {
ANTARCTICA,
NON_ANTARCTICA,
UNKNOWN
}
| 11.75 | 27 | 0.702128 |
be8f9b6dc6af5ce46f84528b48e99632cf23574a | 243 | /**
*
*/
package com.raddle.dlna.http;
import org.apache.http.client.methods.CloseableHttpResponse;
/**
* @author raddle
*
*/
public interface HttpCallback {
public Object httpResponse(CloseableHttpResponse response);
}
| 16.2 | 61 | 0.695473 |
b7c8a6f399951246dd3e76ff330b7542d320a777 | 4,152 | package pw.cdmi.paas.developer.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereot... | 36.743363 | 128 | 0.777457 |
2dcf966c8db40e40592ecc9cb9f557f75664fae2 | 1,077 | package br.unicamp.ic.lsd.mercurius.ordermgr.spec.prov;
import javax.ejb.Local;
import br.unicamp.ic.lsd.mercurius.datatype.factory.OrderProductFactory;
import br.unicamp.ic.lsd.mercurius.datatype.factory.OrderTotalFactory;
import br.unicamp.ic.lsd.mercurius.persistence.dao.OrderDAO;
import br.unicamp.ic.lsd.mercuriu... | 30.771429 | 74 | 0.83844 |
1c4c9516147d5c4d350700a693079053c2c8392f | 7,086 | package com.okta.saml.util;
import com.okta.saml.Application;
import com.okta.saml.Configuration;
import com.okta.saml.SAMLResponse;
import com.okta.saml.SAMLValidator;
import org.apache.commons.codec.binary.Base64;
import org.opensaml.ws.security.SecurityPolicyException;
import org.slf4j.Logger;
import org.slf4j.Logg... | 34.906404 | 157 | 0.68219 |
70d05b14412e406aed74c5af21d26eaba3440b45 | 1,372 | package net.sourceforge.ondex.ovtk2.ui.popup.items;
import net.sourceforge.ondex.core.ONDEXConcept;
import net.sourceforge.ondex.core.ONDEXRelation;
import net.sourceforge.ondex.ovtk2.ui.popup.EntityMenuItem;
/**
* Shows selected node and all which have same tag
*
* @author taubertj
* @author Matthew P... | 24.5 | 85 | 0.69242 |
1e22f08c2400d27c318bd7f4bb53b333b4d0eafd | 1,471 | package jsky.app.ot.viewer.action;
import jsky.app.ot.viewer.ImportWorker;
import jsky.app.ot.viewer.OpenUtils;
import jsky.app.ot.viewer.SPViewer;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.io.File;
/**
* The ImportAction provides opening of an XML file and entry
* to the database.
*/
publ... | 24.932203 | 75 | 0.633583 |
37b4d09cc80196d8fa46aa719b95331768de48a6 | 2,435 | /*
* Copyright (c) 2002-2009 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softwa... | 31.623377 | 79 | 0.688296 |
f101b214c07569e715d39e2a375db9a1e851016e | 1,989 | /*
* The MIT License (MIT)
*
* Copyright (c) Open Application Platform Authors
*
* 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 r... | 38.25 | 100 | 0.691805 |
b1c2ecdb16a74cb039bd7ec6a0b60afcbbb4259e | 2,791 |
package europeSoap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for meshQualifierInfo complex type.
*
* <p>The following schema fragment specifies the ... | 23.854701 | 107 | 0.591544 |
99700b96fe7388ba78ef861ae592d2429623ac59 | 1,294 | /**
* Copyright 2008 Jordi Hernández Sellés
*
* 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 ... | 33.179487 | 93 | 0.743431 |
dc44a91860c7c3564a3f03eed21967f214ddc69e | 1,075 | package com.sfl.coolmonkey.healthy.core.domain.common;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.commons.lang3.ObjectUtils;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb... | 21.938776 | 70 | 0.735814 |
0a6943f9db257b19b51064f7f7bd2cc997b4ba28 | 1,322 | package inescid.dataaggregation.metadatatester.view;
import java.util.ArrayList;
import java.util.List;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.Resource;
import inescid.dataaggregation.metadatatester.view.ResourceView.DataModel;
public class IiifSeeAlsoView {
String uri;... | 20.984127 | 75 | 0.706505 |
39c405a96c7a319d4a1860a3605326ad3061e84a | 1,241 | package com.walmartlabs.concord.plugins.gremlin;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2021 Walmart Inc., Concord 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 Li... | 30.268293 | 89 | 0.639001 |
2b01466a78621ac5ed82a160912987370cbc94b3 | 9,345 | package pw.rfg.bladeblewear.ble;
import android.app.Service;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.Blueto... | 35.667939 | 119 | 0.613162 |
34e81899f8d930b5f33a5b72a98182ec25dc3cc1 | 175 | package com.xkcoding.java.g_adapter;
/**
* @Description
* @Author jerry
* @CreateTime 2020/01/09 09:30
*/
public class Adaptee {
public void doSomething1() {
}
}
| 14.583333 | 36 | 0.657143 |
9943690fa21a267d10aa377abc55a16d36996efd | 3,901 | /*
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
* Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* L... | 40.216495 | 118 | 0.621892 |
6b8a5e25260ae4cafbd2f75e447e6fbcffc1f189 | 40,228 | /*
* BMDSTool.java
*
* Copyright (c) 2005-2011 CIIT Centers for Health Research
* 6 Davis Drive, P.O. Box 12137, Research Triangle Park, NC USA 27709-2137
* All rights reserved.
*
* This program is created for Bench Mark Dose project
* It is used to set up model fits.
*
* Created 11/02/2006
*/
... | 28.449788 | 127 | 0.674505 |
fa6435c880b6b7a1b47bda8d9effead1b3b03641 | 2,973 | /*
* 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... | 33.404494 | 103 | 0.728893 |
e22e9f934963ec9fa4f3f4d7af27c62993c9ebca | 8,206 | /*
* 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 bookstore.database.tables;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import bookstore.database.Databas... | 34.624473 | 114 | 0.541677 |
ada78106380db1ce142973c87b820e0656947580 | 6,821 | package com.mamba.mambasdk.ui;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import com.mamba.mambasdk.R;
import ... | 33.11165 | 119 | 0.57968 |
aa96eff004eec4107caf53adbcc16b5416c522c3 | 1,408 | package xyz.zhangyi.ddd.eas.valueadded.trainingcontext.acl.adapters.repositories.typehandlers;
import org.apache.ibatis.type.BaseTypeHandler;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;
import xyz.zhangyi.ddd.eas.valueadded.trainingc... | 39.111111 | 140 | 0.795455 |
5d182a231b624b7c25b7632cb156970ced0ce878 | 2,283 | package ee.taltech.iti0202.gui.game.networking.server.listeners;
import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Listener;
import ee.taltech.iti0202.gui.game.networking.serializable.Handshake;
import ee.taltech.iti0202.gui.game.networking.serializable.Lobby;
import ee.taltech.iti02... | 38.694915 | 99 | 0.697766 |
05110b22a4643ea94022503a2de65f7a5d45367b | 740 | package medium.array;
// https://leetcode.com/problems/subarray-sum-equals-k/
class SubarraySumEqualsK_560 {
public int subarraySum(int[] nums, int k) {
if (nums.length == 1) return k == nums[0] ? 1 : 0;
int result = 0;
int remaining = k;
for (int i = 0; i < nums.length; i++) {
... | 29.6 | 113 | 0.487838 |
96b96b2ec3d8fd328ab6d841f7c8203619cbebe4 | 10,118 | /*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | 45.372197 | 155 | 0.761613 |
6896876cf5aace4c984ad66a34b8ef666e23f012 | 383 | package base.basic;
public class CommandTest {
public static void main(String[] args) {
ProcessArray ps = new ProcessArray();
int[] target = {3, -4, 6, 4};
ps.process(target, (int[] target1) -> {
int sum = 0;
for(int i : target1) {
sum += i;
... | 22.529412 | 47 | 0.467363 |
895dfd874ce4adaaf9a074d359f473c96936df61 | 541 | package bg.bulsi.egov.idp.nap.model;
import lombok.Getter;
public enum IdentityType {
EGN(0,"ЕГН"),
EIK(1,"ЕИК"),
LNCH(2,"ЛНЧ");
@Getter
int type;
@Getter
String desc;
private IdentityType(int type, String desc) {
this.type = type;
this.desc = desc;
}
public static IdentityType getIdentityByTyp... | 13.871795 | 55 | 0.630314 |
0a908c2d1d5bae179f19da485758aa4623fe03c2 | 11,866 |
// Assignment #: Arizona State University CSE205 #7
// Name: Nathan Smith
// StudentID: 1211898087
// Lecture: T, Th 4:30 pm
// Description: The DrawPane class creates a canvas where we can use
// mouse key to draw either a Rectangle or a Circle with different
// ... | 40.360544 | 152 | 0.521996 |
4abccb6402dd5f118377c280142d3ca4939ba26f | 825 | package org.javaan.commands;
import java.util.Set;
import org.javaan.model.CallGraph;
import org.javaan.model.Dependency;
import org.javaan.model.GraphView;
import org.javaan.model.Package;
public class ShowPackageUsedGraph extends BasePackageDependencyGraphCommand {
private final static String NAME = "used-packag... | 25.78125 | 106 | 0.780606 |
4f207e42714baddf04c55fd9af2b492666f90690 | 4,711 | /* Copyright (c) 2013-2014 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Cont... | 33.176056 | 98 | 0.651879 |
942cc4f9f0b712ad5d4fd1decd0e4b72c13cbdaa | 1,667 | package mcjty.rftoolsbase.modules.informationscreen;
import mcjty.lib.modules.IModule;
import mcjty.rftoolsbase.modules.informationscreen.blocks.InformationScreenBlock;
import mcjty.rftoolsbase.modules.informationscreen.blocks.InformationScreenTileEntity;
import mcjty.rftoolsbase.modules.informationscreen.client.Infor... | 43.868421 | 252 | 0.817037 |
111b6e97cb00c5d1ba92214cf936ebd667540ab1 | 3,270 | package com.bootvue.auth.filter;
import com.bootvue.auth.model.AppToken;
import com.bootvue.auth.model.JwtToken;
import com.bootvue.auth.util.ResponseUtil;
import com.bootvue.common.config.AppConfig;
import com.bootvue.common.result.AppException;
import com.bootvue.common.result.R;
import com.bootvue.common.result.RCo... | 39.39759 | 151 | 0.736391 |
5ad41577d87ed390aa369231bf85be518bcef003 | 5,138 | package gov.cdc.lappsgrid.uima;
import gov.cdc.lappsgrid.utils.Utils;
import gov.cdc.lappsgrid.utils.error.UtilsException;
import org.apache.uima.UIMAFramework;
import org.apache.uima.analysis_engine.AnalysisEngine;
import org.apache.uima.analysis_engine.AnalysisEngineDescription;
import org.apache.uima.analysis_engin... | 30.223529 | 93 | 0.747178 |
f7a4cb17d33cea2871937e8998e64502e494e097 | 7,855 | package taco.agent.model.worldmodel.signdetection;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
import org.apache.commons.math3.geometry.euclidean.twod.Vector2D;
import hso.autonomy.util.geometry.Angle;
import hso.... | 37.227488 | 117 | 0.749332 |
19fe0d931a206e7c9fba383101a292294eaa1ce2 | 6,559 | package com.GB.ChinaMobileMS.entity;
import java.sql.Date;
import java.sql.Timestamp;
public class ManagementDinnerPropertyEntity {
private int dinnerPropertyTableId;
private String applyOrChargeUserName;
private int branchId;
private int companyId;
private Date startDate;
private Date finishDate;
private Stri... | 30.365741 | 108 | 0.705595 |
2a17db9a5a3730c005fc9400f8cf07c92b38c320 | 5,550 | package divestoclimb.scuba.equipment.storage;
import java.lang.reflect.Method;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.util.Log;
import divestoclimb.andr... | 34.6875 | 135 | 0.745946 |
1c821de2697e97ad32a919d711576403cab91248 | 1,954 | package com.falkirks.fractions.client;
import com.falkirks.fractions.Fraction;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class FractionClient {
private ArrayList<FractionQuestion> questions;
private BufferedReader br;
... | 32.032787 | 132 | 0.605937 |
759d56cf3e18c1c90c760bbd090ce09ab329e2bd | 1,059 | package com.sixliu.workflow.config.repository.dao;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import com.sixliu.workflow.BaseTest;
import com.sixliu.workflow.common.constant.TaskType;
import com.sixliu.workflow.model.repository.dao.TaskModelDao;
import com.sixliu.wor... | 27.153846 | 71 | 0.750708 |
9ca791beb172e0edf1069140232255b735619913 | 1,570 | package Engine.src.Components;
public class BasicComponent extends Component {
private double myWidth;
private double myHeight;
private double myXPos;
private double myYPos;
private String myFilename;
private int myZIndex;
public BasicComponent(String filename, double xPos, double yPos, do... | 22.753623 | 111 | 0.621656 |
6c55a8506725ab701feccf920c57acd23eeb1f8d | 4,161 | package com.github.aistomin.musicist.controllers;
import facebook4j.Facebook;
import facebook4j.FacebookException;
import facebook4j.FacebookFactory;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import or... | 35.87069 | 77 | 0.664263 |
61393c080ceb0ea89e138a2e25eebe8e0ac3f248 | 394 | package com.elewise.nlsvm.move2win.activities;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.elewise.nlsvm.move2win.R;
public class ResultActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... | 21.888889 | 56 | 0.766497 |
f1cfe0facf34bc3fd970675d5c3b0a977551e82d | 1,378 | package component;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.LinkedList;
import java.util.ListIterator;
public class GameSprite extends GameSpriteBase {
private LinkedList<GameAnimation> animations = new LinkedList<>();
public GameSprite() {
super();
}
public G... | 25.054545 | 70 | 0.602322 |
2cdeddeb59b4b335486f95d3c790d784d6d07296 | 1,722 | package sample.Models;
public class UserModel {
private String accountID;
private String email;
private String name;
private String personalID;
private String phoneNumber;
private String address;
private String memberSince;
private String balance;
private String cardNumber;
... | 20.258824 | 211 | 0.632985 |
bd54405804779dc38088df65d0383094c199ad47 | 1,149 | /*******************************************************************************
* Copyright (c) 2021 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, an... | 33.794118 | 81 | 0.660574 |
98d27639927fa7918956dab446f48671017d16de | 4,046 | package gui.pageObjectModels.Bena.WF;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.Assert.assertEquals;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import com.shaft.gui.browser.BrowserActions;
import com.shaft.gui.element.ElementActions;
import com.sh... | 41.285714 | 153 | 0.768166 |
a47c2e37a49a80bc2f474270869a286f1d2fd8da | 1,221 | package com.ruoyi.shzj.service;
import java.util.List;
import com.ruoyi.shzj.domain.ShzjCustomization;
/**
* 定制信息Service接口
*
* @author ruoyi
* @date 2020-08-25
*/
public interface IShzjCustomizationService
{
/**
* 查询定制信息
*
* @param customId 定制信息ID
* @return 定制信息
*/
public Shzj... | 19.693548 | 100 | 0.632269 |
3daa1ec9cf3d359cf3195841ac13e42fc2637364 | 69 | package com.shinobicontrols.charts;
interface bh {
void cP();
}
| 11.5 | 35 | 0.695652 |
6f13c7a0b789f09cd809a929c93c5718a0ca47f2 | 4,493 | package com.rainbow.bridge.canal;
import com.alibaba.otter.canal.client.CanalMQConnector;
import com.alibaba.otter.canal.protocol.FlatMessage;
import com.alibaba.otter.canal.protocol.exception.CanalClientException;
import com.rainbow.bridge.handler.MessageHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | 24.823204 | 100 | 0.548409 |
6154748b3dbc01738363a412a28fbf15d0450299 | 3,593 | package com.publiccms.entities.log;
// Generated 2016-1-19 11:28:06 by Hibernate Tools 4.3.1
import static javax.persistence.GenerationType.IDENTITY;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import ... | 25.125874 | 106 | 0.641247 |
b070a1f5a3f8f9f0dc0682e7a35eb7764ad92671 | 1,917 | package org.wso2.andes.util.concurrent;
/*
*
* 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 L... | 37.588235 | 120 | 0.728221 |
f6640d06e563fcfeb5d573212c2be351555accc2 | 3,804 | /*
* Copyright 2019 Yevhenii Voievodin, Robert Winkler
*
* 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... | 40.903226 | 118 | 0.704259 |
f7bb2eb8171f6900333604a3a8803b6a7f40350b | 2,136 | package krasa.mavenhelper.gui;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.ui.DocumentAdapter;
import krasa.mavenhelper.model.ApplicationSettings;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
p... | 22.484211 | 90 | 0.744382 |
27773f70b0ba59dcae3831a3b8f8e54b6e5461c3 | 3,543 | /*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company.
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ... | 30.808696 | 112 | 0.756139 |
096bd54b560370b961151ac7968890c6c5ddf803 | 3,234 | /*
* This library is distributed under a modified BSD license. See the included
* LICENSE file for details.
*/
package org.fife.ui.rsyntaxtextarea;
import org.fife.ui.SwingRunner;
import org.fife.ui.rsyntaxtextarea.parser.*;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.... | 22 | 78 | 0.749227 |
457ae5abe79531efdd467fef2b8f6f6c66cfd7d7 | 179 | package com.g2forge.alexandria.expression;
public interface IFunction<V extends IVariable<V, N>, N extends IEnvironment<V, N, ?>> extends IExpression<V, N>, IParameterized<V> {}
| 44.75 | 134 | 0.765363 |
eeb83dbc9cfb10ad5f367e24ee7940dfb1706bee | 452 | package com.cxylk.text;
/**
* @Classname Car
* @Description TODO
* @Author likui
* @Date 2021/1/15 23:50
**/
public class Car {
public String name;
private String color;
public String getName() {
return name;
}
public String getColor() {
return color;
}
public void s... | 15.586207 | 40 | 0.579646 |
3a47c9f4bd1e736c92c2276fd32ff4463a8ae273 | 676 | package com.jc.gulimall.product.dao;
import com.jc.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jc.gulimall.product.vo.AttrRelationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Li... | 27.04 | 91 | 0.784024 |
c14ab404a3facfd3643c14fe4ff289df52665a07 | 70 | public enum CType {
POSITION, VELOCITY, VIEW, SCORE_VIEW, TEAM;
}
| 17.5 | 47 | 0.7 |
0c4cd739e0f3170835c3572cf06d8d08fc1156db | 734 | package joshie.harvest.npcs.greeting;
import joshie.harvest.api.npc.NPC;
import joshie.harvest.api.npc.greeting.IConditionalGreeting;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.text.translation.I18n;
public abstract class GreetingLocalized imp... | 27.185185 | 89 | 0.747956 |
b2d3cb0f724923163b398e9429e64533e4e5095e | 592 | package com.gps.itunes.media.player.ui.events;
import com.gps.itunes.lib.items.tracks.Track;
import com.gps.itunes.media.player.ui.UIFrame;
import java.util.List;
/**
* Created by leogps on 10/5/14.
*/
public interface UIFrameEventListener {
void onPlaylistSelectedEvent(UIFrame uiFrame);
void onTracksPla... | 21.925926 | 55 | 0.761824 |
de62f1d89e3334cc060ef916887e34c357be69a3 | 3,224 | /*-
* ========================LICENSE_START=================================
* JSoagger
* %%
* Copyright (C) 2019 JSOAGGER
* %%
* 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
*
* ... | 34.297872 | 164 | 0.71464 |
3964c35b8333cfba19a5990f42d3557c4e9b4687 | 7,156 | package br.com.basis.madre.madreexames.web.rest;
import br.com.basis.madre.madreexames.service.TipoDeMarcacaoService;
import br.gov.nuvem.comum.microsservico.web.rest.errors.BadRequestAlertException;
import br.com.basis.madre.madreexames.service.dto.TipoDeMarcacaoDTO;
import io.github.jhipster.web.util.HeaderUtil;
im... | 49.013699 | 198 | 0.731135 |
5074e74ec30040606434e8f228eaf21a92f7d49e | 655 | package schemacrawler.tools.hive;
import schemacrawler.tools.databaseconnector.DatabaseConnector;
import schemacrawler.tools.options.DatabaseServerType;
public final class HiveDatabaseConnector
extends DatabaseConnector
{
public HiveDatabaseConnector()
{
super(new DatabaseServerType("hive", "Hive"),
... | 23.392857 | 71 | 0.703817 |
8905a062303901392d3fc80f89332ec227225b11 | 5,298 | package com.yk.media.utils;
import android.hardware.Camera;
import android.util.Log;
public class YuvUtils {
private static final String TAG = "YuvUtils2";
/**
* nv21转换nv12
*/
public static byte[] cameraNv21ToNv12(
byte[] data,
int width,
int height,
... | 27.59375 | 91 | 0.44715 |
6a8de260cbd3630970151b41d84974321e21888f | 1,964 | package org.pitest.mutationtest.build;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.verify;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
i... | 30.6875 | 79 | 0.771894 |
bb1f76352e12c56483c4d7de62912f5247e9e5ca | 1,523 | package de.unistuttgart.vis.dsass2021.ex01.p2;
/**
* A simple list interface
*
* @param <T>
* The type of list element
*/
public interface ISpeedList<T> {
/**
*
* 1 Point if correctly implemented
*
* Returns the current number of elements in the list
*
* @return Current number of elem... | 21.152778 | 79 | 0.624425 |
38b31cfa6d9767676fb97805109c622dffc4c348 | 3,463 | /*
* Copyright 2012 University of Chicago
*
* 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... | 31.481818 | 95 | 0.626047 |
5f006835a551b84e633f42761f30698ad7153a14 | 2,793 | package com.example.android.popularmovies;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.example.android.popularmovies.model.Movie;
impor... | 30.692308 | 98 | 0.674902 |
66c7290967dec0ee1323faac21d3d7646c7fa450 | 2,904 | package info.itsthesky.disky.skript.events.role;
import ch.njol.skript.registrations.EventValues;
import ch.njol.skript.util.Getter;
import info.itsthesky.disky.tools.events.DiSkyEvent;
import info.itsthesky.disky.tools.events.LogEvent;
import info.itsthesky.disky.tools.events.SimpleDiSkyEvent;
import net.dv8tion.jda.... | 38.72 | 123 | 0.65186 |
d3cbdf8ba496df00f15a6a624d9b656b6e84d9f8 | 2,064 | package org.sheepy.menu;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import org.sheepy.Game;
import org.sheepy.R;
import org.sheepy.utils.AppHandling;
import org.sheepy.utils.Scope;
/... | 32.761905 | 138 | 0.687984 |
d06bede5206077132c32b5f5a99b1d1a239898c0 | 2,570 | package com.en.adback.mapper.dic;
import com.en.adback.entity.dic.*;
import com.en.adback.entity.sys.GroupRole;
import com.en.adback.entity.sys.Role;
import com.en.adback.entity.sys.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java.util.... | 32.948718 | 148 | 0.611673 |
d872b054b92dd06303802aed20cab7e975b17ada | 1,072 | package org.fluentlenium.adapter.junit.jupiter.integration.adapter.description;
import static org.fluentlenium.assertj.FluentLeniumAssertions.assertThat;
import org.fluentlenium.adapter.junit.jupiter.integration.IntegrationFluentTest;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
im... | 31.529412 | 80 | 0.753731 |
3b71d80d9e514697e3c10d93e4c87d614b33d17d | 69 | package java_solution.recursion_1;
public class CountPairs {
}
| 11.5 | 34 | 0.753623 |
35f55c0cad5298ed5949a8d8c776cbc0ba66d986 | 1,803 | package com.example.asus.tastenews.images.model;
import com.example.asus.tastenews.R;
import com.example.asus.tastenews.application.NewsApplication;
import com.example.asus.tastenews.beans.ImageBean;
import com.example.asus.tastenews.common.Urls;
import com.example.asus.tastenews.images.ImageJsonUtils;
import com.exam... | 36.795918 | 119 | 0.688852 |
2e0e8869fa1477892fe5fc43b1821cac7291d5e3 | 255 | package org.jboss.weld.tests.unit.deployment.structure.nonTransitiveResolution;
@Basic
public class Complex {
private String id;
public void ping(String id) {
this.id = id;
}
public String getId() {
return id;
}
}
| 15 | 79 | 0.639216 |
9cfd4c3ba437ed046682bd4feb7af3b114532d34 | 5,582 | /*
* 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 ... | 29.378947 | 163 | 0.632927 |
dab44f16ede0a945067615325f209a5df4d0dcf4 | 2,195 | package io.renren.modules.generator.controller;
import java.util.Arrays;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.a... | 24.120879 | 62 | 0.692938 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.