text:
/****************************************************************************************
Portions of this file are derived from the following 3GPP standard:

    3GPP TS 26.073
    ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
    Available from http://www.3gpp.org

(C) 2004, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC)
Permission to distribute, modify and use this file under the standard license
terms listed above has been obtained from the copyright holder.
****************************************************************************************/
/*
 Pathname: ./audio/gsm-amr/c/src/lsp_lsf.c
 Functions: Lsp_lsf
            Lsf_lsp

------------------------------------------------------------------------------
 REVISION HISTORY

 Description: Updated template used to PV coding template.

 Description: Deleted variables listed in the Local Stores Needed/Modified
              section.

 Description: Synchronized file with UMTS version 3.2.0. Updated coding
              template and removed unnecessary include files.

 Description: Replaced basic_op.h with the header file of the math functions
              used in the file.

 Description: Changed to accept the pOverflow flag for EPOC compatibility.

 Description: Placed table declarations in a .c file, rather than an included
 .tab.  The tables are now referenced via an extern in this file.

 Description:  For Lsp_lsf()
              1. Eliminated unused include file typedef.h.
              2. Replaced array addressing by pointers

 Description:  Replaced "int" and/or "char" with defined types.
               Added proper casting (Word32) to some left shifting operations

 Description: Changed round function name to pv_round to avoid conflict with
              round function in C standard library.

 Description: Added #ifdef __cplusplus around extern'ed table.

 Who:                           Date:
 Description:

------------------------------------------------------------------------------
 MODULE DESCRIPTION

 This file contains the functions that convert line spectral pairs (LSP) to
 line spectral frequencies (LSF) and vice-versa.

------------------------------------------------------------------------------
*/

/*----------------------------------------------------------------------------
; INCLUDES
----------------------------------------------------------------------------*/
#include "lsp_lsf.h"
#include "basicop_malloc.h"
#include "basic_op.h"

/*--------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
{
#endif

    /*----------------------------------------------------------------------------
    ; MACROS
    ; Define module specific macros here
    ----------------------------------------------------------------------------*/

    /*----------------------------------------------------------------------------
    ; DEFINES
    ; Include all pre-processor statements here. Include conditional
    ; compile variables also.
    ----------------------------------------------------------------------------*/

    /*----------------------------------------------------------------------------
    ; LOCAL FUNCTION DEFINITIONS
    ; Function Prototype declaration
    ----------------------------------------------------------------------------*/

    /*----------------------------------------------------------------------------
    ; LOCAL VARIABLE DEFINITIONS
    ; Variable declaration - defined here and used outside this module
    ----------------------------------------------------------------------------*/

    extern const Word16 table[];
    extern const Word16 slope[];

    /*--------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif

/*
------------------------------------------------------------------------------
 FUNCTION NAME: Lsf_lsp
------------------------------------------------------------------------------
 INPUT AND OUTPUT DEFINITIONS

 Inputs:
    lsf = buffer containing normalized line spectral frequencies; valid
          range is between 0 and 0.5 (Word16)
    lsp = buffer containing line spectral pairs; valid range is between
          -1 and 1 (Word16)
    m = LPC order (Word16)

 Outputs:
    lsp contains the newly calculated line spectral pairs

 Returns:
    None

 Global Variables Used:
    table = cosine table

 Local Variables Needed:
    None

------------------------------------------------------------------------------
 FUNCTION DESCRIPTION

 This function performs the LSF to LSP transformation using the equation:

    lsf[i] = arccos(lsp[i])/(2*pi)

 The transformation from lsp[i] to lsf[i] is approximated by a look-up table
 and interpolation.

------------------------------------------------------------------------------
 REQUIREMENTS

 None

------------------------------------------------------------------------------
 REFERENCES

 lsp_lsf.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001

------------------------------------------------------------------------------
 PSEUDO-CODE

void Lsf_lsp (
    Word16 lsf[],       // (i) : lsf[m] normalized (range: 0.0<=val<=0.5)
    Word16 lsp[],       // (o) : lsp[m] (range: -1<=val<1)
    Word16 m            // (i) : LPC order
)
{
    Word16 i, ind, offset;
    Word32 L_tmp;

    for (i = 0; i < m; i++)
    {
        ind = shr (lsf[i], 8);      // ind    = b8-b15 of lsf[i]
        offset = lsf[i] & 0x00ff;    // offset = b0-b7  of lsf[i]

        // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256

        L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
        lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9)));

    }
    return;
}

------------------------------------------------------------------------------
 RESOURCES USED [optional]

 When the code is written for a specific target processor the
 the resources used should be documented below.

 HEAP MEMORY USED: x bytes

 STACK MEMORY USED: x bytes

 CLOCK CYCLES: (cycle count equation for this function) + (variable
                used to represent cycle count for each subroutine
                called)
     where: (cycle count variable) = cycle count for [subroutine
                                     name]

------------------------------------------------------------------------------
 CAUTION [optional]
 [State any special notes, constraints or cautions for users of this function]

------------------------------------------------------------------------------
*/

void Lsf_lsp(
    Word16 lsf[],       /* (i) : lsf[m] normalized (range: 0.0<=val<=0.5) */
    Word16 lsp[],       /* (o) : lsp[m] (range: -1<=val<1)                */
    Word16 m,           /* (i) : LPC order                                */
    Flag   *pOverflow   /* (o) : Flag set when overflow occurs            */
)
{
    Word16 i, ind, offset;
    Word32 L_tmp;

    for (i = 0; i < m; i++)
    {
        ind = lsf[i] >> 8;           /* ind    = b8-b15 of lsf[i] */
        offset = lsf[i] & 0x00ff;    /* offset = b0-b7  of lsf[i] */

        /* lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 */

        L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8;
        lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow);

    }

    return;
}

/****************************************************************************/

/*
------------------------------------------------------------------------------
 FUNCTION NAME: Lsp_lsf
------------------------------------------------------------------------------
 INPUT AND OUTPUT DEFINITIONS

 Inputs:
    lsp = buffer containing line spectral pairs; valid range is between
          -1 and 1 (Word16)
    lsf = buffer containing normalized line spectral frequencies; valid
          range is between 0 and 0.5 (Word16)
    m = LPC order (Word16)

 Outputs:
    lsf contains the newly calculated normalized line spectral frequencies

 Returns:
    None

 Global Variables Used:
    table = cosine table
    slope = table to used to calculate inverse cosine

 Local Variables Needed:
    None

------------------------------------------------------------------------------
 FUNCTION DESCRIPTION

 This function performs the LSP to LSF transformation using the equation:

    lsp[i] = cos(2*pi*lsf[i])

 The transformation from lsf[i] to lsp[i] is approximated by a look-up table
 and interpolation.

------------------------------------------------------------------------------
 REQUIREMENTS

 None

------------------------------------------------------------------------------
 REFERENCES

 lsp_lsf.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001

------------------------------------------------------------------------------
 PSEUDO-CODE

void Lsp_lsf (
    Word16 lsp[],       // (i)  : lsp[m] (range: -1<=val<1)
    Word16 lsf[],       // (o)  : lsf[m] normalized (range: 0.0<=val<=0.5)
    Word16 m            // (i)  : LPC order
)
{
    Word16 i, ind;
    Word32 L_tmp;

    ind = 63;                        // begin at end of table -1

    for (i = m - 1; i >= 0; i--)
    {
        // find value in table that is just greater than lsp[i]

        while (sub (table[ind], lsp[i]) < 0)
        {
            ind--;

        }

        // acos(lsp[i])= ind*256 + ( ( lsp[i]-table[ind] ) *
           slope[ind] )/4096

        L_tmp = L_mult (sub (lsp[i], table[ind]), slope[ind]);
        //(lsp[i]-table[ind])*slope[ind])>>12
        lsf[i] = pv_round (L_shl (L_tmp, 3));
        lsf[i] = add (lsf[i], shl (ind, 8));
    }
    return;
}

------------------------------------------------------------------------------
 RESOURCES USED [optional]

 When the code is written for a specific target processor the
 the resources used should be documented below.

 HEAP MEMORY USED: x bytes

 STACK MEMORY USED: x bytes

 CLOCK CYCLES: (cycle count equation for this function) + (variable
                used to represent cycle count for each subroutine
                called)
     where: (cycle count variable) = cycle count for [subroutine
                                     name]

------------------------------------------------------------------------------
 CAUTION [optional]
 [State any special notes, constraints or cautions for users of this function]

------------------------------------------------------------------------------
*/

