text stringlengths 7 995k |
|---|
package de.adorsys.psd2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import ... |
/*
* Copyright www.jingtum.com Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Licens... |
package com.helloingob.gifter.algorithm;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import com.helloingob.gifter.data.to.Giveaway;
import com.helloingob.gifter.handler.UserHandler;
import com.helloingob.gifter.utilities.TimeHelper;
import com.helloingob.gifter.utilities.dlc.DLCA... |
package com.fitpay.android.paymentdevice.enums;
import androidx.annotation.StringDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public class NotificationType {
public final static String SYNC = "SYNC";
public final static String CREDITCARD_DELETED = "CREDITCARD_DELE... |
/**
* This file is part of the Gribbit Web Framework.
*
* https://github.com/lukehutch/gribbit
*
* @author Luke Hutchison
*
* --
*
* @license Apache 2.0
*
* Copyright 2015 Luke Hutchison
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com... |
package io.deephaven.grpc_api.util;
import com.google.protobuf.ByteString;
import io.deephaven.proto.backplane.grpc.Ticket;
import org.junit.Test;
import io.deephaven.base.verify.Assert;
import java.util.function.Consumer;
public class GrpcUtilTest {
@Test
public void testLongToByteStringConversion() {
f... |
/*
* 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 2016 Carnegie Mellon University
*
* 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 cn.offer2020.pbj.demo.leetcode.binarySearch;
/**
* @pClassName: Demo410
* @author: pengbingjiang
* @create: 2020/7/25 15:52
* @description: TODO 410.分割数组的最大值
* 给定一个非负整数数组和一个整数m,你需要将这个数组分成m个非空的连续子数组。设计一个算法使得这m个子数组各自和的最大值最小。
*/
public class Demo410 {
public int splitArray(int[] nums, int m) {
/... |
package in.mahabhujal.mahabhujal.model;
public class BorewellWaterLevelModel {
String borewellid;
String date;
String available;
String variation;
String preWaterLevel;
String potentWaterLevel;
public String getBorewellid() {
return borewellid;
}
public void setBorewellid... |
// ============================================================================
//
// Copyright (C) 2006-2021 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* Copyright 2000-2009 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... |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
package seedu.address.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess;
import static seedu.address.logic.commands.CommandTestUtil.showPersonAtInde... |
package Modelos;
/**
*
* @author Bayron Cruz C
*/
public class Ingrediente
{
private String idIngrediente;
private String nombreIngrediente;
private String unidadMedida;
private String cantidadIngrediente;
public String getCantidadIngrediente() {
return cantidadIngrediente;
}
... |
package frc.robot.auto.commands;
import edu.wpi.first.wpilibj.geometry.Pose2d;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Drive;
public class ResetOdometryAuto extends CommandBase {
private static final Drive mDrive = Drive.getInstance();
@Override
public void initial... |
package com.example.riichicompanion;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import androidx.core.content.res.ResourcesCompat;
public enum Wind {
East {
@Override
public Drawable getImage(Context context) {
s... |
package gay.emma.forkhouse.api.methods;
import gay.emma.forkhouse.api.ClubhouseAPIRequest;
import gay.emma.forkhouse.api.model.Event;
public class GetEvent extends ClubhouseAPIRequest<GetEvent.Response>{
public GetEvent(String id){
super("POST", "get_event", Response.class);
requestBody=new Body(id);
}
priva... |
package com.emistoolbox.client.util.ui;
import com.emistoolbox.common.util.Named;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
impor... |
/*******************************************************************************
* Copyright (c) 2012, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
/*
* 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 de.danoeh.antennapod.fragment;
import android.os.Bundle;
import androidx.annotation.NonNull;
import com.google.android.material.snackbar.Snackbar;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.ItemTouchHelper;
import android.util.Log;
import android.view.LayoutInflater;
... |
package com.skylike.skymall.ware.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 库存工作单
*
* @author stream
* @email stream@gmail.com
* @date 2021-04-17 09:15:35
*/
@Da... |
package nspace;
public class PolarComplex implements Complex {
public double r;
public double th;
public PolarComplex(double r, double th) {
this.r = r;
this.th = th;
}
public double re() {
return r * Math.cos(th);
}
public double im() {
return r * Math.sin(th);
}
public double r() {
return r;
... |
package uk.gov.hmcts.reform.orgrolemapping;
import au.com.dius.pact.consumer.MockServer;
import au.com.dius.pact.consumer.dsl.DslPart;
import au.com.dius.pact.consumer.dsl.PactDslWithProvider;
import au.com.dius.pact.consumer.junit5.PactConsumerTestExt;
import au.com.dius.pact.consumer.junit5.PactTestFor;
import au.co... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.jcohy.sample.java.juc;
/**
* Created by jcohy on 2018/10/18. ClassName : com.jcohy.study.juc Description :
*/
public class VolatileTest {
public static void main(String[] args) {
ThreadDemo2 td = new ThreadDemo2();
new Thread(td).start();
while (true) {
if (td.isFlag()) {
System.out.printl... |
package org.ovirt.engine.core.common.job;
public enum ExternalSystemType {
VDSM;
static public ExternalSystemType safeValueOf(String value) {
if (value == null) {
return null;
}
return ExternalSystemType.valueOf(value);
}
} |
/*
* Copyright (c) 2008-2021, Massachusetts Institute of Technology (MIT)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyrig... |
package koks.manager.event.impl;
import koks.manager.event.Event;
/**
* @author kroko
* @created on 25.10.2020 : 20:31
*/
public class EventAttack extends Event {
} |
package org.apache.helix.rest.server;
/*
* 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 Licens... |
package gg.projecteden.nexus.features.events.y2021.pugmas21.quests;
import gg.projecteden.nexus.models.pugmas21.Pugmas21UserService;
import gg.projecteden.nexus.models.quests.Quest;
import gg.projecteden.nexus.models.quests.Quester;
import lombok.Getter;
import org.bukkit.entity.Player;
import java.util.List;
import... |
/**
* Copyright 2008 - 2009
*
* 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... |
/*
* 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 aufgabentexte;
/**
*
* @author simon
*/
public abstract class Aufgaben {
String[] anweisungstext;
int[] aufgab... |
/*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 2005, 2006. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... |
// 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 2019 github.com/ReflxctionDev
*
* 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 la... |
package com.google.android.apps.analytics;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
public class AnalyticsParameterEncoder {
public static String encode(String s) {
return encode(s, "UTF-8");
}
static String encode(String s, String charset) {
try {
return URLEncoder.encode(s... |
package net.kvak.shibboleth.totpauth.api.authn.context;
import org.opensaml.messaging.context.BaseContext;
import java.util.ArrayList;
import javax.annotation.Nullable;
public class TokenUserContext extends BaseContext {
public enum AuthState {
OK, ERROR, MISSING_SEED, REGISTER, CANT_VALIDATE, UNKNOWN
... |
package com.hust.edu.cn.tree;
class _965 {
private boolean flag = true;
public boolean isUnivalTree(TreeNode root) {
int Target = root.val;
Perse(root, Target);
return flag;
}
private void Perse(TreeNode root, int target) {
if (root != null) {
if (root.val ... |
/*
* Copyright Debezium Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.debezium.relational.ddl;
import java.sql.Types;
import org.junit.Before;
import org.junit.Test;
import static org.fest.assertions.Assertions.assertTha... |
package de.thl.intellijinfer;
import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase;
import de.thl.intellijinfer.model.InferBug;
import de.thl.intellijinfer.service.ResultParser;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.Map;
public cl... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package dio.one.santanderfullstackbootcamp.servicediscovery;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ServiceDiscoveryApplicationTests {
@Test
void contextLoads() {
}
} |
/**
* Copyright 2018 人人开源 http://www.renren.io
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by appli... |
/*
* Copyright (c) 2021, Alexander Galagutskiy
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the fo... |
/*
* provider-blackduck
*
* Copyright (c) 2022 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.alert.provider.blackduck.task.accumulator;
import java.util.Optional;
... |
package io.novajox.androidlessons.ui.repos;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import io.novajox.androidlessons.R;
import io.novajox.androidlessons.data.model.Repo;
/**
* Created by Joc... |
package dao;
public abstract class UserDaoFactory {
public static UserDaoHibernate createUserDaoHibernate() {
return new UserDaoHibernateImpl();
}
public static UserDaoJDBC createUserDaoJDBC() {
return new UserDaoJDBCimpl();
}
} |
// ============================================================================
//
// Copyright (C) 2006-2016 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package prefuse.data.parser;
/**
* DataParser instance the parses int values from a text string.
*
* @author <a href="http://jheer.org">jeffrey heer</a>
*/
public class IntParser implements DataParser {
/**
* Returns int.class.
* @see prefuse.data.parser.DataParser#getType()
*/
@Suppr... |
/* Copyright (C) 2013-2021 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.de/.
*
* 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/... |
import com.genexus.*;
import com.genexus.xml.*;
import com.genexus.search.*;
import com.genexus.webpanels.*;
public final class SdtTBM03_CDISC_ITEM extends GxSilentTrnSdt implements Cloneable, java.io.Serializable
{
public SdtTBM03_CDISC_ITEM( int remoteHandle )
{
this( remoteHandle, new ModelContext(Sdt... |
package com.atguigu.gmall.pms.service.impl;
import com.atguigu.gmall.pms.vo.SpuVo;
import com.sun.deploy.util.StringUtils;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.cor... |
package net.avicus.magma.api.graph.types.base.backpack_gadget_arguments;
public interface BackpackGadgetsArgumentsDefinition {
void define(BackpackGadgetsArguments args);
} |
package com.ruoyi.web.service.audit;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.domain.AuditFlowCurrent;
import com.ruoyi.web.domain.SysProjectTable;
import com.ruoyi.web.domain.TaskPostpone;
import com.ruoyi.web.domain.TaskTable;
import com.ruoyi.web.domain.vo.AuditFlowCrurrentVo;
import com... |
package homework.cardealer.service;
import homework.cardealer.domain.dto.seed.SupplierSeedDto;
import homework.cardealer.domain.dto.view.SupplierIdNamePartsCountViewDto;
import homework.cardealer.domain.entity.Supplier;
import java.util.List;
public interface SupplierService {
void seedSuppliers(SupplierSeedDto[... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.jianyuyouhun.jmvplib.utils.injecter.model;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* model注解
* presenter, model中使用
* Created by wangyu on 2017/6/30.
*/
@Retention(RetentionPolic... |
package org.bc.asn1.ocsp;
import org.bc.asn1.ASN1EncodableVector;
import org.bc.asn1.ASN1Object;
import org.bc.asn1.ASN1Primitive;
import org.bc.asn1.DERSequence;
import org.bc.asn1.x500.X500Name;
public class ServiceLocator extends ASN1Object {
X500Name issuer;
ASN1Primitive locator;
public ASN1Primitive t... |
/* This file was generated by SableCC (http://www.sablecc.org/). */
package com.google.clearsilver.jsilver.syntax.node;
import com.google.clearsilver.jsilver.syntax.analysis.*;
@SuppressWarnings("nls")
public final class TElseIf extends Token
{
public TElseIf(String text)
{
setText(text);
}
... |
package io.nosqlbench.virtdata.library.basics.shared.from_string.to_unset;
import io.nosqlbench.virtdata.api.annotations.Categories;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import io.nosqlbench.virtdata.api.bindings.VALUE;
import java.uti... |
package cn.ikidou.okcallback.dispatcher;
/**
* 结果/错误分发类,在Java和Android两种不同的环境中,使得在Android系统中运行成UI线程,而Java则运行在网络请求线程。
*
* @since 1.0.0
*/
public abstract class Dispatcher {
private static final Dispatcher DEFAULT_DISPATCHER = initDispatcher();
private static Dispatcher initDispatcher() {
try {
... |
/*
* 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.ekalin.kalendar.provider;
import android.database.Cursor;
import android.net.Uri;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.Arrays;
import java... |
package com.gmail.nkigumnov.visualgol.activities;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.SeekBar;
import android.widget.TextView;
import android.widget.EditText;
import com.gmail.nkigumnov.visualgol.R;
import com.gmail.nkigumnov.visu... |
package org.jeecg.modules.tbk.util;
import com.taobao.api.ApiException;
import com.taobao.api.DefaultTaobaoClient;
import com.taobao.api.TaobaoClient;
import com.taobao.api.domain.NTbkShop;
import com.taobao.api.request.TbkActivitylinkGetRequest;
import com.taobao.api.request.TbkDgOptimusMaterialRequest;
import com.ta... |
package Models;
import lombok.Data;
import misc.SeatType;
@Data
public class Seat {
private boolean occupied;
private User user;
private SeatType seatType;
private int coachNumber;
private int cabinNumber;
private int trainNumber;
public Seat(SeatType seatType, int cabinNumber, int coachN... |
/**
* @author yzhi
* @date 2012-1-20 下午03:21:12
* @copyright 2012 haitian.com All rights reserved
* @version 1.0
*/
package dp.behaviour.chainofresponsibility;
/**
* 具体处理者B
* @author yzhi
*/
public class ConcreteHandlerB extends Handler {
/* (non-Javadoc)
* @see behavior.chainofresponsibility.Handler... |
package com.x.processplatform.assemble.bam.stub;
import com.x.base.core.gson.GsonPropertyObject;
public class CompanyStub extends GsonPropertyObject {
private String name;
private String value;
private Integer level;
private DepartmentStubs departmentStubs;
public String getName() {
return name;
}
public... |
// (MIT License)
// Copyright (c) 2012 Sophiah (Zing-Ming)
// 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, merg... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.structuralsearch;
import com.intellij.lang.Language;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.project.Project;
import com.... |
package com.dlink.alert.email.template;
import com.dlink.alert.ShowType;
import com.dlink.alert.email.EmailConstants;
import com.dlink.utils.JSONUtil;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import static java.util.Objects.requireNonNu... |
/*
* 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 FUJITSU LIMITED 2018
* ... |
package name.valery1707.kaitai.it;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import static org.assertj.core.api.Assertions.assertThat;
public class KaitaiDocConta... |
/*
* Created on 16.03.2006
* $Log$
* Revision 1.1 2006/08/04 08:04:05 mpscholz
* refactord_parser
*
*/
package js.tools;
import org.apache.commons.cli.CommandLine;
import js.common.CLIToolProgressMonitor;
import js.tinyvm.TinyVM;
import js.tinyvm.util.TinyVMCommandLineParser;
/**
* links and downloads leJOS... |
package com.example.servemesystem;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBar;
import ... |
/*
* Copyright 2019 Miroslav Pokorny (github.com/mP1)
*
* 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 virtual_robot.controller.robots.classes;
import com.qualcomm.robotcore.hardware.*;
import com.qualcomm.robotcore.hardware.configuration.MotorType;
import javafx.fxml.FXML;
import javafx.scene.shape.Rectangle;
import javafx.scene.transform.Scale;
import javafx.scene.transform.Translate;
import virtual_robot.con... |
package com.bjmu.order.param;
import com.bjmu.order.domain.Goods;
import com.bjmu.order.domain.SubOrders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
* 初始化创建订单参数对象
*/
@Data
@ApiModel(value = "创建订单参数对象"... |
package bwfdm.sara.git.gitlab;
import bwfdm.sara.git.Branch;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/** data class for branches returned from GitLab. */
@JsonIgnoreProperties(ignoreUnknown = true)
class GLBranch {
/** branch name. */
@Jso... |
package com.wuzhizhan.mybatis.dom.converter;
import com.intellij.psi.PsiMethod;
import com.intellij.util.xml.ConvertContext;
import com.wuzhizhan.mybatis.dom.model.Mapper;
import com.wuzhizhan.mybatis.util.JavaUtils;
import com.wuzhizhan.mybatis.util.MapperUtils;
import org.jetbrains.annotations.NonNls;
import org.jet... |
/*
*
* 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"); y... |
/*
* Copyright (C) 2013 Peng fei Pan <sky@xiaopan.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 appli... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE80_XSS__Servlet_PropertiesFile_13.java
Label Definition File: CWE80_XSS__Servlet.label.xml
Template File: sources-sink-13.tmpl.java
*/
/*
* @description
* CWE: 80 Cross Site Scripting (XSS)
* BadSource: PropertiesFile Read data from a .properties file (in property named ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2019 Yegor Bugayenko
*
* 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
*... |
package test.formatsql;
/*
* Date: 11-3-22
*/
import gudusoft.gsqlparser.EDbVendor;
import gudusoft.gsqlparser.TGSqlParser;
import gudusoft.gsqlparser.pp.para.GFmtOpt;
import gudusoft.gsqlparser.pp.para.GFmtOptFactory;
import gudusoft.gsqlparser.pp.para.styleenums.TAlignStyle;
import gudusoft.gsqlparser.pp.para.styl... |
/*
* Copyright (c) 2019. 黄钰朝
*
* 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... |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2006-2011 Serotonin Software Technologies Inc. http://serotoninsoftware.com
* @author Matthew Lohbihler
*... |
/*
* Copyright © 2017-2019 Harvard Pilgrim Health Care Institute (HPHCI) and its Contributors.
* Copyright 2020 Google LLC
* 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 restrictio... |
package com.example.android.miwok;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.A... |
/**
* Copyright (c) 2016 See AUTHORS file
* 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 conditions and... |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DvsVNicProfile complex type.
*
* ... |
package crc64720bb2db43a66fe9;
public class PickerRenderer
extends crc64720bb2db43a66fe9.PickerRendererBase_1
implements
mono.android.IGCUserPeer
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"";
mono.android.Runtime.register ("Xamarin.Forms.Platform.Android.AppCompat.P... |
package id.demo.crude.util;
public class Table {
public static final String MASTER_KABUPATEN = "master_kabupaten";
public static final String MASTER_PROVINSI = "master_provinsi";
} |
package cn.com.library.encrpt;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.KeyGenerator;
import javax.crypto.NoSuchPaddingException;
impo... |
package com.joyxj.leetcode.difficulty.easy;
/*
* @lc app=leetcode.cn id=101 lang=java
*
* [101] 对称二叉树
*
* https://leetcode-cn.com/problems/symmetric-tree/description/
*
* algorithms
* Easy (45.47%)
* Total Accepted: 25.1K
* Total Submissions: 55.1K
* Testcase Example: '[1,2,2,3,4,4,3]'
*
* 给定一个二叉树,检查它... |
/*
* Copyright 2002-2015 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.