text stringlengths 7 1.01M |
|---|
/***
Copyright (c) 2015 CommonsWare, 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 writing, s... |
/*
* Copyright 2019 The TensorFlow Authors. 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 requi... |
package net.sansa_stack.kryo.jena;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.riot.Lang;
import org.apache.jena.riot.RDFDataMgr;
import org.apache.jena.riot.RDFFormat;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Riot-based seriali... |
/*
* The MIT License (MIT) Copyright (c) 2020-2022 artipie.com
* https://github.com/artipie/http/blob/master/LICENSE.txt
*/
package com.artipie.http.rq.multipart;
import com.artipie.ArtipieException;
import com.artipie.http.misc.ByteBufferTokenizer;
import com.artipie.http.misc.Pipeline;
import java.nio.ByteBuffer;... |
/*
* Copyright 2014-2021 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 app... |
/*
* Copyright 2016-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 app... |
/* Copyright 2018 The TensorFlow Authors. 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 or a... |
package com.dlens.common2.numeric.gtree;
/**
* How should values cascade through a SumTree
* @author Bill Adams
*
*/
public enum SumTreeProportionalityEnum {
//Cascade like priorities in a tree.
GloablPriorities,
//Cascade like costs.
Costs;
public static final SumTreeProportionalityEnum Default=Costs;
}
|
package com.syntacticbayleaves.einkweather;
public class WeatherApiException extends Exception {
private static final long serialVersionUID = 1L;
public WeatherApiException() {
super();
}
public WeatherApiException(String detailMessage) {
super(detailMessage);
}
public Weathe... |
package net.aeronica.mods.bbtest;
import net.aeronica.mods.bbtest.init.Models;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
public class ClientProxy extend... |
/**
* Copyright (c) 2016-present, RxJava 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... |
package org.sagebionetworks.repo.manager.file;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.ju... |
package org.onetwo.common.jackson;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
//@JsonIgnoreProperties({"name"})
public class TestJsonBean {
@JsonIgnore
private String name;
private String email;
@JsonFormat(pattern="yyyy-MM-dd... |
package me.chanjar.weixin.cp.bean.external;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.common.annotation.Required;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
import java.io.Serializable;... |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number ... |
import javax.swing.JOptionPane;
public class Retorna{
void result(String x,int n1,int n2){
if (x.equals("A")){
int total = n1+n2;
JOptionPane.showMessageDialog(null,"Numeros Fornecidos: "+n1+" & "+n2+"\nOperação escolhida: Soma\nResultado da operação: "+total);
}
if (x.equals("B"))... |
/*-
* 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 2015 The jdeb developers.
*
* 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 ... |
package com.example.patrick.monopv1;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import java.util... |
/**
* 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 m... |
package io.vertx.ext.cassandra;
import java.util.List;
import java.util.UUID;
import io.vertx.codegen.annotations.Fluent;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.cassandra.impl.CassandraClientImpl;
public in... |
package optic.lua.optimization;
import optic.lua.asm.*;
import optic.lua.asm.ExprNode.*;
import org.jetbrains.annotations.Nullable;
import static optic.lua.optimization.StaticType.*;
public interface Intrinsics {
Intrinsics DEFAULT = new DefaultIntrinsics();
static Intrinsics getDefault() {
return DEFAULT;
}
... |
package com.bumptech.glide.load.resource.file;
import com.bumptech.glide.load.resource.SimpleResource;
import java.io.File;
/**
* A simple {@link com.bumptech.glide.load.engine.Resource} that wraps a {@link File}.
*/
// Public API.
@SuppressWarnings("WeakerAccess")
public class FileResource extends SimpleResource<F... |
package org.geekbang.thinking.in.spring.event;
import org.springframework.context.ApplicationEvent;
/**
* 自定义 Spring 事件
*/
public class MySpringEvent extends ApplicationEvent {
public MySpringEvent(Object source) {
super(source);
}
@Override
public String getSource() {
return (Strin... |
package jp.co.yahoo.adssearchapi.v5.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jp.co.yahoo.adssearchapi.v5.model.ConversionTrac... |
package org.redquark.onlinejudges.leetcode.array;
/**
* @author Anirudh Sharma
*/
public class BinarySearch {
public int search(int[] nums, int target) {
// Special case
if (nums == null || nums.length == 0) {
return -1;
}
// Left and right pointers
int left =... |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... |
/*
* Copyright 2010 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 applica... |
package com.fillumina.performance.consumer.assertion;
import com.fillumina.performance.producer.FakeLoopPerformancesCreator;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Francesco Illuminati
*/
public class AssertPerformanceForIterationsSuiteTest {
@Test
public void shouldCheck... |
/*
* 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 hermes.command;
import pattern.command.CommandArgument;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author Me... |
/*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.0... |
package org.apache.logging.log4j.core.config;/*
* 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 l... |
package controllers;
import models.*;
import play.*;
import play.data.binding.As;
import play.mvc.*;
import java.text.*;
import java.util.*;
public class Users extends Controller {
public static void index() {
render();
}
public static void list() {
List users = User.findAll();
... |
module io.microlam.slf4j.simple {
requires org.slf4j;
provides org.slf4j.spi.SLF4JServiceProvider with io.microlam.slf4j.simple.SimpleServiceProvider;
}
|
package com.example.osos.mahmoudbakingapp.fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.... |
/**
* This class is generated by jOOQ
*/
package no.mesan.ark.persistering.generated.tables;
import java.math.BigDecimal;
import javax.annotation.Generated;
import no.mesan.ark.persistering.generated.Public;
import no.mesan.ark.persistering.generated.enums.MpaaRating;
import no.mesan.ark.persistering.generated.ta... |
import java.util.Scanner;
class A
{
int a,b,c;
public void input()
{
Scanner s1=new Scanner(System.in);
System.out.println("enter 1st no");
a=s1.nextInt();
System.out.println("enter 2nd no");
b=s1.nextInt();
}
public void calc()
{
c... |
package xilodyne.photo_gallery.format_exit.xml;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import... |
/*
* 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... |
package com.github.TKnudsen.DMandML.model.unsupervised.outliers.impl;
import com.github.TKnudsen.DMandML.model.unsupervised.outliers.ElkiBasedOutlierAlgorithm;
import de.lmu.ifi.dbs.elki.algorithm.outlier.distance.LocalIsolationCoefficient;
import de.lmu.ifi.dbs.elki.distance.distancefunction.minkowski.Euclidean... |
package com.indeed.proctor.common;
import com.google.common.annotations.VisibleForTesting;
import com.indeed.proctor.common.model.Allocation;
import com.indeed.proctor.common.model.ConsumableTestDefinition;
import com.indeed.proctor.common.model.Range;
import com.indeed.proctor.common.model.TestBucket;
import javax.a... |
/* ###
* 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... |
/*
* Copyright 2019 EPAM Systems
*
* 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 ru.spec.java1.lec7;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
impo... |
/*
* 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.paragon464.gameserver.model.content.combat.npcs;
import com.paragon464.gameserver.model.Projectiles;
import com.paragon464.gameserver.model.World;
import com.paragon464.gameserver.model.entity.mob.CombatType;
import com.paragon464.gameserver.model.entity.mob.Mob;
import com.paragon464.gameserver.model.enti... |
package foodconverter.config;
import foodconverter.controller.HomeController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.B... |
package com.mcgowan.timetable.android;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragme... |
/*
* ====================================================================
* 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
... |
/*
* Copyright 2016-2021 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 2016 aliba.
*
* 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 com.netsuite.webservices.lists.supplychain;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import com.netsuite.webservices.platform.core.SearchRecord;
/**
* <p>Java cl... |
/*
* JGeneral.java
*
* Created on 14 de octubre de 2004, 12:50
*/
package CopiaSeguridad.file;
import java.io.*;
import utiles.*;
public class JGeneral {
private static PrintWriter moFichero;
private static FileOutputStream moFile;
/** Creates a new instance of JGeneral */... |
/*
* Copyright (c) 2008-2017, Hazelcast, 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 ... |
/*
* 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 ma... |
/*
* Copyright (C) 2014 GeoODK
*
* 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... |
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.8-b130911.1802
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré ... |
/*
* 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 octavian.key;
import java.util.logging.Logger;
/**
*
* @author octavian
*/
public class KeyAlgorithm {
private fin... |
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/* 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... |
package debug;
import com.qualcomm.robotcore.util.RobotLog;
import org.firstinspires.ftc.robotcore.internal.collections.SimpleGson;
import java.io.IOException;
import java.io.OutputStream;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.MulticastSocket;
im... |
package org.siy.shop.user.po;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(name = "siy_user_level")
public class UserLevel {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Byte id;
... |
/*
* 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... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation;
import com.... |
package xyz.juandiii.name.models;
import javax.json.bind.annotation.JsonbPropertyOrder;
import javax.json.bind.config.PropertyOrderStrategy;
import java.util.List;
import java.util.Set;
@JsonbPropertyOrder(PropertyOrderStrategy.LEXICOGRAPHICAL)
public class ListDomain {
private List<Domain> domains;
public List... |
package vn.loitp.views.placeholderview.lib.placeholderview.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by janisharali on 18/08/16.
*/
@Retention(RetentionPolicy.RUNTIME)
@T... |
package yanzhikai.textpathview;
import android.animation.Animator;
import android.graphics.Path;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.SeekBar;
import yanzhikai.textpath.TextPath... |
package com.mt.saga.appliction.create_order_dtx.command;
import com.mt.common.domain.model.domain_event.DomainEvent;
import lombok.Getter;
@Getter
public class SaveNewOrderReplyCommand extends DomainEvent {
private long taskId;
private boolean emptyOpt;
}
|
package com.rancho.web.admin.controller;
import com.rancho.web.admin.annotation.Log;
import com.rancho.web.admin.domain.dto.menu.MenuNode;
import com.rancho.web.admin.service.StorageService;
import com.rancho.web.common.page.Page;
import com.rancho.web.common.page.PageInfo;
import com.rancho.web.common.result.CommonRe... |
// **********************************************************************
//
// <copyright>
//
// BBN Technologies
// 10 Moulton Street
// Cambridge, MA 02138
// (617) 873-8000
//
// Copyright (C) BBNT Solutions LLC. All rights reserved.
//
// </copyright>
// ***************************************************... |
package Arrays;
public class Lowmat {
public static void main(String[] args) {
int[][] a = { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 } };
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
if (i < j)
a[i][j] = 0;
}
}
f... |
package org.javarosa.xform.parse;
import static java.nio.file.Files.copy;
import static java.nio.file.Files.readAllBytes;
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsInstan... |
/*
* 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 lk.ijse.student.service.custom.impl;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... |
/**
* Copyright 2009-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
*
* Unle... |
/*
* 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) 2011-2022, baomidou (jobob@qq.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 appli... |
package tech.hongjian.blog.frm.freemarker;
import freemarker.template.TemplateModelException;
import tech.hongjian.blog.frm.annotation.FMMethod;
import tech.hongjian.blog.utils.BlogUtils;
import java.util.List;
@FMMethod("showContent")
public class ArticleContent extends FMMethodBase {
@Override
public Objec... |
package otmui.utils;
import java.util.HashMap;
import java.util.Set;
public class BijectiveMap<A,B> {
private HashMap<A,B> AtoB = new HashMap<>();
private HashMap<B,A> BtoA = new HashMap<>();
public void put(A a,B b){
if( !AtoB.containsKey(a) & !BtoA.containsKey(b) ){
AtoB.put(a,b);
... |
package io.hgdb.mercury.client.cxf.logic.data;
import java.util.List;
import io.hgdb.mercury.client.cxf.logic.WsClientDataLogic;
import pro.ibpm.mercury.context.Context;
import pro.ibpm.mercury.entities.beans.EntityList;
import pro.ibpm.mercury.entities.data.Store;
import pro.ibpm.mercury.exceptions.MercuryException;... |
package bigdatarocks.common.bean;
import com.datastax.driver.mapping.annotations.Column;
import com.datastax.driver.mapping.annotations.PartitionKey;
import com.datastax.driver.mapping.annotations.Table;
import static bigdatarocks.common.constants.Constants.CASS_KEYSPACE;
import static bigdatarocks.common.constants.C... |
package com.perye.dokit.utils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.ReflectionUtils;
import java.lang.reflect.Method;
import java.util.concurrent.Callable;
/**
* 执行定时任务
*/
@Slf4j
public class QuartzRunnable implements Callable {
private Object target;
private Method method;
... |
package com.pi4j.plugin.pigpio.provider.pwm;
/*
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: PLUGIN :: PIGPIO I/O Providers
* FILENAME : PiGpioPwmProvider.java
*
* This file is part of the Pi4J project. More information... |
package com.virjar.thanos.api.util;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.BitSet;
import java.util.Map;
public class URLEncodedUtils {
private static final char QP_SEP_A = '&';
private static final char QP_SEP_S = ';';
priva... |
package com.venson.easyftp;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.net.ftp.FTPClient;
import org.apache.commons.net.ftp.FTPReply;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* AbstractFTPClient abstract a basic work flow... |
package system.db;
import system.db.dao.ADUS;
import system.db.dao.AddDaoImp;
import system.db.dao.DeleteDaoImp;
import system.db.dao.SelectDaoImp;
import system.db.dao.UpdateDaoImp;
import system.db.sql.SQL;
import system.db.pool.ADUPool;
import system.db.pool.SPool;
/**
*
* @author wangchunzi
*/
f... |
package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.sw... |
package org.museautomation.core.context;
import org.junit.jupiter.api.*;
import org.museautomation.builtins.step.*;
import org.museautomation.core.*;
import org.museautomation.core.events.*;
import org.museautomation.core.mocks.*;
import org.museautomation.core.project.*;
import org.museautomation.core.step.*;
import ... |
package bio.singa.mathematics.geometry.bodies;
import bio.singa.mathematics.vectors.Vector3D;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class SphereTest {
@Test
public void intersect() {
... |
package ru.job4j.tracker;
import java.util.function.Consumer;
/**
* Class extending console interface.
* Provides validation of user's input.
* @author Andrei Pashchenko.
* @version 1
* @since 24.02.2019
*/
public class ValidateInput implements Input {
private final Input input;
private final Consumer<S... |
package io.subutai.bazaar.share.dto;
import java.util.Date;
public class PeerDto
{
private String id;
private String name;
private String ownerId;
private String fingerprint;
private Boolean blocked;
private Date heartbeatDate;
public PeerDto()
{
}
public PeerDto( fi... |
package yhao.micro.service.surety.business.apilist.form.intention;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
import yhao.infra.apilist.validate.IdUnForm;
import java.util.List;
public class IntentionSaveFo... |
package com.artifact;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotati... |
/*
* 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... |
/**
* This software is licensed to you under the Apache License, Version 2.0 (the
* "Apache License").
*
* LinkedIn's contributions are made under the Apache License. If you contribute
* to the Software, the contributions will be deemed to have been made under the
* Apache License, unless you expressly indicate o... |
package de.fau.amos.virtualledger.android.views.shared.transactionList;
import android.support.annotation.NonNull;
import org.junit.Ignore;
import org.junit.Test;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import de.fau.amos.virtualledger.dtos.Booking;
import static ... |
/*
* 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.yang.gulimall.coupon.dao;
import com.yang.gulimall.coupon.entity.SeckillPromotionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 秒杀活动
*
* @author shanfy
* @email 815481278@qq.com
* @date 2022-03-26 18:35:51
*/
@Mapper
public interfa... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.