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 |
|---|---|---|---|---|---|
ffcde8b55e72b94f8513981553d61b292c8b93cd | 494 | package sqlite.feature.in.case2;
import java.util.List;
import com.abubusoft.kripton.android.annotation.BindDao;
import com.abubusoft.kripton.android.annotation.BindSqlInsert;
import com.abubusoft.kripton.android.annotation.BindSqlParam;
import com.abubusoft.kripton.android.annotation.BindSqlSelect;
@BindDao(City.cl... | 24.7 | 62 | 0.789474 |
1a8e1bb0a0e398816af5c219eef5584f891fda07 | 5,866 | /*
* 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 n... | 32.40884 | 88 | 0.549267 |
a2af9eb1dd6c84f7419480e236619902d3579d6d | 1,929 | package com.snaker.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.snaker.common.annotation.Excel;
import com.snaker.common.core.domain.BaseEntity;
/**
* 用户喜好对象 sys_user_favor
*
* @author snaker
* @date 2020-12-02
*/
publi... | 20.09375 | 71 | 0.577501 |
4fbad07111a6d5d62c5f6c36be3609365cebd36a | 3,285 | package simulator.model;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
public class RoadMap {
private List<Junction> junctionList;
private List<Road> roadList;
private List<Veh... | 24.333333 | 138 | 0.709285 |
ddea00edd037dbcb152909a9309ab8ffa36127a1 | 336 | package io.netty.cases.chapter.demo18;
import io.netty.channel.socket.nio.NioSocketChannel;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by 李林峰 on 2018/9/6.
*/
public class HttpSessions {
public static Map<String, NioSocketChannel> channelMap = new ConcurrentH... | 22.4 | 88 | 0.729167 |
e9d94bc736508dc8964c831c497d7d4e83858728 | 931 | import java.text.DecimalFormat;
public class IPhone extends SmartPhone
{
protected int iMessages;
public static final double IMESSAGE_RATE = .35;
public IPhone (String numberIn, int textsIn, int minutesIn,
int dataIn, int iMessagesIn)
{
super(numberIn, textsIn, minutesIn, dataIn);
iMe... | 19.808511 | 67 | 0.598281 |
f6a5fc037a9efb0f1bb106e17545b8510d7d2259 | 1,124 | package org.sag.acminer.phases.acminer.dw;
import org.sag.acminer.database.defusegraph.id.Identifier;
public class UnknownConstant extends DataWrapper implements Constant {
/* We remove any soot identifying information because holding it does not
* give us any additional info and we want to make this in-line wit... | 24.977778 | 74 | 0.728648 |
df758a1e59f1e2ef5905398ba6bc0fe67a1ce7d5 | 3,415 | /*
* Copyright 2018 UGURCAN YILDIRIM
*
* 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... | 28.458333 | 93 | 0.686969 |
331094d5f021a194712f6cd3834a38f8723904b7 | 2,358 | package math.easy;
import java.util.ArrayList;
import java.util.List;
/**
* 412. Fizz Buzz
*
* @author yclimb
* @date 2020/12/29
*/
public class FizzBuzz {
public static void main(String[] args) {
test();
}
/**
* Fizz Buzz
* 写一个程序,输出从 1 到 n 数字的字符串表示。
*
* 1. 如果 n 是3的倍数,输出“... | 22.457143 | 84 | 0.409669 |
5d3e94a6ddf3b20cdc4f9f915c89e7ce4fb3abdf | 1,480 | /*
* Copyright 2017-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 33.636364 | 108 | 0.766216 |
fc37ab0debc35f76629769d0791004e7431cd8f2 | 335 | package org.parcore.api.client.auth;
/**
* PAR API
* <p>
* OAuthFlow
* <p>
* OpenAPI spec version: 1.0.0
* <p>
* This class is based on code auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*/
public enum OAuthFlow {
accessCode, implicit, password,... | 20.9375 | 84 | 0.695522 |
e6126e0495b6fda8b14d691bf97912952583a0a8 | 339 | package com.explore.dao;
import com.explore.pojo.Coach;
public interface CoachMapper {
int deleteByPrimaryKey(Integer id);
int insert(Coach record);
int insertSelective(Coach record);
Coach selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(Coach record);
int updateByPrimaryK... | 19.941176 | 50 | 0.752212 |
78c622f32181fc4a12f7eecfada139ed7341531c | 860 | package com.github.robsonbittencourt.salesparser.file.parser;
import com.github.robsonbittencourt.salesparser.domain.Salesman;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
@Service
final class SalesmanLineParser extends AbstractLineParser {
public static final int CPF_POSITION = 1... | 24.571429 | 65 | 0.706977 |
faa7636a4eabceff90f9c8195fa72f43dc4b0e34 | 6,304 | //
// Copyright (c) 2017-present, ViroMedia, Inc.
// 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 the ... | 44.083916 | 124 | 0.667513 |
0e466be6414eb049ad431d070170c2419f8ff049 | 10,974 | package de.pxlab.pxl;
import java.awt.*;
import java.util.ArrayList;
import de.pxlab.util.StringExt;
/**
* A paragraph of text. The text is shown in single line mode if it is only a
* single line of text and in paragraph mode if the text contains multiple
* lines. Single line mode is used if the text ob... | 32.467456 | 106 | 0.630126 |
42edd2888e7ac0f72be71e5f51fd9b2996745825 | 780 | package com.yuzhouwan.hacker.algorithms.leetcode.array;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Copyright @ 2019 yuzhouwan.com
* All right reserved.
* Function: com.yuzhouwan.hacker.algorithms.leetcode.array
*
* @author Benedict Jin
* @since 2016/9/6
*/
public class ShuffleAr... | 25.16129 | 83 | 0.64359 |
d7b500a569b1207052f44a3e74c29dd454c2fa2f | 16,854 | /*
(C) Copyright 2013-2016 The RISCOSS Project Consortium
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 appli... | 30.8117 | 146 | 0.683339 |
81f9c1d5888c3a6231c8ae1931bc88ed506421f3 | 1,352 | package keisuke.count.step.format;
import static keisuke.util.StringUtil.LINE_SEP;
import java.io.UnsupportedEncodingException;
import keisuke.StepCountResult;
import keisuke.count.FormatEnum;
import keisuke.count.util.EncodeUtil;
/**
* ステップ計測結果をCSV形式にフォーマットします。
*/
public class CSVFormatter extends AbstractForma... | 25.509434 | 72 | 0.68713 |
aa5b261da884ce6dea060e32091034fe509325e8 | 1,658 | /*
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone is distrib... | 39.47619 | 114 | 0.731001 |
a72f0251bc3e6e5f8e0660755c36cc5a5c4897dd | 823 | package com.yin.zk.config;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.RetryNTimes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.spring... | 34.291667 | 92 | 0.746051 |
431bb91d141c579c23534b7dfc7b343a623253bb | 3,005 | package com.luck.basemodule.base;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databi... | 29.174757 | 145 | 0.71614 |
107b14559654d98ab0e0226c9bcc93ef3f7c69cb | 4,485 | package de.axelspringer.ideas.team.mood.controller;
import com.github.jknack.handlebars.Handlebars;
import com.github.jknack.handlebars.Template;
import de.axelspringer.ideas.team.mood.TeamMoodApplication;
import de.axelspringer.ideas.team.mood.TeamMoodProperties;
import de.axelspringer.ideas.team.mood.TeamMoodWeek;
i... | 37.689076 | 143 | 0.673802 |
797b3d254bdfefc1ca83ecb0964779b5471d9842 | 15,410 | /*
* Copyright (c) 2022 Redlink GmbH.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 90.647059 | 177 | 0.744322 |
7a5953a4bc2e1327395e21d90c13b82035a4ed8a | 349 | package io.github.techdweebgaming.modularjda.api.commands.converters;
public class BooleanConverter implements IConverter<Boolean> {
@Override
public Boolean fromString(String string) {
return string.equalsIgnoreCase("true") || string.equalsIgnoreCase("t") || string.equalsIgnoreCase("yes") || string.eq... | 38.777778 | 145 | 0.747851 |
72b707ae28048b296bd8db310a0a380d69f5c2a5 | 317 | package com.damienfremont.blog;
import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.core.Application;
public class MyApplication extends Application {
@Override
public Set<Class<?>> getClasses() {
Set<Class<?>> s = new HashSet<Class<?>>();
s.add(StatusService.class);
return s;
}
} | 21.133333 | 48 | 0.700315 |
0c83aa912845fb12288ad9b9a249fef456920696 | 7,182 | public class BinarySearchTree implements TreeTAD<Integer> {
private Node<Integer> root;
public BinarySearchTree() {
this.root = null;
}
@Override
public Node<Integer> find(Integer obj) {
if (root == null) {
return null;
} else {
Node<Integer> aux = ... | 26.116364 | 90 | 0.491785 |
a6a9f41381565e7a28d87948f8cbe2a41039fb9d | 1,031 | package vangiaurecca.example.model;
public class SinhVien {
private int ma;
private String ten;
private double diemTB;
private XepLoai loai;
public int getMa() {
return ma;
}
public void setMa(int ma) {
this.ma = ma;
}
public String getTen() {
return ten;
}
public void setTen(String ten) {
this.ten ... | 17.775862 | 53 | 0.632396 |
33a69b8a91dd778c7035c1853c16fd8ce28cffd1 | 1,538 |
package mage.cards.s;
import java.util.UUID;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import static mage.filter... | 35.767442 | 150 | 0.757477 |
6d7695008e90ebc2199da7d18e4b9e117707125d | 1,438 | /*
* Copyright(c) 2016-2017 IBM, Red Hat, and others.
*
* 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 ... | 31.26087 | 134 | 0.722531 |
cb56410c2e8d4c44b295af68575763ff56f372cf | 30,399 | class A {
public static void uqc_q1 (String[] uznayLkM) {
;
return;
boolean D = !-new RgxKOS6_LBRg[ new void[ V8O2h_6RTyO()[ false.Wh()]].VJGPHzQm0t9Zw()].Kmy5jidzipG() = !369557521.gi3KlRt;
boolean[][][] LaH;
boolean[][] HLWUNxkYxyg1 = !new boolean[ -new boolean[ this.S]... | 39.893701 | 329 | 0.499194 |
5ddbd312df9b7b58a862df27d4debab9a0f1bfdc | 449 | package com.gangz.food.order.domain.order;
import com.gangz.food.order.applications.OrderItemDTO;
import com.gangz.food.order.infrastructure.user.UserId;
import java.util.List;
public class OrderFactory {
public Order create(UserId userId, List<OrderItemDTO> orderItems) {
Order order = new Order();
... | 28.0625 | 79 | 0.712695 |
b4202c97d08fbafec1d17c5f2a7b894565cbe8c7 | 66 | package com.zingson.jeasy.utils.encrypt;
public class Sha256 {
}
| 13.2 | 40 | 0.772727 |
39eadc5de4252656733505a2af76941ab10bdc55 | 2,944 | package org.zmsoft.common.mail;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import javax.mail.internet.MimeMessage;
import org.springframework.mail.MailException;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.java... | 27.514019 | 84 | 0.723505 |
6f83b7069db0a109b430be14c447596c0f7c068e | 2,079 | package com.kickstarter.ui.views;
import android.content.Context;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatDialog;
import android.widget.Button;
import com.kic... | 31.029851 | 93 | 0.787398 |
8b46b8987f24336dfd6c532d75ca658ceadd71fd | 1,137 | /*
* Owned by aizuddindeyn
* Visit https://gitlab.com/group-bear/mouse-automation
*/
package com.aizuddindeyn.mouse;
import java.text.MessageFormat;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
/**
* @author aizuddindeyn
* @date 11/7/2020
*/
class MouseRunnable imp... | 29.153846 | 105 | 0.652595 |
68fc40819bf67537ea2ba16f9055d6d90645fd42 | 3,363 | /*
* Copyright www.jingtum.com Inc.
*
* 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 Licens... | 46.708333 | 125 | 0.765388 |
60ef7c772a5c19897db31fa2d66790c51168654d | 1,355 | /***************************************************************************
* Copyright 2017 Kieker Project (http://kieker-monitoring.net)
*
* 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 a... | 24.196429 | 77 | 0.6 |
8cdc1b6db04bee43537f6da9ce2ee0037fe7f9b2 | 4,182 | package nl.haroid.webclient;
import nl.haroid.common.Utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.SocketTimeoutException;
import java.net.URISyntaxException;
import java.net.URL;
/**
* @... | 37.00885 | 122 | 0.580823 |
e6b20ba420705d7475558cdfecd396b4c58e2cec | 987 | package simple.example.kocheng.model;
public class Beruang {
private String jenis;
private String asal;
private String deskripsi;
private int drawableRes;
public Beruang(String jenis, String asal, String deskripsi, int drawableRes) {
this.jenis = jenis;
this.asal = asal;
t... | 20.142857 | 82 | 0.617021 |
a578436926a18d7519c0de4fdafc62f39fbee852 | 10,067 | /*
* Copyright (c) Numerical Method Inc.
* http://www.numericalmethod.com/
*
* THIS SOFTWARE IS LICENSED, NOT SOLD.
*
* YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE.
* IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE,
* DO NOT USE THIS SOFTWARE.
*
* THE SOFTWA... | 44.153509 | 272 | 0.628688 |
f6a1431e4fbc35f959ff122765a265c9128089c9 | 5,833 | package uk.nhs.cdss.transform.out.two;
import static java.util.Collections.singletonList;
import static org.apache.commons.lang3.ObjectUtils.defaultIfNull;
import java.time.Clock;
import java.time.Duration;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;... | 39.412162 | 100 | 0.776616 |
6c771cf610a0ecdf8c5c1930c0028844c04e4f9a | 72,489 | /*
* This file is part of Mixin, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | 34.273759 | 149 | 0.6147 |
1e4ef7f7bb4239eca3dce495c41f04553b11d263 | 11,113 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.test;
import com.google.common.collect.ImmutableList;
import com.yahoo.config.application.api.ApplicationPackage;
import com.yahoo.config.model.ConfigModelRegistry;
import com.yahoo.co... | 49.834081 | 164 | 0.660488 |
065d82fda65bdf4d8bc15618b7a6967be23f7dea | 392 | package samples.powermockito.junit4.bugs.github352;
import org.junit.Test;
/**
*
*/
public class MyTest extends MyAbstractTest {
//some setup code here
@Override
public void test1() {
//some test code here
}
@Override
public void test2() {
//some test code here
}
... | 14 | 51 | 0.589286 |
9115a01c8f9d9bced4993c19cc7f04ccd6b6a0b1 | 708 | package com.ctrip.framework.apollo.demo.spring;
import com.ctrip.framework.apollo.demo.spring.bean.AnnotatedBean;
import com.ctrip.framework.apollo.demo.spring.config.AppConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import java.util.Scanner;
/**
* @author Jason Song(song... | 28.32 | 92 | 0.752825 |
b07a0c9027b722acc5ada75548a4a9b2e283bf81 | 9,484 | /**
*
*/
package istc.bigdawg.migration;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util... | 32.040541 | 88 | 0.720793 |
9c4896e3d6c2994eeb499dbdc491cb3f56cc4568 | 625 | package com.geekhalo.ddd.lite.codegen.support.meta;
import com.squareup.javapoet.TypeName;
import lombok.AccessLevel;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;
@Setter(AccessLevel.PUBLIC)
public abstract class ModelSetterMeta extends ModelMethodMeta {
private TypeName type;
public fin... | 25 | 63 | 0.6688 |
ff2bcf42b63c83d111b675ff9ecfe7c5366b4792 | 3,207 | /*
* 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 ... | 30.836538 | 110 | 0.626754 |
7a94ce02cfce8fe600003b4199e7a767a6b7c6a9 | 7,374 | package jmss.formula.wl;
import jmss.formula.ClauseAbs;
import jmss.specificationCore.Solver;
import java.util.List;
import static java.lang.Math.abs;
/**
* 2016/02/15.
*/
public class ClauseWL extends ClauseAbs {
//Watches
private Integer moving = null;
private int movingIndex = -1;
private Inte... | 26.814545 | 101 | 0.514782 |
7e416afa78bc383b842c35e307acbbc9e7c1f518 | 777 | package com.guli.gulike.aoth.feign;
import com.guli.common.utils.R;
import com.guli.gulike.aoth.vo.SocialUserVo;
import com.guli.gulike.aoth.vo.UserLoginVo;
import com.guli.gulike.aoth.vo.UserRegistVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
i... | 25.064516 | 59 | 0.734878 |
abc98bb935d6b1d0cc548ba69e72248686992d36 | 1,602 | /*
* Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | 31.411765 | 93 | 0.750936 |
9ecce004122870b8057c387624030c0946b005f5 | 11,226 | package com.celeste.databases.core.util;
import java.lang.annotation.Annotation;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import lombok.AccessLevel;
import lombok.NoArgsConstructor... | 35.301887 | 100 | 0.732674 |
37a5efa556aca68854b975fdaa54a71bec4443ad | 5,248 | package com.fasterxml.jackson.dataformat.xml.misc;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubType... | 39.164179 | 140 | 0.686357 |
9c71a244cc68c50da74d325e15fd18ef2c810eb4 | 5,331 | /*
* Copyright 2008 The MemeDB Contributors (see 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 30.815029 | 115 | 0.716001 |
b827cf8cd7ee7f940a687e46f0a9a0411c609f5a | 4,833 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* 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... | 36.067164 | 148 | 0.695427 |
85cf3b2d0eb1aa5c51d847c77427bd644758e0fd | 182 | package com.sixliu.creditloan.workflow.dao;
/**
*@author:MG01867
*@date:2018年8月13日
*@E-mail:359852326@qq.com
*@version:
*@describe //TODO
*/
public interface BaseDao {
}
| 15.166667 | 44 | 0.681319 |
2d4567616b6cda8ed98a3013698bc00ab29532ce | 22,553 | /*
* (C) Copyright 2017 David Jennings
*
* 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 agr... | 34.696923 | 142 | 0.452357 |
5a6cab3d30a0dd879664a24aad9ec4ee42917089 | 1,014 | package network.gateway.broker;
import data.*;
import exception.RobinhoodException;
import org.joda.time.DateTime;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
public interface Broker {
Set<Instrument> getAllInstruments();
float getBuyingPower() throws Ro... | 28.971429 | 100 | 0.795858 |
78adb856f28b792b1d68e8ca8af66ca63296b1da | 42,824 | /*
* Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda)
* 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
*
* ... | 49.853318 | 132 | 0.566365 |
429426d3498b87cc66ef400d5e472418ca78667b | 2,731 | package com.actitime.tests.base;
import java.io.IOException;
import org.openqa.selenium.support.PageFactory;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import com.actitime.driver.Driver;
import com.actitime.driver.DriverFactory;
impo... | 34.1375 | 80 | 0.740388 |
ce60c04f69327d1a828589ed85a4f1ba4ab8d04a | 455 | package tally.load;
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
public class FileScannerModule extends AbstractModule {
@Override
protected void configure() {
}
@Provides
FileScanner provideFileScanner(DataLoader dataLoader) {
//return new RecursiveFileScanner(dataLoade... | 23.947368 | 59 | 0.753846 |
42b5b1618c5cc59be667ab5add9e656c4ce15b38 | 1,771 | /**
* Package groovy_parallel_patterns.functionals.pipelines provides a number of processes that can be used as
* a component in larger networks. Each process comprises a network of
* other processes, typically, Worker, WorkerTerminating and Collect.<p>
* The processes are supplied in a number of different variati... | 38.5 | 108 | 0.742518 |
38dfb863d601624f01f7805ea1df21128c240385 | 3,406 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 34.06 | 77 | 0.707575 |
588435999bb97f7ec4d7e4cc0a1f677a636819a6 | 4,147 | package club.javalearn.admin.config;
import club.javalearn.admin.shiro.DefaultAuthorizingRealm;
import club.javalearn.admin.shiro.JwtFilter;
import club.javalearn.admin.shiro.LoginLimitHashedCredentialsMatcher;
import net.sf.ehcache.CacheManager;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.mgt... | 31.9 | 117 | 0.734507 |
d9a0ab985963fc057e75368a7aa391efeaaa4859 | 2,394 | /*
* #%L
* =====================================================
* _____ _ ____ _ _ _ _
* |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | |
* | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| |
* | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ |
* |_| |_| \__,_|___/... | 29.925 | 98 | 0.631161 |
1185339b2b61ccde6913ac4a911fb07dd9c86f77 | 11,461 | package com.mcxiaoke.next.ui.widget.v7;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.res.Resources;
import android.net.... | 27.616867 | 128 | 0.605445 |
2f634bb69ef62e9486f90258b0b1a408d3fb900e | 12,425 | /*
* Copyright [2012-2014] PayPal 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 applica... | 53.787879 | 120 | 0.669698 |
81fdb5c9cf4ae78658cf8a4e81db9488f379c382 | 7,440 | /*
* Copyright 2016-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 32.068966 | 134 | 0.760753 |
916ee785a39c9d44f6f87bfeb139407d781330c2 | 919 | package com.arrival.unit.listener;
import org.testng.ITestResult;
import org.testng.SkipException;
import org.testng.TestListenerAdapter;
/**
* @author: Aaron Kutekidila
* @version: 1.0
* Created: 27.11.2015.
* @since: 1.0
* Package: com.arrival.unit.listener
*/
public class TestListener extends TestListenerAd... | 26.257143 | 67 | 0.639826 |
d15469b244be11da4e29e33bbaa3e5e74394d8c5 | 3,424 | package org.dncf.client;
import org.dncf.handler.ChildChannelHandler;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.channel.Channel;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.socket.nio.NioSocketChannel;... | 28.533333 | 88 | 0.634346 |
08425648c432d174d71a2b28240dc72e94dfc782 | 2,125 | /*
* Copyright 2017 Bahman Movaqar
*
* 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 ... | 23.351648 | 75 | 0.660706 |
17660f5697b1ccac645ee3ee14115c6a9bfe65a4 | 3,276 | package properties;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.regex.Pattern;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
... | 27.3 | 108 | 0.715812 |
c035ad4d5e2397009901df8ab13d71ed79230222 | 9,718 | /*******************************************************************************
* Cloud Foundry
* Copyright (c) [2009-2014] Pivotal Software, Inc. All Rights Reserved.
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except ... | 48.834171 | 146 | 0.708479 |
19d0855a57ae221ca127f58520c94fcf7057c658 | 4,779 | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... | 35.4 | 152 | 0.67127 |
cb13d81ed5d8c4ac255a3c00930c30e597b54058 | 638 | package github.rpcappmodel.domain;
import java.io.Serializable;
public class DataIdTreeTuple implements Serializable {
private static final long serialVersionUID = 1L;
private int dataType = 0;
private int subDataType = 0;
private long dataId = 0;
public int getDataType() {
return dataType;
}
public void ... | 17.243243 | 54 | 0.731975 |
c97ff6116af0ba457cab6933110d6cba3f351d2b | 16,730 | package org.kuali.coeus.propdev.impl.budget.nonpersonnel;
import org.apache.commons.lang3.StringUtils;
import org.kuali.coeus.common.budget.framework.core.Budget;
import org.kuali.coeus.common.budget.framework.core.BudgetConstants;
import org.kuali.coeus.common.budget.framework.nonpersonnel.ApplyToPeriodsBudgetEvent;... | 64.346154 | 182 | 0.793425 |
d9c1a31af83cd45770f417b774efa6daca01a053 | 2,530 | package combos;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
public class ArchivoMunicipios {
private static String nombreArchivo = "Municipios.dat";
private RandomAccessFile archivo;
public ArchivoMunicipios() throws FileNotFound... | 29.418605 | 103 | 0.739921 |
60d1d11fcfd44b66fd9a3a7e2a6fcfeb1032d2cd | 17,621 | package com.appnext.base.b;
import android.app.ActivityManager;
import android.app.AppOpsManager;
import android.app.usage.UsageStats;
import android.app.usage.UsageStatsManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveIn... | 41.36385 | 165 | 0.524488 |
cd5e0c362b92630633a93a1fdd85baf8741ede7e | 189 | package com.sap.olingo.jpa.processor.core.testmodel;
import com.sap.olingo.jpa.metadata.core.edm.annotation.EdmEnumeration;
@EdmEnumeration()
public enum ABCClassifiaction {
A, B, C;
}
| 21 | 70 | 0.783069 |
0c9057cd2aa444e281d6ae712fec29e2884300bd | 2,095 | import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class DependencyExample {
DependencyManager dependencyManager;
public DependencyExample() {
dependencyManager = new DependencyManager();
}
p... | 34.916667 | 126 | 0.591885 |
6681ea5aedde523e0a4d3f9c080badd79fee93a6 | 1,717 | /*
* Copyright 2003 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 applic... | 33.019231 | 87 | 0.655795 |
264b9daa4f94f6c52bee13f30cec191a2a42c060 | 5,330 | package com.autuan.common.utils.excel;
import org.apache.commons.io.FilenameUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io... | 35.533333 | 129 | 0.547092 |
2bc78b5b7c3f7f354d96dc0220bab1819ca6d8ff | 914 | package com.open.framework.supports.customform.entity;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* @Author hsj
* @Description 自定义表单子表对象
* @Date 2019-03-25 09:23:00
**/
@Data
@Accessors(chai... | 17.576923 | 54 | 0.654267 |
0b11e008d24ac9413d044748707be62f2c16b6ef | 613 | /**Created by wangzhuozhou on 2015/08/01.
* Copyright © 2015-2018 Sensors Data Inc. All rights reserved. */
package com.sensorsdata.analytics.android.sdk;
public class SensorsDataGPSLocation {
/**
* 纬度
*/
private long latitude;
/**
* 经度
*/
private long longitude;
public lon... | 18.575758 | 66 | 0.615008 |
33cf8d4724c395fd823b436ad13ccb582e1108a9 | 1,298 | package com.beaver.drools.exampl.drools_operations;
import com.beaver.drools.example.fact.Person;
import com.beaver.drools.util.KieSessionUtil;
import org.kie.api.runtime.StatelessKieSession;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
/**
* The "collect" keyword is used to find all the eleme... | 33.282051 | 129 | 0.686441 |
375e2cdbe01429bb355536e8974bfe9c4c78c0e3 | 1,516 | package io.github.a5h73y.carz.other;
import io.github.a5h73y.carz.Carz;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
/**
* Delay sensitive tasks.
*/
public enum DelayTasks {
INSTANCE;
private final Map<String, Long> delays = n... | 24.451613 | 86 | 0.601583 |
520410cfd440fba49e7a9aad1dc390db82cdfc28 | 278 | package Model;
public class Zombie {
private boolean isAlive = true;
/*On instantiation creates a Zombie*/
public Zombie(){
}
public boolean isAlive(){
return isAlive;
}
public void kill(){
isAlive = false;
}
}
| 16.352941 | 42 | 0.553957 |
c78b0ed742f38e7c9904d954656655c0dd55d4d1 | 1,535 | package com.w1sh.medusa;
import com.w1sh.medusa.core.Instance;
import com.w1sh.medusa.services.SlashCommandService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigur... | 32.659574 | 100 | 0.727036 |
dfe689bd03f83d2d4937f6b9d059a203322f0232 | 3,800 | package de.schkola.kitchenscanner.task;
import de.schkola.kitchenscanner.database.Allergy;
import de.schkola.kitchenscanner.database.Customer;
import de.schkola.kitchenscanner.database.LunchDatabase;
import de.schkola.kitchenscanner.util.StringUtil;
import java.io.IOException;
import java.io.InputStream;
import java.n... | 35.185185 | 104 | 0.602632 |
776775ffb53edb4c10c9b5ee94817f90b7262eba | 2,123 | package com.laninhacompany.ecommerce.models;
import java.time.LocalDate;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
i... | 21.444444 | 114 | 0.758832 |
7eb6cde01a494b5fe1cf480db6d4bc2532d3c15a | 168 | package no.nav.foreldrepenger.mottak.gsak.api;
import java.util.List;
public interface GsakSakAdapter {
void ping();
List<GsakSak> finnSaker(String fnr);
}
| 15.272727 | 46 | 0.732143 |
25b1f813b7f0199685c8b3c9cbdfe2ab31f14f34 | 276 | package com.helospark.tactview.ui.javafx.tabs;
public class TabActiveRequest {
private String editorId;
public TabActiveRequest(String curveEditorId) {
this.editorId = curveEditorId;
}
public String getEditorId() {
return editorId;
}
}
| 18.4 | 51 | 0.688406 |
704f042b011e778895f6a78a9cb8694da8039ebb | 2,861 | package orm;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColu... | 23.644628 | 124 | 0.76267 |
d2030ba58824cce6e1cf19f2f21eb249f75ebf5e | 3,829 | /**
* 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... | 43.511364 | 91 | 0.749021 |
24c0f4aff577332cdcf90a856917661ac4e12f9c | 10,710 | /**
* Copyright 2019 ForgeRock AS.
*
* 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, ... | 32.553191 | 260 | 0.664052 |
7f8149e4852a050d39b708c45b4c9981a32e2905 | 763 | package io.connectedhealth_idaas.eventbuilder.dataobjects.financial.hipaa;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
public class M13 {
private String M13_01_StandardCarrierAlphaCode;
private String M13_02_LocationIdentifier;
private String M13_03_AmendmentTypeCode;
private String M13_04_Billo... | 38.15 | 76 | 0.885976 |
26ecc4a6c9e7bcdc6973ad52e0e56bcc27d3c402 | 1,180 | package frostillicus.controller;
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseEvent;
import com.ibm.xsp.extlib.util.ExtLibUtil;
import lotus.domino.*;
public class BasicXPageController implements XPageController {
private static final long serialVersionUID = 1L;
public BasicXPag... | 31.052632 | 81 | 0.765254 |
0d7a7cabc85e6dee3231bad30673dee1f45e0276 | 7,597 | /*******************************************************************************
* Copyright 2012 Geoscience Australia
*
* 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
*
* ht... | 29.445736 | 109 | 0.634593 |
7ca8157b3af5b37efcd5cfdc6f88b71a68e8d265 | 382 | package shapesMitApfel;
/**
* Beschreiben Sie hier die Klasse Picture.
*
* @author Denise Schmitz
* @since 31.01.2021
*/
public class Picture
{
Circle sonne, mond;
public Picture()
{
sonne = new Circle();
sonne.moveUp();
mond = new Circle();
}
public void makeVisible()
{
... | 14.692308 | 43 | 0.58377 |
47c558035bf200f39c054208174af6c188881f63 | 6,676 | package com.zyl.melife.camera.model;
import android.content.Context;
import com.zyl.melife.ICameraData;
/**
* Created by yuyidong on 15/7/17.
*/
public class AbsCameraModel implements ICameraModel {
private boolean mIsBind = false;
private ICameraData mCameraService;
// private LocationClient mLocati... | 33.717172 | 168 | 0.587178 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.