text
stringlengths
7
1.01M
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE113_HTTP_Response_Splitting__Environment_addCookieServlet_67a.java Label Definition File: CWE113_HTTP_Response_Splitting.label.xml Template File: sources-sinks-67a.tmpl.java */ /* * @description * CWE: 113 HTTP Response Splitting * BadSource: Environment Read ...
package ca.djiang.junction.core; public interface JunMemory<Word extends Number> { public Word loadWord(int addr); public void storeWord(int addr, Word value); }
package br.com.zupacademy.giovannimoratto.ecommerce.purchases.gateway; import br.com.zupacademy.giovannimoratto.ecommerce.purchases.costumer.PurchaseModel; import br.com.zupacademy.giovannimoratto.ecommerce.purchases.gateway.request.TransactionStatus; import org.hibernate.annotations.CreationTimestamp; import javax.p...
package pl.pp.tiplab.securevoipclient.client.register.dto; import java.util.List; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import pl.pp.tiplab.securevoipclient.client.user.VoIPUser; @Getter @Setter @NoArgsConstructor public class RegisterResponse { private String nick; pri...
/* * Copyright (c) 2021 DumbDogDiner <dumbdogdiner.com>. All rights reserved. * Licensed under the MIT license, see LICENSE for more information. */ package com.dumbdogdiner.stickycommands.api.player; /** * The speed type to modify for a player */ public enum SpeedType { WALK, FLY, }
package mekanism.client.gui.element.scroll; import java.util.ArrayList; import java.util.List; import javax.annotation.Nullable; import mekanism.client.gui.IGuiWrapper; import mekanism.client.gui.element.GuiInnerScreen; import net.minecraft.client.gui.AbstractGui; public class GuiTextScrollList extends GuiScrollList ...
/******************************************************************************* * Copyright (c) 2013-2017 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanying ...
/* * Copyright 2018 JDCLOUD.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 agreed to in...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.credit.creditdefaultswap.pricing.vanilla.isda; import static com.opengamma.analytics.financial.credit.creditdefaultswap.CreditDefaultSwapD...
/** * 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...
// Template Source: BaseEntityRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------------...
package kz.edu.nu.cs.exercise; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; public class LogModel extends Model{ private String username = null; public LogModel() throws SQLException { super("cvbuilder_logs"); } public void add(String type, String ...
// Copyright 2018-2022 Polyaxon, 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 agre...
/* * * Copyright 2010 Leeds Metropolitan 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 appl...
/** * Copyright 2016 Google 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 ...
/* * Copyright 2012-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2021 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 wr...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
// FCMOD package net.minecraft.src; public abstract class FCBlockChunkOreStorage extends FCBlockFallingFullBlock { protected FCBlockChunkOreStorage( int iBlockID ) { super( iBlockID, Material.rock ); setHardness( 1F ); setResistance( 5F ); SetPicksEffective...
package com.codeest.geeknews.ui.zhihu.activity; import android.app.ActivityOptions; import android.content.Intent; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import a...
/** */ package edu.kit.ipd.sdq.kamp4bp.model.fieldofactivityannotations.provider; import edu.kit.ipd.sdq.kamp4bp.model.fieldofactivityannotations.BPFieldOfActivityAnnotationsPackage; import edu.kit.ipd.sdq.kamp4bp.model.fieldofactivityannotations.BPOrganizationalUnit; import java.util.Collection; import ja...
package ru.tinkoff.qa.neptune.core.api.logical.lexemes; import ru.tinkoff.qa.neptune.core.api.steps.annotations.Description; import static ru.tinkoff.qa.neptune.core.api.localization.StepLocalization.translate; /** * It is used to link descriptions of operators in descriptions of XOR-expressions */ @Description("x...
/* * Copyright 2019 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://www.apache.org/licenses/LICENSE-2.0 *...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
/* * Influx API Service * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit th...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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/license...
/* * 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...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
/* * PROPRIETARY and CONFIDENTIAL * * Copyright 2012 Magellan Distribution Corporation * * All rights reserved. */ package com.ajah.syndicate.fetch; import java.io.IOException; import lombok.extern.java.Log; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.methods.Closeabl...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.implementation.changefeed.implementation; import com.azure.cosmos.BridgeInternal; import com.azure.cosmos.CosmosAsyncContainer; import com.azure.cosmos.models.CosmosChangeFeedRequestOptions; import ...
/******************************************************************************* * 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...
/* * Copyright (C) 2007 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 law or...
/** * Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2006-2016 * * 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 * * Unl...
/* * 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 sql2o; import java.sql.ResultSet; import java.sql.SQLException; /** * User: dimzon * Date: 4/7/14 * Time: 11:06 PM */ public class DelegatingResultSetHandler<E> implements ResultSetHandler<E> { private volatile ResultSetHandler<E> inner = null; private final ResultSetHandlerFactory<E> factory; ...
/* * 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 * "Lic...
/* * 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.gzq.lib_resource.mvvm.base; import android.content.Intent; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.os.Bundle; import me.yokeyword.fragmentation.SupportActivity; /** * Created by gzq on 2017/6/15. */ public abstract class BaseActivity<V ext...
package com.msun.thirdpartyPay.alipay.model.pay; import java.io.Serializable; import com.msun.thirdpartyPay.alipay.annotation.AlipayOptional; /** * 支付宝PC和WAP公共支付明细 * * @author zxc Apr 13, 2017 6:40:57 PM */ public class PayDetail implements Serializable { private static final long serialVersionUID = 589292...
/* * Copyright 2019 Anton Tananaev (anton@traccar.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/LICENSE-2.0 * * Unless required by appli...
// Java Output Formatting"https://www.hackerrank.com/challenges/java-output-formatting/problem" import java.util.Scanner; public class Exercise4 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("================================"); ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.redextest; import static org.fest.assertions.api.Assertions.assertThat; import com.facebook.annotations.OkTo...
/* * 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.cjm721.overloaded.util; import net.minecraft.block.state.IBlockState; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.block....
/* The MIT License (MIT) Copyright (c) 2019 Pierre Lindenbaum 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, me...
/* * 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 backtracking; import java.util.*; public class MISHugePruning { static int result = 0; static int bruteInvocations = 0; static BitSet[] used = new BitSet[256]; static boolean[] colored = new boolean[256]; static { for (int i = 0; i < used.length; i++) { used[i] = new BitSet(); } } static cla...
package org.usfirst.frc308.FRC2018308.commands; import org.usfirst.frc308.FRC2018308.Robot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.CommandGroup; /** * */ public class DiagonalRightAutonomousCommand extends CommandGroup { public DiagonalRightAutonomousCommand() { add...
package br.com.juno.test; import static br.com.juno.integration.api.services.AuthorizationService.AUTHORIZATION_HEADER; import static br.com.juno.integration.api.services.JunoApiManager.X_API_VERSION; import static br.com.juno.integration.api.services.JunoApiManager.X_RESOURCE_TOKEN; import static org.junit.jupiter.ap...
package symbolchat.symbolchat.widget.symbolButton; import net.minecraft.client.gui.screen.Screen; import symbolchat.symbolchat.SymbolSelectionPanel; public class OpenSymbolPanelButtonWidget extends SymbolButtonWidget { protected SymbolSelectionPanel symbolSelectionPanel; public OpenSymbolPanelButtonWidget(S...
package es.upm.miw.apaw_practice.adapters.rest.music; import es.upm.miw.apaw_practice.adapters.rest.LexicalAnalyzer; import es.upm.miw.apaw_practice.domain.models.music.Music; import es.upm.miw.apaw_practice.domain.services.music.MusicService; import org.springframework.beans.factory.annotation.Autowired; import org.s...
package ru.betterend.util.sdf.operator; public class SDFScale extends SDFUnary { private float scale; public SDFScale setScale(float scale) { this.scale = scale; return this; } @Override public float getDistance(float x, float y, float z) { return source.getDistance(x / scale, y / scale, z /...
/* * Copyright (c) 2002-2008 LWJGL Project * 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 ...
/* * MIT License * * Copyright (c) 2020 manager * * 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, ...
package ru.job4j.pool; import ru.job4j.simpleblockingqueue.SimpleBlockingQueue; public class WorkerThread extends Thread { private SimpleBlockingQueue<Runnable> taskQueue; private boolean isStopped = false; public WorkerThread(SimpleBlockingQueue<Runnable> taskQueue) { this.taskQueue = taskQueue;...
package cn.shishuihao.thirdparty.api.pay.weixin; import cn.shishuihao.thirdparty.api.core.properties.AbstractApiProperties; import cn.shishuihao.thirdparty.api.pay.PayApiProperties; import cn.shishuihao.thirdparty.api.pay.weixin.sdk.domain.SignType; import java.util.Objects; /** * @author shishuihao * @version 1.0...
package org.projectlombok.security.totpexample.servlets; import javax.servlet.http.HttpServlet; public class FileServlet extends HttpServlet { }
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
package com.bx.erp.coupon; import com.bx.erp.model.Commodity; import com.bx.erp.model.Coupon; import com.bx.erp.model.CouponScope; import com.bx.erp.model.RetailTrade; import com.bx.erp.utils.GeneralUtil; import java.util.List; public class CouponCalculator { /** * 计算零售单使用优惠券后的应付款,并设置rtSelling中优惠掉的金额 *...
package littleaj.simpoll.api.repositories.inmem; import littleaj.simpoll.api.exceptions.PollNotFoundException; import littleaj.simpoll.api.repositories.PollRepository; import littleaj.simpoll.model.Poll; import littleaj.simpoll.model.PollId; import littleaj.simpoll.model.PollResults; import littleaj.simpoll.model.Resu...
package com.github.saulis.enumerables; import java.util.Iterator; import java.util.NoSuchElementException; public class EmptyIterator<T> implements Iterator<T> { @Override public boolean hasNext() { return false; } @Override public T next() { throw new NoSuchElementException(); ...
package net.twasi.obsremotejava.requests.SaveReplayBuffer; import net.twasi.obsremotejava.OBSCommunicator; import net.twasi.obsremotejava.requests.BaseRequest; import net.twasi.obsremotejava.requests.RequestType; public class SaveReplayBufferRequest extends BaseRequest { public SaveReplayBufferRequest(OBSCommunic...
package com.pajonc.coding.repo.pricing.model; import java.util.Objects; public class Product { private String item; private Price price; private SpecialPrice specialPrice; public Product(String item) { this.item = item; } public Product buildPrice(Price price) { this.price ...
/* * Copyright 2016 (c) MuleSoft, 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 agree...
/* * Licensed to the University of California, Berkeley 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 no...
/* * Copyright 2018 Red Hat, Inc. and/or 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 by app...
package org.sut.cashmachine.dao.receipt; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import org.sut.cashmachine.model.order.ReceiptEntryModel; @Repository public interface ReceiptEntryRepository extends JpaRepository<ReceiptEntryModel, Long> { Re...
package com.anggastudio.printama; import android.bluetooth.BluetoothDevice; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core...
/* * 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) 2018 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 com.vik.covid19vik; import com.google.gson.Gson; import java.util.LinkedList; import java.util.Queue; class CountriesGlobalDataParse { // use time series pull methods to get data (in controller) static String parseDataToJSON(String status, String data) { CountriesGlobal countr...
package br.com.webApp.servletpt1.controler; import java.util.Date; import java.util.Random; public class Nome { private String nome; private int id; Date data; public Nome (String nome, Date data){ this.nome = nome; this.data = data; Random random =new Random(); id = r...
package uk.sparkydiscordbot.api.event.server.member; import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.entities.Guild; import net.dv8tion.jda.api.entities.User; import org.jetbrains.annotations.NotNull; public class MemberLeaveEvent extends MemberEvent { public MemberLeaveEvent(@NotNull(value = "guild c...
/* * 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software *...
/* * 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 net.viap.viapcraft.mixin; import net.viap.viapcraft.Viapcraft; import net.minecraft.client.gui.screen.TitleScreen; import net.viap.viapcraft.Viapcraft; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spon...
package com.purplesky.coldweather.gson; import com.google.gson.annotations.SerializedName; public class Basic { public class Update{ @SerializedName("loc") public String updateName; } @SerializedName("city") public String cityName; @SerializedName("id") public String weatherId...
/* Copyright 2015 Akexorcist 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 distrib...
/* * Copyright 2018-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 au.edu.aaf.shibext.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabase; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder; import org.springframewo...
package cd4017be.rs_ctr2.part; import static cd4017be.lib.network.Sync.ALL; import static cd4017be.lib.network.Sync.Type.Enum; import static cd4017be.rs_ctr2.Content.led; import static cd4017be.rs_ctr2.util.Utils.heldColor; import static cd4017be.rs_ctr2.util.Utils.serverAction; import com.mojang.blaze3d.matrix.Matri...
package com.kotakotik.createautomated.compat.kubejs; import com.jozufozu.flywheel.core.PartialModel; import com.kotakotik.createautomated.CreateAutomated; import com.kotakotik.createautomated.compat.kubejs.item.drillHead.item.DrillHeadBuilderJS; import com.kotakotik.createautomated.compat.kubejs.item.drillHead.item.Dr...
package us.ihmc.footstepPlanning.testTools; import static org.junit.Assert.assertTrue; import javax.vecmath.Point2d; import javax.vecmath.Point3d; import javax.vecmath.Vector3d; import us.ihmc.footstepPlanning.AnytimeFootstepPlanner; import us.ihmc.footstepPlanning.FootstepPlan; import us.ihmc.footstepPlanning.Foots...
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see https://jhipster.github.io/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
/******************************************************************************* * Copyright 2013-2019 Qaprosoft (http://www.qaprosoft.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 ...
/* * Copyright 2016-2020 The OpenZipkin 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 a...
package com.mapbox.rctmgl.components.mapview; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.PointF; import android.graphics.RectF; import android.location.Location; import android.os.Handler; import android.support.an...
package rentasad.library.db.dataObjects; public class MySQLDataTypeValue { /* * Umsetzungen verschiedener Begriffe auf Datentypen * Datenbankenuebergreifend: * BOOL TINYINT * BOOLEAN TINYINT * CHARACTER VARYING(M) VARCHAR(M) * FIXED DECIMAL * FLOAT4 FLOAT * FLOAT8 DOUBLE * INT1 TINYINT * INT2 SMAL...
/******************************************************************************* * Copyright © 2017-2018 VMware, 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.containerservice; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; /** The NetworkProf...
/* * Copyright 2018 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
package online.quar.application.manager; import online.quar.application.Singleton; import online.quar.application.model.Car; import online.quar.application.model.User; import java.util.ArrayList; public class UserManager { ArrayList<User> users = new ArrayList<>(); public User addUser(User userToAdd) { ...
/** * 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.mobile.justmobiledev.twowaybindingsampleapp.models.employee; import com.mobile.justmobiledev.twowaybindingsampleapp.models.base.Person; public class Employee extends Person { private String employeeId; private String businessName; public Employee(String employeeId, String firstName, String la...
/* * Copyright (C) 2009 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
package dtprogrammer.github.io.p34; import org.junit.Assert; import java.util.Arrays; public class Test { @org.junit.Test public void test() throws Exception { Solution soluton = new Solution(); int[] array = {5, 7, 7, 8, 8, 10}; int[] expected = {3, 4}; Assert.assertTrue(A...