text stringlengths 7 995k |
|---|
package nachos.threads;
import nachos.machine.*;
/**
* A <tt>Semaphore</tt> is a synchronization primitive with an unsigned value. A
* semaphore has only two operations:
*
* <ul>
* <li><tt>P()</tt>: waits until the semaphore's value is greater than zero,
* then decrements it.
* <li><tt>V()</tt>: increments th... |
/*
* 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 ... |
/*
* 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 ... |
/**
* 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 ... |
package k_6kyu.StopGninnipSMySdroW;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SpinWordsTest {
@Test
public void test() {
assertEquals("emocleW", new SpinWords().spinWords("Welcome"));
assertEquals("Hey wollef sroirraw", new SpinWords().spinWords("Hey fe... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/* Copyright 2015 1060 Research 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 agreed to in ... |
package com.example.demo;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class AdminServerApplicationTests {
@Test
void contextLoads() {
}
} |
package com.example.android.miwok;
import android.app.Activity;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import andro... |
package cn.chenhuamou.im.model;
/**
* Created by tiankui on 16/9/7.
*/
public class GroupMemberInfo {
private String groupId;
private String groupName;
private String displayName;
private String name;
private String portraitUri;
public GroupMemberInfo(String groupId, String groupName, Strin... |
package uk.gov.pay.connector.gatewayaccount.resource;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.inject.Inject;
import uk.gov.pay.connector.common.validator.RequestValidator;
import uk.gov.pay.connector.gatewayaccount.model.EmailCollectionMode;
import uk.gov.service.payments.commons.api.exceptio... |
package com.github.pister.dbsync.runtime.aop;
import com.github.pister.dbsync.common.db.seq.Sequence;
import com.github.pister.dbsync.runtime.sync.DestProcessor;
import com.github.pister.dbsync.runtime.sync.QueryProcessor;
/**
* Created by songlihuang on 2021/2/19.
*/
public interface AopContext {
DestProcesso... |
/*
* Copyright 2013 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 i... |
// Byte array that can have long type length
// Revised and extended by Boyang Wei
// based on code from William Deans (william.deans@gmail.com)
// original code: http://stackoverflow.com/questions/878309/java-array-with-more-than-4gb-elements
package sprout.oram;
import java.io.File;
import java.io.FileInputStream;
... |
package org.swampscottcurrents.serpentframework.logix;
import java.util.function.*;
public class LogixConditional extends LogixPath {
public static DoubleSupplier DefaultTimeProvider;
protected BooleanSupplier condition;
protected double startTime;
public LogixConditional(LogixPath parent, BooleanSu... |
// Do not edit this file!
// This file has been automatically generated.
// Edit MessageBundle_fr.xrts and run the XRTSMakeBundle tool instead.
//
package org.apache.myfaces.trinidad.resource;
import java.util.ListResourceBundle;
public class MessageBundle_fr extends ListResourceBundle {
@Override
public Object[... |
package io.microvibe.codegen.bean;
import io.microvibe.util.castor.annotation.XComplexType;
import io.microvibe.util.castor.annotation.XName;
public class CodeConfig {
private String table;
private String catalog;
private String schema;
@XName("package")
private String javaPackageName;
private String classify;... |
package uc.sgp.sagephy.io;
import uc.sgp.sagephy.math.LogDouble;
/**
* Sample type for LogDoubles. They are serialised in log-form.
*
* @author Joel Sjöstrand.
*/
public class SampleLogDouble implements SampleType {
/** Sample type ID. */
public static final String TYPE = "LogDouble";
@Override
public Str... |
package org.apache.commons.p029io.input;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
/* renamed from: org.apache.commons.io.input.NullInputStream */
public class NullInputStream extends InputStream {
private boolean eof;
private long mark;
private final boolean mar... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.authorization.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.faste... |
/*
* Copyright (c) 2007-2013 Concurrent, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
package org.hzero.platform.domain.entity;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.choerodon.core.exception.CommonException;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io... |
package ic2.api.energy.tile;
import java.util.List;
import net.minecraft.tileentity.TileEntity;
/**
* Interface for grouping multi-block structures to a single energy net delegate.
*
* The energy net uses TileEntity to refer to a specific xyz+world position. If multiple of those
* positions should belong to the... |
package yes.tdd.users.application;
public record UserInput(String name, String email) {
} |
package au.gov.nehta.model.clinical.ds;
import au.net.electronichealth.ns.cda._2_0.StrucDocText;
public class ClinicalSynopsis {
private String clinicalSynopsisDesc;
private StrucDocText customNarrative;
public String getClinicalSynopsisDesc() {
return clinicalSynopsisDesc;
}
public void setClinicalS... |
/*
* Copyright 2014-2019 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... |
package space.devport.wertik.treasures.system.struct.effect.struct;
import lombok.Data;
import org.jetbrains.annotations.Nullable;
import space.devport.dock.common.Strings;
import space.devport.dock.util.ParseUtil;
@Data
public class RGBColor {
private final int red;
private final int green;
private fina... |
package io.github.rcarlosdasilva.weixin.model.response.custom;
import java.util.List;
import com.google.gson.annotations.SerializedName;
import io.github.rcarlosdasilva.weixin.model.response.custom.bean.CustomAccount;
public class CustomAccountListResponse {
@SerializedName("kf_list")
private List<CustomAccoun... |
package cn.aposoft.tutorial.algorithm.tree.rbtree;
public class RBTreeNode<T extends Comparable<T>> {
private T value;//node value
private RBTreeNode<T> left;//left child pointer
private RBTreeNode<T> right;//right child pointer
private RBTreeNode<T> parent;//parent pointer
private boolean red;//co... |
package pl.allegro.tech.hermes.schema.confluent;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import pl.allegro.tech.hermes.api.RawSchema;
import java.util.Objects;
class SchemaRegistryRequestResponse {
private final String schema;
@JsonCreator
... |
/*
* 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 ... |
/*
* ====================================================================
* 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
... |
/******************************************************************************
* Compilation: javac LinearRegression.java
* Execution: java LinearRegression
* Dependencies: none
*
* Compute least squares solution to y = beta * x + alpha.
* Simple linear regression.
*
*******************************... |
package io.github.taj_ny.skyblockchatfilter.gui.config;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.fml.client.IModGuiFactory;
import java.util.Set;
public class GuiConfigFactory implements IModGuiFactory
{
@Override
public void initialize(Mine... |
/*
* 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) 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 Softwa... |
/**
*
*/
package net.arctics.clonk.ini;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface IniField {
public String category() default "";
} |
/*
* Copyright 2018 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 "license" fil... |
// Copyright 2021 GlitchyByte
// SPDX-License-Identifier: Apache-2.0
package com.glitchybyte.gspring.configuration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.task.AsyncTaskExecutor;
import org.springframework.web.context.request.NativeWebRequest;
import org.springframewo... |
package com.planet_ink.coffee_mud.Abilities.Misc;
import com.planet_ink.coffee_mud.Abilities.StdAbility;
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.p... |
package org.wso2.integrationstudio.datamapper.diagram.edit.helpers;
/**
* @generated
*/
public class PropertiesEditHelper extends DataMapperBaseEditHelper {
} |
package kr.ac.hs.selab.error.exception.common;
import kr.ac.hs.selab.error.exception.BusinessException;
import kr.ac.hs.selab.error.template.ErrorMessage;
import org.springframework.http.HttpStatus;
public class DuplicationException extends BusinessException {
public DuplicationException(final ErrorMessage messa... |
package br.com.rentacar.reserveserviceapplication.repositories;
import br.com.rentacar.reserveserviceapplication.entities.Locator;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface LocatorRepository extends JpaRepository<Locato... |
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* 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 ... |
/**
* alert-common
*
* Copyright (c) 2020 Synopsys, Inc.
*
* 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 unde... |
package com.zhazhapan.efo.dao.sqlprovider;
import com.zhazhapan.efo.EfoApplication;
import com.zhazhapan.efo.modules.constant.ConfigConsts;
import com.zhazhapan.efo.modules.constant.DefaultValues;
import com.zhazhapan.util.Checker;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.jdbc.SQL;
/**
* ... |
package com.packtpub.vaadin;
import com.packtpub.vaadin.widget.IntegerTextField;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.UI;
/**
* Main UI class
*/
@SuppressWarnings("serial")
public class Demo extends UI {
@Override
protected void init(VaadinRequest request) {
setContent(new IntegerTextFi... |
/**
* Copyright (C) 2016 Instacount Inc. (developers@instacount.io)
* <p/>
* 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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unl... |
package com.mycompany.tmch.dao;
import java.util.List;
import com.mycompany.tmch.model.User;
public interface UserDao {
public void saveUser(User user)throws Exception;
public List<User> getAllListUser()throws Exception;
} |
/*
* Copyright 2012-2017 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... |
/*
* Copyright 2017 Apereo
*
* 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 org.openjfx;
import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.CompletableFuture;
import org.jetbrains.annotations.NotNull;
import nl.liacs.watch.protocol.server.WrappedConnection;
import nl.liacs.watch.protocol.types.MessageParameter;
/*
public enum Sensor {
ACCELEROME... |
package com.jeecg.p3.goldeneggs.service.impl;
import java.util.List;
import javax.annotation.Resource;
import org.jeecgframework.p3.core.utils.common.PageList;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.... |
package ar.com.gbem.istea.estacionamientos.repositories;
import org.springframework.data.repository.CrudRepository;
import ar.com.gbem.istea.estacionamientos.repositories.model.Vehicle;
public interface VehicleRepo extends CrudRepository<Vehicle, Long>{
} |
package net.chrisrichardson.eventstore.examples.customersandorders.ordersservice.web;
import io.eventuate.EntityWithIdAndVersion;
import net.chrisrichardson.eventstore.examples.customersandorders.orderscommmon.CreateOrderRequest;
import net.chrisrichardson.eventstore.examples.customersandorders.orderscommmon.CreateOrd... |
package io.nuls.api.task;
import io.nuls.api.cache.ApiCache;
import io.nuls.api.db.BlockService;
import io.nuls.api.db.StatisticalService;
import io.nuls.api.manager.CacheManager;
import io.nuls.api.model.po.BlockHeaderInfo;
import io.nuls.api.model.po.ChainStatisticalInfo;
import io.nuls.api.model.po.mini.MiniBlockHe... |
package fileSynchronization.fileIOBased;
import fileSynchronization.utils.ClipboardUtils;
import fileSynchronization.utils.ConfigUtils;
import java.io.*;
import java.nio.charset.StandardCharsets;
/**
* @Author junlancer
* @Date 2020.5.20 16.53
* 粘贴端,虚拟机
*/
public class Client {
private FileInputStream inputSt... |
/*
* Copyright 2002-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 ap... |
/**
* SpecCmd.java is part of King of the Hill.
*/
package com.valygard.KotH.command.user;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.valygard.KotH.command.Command;
import com.valygard.KotH.command.CommandInfo;
import com.valygard.KotH.command.CommandPermission;
import com.... |
package edu.upc.eetac.dsa.beeter.auth;
import edu.upc.eetac.dsa.beeter.entity.Role;
import java.security.Principal;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Marti on 16/01/2016.
*/
public class UserInfo implements Principal {
private String name;
private List<Role> roles = new Ar... |
/*
* Copyright 2018 Murat Artim (muratartim@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 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 may ... |
package org.logstash.secret;
import java.lang.reflect.Field;
import java.util.Collections;
import java.util.Map;
/**
* Tool to change the in-memory environment settings, does not change actual environment
*/
public class EnvironmentUtil {
//near exact copy from https://stackoverflow.com/questions/318239/how-do... |
package dev.cheerfun.pixivic.basic.event.constant;
/**
* @author OysterQAQ
* @version 1.0
* @date 19-12-14 下午2:02
* @description NotifyActionType
*/
public class ActionType {
public final static String REPLY = "reply";
public final static String COMMENT = "comment";
public final static String LIKE = "... |
/*
* 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 Aula_06;
/**
*
* @author gabriel.rvital
*/
public class testaListaEncadeada {
public static void main(String[] args) {... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2011 The ZAP Development team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
/*
* Copyright 2013 - 2019 The Original 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 b... |
/*
* 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 t... |
/*
* Apache License
*
* Copyright (c) 2019 halower (halower@foxmail.com).
*
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
... |
/**
* 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 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
* distribut... |
/*
* Copyright 2017 Lightbend, 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... |
package org.springframework.cache.jcache.interceptor;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import javax.cache.annotation.CacheDefaults;
import javax.cache.annotation.CacheKeyGenerator;
import javax.cache.annotation.CacheMethodDetail... |
/*
* 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 applicable l... |
/*
* 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.ngdesk.data.dao;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class WorkflowPayloadForChat {
@JsonProperty("PAGE_LOAD")
private Map<... |
package de.metas.ui.web.payment_allocation.process;
import com.google.common.collect.ImmutableList;
import de.metas.ui.web.payment_allocation.InvoiceRow;
import de.metas.ui.web.payment_allocation.InvoicesView;
import de.metas.ui.web.payment_allocation.PaymentRow;
import de.metas.ui.web.payment_allocation.PaymentsView;... |
package ru.intertrust.cm.core.business.impl.report;
import net.sf.jasperreports.engine.export.ooxml.JRXlsxExporter;
import net.sf.jasperreports.export.Exporter;
import net.sf.jasperreports.export.ExporterConfiguration;
import net.sf.jasperreports.export.ExporterInput;
import net.sf.jasperreports.export.ExporterOutput;... |
package com.atguigu.gmall.sms.controller;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import com.atguigu.core.bean.Resp;
import com.atguigu.gmall.sms.entity.CouponEntity;
import com.atguigu.gmall.sms.service.CouponService;
import io.swagger.annotations.Api;
import io.swagger.annot... |
package xyz.hippogriff.hamzah.mp.entities;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
import xyz.hippogriff.hamzah.mp.entities.MpMajor;
@Generated(value="EclipseLink-2.5.2.v20140319-rNA", date="2018-11-24T20:14:41")
@Sta... |
package ru.iunusov.testbench.users;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import ru.iunusov.testbench.users.config.ServiceTestConfiguration;
@SpringBootTest(
value = {"spring.main.allow-bean-defin... |
package com.sd.lib.pulltorefresh.gesture;
import android.util.Log;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.ViewGroup;
public class FGestureManager
{
private final ViewGroup mViewGroup;
private FTouchHelper mTouchHelper;
private final TagHolder mTagHolder;... |
/*
* 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.bolyartech.forge.admin.units.user.users;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;
import com.bolyartech.forge.admin.R;
public class DfNoUserFound extends DialogFragment {
public static final String DIALOG_TAG = "Df_NoUser... |
package org.pac4j.core.http.adapter;
import org.junit.Before;
import org.junit.Test;
import org.pac4j.core.context.HttpConstants;
import org.pac4j.core.context.JEEContext;
import org.pac4j.core.exception.TechnicalException;
import org.pac4j.core.exception.http.FoundAction;
import org.pac4j.core.exception.http.OkAction... |
package com.formacionbdi.springboot.app.usuarios.dao;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import ... |
/*
* Copyright 2013 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 i... |
/*
* Copyright (c) 2018 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.upman;
import io.imunity.webelements.navigation.NavigationInfoProvider;
import io.imunity.webelements.navigation.NavigationHierarchyManager;
/**
* Dummy interface ac... |
// 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 applicable ... |
package ex;
/*
* Topic: 讓使用者輸入 一個正整數 n 及一個字元符號,然後顯示出下列圖形 (例 n = 4,字元符號= @)
@@@@
@@@
@@
@
* Date: 2016/10/17
* Author: 103021043 何宙運
*/
import java.util.Scanner;
public class ex04_103021043 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scann... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayCommerceIotDeviceTradevoiceSendModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayCommerceIotDeviceTradevoiceSendResponse;
import com.alipay.api.Ali... |
package com.mongodb.quickstart.models;
import org.bson.codecs.pojo.annotations.BsonProperty;
import org.bson.types.ObjectId;
import java.util.Objects;
import java.util.Date;
public class trip {
private ObjectId id;
private int tripduration;
@BsonProperty(value = "start station id")
public int Startstat... |
/*
* 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 2019 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://www.apache.org/licenses/LICENSE-2.0
*
* or in... |
package io.vertx.ext.web.api.generator.impl.model;
import io.vertx.codegen.*;
import io.vertx.codegen.doc.Doc;
import io.vertx.codegen.doc.Text;
import io.vertx.codegen.type.ClassTypeInfo;
import io.vertx.codegen.type.ParameterizedTypeInfo;
import io.vertx.codegen.type.TypeInfo;
import io.vertx.ext.web.api.OperationRe... |
package org.jeecg.modules.demo.recipe.service;
import org.jeecg.modules.demo.recipe.entity.RecipeStructure;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 饮食结构管理
* @Author: jeecg-boot
* @Date: 2022-05-03
* @Version: V1.0
*/
public interface IRecipeStructureService extends IServ... |
/*
* 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.ztrip.web.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "role")
public class Role {
@Id
@GeneratedValue(strateg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.