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 |
|---|---|---|---|---|---|
33ffc9ba42fc0f40227f5418b699cd44abf3258d | 651 | package me.zeroX150.cornos.features.module.impl.external;
import me.zeroX150.cornos.features.module.Module;
import me.zeroX150.cornos.features.module.ModuleType;
public class BudgetGraphics extends Module {
boolean prev;
public BudgetGraphics() {
super("BudgetGraphics", "Makes the client visuals ugly... | 23.25 | 106 | 0.680492 |
67273f83364f7404f696976ac900173cabf080f9 | 118 | package com.esotericsoftware.reflectasm;
public abstract class PublicConstructorAccess extends ConstructorAccess {
}
| 23.6 | 73 | 0.864407 |
20de88df7f3d686544e47005bcec3708b1e312e8 | 718 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the repository root.
package com.microsoft.tfs.core.clients.workitem.category;
/**
* A work item category.
*
* @since TEE-SDK-10.1
*/
public interface Category {
/**
* @return the work item type categor... | 21.757576 | 78 | 0.628134 |
76234c7e9b8a014470c46324859cb8f94f6560e6 | 126 | package org.mindidea.circle.setter;
public class TestC {
private TestA a;
public void setA(TestA a) {
this.a = a;
}
}
| 11.454545 | 35 | 0.674603 |
eda41d63bd7a1aec563d71c771334ae5130ae361 | 141 | package com.huifer.source.spring.ann;
import org.springframework.stereotype.Service;
@Service(value = "dhc")
public class DemoService {
}
| 15.666667 | 46 | 0.77305 |
844304ac41931007da708c0eefd111ac8e6116ee | 2,389 | /*
* Copyright 2019 Doordeck Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 41.189655 | 81 | 0.747593 |
9450202e03db6ebe79e29108dfb54fda5d3a4345 | 3,103 | /*
* Copyright (c) 2017-2020 Evolveum
*
* 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... | 18.580838 | 80 | 0.700935 |
0d32527cc36919d36861cfc610abcd2d356b2e27 | 135 | package L15;
public class StackFullException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
}
| 12.272727 | 51 | 0.703704 |
585504155accaa9d2f08406827439904572e2df2 | 7,226 | package com.example.rtuschedule;
public class Programs {
public static Program AD = getAD();
public static Program FI = getFI();
public static Program IT1 = getIT1();
public static Program IT2 = getIT2();
public static Program getProgram(int id) {
switch(id) {
case 0: return AD;
case 1: return AD;
ca... | 51.248227 | 137 | 0.77152 |
bddd2fe808ac487c1cee2a2dac64b12b801ffb2d | 514 | package me.zhengjie.modules.process.service.mapper;
import me.zhengjie.mapper.EntityMapper;
import me.zhengjie.modules.process.domain.ProcessRecipe;
import me.zhengjie.modules.process.service.dto.ProcessRecipeDTO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author jie
* @date 2019-04-0... | 32.125 | 92 | 0.805447 |
89d40548c2e8d15cf95d55092a64fc1c8899626b | 1,582 | /*
* Zynaptic Stash - An asynchronous persistence framework for Java.
*
* Copyright (c) 2009-2019, Zynaptic Limited.
*
* 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.... | 33.659574 | 80 | 0.749684 |
72edf38cf7c9197738116606f30e1e688215fc3a | 42,535 | /*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this lis... | 36.63652 | 165 | 0.638063 |
64c844537052d9d849fadfca7bbd4dcca2fe98be | 854 | //package jTraverser;
import java.beans.*;
import java.awt.*;
public class NodeInfoPropertyEditor implements PropertyEditor {
protected Data data;
public void setValue(Object o){data = (Data)o;}
public Object getValue() {return data;}
public void setAsText(String s){}
public String getAsText() {re... | 40.666667 | 72 | 0.738876 |
1db8172639d5a21d4a21920d2008cbb4a0161437 | 5,463 | package com.example.springboot.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.example.springboot.Utils.LogGenerate;
import com.example.springboot.pojo.Country;
import com.example.springboot.pojo.SingleData;
import org.springframew... | 31.396552 | 105 | 0.574593 |
2a0371b5941446131c07b898ab3dbd65f719affb | 6,027 | import java.util.*;
class HW6 {
public static String pantherID() {
return "002354500";
}
/**
Your adjacency matrix:
[null, null, 11, null, 6, null, 13]
[null, null, 3, null, null, 3, 1]
[ 11, 3, null, null, null, 14, null]
[null, null, null, null, null, 8, 14]
[ 6, null, null,... | 40.18 | 82 | 0.396383 |
8d6b56d5e164457dc23f3cccaddf17ea5738d65f | 771 | package org.jboss.weld.tests.annotatedType.superclass;
import org.jboss.weld.util.annotated.ForwardingAnnotatedType;
import javax.enterprise.event.Observes;
import javax.enterprise.inject.spi.AnnotatedType;
import javax.enterprise.inject.spi.Extension;
import javax.enterprise.inject.spi.ProcessAnnotatedType;
/**
* ... | 32.125 | 83 | 0.727626 |
343e4155ceb06e1e2eac52c0407cf8e5b27f25c5 | 2,677 | package com.livos.companionplants.plants;
import android.content.Context;
import android.graphics.Color;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.livos.companionplants.R;
import com.livos.companionplants.dat... | 38.797101 | 146 | 0.713859 |
327215cfa65f382ebcf104c4dff9dd8859023b8c | 1,771 | package E2020_07_18And19;
import java.util.Scanner;
public class P02AddBags {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double luggagePriceOver20 = Double.parseDouble(scanner.nextLine());
double luggageWeight = Double.parseDouble(scanner... | 37.680851 | 95 | 0.52908 |
293d799c3bc1f05b30c36dee89129bf01537724c | 4,339 | package com.jonathanrobertson.spotless;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.gradle.api.Plugin;
import org.gradle.api.Proj... | 35.276423 | 146 | 0.705923 |
8cfc473e25037e72606b2a754be1b4c21d5e8a73 | 6,140 | /*
* This file is part of JICI, licensed under the MIT License (MIT).
*
* Copyright (c) 2015-2016 Aleksi Sapon <http://sapon.ca/jici/>
*
* 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... | 39.358974 | 93 | 0.636156 |
fe1dcf083b7214165ebc38616858fcfce42f2448 | 352 | package gnu.kawa.format;
import gnu.lists.Consumer;
public interface Printable
{
// Tempting to do: void print (Appendable out);
// in the JAVA5 case. However, then we have to deal
// with the complication that the append methods
// in Appendable are specified as 'throws IOException'.
// Sigh. Maybe later.... | 27.076923 | 57 | 0.71875 |
8965c2b7baab9559cfc99c4398ed781effeaf05e | 572 | package org.walkframework.batis.bean;
import org.apache.ibatis.executor.BatchExecutor;
/**
* @author shf675
*
*/
public class Batch {
private BatchExecutor batchExecutor;
private int counter;
public Batch(int counter){
this.counter = counter;
}
public BatchExecutor getBatchExecutor(... | 16.342857 | 61 | 0.671329 |
456b25bb5e0ebd128b0ad42c03d7fa709543c694 | 890 | package edu.fiuba.algo3.tp2N10.Modelo.Pregunta;
import edu.fiuba.algo3.tp2N10.Modelo.Respuesta.RespuestaOrderedChoice;
import java.util.List;
public class PreguntaOrderedChoice extends Pregunta {
public PreguntaOrderedChoice(String enunciado, List<String> opciones, List<Integer> ordenCorrecto) {
this.en... | 34.230769 | 104 | 0.695506 |
b6f10cd36c19215cdcbde987dda21a6f5c12eb4b | 3,168 | package dao.entities;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Temporal;
@Entity
public class Chirurgi... | 20.842105 | 115 | 0.720013 |
4f5860d88a3e67255ef030bc8b56466451bc7ee3 | 4,114 | package com.mytools.classmodifier.processor;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.JOptionPane;
import javax.swing.SwingWorker;
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
import org.fife.ui.rtextarea.RTextScrollPane;
imp... | 33.447154 | 69 | 0.624696 |
e4166c369b4caaaa6ec76e847c2ee7b1720c6ca6 | 1,644 | package com.pog.generator.entity;
import lombok.Data;
import java.io.Serializable;
public class ColumnEntity implements Serializable {
// 每列的名字
private String columnName;
// 数据类型
private String dataType;
// 数据属性 eg: PRI UNI
private String columnKey;
// 列的注释
private String comment;
... | 20.04878 | 51 | 0.640511 |
3b52a2ae8cdc9b67d6dd45ece6c389b791a2a7cb | 13,700 | /****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2016-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... | 39.941691 | 157 | 0.677007 |
8df625e74faf236e7a212ff5d0287b7f572c14f4 | 3,108 | package ru.stqa.pft.addressbook.tests;
import com.thoughtworks.xstream.XStream;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.AddData;
import ru.stqa.pft.addressbook.model.Contacts;
import java.io.BufferedReader;
import java.io.File;
import java.i... | 38.85 | 161 | 0.682432 |
12783cb4939c7ce59cc6c3d9c3e85bba048d2438 | 3,463 | /*
* Copyright (c) 2016 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.prism;
import static org.assertj.core.api.Assertions.assertThat;
import static com.evolveum.midpoint.pr... | 38.910112 | 136 | 0.713832 |
63b14367ba49b0c683d733558b2d651a5ffb84ed | 1,159 | /*
* Copyright 2014 Daniel Kurka
*
* 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 ... | 24.145833 | 84 | 0.69629 |
8ef859b9ce85da282f37ce49f0062df845e904a8 | 184 | package cn.byk.pandora.sample.base;
import cn.byk.pandora.libs.base.BaseActivity;
/**
* Created by Byk on 2018/8/20.
**/
public abstract class AppActivity extends BaseActivity {
}
| 18.4 | 56 | 0.744565 |
e0153638477de068aa6462c2b40366583cf28c79 | 2,545 | /*
* 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 ... | 26.510417 | 83 | 0.763065 |
013469360d2eab08192e4f6b7ad77e9b55f4e658 | 200 | package com.cloudTop.starshare.ui.wangyi.main.reminder;
public class ReminderId {
final static public int INVALID = -1;
final static public int SESSION = 0;
final static public int CONTACT = 1;
}
| 25 | 55 | 0.76 |
d38ecf97e023760628fcfa91d3e3d5c33581855c | 6,448 | /*
* Copyright 2016-2019 Tim Boudreau, Frédéric Yvon Vinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 32.24 | 177 | 0.560639 |
07d2caf6be4152ac9afe973e14e0d9074e3b47c8 | 1,371 | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2012
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www... | 33.439024 | 120 | 0.723559 |
02a75217cf30e80e3561f71fb69ae672cb10de3e | 7,190 | package com.example.neuralstyler;
import android.Manifest;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
impor... | 34.7343 | 134 | 0.687065 |
a23c529be0a0a47ed66d245e106e2886493a66de | 17,953 | /* ***** BEGIN LICENSE BLOCK *****
Version: Apache 2.0/GPL 3.0/LGPL 3.0
CCT - Computational Chemistry Tools
Jamberoo - Java Molecules Editor
Copyright 2008-2015 Dr. Vladislav Vasilyev
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with... | 34.001894 | 128 | 0.572551 |
a9097ee644b78d19ebea455b3b46f139c728c8f1 | 1,499 | package org.codehaus.plexus.configuration.xml;
import org.codehaus.plexus.configuration.DefaultPlexusConfiguration;
import org.codehaus.plexus.configuration.PlexusConfiguration;
import org.codehaus.plexus.util.xml.Xpp3Dom;
public final class XmlPlexusConfiguration
extends DefaultPlexusConfiguration
{
... | 18.280488 | 84 | 0.625751 |
64706cd981cec316aba5e2733441177ad2a0d0a8 | 70,329 | package jp.gr.java_conf.abagames.bulletml;
import org.w3c.dom.*;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.net.*;
import java.text.DateFormat;
import java.text.ParseException;
import ja... | 30.792032 | 152 | 0.597847 |
e198e83349090f4b8227b5af03b1239930bbe397 | 4,921 | /*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* Copyright 2013 - 2021 Aurelian Tutuianu
*
* 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
*
* h... | 32.163399 | 147 | 0.642146 |
84b4c530bc03a0bd14d5e293d585b6d98799fb28 | 5,893 | package com.nankung.common.module.widget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.animation.AnimationUtils;
import android.view.animation.LayoutAnimationController;
import androidx.annotation.A... | 38.019355 | 117 | 0.687256 |
6ac59a7ee9d4f249da827fe8f745b58eda1d6692 | 1,701 | package com.braintreepayments.api.models;
import android.os.Parcel;
import org.json.JSONException;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricGradleTestRunner;
import static com.braintreepayments.testutils.FixturesHelper.stringFromFixture;
import static junit.framework.... | 38.659091 | 118 | 0.733098 |
353280eb21806f7ee2d3750a584124c136197cdc | 1,448 | package com.lolzdev.fabriccomputers.items;
import com.lolzdev.fabriccomputers.FabricComputers;
import com.lolzdev.fabriccomputers.blocks.Blocks;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.item.BlockItem;
import net.minecraft.item.ItemGroup;
import net.minecraft.util.Identifier;
imp... | 65.818182 | 206 | 0.790746 |
4de83afd8da00ced1108b1f0a6cab752c411d811 | 17,211 | /*
* This file is part of Sponge, 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 "Softwar... | 38.938914 | 150 | 0.627215 |
db55c09d69df95c1e3bfe3189e7af8174eb0c40b | 5,643 | package com.yunzhu.module.common.utils;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.telephony.TelephonyManager;
import android.util.Log;
import androidx.core.app.ActivityCompat;
import java.io.File;
import java.io.FileInputStream;
import java.io.I... | 33.589286 | 133 | 0.575049 |
f6731da15529f1785c06f3f006af73280a4346c7 | 768 | /*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.task.api;
/**
* Created with IntelliJ IDEA.
* User: mederly
* Date: 27.4.2012
* Time: 20:59
*... | 22.588235 | 67 | 0.679688 |
30177e360153c5439e97b5d5b412feb4ec9b11e2 | 11,558 | package com.platon.contracts.ppos;
import com.platon.abi.solidity.datatypes.BytesType;
import com.platon.abi.solidity.datatypes.generated.Uint16;
import com.platon.abi.solidity.datatypes.generated.Uint256;
import com.platon.abi.solidity.datatypes.generated.Uint64;
import com.platon.bech32.Bech32;
import com.platon.con... | 39.179661 | 182 | 0.701938 |
816fc05c834213983660d836a7e6f2b7da5aaef3 | 608 | package ferixx.test.mod;
import ferixx.test.mod.block.ModBlocks;
import ferixx.test.mod.item.ModItems;
import ferixx.test.mod.util.ModLootTableModifiers;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.fabricmc.api.ModInitializer;
public class TestMod implements ModInit... | 27.636364 | 66 | 0.794408 |
8878704d09b61be108cf6bc58c1c836d80eb6086 | 2,730 | package com.kong.alex.sharkfeed.di;
import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import com.kong.alex.sharkfeed.SharkFeedApp;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.Fragment... | 32.891566 | 142 | 0.610623 |
2ea5bdba7a108c5257ac1413603d1297045b57df | 1,813 | package com.meteo.coolweather;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.meteo.coolweather.db.County;
import java.util.List;
/**
* Created by meteo on 2017/3/15.
*/
public ... | 28.777778 | 104 | 0.661335 |
5c2cd960de05570e79aeef182f693ec5b235ea1e | 8,490 | package eu.domaindriven.ddq.hal;
import org.jboss.resteasy.core.ResteasyContext;
import javax.json.bind.annotation.JsonbTransient;
import javax.json.bind.serializer.JsonbSerializer;
import javax.json.bind.serializer.SerializationContext;
import javax.json.stream.JsonGenerator;
import javax.ws.rs.core.Link;
import jav... | 40.04717 | 157 | 0.648645 |
61af43b1661145c1d3fa780694c5dc29380fcf7d | 2,822 | /*
* 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... | 40.898551 | 97 | 0.704819 |
b8546cd0bbffb8a1fda2b97d8c30bb488e83ce39 | 10,030 | package seedu.eylah.expensesplitter.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.eylah.expensesplitter.testutil.TypicalPersons.getTypicalPersonAmoun... | 35.192982 | 111 | 0.688534 |
7c5bbaca361a6baa7ad5c9dd95688d3b277c9751 | 616 | package org.apache.spark.sql.catalyst.expressions.aggregate;
public class Percentile$ extends scala.runtime.AbstractFunction5<org.apache.spark.sql.catalyst.expressions.Expression, org.apache.spark.sql.catalyst.expressions.Expression, org.apache.spark.sql.catalyst.expressions.Expression, java.lang.Object, java.lang.Obj... | 68.444444 | 359 | 0.792208 |
b4636ce471dd5fd277e8f4ce9196cf1879ef64a6 | 493 | package ru.job4j.array;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Тест сортировки пузырьком.
*
* @author Andrey Sumin
* @since 18.02.2018
*/
public class BubbleSortTest {
@Test
public void testSort() {
BubbleSort sort = new BubbleSort();
int[] result = new int[]{8, 9... | 21.434783 | 65 | 0.586207 |
fc085f8c6a7839ceaf5b54d4b5e822d52de82cdf | 90 | package com.coder163.service;
public interface IUserService {
void showMessage();
}
| 12.857143 | 31 | 0.744444 |
47d4a0cb9dd238130473472056e146dbc86164b8 | 644 | package com.saucelabs.simplesauce;
import org.openqa.selenium.MutableCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import java.net.MalformedURLException;
import java.net.URL;
public class SauceDriverImpl implements SauceRemoteDriver {
private RemoteWebDriver remoteDriver;
public RemoteWeb... | 26.833333 | 105 | 0.762422 |
3d45c48b9b9c1a4a5672871bd790e6cba9f03418 | 2,937 | package com.car.controller;
import com.alibaba.fastjson.JSONArray;
import com.car.domain.Car;
import com.car.mysql.impl.CarManagementImpl;
import com.car.service.UserService;
import com.car.service.VehicleService;
import com.car.utils.RootVoUtils;
import com.car.vo.RootVo;
import org.springframework.beans.factory.anno... | 28.794118 | 102 | 0.683691 |
18833fcc82eb3bd24293c498c7014ee226207628 | 166 | class SearchResult{
String[] words; // strings matched for this url
String url; // url matching search query
long frequency; //number of hits for page
} | 33.2 | 51 | 0.692771 |
8f97d1a7cc1ef8debca649e10c8fe94ff47419fb | 3,403 | /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Copyright (c) 2019, Eldar Timraleev (aka CRaFT4ik).
+
+ 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
+
... | 26.795276 | 111 | 0.642962 |
5027e372fd9b2e53729f888abbec45a8bf35bcfe | 1,080 | /* DungeonDiver4: A Dungeon-Solving Game
Copyright (C) 2008-2010 Eric Ahnell
Any questions should be directed to the author via email at: DungeonDiver4@worldwizard.net
*/
package com.puttysoftware.dungeondiver4.dungeon.objects;
import com.puttysoftware.dungeondiver4.dungeon.abc.AbstractBow;
import com.puttysoftware... | 29.189189 | 138 | 0.726852 |
7e5c14671b2622230d8e479b91b55aa61f23936c | 4,597 | /*
* Open Advancement Question Answering (OAQA) Project Copyright 2016 Carnegie Mellon University
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 37.373984 | 124 | 0.731782 |
e4e625180f9c933879e07f6ec63de6525f13afbc | 1,315 | package com.example.p2pen;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class KeySettingActivity extends AppCompatActivity {
private Button keySet... | 31.309524 | 89 | 0.636502 |
37f9ff95a614e898f35663d0c3f05b7e1f0df894 | 1,697 | package com.liquidlabs.vso.container;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.liquidlabs.vso.work.InvokableUI;
public interface Consumer {
Metric[] collectMetrics();
int getUsedResourceCount();
/**
* SLA driven release (called from Remove event)
* @param template TOD... | 26.107692 | 141 | 0.74779 |
28ac5f8dbf30eeaff92133f463c98f41e43a64fc | 2,933 | package org.firstinspires.ftc.teamcode;
//import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.hardware.DcMotor;
@Autonomous(name = "CraterPark", group = "Exercise... | 24.441667 | 103 | 0.63314 |
fbc99887f1044ad738cb84e7fddd5c4344f509fc | 261 | public class SquareApplication {
public static void main(String[] args) {
double root;
double myroot;
root = 1048576;
myroot = SquareRoot.sqrtRoot(root);
System.out.println("The root is: " + myroot);
}
}
| 26.1 | 54 | 0.574713 |
73b08c5e69c6a482a045e8a6b29db469906ed800 | 2,305 | package com.bolyartech.forge.server.response.forge;
import java.util.HashMap;
import java.util.Map;
/**
* Class containing basic response codes for Forge endpoints
*/
public class BasicResponseCodes {
/**
* Codes for OK
*/
@SuppressWarnings("SameParameterValue")
public enum Oks implements For... | 24.521277 | 119 | 0.545336 |
831c38f7d9386fb3b5d7669883d587d1486c11f1 | 2,251 | package gov.va.med.imaging.access;
public interface TransactionLogEntry
{
public abstract Long getStartTime();
public abstract Long getElapsedTime();
public abstract String getPatientIcn();
public abstract String getQueryType();
public abstract String getQueryFilter();
public abstract String getCommandClas... | 22.969388 | 60 | 0.795646 |
942726c9e804bfa42d18b92faf613216435684f3 | 3,964 | package edu.perphy.enger;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import androi... | 37.046729 | 95 | 0.64329 |
9d1b251288e7fe1dbeb9f41033226c5f5e3e91e5 | 2,459 | package io.reactivex.internal.operators.flowable;
import io.reactivex.Flowable;
import io.reactivex.MaybeObserver;
import io.reactivex.MaybeSource;
import io.reactivex.disposables.Disposable;
import io.reactivex.internal.disposables.DisposableHelper;
import io.reactivex.internal.subscribers.SinglePostCompleteSubscribe... | 34.152778 | 119 | 0.663684 |
dd8577584a6aa90f407b5b32cba92c2faa82ed1e | 2,598 | package com.xieh.security;
import com.xieh.handler.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.config.annotation... | 41.238095 | 111 | 0.827175 |
acb06070ffa173a5136d5e1f44eec346f0cbfa0e | 1,418 | package org.bouncycastle.tls.crypto.impl.jcajce;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.security.KeyPair;
import javax.crypto.interfaces.DHPrivateKey;
import javax.crypto.interfaces.DHPublicKey;
import org.bouncycastle.tls.crypto.TlsAgreement;
import org.bouncycastle.t... | 27.269231 | 110 | 0.708039 |
3021d47892acaec7674c9a1c429a7ea4e95a910e | 5,355 | package jfluentvalidation.validators.rulefor.bigdecimals;
import jfluentvalidation.ValidationResult;
import jfluentvalidation.validators.DefaultValidator;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import java.math.BigDecim... | 35.939597 | 139 | 0.70887 |
4ecc1f8cbf0ed7f9110000252ce9333c9c68bcec | 977 | package com.g_node.gca.abstracts.pojo;
public class AbstractAffiliationIdPosition {
private String Abstract_UUID;
private String Affiliation_UUID;
private int Affiliation_position;
public AbstractAffiliationIdPosition(String abstract_UUID,
String affiliation_UUID, int affiliation_position) {
super();
... | 17.140351 | 64 | 0.785056 |
82b99abc129c10f6e2e6c5dcb65fc8e9e60ef3b5 | 4,075 | /*
Copyright (c) 2000-2018, Board of Trustees of Leland Stanford Jr. University,
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice... | 23.970588 | 80 | 0.656933 |
1297fbeb6274253ac62ce7fb895b870f2a055564 | 6,808 | // Copyright 2020 The Whiley Project Developers
//
// 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... | 26.698039 | 104 | 0.641745 |
21e9afd30e5eb839f78d70c7f4dc5345beea893c | 2,082 | package com.implisense.ecep.api.sandbox;
import com.google.common.base.Charsets;
import com.google.common.collect.Multiset;
import com.google.common.collect.TreeMultiset;
import com.implisense.ecep.api.data.CompaniesHouseFormatParser;
import com.implisense.ecep.api.data.Sic03ToSic07Converter;
import com.implisense.ece... | 43.375 | 115 | 0.642651 |
830dde42b1020e180788abe98c648bc925e73972 | 6,492 | package com.monnet.versionnumber;
import org.testng.Assert;
import org.testng.annotations.Test;
public class VersionNumberTest {
@Test
public void testVersionNumber_compareTo_lessThan_equalVersionIdentifierFields() {
final VersionNumber sourceVersionNumber = new VersionNumber("2.1");
final Ver... | 51.52381 | 106 | 0.763401 |
d867e1221b11dfdfe74f988c91643b83707cc4d1 | 2,267 | package cl.tavor.bancointeligente.activities;
import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import c... | 33.835821 | 105 | 0.696074 |
b3d5fd9cdeaa8cd24f53b8d4a9c61d03afc27d69 | 144 | package org.zstack.header.image;
/**
* Created by GuoYi on 8/16/18.
*/
public enum ImageBootMode {
Legacy,
UEFI,
UEFI_WITH_CSM
}
| 13.090909 | 32 | 0.652778 |
e3d747be0cf75ad804cf3288cc1b99f604ead99d | 3,562 | /*
* 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 ... | 31.803571 | 99 | 0.664234 |
001336edf7e5358be8ec0ffede8069e47757cd80 | 288 | package com.piekoszek.nowaksharedrent.jwt.exceptions;
public class InvalidTokenException extends RuntimeException {
public InvalidTokenException() {
super("Provided token is invalid");
}
public InvalidTokenException(String message) {
super(message);
}
} | 24 | 61 | 0.722222 |
e712f20b948f4d9a6032d9bc77103dc2803940f7 | 229 | package perobobbot.lang;
public interface GatewayChannels {
String PLATFORM_MESSAGES = "chatChannel";
String EVENT_MESSAGES = "eventChannel";
String PLATFORM_NOTIFICATION_MESSAGES = "platformNotificationChannel";
}
| 25.444444 | 74 | 0.786026 |
bd11ae0d3561800f7747b6e181a3fbf54a7a1378 | 1,487 | package com.example.caikeplan.activity;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.W... | 33.044444 | 93 | 0.756557 |
0c78d24be87f43770f14e2e25199324e680a6130 | 2,801 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
... | 32.952941 | 79 | 0.656551 |
4f96074130bb02ba9dbbf79cefeb30c98d12f453 | 352 | /*
* 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 brightstar;
public class loginRecord {
public String userName;
public String time;
public String date;
pu... | 20.705882 | 79 | 0.698864 |
e5b03bb7ac0ee95f43e84b1cd3ad1454603922df | 716 | package ggc.app.lookups;
/**
* Messages.
*/
interface Message {
/** @return string prompting for product identifier */
static String requestProductKey() {
return "Identificador do produto: ";
}
/** @return string prompting for a partner identifier. */
static String requestPartnerKey() {
return "I... | 21.058824 | 59 | 0.664804 |
13722f5f9dcfb9ed6a40c2c97dd23e4f30aa7604 | 735 | package com.abubusoft.kripton.processor.bind.transform.util;
import com.abubusoft.kripton.common.Pair;
import com.abubusoft.kripton.processor.bind.transform.BindTransform;
import com.google.common.collect.Lists;
import java.util.*;
import static com.abubusoft.kripton.common.Pair.of;
public abstract class UtilsTrans... | 36.75 | 112 | 0.756463 |
bec2581a77cb85040d3be12f84f5a98f74d81411 | 179 | package potato.skyus.dotcontacts;
import java.util.ArrayList;
public class Contact
{
String displayName;
ArrayList<String> phoneNumbers;
ArrayList<String> emails;
}
| 16.272727 | 35 | 0.75419 |
a3d4678d01c7a685e42a08650880f8ab1e5bc4ed | 2,338 | package com.ailiwean.core.view.style1;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import com.ailiwean.core.view.ScanLightViewCallBack... | 23.38 | 93 | 0.627459 |
c1ab9a154e46e9ee132d53a5433ea870abbdb176 | 660 | package net.codejava.Controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import net.codejava.Model.Today;
import net.codejava.View.TodayRepository;
@Service
public class TodayService {
@Autowired
private TodayRepository r... | 15 | 62 | 0.721212 |
18a2247cf737cb44dbf278d3d1e3d58f62c297c6 | 199 | package dataProcess.model.modelMapper;
import dataProcess.model.OriginAdult;
public interface OriginAdultMapper {
int insert(OriginAdult record);
int insertSelective(OriginAdult record);
} | 22.111111 | 44 | 0.80402 |
262477f1f501b8c86d8322ce28159b3cab3edc92 | 1,687 | package org.minimalj.frontend.impl.vaadin.toolkit;
import java.util.ArrayList;
import java.util.List;
import org.minimalj.frontend.Frontend.Input;
import org.minimalj.frontend.Frontend.InputComponentListener;
import org.minimalj.model.Rendering;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.ItemCaptionGenerato... | 26.359375 | 94 | 0.744517 |
7273bc721fad421c30ead4ae49c165e7e49c8b6d | 2,670 | /**
*/
package CIM.IEC61970.SCADA;
import CIM.IEC61970.Core.IdentifiedObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Remote Point</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link CIM.IEC61970.SCADA.RemotePoi... | 46.842105 | 410 | 0.707491 |
68238e03c26295ba001a5e729c5dc41ba51563ea | 3,743 | /*
* Copyright 2008-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 30.185484 | 90 | 0.636388 |
064633551f75345a25d5a102d0cfe648974b8907 | 2,482 |
//==============================================================================
// WIT-J Java Source File AttBldrCOR.java.
//==============================================================================
package com.ibm.witj;
import static com.ibm.witj.Utility.*;
//===========================================... | 35.971014 | 80 | 0.321112 |
05ef038321691adbab36b1765e04c3ec8e9b0ed8 | 16,233 | package br.com.basis.madre.web.rest;
import br.com.basis.madre.InternacaoApp;
import br.com.basis.madre.domain.TipoDoEventoLeito;
import br.com.basis.madre.repository.TipoDoEventoLeitoRepository;
import br.com.basis.madre.repository.search.TipoDoEventoLeitoSearchRepository;
import br.com.basis.madre.service.TipoDoEven... | 45.343575 | 134 | 0.747798 |
858e29057d4303d6d381588e73c8e33a8f3cbc12 | 9,533 | /**
* 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... | 44.339535 | 132 | 0.703661 |
79ed373ad00865c6d7b1edea514b1cea0ea49090 | 3,625 | /*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 21.837349 | 99 | 0.625655 |
c03ac617a431b35154d7da4499b4b26ee077206c | 197 | /*
*
*/
package edu.cpp.cs445;
public class Vector3Float {
public float x, y, z;
public Vector3Float(int x, int y, int z){
this.x=x;
this.y=y;
this.z=z;
}
}
| 13.133333 | 45 | 0.522843 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.