text stringlengths 7 995k |
|---|
package com.clipboard.clipboard_store.endpoint.model;
public class RegisterResponse {
} |
/*
* 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... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: StringUtils.java
package com.ecap.util;
import java.io.PrintStream;
import java.lang.reflect.Method;
import java.util.Vector;
public class Strin... |
/*
* Copyright (c) 2002-2021 Gargoyle Software 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
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.lang.parser.template;
import gw.lang.parser.IGosuParser;
import gw.lang.parser.ISymbol;
import gw.lang.parser.ISymbolTable;
import gw.lang.parser.exceptions.ParseResultsException;
import gw.lang.parser.expressions.IProgram;
import gw.lang.reflect.IType;
im... |
package com.mrbysco.captcha.handler;
import com.mrbysco.captcha.client.CaptchaEnum;
import com.mrbysco.captcha.config.CaptchaConfig;
import com.mrbysco.captcha.network.NetworkHandler;
import com.mrbysco.captcha.network.message.RequireCaptchaMessage;
import com.mrbysco.captcha.util.CaptchaManager;
import net.minecraft.... |
/*
* 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 org.jc.kafka.consumer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Li... |
package online.stringtek.jvm.advanced.ch2;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
/**
* VM Args: -Xmx20m -XX:MaxDirectMemorySize=10m
* */
public class DirectMemoryOOM {
public static final int _1MB=1024*1024;
public static void main(String[] args) throws IllegalAccessException {
... |
/*
* 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... |
package com.hatchetstudios.game.screen;
import java.awt.Canvas;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.util.List;
import javax.swing.JFrame;
import com.hatchetstudios.game.input.Input;
public class Screen extends Canvas {
/**
* Default serialVersionUID
*/
private static final long se... |
/*
* Copyright 2019 Cole Mackenzie
*
* 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 applica... |
package io.syndesis.connector.salesforce.springboot;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import javax.annotation.PostConstruct;
import io.syndesis.connector.salesforce.SalesforceUpsertSObjectComponent;
import org.apache.camel.CamelContext;
import or... |
package org.andhelp.ui;
import android.os.Looper;
import org.andhelp.exception.IllegalThreadAccessExpection;
/**
*/
public final class UI
{
private UI()
{}
/**
* Throws an IllegalThreadAccessExpection when the calling thread is not the Main Thread
* @throws IllegalThreadAccessExpection
... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.tooling.matcher;
import io.opentelemetry.javaagent.spi.IgnoreMatcherProvider;
import java.util.regex.Pattern;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.matcher.Elem... |
package com.example.service.domain;
import com.example.service.model.ValueRandom;
public interface RandomNumberGenerator {
ValueRandom getNumberRandom(int bound);
} |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/**
* Copyright (c) 2009-2015, Data Geekery GmbH (http://www.datageekery.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/license... |
package org.zerhusen.ams.repository.security;
import org.springframework.data.jpa.repository.JpaRepository;
import org.zerhusen.ams.model.security.Ak_state;
public interface StateRepository extends JpaRepository<Ak_state, Integer> {
Ak_state findById(int id);
Ak_state findByState(String state);
} |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/*
* (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de.
*
* Created on 15.07.2012
*/
package net.finmath.timeseries.models.parametric;
import java.io.Serializable;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.math3.analysis.Multivar... |
package eu.neclab.ngsildbroker.commons.datatypes.requests;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.github.jsonldjava.utils.JsonUtils;
import com.google.common.collect.ArrayListMultimap;
import eu.neclab.ngsildbroker.commons.constants.AppConstants... |
package eu.imaintenance.toolset.observation.handler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.fraunhofer.iosb.ilt.sta.ServiceFailureException;
import de.fraunhofer.iosb.ilt.sta.model.Observation;
import eu.imaintenance.toolset.observation.AbstractObservationHandler;
import eu.imaintenance.to... |
/* 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... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
/*
* Copyright 2016 Anand Muralidhar
*
* 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 applica... |
/*
* Copyright (c) 2011-present, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software in source and binary forms, with or
* without modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright noti... |
package com.twu.biblioteca.introductory;
public class FizzBuzz {
public String print(int i) {
if(i%3 == 0 && i%5 != 0){
return "Fizz";
}
if(i%3 != 0 && i%5 == 0){
return "Buzz";
}
if(i%3 == 0 && i%5 == 0){
return "FizzBuzz";
}
... |
package com.liyu.fakeweather.event;
import com.liyu.fakeweather.model.FavoritesBusBean;
/**
* Created by liyu on 2016/11/29.
*/
public class BusFavoritesEvent {
private boolean isFavorite;
private FavoritesBusBean data;
public BusFavoritesEvent(FavoritesBusBean bean) {
this.data = bean;
... |
/**
* Copyright (C) 2013 IDT International Ltd.
*/
package com.oregonscientific.meep;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import com.oregonscientific.meep.util.SystemUtils;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.Pa... |
/*
* Copyright 2002-2016 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... |
package org.springframework.security.integration;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security... |
// Copyright 2007, 2008 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... |
package com.synectiks.cms.entities;
import java.util.List;
public class ExamFilterDataCache {
private List<Department> departments;
private List<Batch> batches;
private List<Section> sections;
private List<CmsSemesterVo> semesters;
private List<Branch> branches;
private List<Subject> subjects... |
/*
* 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.ekremsaglam.springboot;
import com.ekremsaglam.springboot.entity.Category;
import com.ekremsaglam.springboot.entity.Product;
import com.ekremsaglam.springboot.service.entityservice.CategoryEntityService;
import com.ekremsaglam.springboot.service.entityservice.ProductEntityService;
import org.springframewor... |
package com.example.graciosa.kidsassistant.db;
import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;
import java.util.List;
@Dao
public interface PlayedTimeDao {
@Query("SELECT COUNT(*) FRO... |
/*
* Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß, and the JDA 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... |
package com.whut.mall.boot.swagger;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@Data
@ConfigurationProperties("swagger")
public class SwaggerProperties {
private String title;
private String description;
private String version;
private String baseP... |
/*
* Copyright (c) 2003-2018 Flamingo Kirill Grouchnikov
* and <a href="http://www.topologi.com">Topologi</a>.
* Contributed by <b>Rick Jelliffe</b> of <b>Topologi</b>
* in January 2006.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fol... |
/*
* Copyright 2022 ThoughtWorks, 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 agr... |
/*
* 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 cn.jeeweb.core.database.dynamic.dao;
import java.util.List;
import java.util.Map;
import org.apache.commons.dbcp.BasicDataSource;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.jdbc.core.JdbcTemplate;
/**
*
* All rights Reserved, Designed By www.jeeweb.cn
*
* @title: DynamicDBDa... |
/*
* Copyright 2011 The Closure Compiler 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... |
/*
* Copyright 2003, 2004, 2005, 2006 Research Triangle Institute
*
* 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 (c) 2017, 2018, 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 ... |
/*
* ContextReceptacle.java
*
* OpenCOMJ is a flexible component model for reconfigurable reflection developed at Lancaster University.
* Copyright (C) 2005 Paul Grace
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
* as published by th... |
/*
* Copyright (C) 2020 Yubico.
*
* 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 t... |
package com.kimi.myshop.plus.provider.dto;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
/**
* @author 郭富城
*/
@Getter
@Setter
public class UserDto implements Serializable {
private Long id;
private Set<AbridgedRol... |
package com.winfred.spring.cloud.app;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@SpringBootApplication
@EnableConfigServer
public class ConfigServerApplication {
public ... |
package org.dkf.jed2k.alert;
import org.dkf.jed2k.protocol.Hash;
/**
* Created by inkpot on 17.08.2016.
*/
public class TransferFinishedAlert extends TransferAlert {
public TransferFinishedAlert(final Hash h) {
super(h);
}
@Override
public String toString() {
return "transfer finis... |
/*
* Copyright 2020-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 com.hmsonline.trident.cql.example.simpleupdate;
import storm.trident.operation.TridentCollector;
import storm.trident.spout.ITridentSpout.Emitter;
import storm.trident.topology.TransactionAttempt;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomi... |
package com.stylefeng.guns.rest.modular.auth.filter;
import com.stylefeng.guns.core.base.tips.ErrorTip;
import com.stylefeng.guns.core.util.RenderUtil;
import com.stylefeng.guns.rest.common.exception.BizExceptionEnum;
import com.stylefeng.guns.rest.config.properties.JwtProperties;
import com.stylefeng.guns.rest.modula... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__float_console_readLine_divide_13.java
Label Definition File: CWE369_Divide_by_Zero__float.label.xml
Template File: sources-sinks-13.tmpl.java
*/
/*
* @description
* CWE: 369 Divide by zero
* BadSource: console_readLine Read data from the console using... |
/*
*******************************************************************************
* Copyright (C) 2010-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
*/
package com.ibm.icu.impl;
import java.util... |
package haxby.worldwind;
import gov.nasa.worldwind.avlist.AVList;
import gov.nasa.worldwind.event.Message;
import gov.nasa.worldwind.layers.Layer;
import gov.nasa.worldwind.render.DrawContext;
import haxby.db.Database;
import haxby.worldwind.layers.InfoSupplier;
import java.awt.Point;
import java.beans.PropertyChange... |
/*
* Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.
*/
package net.snowflake.client.jdbc;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.sql.*;
import java.util.List;
import java.util.Properties;
import net.snowflake.common.core.ResourceBundleManager;
import net.... |
/*
* 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 u... |
/*
* Copyright 2021 Collate
* 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... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
/*
* Decompiled with CFR <Could not determine version>.
*/
package org.apache.commons.codec;
import java.nio.charset.Charset;
public class Charsets {
public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
public static final Charset US_ASCII = Charset.forName("US-ASCII");
public static ... |
//| Copyright - The University of Edinburgh 2011 |
//| |
//| Licensed under the Apache License, Version 2.0 (the "License"); |
//| you may not use this file except in compliance with the License. |
//| You ... |
package org.paluchlab.agentcortex.agents;
import org.paluchlab.agentcortex.display.Painter3D;
import java.awt.*;
/**
* Generic Crosslinker for crosslinking actin filaments. Used for keeping track of constants and drawing purposes.
*
* Created on 4/25/14.
*/
public class Crosslinker implements Agent {
public ... |
package com.fengxuechao.seed.security.rbac.authentication;
import com.fengxuechao.seed.security.rbac.domain.Admin;
import com.fengxuechao.seed.security.rbac.repository.AdminRepository;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.an... |
/*
* Copyright (C) 2017-2018 Dremio Corporation
*
* 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... |
/*
* Copyright (c) 2008-2018 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package org.kettle.beam.steps.pubsub;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.... |
package com.heaven7.android.imagepick.page;
import com.heaven7.core.util.Logger;
/*public*/ class MediaLog {
public static void obtainItem(int position) {
Logger.d("MediaLog", "obtainItem", "pos = " + position);
}
public static void recycleItem(int position) {
Logger.d("MediaLog", "recycl... |
package net.chrisrichardson.eventstore.examples.customersandorders.customersservice.backend;
import com.jayway.restassured.RestAssured;
import io.eventuate.common.quarkus.jdbc.test.configuration.EmbeddedDatabaseProfile;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import net.chri... |
package org.wikipedia.feed;
import android.annotation.SuppressLint;
import android.content.Context;
import android.support.annotation.NonNull;
import org.wikipedia.WikipediaApp;
import org.wikipedia.feed.aggregated.AggregatedFeedContentClient;
import org.wikipedia.feed.announcement.AnnouncementClient;
import org.wiki... |
/*
* 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 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... |
/* First created by JCasGen Thu Jun 20 11:44:40 CEST 2019 */
package org.apache.ctakes.typesystem.type.dependency;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
/**
* Updated by JCasGen Thu Jun 20 11:44:40 CEST ... |
package br.com.systemasolution.pontointeligente.api;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class PontoInteligenteApplicationTe... |
package fiuba.algo3.TP2.Modelo.Unidad.Armas;
import fiuba.algo3.TP2.Modelo.Excepciones.ObjetivoFueraDeRangoException;
public class Espada implements Arma {
public int atacar(int distancia, int costoCuerpoACuerpo, int costoADistancia) {
if(distancia > 2) {
throw new ObjetivoFueraDeRangoException();
}
retur... |
package com.wixpress.petri.petri;
import java.util.UUID;
/**
* User: Dalias
* Date: 3/9/15
* Time: 4:52 PM
*/
public interface UserRequestPetriClient {
String getUserState(UUID userId);
} |
package com.ctrip.framework.apollo.openapi.v1.controller;
import com.ctrip.framework.apollo.common.dto.ClusterDTO;
import com.ctrip.framework.apollo.common.entity.App;
import com.ctrip.framework.apollo.common.utils.BeanUtils;
import com.ctrip.framework.apollo.openapi.dto.OpenAppDTO;
import com.ctrip.framework.apollo.o... |
package com.lilystudio.wheretosleepinnju.data.bean;
/**
* Created by mnnyang on 17-11-4.
*/
public class CsItem {
private CsName mCsName;
private int count;
public CsName getCsName() {
return mCsName;
}
public CsItem setCsName(CsName csName) {
mCsName = csName;
return t... |
// Copyright 2013 Google Inc. 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 required by applicable law... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package cn.vansky.framework.core.orm.mybatis.plugin.search.resolver;
import cn.vansky.framework.core.orm.mybatis.plugin.page.dialect.Dialect;
import cn.vansky.framework.core.orm.mybatis.plugin.search.vo.Param;
import cn.vansky.framework.core.orm.mybatis.plugin.search.vo.Searchable;
import cn.vansky.framework.core.orm.... |
package com.yangzg.date;
import org.junit.Test;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.temporal.TemporalAdjusters;
import java.util.*;
import java.util.function.BiPredicate;
import java.util.function.Function;
import java.util.stream.Collectors;
import ... |
package com.sergivb01.hcf.faction.argument;
import com.sergivb01.hcf.HCF;
import com.sergivb01.hcf.faction.FactionMember;
import com.sergivb01.hcf.faction.struct.Relation;
import com.sergivb01.hcf.faction.struct.Role;
import com.sergivb01.hcf.faction.type.PlayerFaction;
import com.sergivb01.util.command.CommandArgumen... |
package com.pinyougou.mapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import com.pinyougou.pojo.TbBrand;
import com.pinyougou.pojo.TbBrandExample;
public interface TbBrandMapper
{
int countByExample(TbBrandExample example);
int deleteByExample(TbBrandExa... |
package org.fluxtream.core.mvc.models;
/**
* User: candide
* Date: 06/07/14
* Time: 21:41
*/
public class SharedConnectorModel {
public String connectorName;
public boolean shared;
public long apiKeyId;
public boolean hasSettings;
public SharedConnectorModel() {}
public String prettyName... |
/* DynamicDungeon: An RPG
Copyright (C) 2008-2012 Eric Ahnell
Any questions should be directed to the author via email at: products@puttysoftware.com
*/
package net.dynamicdungeon.dynamicdungeon.dungeon;
public class Extension {
// Constants
private static final String GAME_EXTENSION = "ddgam";
private ... |
package com.example.demo.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller... |
package com.cds.iot.module.device.landline.sos;
import android.text.TextUtils;
import com.cds.iot.App;
import com.cds.iot.data.BaseResp;
import com.cds.iot.data.entity.SaveTelphoneReq;
import com.cds.iot.data.entity.TelphoneInfo;
import com.cds.iot.data.entity.TelphoneInfoReq;
import com.cds.iot.data.source.remote.Ba... |
package org.michenux.yourappidea.tutorial.sync;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import org.michenux.yourappidea.BuildConfig;
import org.michenux.yourappidea.YourApplication;
public class TutorialAuthenticatorService extends Service {
... |
/*
* Copyright 2018-present Red Brick Lane Marketing Solutions Pvt. 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... |
/*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2013-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.java2nb.novel.core.config;
import org.apache.http.HttpHost;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.... |
package com.shoyu666.demo.derocoodemo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}... |
import java.util.HashSet;
import java.util.Set;
public class uniqueIdentifier {
//make sure make a separate method
//pass string
//check base case
static boolean checkUniqueString(String arr){
if (arr == null ){
System.out.println("Enter a valid String");
return false;
}
if (arr.length()==1){
Syst... |
package com.bestvike.linq.adapter.enumerable;
import com.bestvike.linq.IEnumerable;
import com.bestvike.linq.IEnumerator;
import com.bestvike.linq.adapter.enumerator.SpliteratorEnumerator;
import com.bestvike.linq.exception.ThrowHelper;
import java.util.Spliterator;
/**
* Created by 许崇雷 on 2019-07-30.
*/
public fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.