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 |
|---|---|---|---|---|---|
dedf9b79d37d61c15d680aa34de9c612e56d99ee | 91 | package com.querydsl.jpa.domain7;
public class C {
public int id;
public B b;
} | 10.111111 | 33 | 0.648352 |
0445f3915aa57eab3e9d70fde40bbb66715be1d5 | 3,943 | package com.example.config;
import com.example.domain.Book;
import com.example.listener.JobCompletionNotificationListener;
import com.example.model.BookModel;
import com.example.processor.BookProcessor;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.ba... | 36.509259 | 108 | 0.788486 |
623b13cd55f3269f1da98a3f398764da8886b542 | 7,304 | package org.dync.giftlibrary;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import org.dync.giftlibrary.adapter.... | 33.2 | 147 | 0.593647 |
ba2351fb8d610fe0fc820dff6e843532d9b6b2c2 | 894 | package com.pos.yza.yzapos.data.source;
import android.support.annotation.NonNull;
import com.pos.yza.yzapos.data.representations.Payment;
import com.pos.yza.yzapos.data.representations.Transaction;
import java.util.List;
/**
* Created by Dalzy Mendoza on 9/2/18.
*/
public interface PaymentsDataSource {
int... | 24.833333 | 126 | 0.751678 |
c8e463157461c8248fb6243e1ec54a9cd34723a6 | 3,340 | /*
* Copyright (c) 2020 GufyGuber. 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 applic... | 27.833333 | 90 | 0.633234 |
b2a59e7f9590a1335d4c9bfa15f3b2f112195062 | 1,011 | package Inorder;
import java.util.*;
public class Problem560 {
int res = 0;
public int subarraySum(int[] nums, int k) {
Map<Integer, List<Integer>> map = new HashMap<>();
map.put(0,new ArrayList<>(Arrays.asList(0)));
for (int i = 1, sum = 0; i <= nums.length; i++) {
sum +=... | 30.636364 | 67 | 0.411474 |
5238a412b50aa864f91aa315b94f368c39a931a2 | 4,662 | /**
* Risultato.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Nov 19, 2006 (02:31:34 GMT+00:00) WSDL2Java emitter.
*/
package com.datasynaptic.portaportese;
public class Risultato implements java.io.Serializable {
private java.lang.String stato;
private java.lang.String descr... | 29.884615 | 116 | 0.607894 |
9e1bc8b959b888aed6bd5c398ea88f87afed94bb | 7,161 | package com.query;
import java.util.LinkedList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.utilities.Drug;
/**
* DailyMedQueryer is a query class that extends queryer It is designed to pull
* drugs from a database based off ... | 28.759036 | 89 | 0.63776 |
3d970a4c5bba40691ea0bac2b78b45f236c3e003 | 415 | package org.codetaming.skillsmapper.client.model;
public class GroupsWrapper {
Groups _embedded;
public Groups get_embedded() {
return _embedded;
}
public void set_embedded(Groups _embedded) {
this._embedded = _embedded;
}
@Override
public String toString() {
ret... | 18.863636 | 49 | 0.590361 |
0443e148f712807dd9fff808b47dcfd106ff7773 | 679 | package pro.taskana.spi.history.api;
import pro.taskana.TaskanaEngineConfiguration;
import pro.taskana.spi.history.api.events.TaskanaHistoryEvent;
/** Interface for TASKANA History Service Provider. */
public interface TaskanaHistory {
/**
* Initialize TaskanaHistory service.
*
* @param taskanaEngineConfi... | 28.291667 | 92 | 0.756996 |
bffee2fc16ac946a635247143905c128cd3483f0 | 1,650 | /*
* 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 com.jacksonf.beans;
import com.jacksonf.bl.ProfessorBL;
import com.jacksonf.domain.Professor;
import java.util.List;
import ja... | 23.239437 | 79 | 0.639394 |
c8505fbd95691c0dc8e469ed7647100f584306f2 | 725 | package dev.salis.dlsf.core.master;
import akka.actor.typed.Behavior;
import akka.actor.typed.receptionist.ServiceKey;
import dev.salis.dlsf.core.run.RunContext;
import java.io.Serializable;
import java.util.function.Function;
public class ServiceTemplate implements Serializable {
private ServiceKey<?> serviceKey;
... | 25 | 69 | 0.746207 |
ba49a9ceaf3c0b0e85493efc6762074bfc09df38 | 2,702 | /*
* Copyright © 2018 Andrew Rice (acr31@cam.ac.uk)
*
* 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 applicab... | 33.358025 | 93 | 0.722058 |
1e8f27563f0740348f5b6c88a906d0ca87bb2201 | 1,698 | package checklist.store;
import checklist.json.ObjectMapperFactory;
import checklist.store.model.StoredEntity;
import checklist.store.model.StoredEntityVisitor;
import checklist.store.model.StoredMap;
import checklist.store.model.StoredString;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackso... | 33.294118 | 86 | 0.706714 |
24bc7310d6a8bcb2c37a0db66453a5177d3b3b63 | 28,699 | /*
* Copyright 2014 Goldman Sachs.
*
* 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.835277 | 176 | 0.656573 |
00e7a59dc831a938e8711966b090b387872edf0c | 935 | package com.github.mygreen.sqlmapper.core.test.entity.meta;
import com.github.mygreen.sqlmapper.core.test.entity.GeneratedValueTableFormatTestEntity;
import com.github.mygreen.sqlmapper.metamodel.EntityPathBase;
import com.github.mygreen.sqlmapper.metamodel.StringPath;
public class MGeneratedValueTableFormatTestEntit... | 40.652174 | 139 | 0.812834 |
0e299a34e09b0d189332cceab223c66ad49d5bfe | 2,007 | package edu.jhu.icm.validator.lookup;
import java.util.HashMap;
public class ChartItemLookup {
private HashMap<String,String> chartItems = new HashMap<String,String>();
public ChartItemLookup() {
HashMap<String,String> temp = new HashMap<String,String>();
temp.put("51","Arterial BP");
temp.p... | 29.955224 | 75 | 0.601395 |
4f41e0064f73cb46db9782b71be210cec84c8d08 | 1,137 | package com.nekomaster1000.infernalexp.init;
import com.nekomaster1000.infernalexp.InfernalExpansion;
import com.nekomaster1000.infernalexp.effects.EffectBase;
import com.nekomaster1000.infernalexp.effects.InfectionEffect;
import net.minecraft.potion.Effect;
import net.minecraft.potion.EffectType;
import net.minecraf... | 43.730769 | 146 | 0.807388 |
8726f33f07d311b0c21e4923b00b75d20ef254f0 | 12,601 | /*******************************************************************************
* Copyright (c) 2017 Pegasystems Inc. All rights reserved.
*
* Contributors:
* Manu Varghese
*******************************************************************************/
package com.pega.gcs.logviewer.model;
import java.awt.F... | 25.821721 | 110 | 0.745734 |
12fec92a8adacc4b28fcd43ef508559acf1a350c | 916 | package de.andrena;
import org.junit.Test;
import java.time.Clock;
import java.time.LocalDateTime;
import java.time.Month;
import java.time.ZoneOffset;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class DateBeforeCalculatorTest {
@Test
public vo... | 32.714286 | 103 | 0.744541 |
679f3b0fce3daccebce0b43a3082fc0d0b993aeb | 6,603 | package com.clevoice.asr.models;
import com.alibaba.fastjson.JSON;
import com.iflytek.msp.cpdb.lfasr.client.LfasrClient;
import com.iflytek.msp.cpdb.lfasr.client.LfasrClientImp;
import com.iflytek.msp.cpdb.lfasr.exception.LfasrException;
import com.iflytek.msp.cpdb.lfasr.model.LfasrType;
import com.iflytek.msp.cpdb.lf... | 35.5 | 104 | 0.610632 |
8bcdc38691177276ad24ab08524a055248ea6b7d | 7,211 | package com.cometchat.pro.uikit.Settings;
import com.cometchat.pro.uikit.R;
public class UISettings {
public UISettings() {}
//style
protected static String color = "#03A9F4";
//BottomBar
protected static boolean showUsersBB = true;
protected static boolean showGroupsBB = true;
protect... | 27.734615 | 82 | 0.706421 |
7c8c65c9504b84db8f6af97f02094fb3689f0bfc | 558 | package uk.gov.ida.matchingserviceadapter.logging;
import org.opensaml.saml.saml2.core.AttributeQuery;
import org.slf4j.MDC;
public class MdcHelper {
private MdcHelper() {}
public static void addContextToMdc(AttributeQuery attributeQuery) {
String messageId = attributeQuery.getID();
String e... | 27.9 | 90 | 0.672043 |
97be49164aae25d6247c7a77e967dac0adb84b7b | 105 | package com.infoskillstechnology.sinetop.data;
public class AppDataManager implements DataManager {
}
| 15 | 52 | 0.828571 |
4de710e66552fd0df76421eff58bd24cd61a86c1 | 2,877 | package com.awebone.bean;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.Writable;
public class PageViewsBean implements Writable {
private String session;
private String remote_addr;
private String timestr;
private String request;
private int step;... | 20.260563 | 181 | 0.721585 |
b3f444f016e00a7aae9173059ac8bb38620dd347 | 507 | package com.personal.mvpdemo.base;
public interface Callback<T> {
/**
* 数据请求成功
*
* @param data 请求到的数据
*/
void onSuccess(T data);
/**
* 使用网络API接口请求方式时,虽然已经请求成功但是由
* 于{@code msg}的原因无法正常返回数据。
*/
void onFailure(String msg);
/**
* 请求数据失败,指在请求网络API接口请求方式时,出现无法联网... | 17.482759 | 53 | 0.583826 |
0e214fac850f28e8458d44705c21abb6a001e6a4 | 4,221 | package net.kodar.university.service.service;
import net.kodar.university.business.processor.discipline.DisciplineProcessorGenericImpl;
import net.kodar.university.data.entities.Discipline;
import net.kodar.university.presentation.depricated.parameter.DisciplineParam;
import net.kodar.university.presentation.depricat... | 33.768 | 113 | 0.773987 |
1b396efeec9f66a1fa87b9048fac63b69968024e | 9,283 | package ch.msengineering.sunfinder;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.DividerItemDecoration;... | 40.714912 | 173 | 0.668857 |
8cff7a9a1d91b666298eaadbc2b8ed800b41aebc | 579 | package apincer.android.mmate.broadcast;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
public class MusicPlayerInfo {
String playerPackage;
String playerName;
public String getPlayerPackage() {
return playerPackage;
}
public String getPlayerName() {
r... | 19.965517 | 45 | 0.704663 |
8787e4a548c588608a32dc838aee8c1c6ed043d3 | 2,574 | package Main.Entities;
import Main.Services.UserService;
import Packages.Chihab.Models.Entities.Association;
import Packages.Chihab.Models.enums.RoleEnum;
import Packages.Chihab.Services.AssociationService;
import Packages.Chihab.Services.MembershipService;
import java.sql.SQLException;
import java.util.ArrayList;
im... | 35.260274 | 211 | 0.641414 |
53241dc74f930032c3481d93dab7f422328ec88a | 3,451 | package pokefenn.totemic;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.capabilities.CapabilityManager;
import net.minecraft... | 39.666667 | 129 | 0.751376 |
735acd14b87f40a79389e3587ca33ab34baee60d | 1,508 | package com.nosbielc.estudos.regex;
import org.apache.commons.lang3.StringUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Sintax {
private static String metaData = "create external table UO.TBUO033_MAPA_CRTO (\n" +
"\t\n" +
"\tNUM_CPF_CNPJ \tbigint,\n"... | 36.780488 | 192 | 0.572281 |
d4dad0fd56e81cccf85baa593be20cba72d24880 | 36,047 | // $ANTLR 3.5.2 /Users/pedro/Documents/git/kraets/KRAETS/kql/src/main/java/edu/mit/ll/antlr/aexp17.g 2016-03-13 07:51:53
package edu.mit.ll.antlr;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class aexp17Lexer extends Lexer {
... | 23.560131 | 284 | 0.56479 |
556dca759f59896a8ab65a0ad47e6dfee7e73b7c | 1,740 | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | 26.363636 | 127 | 0.696552 |
27d9137b90c2433ab7dab19df3de007232cebbac | 300 | package com.lmj.vueblog.common.salt;
public class ShiroConstant {
/** 随机盐的位数 **/
public static final int SALT_LENGTH = 8;
/** hash的散列次数 **/
public static final int HASH_ITERATORS = 1024;
/** 加密方式 **/
public interface HASH_ALGORITHM_NAME {
String MD5 = "MD5";
}
}
| 23.076923 | 50 | 0.63 |
93ec962a88f54c1fe0fa589a15f71ff0c2ae8e1c | 3,108 | /* Copyright (C) 2000-2003 The Software Conservancy as Trustee.
* All rights reserved.
*
* 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... | 36.139535 | 91 | 0.655084 |
de52d1bf3abbb94c8a93ce9c4b554bbbc9f933f1 | 2,334 | package io.github.artemnazarov.sdktestapplication.classic;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import an... | 36.46875 | 115 | 0.706941 |
3b9811c545d0c172687b075ae4fe154a2b1720a5 | 607 | package pg.ffs;
import java.io.IOException;
import java.nio.file.attribute.BasicFileAttributeView;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.FileTime;
public class FfsFileAttributeView implements BasicFileAttributeView{
@Override
public String name() {
return "basic";... | 22.481481 | 116 | 0.771005 |
daf530d56cf1dab42298491d0a98dfab9396eab7 | 8,345 | package uniregistrar.driver.did.btcr.handlers;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
import java.util.LinkedHashMap;
import java.util.Map;
import foundation.identity.did.DIDDocument;
import org.apache.commons.collections4.MapUtils;
import org.apache.logging... | 38.456221 | 119 | 0.76429 |
3973bbed3dd5d7a6f3ca2b34b30e86ea2096a404 | 2,148 | package internal.org.springframework.content.s3.config;
import com.amazonaws.services.s3.AmazonS3;
import internal.org.springframework.content.s3.store.DefaultS3StoreImpl;
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.facto... | 33.046154 | 141 | 0.833333 |
391424675a7f61e6cee4afcd0b0f8cc7903a87f6 | 1,311 | package is_operator_test;
public abstract class AI extends dart._runtime.base.DartObject implements is_operator_test.AI_interface, is_operator_test.I_interface
{
public static dart._runtime.types.simple.InterfaceTypeInfo dart2java$typeInfo = new dart._runtime.types.simple.InterfaceTypeInfo(is_operator_test.AI.clas... | 54.625 | 197 | 0.796339 |
e7089f3b209720733dc9be93b2f4f341c0442c78 | 592 | import java.io.*;
import java.util.Scanner;
public class ACSL1_chmod_AK {
public static void main(String[] args) {
File testData = new File("/Users/student/Documents/workspace_compadre/ACSL/src/ACSL1_chmod_AKTestCode.txt");
try {
Scanner scan = new Scanner(testData);
} catch (FileNotFoundException e)... | 17.411765 | 110 | 0.672297 |
8b906988e151c2c9a60d621d622819ce0ab959ea | 3,283 | package com.qunar.qchat.admin.vo.third;
/**
* 封装各个业务线产品信息
* Created by qyhw on 12/17/15.
*/
public class ProductVO {
private String title = "";
private String type = "";
private String tag = "";
private String imageUrl= "";
private String price= "";
private String marketPrice= "";
... | 18.44382 | 61 | 0.601889 |
801154790fb624a18230830a7a37fbe089458b5f | 2,802 | /*
*
* 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"); y... | 33.759036 | 96 | 0.736974 |
6f662acffc1c647d182119d24a90abf91c873684 | 979 | package org.jbehave.core.model;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public final class ImmutableExamplesTable extends ExamplesTable {
public ImmutableExamplesTable(String tableAsString) {
super(tableAsString);
}
@Override
public List<String> getHeaders(... | 25.102564 | 83 | 0.706844 |
fffa6a5557f3773898646833f571fe0fcb0b66f7 | 1,246 | package com.github.tankist88.carpenter.generator.dto;
import com.github.tankist88.carpenter.core.dto.argument.GeneratedArgument;
import com.github.tankist88.carpenter.core.dto.unit.method.MethodCallInfo;
import com.github.tankist88.object2source.SourceGenerator;
import org.testng.annotations.Test;
import java.util.Ar... | 34.611111 | 74 | 0.704655 |
4c7c57fbef479fbcf724848dc7e5800ebcdb52d4 | 4,856 | /*
* 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 ... | 33.958042 | 92 | 0.661244 |
018a17485b37bcdb43ed545b6cedbc6e45bc8659 | 17,401 | package no.kartverket.geometry;
/**
* Class and method for finding vector of shortest distance between a point and a triangle
* <p>
* Translated from this <A HREF="https://se.mathworks.com/matlabcentral/fileexchange/22857-distance-between-a-point-and-a-triangle-in-3d?requestedDomain=www.mathworks.com">Matlab code</... | 30.581722 | 187 | 0.4117 |
09ff0ab5e0d2e04fee4b3164c3782a76ffc47b4c | 2,045 | package io.sapl.grammar.ide;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.eclipse.xtext.AbstractElement;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.... | 37.181818 | 115 | 0.745232 |
dcd42918eb47f6db6f5b9ee15f3ee5c25e6c0da7 | 2,203 | package com.rotilho.jnano.commons;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collection;
import java.util.function.Function;
import lombok.RequiredArgsConstructor;
import lombok.Value;
import... | 34.968254 | 112 | 0.662279 |
086719869e82a25707988f6a19941cebfc25af29 | 1,081 | // Copyright 2009 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 33.78125 | 115 | 0.72803 |
1e5f21b8213bbe06e6bdb643cd6ae21849954347 | 1,249 | package net.minecraft.util;
import com.google.common.collect.Sets;
import java.util.Arrays;
import java.util.Set;
public enum Direction8 {
NORTH(Direction.NORTH),
NORTH_EAST(Direction.NORTH, Direction.EAST),
EAST(Direction.EAST),
SOUTH_EAST(Direction.SOUTH, Direction.EAST),
SOUTH(Direction.SOUTH),
S... | 36.735294 | 75 | 0.732586 |
ce1e741500dcc9ccf6ec640e01f426db38b3ad4a | 2,991 | /*******************************************************************************
* 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 r... | 36.47561 | 90 | 0.68539 |
74132b921ce471c582485068dcff7738e12d4ca4 | 234 | package com.mclgyh.spring.aop;
/**
* @Author: 牟春雷
* @Description:
* @Date: 16:46 2021/8/13
* @Modified By:
**/
public class MyRun {
public String get(){
System.out.println("-----------------------");
return "myrun";
}
}
| 13.764706 | 48 | 0.547009 |
b5f364241a387845b24ee3c1736bf3598628a79f | 9,010 | package Booking;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import j... | 49.779006 | 245 | 0.497225 |
60a194f5bfb55f96f494309ebf7668be6ec4e9d3 | 124 | package _01SingleInheritance;
class Dog extends Animal{
void bark(){
System.out.println("barking...");
}
}
| 15.5 | 41 | 0.637097 |
daaf3981ecfbaf3f7701a7693cb58cae2efa6e72 | 2,407 | package com.jbm.util.flow;
import cn.hutool.core.date.DateTime;
import java.util.Date;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
/... | 25.606383 | 80 | 0.598671 |
c480c31785685f5a8850cc354cd8722757646121 | 2,449 | package water.api;
import water.Job;
import water.Key;
import water.api.RequestServer.API_VERSION;
import water.fvec.ParseDataset2;
import water.parser.CustomParser;
import water.util.RString;
public class Parse2 extends Parse {
static final int API_WEAVER=1; // This file has auto-gen'd doc & json fields
static p... | 39.5 | 114 | 0.704777 |
cd50421c98f1e80cfc1f49fe62de106a7c9452f0 | 3,554 | package com.nordnetab.chcp.main.config;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.nordnetab.chcp.main.model.UpdateTime;
import android.text.TextUtils;
/**
* Created by Nikolay Demyanko... | 26.325926 | 98 | 0.633652 |
632be8bf5d81aa648493fe0b83f1ba308a58fe7e | 259 | package com.example.demo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface UserRepository extends JpaRepository<User, Integer>{
} | 23.545455 | 70 | 0.799228 |
fbf98fb20b0f5d54e94c1f8b9f73b9257680336e | 1,484 | /*
* Copyright 2000-2021 JetBrains s.r.o.
*
* 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 agre... | 39.052632 | 186 | 0.794474 |
3455a914d429a96253069072f2f4b97ad56a1672 | 2,845 | package com.zandero.cmd;
import com.zandero.cmd.option.CommandOption;
import com.zandero.settings.Settings;
import com.zandero.utils.Assert;
import com.zandero.utils.Pair;
import com.zandero.utils.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.FileNotFoundExc... | 23.907563 | 125 | 0.664675 |
045034fe47cda0070c95ba8c40bef3d374033da1 | 733 | package demo.technology.chorus.chorusdemo.model;
public class UserModel {
//https://github.com/liu-hong/infura/blob/master/src/main/java/com/infura/example/CreateWallet.java
private WalletModel wallet;
private PrivateInfo privateInfo;
private boolean useFakeData;
public UserModel(WalletModel walle... | 27.148148 | 103 | 0.699864 |
72167272408e4c7f1a9a979e63af8758ca97d5a7 | 4,768 | package marchsoft.modules.system.controller;
import cn.hutool.core.collection.CollectionUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import marchsoft.exception.BadRequestException;
import marchsoft.modules.system.entity.Menu;
import marchs... | 36.121212 | 101 | 0.694002 |
c81355244e35f4a2dab29e9e2d809378522d37f9 | 1,760 | /*
* USE - UML based specification environment
* Copyright (C) 1999-2004 Mark Richters, University of Bremen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* Li... | 32 | 70 | 0.690341 |
a568a86d77235ec3e179c5176f66b4c427e432b0 | 120 | package com.hearthsim.card.minion;
public enum AuraTargetType {
AURA_FRIENDLY_MINIONS,
AURA_ENEMY_MINIONS,
}
| 13.333333 | 34 | 0.766667 |
cd715f48590932c28386439e0d95d3e0ca90f00e | 577 | package com.echovue.ebsVolumeAdjust;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class EBSVolumeAdjusterTest {
@Test
public void ... | 27.47619 | 72 | 0.746967 |
4393ec9470c1369b0c3266fb7ce3ae60a51cfd05 | 843 | package quotes;
import java.lang.reflect.Array;
import java.util.ArrayList;
public class Quote {
private String author;
public String text;
private String likes;
private ArrayList<String> tags;
public Quote(String author, String text, String likes){
this.author = author;
this.text ... | 22.184211 | 98 | 0.613286 |
604c19601c187b5b4dd024f191650bde1406cd47 | 16,496 | package BL.Client.Handlers;
import BL.Communication.ClientServerCommunication;
import DL.Game.LeagueSeason.League;
import DL.Game.LeagueSeason.LeagueSeason;
import DL.Game.LeagueSeason.Season;
import DL.Game.Policy.GamePolicy;
import DL.Game.Policy.ScorePolicy;
import DL.Game.Referee;
import DL.Team.Team;
import DL.Us... | 40.730864 | 153 | 0.592871 |
8bdbe1f62b66e2b0320aebf12b994287dc99add0 | 460 | package io.axway.iron.sample.command;
import io.axway.iron.Command;
import io.axway.iron.ReadWriteTransaction;
import io.axway.iron.sample.model.SuperHeroV2;
public interface CreateSuperHeroV2 extends Command<SuperHeroV2> {
String nickName();
@Override
default SuperHeroV2 execute(ReadWriteTransaction tx... | 25.555556 | 65 | 0.702174 |
27bcda2039267233c256e3bb002a627bcc1447ae | 7,831 | package y.rl;
import ciir.umass.edu.learning.tree.*;
import ciir.umass.edu.metric.MetricScorer;
import ciir.umass.edu.metric.MetricScorerFactory;
import ciir.umass.edu.features.FeatureManager;
import ciir.umass.edu.learning.DataPoint;
import ciir.umass.edu.learning.RANKER_TYPE;
import ciir.umass.edu.learning.RankList;... | 43.994382 | 131 | 0.678202 |
9846dad563d3349a700eb7e4f8877e6739225936 | 1,147 | package cn.cerc.ui.vcl;
import java.util.ArrayList;
import java.util.List;
import cn.cerc.ui.core.HtmlContent;
import cn.cerc.ui.core.HtmlWriter;
import cn.cerc.ui.core.UICustomComponent;
import cn.cerc.ui.parts.UIComponent;
public class UIDiv extends UICustomComponent {
private List<HtmlContent> contents = new ... | 20.482143 | 59 | 0.592851 |
f768fcdbef01176071a97cfe6a6a46131104df53 | 1,789 | package com.jeecg.p3.scratchcards.dao;
import com.jeecg.p3.scratchcards.entity.WxActScratchcardsRelation;
import org.apache.ibatis.annotations.Param;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persis... | 35.78 | 107 | 0.788709 |
bb3c12a07b2e7ce8227128d6a254af37eb07be56 | 819 | package me.ranzeplay.activityrecorder.events;
import me.ranzeplay.activityrecorder.ActivityRecorder;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.text.Text;
import java.util.Timer;
import java.util.TimerTask;
public class PlayerEvents {
pr... | 28.241379 | 92 | 0.775336 |
870406438578b259d4e173fef1da22e9dfee0810 | 702 | package cn.springcloud.gray.server;
import cn.springcloud.gray.server.module.user.UserModule;
import cn.springcloud.gray.server.oauth2.Oauth2Service;
public class GrayServerHolder {
private static UserModule userModule;
private static Oauth2Service oauth2Service;
public static UserModule getUserModule(... | 25.071429 | 70 | 0.74359 |
8afe7cf4296dadc25fb7e1c43d67c3f033cc726b | 234 | package com.xevgnov.validator.file;
import java.util.List;
public interface IFileFormatValidator {
int FIELD_SIZE = 9;
void validateRow(List<Integer> row, int rowIndex);
void validateAll(List<List<Integer>> rows);
}
| 16.714286 | 54 | 0.730769 |
f6ae9f37da3c3257c9424f400c305e9fec36dddb | 1,748 | package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.ActivityAppInfo;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.marketing.activity.app.batchquery respo... | 20.091954 | 83 | 0.684783 |
401121bcd3854fddd850ca580ec48c5bb44e8a24 | 4,702 | package aima.test.core.unit.probability.bayes.exact;
import org.junit.Assert;
import org.junit.Test;
import aima.core.probability.CategoricalDistribution;
import aima.core.probability.ProbabilityModel;
import aima.core.probability.RandomVariable;
import aima.core.probability.bayes.BayesInference;
import aima.core.pro... | 36.449612 | 70 | 0.725649 |
18a9a619055b435cfb9422c7dd5c37ab7adbc46b | 1,080 | package com.taikor.opensdk;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.X509TrustManager;
/**
* Created by Carey on 2016/7/13.
*/
public class TaikorX509TrustManager implements X509TrustManager {
/*
* The default X509TrustManager returned ... | 27 | 76 | 0.688889 |
760f4f11e26162fab12a4d5ed59a063c6352277f | 10,117 | /**
* 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... | 25.54798 | 91 | 0.631017 |
d26365ee7f5ab5501f09c5c286f17efe173b8d4a | 563 | package manifold.api.gen;
/**
*/
public class SrcGetProperty extends AbstractSrcMethod<SrcGetProperty>
{
public SrcGetProperty( String name, Class type )
{
this( null );
name( "get" + name );
returns( type );
}
public SrcGetProperty( String name, String type )
{
this( null );
name( "get... | 17.060606 | 69 | 0.609236 |
6da69e93cf749c8e0e51c3a68f1e61485898b8bc | 6,344 | package com.thinkgem.jeesite.modules.wlpt.webapi.user;
import com.thinkgem.jeesite.common.config.DataDic;
import com.thinkgem.jeesite.common.web.BaseController;
import com.thinkgem.jeesite.modules.sys.entity.User;
import com.thinkgem.jeesite.modules.sys.utils.UserUtils;
import com.thinkgem.jeesite.modules.wlpt.biz.qu... | 33.21466 | 146 | 0.75268 |
60ef44eb7f9b0c872c9195cc3d5bb29884a2f6e6 | 4,241 | /*
* Copyright (c) 2015 Intland Software (support@intland.com)
*/
package com.intland.jenkins.collector;
import com.intland.jenkins.util.TimeUtil;
import com.intland.jenkins.collector.dto.TestResultDto;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.Run;
import hudson.task... | 41.174757 | 142 | 0.626739 |
0656ca557dc701ed1fe894b5dab27c970058daa2 | 2,267 | package com.example.equinethermalglove.adapters;
import android.bluetooth.BluetoothDevice;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.example.equinethermalglove.R;
import java.util.ArrayLis... | 26.988095 | 78 | 0.654169 |
87d185d473f129d517a38956a3be67d58fa45da8 | 3,076 | /*
* 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... | 48.825397 | 138 | 0.744148 |
39fa4599e17a3985f525f9351d6f9dc9505f9a8b | 1,883 | /*
* File: UnivariateDistribution.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Jan 27, 2009, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* li... | 28.530303 | 81 | 0.655868 |
c30f670a16b08ff55a8f7fe46be37849267e2ffe | 2,770 | package z.hol.loadingstate.view;
import z.hol.loadingstate.BaseLoadingStateLayout;
import z.hol.loadingstate.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
/**
* Loading State view can set any c... | 31.477273 | 88 | 0.56065 |
28a8f60b713747c54a2c95624c314501d068279c | 3,003 | package com.sample.common.db;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.sql.DataSource;
import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Savepoint;
import java.sql.ResultSet;
abstract public class DbAc... | 34.125 | 89 | 0.562438 |
892437fab6547f2fb29831f1405e02db2c2de272 | 364 | package com.zq.serviceprovidersupport.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author zhouqi
* @desc
* @data 2020/8/2
*/
@RestController
public class Test1 {
@RequestMapping("service1")
public String t... | 19.157895 | 62 | 0.725275 |
a07acbf973cb2851951c4de3dd72b5f4fbc30dd3 | 1,790 | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide;
import com.intellij.ide.highlighter.JavaFileType;
import com.intellij.lang.java.JavaLanguage;
import com.intellij.openapi.fileTypes.FileType;
import com... | 36.530612 | 140 | 0.709497 |
4a2ca281e1526f749dcff1a45a1fc68a6cf18ecc | 7,160 | package com.hackag.fibimeter.output;
import be.quodlibet.boxable.BaseTable;
import be.quodlibet.boxable.datatable.DataTable;
import ch.qos.logback.classic.Level;
import org.apache.pdfbox.cos.COSName;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.... | 44.75 | 128 | 0.655726 |
010122f6300ef08494fd2d8a855edb10efd1d8d0 | 1,403 | package dev.elektronisch.dieter.server.organisation;
import dev.elektronisch.dieter.common.dto.organisation.Organisation;
import org.modelmapper.ModelMapper;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org... | 37.918919 | 116 | 0.791875 |
200cb4718eea06876185f3f84837312eee7e3cee | 5,340 | /*
* Copyright (C) 2020 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.index.type;
import java.time.LocalDate;
import java.time.YearMonth;
import org.joda.convert.FromString;
import org.joda.convert.ToString;
impor... | 34.901961 | 107 | 0.674157 |
47fe51d6bb0abb48a44916514c3dc64b547ece39 | 241 | package com.enderzombi102.cmt.zone;
public enum ZoneTypes {
CommandZone,
FunctionZone;
public static final int length = ZoneTypes.values().length;
public static ZoneTypes getType(int index) {
return ZoneTypes.values()[index];
}
}
| 17.214286 | 60 | 0.751037 |
6532fc08b20bb6842570b01eaff978c3a2c318a5 | 942 | /*
* ************************************************************
* 文件:SafeMutableLiveData.java 模块:lib-core 项目:component
* 当前修改时间:2019年04月23日 18:23:20
* 上次修改时间:2019年04月15日 22:51:47
* 作者:Cody.yi https://github.com/codyer
*
* 描述:lib-core
* Copyright (c) 2019
* ************************************************... | 21.409091 | 64 | 0.535032 |
a77e153e8195cb9973f7a6e0d1f2fe2eaec19338 | 1,803 | package module.base.baseframwork.base.retrofit;
import android.util.Log;
import java.net.ConnectException;
import java.net.SocketTimeoutException;
import java.net.UnknownHostException;
import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;
import retrofit2.HttpException;
public abstract class Si... | 26.514706 | 75 | 0.597338 |
392a0afb5100de6dc7a831220fb4b378ad4e8091 | 1,592 | package run.halo.app.cache.lock;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;
import o... | 21.226667 | 76 | 0.636307 |
be86235f718893bc6f0eab6a2f2f28e50015784b | 749 | package com.scienceminer.nerd.features;
import java.io.*;
import java.util.*;
import java.util.regex.*;
/**
* A features set for NERD ranker with basic features, entity embeddings similarity score
* and Wikidata entity identifiers (e.g via P31 relation)
*/
public class WikidataRankerFeatureVector extends Generic... | 26.75 | 90 | 0.753004 |
b66a843796433cc8cd484182bf76e8f872d66f28 | 16,954 | /*
* Entreri, an entity-component framework in Java
*
* Copyright (c) 2014, Michael Ludwig
* 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 reta... | 45.331551 | 133 | 0.593665 |
fbf198813feedc9d7b04d5760df9902203288c66 | 11,269 | //
// Copyright 2016 Cityzen Data
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 25.210291 | 125 | 0.578845 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.