text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.mas.showgalaxy.ui.content;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.widget.LinearLayout;
import com.mas.showgalaxy.R;
import com.mas.showgalaxy.c... |
package com.funyoo.hqxApp.controller;
import com.funyoo.hqxApp.model.Article;
import com.funyoo.hqxApp.model.CollectionModel;
import com.funyoo.hqxApp.result.CodeMsg;
import com.funyoo.hqxApp.result.Result;
import com.funyoo.hqxApp.service.ArticleReadSevice;
import com.funyoo.hqxApp.service.CollectionService;
import o... |
/*
* 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.wilson.nfc_android.login;
/**
* Created by Anthony on 2016/2/15.
* Class Note:登陆View的接口,实现类也就是登陆的activity
*/
public interface LoginView {
void showProgress();
void hideProgress();
void setUsernameError();
void setPasswordError();
void navigateToHome();
} |
package com.skyl.restaurants.service;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.StrUtil;
import com.google.common.collect.Lists;
import com.skyl.commons.constant.ApiConstant;
import com.skyl.commons.constant.RedisKeyConstant;
import com.skyl.commons.exception.ParameterException;
import com.skyl.c... |
package org.benetech.servicenet.service.mapper;
import org.benetech.servicenet.domain.ExclusionsConfig;
import org.benetech.servicenet.service.dto.ExclusionsConfigDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import java.util.UUID;
/**
* Mapper for the entity {@link ExclusionsConfig} and its DTO {... |
package net.fhoffmann.securetypes.types;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.Random;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.KeyGenerator;
import javax.... |
package boofcv.abst.tracker;
import boofcv.core.image.GeneralizedImageOps;
import boofcv.misc.BoofMiscOps;
import boofcv.struct.ImageRectangle;
import boofcv.struct.image.ImageSingleBand;
import boofcv.struct.image.ImageUInt8;
import georegression.metric.Intersection2D_F64;
import georegression.struct.point.Point2D_F6... |
/**
* Copyright (C) 2013-2017 Helical IT Solutions (http://www.helicalinsight.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://... |
/*
* 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 2012-2013 Wicked Charts (http://wicked-charts.googlecode.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... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.omaha;
import android.content.res.Resources;
import android.os.AsyncTask;
import org.chromium.base.ThreadUtils;
impo... |
package com.imooc.miaosha.service.Impl;
import com.imooc.miaosha.dataobject.OrderInfo;
import com.imooc.miaosha.dto.BuyerDTO;
import com.imooc.miaosha.dto.OrderDTO;
import com.imooc.miaosha.dto.ProductDTO;
import com.imooc.miaosha.dto.StockLogDTO;
import com.imooc.miaosha.enums.ResultEnum;
import com.imooc.miaosha.enu... |
package com.zxcs.printtemplate.vo;
import lombok.Data;
import lombok.ToString;
import java.util.List;
/**
* 出票口详情视图
* Created by zfh on 2019/01/09
*/
@Data
@ToString
public class PrinterKitchenIntegrationVO {
/**
* 出票口ID
*/
private Integer id;
/**
* 出票口名称
*/
private String na... |
package com.ul.ts.products.mdlholder.connection.descriptor.compat;
@SuppressWarnings("unused")
public class BLEConnection implements RemoteConnection {
public BLEConnection(final AbstractLicenseActivity activity, final String antiCollisionIdentifier) {
throw new UnsupportedOperationException();
}
} |
package com.distrimind.bouncycastle.cms.jcajce;
import java.security.PrivateKey;
import java.security.Provider;
import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;
import com.distrimind.bouncycastle.asn1.cms.AttributeTable;
import com.distrimind.bouncycastle.cert.X509Cer... |
package ch.vikraft.mixin;
import net.minecraft.client.MinecraftClient;
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;
@Mixin(MinecraftClient.class)
publi... |
package com.softicar.platform.common.security.crypt;
import com.softicar.platform.common.testing.AbstractTest;
import org.junit.Test;
public class BcryptTest extends AbstractTest {
private static final String PASSWORD = "password";
private static final String ENCRYPTED_1 = "$2a$05$SlbuZ9bDYvS2pIz/dJNVROZVoHN/R9wyC... |
import java.io.File;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketTimeoutException;
import java.util.logging.Level;
import java.util.logging.Logger;
import packet.Packet;
public class Server... |
/*
* Copyright (c) 2015 EXILANT Technologies Private Limited (www.exilant.com)
* Copyright (c) 2016 simplity.org
*
* 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, i... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE89_SQL_Injection__File_executeBatch_68a.java
Label Definition File: CWE89_SQL_Injection.label.xml
Template File: sources-sinks-68a.tmpl.java
*/
/*
* @description
* CWE: 89 SQL Injection
* BadSource: File Read data from file (named c:\data.txt)
* GoodSource: A hardcod... |
package com.github.anno.service.impl;
import com.github.anno.entity.Driver;
import com.github.anno.repository.BaseRepository;
import com.github.anno.repository.DriverRepository;
import com.github.anno.service.DriverService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Auto... |
/*
* 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.ml.integration;
import org.elasticsearch.Elas... |
package com.sankuai.inf.leaf.segment.model;
import java.util.concurrent.atomic.AtomicLong;
/**
* 号段类
*/
public class Segment {
/**
* 内存生成的每一个id号
*/
private AtomicLong value = new AtomicLong(0);
/**
* 当前号段允许的最大id值
*/
private volatile long max;
/**
* 步长,会根据数据库的step动态调整
... |
/*
* This SDK is licensed under the MIT license (MIT)
* Copyright (c) 2015- Applied Technologies Internet SAS (registration number B 403 261 258 - Trade and Companies Register of Bordeaux – France)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated do... |
package me.j360.dubbo.base.model.result;
import me.j360.dubbo.base.constant.BaseErrorCode;
import me.j360.dubbo.base.model.domian.BaseDO;
public class ResultSupport extends BaseDO {
private boolean success = true;
private int resultCode;
private String resultMsg;
public ResultSupport(){
... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free... |
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su conteni... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
import android.view.View;
import com.facebook.react.bridge.BaseJavaModule;
import com.faceb... |
package org.acme.quickstart;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is;
import org.junit.jupiter.api.Test;
import io.quarkus.test.junit.QuarkusTest;
import javax.transaction.Status;
@QuarkusTest
public class TransactionalResourceTest {
private final String NO_TX... |
/*
* Copyright 2019 EIS Ltd and/or one of its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package com.finalyear.sentiment_analysis;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.ImageView;... |
package com.bluesnap.androidapi;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import androidx.test.platform.app.InstrumentationRegistry;
import android.util.Base64;
import android.util.Log;
import com.bluesnap.androidapi.http.BlueSnapHTTPResponse;
import com.bluesnap.androidapi... |
/*
* Copyright 2004 Outerthought bvba and Schaubroeck nv
*
* 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... |
/*
* Copyright (C) 2010 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 may ... |
/*
* Copyright 2014 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 applicabl... |
package com.planet_ink.coffee_mud.Abilities.Specializations;
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.*;
imp... |
package com.trio.breakFast.dao.impl;
import com.trio.breakFast.dao.UsermessageDao;
import com.trio.breakFast.model.Usermessage;
import org.springframework.stereotype.Repository;
/**
* Created by asus on 2016/7/26.
*/
@Repository
public class UsermessageDaoImpl extends BaseDaoImpl<Usermessage> implements Usermessage... |
/*
* Copyright 2002-2018 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... |
/*
* 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.restart;
import org.apache.http.util.EntityUt... |
package org.apache.archiva.repository.scanner;
/*
* 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 Apac... |
package pt.passarola.services;
import android.content.Context;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import pt.passarola.services.rest.RestApi;
import pt.passarola.services.tracker.TrackerManager;
/**
* Created by ruigoncalo on 22/10/15.
*/
@Module(library = true, complete ... |
/*!
* Copyright (c) 2015-2016, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required by ... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builde... |
package pl.grzeslowski.jsupla.protocol.api.encoders.sdc;
import pl.grzeslowski.jsupla.protocol.api.structs.sdc.SuplaVersionError;
public interface SuplaVersionErrorEncoder extends ServerClientDeviceEncoder<SuplaVersionError> {
} |
/**
* 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 scalafix.internal.interfaces;
import coursierapi.Module;
import coursierapi.*;
import coursierapi.error.CoursierError;
import scalafix.interfaces.ScalafixException;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import... |
package com.wzq.po;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Entity
@Table(name = "t_user")
public class User {
@Id
@GeneratedValue
private Long id;
private String nickname;
private String username;
private String password;
... |
/*
* 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 org.khomenko.project.core.util.bpp;
import org.khomenko.project.core.util.internal.ScheduledTaskContainer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor;
import org.springframework.stereotype.Component;
@Compon... |
package com.daimajia.swipe;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.HashSet;
import java.util.Set;
public abstract class SwipeAdapter extends BaseAdapter {
public static enum Mode {
Single, Multiple
};
private Mode mode = Mode... |
package org.openstack4j.model.heat.builder;
import java.util.Map;
import org.openstack4j.common.Buildable;
import org.openstack4j.model.heat.StackUpdate;
/**
* A builder which creates a StackUpdate entity
*
* @author Jeremy Unruh
*/
public interface StackUpdateBuilder extends Buildable.Builder<StackUpdateBuilder... |
/*
* Copyright (c) 2010-2020 Nathan Rajlich
*
* 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... |
/*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you 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 r... |
package br.com.academy.gerson.projetoproposta.controller.feignClient;
import javax.validation.Valid;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import br.com.academy.gerson.projetoprop... |
package io.scalecube.services.examples.codecs;
import io.scalecube.net.Address;
import io.scalecube.services.Microservices;
import io.scalecube.services.discovery.ScalecubeServiceDiscovery;
import io.scalecube.services.examples.helloworld.service.GreetingServiceImpl;
import io.scalecube.services.examples.helloworld.se... |
/*
* Copyright 2010 dorkbox, 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 agreed to... |
package org.apache.tomcat.maven.common;
/*
* 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 Licen... |
/*
* Copyright 2002-2020 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... |
class Display
{
public synchronized void wish(String name)
{
for(int i=0;i<10;i++)
{
System.out.print("Good Morning:");
try
{
Thread.sleep(1000);
}
catch(InterruptedException ie)
{
}
System.out.println(name);
}
}
}
class MyThread extends Thread
{
Display d;
String name;
MyThread(... |
/*
* 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... |
package com.bmw.news.common.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import org.apac... |
package com.sequenceiq.cloudbreak.service.stack.connector.azure;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFact... |
package com.rogeop.lambda.core.model.fruit;
/**
* @author Robert Pepersack
*/
public class Kiwi extends Fruit {
private static final long serialVersionUID = -6570921600662349412L;
/**
* Default constructor that sets name, color, and type
*/
public Kiwi() {
super("kiwi", "green", Fruit... |
/*
* 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.aliyun.ros.cdk.waf;
/**
* Properties for defining a `ALIYUN::WAF::Domain`.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:59.043Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.waf.$Module.class, fqn = "@alicloud/ros-cdk-waf.RosDomainProps"... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
public class BandMatrix {
public static void main(String[] args) {
int n = Integer.parseInt(args[0]);
int width = Integer.parseInt(args[1]);
for (int i = 0; i < n; i++){
String pattern = "";
for (int j = 0; j < n; j++){
if ((Math.abs(i - j)) <= width)
pattern = pattern + ... |
/*
* #%L
* FlatPack serialization code
* %%
* Copyright (C) 2012 Perka 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
... |
package ganymedes01.etfuturum.blocks;
import java.util.Random;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import ganymedes01.etfuturum.EtFuturum;
import ganymedes01.etfuturum.IConfigurable;
import ganymedes01.etfuturum.ModBlocks;
import ganymedes01.etfuturum.ModBlocks.ISubBlocksBloc... |
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* (C) Copyright IBM Corp. 2021.
*
* 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 w... |
package cz.it4i.fiji.hpc_workflow.ui;
import java.util.EnumMap;
import java.util.Map;
import java.util.Optional;
import cz.it4i.fiji.hpc_client.JobState;
class JobStateNameProvider {
private final Map<JobState,String> translateTable = new EnumMap<>(JobState.class);
public JobStateNameProvider() {
translateTab... |
package com.google.refine.tests.rdf;
import java.io.StringWriter;
import java.util.Properties;
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.map.ObjectMapper;
import org.json.JSONObject;
import org.json.JSONWriter;
im... |
/**
* Licensed to ESUP-Portail under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* ESUP-Portail licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this fil... |
package com.example.slabiak.appointmentscheduler.service;
import com.example.slabiak.appointmentscheduler.entity.*;
import com.example.slabiak.appointmentscheduler.entity.user.User;
import java.util.List;
public interface NotificationService {
void newNotification(String title, String message, String url, User ... |
package com.atguigu.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* spu图片
*
* @author wei
* @email
* @date 2021-11-28 15:30:08
*/
@Data
@TableName("... |
/**
* 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 features.spatial.instances;
import game.types.board.SiteType;
import main.collections.ChunkSet;
import other.state.State;
/**
* A test that check for a single specific cell that must be not owned by a specific player
*
* @author Dennis Soemers
*/
public class SingleMustNotWhoCell extends AtomicProposition... |
package com.ruoyi.gateway.handler;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.CharBuffer;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;
import org.spring... |
package fr.famivac.gestionnaire.web.parametres.fraisvoyage;
import fr.famivac.gestionnaire.domains.parametres.entity.FraisVoyage;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.primefaces.model.FilterMeta;
import org.primefaces.model.LazyDataMode... |
/* Why ABL Example
Authors: Bill Wood, Alan Estrada
File Name: TempTable/example.java
Version: 1.02
This example aims to show the added difficulty of navigating,
sorting, and filtering through result sets from queries.
A lot of the logic was deliberately not done in the query as
the aim is to p... |
/******************************************************************************
* $Id$
*
* Name: ogrinfo.java
* Project: GDAL SWIG Interface
* Purpose: Java port of ogrinfo application, simple client for viewing OGR driver data.
* Author: Even Rouault, <even dot rouault at mines dash paris dot org>
*
* ... |
package com.flycms.web.tags;
import com.flycms.core.base.AbstractTagPlugin;
import com.flycms.module.user.model.UserCount;
import com.flycms.module.user.service.UserService;
import freemarker.core.Environment;
import freemarker.template.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
package com.charlyghislain.plancul.util;
import javax.inject.Qualifier;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementTy... |
package com.github.nsilbernagel.discordbot.comparer;
import lombok.SneakyThrows;
import net.ricecode.similarity.LevenshteinDistanceStrategy;
import net.ricecode.similarity.SimilarityStrategy;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.sh... |
package com.baeldung.book.adapter;
import com.baeldung.book.application.port.AddPage;
import com.baeldung.book.application.port.GetPages;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import com.baeldung.book.applicat... |
package com.mattermost.rsocial;
import android.content.Context;
import android.content.SharedPreferences;
public class NotificationPreferences {
private static NotificationPreferences instance;
public final String SHARED_NAME = "NotificationPreferences";
public final String SOUND_PREF = "NotificationSoun... |
package sc.whorl.logic.domain.dao.system;
import org.springframework.stereotype.Repository;
import java.util.List;
import sc.whorl.logic.domain.model.system.Menu;
import sc.whorl.logic.domain.model.system.ext.ExtMenu;
import sc.whorl.system.commons.MyMapper;
@Repository
public interface MenuMapper extends MyMapper<... |
package nl.hypothermic.javacogs.annotations;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import nl.hypothermic.javacogs.AuthenticationType;
@Retention(RUNTIME)
@Target(METHOD)
publi... |
package io.imast.work4j.channel;
import io.imast.work4j.model.cluster.ClusterWorker;
import io.imast.work4j.model.iterate.*;
import io.imast.work4j.model.execution.CompletionSeverity;
import io.imast.work4j.model.execution.ExecutionIndexEntry;
import io.imast.work4j.model.execution.JobExecution;
import io.imast.work4j... |
package io.onedev.server.web.page.project.issues.milestones;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.A... |
/*
* Copyright 2012-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 "licen... |
package com.jfixby.red.triplane.resources.fsbased;
import com.jfixby.scarabei.api.collections.Collections;
import com.jfixby.scarabei.api.collections.Set;
import com.jfixby.scarabei.api.net.http.HttpURL;
public class RemoteBankSpecs {
private HttpURL bankURL;
final Set<String> tanks = Collections.newSet();
publi... |
//
// ========================================================================
// Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/*
* Copyright 2012-2020 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... |
package nautical.chart.web.ui.datasource;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;
import nautical.chart.web.ui.model.Issue;
import n... |
/*
* Copyright 2015, 2019 StreamEx contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.