text stringlengths 7 995k |
|---|
package serviceManager.vo;
import java.util.Date;
public class BaseUser {
private Long id;
private Object username;
private Object password;
private Object name;
private Object birthday;
private Object address;
private Object mobilePhone;
private Object telPhone;
private Ob... |
package AtCoder.BeginnersSelection;
import java.util.Scanner;
public class Practice2 {
public static void main(String[] atgs){
Scanner sc = new Scanner(System.in);
int firstNum = sc.nextInt();
int secondNum = sc.nextInt();
if (firstNum * secondNum % 2==0) System.out.println("Even")... |
/*
* Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package com.neradb.command.expression;
import java.util.HashSet;
import com.neradb.common.utils.New;
import com.neradb.dbobject.DbObject;
import com... |
/**
* SIX VULN - http://code.google.com/p/six-vuln/
* Copyright (C) 2006
* National Institute of Advanced Industrial Science and Technology (AIST)
* Registration Number: H20PRO-863
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... |
package org.batfish.representation.cisco_xr;
import org.batfish.vendor.StructureType;
public enum CiscoXrStructureType implements StructureType {
ACCESS_LIST("acl"),
AS_PATH_SET("as-path-set"),
BFD_TEMPLATE("bfd-template"),
BGP_AF_GROUP("bgp af-group"),
BGP_NEIGHBOR_GROUP("bgp neighbor-group"),
BGP_PEER_G... |
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annota... |
// Copyright (c) 2003-2012, Jodd Team (jodd.org). All Rights Reserved.
package jodd.vtor.data;
import jodd.vtor.constraint.AssertValid;
public class Woo {
@AssertValid(profiles = "*")
protected Zoo zoo = new Zoo();
} |
/*
* 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.mattermost.rnbeta.react_native_interface;
import com.facebook.react.bridge.Promise;
/**
* ResolvePromise: Helper class that abstracts boilerplate
*/
public class ResolvePromise implements Promise {
@Override
public void resolve(@javax.annotation.Nullable Object value) {
}
@Override
... |
package com.ks.kafka;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import java.util.Collections;
import java.util.Properties;
import java.util.Random;
public class KaConsumer implements AutoCl... |
/**
* Copyright 2018-present, Facebook, Inc. All rights reserved.
*
* <p>This source code is licensed under the license found in the LICENSE file in the root directory
* of this source tree.
*/
package com.facebook.buck.demo.capitalize;
import com.example.Utils;
public class CapitalizeUtils {
public static Str... |
package cn.alauwahios.front.dao;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.dbutils.handlers.BeanListHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import cn.alauwahios.front.Constants;
import cn.alauwahios.front.d... |
/*
* 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 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package com.roro.mall.tiny.mapper;
import com.roro.mall.tiny.model.UmsAdminPermissionRelation;
import com.roro.mall.tiny.model.UmsAdminPermissionRelationExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface UmsAdminPermissionRelationMapper {
int countByExample(UmsAdminPermi... |
package org.apereo.cas.web.flow.action;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.AuthenticationResultBuilder;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.web.support.WebUtils;
i... |
package src.p05_security_system;
public interface KeyCardUi {
String requestKeyCard();
} |
/*
* Copyright (C) 2019 Peng fei Pan <panpfpanpf@outlook.me>
*
* 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... |
package com.ss.android.ugc.bytex.common.processor;
import com.ss.android.ugc.bytex.common.exception.ByteXException;
import com.ss.android.ugc.bytex.common.exception.GlobalWhiteListManager;
import com.ss.android.ugc.bytex.common.flow.main.MainProcessHandler;
import com.ss.android.ugc.bytex.common.flow.main.Process;
imp... |
package org.omg.CSIIOP;
/**
* org/omg/CSIIOP/CompositeDelegation.java .
* Error reading Messages File.
* Error reading Messages File.
* Thursday, January 14, 2010 1:08:59 AM PST
*/
public interface CompositeDelegation
{
public static final short value = (short)(512);
} |
package com.tngtech.archunit.example;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
import com.tngtech.archunit.core.domain.JavaClasses;
import com.tngtech.archunit.core.importer.ClassFileImporter;
import org.junit.jupiter.api.Test;
import static java.util.stream.StreamSupport... |
/*
* Rad-tech-datatypes.
* Copyright 2014 Metamarkets Group 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 requir... |
package com.webank.weevent.protocol.mqtt.command;
import java.util.List;
import com.webank.weevent.broker.plugin.IConsumer;
import com.webank.weevent.protocol.mqtt.store.ISubscribeStore;
import com.webank.weevent.sdk.BrokerException;
import io.netty.channel.Channel;
import io.netty.handler.codec.mqtt.MqttFixedHeader... |
package com.cyc.cycjava.cycl;
import com.cyc.tool.subl.jrtl.nativeCode.subLisp.UnaryFunction;
import com.cyc.tool.subl.util.SubLFiles;
import com.cyc.tool.subl.jrtl.nativeCode.subLisp.Numbers;
import com.cyc.tool.subl.jrtl.nativeCode.subLisp.Sort;
import com.cyc.tool.subl.jrtl.nativeCode.subLisp.Mapping;
import com.cy... |
package net.sourceforge.jaad.mp4.boxes;
public final class Utils {
private static final long UNDETERMINED = 4294967295l;
public static String getLanguageCode(long l) {
//1 bit padding, 5*3 bits language code (ISO-639-2/T)
char[] c = new char[3];
c[0] = (char) (((l>>10)&31)+0x60);
c[1] = (char) (((l>>5)&31)... |
package thread;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantLock;
/**
* @author: zhuxun
* @data: 2019-11-04 10:45
* @description:
* ReentrantLock(boolean fair) 默认false,非公平锁
* lock()
* unlock()
* tryLock()
* tryLock(long time,TimeUnit unit)
* lockInterruptibly()获得锁,但有限响应中断... |
/*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use 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 notice, this
* list of cond... |
/**
* Copyright (C) 2011 - present by Marc Henrard.
*/
package marc.henrard.murisq.pricer.swaption;
import java.time.LocalDate;
import com.opengamma.strata.basics.currency.Currency;
import com.opengamma.strata.basics.currency.CurrencyAmount;
import com.opengamma.strata.collect.ArgChecker;
import com.opengamma.strat... |
package example.service;
import example.repo.Customer1921Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer1921Service {
public Customer1921Service(Customer1921Repository repo) {
}
} |
/*
* Copyright ConsenSys AG.
*
* 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... |
package com.pi4j.example.gpio.digital;
/*-
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: EXAMPLE :: Sample Code
* FILENAME : DigitalInputExampleFromProperties.java
*
* This file is part of the Pi4J project. More informatio... |
package jetbrains.mps.lang.typesystem.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.DefaultNodeEditor;
import jetbrains.mps.openapi.editor.cells.EditorCell;
import jetbrains.mps.openapi.editor.EditorContext;
import org.jetbrains.mps.openapi.model.SNode;
public class Node_InferTypeOperation_Editor ext... |
package spark;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import spark.servlet.SparkApplication;
import spark.util.SparkTestUtil;
import spark.util.SparkTestUtil.UrlResponse;
public class GenericIntegrationTest {
private SparkTestUtil testUtil;
private Spark spark;
pr... |
/*
* Copyright (c) 2014 eXtensible Catalog Organization.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the MIT/X11 license. The text of the license can be
* found at http://www.opensource.org/licenses/mit-license.php.
*/
package org.oclc.circill.toolkit.service... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* Copyright 2013-2017 consulo.io
*
* 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 com.christophecvb.elitedangerous.models.enums;
public enum BodyType {
Null("Null"),
Star("Star"),
Planet("Planet"),
Planetary_Ring("PlanetaryRing"),
Stellar_Ring("StellarRing"),
Station("Station"),
Asteroid_Cluster("AsteroidCluster");
private String identifier;
BodyType(String identifier) {
this.i... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 Sqwarefx AB.
*
* 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
* us... |
package com.gentics.mesh.core.graphql;
import static com.gentics.mesh.assertj.MeshAssertions.assertThat;
import static com.gentics.mesh.test.ClientHelper.call;
import static com.gentics.mesh.test.TestDataProvider.PROJECT_NAME;
import static com.gentics.mesh.test.context.ElasticsearchTestMode.CONTAINER_ES6;
import org... |
package me.jasonclement.c196.db;
import android.content.Context;
import android.os.AsyncTask;
import androidx.annotation.NonNull;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;
import androidx.sqlite.db.SupportSQLiteDatabase;
import j... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.cam.ceb.como.enthalpy.calculator.validation;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.cam.ceb.como.enthalpy.calculator.reaction... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package com.google.firebase.database;
public final class R {
private R() {}
public static final class attr {
private a... |
package com.shuzijun.leetcode.plugin.utils.doc;
import com.intellij.util.Url;
import com.intellij.util.Urls;
import com.intellij.util.io.URLUtil;
import com.vladsch.flexmark.ast.FencedCodeBlock;
import com.vladsch.flexmark.ast.HtmlBlock;
import com.vladsch.flexmark.ast.HtmlInline;
import com.vladsch.flexmark.ast.Image... |
package io.github.libedi.restrequest;
import java.net.URI;
import java.util.List;
import java.util.Map.Entry;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpMethod;
import org.springframework.web.util.UriComponentsBuilder;
i... |
/* ###
* 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... |
package netherwulf.springframework.knowledgejar.services;
import lombok.extern.slf4j.Slf4j;
import netherwulf.springframework.knowledgejar.api.v1.mapper.SubchapterMapper;
import netherwulf.springframework.knowledgejar.api.v1.model.SubchapterDTO;
import netherwulf.springframework.knowledgejar.api.v1.model.SubchapterLis... |
package ru.job4j.array;
/**
* Классический поиск перебором.
*
@author Шавва Максим.
* @version 1.
* @since 20.03.2019г.
*/
public class FindLoop {
/**
* @param data массив, в котором ищем.
* @param el элемент, который ищем.
* @return индекс найденного элемента.
*/
public int indexOf... |
/*
* Copyright 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 applica... |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... |
package me.xueyao.service.impl;
import com.alibaba.fastjson.JSONObject;
import me.xueyao.base.R;
import me.xueyao.domain.Student;
import me.xueyao.service.StudentService;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import j... |
package com.wrapper.spotify.requests.data.playlists;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.wrapper.spotify.exceptions.SpotifyWebApiException;
import com.wrapper.spotify.requests.data.AbstractDataRequest;
import org.apache.hc.core5.http.ContentType;
import org.apache.hc.core5.http... |
package Database.Model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class UserDBModel {
private String tsID;
private final String name;
public long getUserOnlineSec... |
/*
* 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 seedu.address.testutil;
import seedu.address.commons.core.index.Index;
/**
* A utility class containing a list of {@code Index} objects to be used in tests.
*/
public class TypicalIndexes {
public static final Index INDEX_FIRST_PERSON = Index.fromOneBased(1);
public static final Index INDEX_THIRD_PE... |
package org.timecrafters.minibots.cyberarm;
import com.qualcomm.robotcore.hardware.CRServo;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Servo;
import org.cyberarm.engine.V... |
package co.jasonwyatt.sqliteperf.blobs.cases;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import co.jasonwyatt.sqliteperf.App;
import co.jaso... |
package com.ftninformatika.cris.repository;
import com.ftninformatika.cris.model.Product;
import com.ftninformatika.cris.model.projection.ProductProjection;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
@RepositoryRe... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package com.blossomproject.showcase.initializr;
import com.blossomproject.showcase.initializr.model.PACKAGING_MODE;
import com.blossomproject.showcase.initializr.model.ProjectConfiguration;
import com.blossomproject.showcase.initializr.model.ProjectGenerator;
import com.blossomproject.showcase.initializr.model.SOURCE_... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package top.chenqwwq.leetcode.archive.$20200418.daily;
/**
* 面试题 01.06. 字符串压缩
* 字符串压缩。利用字符重复出现的次数,编写一种方法,实现基本的字符串压缩功能。比如,字符串aabcccccaaa会变为a2b1c5a3。若“压缩”后的字符串没有变短,则返回原先的字符串。你可以假设字符串中只包含大小写英文字母(a至z)。
* <p>
* 示例1:
* <p>
* 输入:"aabcccccaaa"
* 输出:"a2b1c5a3"
* 示例2:
* <p>
* 输入:"abbccd"
* 输出:"abbccd"
* 解释:"abbccd"压... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package org.apache.helix.webapp.resources;
/*
* 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 sandbox.treefilter.skipped;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import koopa.app.ApplicationSupport;
import koopa.parsers.ParseResults;
import koopa.parsers.cobol.CobolParser;
import koopa.trees.antlr.filter.Filter;
import koopa.trees.antlr.filt... |
// Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
package com.example.motor.util;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import androi... |
package seedu.dictionote.logic.commands;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.dictionote.logic.commands.CommandTestUtil.assertCommandFailure;
import static seedu.dictionote.logic.commands.CommandTestUtil.assertCommand... |
package org.eulerframework.demo.controller;
import org.eulerframework.boot.autoconfigure.support.web.core.property.EulerWebSiteProperties;
import org.eulerframework.web.core.base.controller.ApiSupportWebController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annot... |
package com.example.lam.coffeeproject;
import android.content.Context;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
/**
* Created by Phong on 6/6/2017.
*/
public class OnSwipeTouchListener implements View.OnTouchListener {
private final GestureDetector gestureD... |
package checkers.domain;
import static org.junit.Assert.*;
import org.junit.Test;
import checkers.sandbox.SquareState;
public class TestModel {
@Test
public void testBaslat() {
Model model = new Model();
model.baslat();
assertEquals(SquareState.WHITE, model.state[0][0]);
assertEquals(SquareState.WHITE, m... |
/*
* 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... |
/**
* 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 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* Apache 2.0 License
*
* Copyright (c) Sebastian Katzer 2017
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apache License
* Version 2.0 (the 'License'). You may not use this file except in
* compliance with the License. Please obtain a ... |
/*
* This file is part of jTransfo, a library for converting to and from transfer objects.
* Copyright (c) PROGS bvba, Belgium
*
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package org.jtransfo;
imp... |
/*
* Copyright 2006-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
*
* Unles... |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... |
//
// Copyright 2018 SenX S.A.S.
//
// 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... |
/*
*
* Copyright (c) 2006-2019, Speedment, 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 requi... |
package cn.jbone.sm.gateway.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.web.servl... |
/*
* $RCSfile: SegmentedImageInputStream.java,v $
*
*
* Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistribution of source code... |
package org.sagebionetworks.bridge.exporter.dynamo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import javax.annotation.Resource;
import com.amazonaws.services.dynamodbv2.docum... |
/*
* 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 ... |
// $Id$
// Author: Yves Lafon <ylafon@w3.org>
//
// (c) COPYRIGHT MIT, ERCIM, Keio, Beihang, 2015.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.css.properties.css3;
import org.w3c.css.util.ApplContext;
import org.w3c.css.util.InvalidParamException;
import org.w3c.css.values.... |
package boomflow.eip712.core;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
public class Template {
private static final ObjectMapper MAPPER = new ObjectMapper();
private Map<... |
// Copyright 2009 Distributed Systems Group, University of Kassel
// This program is distributed under the GNU Lesser General Public License (LGPL).
//
// This file is part of the Carpe Noctem Software Framework.
//
// The Carpe Noctem Software Framework is free software: you can redistribute it and/or modify
// ... |
// Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
/**
* Copyright (C) 2013, 2014 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.org>)
*
* 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/LICENS... |
package cz.mg.vulkan;
public class VkDisplayEventInfoEXT extends VkObject {
public VkDisplayEventInfoEXT() {
super(sizeof());
setSType(new VkStructureType(VkStructureType.VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT));
}
public VkDisplayEventInfoEXT(VkMemory vkmemory) {
super(vkmemory)... |
package org.linlinjava.litemall.db.domain;
import java.math.BigDecimal;
import java.util.Arrays;
public class LitemallCart {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column litemall_cart.id
*
* @mbg.generated Tue Mar 20 00:11:33 CST 2... |
package com.solubris.experimentation.objects.cloning;
import com.solubris.experimentation.JmhHelper;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
class CloningBenchTest {
@Test
@Tag("jmh")
void ru... |
package org.checkerframework.dataflow.expression;
import com.sun.source.tree.ArrayAccessTree;
import com.sun.source.tree.BinaryTree;
import com.sun.source.tree.ExpressionTree;
import com.sun.source.tree.IdentifierTree;
import com.sun.source.tree.LiteralTree;
import com.sun.source.tree.MemberSelectTree;
import com.sun.... |
package cn.happyloves.example.lock;
/**
* 多线程锁、锁住同一个对象
*
* @author zc
* @date 2021/1/15 22:59
*/
public class DemoLock2 {
int count = 0;
public void test() {
synchronized (DemoLock2.class) {
sleep();
count++;
System.out.println(Thread.currentThread().getName()... |
package com.endava.cats.fuzzer.headers.leading;
import com.endava.cats.fuzzer.HeaderFuzzer;
import com.endava.cats.fuzzer.headers.base.InvisibleCharsBaseFuzzer;
import com.endava.cats.io.ServiceCaller;
import com.endava.cats.model.FuzzingStrategy;
import com.endava.cats.report.TestCaseListener;
import com.endava.cats.... |
/*
* 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 2007-2014 Ensift Pty Ltd as trustee for the Avaz Trust and other 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/LICENS... |
/*
* Copyright (C) 2016 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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... |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook;
import com.wilutions.com.*;
/**
* ExplorerEvents.
*
*/
@CoInterface(guid="{0006304F-0000-0000-C000-000000000046}")
public interface ExplorerEvents extends IDispatch {
static boolean __typelib__loaded = __TypeLib.load();
@DeclDISPI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.