void Lsp_lsf(
    Word16 lsp[],       /* (i)  : lsp[m] (range: -1<=val<1)                */
    Word16 lsf[],       /* (o)  : lsf[m] normalized (range: 0.0<=val<=0.5) */
    Word16 m,           /* (i)  : LPC order                                */
    Flag  *pOverflow    /* (o)  : Flag set when overflow occurs            */
)
{
    Word16 i;
    Word16 ind;
    Word16 temp;
    Word32 L_tmp;
    Word16 *p_lsp = &lsp[m-1];
    Word16 *p_lsf = &lsf[m-1];
    OSCL_UNUSED_ARG(pOverflow);

    ind = 63;                        /* begin at end of table -1 */

    for (i = m - 1; i >= 0; i--)
    {
        /* find value in table that is just greater than lsp[i] */
        temp = *(p_lsp--);
        while (table[ind] < temp)
        {
            ind--;
        }

        /* acos(lsp[i])= ind*256 + ( ( lsp[i]-table[ind] ) *
           slope[ind] )/4096 */

        L_tmp = (Word32)(temp - table[ind]) * slope[ind];

        /*(lsp[i]-table[ind])*slope[ind])>>12*/
        L_tmp  = (L_tmp + 0x00000800) >> 12;

        *(p_lsf--) = (Word16)(L_tmp) + (ind << 8);
    }

    return;
}


text:
<?xml version="1.0" encoding="UTF-8"?>
<!--

 -->

<resources xmlns:android="http://schemas.android.com/apk/res/android"
           xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <string name="ok">Да</string>
    <string name="yes">Да</string>
    <string name="dlg_ok">Да</string>
    <string name="httpErrorOk">Да</string>
    <string name="VideoView_error_button">Да</string>
    <string name="sms_control_yes">Да</string>
    <string name="selectAll">Выделить все</string>
    <string name="selectText">Выделить слово</string>
    <string name="shutdown_confirm">Устройство будет выключено.</string>
    <string name="usb_storage_message">Устройство подключено к компьютеру через порт USB. Нажмите кнопку ниже, если необходимо копировать файлы с компьютера на SD-карту устройства Android (или наоборот).</string>
    <string name="progress_unmounting_nand">Отключение внутреннего запоминающего...</string>
    <string name="progress_erasing">Очистка...</string>

</resources>

redpajama_set_name: RedPajamaGithub


text:
DOCS=/mnt/trec/data/medline/extracted
#DOCS=/home/info/trec/data/medline/compressed

# Fixes Java heap space error
export MAVEN_OPTS=-Xmx4g

nohup mvn -DskipTests=true install exec:java -Dexec.mainClass="at.medunigraz.imi.bst.medline.Indexing" -Dexec.args="$DOCS 1" | tee medline.log


text:
package com.amazonaws.services.marketplacemetering;

import javax.annotation.Generated;

import com.amazonaws.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.marketplacemetering.model.*;

