text stringlengths 7 995k |
|---|
package Breccia.parser;
/** A fractum of Breccia reflected as a parse state. The reflection covers the markup
* of the fractal head alone, leaving the body (if any) to be covered by future states.
* In the case of a file fractum (the only potentially headless case), any absence of a head
* will be indicated no... |
/*
* Copyright 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/**
* Copyright (c) 2013-2022 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... |
package neu.scweb.dao.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import neu.scweb.dao.FeatureDao;
import neu.scweb.dao.ModuleDao;
import neu.scweb.po.Feature;
import neu.scweb.po.Module;
import neu.scweb.util.BaseDao;
@Component(value="featureDao... |
/*******************************************************************************
*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* ... |
/*
* 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 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.openapi.wm.impl;
import com.intellij.diagnostic.IdeMessagePanel;
import com.intellij.icons.AllIcons;
import com.intellij.ide.AppLifecycleListener;
import com... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.udacity.jdnd.course3.critter.model.pet;
import java.time.LocalDate;
/**
* Represents the form that pet request and response data takes. Does not map
* to the database directly.
*/
public class PetDTO {
private long id;
private PetType type;
private String name;
private long ownerId;
... |
/*
* 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
... |
/*
* Copyright 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 applic... |
package pokecube.mobs.moves.world;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState;
import pokecube.core.PokecubeCore;
import pokecube.core.database.abilities.Ability;
import... |
package com.hit.basmath.learn.others;
/**
* 746. Min Cost Climbing Stairs
* <p>
* On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed).
* <p>
* Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reach the top of the floor, and you can ei... |
/*
* Copyright 2016-2021 Micro Focus or one of its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
package org.infinispan.stats.logic;
import org.infinispan.configuration.cache.CacheMode;
import org.infinispan.stats.BaseTxClusterExtendedStatisticLogicTest;
import org.testng.annotations.Test;
/**
* @author Pedro Ruivo
* @since 6.0
*/
@Test(groups = "functional", testName = "stats.logic.SyncDistTxClusterExtendedS... |
package boleto;
public class Boleto {
} |
package com.watchdog.dao.permissions;
/**
* Created by BBuck on 10/4/16.
*/
import com.watchdog.business.Permissions;
import com.watchdog.dao.Constants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
... |
// Copyright 2016-2020 AppyBuilder.com, All Rights Reserved - Info@AppyBuilder.com
// https://www.gnu.org/licenses/gpl-3.0.en.html
package com.google.appinventor.components.runtime;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Bi... |
/*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/lic... |
package daylemk.xposed.xbridge.ui;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.SwitchPreference;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import andro... |
import java.util.HashMap;
import java.util.Map;
public class Seq {
final static int A=0,C=1,G=2,T=3,N=4;
static Map<Character, Integer> nucl;
static {
nucl = new HashMap<Character, Integer>();
nucl.put('A', A);
nucl.put('C', C);
nucl.put('G', G);
nucl.put('T', T);
... |
package io.github.oliviercailloux.collaborative_exams.model.entity;
import javax.json.bind.annotation.JsonbPropertyOrder;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.pers... |
/*
* Copyright 2014 the MechIO 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 law or a... |
/*
* Copyright (C) 2015 Krystian Drożdżyński
*
* 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... |
package com.tuling.circulardependencies;
import com.sun.tools.hat.internal.model.Root;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.support.RootBe... |
/*
* Copyright (C) 2014-2017 Appliberated
* http://www.appliberated.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
*
* Unles... |
/*******************************************************************************
* Copyright 2015, 2017 Francesco Benincasa (info@abubusoft.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 Lic... |
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.propertychain.models;
import com.aliyun.tea.*;
public class UpdateTemplateResponse extends TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
@NameInMap("req_msg_id")
public String reqMsgId;
// 结果码,一般OK表示调用成功
@NameInMap("r... |
package br.com.aegro.production.domain.dto;
import io.swagger.annotations.ApiModel;
import lombok.*;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Objects;
@ApiModel(description =... |
/**
* Copyright 2015-2021 yanglb.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 applicable law or ag... |
/* SPDX-License-Identifier: Apache-2.0 */
package org.odpi.openmetadata.repositoryservices.eventmanagement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLog;
import org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditingComponent;
imp... |
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... |
package red.reksai.server.daomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
@TableName(value = "tb_user_role")
public ... |
package mb.minics.spoofax.task;
import mb.common.region.Region;
import mb.jsglr.common.TermTracer;
import mb.pie.api.ExecContext;
import mb.pie.api.Task;
import mb.pie.api.TaskDef;
import mb.resource.ResourceKey;
import mb.spoofax.core.language.command.CommandFeedback;
import mb.spoofax.core.language.command.ShowFeedb... |
/*****************************************************
*
* CatalogueLoaderTests.java
*
*
* Modified MIT License
*
* Copyright (c) 2010-2016 Kite Tech Ltd. https://www.kite.ly
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... |
/*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 1995, 2013. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... |
package cn.edu.hpu.yuan.yuannews.user.center;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import dagger.Module;
import dagger.Provides;
import retrofit2.http.POST;
/**
* Created by yuan on 16-5-12.
*/
@Module
public class CenterModule {
public CenterModule(){}
private CenterContan... |
package org.txudevelop.spring.batch.lightmin.server.repository;
import org.assertj.core.api.BDDAssertions;
import org.junit.Test;
import org.tuxdevelop.spring.batch.lightmin.server.domain.Journal;
import org.tuxdevelop.spring.batch.lightmin.server.repository.JournalRepository;
import java.util.List;
public abstract ... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... |
package com.linecy.myapplication;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.widget.TextView;
import android.widget.Toast;
import com.linecy.banner.BannerView;
import com.linecy.banner.listener.... |
/* 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 android.support.v7.recyclerview;
public final class R {
public static final class attr {
public static final int fa... |
/*
* Copyright 2018 Netflix, 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 t... |
package main.utils.apis.wrappers.deezer.models;
import lombok.Getter;
import java.net.URL;
import java.util.Date;
public class DeezerTrack {
@Getter
private final int id;
@Getter
private final boolean readable;
@Getter
private final String title;
@Getter
private final String shortTitl... |
package tech.ivoice.sip.examples.simplecallsetup;
import gov.nist.javax.sip.address.AddressFactoryImpl;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;
import io.vertx.mutiny.core.Vertx;
import tech.ivoice.sip.vertx.SipVerticleConfig;
impor... |
package org.tigris.juxy.xpath;
import org.tigris.juxy.util.ArgumentAssert;
import org.tigris.juxy.util.DocumentsAssertionError;
import org.tigris.juxy.util.StringUtil;
import org.tigris.juxy.util.XMLComparator;
import org.w3c.dom.Node;
/**
* @author pavel
*/
public class XPathAssert {
private XPathExpr xpath;
p... |
package io.github.privacystreams.utils;
import android.graphics.ImageFormat;
import android.graphics.PixelFormat;
import android.media.MediaRecorder;
import android.util.Log;
/**
* Global configurations for PrivacyStreams.
*/
public class Globals {
public static class LocationConfig {
public static boo... |
package com.codepath.apps.mysimpletweets.models;
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.activeandroid.query.Select;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.parceler.Parce... |
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or p... |
package com.csl456.bikerentalapp.core;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.dropwizard.jackson.Jackson;
import org.junit.jupiter.api.Test;
import static io.dropwizard.testing.FixtureHelpers.fixture;
import static org.assertj.core.api.Assertions.assertThat;
public class CycleTest {
priva... |
/*
* Copyright (c) 2019 Elastos Foundation
*
* 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, ... |
/*
* Copyright (C) 2019 Nataniel
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This ... |
package com.mkyong.common.model;
import java.io.Serializable;
public class Country implements Serializable {
private static final long serialVersionUID = 1L;
private String countryId;
private String countryName;
public Country() {
}
public String getCountryId() {
return this.countryId;
}
public void se... |
/*
* Copyright 2002-2014 iGeek, Inc.
* All Rights Reserved
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
import org.traccar.model.Position;
public class SuntechProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeTemperature() throws Exception {
SuntechProtocolDecoder decoder = new SuntechProtocolDec... |
/*
* 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.joolun.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 用户和岗位关联 sys_user_post
*
* @author ruoyi
*/
public class SysUserPost
{
/** 用户ID */
private Long userId;
/** 岗位ID */
private Long postId;
... |
// Copyright (c) YugaByte, 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 in writ... |
/**
* The MIT License
* Copyright (c) 2014-2016 Ilkka Seppälä
*
* 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, c... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
package org.gs4tr.gcc.restclient.operation;
import java.util.List;
import org.gs4tr.gcc.restclient.GCConfig;
import org.gs4tr.gcc.restclient.dto.GCResponse;
import org.gs4tr.gcc.restclient.dto.PageableResponseData;
import org.gs4tr.gcc.restclient.model.GCSubmission;
import org.gs4tr.gcc.restclient.request.GCRequest;
... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Elex
* 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 copyright notice, this
... |
/*
* 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 2018 IBM Corp. 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 o... |
/*
* Copyright 2019 Web3 Labs LTD.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - info@scireum.de
*/
package sirius.kernel.health;
import sirius.kernel.async.CallContext;
import sirius.kernel.commons.Explain;
import sirius.kernel.commons.Strings;
import sirius.... |
/**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.xmlexchange.commandline;
import java.io.File;
import java.io.IOException;
import org.apache.commons.cli.CommandLine;
impo... |
package net.globaltms.security.dto;
public class PassSaltDTO {
private String pass;
private String salt;
public PassSaltDTO() {
super();
}
public PassSaltDTO(String pass, String salt) {
super();
this.pass = pass;
this.salt = salt;
}
public String getPass() {
return pass;
}
public void setPass(... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2
// 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: 2013.11.20 at 05:11... |
package top.pressed.argmous.service;
import top.pressed.argmous.exception.ParamCheckException;
import java.lang.reflect.Method;
public interface ArgmousService {
void startValidate(Method method, Object[] values, String[] names) throws ParamCheckException;
} |
package com.opensource.tools.event.model;
import java.util.Date;
import java.util.List;
public class Event {
private String name;
private EventType type;
private Date startDate;
private Date endDate;
private Priority priority;
private List<Contact> contacts;
private List<Location> locations;
private S... |
package edu.gemini.ags.servlet.osgi;
import edu.gemini.ags.api.AgsMagnitude;
import edu.gemini.ags.conf.ProbeLimitsTable;
import edu.gemini.ags.servlet.JsonServlet;
import edu.gemini.ags.servlet.estimation.AgsServlet;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.f... |
package com.ds365.erp.wms.pda.view.stock.putaway.activity;
import java.util.ArrayList;
import java.util.List;
import com.ds365.commons.AbstractServiceCallBack;
import com.ds365.commons.utils.DialogUtils;
import com.ds365.commons.utils.IntentUtils;
import com.ds365.commons.utils.StringUtils;
import com.ds365.commons.u... |
package net.minecraft.world.level.block;
import java.util.Random;
import net.minecraft.core.BlockPosition;
import net.minecraft.core.EnumDirection;
import net.minecraft.server.level.WorldServer;
import net.minecraft.tags.Tag;
import net.minecraft.tags.TagsBlock;
import net.minecraft.world.entity.player.EntityHuman;
im... |
// The MIT License (MIT)
// Copyright © 2015 AppsLandia. All rights reserved.
// 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
... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2011, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
/*
* Copyright (c) 2008-2015, 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 ... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.internal.util.privilegedactions;
import java.lang.annotation.Annotati... |
/*
* 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 ... |
import java.util.*;
class Question1
{
public static void main ( String args [] )
{
System.out.println (new Vehicle (2, "Blue"));
System.out.println (new Car ("Black", 4, 4));
System.out.println (new Plane ("White", 416, "Boeing", 737));
}
} |
/*
* Copyright 2015 Gerald Muecke, gerald.muecke@gmail.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... |
/*
* 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.bx.erp.task;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.... |
package com.zegoggles.smssync;
import java.io.IOException;
import android.os.ParcelFileDescriptor;
import android.app.backup.BackupAgentHelper;
import android.app.backup.SharedPreferencesBackupHelper;
import android.app.backup.BackupDataInput;
import android.app.backup.BackupDataOutput;
import android.util.Log;
impo... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__getParameter_Servlet_array_size_22b.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-22b.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array Index
* ... |
package com.rbkmoney.payouter.poller.handler.impl;
import com.rbkmoney.damsel.domain.Cash;
import com.rbkmoney.damsel.domain.FinalCashFlowPosting;
import com.rbkmoney.damsel.domain.InvoicePayment;
import com.rbkmoney.damsel.domain.PaymentRoute;
import com.rbkmoney.damsel.payment_processing.Event;
import com.rbkmoney.d... |
// Copyright 2016 Twitter. 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... |
package com.bomberman.server;
/********************************************************
*
* MAKE SURE THAT THIS DEFINITION MATCHES ENUM ON CLIENT
*
********************************************************/
// The different game objects
public enum GameObjectType{
EMPTY, // 0
PLAYER_1, // 1
PLAYER_2, ... |
package org.pac4j.saml.transport;
import static org.junit.Assert.assertTrue;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import org.junit.Test;
import org.opensaml.messaging.decoder.MessageDecodingException;
import org.opensaml.saml.saml2.core.impl.ResponseImpl;
import org.pac4j.core.contex... |
package eu.fbk.knowledgestore.triplestore;
import java.io.IOException;
import com.google.common.collect.ForwardingObject;
/**
* A {@code TripleStore} that forwards all its method calls to another {@code TripleStore}.
* <p>
* This class provides a starting point for implementing the decorator pattern on top of th... |
/**
* 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 (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
/*
* 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.arkaces.ark_ethereum_contract_service.exchange_rate;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;
import org.springframework.stereotype.Service;
import org.springframework.web.client.R... |
package sean.k.baserecycleradapterexamples;
import sean.k.baserecycleradapter.BaseRecyclerViewModel;
public class TextViewModel extends BaseRecyclerViewModel<String> {
public TextViewModel(String data) {
super(data, MultiTypeRecyclerAdapter.ITEM_TYPE_TEXT);
}
} |
package org.batfish.specifier.parboiled;
import static org.batfish.specifier.parboiled.Anchor.Type.INTERFACE_CONNECTED_TO;
import static org.batfish.specifier.parboiled.Anchor.Type.INTERFACE_TYPE;
import static org.batfish.specifier.parboiled.Anchor.Type.INTERFACE_VRF;
import static org.batfish.specifier.parboiled.Anc... |
/*
* Copyright (c) 2012 ZES Inc. All rights reserved.
* This software is the confidential and proprietary information of ZES Inc.
* You shall not disclose such Confidential Information and shall use it
* only in accordance with the terms of the license agreement you entered into
* with ZES Inc. (http://www.zesinc.... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.aws.greengrass.util;
import software.amazon.awssdk.core.client.config.ClientOverrideConfiguration;
import software.amazon.awssdk.core.retry.RetryPolicy;
import software.amazon.awssdk.core.re... |
package com.fhr.webflux.routes.service;
import com.fhr.webflux.routes.domain.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* Created by Huaran Fan on 2018/6/19
*
* @description:
*/
public interface UserService {
Flux<User> list();
Flux<User> getById(Flux<String> ids);
Mono... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.