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 |
|---|---|---|---|---|---|
3de8b1bd94010d1dca10c6c87826c1abc71ec7e7 | 2,587 | package cn.edu.nju.software.jksc.symys.activities;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
... | 29.735632 | 89 | 0.648628 |
bb3338aea3c282bc6cc99e61bbd3d044ba39bcb9 | 1,349 | package org.narrative.network.core.user.services.activityrate;
import org.narrative.network.core.user.User;
import org.narrative.network.core.user.UserActivityRateLimit;
import org.narrative.network.shared.tasktypes.AreaTaskImpl;
import java.time.Instant;
import java.time.ZonedDateTime;
import static org.narrative.c... | 33.725 | 140 | 0.75315 |
7bc565592b3e87b159c840a3ecf370f4ec5adc28 | 2,871 | package com.project.convertedCode.includes.vendor.swiftmailer.swiftmailer.lib.dependency_maps;
import com.project.convertedCode.globalNamespace.classes.Swift_DependencyContainer;
import com.runtimeconverter.runtime.RuntimeStack;
import com.runtimeconverter.runtime.interfaces.ContextConstants;
import com.runtimeconvert... | 40.43662 | 100 | 0.640195 |
aa1724c09e1ed0caa252b256711a31918d52dd58 | 9,166 | package org.jutility.io.database;
/*
* #%L
* jutility-incubation
* %%
* Copyright (C) 2013 - 2014 jutility.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://ww... | 27.525526 | 96 | 0.61499 |
b37c609c390965398aa0cbf88c8e83c27b5139f4 | 1,926 | package cn.stt.pingpp.constant;
/**
* @Author shitongtong
* <p>
* Created by shitongtong on 2017/7/21.
*/
public interface Constants {
/**
* Secret key
*/
String apiKey = "sk_test_54mXT88G84eD8S8WX9LS8WjD";
/**
* 应用标识
*/
String appId = "app_qPmjfP5mT0y5rDy5";
/**
* R... | 39.306122 | 82 | 0.680166 |
e54a999fabe7eaec282d376af43a38b653d0e2be | 730 | package ChainOfResponsability;
import Clases.Empleado;
import FactoryStrategy.Producto;
import FactoryStrategy.Bodega;
public class VerificarExistenciaBodega extends VerificadorBase{
private Empleado encargado;
private Bodega bodega;
public VerificarExistenciaBodega(Empleado encargado) {
this.encargado = enc... | 23.548387 | 63 | 0.764384 |
cbf5be28ca1309c413639663a1c513aaf7ee7f09 | 2,035 | package au.gov.qld.pub.orders.service;
import static com.google.common.collect.ImmutableMap.of;
import static java.util.Arrays.asList;
import static org.mockito.Mockito.verifyNoInteractions;
import static org.mockito.Mockito.when;
import java.util.List;
import java.util.Map;
import javax.mail.internet.MimeMessage;
... | 32.301587 | 140 | 0.78231 |
6e7e08e06dfd2fa97f7ab9d4d9bbc552bd934f4b | 9,123 | /*******************************************************************************
* Copyright 2021 Danny Kunz
*
* 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.... | 39.493506 | 100 | 0.473857 |
1a7fe28137511a697cdb4f8a7be3be86b698a6d5 | 2,604 | package ofuangka.geographiccenter.api.resource;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import javax.inject.Inject;
import javax.validation.Valid;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import... | 27.410526 | 68 | 0.753456 |
fcfbeddbf817323e13b81b29248240c4163cfda5 | 4,355 |
public class Message {
// Identificador. Todas as mensagens possuem o mesmo identificador.
public final int id = 2345;
// Controle de erro. Verificar e tratar erro no envio das mensagens.
private String errorControl;
// Apelido da máquina que enviou a mensagem.
private String nicknameSource;
/... | 35.696721 | 124 | 0.650287 |
b99a4732faf86bdca01d6856194fedd4c0f43644 | 1,729 | /*
* Copyright 2014-2019 Logo Business Solutions
* (a.k.a. LOGO YAZILIM SAN. VE TIC. A.S)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | 36.020833 | 109 | 0.763447 |
7438f6270d1b5f3eca2cb0ba29c7c99f2a026b0f | 1,163 | /**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.smuser.service;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.t... | 24.744681 | 108 | 0.755804 |
510c601bf09bac2bd77d554ebb51abb423a3f474 | 1,563 | package rocks.inspectit.ui.rcp.ci.form.page;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import rocks.inspectit.ui.rcp.InspectIT;... | 25.209677 | 78 | 0.753679 |
b27d9dde9ecfbe29b6f059d385af636c0081c313 | 5,680 | package com.skytala.eCommerce.domain.accounting.relations.glAccount.control.history;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet... | 38.120805 | 159 | 0.792782 |
03ee81285662b632665cb64ea3d00e5e7712081c | 10,858 | /*
* 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 ... | 42.085271 | 126 | 0.627187 |
11135fd1661555a22b73cb5eb52f5091738848a4 | 5,832 | package drawable.fragment;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v4.view.ViewPager;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.vie... | 37.87013 | 141 | 0.638203 |
cef48aeddee8535e1345708e0fe102d816b244c3 | 3,674 | /*
* 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 not ... | 40.822222 | 100 | 0.737616 |
52ac0b6417e71de5dd4fd8697d7b3eef6010ba1a | 15,373 | /* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.assetcatalog;
import org.odpi.openmetadata.accessservices.assetcatalog.model.rest.body.SearchParameters;
import org.odpi.openmetadata.accessservices.assetcatalog.model.rest.re... | 49.750809 | 140 | 0.670721 |
8a062a8b9b0836821822e1db0f0e1e9a0369b5c4 | 2,627 | /* Copyright 2010, 2017, Oracle and/or its affiliates. All rights reserved. */
package example;
import example.common.ExampleModule;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.StringTokenizer;
import oracle.jbo.JboException;
import oracle.jbo.client.Configuration;
... | 32.432099 | 88 | 0.60906 |
d202997f6343cfd3d49641e43bd72b989e1f529e | 7,596 | /*
* Copyright 2000-2017 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... | 40.190476 | 135 | 0.720642 |
1abfd7a1e3865f3a93986e31d8061bc214a47669 | 2,517 | ///******************************************************************************
//
//Copyright (c) 2010, Cormac Flanagan (University of California, Santa Cruz)
// and Stephen Freund (Williams College)
//
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or witho... | 37.567164 | 115 | 0.668653 |
d7b0f43f0200bb32c1dfbbd73e4da366126c3bb3 | 2,325 | package org.middlepath.dassembler.linker;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.middlepath.mcapi.block.SubChunkBlock;
import org.middlepath.mcapi.redstoneutils.Endian;
import org.middlepath.mcapi.redstoneutils.MemoryCell;
import org.middlepath.mcapi.redstoneutils.Ab... | 26.123596 | 89 | 0.709677 |
db05440434e067edfdadca29610c87e123423612 | 4,472 | /**
* This class is generated by jOOQ
*/
package appengine.parser.mysqlmodels.tables;
import appengine.parser.mysqlmodels.Keys;
import appengine.parser.mysqlmodels._6txkrsiwk3;
import appengine.parser.mysqlmodels.tables.records.UbereatsRecord;
import java.util.Arrays;
import java.util.List;
import javax.annotatio... | 27.604938 | 160 | 0.656977 |
f11dbdb219262ab26464fce55dfa56d3f5bacbbd | 1,631 | /*
* #%L
* ch.vorburger.exec
* %%
* Copyright (C) 2012 - 2018 Michael Vorburger
* %%
* 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.... | 28.614035 | 101 | 0.689148 |
1f27ef48b661caa6119bf0c35caca7bb5269757e | 2,514 | package luyao.parser.arsc.bean;
import luyao.parser.utils.BytesReader;
import java.io.IOException;
/**
* Created by luyao
* on 2018/12/21 10:57
*/
public class ResTablePackageHeader {
/*
struct ResTable_package
{
struct ResChunk_header header;
// If this is a base package, its ID. Package IDs start
... | 32.230769 | 95 | 0.663087 |
feb7256b5e26ce061171f126727399050147993d | 1,087 | package io.github.vm.patlego.enc.commands;
import org.apache.commons.lang3.StringUtils;
import org.apache.karaf.shell.api.action.Action;
import org.apache.karaf.shell.api.action.Argument;
import org.apache.karaf.shell.api.action.Command;
import org.apache.karaf.shell.api.action.lifecycle.Reference;
import org.apache.k... | 31.970588 | 126 | 0.74885 |
a85847427a1f568eea6ced742a138b8bcb347c21 | 1,962 | /**
* NOTE: This Test class requires some lines to be uncommented when the Equilateral Triangle class is finished
*/
import org.testng.Assert;
import org.testng.annotations.Test;
public class EquilateralTriangleTest {
/**
* This test is for the 'Getters' and 'Setters'
*/
@Test
public void testT... | 33.827586 | 110 | 0.659021 |
5dc9d9c1007669ec7f0453ce2d524fa7414e594d | 4,366 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.05.18 at 05:13... | 29.302013 | 170 | 0.681402 |
a0b9bbaa52d6b0e9834e2dc371af0185c37417f6 | 3,237 | package stubidp.saml.utils.core.transformers.inbound;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.opensaml.saml.saml2.core.Assertion;
import org.opensaml.saml.saml2.core.Attribute;
import stubidp.saml.test.OpenSAMLRunner;
import stubidp.saml.domain.assertions.Cycle3Dataset;
i... | 45.591549 | 154 | 0.767377 |
31ca35e5305a1cf628497a3f1b4195b647eec648 | 32,935 | class lvp30OIVoBv_ {
}
class bLWHkoyh {
public static void gsuY5Vu6 (String[] kHzy) {
-!dRXlweNX()[ new boolean[ -false[ !!BU2mJnLpRD47cr()[ !( true[ !-NtPve_().X3PYrEDRDSD]).ALmETexG1LabOZ]]].EO8gREKwALL()];
if ( --58903555.t()) {
if ( -new int[ p9h_53NT()[ new DyYtycVz2Dk().bUk]].A... | 40.610358 | 263 | 0.507636 |
f7bf98613854ecb8a89ad73b662f7adce7ca5520 | 90 | package io.aftersound.weave.metadata;
public interface Control {
String getType();
}
| 15 | 37 | 0.744444 |
109e4b32ec006f8f4eb23f2c1da5f17b23a334b7 | 1,294 | package c3.assets;
import java.io.File;
import java.io.IOException;
import c3.core.Console;
import c3.core.FString;
import c3.core.Utility;
import c3.exceptions.AssetLoadException;
public class VertexShaderAsset extends Asset {
public static void indexAllAssets() {
Console.log("Indexing all Ver... | 19.313433 | 82 | 0.640649 |
f56eba58efa77042db8c84e5e340daff9e8ffd8e | 4,845 | /*
* MIT License
*
* Copyright (c) 2017 Enrico Bruno Del Zotto
*
* 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 rights
* to use,... | 33.645833 | 106 | 0.63096 |
b76936162f8cf2df58c040f2a83de685927ff8ee | 613 | package com.leammin.leetcode.easy;
import com.leammin.leetcode.util.AbstractTest;
import com.leammin.leetcode.util.ExpectedTestcase;
import com.leammin.leetcode.util.Testsuite;
/**
* @author Leammin
* @date 2020-06-17
*/
class BinarySearchTest extends AbstractTest<BinarySearch> {
@Override
protected Testsu... | 32.263158 | 89 | 0.65416 |
deced1ef15d860e73e5c79f17cf0938f51ee6f04 | 1,638 | package com.example.zhangxiong.fcb;
import java.io.Serializable;
/**
* Created by ZhangXiong on 2017/12/5.
*/
public class Record implements Serializable{
private int rid;
private String account;
private String address;
private String carnumber="";
private String date;
private int state;
... | 18 | 48 | 0.586081 |
cd280851e0acd765543321d78abbb088462e6171 | 613 | package com.thoughtworks.inproctester.resteasy;
import com.thoughtworks.inproctester.core.InProcConnection;
import java.net.URI;
public class TesterRoute {
private RouteMatcher routeMatcher;
private InProcConnection httpAppTester;
public TesterRoute(RouteMatcher routeMatcher, InProcConnection httpAppTes... | 25.541667 | 83 | 0.747145 |
e9de91a01100dc5c52426717d34bf8c21b33e993 | 431 | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http.filter;
import com.yahoo.jdisc.handler.ResponseHandler;
import com.yahoo.jdisc.http.HttpRequest;
/**
* @author Einar M R Rosenvinge
*/
public interface RequestFilter extends com.yaho... | 28.733333 | 104 | 0.784223 |
88fa76071c39f5d2858539e9386f29f7c4e3e377 | 2,452 | /**
* MIT License
* <p>
* Copyright (c) 2017 James
* <p>
* 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 rights
* to use, copy, m... | 34.535211 | 81 | 0.718189 |
f6c24e5cefe0f35cc78b08e27e05db8cfd043ed3 | 13,691 | /*******************************************************************************
* Copyright (c) 2014 Opt4J
*
* 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, includi... | 25.590654 | 117 | 0.685414 |
dbc5652f32d808ca1ef535e2d8e2ce2382440b7d | 2,234 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ver... | 34.369231 | 74 | 0.687556 |
dbc86341e88f09ba213fefb71f22718ef3750ecb | 318 | package com.lakeel.altla.sample.wifibatterydrain;
import com.squareup.leakcanary.LeakCanary;
import android.app.Application;
public final class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// LeakCanary
LeakCanary.install(this);
}
}
| 18.705882 | 54 | 0.704403 |
d3e5bd49833290a8c7ad59b0e6d9c09e3492c5a5 | 8,351 | /*
* 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... | 16.702 | 76 | 0.527003 |
80443c5452c9a2dda5cdd8fbc57909c05a1636ef | 9,280 | package org.jeecg.modules.business.controller;
import java.util.*;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.hutool.core... | 33.501805 | 146 | 0.741595 |
7a587538cf1c585740720c01780cf146636b39f4 | 866 | /*
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.net;
import java.io.IOException;
/**
* Thrown to indicate that there is an error creati... | 15.464286 | 79 | 0.618938 |
c31ffde0ffcb255746289f4e187e10684cc5b597 | 1,507 | package io.cucumber.core.plugin;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class FeaturePathFormatter {
private LineFilters lineFilters;
public FeaturePathFormatter() {
this.lineFilte... | 31.395833 | 94 | 0.665561 |
fb681f230e1f84d9f6d60daa4f69056e2ac9bb93 | 2,411 | package com.bitdubai.fermat_pip_api.layer.module.developer.interfaces;
import com.bitdubai.fermat_api.layer.all_definition.common.system.utils.AddonVersionReference;
import com.bitdubai.fermat_api.layer.all_definition.common.system.utils.PluginVersionReference;
import com.bitdubai.fermat_api.layer.all_definition.devel... | 48.22 | 138 | 0.662796 |
9f2c7dd34453a63bd1587bf3447a18bc9487af90 | 3,481 | /*******************************************************************************
* Copyright (c) 2005, 2009 SAP. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanie... | 28.072581 | 126 | 0.553289 |
4f18b59c10ada0692a8cafb67f9ea7fe1176a7c8 | 3,434 | package org.folio.finc.select;
import io.vertx.core.AsyncResult;
import io.vertx.core.Context;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.json.JsonObject;
import io.vertx.core.logging.Logger;
import io.vertx.core.l... | 39.471264 | 124 | 0.697729 |
f4d2fb3bdcfd6e7ab220e00cea3ba59744dff3c1 | 3,736 | package mage.cards.p;
import mage.ApprovingObject;
import mage.abilities.Ability;
import mage.abilities.costs.common.TapTargetCost;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.ExileSpellEffect;
import mage.abilities.keyword.ReplicateAbility;
import mage.cards.Card;
import mage.car... | 34.915888 | 129 | 0.692452 |
e898cec9ec0d8fa2bd30b9c0fafe60c1e2041026 | 1,423 | /*
* An XML document type.
* Localname: int
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes
* Java type: org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.IntDocument
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x... | 30.276596 | 217 | 0.731553 |
5431ca37958358395a57d370111f0b63ebdc0948 | 11,258 | package xworker.task;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Future;
import java.util.concurrent.Semaphore;
import org.xmeta.ActionContext;
import org.xmeta.Bindings;
import org.xmeta.Thing;
import org.xmeta.cache.ThingEntry;
import org.xmeta.util.UtilString;
import xworker.lang.... | 21.003731 | 115 | 0.645141 |
6e092156205802cec2f8902591f61bd14e906456 | 993 | package com.jess.arms.base;
import android.app.Application;
import com.jess.arms.base.delegate.AppDelegate;
import com.jess.arms.di.component.AppComponent;
/**
* 本项目由
* mvp
* +dagger2
* +retrofit
* +rxjava
* +androideventbus
* +butterknife组成
* 请配合官方wiki文档https://github.com/JessYanCoding/MVPArms/wiki,学习本框架
*... | 19.86 | 90 | 0.66566 |
6013f2d7b9640394a88f5563eeead9833642b263 | 296 | package de.accso.ecommerce.billing.infrastructure.messaging;
import de.accso.ecommerce.billing.core.application.BillingMessaging;
import de.accso.ecommerce.common.Event;
public class KafkaBillingMessaging implements BillingMessaging {
@Override
public void send(Event event) {
}
}
| 24.666667 | 68 | 0.797297 |
56faee9f4e7ccc28bc209ebb5e3ec9205eb8a38f | 4,495 | /*******************************************************************************
* Copyright (c) 2015 - 2016 - 2016, Andreas Hefti, inarisoft@yahoo.de
*
* 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 ... | 35.393701 | 116 | 0.646496 |
6226b78a9d21add7e54e210080b75e90236fdc5d | 16,817 | /**
* Copyright (c) 2009, Christian Schneider
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this
* list ... | 36.165591 | 102 | 0.521734 |
1c5d3e4bf1f8ecd42cc5976b512a68a4b5ccbf25 | 3,303 |
package ohtu.lukuvinkkikirjasto.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import ohtu.lukuvinkkikirjasto.database.Database;
import ohtu.lukuvinkkikirjasto.hint.Hint;
import ohtu.lukuvinkkikirjasto.hint.HintClass;
... | 38.858824 | 219 | 0.635786 |
d3c62623467bcc0f2dea10af6f1afb162c4faf60 | 3,595 | /*
* Copyright 2017 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 app... | 38.244681 | 141 | 0.739638 |
8e6a53c2535951973f2177fcc6af49f91eecc0b9 | 277 | package com.neueda.q4j.message;
//@RunWith(Cucumber.class)
//@CucumberOptions(plugin = {"pretty", "html:target/cucumber"}, features = "src/test/resources/scenarios/NeuedaFixFailOnValue.feature", glue= "com.neueda.etiqet.fixture")
public class RunNeuedaFixFailOnValueTest {
}
| 34.625 | 170 | 0.776173 |
69b1779e805372fcceadd116dda33fa0dcfbecc3 | 5,729 | /*
* 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 ... | 55.621359 | 169 | 0.769593 |
bab4e1a68cfd667b6d28954327d11e7308d2f4e8 | 4,185 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | 27 | 78 | 0.673118 |
44567a76d7f9931e5f538bf568f0dad71782ec2c | 136 | package cn.pomit.jpamapper.core.mapper;
import java.io.Serializable;
public interface JMapper<T, ID extends Serializable> {
}
| 17 | 55 | 0.742647 |
aa4f70664ac6a359834fbf802bc6c5a02ebc650d | 20,039 | package com.free.searcher;
import android.app.*;
import android.content.*;
import android.content.pm.*;
import android.graphics.*;
import android.os.*;
import android.text.TextUtils.*;
import android.util.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import java.io.*;
import java.util.... | 33.122314 | 113 | 0.664754 |
0d398fdadd2d14f08d65ed299705e445b9714b5c | 396 | package com.github.davio.starter.sandbox;
import com.github.davio.starter.config.EnableMyConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableMyConfig
public class Application {
public static void main(Strin... | 24.75 | 68 | 0.79798 |
94290a81ef8625e404012ed689c3399ed1376c26 | 1,783 |
package com.google.sps.servlets;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.PreparedQuery;
import com.google.appengine.api.datastore.Query;... | 35.66 | 98 | 0.765003 |
090ad96b66c259e36cea52f933a250fb343079b2 | 4,059 | /*
* Copyright 2014, The Sporting Exchange 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 applicabl... | 33.270492 | 127 | 0.66913 |
a0f5c08b3db3102ee5fd6f9007791faaebba4164 | 2,387 | /*
* This file is part of MCAP-Annotate, licensed under the MIT License (MIT).
*
* Copyright (c) 2016 - 2016 MinigameCore <http://minigamecore.github.io>
* Copyright (c) Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... | 31.826667 | 107 | 0.704231 |
95c3b2d7aaf702aa8a558e553178578898fe03f4 | 2,218 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package com.yoonjaepark.flutter_kakao_map;
import net.daum.mf.map.api.MapPOIItem;
import net.daum.mf.map.api.MapPoint;
import net.daum.mf.map.api.MapView... | 23.849462 | 89 | 0.683048 |
0a11bcd62932c47559b6712b7d7bd7c9c5648900 | 5,304 | /*
* 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 ... | 44.2 | 98 | 0.750377 |
81558566ea7e93282f7f836501855035a287d09c | 4,239 | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | 32.607692 | 122 | 0.617598 |
8bed35a4ad956517da7560d1511e33fc5b16e11e | 84,156 | // This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package scheduling.proxies;
public class TemplateRequest
{
private final com.mendix.systemwideinterfaces.core.IMendixObject templateRequestMendixObject;
private final com.me... | 35.079617 | 226 | 0.766339 |
0fe18ac955ea1f469bfc6d35ce2f568ecef299da | 2,508 | /*
* 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 ... | 36.882353 | 85 | 0.748006 |
a4eb6535abf34298410e522eed6b216eeb086120 | 369 | package com.kaleido.fetch.domain.enumeration;
public enum PlateMapStatus {
DRAFT("Draft"), COMPLETED("Completed");
private final String plateMapStatusDescription;
private PlateMapStatus(String value) {
plateMapStatusDescription = value;
}
public String getPlateMapStatusDescription() {
... | 21.705882 | 51 | 0.723577 |
46f02b5f64474823dfad8b927cac5d2444a2de32 | 1,323 | package org.teachingkidsprogramming.recipes.completed.section02methods;
import org.teachingextensions.logo.Tortoise;
import org.teachingkidsprogramming.recipes.quizzes.graders.HousesQuizAdapter;
import org.teachingkidsprogramming.recipes.quizzes.graders.HousesQuizGrader;
public class HousesQuiz extends HousesQuizAdap... | 26.46 | 77 | 0.676493 |
b8c7da92a2b2d4dad51005db8867af25cf3c2b21 | 311 | package uk.gov.hmcts.cmc.claimstore.services.staff.models;
import lombok.Builder;
import lombok.Value;
import javax.validation.constraints.NotNull;
@Builder
@Value
public class ExpertReportContent {
@NotNull
private final String expertName;
@NotNull
private final String expertReportDate;
}
| 18.294118 | 58 | 0.778135 |
88573d921cc5c6074992d63fb2c6507e54df1d79 | 12,278 | /**
* Copyright (c) 2016-present, RxJava 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 applicable l... | 32.310526 | 118 | 0.59684 |
369e37a9126a10e11dd98cb302b3d9ef536d67c5 | 1,435 | // This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.industry.models;
import com.aliyun.tea.*;
public class ContactInfo extends TeaModel {
// 联系人姓名
@NameInMap("name")
@Validation(required = true)
public String name;
// 联系人手机号码
@NameInMap("mobile")
@... | 22.421875 | 84 | 0.619512 |
7675e350b4513523a5572804bb8b5bee3337c0fd | 375 | package com.example.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class ProgressController {
@GetMapping("/progress")
public ModelAndView progress() {
ModelAndView ma... | 22.058824 | 58 | 0.794667 |
d93b800d70b18386252bb2c0be90cb109ab46c61 | 119 | package cn.paxos.jam;
public interface State
{
State onEvent(Event event, StateContext stateContext);
}
| 13.222222 | 57 | 0.697479 |
e5e4f64f695b59c1dc396ef1e7c9992008e4a4f1 | 3,876 | package com.fiicloud.plugindriver.core.configurer;
import com.fiicloud.plugindriver.core.entity.Plugin;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* @author Anthony
*/
public class PluginInfoConfigurer<P extends AbstractPlugInDriverConfigurer> {
private P plugInDriverConfig... | 35.888889 | 141 | 0.639061 |
4874b896c645e9bc3bf67ebd061c24a2c0850efe | 3,931 | package io.swagger.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.model.MeasurementTypeHumidityWithTimestamp;
import org... | 25.525974 | 91 | 0.707962 |
5a6304d1564711d80d0c94bf9a9a7774d78366e6 | 517 | package p005cm.aptoide.p006pt.database.accessors;
import java.util.concurrent.Callable;
/* renamed from: cm.aptoide.pt.database.accessors.bb */
/* compiled from: lambda */
public final /* synthetic */ class C2776bb implements Callable {
/* renamed from: a */
private final /* synthetic */ UpdateAccessor f5993... | 25.85 | 67 | 0.688588 |
3c18854bd538ea258d28e91ad06154c989ebac3d | 2,505 | package io.github.davidstevenrose;
import java.util.ArrayList;
/**
* The definition of an account on Find-A-Group.
*/
public class User {
private String username;
private String password;
private String email;
private ArrayList<Group> groupMember = new ArrayList<>();
private ArrayList<Group> groupLeader ... | 19.880952 | 92 | 0.631936 |
76ac5b768600a5e18f48cdec25935339a23a515e | 15,808 | package com.google.android.gms.internal;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import com.google.android.gms.C1114a.C1096c;
import com.google.android.gms.internal.jh.C1658a;
import com.google.android.gms.maps.GoogleMap;
im... | 42.042553 | 152 | 0.503543 |
7070575b0685a423874a800804d1d990c2c7cbbf | 6,074 | /*
* Copyright (c) 2015, Nordic Semiconductor
* 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 list of conditi... | 35.313953 | 145 | 0.771814 |
f8538bd1833da06c8ebbb19e772210ebaf5cbd48 | 9,320 | /*
* This file is part of TiPi (a Toolkit for Inverse Problems and Imaging)
* developed by the MitiV project.
*
* Copyright (c) 2014 the MiTiV project, http://mitiv.univ-lyon1.fr/
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation file... | 32.137931 | 83 | 0.561373 |
d1fe472e88b0862803b4d1f8c67fc9fccc784967 | 2,598 | package com.ljmu.andre.snaptools.Utils;
import android.app.Activity;
import androidx.annotation.MainThread;
import androidx.core.content.ContextCompat;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import com.ljmu.andre.snaptools.R;
import me.t... | 39.363636 | 163 | 0.711316 |
1ddba7f29c5efdd475a1146df5c68c3e364fa180 | 1,999 | package com.novoda.pianohero;
import android.media.AudioFormat;
import android.media.AudioManager;
import android.media.AudioTrack;
import android.support.annotation.Nullable;
class AndroidSynthSpeaker implements Speaker {
private static final double durationSeconds = 0.1;
private static final int sampleRate... | 30.753846 | 79 | 0.5993 |
8ce3c8651b4f810ed4d4d22a45851ce696d0fbb7 | 1,898 | package edu.fiuba.algo3.modelo.carta;
import edu.fiuba.algo3.modelo.excepciones.PaisNoTePerteneceException;
import edu.fiuba.algo3.modelo.jugador.Jugador;
import edu.fiuba.algo3.modelo.geografia.Pais;
import edu.fiuba.algo3.modelo.excepciones.CartaYaActivadaException;
public class Carta {
private final Pais pais... | 32.724138 | 122 | 0.710221 |
8ac7313197b03af61cbeee457d0f1479d2431876 | 640 | package com.ABC.bitrade.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.stereotype.Repository;
import com.A... | 29.090909 | 72 | 0.829688 |
4e58191bbd9ca7c29271c52b7a09dd2411ee9270 | 3,207 | package ru.stqa.pft.addressbook.applicationmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
import org.t... | 31.441176 | 128 | 0.640162 |
c93d51b48549f41d656156ca32a742d8ca397d4d | 1,506 | package codecube;
import codecube.core.Scanner;
import codecube.core.ScanResult;
import codecube.core.InputFileExtensions;
import codecube.core.LanguagePlugin;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.ni... | 26.892857 | 92 | 0.669987 |
86fef46c241777174f7859969d576cee6ddb4b6f | 2,308 | // ----------------------------------------------------------------------------
// Copyright 2007-2013, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | 38.466667 | 84 | 0.551993 |
415d7caa608ac9808a01bb1c94273990d603aed3 | 1,335 | package pl.grzeslowski.jsupla.protocoljava.api.entities.cs;
import pl.grzeslowski.jsupla.protocoljava.api.channels.values.ChannelValue;
import javax.validation.constraints.NotNull;
import static pl.grzeslowski.jsupla.protocoljava.api.types.Entity.Version.B;
public class ChannelNewValueB extends ChannelNewValue {
... | 23.421053 | 76 | 0.592509 |
9ae4659b91c1a638654eba54c21de312c52aca56 | 3,444 | package com.jude.beam.expansion.overlay;
import android.app.ProgressDialog;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.jude.beam.R;
import com.jude.beam.expansion.BeamBaseActivity;
/**
* Created by Mr.Jude on 2015/8/18.
*/
public class DefaultViewExpansionDelegate extends ViewEx... | 29.186441 | 118 | 0.659408 |
14cfac87cddd63bdcc6e030b0594e2e2c47a398c | 1,552 | package io.klerch.alexa.xmastree.skill.handler;
import io.klerch.alexa.state.handler.AWSDynamoStateHandler;
import io.klerch.alexa.state.utils.AlexaStateException;
import io.klerch.alexa.tellask.model.AlexaInput;
import io.klerch.alexa.tellask.model.AlexaOutput;
import io.klerch.alexa.tellask.model.AlexaOutputSlot;
im... | 47.030303 | 137 | 0.771263 |
70e6e61f1f1889bb9e602e1c8e57f0dbc711c2b8 | 566 | package org.infinispan.distexec;
import org.infinispan.configuration.cache.CacheMode;
import org.testng.annotations.Test;
/**
* Tests for verifying Distributed Executors for REPL_SYNC cache mode, with Topology Aware nodes.
*
* @author Anna Manukyan
*/
@Test(groups = "functional", testName = "distexec.ReplSyncDist... | 31.444444 | 122 | 0.809187 |
bd33744aeda9e16d81389d12d7a40bea16af0e6d | 1,182 | package io.protonull.rocksmc;
import java.io.IOException;
import java.util.Objects;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
public final class RocksConfig {
private final RocksMC plugin;
private final Logger logger;
private final Properties properties... | 26.863636 | 110 | 0.659052 |
a85817c1d70fdbebbb36ddd76565e307164a3d2d | 412 | package fr.wowcompanion.server.model.mother;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
/**
* Abstract class for Blizzard models
*/
@Data
@MappedSuperclass
public class MotherBlizzardModel {
@Id
@Column(name = "ID", nullable... | 20.6 | 96 | 0.747573 |
04f0ecdd70bc233ed334418cad981ec24ae4a49a | 4,185 | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * 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 ... | 17.658228 | 810 | 0.805018 |
8a6ca74609e7addfdb97e7c75ea6dfacf95789c2 | 54,400 | /**
* 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... | 42.466823 | 142 | 0.707923 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.