text stringlengths 7 1.01M |
|---|
/*
* Copyright 2018 John Grosh <john.a.grosh@gmail.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 ap... |
/*
* Copyright (c) 2017 LingoChamp 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 ag... |
package com.rmondjone.locktableviewproject;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute... |
package net.boeckling.turbocontainers.modules.kafka;
import net.boeckling.turbocontainers.modules.Module;
import net.boeckling.turbocontainers.modules.SetupContext;
import org.testcontainers.containers.KafkaContainer;
public class KafkaModule implements Module {
@Override
public void setupModule(SetupContext con... |
package com.github.dynamic.threadpool.auth.model.biz.user;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* User resp dto.
*
* @author chen.ma
* @date 2021/10/30 21:51
*/
@Data
public class UserRespDTO {
/**
* userName
*/
private String user... |
/*
* Copyright 2005 Andrew Bruno <aeb@qnot.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.0
*
* Unless required by applicabl... |
package com.planet_ink.coffee_mud.Items.Weapons;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import co... |
/*
* 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 ... |
package io.skysail.server.domain.jvm.test;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import org.junit.*;
import io.skysail.domain.Identifiable;
import io.skysail.domain.core.EntityModel;
import io.skysail.server.domain.jvm.ClassEntityModel;
public class ClassEntityModelTest ... |
package br.com.devmedia;
import br.com.devmedia.operacoes.Matematica;
public class testes {
public static void main(String[] args) {
int n = (int)Math.round(Math.random() * 100);
int m = (int)Math.round(Math.random() * 100);
System.out.printf("numero %s dividido por %s = %s",n,m, Matemati... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__long_console_readLine_add_66a.java
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-66a.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: console_readLine Read data from the conso... |
/*
* (C) Copyright IBM Corp. 2022
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.cohort.measure;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.net.URLEncoder;
import com.ibm.cohort.cql.fhir.resolver.FhirResourceResolver;
import com.ibm.cohort.cql.... |
package de.hpi.mpss2015n.approxind.inclusiontester;
import de.hpi.mpss2015n.approxind.datastructures.BloomFilter;
import de.hpi.mpss2015n.approxind.utils.SimpleColumnCombination;
public final class BloomFilterInclusionTester extends CombinedInclusionTester<BloomFilter> {
private final int capacityInBytes;
p... |
package com.hdh.lifeup.model.dto;
import com.hdh.lifeup.base.BaseDTO;
import com.hdh.lifeup.model.domain.ReportTypeDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* ReportTypeDTO class<br/>
*
* @author hdonghong
* @... |
package compile.parser;
import java.util.LinkedList;
/**
* ソースファイル中の膜表現
*/
class SrcMembrane
{
/** 膜の内容プロセスの表現 */
LinkedList process = null;
/** 終了フラグの有無 */
public boolean stable = false;
/** 膜のタイプ */
public int kind = 0;
/** @指定またはnull */
Object pragma = null;
/** 膜名 */
public String name;
/**
* ... |
/*
* 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 ... |
/**
* Copyright 2021 Green Filing, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package com.detectionpivot.core.sniffer;
import com.detectionpivot.core.domains.session.dto.ResponseSessionDto;
import com.detectionpivot.core.sniffer.dto.ToggleStateDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.validation... |
/**
*
* Project Name:TestExample
* File Name:sequare.java
* Package Name:util
* Date:2015-5-14下午4:29:30
*
*/
package util;
import java.util.Random;
/**
* ClassName:sequare <br/>
* @author caosheng
*/
public class Sequare
{
private int[][] matrix = new int[3][3];
private Random ran... |
/**
* 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 under ... |
/**
* shopmobile for tpshop
* ============================================================================
* 版权所有 2015-2099 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ——————————————————————————————————————
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
* ==========================... |
package com.lambda.buildweek.wunderlist.config;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframe... |
/*
* Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (https://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.test.store;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;... |
package com.yosriz.gphotosclientsample;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.w... |
package de.unisiegen.gtitool.ui.logic;
import java.awt.GridBagConstraints;
import javax.swing.JFrame;
import de.unisiegen.gtitool.core.entities.InputEntity.EntityType;
import de.unisiegen.gtitool.core.grammars.Grammar.GrammarType;
import de.unisiegen.gtitool.core.grammars.cfg.DefaultCFG;
import de.unisiegen.gtitool... |
/*
* Copyright (C) 2015 The CyanogenMod Project
* 2017-2019 The LineageOS Project
*
* 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... |
/*******************************************************************************
* Copyright 2012 Geoscience Australia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... |
/*
This question is from https://leetcode.com/problems/kth-largest-element-in-a-stream/
Difficulty: easy
Design a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element.
Your KthLargest class will have a constructor which accepts an... |
/*
* Copyright 1999-2019 Seata.io Group.
*
* 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... |
package com.aumum.app.mobile.utils;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Point;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.view.Display;
import android.view.Window;
import android.view.WindowManager;
/**
* Created by... |
/**
* UserShadowTest.java
* in package: * org.net9.minipie.server.logic
* by Mini-Pie Project
*/
package org.net9.minipie.server.logic;
/**
* @author Seastar
*
*/
public class UserShadowTest {
}
|
package com.wagneralmeida.cursomc.domain;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import com.fast... |
package co.yixiang.modules.shop.repository;
import co.yixiang.modules.shop.domain.YxExpress;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author hupeng
* @date 2019-12-12
*/
public interface YxExpressRepository extends Jp... |
package com.sharedcalendar;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.lang.refle... |
package cn.joyconn.utils.pay.wxpay.request;
import org.hibernate.validator.constraints.Length;
import cn.joyconn.utils.pay.wxpay.enums.WxPayTradeTypeEnum;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
public class JsapiUnifiedOrderRequest {
/**
* 微信支付分配的公众账号ID(... |
/*
* Copyright 2016 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.rf.ide.core.testdata.text.write.txt.tables.settings.creation;
import org.rf.ide.core.testdata.text.write.tables.settings.creation.ACreationOfSettingsSuiteTear... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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... |
/**
* 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"... |
/*
* Copyright 2012 JBoss 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 in ... |
/**
* @Title: BasicDaoTest.java
* @Package com.sva.test.dao
* @Description: dao测试基类,用于继承
* @author: LabelCS
* @date: 2016年9月3日 下午9:45:41
* @version V1.0
*/
package com.bis.test.dao;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.contex... |
package com.stormmq.java.parsing.adaptors.asm.visitorAdaptors.annotationVisitorAdaptors;
import com.stormmq.java.parsing.adaptors.asm.items.AsmAnnotationValueItem;
import com.stormmq.java.parsing.adaptors.asm.items.AsmEnumConstantItem;
import com.stormmq.java.parsing.utilities.names.typeNames.referenceTypeNames.KnownR... |
package com.dii.ids.application.entity;
import org.junit.Assert;
import org.junit.Test;
public class PositionTest {
@Test
public void test() {
final double x, y, epsilon;
final String floor;
final Position position;
final String toStringResult;
x = 1.5;
y = 2.6... |
/*
* Copyright (c) 2011, The University of Queensland
* 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
* n... |
/* 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... |
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT
package com.amazonaws.jenkins.plugins.sam.export;
/**
* @author Trek10, Inc.
*/
public enum BucketProperties {
BUCKET("Bucket", "Key", "Version"),
S3_BUCKET("S3Bucket", "S3Key", "S3ObjectVersion"),
... |
/*
Copyright (C) 2013-2021 Expedia 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 in wri... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE470_Unsafe_Reflection__listen_tcp_68a.java
Label Definition File: CWE470_Unsafe_Reflection.label.xml
Template File: sources-sink-68a.tmpl.java
*/
/*
* @description
* CWE: 470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
* ... |
package org.apereo.cas.shell.commands;
import com.nimbusds.jose.EncryptionMethod;
import com.nimbusds.jose.JWEAlgorithm;
import com.nimbusds.jose.JWSAlgorithm;
import com.nimbusds.jose.crypto.AESDecrypter;
import com.nimbusds.jose.crypto.DirectDecrypter;
import org.apache.commons.lang3.RandomStringUtils;
import org.ap... |
package com.codepath.apps.restclienttemplate;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import com.codepath.apps.restclienttemplate.models.SampleModel;
import com.codepath.apps.restclienttemplate.models.SampleModelDao;
imp... |
/*
Copyright 2020 WeAreFrank!
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 wri... |
/*
* 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
* distr... |
package co.tinode.tindroid;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;
import android.view.ViewGroup;
import android.... |
package com.hyf.algorithm.抽奖概率.common;
import lombok.Data;
/**
* @author Howinfun
* @desc
* @date 2019/8/6
*/
@Data
public class Result<T> {
private Integer code = Constant.SUCCESS;
private String msg;
private T data;
public Result(){
}
public Result(T data) {
this.code = 0;
... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ml.action;
import org.elasticsearch.comm... |
/*
* Copyright (C) 2002 Erik Swenson - erik@oreports.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
... |
package de.polocloud.api.command.annotation;
import java.lang.annotation.*;
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Command {
/**
* The name of the command that the method will handle.
* No spaces allowed.
*
* @return the name
*/
... |
/**
*
* Copyright (c) 2020 Aspose.PDF Cloud
* 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, modify, merge,... |
/*
* Copyright (c) 2008-2019 Geode Systems LLC
*
* 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... |
/*
* 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 ec.edu.espe.users.module.util;
import org.mongodb.morphia.Datastore;
/**
*
* @author luis
*/
public class MongoPersistence... |
/*
* Copyright 2012 Sebastian Annies, Hamburg
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
/**
*
*/
package ch.fhnw.bacnetit.transportbinding.api;
/**
* @author IMVS, FHNW
*
*/
public interface BindingConfiguration {
public void initializeAndStart(ConnectionFactory connectionFactoy);
public void shutdown();
}
|
package org.intermine.metadata;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.htm... |
package drawable.fragment.convenientbanner.transforms;
import android.view.View;
public class CubeOutTransformer extends ABaseTransformer {
@Override
protected void onTransform(View view, float position) {
view.setPivotX(position < 0f ? view.getWidth() : 0f);
view.setPivotY(view.getHeight() * 0.5f);
view.set... |
package im.actor.sdk.controllers.fragment.auth;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.MenuItem;
import im.actor.core.AuthState;
impo... |
package qiniu.predem.android.probe;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.graphics.Bitmap;
import android.net.http.SslError;
import android.os.Build;
import android.os.Message;
import android.view.KeyEvent;
import android.webkit.ClientCertRequest;
import android.we... |
package com.github.moreaunicolas.util;
import java.util.function.BiPredicate;
import java.util.function.Predicate;
import java.util.stream.Stream;
public final class ExtendedPredicates {
public static <T> Predicate<T> not(Predicate<T> predicate) {
return predicate.negate();
}
public static <T, U... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.asusoda.taskdevil.activities;
/**
* Created by chris on 8/18/14.
*/
public enum ActivityCodes {
ADD_TASK(0);
public final int val;
ActivityCodes(int v){
val = v;
}
}
|
package com.softwareverde.devtokens;
import com.softwareverde.constable.list.List;
import com.softwareverde.json.Json;
import com.softwareverde.json.Jsonable;
import com.softwareverde.util.type.identifier.Identifier;
public class RedemptionItem implements Jsonable {
public static class ItemId extends Identifier {... |
package com.example.demo.workflow;
import com.example.demo.domain.DataType;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.camunda.zeebe.client.api.response.ActivatedJob;
import io.camunda.zeebe.client.api.worker.JobClient;
import io.camunda.zee... |
package com.example.android.roomwordssample;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProviders;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import androidx.appc... |
package veriblock.net.impl;
import com.google.protobuf.ByteString;
import nodecore.api.grpc.VeriBlockMessages;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.veriblock.sdk.models.Sha256Hash;
import veriblock.conf.NetworkParameters;
import veriblock.model.Transaction;
import veriblock.net.P2PServic... |
package com.crud.cloud.evanliu2968.util;
import lombok.extern.log4j.Log4j2;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Map;
/**
* * 判断对象是否为空或null
*
*/
@Log4j2
public class ObjectUtil {
public static boolean is... |
/*
* Copyright 2012-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 requ... |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
/*
* 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 ... |
package com.springboot.sample.service.common.impl;
import com.springboot.sample.domain.DO.CityDO;
import com.springboot.sample.domain.DTO.message.SmsMessageDTO;
import com.springboot.sample.service.common.DemoService;
import com.springboot.sample.service.factory.city.CityFactory;
import com.springboot.sample.service.f... |
/*
* Copyright 2020 Google LLC
*
* 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 applicable law or agreed to ... |
/*
* Copyright (c) 2009 - 2017 - Pierre-Laurent Coirer, Frank Hossfeld
*
* 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 requi... |
package pcl.OpenFM.GUI;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiTextField;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class OFMGuiTextField extends GuiTextField {
public OFMGuiTextF... |
package com.techmorphosis.qube.utils;
import java.text.DecimalFormat;
public class EnglishNumberToWords {
private static final String[] tensNames = {
"",
" ten",
" twenty",
" thirty",
" forty",
" fifty",
" sixty",
" s... |
package cz.startnet.utils.pgdiff.schema;
import java.util.Map.Entry;
import java.util.Objects;
import cz.startnet.utils.pgdiff.hashers.Hasher;
import ru.taximaxim.codekeeper.apgdiff.ApgdiffConsts;
/**
* Base implementation of regular table
*
* @since 4.1.1
* @author galiev_mr
*
*/
public abstract class Abstrac... |
/*
* Copyright 2015-2016 Agapsys Tecnologia Ltda-ME.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
*
* PROJECT
* Name
* APS APIs
*
* Code Version
* 1.0.0
*
* Description
* Provides the APIs for the application platform services.
*
* COPYRIGHTS
* Copyright (C) 2012 by Natusoft AB All rights reserved.
*
* LICENSE
* Apache 2.0 (Open ... |
package com.madhan.newproject;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import java.util.UUID;
public class BluetoothConnect {
private s... |
/*
* 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 Persistencia;
import Negocio.Endereco;
import Negocio.Entregador;
import Negocio.Pedido;
import java.sql.ResultSet;
import ja... |
package seedu.giatros.logic.parser.account;
import static seedu.giatros.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.giatros.logic.parser.CliSyntax.PREFIX_ID;
import static seedu.giatros.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.giatros.logic.parser.CliSyntax.PREFIX_PASSWORD;... |
/*
* Copyright 2014 Niek Haarman
*
* 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 ... |
package com.ixuea.courses.mymusic.domain.event;
import cn.woblog.android.downloader.domain.DownloadInfo;
/**
* Created by smile on 2018/6/8.
*/
public class DownloadStatusChanged {
public DownloadStatusChanged(DownloadInfo downloadInfo) {
}
}
|
package com.idogs.laosiji.pay;
import android.content.Intent;
import com.idogs.laosiji.pay.impl.alipay.AliPay;
import com.idogs.laosiji.pay.impl.alipay.AliPayConfig;
import com.idogs.laosiji.pay.impl.unionbank.UnionBankPay;
import com.idogs.laosiji.pay.impl.unionbank.UnionBankPayConfig;
import com.idogs.laosiji.pay.i... |
package Persistence;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author jf
*/
public class MSAccessA {
private Connection connection;
... |
/*
* 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 ... |
package mumble.tcp.helper;
import com.google.protobuf.MessageLite;
import mumble.protobuf.PackageType;
import mumble.protobuf.container.Message;
import mumble.tcp.helper.classes.ChannelManager;
import mumble.tcp.helper.classes.TextManager;
import mumble.tcp.helper.classes.UserManager;
import mumble.udp.VoiceConnection... |
package com.devonfw;
public class FooBar
{
private int baseField = 1;
private int patchField = 0;
}
|
package org.jeecg.modules.system.entity;
import java.io.Serializable;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatispl... |
/*
* 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... |
/*
* Copyright (c) 2010 World Wide Web Consortium,
*
* (Massachusetts Institute of Technology, European Research Consortium for
* Informatics and Mathematics, Keio University). All Rights Reserved. This
* work is distributed under the W3C(r) Software License [1] in the hope that
* it will be useful, but WITHOUT A... |
package org.broadinstitute.hellbender.utils;
import htsjdk.samtools.SAMUtils;
/**
* QualityUtils is a static class with some utility methods for manipulating
* quality scores.
*
* The definition of a Phred-scaled quality Q in terms of an error probability P(error) is:
* Q = -10 log_10 P(error), which implies log... |
package com.yin.bolgs.util;
import com.yin.bolgs.annotation.Between;
import com.yin.bolgs.annotation.In;
import com.yin.bolgs.annotation.Like;
import com.yin.bolgs.common.pojo.PageCondition;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.