/**
 * Interface for accessing AWSMarketplace Metering.
 *

 * Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
 * {@link com.amazonaws.services.marketplacemetering.AbstractAWSMarketplaceMetering} instead.
 *

 *

 * <fullname>AWS Marketplace Metering Service</fullname>
 *

 * This reference provides descriptions of the low-level AWS Marketplace Metering Service API.
 *

 *

 * AWS Marketplace sellers can use this API to submit usage data for custom usage dimensions.
 *

 *

 * For information on the permissions you need to use this API, see AWS
 * Marketplace metering and entitlement API permissions in the AWS Marketplace Seller Guide.
 *

 *

 * Submitting Metering Records
 *

 *

 *

 *

 * MeterUsage - Submits the metering record for an AWS Marketplace product. MeterUsage is called
 * from an EC2 instance or a container running on EKS or ECS.
 *

 *

 *

 *

 * BatchMeterUsage - Submits the metering record for a set of customers. BatchMeterUsage is called
 * from a software-as-a-service (SaaS) application.
 *

 *

 *

 *

 * Accepting New Customers
 *

 *

 *

 *

 * ResolveCustomer - Called by a SaaS application during the registration process. When a buyer visits your
 * website during the registration process, the buyer submits a Registration Token through the browser. The Registration
 * Token is resolved through this API to obtain a CustomerIdentifier along with the
 * CustomerAWSAccountId and ProductCode.
 *

 *

 *

 *

 * Entitlement and Metering for Paid Container Products
 *

 *

 *

 *

 * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering
 * Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL
 * products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you can do so if you
 * want to receive usage data in your seller reports. For more information on using the RegisterUsage
 * operation, see Container-Based
 * Products.
 *

 *

 *

 *

 * BatchMeterUsage API calls are captured by AWS CloudTrail. You can use Cloudtrail to verify that the SaaS
 * metering records that you sent are accurate by searching for records with the eventName of
 * BatchMeterUsage. You can also use CloudTrail to audit records over time. For more information, see the
 *  AWS CloudTrail User
 * Guide.
 *

 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSMarketplaceMetering {

    /**
     * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
     * (such as supported regions) of the service.
     *
     * @see RegionUtils#getRegionsForService(String)
     */
    String ENDPOINT_PREFIX = "metering.marketplace";

    /**
     * Overrides the default endpoint for this client ("https://metering.marketplace.us-east-1.amazonaws.com"). Callers
     * can use this method to control which AWS region they want to work with.
     *

     * Callers can pass in just the endpoint (ex: "metering.marketplace.us-east-1.amazonaws.com") or a full URL,
     * including the protocol (ex: "https://metering.marketplace.us-east-1.amazonaws.com"). If the protocol is not
     * specified here, the default protocol from this client's {@link ClientConfiguration} will be used, which by
     * default is HTTPS.
     *

     * For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available
     * endpoints for all AWS services, see:  https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection-
     * choose-endpoint
     *

     * This method is not threadsafe. An endpoint should be configured when the client is created and before any
     * service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in
     * transit or retrying.
     *
     * @param endpoint
     *        The endpoint (ex: "metering.marketplace.us-east-1.amazonaws.com") or a full URL, including the protocol
     *        (ex: "https://metering.marketplace.us-east-1.amazonaws.com") of the region specific AWS endpoint this
     *        client will communicate with.
     * @deprecated use {@link AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)} for
     *             example:
     *             {@code builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));}
     */
    @Deprecated
    void setEndpoint(String endpoint);

    /**
     * An alternative to {@link AWSMarketplaceMetering#setEndpoint(String)}, sets the regional endpoint for this
     * client's service calls. Callers can use this method to control which AWS region they want to work with.
     *

     * By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
     * {@link ClientConfiguration} supplied at construction.
     *

     * This method is not threadsafe. A region should be configured when the client is created and before any service
     * requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit
     * or retrying.
     *
     * @param region
     *        The region this client will communicate with. See {@link Region#getRegion(com.amazonaws.regions.Regions)}
     *        for accessing a given region. Must not be null and must be a region where the service is available.
     *
     * @see Region#getRegion(com.amazonaws.regions.Regions)
     * @see Region#createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
     * @see Region#isServiceSupported(String)
     * @deprecated use {@link AwsClientBuilder#setRegion(String)}
     */
    @Deprecated
    void setRegion(Region region);

    /**
     *

     * BatchMeterUsage is called from a SaaS application listed on AWS Marketplace to post metering records
     * for a set of customers.
     *

     *

     * For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the
     * input records.
     *

     *

     * Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple
     * products, you must make multiple calls to BatchMeterUsage.
     *

     *

     * Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are
     * not accepted more than 6 hours after the event.
     *

     *

     * BatchMeterUsage can process up to 25 UsageRecords at a time.
     *

     *

     * A UsageRecord can optionally include multiple usage allocations, to provide customers with usage
     * data split into buckets by tags that you define (or allow the customer to define).
     *

     *

     * BatchMeterUsage returns a list of UsageRecordResult objects, showing the result for
     * each UsageRecord, as well as a list of UnprocessedRecords, indicating errors in the
     * service side that you should retry.
     *

     *

     * BatchMeterUsage requests must be less than 1MB in size.
     *

     * <note>
     *

     * For an example of using BatchMeterUsage, see
     * BatchMeterUsage code example in the AWS Marketplace Seller Guide.
     *

     * </note>
     *
     * @param batchMeterUsageRequest
     *        A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of
     *        usage within your application.
     * @return Result of the BatchMeterUsage operation returned by the service.
     * @throws InternalServiceErrorException
     *         An internal error has occurred. Retry your request. If the problem persists, post a message with details
     *         on the AWS forums.
     * @throws InvalidProductCodeException
     *         The product code passed does not match the product code used for publishing the product.
     * @throws InvalidUsageDimensionException
     *         The usage dimension does not match one of the UsageDimensions associated with products.
     * @throws InvalidTagException
     *         The tag is invalid, or the number of tags is greater than 5.
     * @throws InvalidUsageAllocationsException
     *         The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single
     *         usage record.
     * @throws InvalidCustomerIdentifierException
     *         You have metered usage for a CustomerIdentifier that does not exist.
     * @throws TimestampOutOfBoundsException
     *         The timestamp value passed in the UsageRecord is out of allowed range.

     *

     *         For BatchMeterUsage, if any of the records are outside of the allowed range, the entire
     *         batch is not processed. You must remove invalid records and try again.
     * @throws ThrottlingException
     *         The calls to the API are throttled.
     * @throws DisabledApiException
     *         The API is disabled in the Region.
     * @sample AWSMarketplaceMetering.BatchMeterUsage
     * @see AWS API Documentation
     */
    BatchMeterUsageResult batchMeterUsage(BatchMeterUsageRequest batchMeterUsageRequest);

    /**
     *

     * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering
     * record ID.
     *

     *

     * MeterUsage is authenticated on the buyer's AWS account using credentials from the EC2 instance, ECS
     * task, or EKS pod.
     *

     *

     * MeterUsage can optionally include multiple usage allocations, to provide customers with usage data
     * split into buckets by tags that you define (or allow the customer to define).
     *

     *

     * Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are
     * not accepted more than 6 hours after the event.
     *

     *
     * @param meterUsageRequest
     * @return Result of the MeterUsage operation returned by the service.
     * @throws InternalServiceErrorException
     *         An internal error has occurred. Retry your request. If the problem persists, post a message with details
     *         on the AWS forums.
     * @throws InvalidProductCodeException
     *         The product code passed does not match the product code used for publishing the product.
     * @throws InvalidUsageDimensionException
     *         The usage dimension does not match one of the UsageDimensions associated with products.
     * @throws InvalidTagException
     *         The tag is invalid, or the number of tags is greater than 5.
     * @throws InvalidUsageAllocationsException
     *         The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single
     *         usage record.
     * @throws InvalidEndpointRegionException
     *         The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod. The
     *         Region of the Metering Service endpoint and the AWS Region of the resource must match.
     * @throws TimestampOutOfBoundsException
     *         The timestamp value passed in the UsageRecord is out of allowed range.

     *

     *         For BatchMeterUsage, if any of the records are outside of the allowed range, the entire
     *         batch is not processed. You must remove invalid records and try again.
     * @throws DuplicateRequestException
     *         A metering record has already been emitted by the same EC2 instance, ECS task, or EKS pod for the given {
     *         usageDimension, timestamp with a different usageQuantity.
     * @throws ThrottlingException
     *         The calls to the API are throttled.
     * @throws CustomerNotEntitledException
     *         Exception thrown when the customer does not have a valid subscription for the product.
     * @sample AWSMarketplaceMetering.MeterUsage
     * @see AWS
     *      API Documentation
     */
    MeterUsageResult meterUsage(MeterUsageRequest meterUsageRequest);

    /**
     *

     * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering
     * Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL
     * products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you may choose to
     * do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of
     * RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement.
     *

     *

     *

     *

     * Entitlement: RegisterUsage allows you to verify that the customer running your paid software
     * is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Your container
     * image that integrates with RegisterUsage is only required to guard against unauthorized use at
     * container startup, as such a CustomerNotSubscribedException or
     * PlatformNotSupportedException will only be thrown on the initial call to RegisterUsage.
     * Subsequent calls from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a
     * CustomerNotSubscribedException, even if the customer unsubscribes while the Amazon ECS task or
     * Amazon EKS pod is still running.
     *

     *

     *

     *

     * Metering: RegisterUsage meters software use per ECS task, per hour, or per pod for Amazon EKS
     * with usage prorated to the second. A minimum of 1 minute of usage applies to tasks that are short lived. For
     * example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service configured as a Daemon Set,
     * then Amazon ECS or Amazon EKS will launch a task on all 10 cluster nodes and the customer will be charged: (10 *
     * hourly_rate). Metering for software use is automatically handled by the AWS Marketplace Metering Control Plane --
     * your software is not required to perform any metering specific actions, other than call
     * RegisterUsage once for metering of software use to commence. The AWS Marketplace Metering Control
     * Plane will also continue to bill customers for running ECS tasks and Amazon EKS pods, regardless of the customers
     * subscription state, removing the need for your software to perform entitlement checks at runtime.
     *

     *

     *

     *
     * @param registerUsageRequest
     * @return Result of the RegisterUsage operation returned by the service.
     * @throws InvalidProductCodeException
     *         The product code passed does not match the product code used for publishing the product.
     * @throws InvalidRegionException
     *         RegisterUsage must be called in the same AWS Region the ECS task was launched in. This
     *         prevents a container from hardcoding a Region (e.g. withRegion("us-east-1") when calling
     *         RegisterUsage.
     * @throws InvalidPublicKeyVersionException
     *         Public Key version is invalid.
     * @throws PlatformNotSupportedException
     *         AWS Marketplace does not support metering usage from the underlying platform. Currently, Amazon ECS,
     *         Amazon EKS, and AWS Fargate are supported.
     * @throws CustomerNotEntitledException
     *         Exception thrown when the customer does not have a valid subscription for the product.
     * @throws ThrottlingException
     *         The calls to the API are throttled.
     * @throws InternalServiceErrorException
     *         An internal error has occurred. Retry your request. If the problem persists, post a message with details
     *         on the AWS forums.
     * @throws DisabledApiException
     *         The API is disabled in the Region.
     * @sample AWSMarketplaceMetering.RegisterUsage
     * @see AWS API Documentation
     */
    RegisterUsageResult registerUsage(RegisterUsageRequest registerUsageRequest);

    /**
     *

     * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits
     * your website during the registration process, the buyer submits a registration token through their browser. The
     * registration token is resolved through this API to obtain a CustomerIdentifier along with the
     * CustomerAWSAccountId and ProductCode.
     *

     * <note>
     *

     * The API needs to called from the seller account id used to publish the SaaS application to successfully resolve
     * the token.
     *

     *

     * For an example of using ResolveCustomer, see
     * ResolveCustomer code example in the AWS Marketplace Seller Guide.
     *

     * </note>
     *
     * @param resolveCustomerRequest
     *        Contains input to the ResolveCustomer operation.
     * @return Result of the ResolveCustomer operation returned by the service.
     * @throws InvalidTokenException
     *         Registration token is invalid.
     * @throws ExpiredTokenException
     *         The submitted registration token has expired. This can happen if the buyer's browser takes too long to
     *         redirect to your page, the buyer has resubmitted the registration token, or your application has held on
     *         to the registration token for too long. Your SaaS registration website should redeem this token as soon
     *         as it is submitted by the buyer's browser.
     * @throws ThrottlingException
     *         The calls to the API are throttled.
     * @throws InternalServiceErrorException
     *         An internal error has occurred. Retry your request. If the problem persists, post a message with details
     *         on the AWS forums.
     * @throws DisabledApiException
     *         The API is disabled in the Region.
     * @sample AWSMarketplaceMetering.ResolveCustomer
     * @see AWS API Documentation
     */
    ResolveCustomerResult resolveCustomer(ResolveCustomerRequest resolveCustomerRequest);

    /**
     * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
     * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
     * has been shutdown, it should not be used to make any more requests.
     */
    void shutdown();

    /**
     * Returns additional metadata for a previously executed successful request, typically used for debugging issues
     * where a service isn't acting as expected. This data isn't considered part of the result data returned by an
     * operation, so it's available through this separate, diagnostic interface.
     *

     * Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
     * information for an executed request, you should use this method to retrieve it as soon as possible after
     * executing a request.
     *
     * @param request
     *        The originally executed request.
     *
     * @return The response metadata for the specified request, or null if none is available.
     */
    ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);

}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
net.authorize.data.echeck (Authorize.Net Java SDK)
</TITLE>

