text stringlengths 7 1.01M |
|---|
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
/*
* 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 ... |
/*
* Copyright 2014-2018 Real Logic 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package pers.auly.cmcwip;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
// Test classes
})
public class CmcwipApplicationTests {
// Automatically run all the tests in SuiteClasses
}
|
package ozaydin.serkan.com.image_zoom_view;
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.*;
/**
* Instrumented test, which will execute on... |
/*
* 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 ... |
package com.gocardless.resources;
import com.gocardless.api.Message;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
@Path("/hello")
public class InterviewResource {
private static final String MESSAGE = "Hello, world!";
... |
package com.hyperwallet.android.transfermethod;
import com.hyperwallet.android.Hyperwallet;
import com.hyperwallet.android.exception.HyperwalletException;
import com.hyperwallet.android.exception.HyperwalletRestException;
import com.hyperwallet.android.listener.HyperwalletListener;
import com.hyperwallet.android.model... |
/*
* 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 ... |
/*
* Copyright (C) 2004-2008 Jive Software. All rights reserved.
*
* 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 require... |
package com.patrick.maaltijdapp.model.data;
/**
* Created by Patrick on 16/01/2018.
*/
/**
* Provides specific data operations
*/
public class DAOFactory
{
private static final String TAG = DAOFactory.class.getSimpleName();
private SQLiteLocalDatabase db;
/**
* Initializes a new instance of the... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2021 nobark (tools4j), Marco Terzer, Anton Anufriev
*
* 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 witho... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
package base;
import javassist.*;
import javassist.bytecode.CodeAttribute;
import javassist.bytecode.LocalVariableAttribute;
import javassist.bytecode.MethodInfo;
import java.lang.reflect.Method;
public class MethodUtil {
public static String[] getAllParamaterName(Method method)
throws NotFoundExcep... |
/*
* Copyright 2019 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 ... |
/*
* 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 no... |
/*
* ============================================================================
* GNU Lesser General Public License
* ============================================================================
*
* BYDAN - Free Java BYDAN library.
* Copyright (C) 2008
*
* This library is free software; you can redistribu... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* 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 ... |
package io.github.joaoh1.okzoomer.client.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import io.github.joaoh1.okzoomer.client.utils.ZoomUtils;
i... |
package com.github.utransnet.utranscalc.server.data.services;
import com.github.utransnet.utranscalc.server.data.*;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
/**
* Created by Artem on 04.06.2018.
*/
public interface BaseObjectMaterialRepository extends JpaRepository<BaseO... |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/*
* Copyright (c) 2016 droidwolf(droidwolf2006@gmail.com)
* All rights reserved.
*
* 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
*... |
public static String hash(final String s) {
if (s == null || s.length() == 0) return null;
try {
final MessageDigest hashEngine = MessageDigest.getInstance("SHA-1");
hashEngine.update(s.getBytes("iso-8859-1"), 0, s.length());
return convertToHex(hashEngine.digest(... |
package com.elifut.models;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
import org.apache.commons.math3.distribution.NormalDistribution;
import java.util.Collections;
import j... |
package org.cloudfoundry.autoscaler.data.couchdb.dao.impl;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import org.cloudfoundry.autoscaler.data.couchdb.dao.ScalingHistoryDAO;
import org.cloudfoundry.autoscaler.data.couchdb.dao.base.TypedCouchDbRepositorySupport;
import org.cloudf... |
package org.ttrzcinski.interfaces;
/**
* Forces adding method to show properties n console.
*
* @author <a href="mailto:trzcinski.tomasz.1988@gmail.com">Tomasz T.</a>
* @version 1.0
*/
public interface I2Console {
/**
* Lists all properties of instance.
*/
void toConsole();
}
|
package com.WIZLights;
import com.google.inject.Guice;
import junit.framework.TestCase;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.junit.MockitoJUnitRunner;
import com.google.inject.testing.fieldbinder.BoundFieldModule;
import javax.inject.Inject;
import java.i... |
package com.github.cc3002.citricjuice.controller.states;
public class BattlePhase extends TurnState {
/**
* change the canFight parameter for security
*/
public BattlePhase(){
this.canFight=true;
}
@Override
public void toWaitFight(){this.changeTurnState(new WaitFight());}
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.synapse.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.co... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-257
// 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: 2012... |
package dev.xdark.ssvm.execution.rewrite;
import dev.xdark.ssvm.asm.VMTypeInsnNode;
import dev.xdark.ssvm.execution.ExecutionContext;
import dev.xdark.ssvm.execution.InstructionProcessor;
import dev.xdark.ssvm.execution.Result;
/**
* Fast path for CHECKCAST.
*/
public class VMCastProcessor implements InstructionPro... |
/*
* Copyright 2015 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 ... |
/*
Copyright 2015-2017 Artem Stasiuk
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, softw... |
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.onnx;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.onnx.global.onnx.*;
@Properties(inherit = org.... |
/*
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistribution of source code must retain the above copyright
* notice, this list of ... |
/**
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2019 Yegor Bugayenko
*
* 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
*... |
/*
* Copyright (C) 2013 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"); you... |
package com.targomo.client.api.json;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.targomo.client.api.geo.DefaultTargetCoordinate;
im... |
package org.hbird.transport.protocols.hardware;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
import gnu.io.UnsupportedCommOperationException;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Te... |
/*
* Copyright 2020 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 require... |
/*
* Project: WaViewer3D
* Version: 1.0
* File: Face.java
*
*A face which is only adopted for triangles.
*
* Copyright(C) 2006-2013 Takao WADA. All rights reserved.
*/
package com.drjiro.viewer;
/**
* A face which is only adopted for triangles.
*
* @author wada
*/
public class Face {
/** Vertices */
... |
/** OutputFile.java
*
* Copyright May 2018 Tideworks Technology
* Author: Roger D. Voss
* MIT License
*/
package com.tideworks.data_load.io;
import org.apache.parquet.io.PositionOutputStream;
import javax.annotation.Nonnull;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.OutputSt... |
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2018-2020 The Feast 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
*... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2012, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... |
package com.gy.service.impl;
import com.gy.dao.UserDao;
import com.gy.dto.RegisterDto;
import com.gy.model.User;
import com.gy.service.UserService;
import org.jasypt.util.password.PasswordEncryptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
... |
/*
* Copyright 2021 gparap
*
* 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 wr... |
package com.manage.framework.config;
import java.util.Random;
import com.google.code.kaptcha.text.impl.DefaultTextCreator;
/**
* 验证码文本生成器
*
* @author ruoyi
*/
public class KaptchaTextCreator extends DefaultTextCreator
{
private static final String[] CNUMBERS = "0,1,2,3,4,5,6,7,8,9,10".split(",");
@Over... |
package externa;
// anotações
@Informacao(
autor = "rodrigo",
aulaNumero = 65,
blog = "rodrigo.com"
)
public class Externa {
private String texto = "texto externo";
public class Interna {
private String texto = "texto interno";
public void imprimeTexto(){
System.ou... |
package app.weasel.activity;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebReso... |
package net.mfinance.chatlib.utils;
import android.util.Log;
import java.text.DecimalFormat;
public class NumberPriceUtil {
/**
* 转成以万为单位
* @param num 整数
*/
public static String toThou(int num) {
// 设置保留位数
DecimalFormat df = new DecimalFormat("0.00");
float pp = (float... |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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 a... |
package com.liheng.study;
/**
* Created by dell on 2016/3/5.
*/
public class LightEntity {
private float light;
private String timestamp;
public LightEntity(float light,String timestamp){
this.light=light;
this.timestamp=timestamp;
}
public float getLight() {
return ligh... |
/*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package top.chenqwwq.leetcode.weekly._248._2;
import java.util.Arrays;
/**
* @author chen
* @date 2021/7/4
**/
public class Solution {
public int eliminateMaximum(int[] dist, int[] speed) {
// 每个怪兽到城市的时间
final int n = dist.length;
float[] times = new float[n];
for (int i = 0; i < n; i++) {
times[i] = 1... |
package com.mail.coupon.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.... |
package org.apache.rya.accumulo.mr.tools;
/*
* 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 Li... |
/*___Generated_by_IDEA___*/
package com.acintyo.reactnativeandroidperiodicfetch;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = Boolean.parseBoolean(null);
} |
package com.luv2code.hibernate.demo;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import com.luv2code.hibernate.demo.entity.Student;
public class UpdateStudentDemo {
public static void main(String[] args) {
// create session factory
SessionFactor... |
package org.javaz.queues.iface;
import java.util.*;
/**
*
*/
public interface PartialSenderI extends Runnable
{
public static int DEFAULT_SEND_PERIOD = 60000;
public static int DEFAULT_SMALL_DELAY_PERIOD = 10000;
public static int DEFAULT_SEND_SIZE = 64;
public static int DEFAULT_LOGS_COUNT = 32;
... |
package net.minecraft.client.renderer.entity.layers;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.entity.IEntityRenderer;
import net.minecraft.client.renderer.entity.model.WolfModel;
import net.minecraft.entity.passive.WolfEn... |
package net.modificationstation.stationapi.impl.client.model;
import com.google.common.primitives.Doubles;
import lombok.Getter;
import net.modificationstation.stationapi.api.util.Null;
import net.modificationstation.stationapi.api.util.math.Direction;
import java.util.*;
import static net.modificationstation.statio... |
/****************************************************************
* 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... |
/*
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... |
/*
* Spreadsheet by Madhawa
*/
package exceptions;
/**
*
* @author Madhawa
*/
/*
This exception is raised when a given expression has a function with some parameters missing. Maybe the expression is incomplete.
The raise condition is checked before each and every pop from the RPN stack
*/
public clas... |
package com.c2b.coin.account.service;
import java.math.BigDecimal;
import java.util.List;
import com.c2b.coin.account.entity.AssetLog;
import com.c2b.coin.account.entity.WithdrawAddressLog;
import com.c2b.coin.common.AjaxResponse;
public interface IWithdrawService {
void addAddress(WithdrawAddressLog w);
List<... |
package net.tenie.fx.component.container;
import org.controlsfx.control.MasterDetailPane;
import javafx.geometry.Side;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Priority;
import net.tenie.Sqlucky.sdk.component.ComponentGetter;
import net.tenie.Sqlucky.sdk.component.SqlcukyEditor;
import net.tenie.Sql... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/** Base Releasables package. */
package org.opensearch.common.lease;
|
package net.minecraft.util;
import java.util.Random;
import java.util.UUID;
public class MathHelper
{
public static final float SQRT_2 = sqrt_float(2.0F);
private static final int SIN_BITS = 12;
private static final int SIN_MASK = 4095;
private static final int SIN_COUNT = 4096;
public static fina... |
import java.util.Scanner;
public class Zig_Zag_Arrays_03 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = Integer.parseInt(scanner.nextLine());
String[] line1 = new String[n];
String[] line2 = new String[n];
for (int ... |
package com.swmansion.gesturehandler;
import android.os.Handler;
import android.view.MotionEvent;
public class TapGestureHandler extends GestureHandler<TapGestureHandler> {
private static final long DEFAULT_MAX_DELAY_MS = 500;
private static final long DEFAULT_MAX_DURATION_MS = 500;
private static final i... |
package com.len.entity;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
public class SysJob implements Serializable {
private String id;
private String jobName;
private String cron;
private Boolean st... |
/*
* Copyright 2000-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... |
package core.popularidade;
import core.Post;
public class Normal implements ComportamentoSocial {
/**
*
*/
private static final long serialVersionUID = -7673162452689328855L;
private static final int DELTA = 10;
private static final int QTDPOSTSTOSHARE = 2;
/**
* Adiciona ao post recebido ... |
/*
* 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 Examples.PingPong;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import ... |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
package me.bscal.betterfarming.common.database.blockdata.array;
import me.bscal.betterfarming.common.database.blockdata.DataManager;
import me.bscal.betterfarming.common.database.blockdata.IBlockDataBlock;
import me.bscal.betterfarming.common.database.blockdata.IBlockDataWorld;
import net.minecraft.server.MinecraftSer... |
package OOD.LinuxFind;
import java.util.Stack;
class FollowSymbolicLinkOptionParser extends Parser {
@Override
public String getName() {
return "L";
}
@Override
public PlanNode parse(Stack<String> args) {
return new FollowSymbolicLinkOption();
}
}
|
package ir.doorbash.colyseus_chat;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.SparseArray;
import android.widget.TextView;
import com.stfalcon.chatkit.messages.MessageInput;
import com.stfalcon.chatkit.messages.MessagesList;
import com.stfalcon.chatkit.messages.Mess... |
package us.koller.cameraroll.preferences;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.fragment.app.DialogFragment;
import androidx.viewpager.widge... |
package PROV.DM;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import ja... |
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... |
package structures.cards;
import akka.actor.ActorRef;
import commands.BasicCommands;
import structures.GameState;
import structures.basic.Card;
import structures.basic.EffectAnimation;
import structures.basic.Tile;
import structures.units.unitBlazeHound;
import utils.BasicObjectBuilders;
import utils.StaticC... |
package rocks.inspectit.shared.all.communication.comparator;
import java.util.Comparator;
import com.google.common.primitives.Longs;
import rocks.inspectit.shared.all.cmr.service.ICachedDataService;
import rocks.inspectit.shared.all.communication.data.TimerData;
/**
* Comparators for the {@link TimerData}.
*
* @... |
// Copyright 2015-2021 Nkisi 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... |
package cn.yingsuo.im.server.request;
/**
* Created by AMing on 15/12/23.
* Company RongCloud
*/
public class RegisterRequest {
private String ni_name;
private String password;
private String code;
private String tel;
private String tui_tel;
public RegisterRequest(String ni_name, Str... |
package tools.commandline;
/*
* Extremely Compiler Collection.
* Copyright (c) 2015-2020, Jianping Zeng.
*
* 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/... |
package seedu.jarvis.model;
import javafx.beans.property.StringProperty;
import javafx.collections.ObservableList;
import seedu.jarvis.model.consultation.Consultation;
import seedu.jarvis.model.masterycheck.MasteryCheck;
import seedu.jarvis.model.mission.Mission;
import seedu.jarvis.model.quest.Quest;
import seedu.jar... |
package com.alvin.percobaanjawaban;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public ... |
package com.lody.virtual.server.interfaces;
import android.os.RemoteException;
import com.lody.virtual.remote.vloc.VCell;
import com.lody.virtual.remote.vloc.VLocation;
import java.util.List;
/**
* @author Lody
*/
public interface IVirtualLocationManager {
int getMode(int userId, String pkg) throws RemoteExc... |
package com.sly.designmodel.proxy;
/**
* RealSubject类,定义了Proxy所代理的真实实体
* @author sly
* @time 2019年3月10日
*/
public class RealSubject implements Subject {
@Override
public void request() {
System.out.println("真实的请求!");
}
}
|
package com.mindata.blockchain.socket.pbft.event;
import com.mindata.blockchain.socket.pbft.msg.VoteMsg;
import org.springframework.context.ApplicationEvent;
/**
* 消息已被验证,进入到Prepare集合中
* @author wuweifeng wrote on 2018/4/25.
*/
public class MsgPrepareEvent extends ApplicationEvent {
public MsgPrepareEvent(Vote... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.sql.execution.search;
import org.... |
package org.owasp.dependencycheck.analyzer;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.owasp.dependencycheck.BaseTest;
import org.owasp.dependencycheck.Engine;
import org.owasp.dependencycheck.analyzer.exception.AnalysisException;
import org.owasp.dependencycheck.dependency.Depe... |
/*
* ARISTOSTLE UNIVERSITY OF THESSALONIKI
* Copyright (C) 2015
* Aristotle University of Thessaloniki
* Department of Electrical & Computer Engineering
* Division of Electronics & Computer Engineering
* Intelligent Systems & Software Engineering Lab
*
* Project : reviews
* WorkFile :
... |
package com.ucar.eser.front.controller.stats;
import com.google.gson.JsonObject;
import com.ucar.eser.core.jest.service.JestService;
import io.searchbox.client.JestResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
// Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).
package com.twitter.intellij.pants.service.project.metadata;
import com.intellij.openapi.externalSystem.model.Key;
import com.intellij.openapi.externalSystem.model.ProjectKeys;
import c... |
package com.menu;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.manniu.manniu.R;
/**
* 实时视频菜单适配器
* @au... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.