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 |
|---|---|---|---|---|---|
2b9a1be65586ba49a820243035b5a50f50da7041 | 450 | package evolutions;
import org.junit.Test;
import play.db.Database;
import play.db.evolutions.Evolutions;
import utils.WithFlowUpApplication;
public class EvolutionsTest extends WithFlowUpApplication {
@Test
public void executesUpAndDownEvolutionsWithoutErrors() {
Database database = app.injector().i... | 25 | 70 | 0.764444 |
fc4c94716081efc2a0229c475fe78c4adf14c11e | 1,014 | package com.aswin.dao;
public class DBConstants {
public static final String SCHEMA = "Super_Market";
public class User {
public static final String CUSTOMERTABLE = "Customer";
public static final String REPTABLE = "S_Representative";
public static final String BillTABLE = "Bill";
public static final String ... | 44.086957 | 73 | 0.754438 |
cdc94c44c545994d782fcfadc72e74840f60f50d | 1,916 | import java.util.*;
import java.util.function.Consumer;
import java.util.function.Predicate;
public class MapDistricts {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<String> tokens = Arrays.asList(scanner.nextLine().split(" "));
int bound = Integer... | 38.32 | 115 | 0.573591 |
29cbfc5bf62b1928f395e6856b5d17ce37a56465 | 15,148 | package ru.r2cloud.jradio.ledsat;
import java.io.DataInputStream;
import java.io.IOException;
import ru.r2cloud.jradio.util.StreamUtils;
public class LedSatTelemetry {
private int telemetryId;
private int unixMillis;
private long unixSeconds;
private int tlmProcessTimeMillis;
private int panelXVoltage;
privat... | 23.126718 | 74 | 0.767626 |
8da47436876c562159b904165a15de38b3fe4260 | 1,401 | package malekire.devilrycraft.util;
import jdk.nashorn.internal.ir.Block;
import malekire.devilrycraft.Devilrycraft;
import malekire.devilrycraft.items.PortableHole;
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.item... | 45.193548 | 133 | 0.797288 |
4250e842031d97810743f0e09f92ce08127500ee | 14,856 | /**
*
*
* The MIT License : http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Kowshik Prakasam
* 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 restrict... | 28.297143 | 166 | 0.719305 |
3486a81eddfe272ae2f8e402acb83bdc1589eac2 | 467 | package com.touhidapps.databindingexample.model;
public class Person {
public String firstName;
public String lastName;
public String imgUrl;
public Person(String firstName, String lastName, String imgUrl) {
this.firstName = firstName;
this.lastName = lastName;
this.imgUrl = i... | 23.35 | 69 | 0.670236 |
c32be047243e5cbabd01dffda989d98f0d4f916e | 849 | package org.fz.nettyx.codec;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageCodec;
import java.nio.charset.Charset;
import java.util.List;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
/**
* @author fengbinbin
* @v... | 25.727273 | 108 | 0.763251 |
c1c9e5bf4decebea436421f7e6f851efb92de0ee | 729 | package org.openscience.sherlock.dbservice.dataset.db.service;
import org.openscience.sherlock.dbservice.dataset.db.model.MultiplicitySectionsSettingsRecord;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
public interface MultiplicitySectionsSettingsService {
Mono<Long> count();
Flu... | 30.375 | 94 | 0.806584 |
a87b4013470a073b78c449f20d46a58a08cde4c7 | 85 | package com.gewei.commons.ueditor.define;
public enum ActionState {
UNKNOW_ERROR
}
| 14.166667 | 41 | 0.8 |
3d79d333e13de96832a43aa2bacb612d383936c0 | 1,566 | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package net.hcriots.hcfactions.persist.maps;
import net.hcriots.hcfactions.persist.PersistMap;
import org.bson.types.ObjectId;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class ChatSpyMap exten... | 22.371429 | 79 | 0.607918 |
6b497315b9c175e9b141ab093b3479fe6c32d889 | 4,525 | /*
* Copyright 2018 Google, Inc.
*
* 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 ... | 36.788618 | 126 | 0.722652 |
6b16877a7f52fd35c435421e49099347e45470e4 | 2,755 | /*******************************************************************************
* Copyright 2013 SAP AG
*
* 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/l... | 34.012346 | 131 | 0.704537 |
12252f760807411f9058a84726168214d97aa632 | 2,685 | package io.iconator.core.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.iconator.commons.model.db.SaleTier.StatusType;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.... | 22.190083 | 94 | 0.634264 |
bb59e1ef17750879b2f711819e186c47deebd7e5 | 8,063 | package org.springframework.context.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import example.scannable.DefaultNamedComponent;
import org.junit.Test;
import org.springframework.beans.factory... | 40.114428 | 176 | 0.811733 |
0e47608ccd8eb327561b002b1323fa369e7e55d3 | 7,866 | package com.braintreepayments.api;
import android.content.Context;
import com.braintreepayments.api.interfaces.BraintreeErrorListener;
import com.braintreepayments.api.interfaces.HttpResponseCallback;
import com.braintreepayments.api.internal.ManifestValidator;
import com.braintreepayments.api.models.Authorization;
i... | 43.458564 | 144 | 0.680651 |
85149a5a55598ec2230ca4ddbaa801f1d8863b76 | 1,755 | /**
* Siox_Segmentation plug-in for ImageJ and Fiji.
* 2009 Ignacio Arganda-Carreras, Johannes Schindelin, Stephan Saalfeld
*
* 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 (http://www.gn... | 24.041096 | 86 | 0.711681 |
9fd20faa36cef4b21380f3279aaf24e72dcd0bee | 898 | package com.planet.shop.admin.service.impl;
import com.planet.shop.mbg.mapper.UmsMemberLevelMapper;
import com.planet.shop.mbg.model.UmsMemberLevel;
import com.planet.shop.mbg.model.UmsMemberLevelExample;
import com.planet.shop.admin.service.UmsMemberLevelService;
import org.springframework.beans.factory.annotation.Au... | 33.259259 | 73 | 0.796214 |
65eac618516559a406064dde9838be7de8313f8f | 304 | package com.ref.interfaces.activityDiagram;
public interface IActivity extends INamedElement{
IActivityDiagram getActivityDiagram();
void setActivityDiagram(IActivityDiagram activityDiagram);
IActivityNode[] getActivityNodes();
void setName(String nameAD);
IPartition [] getPartitions();
}
| 19 | 59 | 0.802632 |
866d92295f2d0d08bf27b510be08c94610f3c251 | 1,858 | package com.bjit.finalproject.service;
import com.bjit.finalproject.model.Employee;
import com.bjit.finalproject.model.Leaves;
import com.bjit.finalproject.repository.EmployeesRepository;
import com.bjit.finalproject.repository.LeavesRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org... | 30.966667 | 100 | 0.662002 |
8e82ec022b26099e128553790446cf6a9081033a | 3,400 | /* ===========================================================================
* Copyright (C) 2017 CapsicoHealth Inc.
*
* 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:/... | 26.356589 | 179 | 0.656176 |
008afb2a99f87f3494960876a7159260310bbb75 | 5,649 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | 31.038462 | 108 | 0.679589 |
0288acee9cbedafbc66b15296e1e745591e9046c | 57,584 | /*
* Copyright 2010-2015 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... | 52.829358 | 201 | 0.633058 |
f13dc159c3089587520db56cb4c69a61fd1c7f85 | 1,197 | package my.lux.brand.addressbook.tests;
import my.lux.brand.addressbook.model.GroupData;
import my.lux.brand.addressbook.model.Groups;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import java.util.Set;
import static org.hamcrest.CoreMatchers.equalTo;
impor... | 29.925 | 68 | 0.642439 |
5aa431ff55d29a14eabe0a75f7e655b31d2d4f16 | 2,486 | /*
* 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.317073 | 75 | 0.708769 |
e5cf4ecc825a60ec643d4d3fd34b980b28f3b7e6 | 2,190 | package model;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.List;
@Entity
@NoArgsConstructor
@AllArgsConstructor
// Consulta para obtener todos
@NamedQuery(name = "Departamento.findAll", query = "SELECT d FROM departamento d")
// Consulta para obtene... | 28.441558 | 125 | 0.673973 |
0dc49f28d0859bdae3a4f623f3c709337a5a95fd | 25,709 | package demos.gettablecolumns;
import gudusoft.gsqlparser.*;
import gudusoft.gsqlparser.nodes.TColumnWithSortOrder;
import gudusoft.gsqlparser.nodes.TObjectName;
import gudusoft.gsqlparser.nodes.TTable;
import gudusoft.gsqlparser.nodes.TTypeName;
import gudusoft.gsqlparser.stmt.TStoredProcedureSqlStatement;
... | 36.885222 | 211 | 0.53561 |
85f11a0f3cd0972cd32aa29a22d71906ee28722e | 46,823 | // $ANTLR 3.1b1 gUnit.g 2008-05-14 15:52:07
package org.antlr.gunit;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
public class gUnitLexer extends Lexer {
public static final int RETVAL=7;
public static final int AST=10;
public static final int NEST... | 27.575383 | 197 | 0.371655 |
904c0f39e8da24d5c614011272ef0ed44cf2f3de | 466 | package javapolymorphism;
public class Circle extends Shape {
private double radius;
Circle(double r) {
radius = r;
}
@Override
public void draw() {
System.out.println("Circle.draw(), radius = "+radius);
}
@Override
public void erase() {
System.out.println("Circl... | 22.190476 | 62 | 0.596567 |
86c415a4f1b847095d9bcd32772fe5ced2e3a9ea | 4,780 | /*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.internal.model.source;
import java.util.Map;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.type.TypeMirror;
import o... | 33.661972 | 116 | 0.653975 |
1a22e346c9ab0b2cca41fea3a7a35df6ffd8f8a5 | 2,173 | package info.sleeplessacorn.nomagi.core.data;
import info.sleeplessacorn.nomagi.Nomagi;
import net.minecraft.client.resources.I18n;
import net.minecraft.nbt.CompressedStreamTools;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.gen.structure.template.Temp... | 31.955882 | 97 | 0.687989 |
6675241a9371aac4a98e0c4c6ec2b702bf07f7d1 | 225 | package com.avanse.springboot.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.avanse.springboot.model.Header;
public interface HeaderRepository extends JpaRepository<Header, Long> {
}
| 22.5 | 71 | 0.831111 |
732eef710ad1ec87391f41d86a2ec5da333611d3 | 658 | package com.infdot.net.event.server;
import com.infdot.net.event.Output;
import com.infdot.net.event.User;
import com.infdot.net.event.message.Message;
/**
* Client representation on the server side.
*
* @author Raivo Laanemets
*/
public abstract class Client extends User {
private final Output output;
private... | 21.225806 | 60 | 0.758359 |
2b628aa30d338dd53cef1f07274d216fc9f3df83 | 7,786 | package com.howietian.chenyan.competition;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.v... | 31.144 | 103 | 0.601336 |
615a9fe2bfbec4813527468fb6d0d2af2b5337c6 | 2,350 | package com.sap.cloud.lm.sl.cf.core.parser;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.cloudfoundry.client.lib.domain.CloudTask;
import org.cloudfoundry.client.lib.domain.ImmutableCloudTask;
import com.sap.cloud.lm.sl.cf.core.validators.p... | 38.52459 | 132 | 0.631489 |
e3f45aa702c92cabe27851115e25ef30b8b8bd5b | 640 | package org.openvasp.client.service;
import org.openvasp.client.model.EncryptionType;
import org.openvasp.client.model.Topic;
import org.openvasp.client.model.VaspMessage;
/**
* @author Olexandr_Bilovol@epam.com
*/
public interface MessageService {
void send(
Topic topic,
EncryptionType... | 22.068966 | 49 | 0.6375 |
59e42c0f521f6a026005b2bdba847172fa7c6823 | 1,650 | package com.web.produce.dao;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.... | 41.25 | 121 | 0.785455 |
c6877f018c8d5f6c63d7b08124456593819ab16a | 3,600 | package com.stylefeng.guns.core.log.factory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.stylefeng.guns.common.constant.enums.LogSucceed;
import com.stylefeng.guns.common.constant.enums.LogType;
import com.stylefeng.guns.common.persistence.model.logs.LoginLog;
import com.stylefeng.guns.common.... | 37.894737 | 139 | 0.586111 |
86dccd5763106af238fa2823655e2e46da6be1b8 | 2,659 | // Copyright 2000-2019 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.codeInsight;
import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Proje... | 44.316667 | 153 | 0.793155 |
7a34e28c55702903835aa2eedb63e924d4cbab16 | 183 | package org.thingworld.event;
public interface IEventMgr
{
String getTypeName();
String renderEntity(Event obj) throws Exception ;
Event rehydrate(String json) throws Exception;
} | 22.875 | 50 | 0.797814 |
85e6c7647c5783d9ef5998e901b413bc4af4ffdb | 324 | package ArrayAssignment;
class ArrayProduct
{
public static void main(String []args)
{
int arr1[]=new int[]{1,2,3,4,5};
int arr2[]=new int []{5,6,7,8,9};
int product=0;
for(int i=0;i<arr1.length;i++)
{
for(int j=0;j<arr2.length;j++)
{
product = arr1[i]* arr2[j];
}
}
System.out.println(product);
... | 14.727273 | 39 | 0.604938 |
2ef60042d4f2cd48e910301aed6198ac32a97651 | 659 | package de.dlr.ivf.tapas.execution.sequential.action;
import de.dlr.ivf.tapas.plan.TPS_PlanningContext;
import de.dlr.ivf.tapas.execution.sequential.communication.TPS_HouseholdCarMediator;
public class TPS_CarCheckInAction implements TPS_PlanStateAction {
private TPS_HouseholdCarMediator car_mediator;
privat... | 28.652174 | 95 | 0.757208 |
96f51b446d578acba251a27ffbda4d101f4aefb0 | 2,560 | package seedu.thanepark.logic.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.thanepark.commons.core.Messages.MESSAGE_RIDES_LISTED_OVERVIEW;
import static seedu.thanepark.logic.commands.CommandTestUtil.ass... | 39.384615 | 93 | 0.761328 |
b12444cface029589f8585ff101cba1cab085869 | 3,551 | package org.bpmscript.exec.java;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
import junit.framework.TestCase;
import org.bpmscript.benchmark.Benchmark;
import org.bpmscript.benchmark.IBenchmarkCallback;
import org.bpmscript.benchmark.IBenchmarkPrinter;
import org.bpmscript.benchm... | 46.723684 | 130 | 0.642636 |
f501c0cdad1c6c3d0903e8859b961402a25a4105 | 4,233 | /*
* 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 ... | 41.5 | 120 | 0.513111 |
a816d8276cba41e78339fc6aed2bc2308f0f515a | 1,414 | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 申请电子签章
*
* @author auto create
* @since 1.0, 2022-05-31 15:23:26
*/
public class AlipayDataBillEreceiptApplyModel extends AlipayObject {
private static final long serialVersion... | 21.104478 | 69 | 0.687412 |
f748365a720fa412832753000cbda59495f82caf | 3,553 | /*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* 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 req... | 37.010417 | 101 | 0.726147 |
033ae575f503f08e2e6ce457ba9d77bbda35c433 | 3,526 | package com.ToxicBakery.app.screenshot_redaction.ocr.engine;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.annotation.IntRange;
import android.support.test.rule.ActivityTestRule;
impor... | 32.953271 | 109 | 0.711004 |
4d348b96823476f865c92e456f6fec42b7fb4ff2 | 422 | package fr.eurecom.adel.shell;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan("fr.eurecom.adel")
public class ADELShellApplication {
public stati... | 30.142857 | 68 | 0.824645 |
086670312061965f419f2be646921ba3d9e4dad7 | 2,867 | /*
* 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 ... | 32.213483 | 123 | 0.681549 |
4f91da2f1852c0755dc22b2f004af20a0b0e67fa | 16,139 | package com.CMS.CentralParam.KKBSK.controller;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import co... | 41.276215 | 127 | 0.76089 |
724cb74fc759b1f1c7ce4722716ea087b981e7f8 | 446 | package com.eu.habbo.plugin.events.users;
import com.eu.habbo.habbohotel.users.Habbo;
public class UserSavedSettingsEvent extends UserEvent
{
/**
* Fired when a user changes it settings regarding:
* - Volumes
* - Camera following
* - Ignoring room invites
* - Chat mode.
* @param habb... | 22.3 | 55 | 0.654709 |
d821c623cb6bd690bd6eda84a030a3e6f13a262b | 121 | %OPTION_NAME%.setArgs(%ARGS_COUNT%);
%OPTION_NAME%.setOptionalArg(false);
%OPTION_NAME%.setArgName("%ARG_DESCRIPTION%");
| 30.25 | 46 | 0.77686 |
f1cfda83ed7d366db54bc8567d25f23b818e79e9 | 4,746 | /*
* Copyright 2015-2017 EntIT Software LLC, a Micro Focus company.
*
* 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 req... | 45.634615 | 147 | 0.684366 |
0357470543eac905f300c3f55cc293e12e36e7ed | 376 | package com.Algorithm.Bubble_Sort;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import static org.junit.jupiter.api.Assertions.*;
class Bubble_SortTest {
@Test
void bubbleSort() {
int[] testArray={1042,33,4,67,5,89,123,456,777,3456,121,0,961127,-1,-122};
System.out.print(Arra... | 23.5 | 82 | 0.704787 |
515704c92421d1dbb2f1ec85ef20ae2575944719 | 1,937 | /*
* This file is part of dependency-check-core.
*
* 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 ... | 25.486842 | 75 | 0.655653 |
d33cf9dcd4ec31c8d3c98ee5eec4acd8bcf629ae | 7,012 | package com.project.convertedCode.globalNamespace.classes;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.classes.StaticBaseClass;
import com.runtimeconverter.runtime.classes.RuntimeClassBase;
import com.runtimeconverter.runtime.RuntimeEnv;
import com.runti... | 34.885572 | 118 | 0.655876 |
81c460912b877b3d7dca94e5c0367bca32f8f77d | 4,870 | package com.ironoid.fdsquiz;
import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.RatingBar;
im... | 35.547445 | 149 | 0.609651 |
3d8cb7750f86365b07257d2c160ed26fe194a7f7 | 462 | package ghissues;
import act.controller.annotation.UrlContext;
import act.util.PropertySpec;
import org.osgl.mvc.annotation.GetAction;
import org.osgl.util.*;
@UrlContext("866")
public class Gh866 extends BaseController {
public static class Foo {
public String name = S.random();
public int numbe... | 20.086957 | 44 | 0.670996 |
4bed1c5950964088499b78d2ca97f0e60346aa29 | 1,973 | package org.qianyan.prescriptionmanager.controller;
import org.qianyan.prescriptionmanager.domain.Prescription;
import org.qianyan.prescriptionmanager.domain.User;
import org.qianyan.prescriptionmanager.service.impl.PrescriptionServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebSer... | 32.344262 | 128 | 0.707552 |
7a7c8c6c2771f3dd2ea93a2104204927bd4cc3a8 | 251 | package samplr.domain;
public final class EventIds {
public final static String DATA_IN_MONGO_COMPLETED = "DATA_IN_MONGO_COMPLETED";
public final static String SAVE_IN_ORACLE_ERROR = "DATA_IN_ORACLE_FAILED";
private EventIds() {
}
}
| 25.1 | 83 | 0.760956 |
43aceefbf22c12a984a85a07d32a66c3781148b1 | 12,911 | package com.planet_ink.coffee_mud.WebMacros.grinder;
import com.planet_ink.coffee_mud.WebMacros.RoomData;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
impor... | 46.949091 | 120 | 0.540934 |
3531721eb120b8cfaa042697b5285bff8881040f | 12,008 | package com.baokaicong.android.bmusic.ui.activity;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.fragment.app.FragmentTransaction;
import android.app.Acti... | 34.016997 | 169 | 0.638408 |
4c93b744ea37b92b8849205219eee71cec4c29da | 1,463 | package br.com.mackenzie.appgamesvr.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.Gene... | 26.6 | 71 | 0.764183 |
10876fd93916dd25dba2f1c1c7ebad1b0344c050 | 3,797 | package uk.gov.hmcts.ccd.integrations;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.DisplayName;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import o... | 38.353535 | 114 | 0.758757 |
bd3616738fbcad11008c66b2d5baea7b76a853a1 | 746 | package de.adorsys.opba.protocol.facade.config.encryption;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class EncryptionProviderConfig {
@Bean
ConsentAuthorizationEncryptionServiceProvider consentAuthEncryptionProvider(... | 33.909091 | 129 | 0.808311 |
864e82180a1cb2b7bdeea17151bcd673183c1232 | 7,694 | package org.valid4j;
import org.hamcrest.Matcher;
import org.valid4j.provider.AssertiveInstance;
import org.valid4j.provider.AssertiveProvider;
import static org.valid4j.BooleanContractCondition.booleanContract;
import static org.valid4j.MatcherContractCondition.matcherContract;
import static org.valid4j.Message.desc... | 32.058333 | 112 | 0.699376 |
f826394fd0034a0f1a63edcc6e16bb11198b6c31 | 4,127 | package me.geek.tom.fallfest;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
import net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry;
import net.fabricmc.fabric.api.network.ClientSidePacketRegistry;
import net.fabricmc.fabric.api.... | 50.329268 | 161 | 0.55464 |
72e683cc7063bf831501d9f475d0f968f9b4b272 | 11,322 | package Spiellogik;
import GUIServer.IGUIServerCallback;
import KommunikationServer.IKommunikationServerCallback;
import Spieldaten.*;
public class Spiellogik implements ISpiellogik, ISpielkontrolle{
ISpieldaten daten = null;
public void setSpieldaten(ISpieldaten daten){
this.daten = daten;
}
... | 33.696429 | 129 | 0.628511 |
e44f57b30706c2e70eee616c965bcc19db62433a | 993 | package marubinotto.piggydb.ui.page.partial;
import marubinotto.piggydb.model.Fragment;
import marubinotto.piggydb.model.Tag;
public class AddTag extends AbstractPartial {
public Long fragmentId;
public Long tagId;
public Fragment fragment;
@Override
protected void setModels() throws Exception {
super.se... | 21.586957 | 75 | 0.698892 |
1c8722a8de22b8591b973a7c31d0fac1064395e3 | 604 | package app.com.cn.album.dao;
import java.util.List;
/**
* 作者:ArMn on 2016/3/6
* 邮箱:859686819@qq.com
*/
public class Category {
public String suffix;
public List<String> lists;
public Category(String suffix, List<String> lists) {
this.suffix = suffix;
this.lists = lists;
}
pub... | 17.764706 | 56 | 0.599338 |
1e3ad98cd14d6635943b8aba89fb1e274d3dcf85 | 4,244 | /*
* Copyright 2002-2006,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 requir... | 33.952 | 137 | 0.727144 |
169d7eea810ecb667a4b8396c467e578c30dc825 | 1,218 | package net.chrisrichardson.eventstore.javaexamples.banking.backend.common.transactions;
/*
case class TransferDetails(fromAccountId : EntityIdentifier, toAccountId : EntityIdentifier, amount : BigDecimal)
*/
import java.math.BigDecimal;
import java.util.Date;
public class TransferDetails {
private String fromA... | 22.555556 | 118 | 0.735632 |
f488c99e8511dae802e7ed36e925d1634f944794 | 594 | /*
* Copyright (c) Tarek Hosni El Alaoui 2017
*/
package de.dytanic.cloudnet.bridge.internal.serverselectors.packet.out;
import de.dytanic.cloudnet.lib.network.protocol.packet.Packet;
import de.dytanic.cloudnet.lib.network.protocol.packet.PacketRC;
import de.dytanic.cloudnet.lib.serverselectors.sign.Sign;
import de... | 28.285714 | 73 | 0.757576 |
546a8fbc9dfc929a136a8a792f6f6eea1da9efb6 | 998 | package com.ku.seoultrace.ranking;
public class MyItem {
String imgUrl;
String name;
int drawPoint;
int placeNumber;
MyItem() {
}
MyItem(String imgUrl, String name, int drawPoint, int placeNumber) {
this.imgUrl = imgUrl;
this.name = name;
this.drawPoint = drawPoint;
this.placeNumber = placeNumber... | 16.096774 | 71 | 0.675351 |
c7e63ed34f4c4c6c6c0136eb9703949cf99db34c | 1,633 | /*-
* #%L
* Coffee
* %%
* Copyright (C) 2020 i-Cell Mobilsoft Zrt.
* %%
* 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
*
* Unles... | 29.160714 | 99 | 0.690141 |
f11c84fbb2c196cb6873fbb448541422a77d5924 | 1,755 | package com.miotech.kun.metadata.databuilder.model;
import com.miotech.kun.metadata.core.model.dataset.DataStore;
import com.miotech.kun.workflow.core.model.lineage.*;
import org.junit.jupiter.api.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamc... | 33.75 | 94 | 0.716239 |
e1b7169203503ea0919717cec0c9787e182935a6 | 473 | /**
*/
package COSEM.COSEMObjects;
import COSEM.InterfaceClasses.S_FSKMACsynctimeouts;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>SFSKMAC Synchronization Timeouts</b></em>'.
* <!-- end-user-doc -->
*
*
* @see COSEM.COSEMObjects.COSEMObjectsPackage#getS_FSKMACSynchronizationTim... | 24.894737 | 91 | 0.742072 |
feb12f1bfc5b1a87d241349593bb8ca61ce5b884 | 1,191 | package me.ienze.twoDimMap.io;
import me.ienze.twoDimMap.MapLayer;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public abstract class MapImageWriter<T extends MapLayer> {
private ... | 26.466667 | 113 | 0.638959 |
94115ad05937dd1123b87342b9aa16969e2355af | 10,012 | /*******************************************************************************
* Copyright (C) 2016 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this w... | 56.247191 | 141 | 0.709349 |
71a9bc68ecaf74e848b74b241352dbb0fd615b58 | 2,052 | package com.brusic.elasticsearch.ingest.comprehend;
import com.brusic.aws.comprehend.service.DominantLanguageService;
import org.apache.lucene.util.LuceneTestCase;
import org.elasticsearch.ingest.IngestDocument;
import org.mockito.Mockito;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
... | 42.75 | 110 | 0.725634 |
42665c7ae2b5b7b0480a0af636953673eb9338b7 | 106,118 | // $ANTLR 3.5.1 /Users/feeley/Documents/Work/Teaching/SimpleMachine/Grammar/Source/Cli.g 2015-01-30 16:39:44
package grammar;
import ui.cli.UI;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
@SuppressWarnings("all")
public class CliParser extends Parser {
pu... | 30.310768 | 340 | 0.606221 |
ccf3c0790f85763729d2a9fc561084950fe6076d | 7,748 |
/*
* Copyright (c) 2019. http://devonline.academy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 42.338798 | 112 | 0.684951 |
4c06fb2629a1e3b530ca6282a3083caa339ab810 | 805 | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 38.333333 | 80 | 0.489441 |
5b1fdf20233315005531882ec7193a9edae78f69 | 619 | /*
* This code is free of charge and may be edited, distributed and executed in any form but it must be marked as being developed by BABautzen_WI16.
* This code is developed to not do any harm but the author is not responsible for any action done to the executing system.
*/
package org.wi16.counter;
import or... | 28.136364 | 147 | 0.672052 |
b406e4b931feba1caf08e3750e3c44403f185d79 | 506 | package com.yisu.starter.sample.controller;
import com.yisu.starter.sample.autoconfigure.service.SampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
publi... | 24.095238 | 67 | 0.780632 |
a67600227df80a0e8209c28f52ea6b5ee4a3c9b3 | 2,054 | /*
* Copyright 2014-2016 Media for Mobile
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 38.037037 | 118 | 0.712269 |
5223b87f39798bd978f032ca433276f328cec770 | 18,972 | /// *
// * Copyright (c) 2017. California Community Colleges Technology Center
// *
// * 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... | 35.133333 | 88 | 0.752952 |
236267537437242afc984f915bb0c014e5f640f1 | 1,742 | /*
* Copyright 2002-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... | 34.84 | 129 | 0.789897 |
123a9ac67264ee0f854cda468aa7896dbd7ed5cd | 987 | /*
* MIT Licence
* Copyright (c) 2021 Simon Frankenberger
*
* Please see LICENCE.md for complete licence text.
*/
package eu.fraho.spring.securityJwt.internal;
import eu.fraho.spring.securityJwt.base.service.RefreshTokenStore;
import eu.fraho.spring.securityJwt.base.ut.service.AbstractJwtTokenServiceWithRefreshTe... | 35.25 | 99 | 0.7923 |
14a2b3aaf1716d3c5a61b84caa7e56813718b546 | 1,060 | package com.chakans.elasticsearch.jamo.plugin;
import java.util.HashMap;
import java.util.Map;
import org.elasticsearch.index.analysis.TokenFilterFactory;
import org.elasticsearch.indices.analysis.AnalysisModule;
import org.elasticsearch.indices.analysis.AnalysisModule.AnalysisProvider;
import org.elasticsearch.plugi... | 35.333333 | 97 | 0.796226 |
48dad9362ab7bd6f32d9cddca4cc92005ecf753f | 663 | package cn.binarywang.wx.miniapp.api.impl;
import cn.binarywang.wx.miniapp.api.WxMaService;
import cn.binarywang.wx.miniapp.test.ApiTestModule;
import com.google.inject.Inject;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import java.io.File;
/**
* @author <a href="https://github.com/bin... | 24.555556 | 83 | 0.760181 |
27f2bfe5ea6ce4456fbc4b79b3295ac58c96657e | 7,982 | package b.j.a.c.e0;
import b.e.a.a.a;
import b.j.a.a.k;
import b.j.a.a.r;
import b.j.a.c.a0.g;
import b.j.a.c.b;
import b.j.a.c.c;
import b.j.a.c.i;
import b.j.a.c.j0.j;
import b.j.a.c.t;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.... | 29.783582 | 177 | 0.484089 |
93de57f7a47d8bc48d723c38ae938ff2c71c44bf | 7,252 | // tag::adocResource[]
package io.quarkus.workshop.superheroes.villain;
// end::adocResource[]
import org.eclipse.microprofile.metrics.MetricUnits;
import org.eclipse.microprofile.metrics.annotation.Counted;
import org.eclipse.microprofile.metrics.annotation.Timed;
import org.eclipse.microprofile.openapi.annotations.O... | 50.713287 | 216 | 0.719526 |
94c2510bf88af3a9a800c853e0cdd8a27e9b3d9f | 829 | package com.nowakArtur97.myMoments.feature.user.resource;
import com.nowakArtur97.myMoments.feature.user.entity.UserProfile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(description =... | 26.741935 | 66 | 0.765983 |
6ccee509ccf1a536c85da007c4d834e2290cffa5 | 2,990 | package org.opencb.oskar.analysis.variant.stats;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import org.opencb.biodata.models.variant.metadata.SampleVariantStats;
import org.opencb.commons.datastore.core.Ob... | 30.510204 | 114 | 0.693311 |
03e96f38285e1908420ae0704ab441be2c02c6b9 | 9,283 | class wc3D {
public static void ODx3 (String[] u1hMvYr) throws fUuiiC4J {
;
int ndKxTYg9fXe;
return;
{
if ( false[ 47273280.il1LGsNkiu()]) return;
boolean SJSJ2u_;
new XikP9G4WWy_().YLODyI0();
-CG[ true[ new boolean[ this.nXe9ZgX2hMwK][... | 36.261719 | 231 | 0.491975 |
7190e7c6b17412f87ed41b6c779dee26c76823ab | 1,455 | /*
* Copyright 2018 the original author or authors.
* Copyright 2018 SorcerSoft.org.
*
* 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.... | 31.630435 | 112 | 0.757388 |
c48b2800a1f843319d1365c71661398184f9a2fb | 2,865 | package org.testmonkeys;
import com.gargoylesoftware.htmlunit.BrowserVersion;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.firefox.FirefoxBinary;
import org.openqa.... | 40.928571 | 95 | 0.647818 |
3f940b164a01bfce86d60ec3fed43479a771f362 | 297 | package com.maxDeVos;
import java.util.ArrayList;
public class Division {
//Week 1 = B3:H6
//Week 2 = B9:H12
//Week 3 = B15:H18
//Week 4 = B21:H24
//Week 5 = B27:H30
String divisionName;
ArrayList<Team> teams = new ArrayList<Team>();
public void populateTeams(int week) {
}
}
| 14.142857 | 47 | 0.653199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.