<META NAME="date" CONTENT="2011-08-25">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

net.authorize.data.echeck

Classes

ECheck

Enums

BankAccountType

ECheckType

NOCCode

ReturnCode


text:
//
//  PSVideoDelegate.h
//  PingStart-iOS
//
//  Created by zhouyehong on 2016/12/13.
//  Copyright © 2016年 nbt. All rights reserved.
//
@class PSVideoView;

#import "PingStartDelegate.h"
#import "PSPresentDelegate.h"

NS_ASSUME_NONNULL_BEGIN

/**
 Video ad delegate
 */
@protocol PSVideoDelegate <PingStartDelegate,PSPresentDelegate>

@optional

/**
 The video ad is loaded and ready to play.Now is the best time to present the view

 @param view videoView
 */
-(void)psAdViewVideoDidLoad:(PSVideoView*)view;

/**
 video ad will close

 @param view videoView
 */
-(void)psAdViewVideoWillClosePlaying:(PSVideoView*)view;

/**
 Called when a video ad with a reward is played

 @param view baseAdView
 @param reward reward
 */
-(void)psAdView:(PSBaseView*)view didReward:(PSReward*)reward;
@end

NS_ASSUME_NONNULL_END


text:
'use strict';

/* Setup ==================================================================== */
import React, { Component } from 'react'
import {
  StyleSheet,
  View,
  ListView,
  RefreshControl,
  Text,
  Picker,
  TouchableOpacity
} from 'react-native'

import { connect } from 'react-redux';
import { fetchHistoryRecordsFb } from '../actions/history';
import { StockLine } from 'react-native-pathjs-charts'
import ScrollableTabView, { ScrollableTabBar, } from 'react-native-scrollable-tab-view';

import ListStatistic from '../containers/listStatistic'
import Button from '../components/button';

// App Globals
import AppStyles from '../styles'
import AppConfig from '../config'
import AppUtil from '../util'

// Demo data

/* Component ==================================================================== */
class recordsStatisticScreen extends Component {
  constructor(props) {
    super(props);

    this.state = {
      currentExercise: '',
      currentExerciseId: 0,
      currentRecords: null
    }
    this.resetState = this.resetState.bind(this);
  }

  componentWillMount() {
    this.props.fetchHistoryRecordsFb(this.props.user.userId);
  }

  resetState() {
    this.setState({
      currentExercise: '',
      currentExerciseId: 0,
      currentRecords: null
    })
  }

  /* Render ==================================================================== */
  render() {
    let k = 0;

    let options = {
      width: 300,
      height: 150,
      color: '#2980B9',
      margin: {
        top: 20,
        left: 35,
        bottom: 20,
        right: 10
      },
      animate: {
        type: 'delayed',
        duration: 200
      },
      axisX: {
        showAxis: true,
        showLines: false,
        showLabels: true,
        showTicks: false,
        zeroAxis: false,
        orient: 'bottom',
        tickValues: [],
        label: {
          fontFamily: 'Arial',
          fontSize: 8,
          fontWeight: true,
          fill: '#34495E'
        }
      },
      axisY: {
        showAxis: true,
        showLines: true,
        showLabels: true,
        showTicks: true,
        zeroAxis: false,
        orient: 'left',
        tickValues: [],
        label: {
          fontFamily: 'Arial',
          fontSize: 8,
          fontWeight: true,
          fill: '#34495E'
        }
      }
    }

    let data = [];
    let recordsToTable = [];
    let counter = 0;

    if(this.state.currentRecords) {
      const newArray = Object.keys(this.state.currentRecords).map((key) => {return this.state.currentRecords[key]});

      recordsToTable = newArray.map((record) => {
        let newItem = {
          id: ++counter,
          date: record.date,
          information: record.weight
        }
        return newItem;
      })

      counter = 1;

      const chartArray = newArray.map((record) => {
        return { id: counter++, weight: record.weight };
      })

      chartArray.splice(0, 0, {id: 0, weight: 0});
      data.push(chartArray);
    }

    let pickerItems = this.props.exercises;

    return (
       <View style={[styles.help]}>
          <View style={[styles.wrapper]}>
          {this.props.exercises ?
            <Picker
              prompt="Ćwiczenie"
              style={[styles.picker]}
              selectedValue={this.state.currentExercise}
              onValueChange={(currentExercise) => {
                let finded = this.props.exercises.filter((exercise) => exercise.title === currentExercise)
                  this.setState({
                    currentExercise: currentExercise,
                    currentRecords: this.props.records[finded[0].id],
                    currentExerciseId: finded[0].id
                  })
                  this.props.fetchHistoryRecordsFb(this.props.user.userId);
            }
              }
            >
              {pickerItems.map((exercise) => {
                return <Picker.Item label={exercise.title} value={exercise.title} />
              })}
            </Picker>
          : null}
          <View>
            <Text style={[styles.attention]}>Przeładuj wykres przed kazdym następnym wyborem</Text>
          </View>
          <View style={[AppStyles.row, styles.reloadButton]}>
              <View style={[AppStyles.flex1]}>
                <Button
                  text={'Przeładuj'}
                  onPress={this.resetState} />
              </View>
            </View>
          <View style={[styles.chartWrapper]}>
            {data.length
              ? <StockLine data={data} options={options} xKey='id' yKey='weight' />
              :
              <View style={[styles.absolute]}>
                <Text style={[styles.info]}>Brak danych</Text>
              </View>
            }
          </View>
            {this.state.currentRecords ?
              <View style={[styles.statisticWrapper]}>
                 <ListStatistic stats={recordsToTable} firstHeader={'Data'} secondHeader={'Cięzar'} />
              </View>
              : null
            }
          </View>
      </View>
    );
  }
}

recordsStatisticScreen.propTypes = {
}

/* Styles ==================================================================== */
const styles = StyleSheet.create({
  pad: {
    flex: 1,
    felxDirection: 'row',
  },
  top: {
    paddingTop: 60,
  },
  reloadButton: {
    padding: 10,
  },
  emptyWrapper: {
    flex: 1,
    justifyContent: 'center',
  },
  empty: {
    fontSize: 30,
  },
  attention: {
    color: 'red',
    fontWeight: 'bold',
    paddingLeft: 10,
  },
  axisX: {
    position: 'absolute',
    right: 10,
    bottom: -10
  },
  axisY: {
    position: 'absolute',
    left: 10,
    top: -10
  },
  statisticWrapper: {
    marginTop: 20,
    height: 180,
  },
  info: {
    paddingLeft: 30,
    fontSize: 20
  }
});

function mapStateToProps(state) {
  return {
    user: state.auth,
    exercises: state.exercises,
    records: state.history.records
  }
}

/* Export Component ==================================================================== */
export default connect(mapStateToProps, { fetchHistoryRecordsFb })(recordsStatisticScreen);


text:
* `fastboot-app-server`
  * [#892](https://github.com/ember-fastboot/ember-cli-fastboot/pull/892) Pass the log argument to worker in fastboot-app-server ([@Aierie](https://github.com/Aierie))

#### Committers: 1
- [@Aierie](https://github.com/Aierie)

## v3.3.1 (2022-06-15)

#### :bug: Bug Fix
* `fastboot`
  * [#895](https://github.com/ember-fastboot/ember-cli-fastboot/pull/895) fix: removes slow leak by emptying cache for source maps ([@gabrielcsapo](https://github.com/gabrielcsapo))

#### :memo: Documentation
* [#891](https://github.com/ember-fastboot/ember-cli-fastboot/pull/891) chore/remove-outdated-readme-warnings ([@rahulk94](https://github.com/rahulk94))

#### Committers: 2
- Gabriel Csapo ([@gabrielcsapo](https://github.com/gabrielcsapo))
- Rahul Kumar ([@rahulk94](https://github.com/rahulk94))

## v3.3.0 (2022-03-21)

#### :rocket: Enhancement
* `fastboot-app-server`
  * [#890](https://github.com/ember-fastboot/ember-cli-fastboot/pull/890) Allow disabling default logging in fastboot-app-server ([@jurgenwerk](https://github.com/jurgenwerk))

#### Committers: 1
- Matic Jurglič ([@jurgenwerk](https://github.com/jurgenwerk))

## v3.2.0 (2022-02-09)

Version numbering got weird here because several packages were combined into one monorepo with shared version numbers:

 - The previous stable `ember-cli-fastboot` release was 2.2.3, so this is a **semver major**.
 - The previous stable `fastboot` release was 3.1.2, so this is a semver minor.
 - The previous stable `fastboot-app-server` release was 3.0.0, so this is a semver minor.
 - The previous stable `fastboot-express-middleware` release was 3.1.0, so this is a semver minor.

#### :rocket: Enhancement
* Works with Ember 4
* Works with Embroider

#### :boom: Breaking Change
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#834](https://github.com/ember-fastboot/ember-cli-fastboot/pull/834) Update using ember-cli-update and drop support for Node 10 ([@mansona](https://github.com/mansona))
* `ember-cli-fastboot`
  * [#825](https://github.com/ember-fastboot/ember-cli-fastboot/pull/825) Drop module unification support ([@xg-wang](https://github.com/xg-wang))
  * [#820](https://github.com/ember-fastboot/ember-cli-fastboot/pull/820) Remove deprecated features for ember-cli-fastboot v3 release ([@xg-wang](https://github.com/xg-wang))

#### :house: Internal
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#886](https://github.com/ember-fastboot/ember-cli-fastboot/pull/886) Update and synchronize dependencies in the monorepo ([@SergeAstapov](https://github.com/SergeAstapov))
* `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#867](https://github.com/ember-fastboot/ember-cli-fastboot/pull/867) Remove unused nested github actions setup ([@SergeAstapov](https://github.com/SergeAstapov))
* `ember-cli-fastboot`
  * [#866](https://github.com/ember-fastboot/ember-cli-fastboot/pull/866) Make edition=octane and update deps for Ember v4 compatibility ([@SergeAstapov](https://github.com/SergeAstapov))
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`
  * [#865](https://github.com/ember-fastboot/ember-cli-fastboot/pull/865) Update .npmignore to ignore .github and test folders ([@SergeAstapov](https://github.com/SergeAstapov))
* Other
  * [#864](https://github.com/ember-fastboot/ember-cli-fastboot/pull/864) Cache dependencies in GitHub Actions CI workflow ([@SergeAstapov](https://github.com/SergeAstapov))

#### Committers: 1
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))

## v3.2.0-beta.5 (2021-11-24)

#### :bug: Bug Fix
* `ember-cli-fastboot`
  * [#862](https://github.com/ember-fastboot/ember-cli-fastboot/pull/862) Ensure rehydration works on Ember < 3.27 ([@rwjblue](https://github.com/rwjblue))
* `fastboot`
  * [#859](https://github.com/ember-fastboot/ember-cli-fastboot/pull/859) Removes call to deprecated OutgoingMessage.prototype._headers ([@SergeAstapov](https://github.com/SergeAstapov))

#### :house: Internal
* `ember-cli-fastboot`
  * [#861](https://github.com/ember-fastboot/ember-cli-fastboot/pull/861) Add tests for Ember 3.24 + 3.28 + 4.0 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
  * [#858](https://github.com/ember-fastboot/ember-cli-fastboot/pull/858) Add ember-try testing for ember-cli-fastboot ([@mansona](https://github.com/mansona))

#### Committers: 4
- Chris Manson ([@mansona](https://github.com/mansona))
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)

## v3.2.0-beta.4 (2021-09-14)

#### :bug: Bug Fix
* `ember-cli-fastboot`
  * [#857](https://github.com/ember-fastboot/ember-cli-fastboot/pull/857) Avoid implicit injection _fastbootInfo deprecation pt 2 ([@snewcomer](https://github.com/snewcomer))
  * [#849](https://github.com/ember-fastboot/ember-cli-fastboot/pull/849) Fix use of Ember global, breaking Ember 4 ([@simonihmig](https://github.com/simonihmig))
* `fastboot`
  * [#854](https://github.com/ember-fastboot/ember-cli-fastboot/pull/854) Support extracting fastboot specific config from meta tag ([@xg-wang](https://github.com/xg-wang))

#### :memo: Documentation
* [#826](https://github.com/ember-fastboot/ember-cli-fastboot/pull/826) Provide instructions how to debug app via VS Code ([@SergeAstapov](https://github.com/SergeAstapov))

#### Committers: 4
- Scott Newcomer ([@snewcomer](https://github.com/snewcomer))
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
- Simon Ihmig ([@simonihmig](https://github.com/simonihmig))
- Thomas Wang ([@xg-wang](https://github.com/xg-wang))

## v3.2.0-beta.3 (2021-09-10)

#### :boom: Breaking Change
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#834](https://github.com/ember-fastboot/ember-cli-fastboot/pull/834) Update using ember-cli-update and drop support for Node 10 ([@mansona](https://github.com/mansona))
* `ember-cli-fastboot`
  * [#825](https://github.com/ember-fastboot/ember-cli-fastboot/pull/825) Drop module unification support ([@xg-wang](https://github.com/xg-wang))
  * [#820](https://github.com/ember-fastboot/ember-cli-fastboot/pull/820) Remove deprecated features for ember-cli-fastboot v3 release ([@xg-wang](https://github.com/xg-wang))

#### :rocket: Enhancement
* `ember-cli-fastboot`
  * [#814](https://github.com/ember-fastboot/ember-cli-fastboot/pull/814) Throw a helpful error when people use `isFastboot` instead of `isFastBoot` ([@bertdeblock](https://github.com/bertdeblock))
* `fastboot-app-server`
  * [#811](https://github.com/ember-fastboot/ember-cli-fastboot/pull/811) [fastboot-app-server] turn on gzip by default ([@xg-wang](https://github.com/xg-wang))

#### :bug: Bug Fix
* `fastboot`
  * [#853](https://github.com/ember-fastboot/ember-cli-fastboot/pull/853) Fix fastboot-script assets with cutom root url ([@xg-wang](https://github.com/xg-wang))
  * [#840](https://github.com/ember-fastboot/ember-cli-fastboot/pull/840) Add a default state for metadata ([@suchitadoshi1987](https://github.com/suchitadoshi1987))

#### :memo: Documentation
* [#810](https://github.com/ember-fastboot/ember-cli-fastboot/pull/810) doc: update CONTRIBUTING.md for code structure and tests ([@xg-wang](https://github.com/xg-wang))

#### :house: Internal
* `ember-cli-fastboot`
  * [#841](https://github.com/ember-fastboot/ember-cli-fastboot/pull/841) Avoid implicit injection _fastbootInfo deprecation ([@snewcomer](https://github.com/snewcomer))
  * [#836](https://github.com/ember-fastboot/ember-cli-fastboot/pull/836) Restore the legacy tests ([@kiwiupover](https://github.com/kiwiupover))
* Other
  * [#842](https://github.com/ember-fastboot/ember-cli-fastboot/pull/842) Add test scripts ([@xg-wang](https://github.com/xg-wang))
  * [#832](https://github.com/ember-fastboot/ember-cli-fastboot/pull/832) Testing ember-cli-fastboot-testing in new test-package ([@ankushdharkar](https://github.com/ankushdharkar))
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#821](https://github.com/ember-fastboot/ember-cli-fastboot/pull/821) Convert co to async in test; cleanup some configurations ([@xg-wang](https://github.com/xg-wang))

#### Committers: 7
- Ankush Dharkar ([@ankushdharkar](https://github.com/ankushdharkar))
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
- Chris Manson ([@mansona](https://github.com/mansona))
- Dave Laird ([@kiwiupover](https://github.com/kiwiupover))
- Scott Newcomer ([@snewcomer](https://github.com/snewcomer))
- Suchita Doshi ([@suchitadoshi1987](https://github.com/suchitadoshi1987))
- Thomas Wang ([@xg-wang](https://github.com/xg-wang))

## v3.2.0-beta.2 (2021-01-29)

#### :bug: Bug Fix
* `ember-cli-fastboot`
  * [#808](https://github.com/ember-fastboot/ember-cli-fastboot/pull/808) Fix treeForFastBoot when project is an addon ([@simonihmig](https://github.com/simonihmig))

#### :house: Internal
* `ember-cli-fastboot`
  * [#803](https://github.com/ember-fastboot/ember-cli-fastboot/pull/803) Dave/custom fastboot app ([@kiwiupover](https://github.com/kiwiupover))

#### Committers: 2
- Dave Laird ([@kiwiupover](https://github.com/kiwiupover))
- Simon Ihmig ([@simonihmig](https://github.com/simonihmig))

## v3.2.0-beta.1 (2021-01-29)

#### :memo: Documentation
* [#800](https://github.com/ember-fastboot/ember-cli-fastboot/pull/800) Update README to match buildSandboxGlobals API ([@bobisjan](https://github.com/bobisjan))

#### :house: Internal
* `ember-cli-fastboot`, `fastboot-app-server`, `fastboot-express-middleware`, `fastboot`
  * [#805](https://github.com/ember-fastboot/ember-cli-fastboot/pull/805) Migrate to a monorepo setup ([@xg-wang](https://github.com/xg-wang))
* `ember-cli-fastboot`
  * [#795](https://github.com/ember-fastboot/ember-cli-fastboot/pull/795) Move response-details-test from legacy-tests to basic-app tests ([@kiwiupover](https://github.com/kiwiupover))

#### Committers: 73
- Jan Bobisud ([@bobisjan](https://github.com/bobisjan))
- Thomas Wang ([@xg-wang](https://github.com/xg-wang))
- Dave Laird ([@kiwiupover](https://github.com/kiwiupover))

## v3.0.0-beta.2 (2020-09-18)

#### :rocket: Enhancement
* `ember-cli-fastboot`
  * [#770](https://github.com/ember-fastboot/ember-cli-fastboot/pull/770) Add 'node: current' to the targets file on install ([@mansona](https://github.com/mansona))

#### :house: Internal
* Other
  * [#787](https://github.com/ember-fastboot/ember-cli-fastboot/pull/787) Don't update the test-package fake addon package versions ([@kiwiupover](https://github.com/kiwiupover))
* `ember-cli-fastboot`
  * [#786](https://github.com/ember-fastboot/ember-cli-fastboot/pull/786) Adding testing libs so we can tests a running ember app. ([@kiwiupover](https://github.com/kiwiupover))

#### Committers: 2
- Chris Manson ([@mansona](https://github.com/mansona))
- Dave Laird ([@kiwiupover](https://github.com/kiwiupover))

## v3.0.0-beta.1 (2020-09-18)

#### :boom: Breaking Change
* [#748](https://github.com/ember-fastboot/ember-cli-fastboot/pull/748) Update fastboot to the latest version 🚀 ([@greenkeeper[bot]](https://github.com/apps/greenkeeper))
* [#695](https://github.com/ember-fastboot/ember-cli-fastboot/pull/695) Drop Node 6, 8, 9, 11, and 13 support. ([@rwjblue](https://github.com/rwjblue))

#### :rocket: Enhancement
* `ember-cli-fastboot`
  * [#780](https://github.com/ember-fastboot/ember-cli-fastboot/pull/780) Update FastBoot to 3.1.0 ([@kiwiupover](https://github.com/kiwiupover))

#### :bug: Bug Fix
* [#772](https://github.com/ember-fastboot/ember-cli-fastboot/pull/772) Remove the second version of broccoli-file-creator from package.json ([@kiwiupover](https://github.com/kiwiupover))

#### :memo: Documentation
* [#771](https://github.com/ember-fastboot/ember-cli-fastboot/pull/771) Update README.md ([@jad359](https://github.com/jad359))

#### :house: Internal
* `ember-cli-fastboot`
  * [#783](https://github.com/ember-fastboot/ember-cli-fastboot/pull/783) Add automated release setup. ([@rwjblue](https://github.com/rwjblue))
  * [#778](https://github.com/ember-fastboot/ember-cli-fastboot/pull/778) Move package-json test to the basic-app ([@kiwiupover](https://github.com/kiwiupover))
  * [#776](https://github.com/ember-fastboot/ember-cli-fastboot/pull/776) Move asset rewriting test to test-packages/basic-app ([@kiwiupover](https://github.com/kiwiupover))
  * [#775](https://github.com/ember-fastboot/ember-cli-fastboot/pull/775) Adding basic test app ([@kiwiupover](https://github.com/kiwiupover))
  * [#767](https://github.com/ember-fastboot/ember-cli-fastboot/pull/767) Migrate to monorepo structure (to easily add test apps) ([@kiwiupover](https://github.com/kiwiupover))
* Other
  * [#774](https://github.com/ember-fastboot/ember-cli-fastboot/pull/774) Move `.gitignore` into root ([@rwjblue](https://github.com/rwjblue))
  * [#773](https://github.com/ember-fastboot/ember-cli-fastboot/pull/773) Remove travis in-favor of GitHub actions ([@kiwiupover](https://github.com/kiwiupover))
  * [#769](https://github.com/ember-fastboot/ember-cli-fastboot/pull/769) Adding github action tests ([@kiwiupover](https://github.com/kiwiupover))

#### Committers: 3
- Dave Laird ([@kiwiupover](https://github.com/kiwiupover))
- Jennifer ([@jad359](https://github.com/jad359))
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))

## v2.2.3 (2020-06-10)

#### :bug: Bug Fix
* [#763](https://github.com/ember-fastboot/ember-cli-fastboot/pull/763) Prevent errors when `fastboot-body-end` is not present. ([@rwjblue](https://github.com/rwjblue))

#### :memo: Documentation
* [#762](https://github.com/ember-fastboot/ember-cli-fastboot/pull/762) Update documentation on shoebox. ([@burritoIand](https://github.com/burritoIand))

#### Committers: 2
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))
- [@burritoIand](https://github.com/burritoIand)

## v2.2.2 (2020-04-09)

#### :rocket: Enhancement
* [#752](https://github.com/ember-fastboot/ember-cli-fastboot/pull/752) Add support for custom configuration ([@bobisjan](https://github.com/bobisjan))

#### :bug: Bug Fix
* [#737](https://github.com/ember-fastboot/ember-cli-fastboot/pull/737) Fix custom app build issue #730 ([@dnalagatla](https://github.com/dnalagatla))

#### :memo: Documentation
* [#728](https://github.com/ember-fastboot/ember-cli-fastboot/pull/728) fix typo in property name isFastboot -> isFastBoot ([@jelhan](https://github.com/jelhan))

#### :house: Internal
* [#760](https://github.com/ember-fastboot/ember-cli-fastboot/pull/760) Re-roll yarn.lock ([@kratiahuja](https://github.com/kratiahuja))
* [#738](https://github.com/ember-fastboot/ember-cli-fastboot/pull/738) Re-roll yarn.lock. ([@rwjblue](https://github.com/rwjblue))

#### Committers: 5
- Dinesh Nalagatla ([@dnalagatla](https://github.com/dnalagatla))
- Jan Bobisud ([@bobisjan](https://github.com/bobisjan))
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
- Krati Ahuja ([@kratiahuja](https://github.com/kratiahuja))
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))

## v2.2.1 (2019-09-11)

#### :bug: Bug Fix
* [#725](https://github.com/ember-fastboot/ember-cli-fastboot/pull/725) cheerio is used outside of tests so must be a dependency ([@stefanpenner](https://github.com/stefanpenner))

## v2.2.0 (2019-09-10)

* use volta to pin node to ease development
* Added support to update manifest app files from index.html
 Embroider Support: Moved app factory module out of fastboot-app-module (#714)
* Point to ember-data-storefront instead of ember-cached-shoe (#718)
* Dev server forwards out of scope requests

## v2.1.1 (2019-06-03)

#### :bug: Bug Fix
* [#699](https://github.com/ember-fastboot/ember-cli-fastboot/pull/699) Ensure FastBoot rendered content is cleared even if the server rendered application contains malformed HTML. ([@noslouch](https://github.com/noslouch))

#### Committers: 1
- Brian Whitton ([@noslouch](https://github.com/noslouch))

## v2.1.0 (2019-05-28)

#### :rocket: Enhancement
* [#666](https://github.com/ember-fastboot/ember-cli-fastboot/pull/666) memoize existsSync calls on the fastboot instance itself ([@stefanpenner](https://github.com/stefanpenner))

#### :bug: Bug Fix
* [#692](https://github.com/ember-fastboot/ember-cli-fastboot/pull/692) Fix deprecation warning for Ember.Logger usage ([@rileyhilliard](https://github.com/rileyhilliard))
* [#690](https://github.com/ember-fastboot/ember-cli-fastboot/pull/690) Moved building fastboot config tree from postProcessTree to treeForPublic ([@dnalagatla](https://github.com/dnalagatla))

#### :memo: Documentation
* [#694](https://github.com/ember-fastboot/ember-cli-fastboot/pull/694) Add automated release setup. ([@rwjblue](https://github.com/rwjblue))

#### :house: Internal
* [#694](https://github.com/ember-fastboot/ember-cli-fastboot/pull/694) Add automated release setup. ([@rwjblue](https://github.com/rwjblue))
* [#679](https://github.com/ember-fastboot/ember-cli-fastboot/pull/679) Get tests passing again by testing against ember-data@3.8.0 instead of master ([@kiwiupover](https://github.com/kiwiupover))

#### Committers: 5
- David Laird ([@kiwiupover](https://github.com/kiwiupover))
- Dinesh Nalagatla ([@dnalagatla](https://github.com/dnalagatla))
- Riley Hilliard ([@rileyhilliard](https://github.com/rileyhilliard))
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))
- Stefan Penner ([@stefanpenner](https://github.com/stefanpenner))

## 2.0.4

* Fix issue in IE11 when using `Array.from`

## 2.0.1
* Fixes issue where shoebox data was being cleared when clearing the server side content.

## 2.0.0

* Drop Node 4 support.
* Disentangle from broccoli-asset-rev (requires broccoli-asset-rev@3.0.0).

## 1.1.3

Support without rootElement

## 1.1.2

* Make FastBoot addon compatible with Ember CLI 3.0.0

## 1.1.1

* Make manifest in package.json respect outputPaths configuration in EmberApp (PR # 539) (@SergeAstapov)
* Register fastboot transform for apps to wrap non compatible asserts (PR#470) (@kratiahuja)
* Move fastboot-transform and fs-extra to depedencies in package.json (@SergeAstapov)

## 1.1.0

* Bumping `fastboot-express-middleware` to 1.1.0


text:
using System.Text.Json;
using Azure.Core;

namespace Azure.Management.Storage.Models
{
    public partial class Dimension
    {
        internal static Dimension DeserializeDimension(JsonElement element)
        {
            string name = default;
            string displayName = default;
            foreach (var property in element.EnumerateObject())
            {
                if (property.NameEquals("name"))
                {
                    if (property.Value.ValueKind == JsonValueKind.Null)
                    {
                        continue;
                    }
                    name = property.Value.GetString();
                    continue;
                }
                if (property.NameEquals("displayName"))
                {
                    if (property.Value.ValueKind == JsonValueKind.Null)
                    {
                        continue;
                    }
                    displayName = property.Value.GetString();
                    continue;
                }
            }
            return new Dimension(name, displayName);
        }
    }
}


text:
#ifndef REGISTRATIONMANAGER_REGISTRATIONOBSERVERINTERFACE_H_
#define REGISTRATIONMANAGER_REGISTRATIONOBSERVERINTERFACE_H_

namespace alexaClientSDK {
namespace registrationManager {

/**
 * This interface is used to observe changes to the device registration, such as user logout.
 */
class RegistrationObserverInterface {
public:
    /**
     * Virtual destructor to assure proper cleanup of derived types.
     */
    virtual ~RegistrationObserverInterface() = default;

    /**
     * Notification that the current customer has logged out.
     *
     * @warning This method is called while RegistrationManager is in a locked state. The callback must not block on
     * calls to RegistrationManager methods either.
     */
    virtual void onLogout() = 0;
};

}  // namespace registrationManager
}  // namespace alexaClientSDK

#endif  // REGISTRATIONMANAGER_REGISTRATIONOBSERVERINTERFACE_H_


text:
package org.apache.jackrabbit.vault.validation.spi.impl;

import java.nio.file.Path;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

import org.apache.jackrabbit.oak.plugins.index.IndexConstants;
import org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol.AccessControlConstants;
import org.apache.jackrabbit.vault.fs.api.PathFilterSet;
import org.apache.jackrabbit.vault.fs.api.WorkspaceFilter;
import org.apache.jackrabbit.vault.packaging.PackageProperties;
import org.apache.jackrabbit.vault.util.DocViewNode2;
import org.apache.jackrabbit.vault.validation.spi.DocumentViewXmlValidator;
import org.apache.jackrabbit.vault.validation.spi.FilterValidator;
import org.apache.jackrabbit.vault.validation.spi.NodeContext;
import org.apache.jackrabbit.vault.validation.spi.ValidationMessage;
import org.apache.jackrabbit.vault.validation.spi.ValidationMessageSeverity;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/** Validates that packages not having the property {@code allowIndexDefinitions=true} must not contain index definitions and vice-versa.
 *  NPR-14102 - Automated check for index definition
 */
public final class OakIndexDefinitionValidator implements FilterValidator, DocumentViewXmlValidator {

    static final String MESSAGE_POTENTIAL_INDEX_IN_FILTER = "Package '%s' contains filter rule overwriting a potential index definition below '%s' but the according property " + PackageProperties.NAME_ALLOW_INDEX_DEFINITIONS + " is not set to 'true'";
    static final String MESSAGE_INDEX_AT_NODE = "Package '%s' contains index definition but the according property " + PackageProperties.NAME_ALLOW_INDEX_DEFINITIONS + " is not set to 'true'";

    private final Path packageRootPathOfNotAllowedIndexDefinition;
    private final ValidationMessageSeverity defaultMessageSeverity;

    public OakIndexDefinitionValidator(Path path, ValidationMessageSeverity defaultMessageSeverity) {
        this.packageRootPathOfNotAllowedIndexDefinition = path;
        this.defaultMessageSeverity = defaultMessageSeverity;
    }
    @Override
    public @Nullable Collection<ValidationMessage> validate(@NotNull WorkspaceFilter filter) {
        Collection<ValidationMessage> violations = new LinkedList<>();
        violations.addAll(collectIndexPaths(filter.getFilterSets()));
        return violations;
    }

    public Collection<ValidationMessage> collectIndexPaths(List<PathFilterSet> pathFilters) {
        Collection<ValidationMessage> violations = new LinkedList<>();
        for (PathFilterSet pathFilter : pathFilters) {
            // support other index roots (https://jackrabbit.apache.org/oak/docs/query/indexing.html#Index_Definition_Location)
            if (pathFilter.isAncestor("/" + IndexConstants.INDEX_DEFINITIONS_NAME) || pathFilter.getRoot().contains("/" + IndexConstants.INDEX_DEFINITIONS_NAME +"/") || pathFilter.getRoot().endsWith("/" + IndexConstants.INDEX_DEFINITIONS_NAME)) {
                // exclude ACL only entries (only a heuristic because the name might differ)
                if (pathFilter.getRoot().contains("/" + AccessControlConstants.REP_POLICY)) {
                    violations.add(new ValidationMessage(ValidationMessageSeverity.DEBUG, "Ignoring filter entry " + pathFilter  + " as it is referring to an ACL"));
                } else {
                    violations.add(new ValidationMessage(defaultMessageSeverity, String.format(MESSAGE_POTENTIAL_INDEX_IN_FILTER, packageRootPathOfNotAllowedIndexDefinition, pathFilter.getRoot())));
                }
            }
        }
        return violations;
    }

    @Override
    public @Nullable Collection<ValidationMessage> validate(@NotNull DocViewNode2 node, @NotNull NodeContext nodeContext, boolean isRoot) {
        ValidationMessage violation = null;
        if (IndexConstants.INDEX_DEFINITIONS_NODE_TYPE.equals(node.getPrimaryType().orElse(""))) {
            violation = new ValidationMessage(defaultMessageSeverity, String.format(MESSAGE_INDEX_AT_NODE, packageRootPathOfNotAllowedIndexDefinition));
        }
        return violation != null ? Collections.singleton(violation) : null;
    }

    @Override
    public @Nullable Collection<ValidationMessage> done() {
        return null;
    }

}


text:
package org.apache.ignite.examples.java8.math.matrix;

import org.apache.ignite.math.Matrix;
import org.apache.ignite.math.impls.matrix.DenseLocalOffHeapMatrix;

/**
 * This example shows how to use off-heap {@link Matrix} API.
 */
public final class OffHeapMatrixExample {
    /**
     * Executes example.
     *
     * @param args Command line arguments, none required.
     */
    public static void main(String[] args) {
        System.out.println();
        System.out.println(">>> Off-heap matrix API usage example started.");

        System.out.println("\n>>> Creating a matrix to be transposed.");
        double[][] data = new double[][] {{1, 2, 3}, {4, 5, 6}};
        Matrix m = new DenseLocalOffHeapMatrix(data.length, data[0].length);
        m.assign(data);
        Matrix transposed = m.transpose();

        System.out.println(">>> Matrix: ");
        MatrixExampleUtil.print(m);
        System.out.println(">>> Transposed matrix: ");
        MatrixExampleUtil.print(transposed);

        MatrixExampleUtil.verifyTransposition(m, transposed);

        System.out.println("\n>>> Creating matrices to be multiplied.");
        double[][] data1 = new double[][] {{1, 2}, {3, 4}};
        double[][] data2 = new double[][] {{5, 6}, {7, 8}};

        Matrix m1 = new DenseLocalOffHeapMatrix(data1.length, data1[0].length);
        Matrix m2 = new DenseLocalOffHeapMatrix(data2.length, data2[0].length);

        m1.assign(data1);
        m2.assign(data2);

        Matrix mult = m1.times(m2);

        System.out.println(">>> First matrix: ");
        MatrixExampleUtil.print(m1);
        System.out.println(">>> Second matrix: ");
        MatrixExampleUtil.print(m2);
        System.out.println(">>> Matrix product: ");
        MatrixExampleUtil.print(mult);

        System.out.println("\n>>> Calculating matrices determinants.");
        double det1 = m1.determinant();
        double det2 = m2.determinant();
        double detMult = mult.determinant();
        boolean detMultIsAsExp = Math.abs(detMult - det1 * det2) < 0.0001d;

        System.out.println(">>> First matrix determinant: [" + det1 + "].");
        System.out.println(">>> Second matrix determinant: [" + det2 + "].");
        System.out.println(">>> Matrix product determinant: [" + detMult
            + "], equals product of two other matrices determinants: [" + detMultIsAsExp + "].");

        assert detMultIsAsExp : "Determinant of product matrix [" + detMult
            + "] should be equal to product of determinants [" + (det1 * det2) + "].";

        System.out.println("\n>>> Off-heap matrix API usage example completed.");
    }
}


text:
package lib.jadsl.collections.data.vector;

import java.util.ArrayList;
import java.util.Arrays;

public class DataVectorFactory {
    private ArrayList<Class<? extends DataVector>> ClassList = new ArrayList<>();
    private ArrayList<DataVectorType> TypeList = new ArrayList<>();

    public DataVectorFactory(){
        TypeList.addAll(Arrays.asList(DefaultTypeList));
        ClassList.addAll(Arrays.asList(DefaultClassList));

    }
    public static int DefaultAmount = 1;
    public static final DataVectorType[] DefaultTypeList = new DataVectorType[DefaultAmount];
    public static final Class<? extends DataVector>[] DefaultClassList = new Class[DefaultAmount];
    static{
        DefaultTypeList[0]  = NumberVector.DefaultType;
        DefaultClassList[0] = NumberVector.class;
    }

    public <T> DataVector creatDataVector(int dimension,T[] data){
        Class<? extends DataVector> DataVectorClass = getDataVectorClass(data[0].getClass());
        DataVector res = null;
        try {
            res = DataVectorClass.getConstructor(Integer.class,new Object[0].getClass()).newInstance(dimension,data);
        }catch (Exception e){
            //Error using reflections
            e.printStackTrace();
        }
        return res;
    }
    public DataVector createEmptyDataVectorFromDataClass(int dimension,Class<?> dataClass){
        DataVector res = null;
        try {
            res = getDataVectorClass(dataClass).getConstructor(Integer.class).newInstance(dimension);
        }catch (Exception e){
            //Error using reflections
            e.printStackTrace();
        }
        return res;
    }
    public DataVector createEmptyDataVectorFromType(int dimension,DataVectorType type){
        DataVector res = null;
        try {
            res = getDataVectorClass(type).getConstructor(Integer.class).newInstance(dimension);
        }catch (Exception e){
            //Error using reflections
            e.printStackTrace();
        }
        return res;
    }
    public Class<? extends DataVector> getDataVectorClass(Class<?> dataClass){
        for(int i = 0;i < TypeList.size();i++){
            if(TypeList.get(i).isAssignableFrom(dataClass))return ClassList.get(i);
        }
        return null;
    }
    public Class<? extends DataVector> getDataVectorClass(DataVectorType type){
        for(int i = 0;i < TypeList.size();i++){
            if(TypeList.get(i).getClass().isInstance(type))return  ClassList.get(i);
        }
        return null;
    }

    public void setDataVectorType(DataVectorType type,Class<? extends DataVector> dataVectorClass){
        for(int i = 0;i < TypeList.size();i++){
            if(type.getClass().equals(TypeList.get(i).getClass())){
                ClassList.set(i,dataVectorClass);
                return;
            }
        }
        TypeList.add(type);
        ClassList.add(dataVectorClass);
    }
}


text:
package ionroller

import java.util.concurrent.TimeUnit

import org.joda.time.DateTime
import play.api.libs.functional.syntax._
import play.api.libs.json._

import scala.concurrent.duration.FiniteDuration

final case class SystemConfiguration(timelines: Map[TimelineName, TimelineConfiguration])

final case class ExternalElbSettings(name: String, securityGroup: String, rolloutRate: FiniteDuration)

object ExternalElbSettings {

  implicit val durationFormat = new Format[FiniteDuration] {
    override def writes(o: FiniteDuration): JsValue = Json.toJson(o.toSeconds)

    override def reads(json: JsValue): JsResult[FiniteDuration] =
      json.validate[Long].map(FiniteDuration.apply(_, TimeUnit.SECONDS))
  }

  implicit lazy val jsonFormat = Json.format[ExternalElbSettings]
}

final case class TimelineConfiguration(
    url: String,
    hostedZoneId: String,
    externalElb: Option[ExternalElbSettings],
    dockerImage: DockerRepository,
    awsAccountId: String,
    serviceRole: String,
    portMappings: Seq[PortMapping],
    volumeMappings: Seq[VolumeMapping],
    runArgs: Seq[String],
    removeUnusedAfter: Option[FiniteDuration],
    private val _ebsConfig: EBSConfiguration,
    timestamp: DateTime
) {
  val ebsConfig = EBSConfiguration.mergeDefaults(_ebsConfig, serviceRole)
  val ionrollerRoleArn = ionrollerRole(awsAccountId)
}

object TimelineConfiguration {

  implicit lazy val jsonFormat = {
    (
      (__ \ 'url).format[String] and
      (__ \ 'hostedZoneId).format[String] and
      (__ \ 'externalElb).formatNullable[ExternalElbSettings] and
      (__ \ 'dockerImage).format[DockerRepository] and
      (__ \ 'awsAccountId).format[String] and
      (__ \ 'serviceRole).format[String] and
      (__ \ 'portMappings).format[Seq[PortMapping]] and
      (__ \ 'volumeMappings).formatNullable[Seq[VolumeMapping]].inmap(
        (f: Option[Seq[VolumeMapping]]) => f.getOrElse(Seq.empty),
        (g: Seq[VolumeMapping]) => Some(g)
      ) and
        (__ \ 'runArgs).format[Seq[String]] and
        (__ \ 'removeUnusedAfter).formatNullable[FiniteDuration] and
        (__ \ '_ebsConfig).format[EBSConfiguration] and
        (__ \ 'timestamp).format[DateTime]
    )(TimelineConfiguration.apply, unlift(TimelineConfiguration.unapply))
  }
}