text:
package com.amazonaws.services.gamelift.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 *

 * Represents the input for a request action.
 *

 *
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class StartMatchBackfillRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     *

     * Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one
     * in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
     *

     */
    private String ticketId;
    /**
     *

     * Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original game
     * session is listed in the GameSession object, MatchmakerData property. This property contains
     * a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN value
     * "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking configuration name is
     * "MM-4v4".) Use only the name for this parameter.
     *

     */
    private String configurationName;
    /**
     *

     * Amazon Resource Name (ARN) that
     * is assigned to a game session and uniquely identifies it.
     *

     */
    private String gameSessionArn;
    /**
     *

     * Match information on all players that are currently assigned to the game session. This information is used by the
     * matchmaker to find new players and add them to the existing game.
     *

     *

     *

     *

     * PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     * MatchmakerData property, for all players who are currently assigned to the game session. The
     * matchmaker data is in JSON syntax, formatted as a string. For more details, see  Match
     * Data.
     *

     *

     *

     *

     * LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the region
     * that the game session is currently in. Do not include latency values for any other region.
     *

     *

     *

     */
    private java.util.List<Player> players;

    /**
     *

     * Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one
     * in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
     *

     *
     * @param ticketId
     *        Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will
     *        generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and
     *        retrieve match results.
     */

    public void setTicketId(String ticketId) {
        this.ticketId = ticketId;
    }

    /**
     *

     * Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one
     * in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
     *

     *
     * @return Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will
     *         generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and
     *         retrieve match results.
     */

    public String getTicketId() {
        return this.ticketId;
    }

    /**
     *

     * Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one
     * in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
     *

     *
     * @param ticketId
     *        Unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will
     *        generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and
     *        retrieve match results.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public StartMatchBackfillRequest withTicketId(String ticketId) {
        setTicketId(ticketId);
        return this;
    }

    /**
     *

     * Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original game
     * session is listed in the GameSession object, MatchmakerData property. This property contains
     * a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN value
     * "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking configuration name is
     * "MM-4v4".) Use only the name for this parameter.
     *

     *
     * @param configurationName
     *        Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original
     *        game session is listed in the GameSession object, MatchmakerData property. This
     *        property contains a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN
     *        value "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking
     *        configuration name is "MM-4v4".) Use only the name for this parameter.
     */

    public void setConfigurationName(String configurationName) {
        this.configurationName = configurationName;
    }

    /**
     *

     * Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original game
     * session is listed in the GameSession object, MatchmakerData property. This property contains
     * a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN value
     * "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking configuration name is
     * "MM-4v4".) Use only the name for this parameter.
     *

     *
     * @return Name of the matchmaker to use for this request. The name of the matchmaker that was used with the
     *         original game session is listed in the GameSession object, MatchmakerData property.
     *         This property contains a matchmaking configuration ARN value, which includes the matchmaker name. (In the
     *         ARN value "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking
     *         configuration name is "MM-4v4".) Use only the name for this parameter.
     */

    public String getConfigurationName() {
        return this.configurationName;
    }

    /**
     *

     * Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original game
     * session is listed in the GameSession object, MatchmakerData property. This property contains
     * a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN value
     * "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking configuration name is
     * "MM-4v4".) Use only the name for this parameter.
     *

     *
     * @param configurationName
     *        Name of the matchmaker to use for this request. The name of the matchmaker that was used with the original
     *        game session is listed in the GameSession object, MatchmakerData property. This
     *        property contains a matchmaking configuration ARN value, which includes the matchmaker name. (In the ARN
     *        value "arn:aws:gamelift:us-west-2:111122223333:matchmakingconfiguration/MM-4v4", the matchmaking
     *        configuration name is "MM-4v4".) Use only the name for this parameter.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public StartMatchBackfillRequest withConfigurationName(String configurationName) {
        setConfigurationName(configurationName);
        return this;
    }

    /**
     *

     * Amazon Resource Name (ARN) that
     * is assigned to a game session and uniquely identifies it.
     *

     *
     * @param gameSessionArn
     *        Amazon Resource Name (ARN) that is assigned to a
     *        game session and uniquely identifies it.
     */

    public void setGameSessionArn(String gameSessionArn) {
        this.gameSessionArn = gameSessionArn;
    }

    /**
     *

     * Amazon Resource Name (ARN) that
     * is assigned to a game session and uniquely identifies it.
     *

     *
     * @return Amazon Resource Name (ARN) that is assigned to a
     *         game session and uniquely identifies it.
     */

    public String getGameSessionArn() {
        return this.gameSessionArn;
    }

    /**
     *

     * Amazon Resource Name (ARN) that
     * is assigned to a game session and uniquely identifies it.
     *

     *
     * @param gameSessionArn
     *        Amazon Resource Name (ARN) that is assigned to a
     *        game session and uniquely identifies it.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public StartMatchBackfillRequest withGameSessionArn(String gameSessionArn) {
        setGameSessionArn(gameSessionArn);
        return this;
    }

    /**
     *

     * Match information on all players that are currently assigned to the game session. This information is used by the
     * matchmaker to find new players and add them to the existing game.
     *

     *

     *

     *

     * PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     * MatchmakerData property, for all players who are currently assigned to the game session. The
     * matchmaker data is in JSON syntax, formatted as a string. For more details, see  Match
     * Data.
     *

     *

     *

     *

     * LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the region
     * that the game session is currently in. Do not include latency values for any other region.
     *

     *

     *

     *
     * @return Match information on all players that are currently assigned to the game session. This information is
     *         used by the matchmaker to find new players and add them to the existing game.

     *

     *

     *

     *         PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     *         MatchmakerData property, for all players who are currently assigned to the game session. The
     *         matchmaker data is in JSON syntax, formatted as a string. For more details, see
     *         Match Data.
     *

     *

     *

     *

     *         LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the
     *         region that the game session is currently in. Do not include latency values for any other region.
     *

     *

     */

    public java.util.List<Player> getPlayers() {
        return players;
    }

    /**
     *

     * Match information on all players that are currently assigned to the game session. This information is used by the
     * matchmaker to find new players and add them to the existing game.
     *

     *

     *

     *

     * PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     * MatchmakerData property, for all players who are currently assigned to the game session. The
     * matchmaker data is in JSON syntax, formatted as a string. For more details, see  Match
     * Data.
     *

     *

     *

     *

     * LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the region
     * that the game session is currently in. Do not include latency values for any other region.
     *

     *

     *

     *
     * @param players
     *        Match information on all players that are currently assigned to the game session. This information is used
     *        by the matchmaker to find new players and add them to the existing game.

     *

     *

     *

     *        PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     *        MatchmakerData property, for all players who are currently assigned to the game session. The
     *        matchmaker data is in JSON syntax, formatted as a string. For more details, see
     *        Match Data.
     *

     *

     *

     *

     *        LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the
     *        region that the game session is currently in. Do not include latency values for any other region.
     *

     *

     */

    public void setPlayers(java.util.Collection<Player> players) {
        if (players == null) {
            this.players = null;
            return;
        }

        this.players = new java.util.ArrayList<Player>(players);
    }

    /**
     *

     * Match information on all players that are currently assigned to the game session. This information is used by the
     * matchmaker to find new players and add them to the existing game.
     *

     *

     *

     *

     * PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     * MatchmakerData property, for all players who are currently assigned to the game session. The
     * matchmaker data is in JSON syntax, formatted as a string. For more details, see  Match
     * Data.
     *

     *

     *

     *

     * LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the region
     * that the game session is currently in. Do not include latency values for any other region.
     *

     *

     *

     *

     * NOTE: This method appends the values to the existing list (if any). Use
     * {@link #setPlayers(java.util.Collection)} or {@link #withPlayers(java.util.Collection)} if you want to override
     * the existing values.
     *

     *
     * @param players
     *        Match information on all players that are currently assigned to the game session. This information is used
     *        by the matchmaker to find new players and add them to the existing game.

     *

     *

     *

     *        PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     *        MatchmakerData property, for all players who are currently assigned to the game session. The
     *        matchmaker data is in JSON syntax, formatted as a string. For more details, see
     *        Match Data.
     *

     *

     *

     *

     *        LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the
     *        region that the game session is currently in. Do not include latency values for any other region.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public StartMatchBackfillRequest withPlayers(Player... players) {
        if (this.players == null) {
            setPlayers(new java.util.ArrayList<Player>(players.length));
        }
        for (Player ele : players) {
            this.players.add(ele);
        }
        return this;
    }

    /**
     *

     * Match information on all players that are currently assigned to the game session. This information is used by the
     * matchmaker to find new players and add them to the existing game.
     *

     *

     *

     *

     * PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     * MatchmakerData property, for all players who are currently assigned to the game session. The
     * matchmaker data is in JSON syntax, formatted as a string. For more details, see  Match
     * Data.
     *

     *

     *

     *

     * LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the region
     * that the game session is currently in. Do not include latency values for any other region.
     *

     *

     *

     *
     * @param players
     *        Match information on all players that are currently assigned to the game session. This information is used
     *        by the matchmaker to find new players and add them to the existing game.

     *

     *

     *

     *        PlayerID, PlayerAttributes, Team -\\- This information is maintained in the GameSession object,
     *        MatchmakerData property, for all players who are currently assigned to the game session. The
     *        matchmaker data is in JSON syntax, formatted as a string. For more details, see
     *        Match Data.
     *

     *

     *

     *

     *        LatencyInMs -\\- If the matchmaker uses player latency, include a latency value, in milliseconds, for the
     *        region that the game session is currently in. Do not include latency values for any other region.
     *

     *

     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public StartMatchBackfillRequest withPlayers(java.util.Collection<Player> players) {
        setPlayers(players);
        return this;
    }

    /**
     * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
     * redacted from this string using a placeholder value.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getTicketId() != null)
            sb.append("TicketId: ").append(getTicketId()).append(",");
        if (getConfigurationName() != null)
            sb.append("ConfigurationName: ").append(getConfigurationName()).append(",");
        if (getGameSessionArn() != null)
            sb.append("GameSessionArn: ").append(getGameSessionArn()).append(",");
        if (getPlayers() != null)
            sb.append("Players: ").append(getPlayers());
        sb.append("}");
        return sb.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof StartMatchBackfillRequest == false)
            return false;
        StartMatchBackfillRequest other = (StartMatchBackfillRequest) obj;
        if (other.getTicketId() == null ^ this.getTicketId() == null)
            return false;
        if (other.getTicketId() != null && other.getTicketId().equals(this.getTicketId()) == false)
            return false;
        if (other.getConfigurationName() == null ^ this.getConfigurationName() == null)
            return false;
        if (other.getConfigurationName() != null && other.getConfigurationName().equals(this.getConfigurationName()) == false)
            return false;
        if (other.getGameSessionArn() == null ^ this.getGameSessionArn() == null)
            return false;
        if (other.getGameSessionArn() != null && other.getGameSessionArn().equals(this.getGameSessionArn()) == false)
            return false;
        if (other.getPlayers() == null ^ this.getPlayers() == null)
            return false;
        if (other.getPlayers() != null && other.getPlayers().equals(this.getPlayers()) == false)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getTicketId() == null) ? 0 : getTicketId().hashCode());
        hashCode = prime * hashCode + ((getConfigurationName() == null) ? 0 : getConfigurationName().hashCode());
        hashCode = prime * hashCode + ((getGameSessionArn() == null) ? 0 : getGameSessionArn().hashCode());
        hashCode = prime * hashCode + ((getPlayers() == null) ? 0 : getPlayers().hashCode());
        return hashCode;
    }

    @Override
    public StartMatchBackfillRequest clone() {
        return (StartMatchBackfillRequest) super.clone();
    }

}


text:
#ifndef WTF_RefPtr_h
#define WTF_RefPtr_h

#include "wtf/Allocator.h"
#include "wtf/HashTableDeletedValueType.h"
#include "wtf/PassRefPtr.h"
#include "wtf/allocator/PartitionAllocator.h"
#include <algorithm>
#include <utility>

namespace WTF {

template <typename T>
class PassRefPtr;
template <typename T>
class RefPtrValuePeeker;

template <typename T>
class RefPtr {
  USING_FAST_MALLOC(RefPtr);

 public:
  ALWAYS_INLINE RefPtr() : m_ptr(nullptr) {}
  ALWAYS_INLINE RefPtr(std::nullptr_t) : m_ptr(nullptr) {}
  ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); }
  ALWAYS_INLINE explicit RefPtr(T& ref) : m_ptr(&ref) { m_ptr->ref(); }
  ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) {
    refIfNotNull(m_ptr);
  }
  template <typename U>
  RefPtr(const RefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T))
      : m_ptr(o.get()) {
    refIfNotNull(m_ptr);
  }
  RefPtr(RefPtr&& o) : m_ptr(o.m_ptr) { o.m_ptr = nullptr; }

  // See comments in PassRefPtr.h for an explanation of why this takes a const
  // reference.
  template <typename U>
  RefPtr(const PassRefPtr<U>&, EnsurePtrConvertibleArgDecl(U, T));

  // Hash table deleted values, which are only constructed and never copied or
  // destroyed.
  RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) {}
  bool isHashTableDeletedValue() const {
    return m_ptr == hashTableDeletedValue();
  }

  ALWAYS_INLINE ~RefPtr() { derefIfNotNull(m_ptr); }

  ALWAYS_INLINE T* get() const { return m_ptr; }

  void clear();
  PassRefPtr<T> release() {
    PassRefPtr<T> tmp = adoptRef(m_ptr);
    m_ptr = nullptr;
    return tmp;
  }

  T& operator*() const { return *m_ptr; }
  ALWAYS_INLINE T* operator->() const { return m_ptr; }

  bool operator!() const { return !m_ptr; }
  explicit operator bool() const { return m_ptr != nullptr; }

  RefPtr& operator=(RefPtr o) {
    swap(o);
    return *this;
  }
  RefPtr& operator=(std::nullptr_t) {
    clear();
    return *this;
  }
  // This is required by HashMap<RefPtr>>.
  template <typename U>
  RefPtr& operator=(RefPtrValuePeeker<U>);

  void swap(RefPtr&);

  static T* hashTableDeletedValue() { return reinterpret_cast<T*>(-1); }

 private:
  T* m_ptr;
};

template <typename T>
template <typename U>
inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o,
                         EnsurePtrConvertibleArgDefn(U, T))
    : m_ptr(o.leakRef()) {}

template <typename T>
inline void RefPtr<T>::clear() {
  T* ptr = m_ptr;
  m_ptr = nullptr;
  derefIfNotNull(ptr);
}

template <typename T>
template <typename U>
inline RefPtr<T>& RefPtr<T>::operator=(RefPtrValuePeeker<U> optr) {
  RefPtr ptr = static_cast<U*>(optr);
  swap(ptr);
  return *this;
}

template <class T>
inline void RefPtr<T>::swap(RefPtr& o) {
  std::swap(m_ptr, o.m_ptr);
}

template <class T>
inline void swap(RefPtr<T>& a, RefPtr<T>& b) {
  a.swap(b);
}

template <typename T, typename U>
inline bool operator==(const RefPtr<T>& a, const RefPtr<U>& b) {
  return a.get() == b.get();
}

template <typename T, typename U>
inline bool operator==(const RefPtr<T>& a, U* b) {
  return a.get() == b;
}

template <typename T, typename U>
inline bool operator==(T* a, const RefPtr<U>& b) {
  return a == b.get();
}

template <typename T>
inline bool operator==(const RefPtr<T>& a, std::nullptr_t) {
  return !a.get();
}

template <typename T>
inline bool operator==(std::nullptr_t, const RefPtr<T>& b) {
  return !b.get();
}

template <typename T, typename U>
inline bool operator!=(const RefPtr<T>& a, const RefPtr<U>& b) {
  return a.get() != b.get();
}

template <typename T, typename U>
inline bool operator!=(const RefPtr<T>& a, U* b) {
  return a.get() != b;
}

template <typename T, typename U>
inline bool operator!=(T* a, const RefPtr<U>& b) {
  return a != b.get();
}

template <typename T>
inline bool operator!=(const RefPtr<T>& a, std::nullptr_t) {
  return a.get();
}

template <typename T>
inline bool operator!=(std::nullptr_t, const RefPtr<T>& b) {
  return b.get();
}

template <typename T>
inline T* getPtr(const RefPtr<T>& p) {
  return p.get();
}

template <typename T>
class RefPtrValuePeeker {
  DISALLOW_NEW();

 public:
  ALWAYS_INLINE RefPtrValuePeeker(T* p) : m_ptr(p) {}
  ALWAYS_INLINE RefPtrValuePeeker(std::nullptr_t) : m_ptr(nullptr) {}
  template <typename U>
  RefPtrValuePeeker(const RefPtr<U>& p) : m_ptr(p.get()) {}
  template <typename U>
  RefPtrValuePeeker(const PassRefPtr<U>& p) : m_ptr(p.get()) {}

  ALWAYS_INLINE operator T*() const { return m_ptr; }

 private:
  T* m_ptr;
};

}  // namespace WTF

using WTF::RefPtr;

#endif  // WTF_RefPtr_h

redpajama_set_name: RedPajamaGithub


text:
package com.tinytimrob.jfmod5;

/** 'Channel' API. */
public final class FmodChannel extends FmodChannelControl
{
	FmodChannel(long pointer)
	{
		super(pointer);
	}

	/* functions overridden from ChannelControl in the C++ API
	@Override FMOD_RESULT F_API FMOD_Channel_GetSystemObject          (FMOD_CHANNEL *channel, FMOD_SYSTEM **system);
	*/

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_Stop(FMOD_CHANNEL *channel);
	public FmodResult stop()
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_Stop(this.pointer));
	}

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_SetPaused(FMOD_CHANNEL *channel, FMOD_BOOL paused);
	public FmodResult setPaused(boolean paused)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_SetPaused(this.pointer, paused));
	}

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_GetPaused(FMOD_CHANNEL *channel, FMOD_BOOL *paused);
	public FmodResult getPaused(boolean[] paused) throws InvalidDestinationArraySizeException
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		if (paused.length != 1)
		{
			throw new InvalidDestinationArraySizeException("paused", 1, paused.length);
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_GetPaused(this.pointer, paused));
	}

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_SetVolume(FMOD_CHANNEL *channel, float volume);
	public FmodResult setVolume(float volume)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_SetVolume(this.pointer, volume));
	}

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_GetVolume(FMOD_CHANNEL *channel, float *volume);
	public FmodResult getVolume(float[] volume) throws InvalidDestinationArraySizeException
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		if (volume.length != 1)
		{
			throw new InvalidDestinationArraySizeException("volume", 1, volume.length);
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_GetVolume(this.pointer, volume));
	}

	/*
	@Override FMOD_RESULT F_API FMOD_Channel_SetVolumeRamp            (FMOD_CHANNEL *channel, FMOD_BOOL ramp);
	@Override FMOD_RESULT F_API FMOD_Channel_GetVolumeRamp            (FMOD_CHANNEL *channel, FMOD_BOOL *ramp);
	@Override FMOD_RESULT F_API FMOD_Channel_GetAudibility            (FMOD_CHANNEL *channel, float *audibility);
	@Override FMOD_RESULT F_API FMOD_Channel_SetPitch                 (FMOD_CHANNEL *channel, float pitch);
	@Override FMOD_RESULT F_API FMOD_Channel_GetPitch                 (FMOD_CHANNEL *channel, float *pitch);
	@Override FMOD_RESULT F_API FMOD_Channel_SetMute                  (FMOD_CHANNEL *channel, FMOD_BOOL mute);
	@Override FMOD_RESULT F_API FMOD_Channel_GetMute                  (FMOD_CHANNEL *channel, FMOD_BOOL *mute);
	@Override FMOD_RESULT F_API FMOD_Channel_SetReverbProperties      (FMOD_CHANNEL *channel, int instance, float wet);
	@Override FMOD_RESULT F_API FMOD_Channel_GetReverbProperties      (FMOD_CHANNEL *channel, int instance, float *wet);
	@Override FMOD_RESULT F_API FMOD_Channel_SetLowPassGain           (FMOD_CHANNEL *channel, float gain);
	@Override FMOD_RESULT F_API FMOD_Channel_GetLowPassGain           (FMOD_CHANNEL *channel, float *gain);
	@Override FMOD_RESULT F_API FMOD_Channel_SetMode                  (FMOD_CHANNEL *channel, FMOD_MODE mode);
	@Override FMOD_RESULT F_API FMOD_Channel_GetMode                  (FMOD_CHANNEL *channel, FMOD_MODE *mode);
	@Override FMOD_RESULT F_API FMOD_Channel_SetCallback              (FMOD_CHANNEL *channel, FMOD_CHANNELCONTROL_CALLBACK callback);
	*/

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_IsPlaying(FMOD_CHANNEL *channel, FMOD_BOOL *isplaying);
	public FmodResult isPlaying(boolean[] playing) throws InvalidDestinationArraySizeException
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		if (playing.length != 1)
		{
			throw new InvalidDestinationArraySizeException("playing", 1, playing.length);
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_IsPlaying(this.pointer, playing));
	}

	/*
	@Override FMOD_RESULT F_API FMOD_Channel_SetPan                   (FMOD_CHANNEL *channel, float pan);
	@Override FMOD_RESULT F_API FMOD_Channel_SetMixLevelsOutput       (FMOD_CHANNEL *channel, float frontleft, float frontright, float center, float lfe, float surroundleft, float surroundright, float backleft, float backright);
	@Override FMOD_RESULT F_API FMOD_Channel_SetMixLevelsInput        (FMOD_CHANNEL *channel, float *levels, int numlevels);
	@Override FMOD_RESULT F_API FMOD_Channel_SetMixMatrix             (FMOD_CHANNEL *channel, float *matrix, int outchannels, int inchannels, int inchannel_hop);
	@Override FMOD_RESULT F_API FMOD_Channel_GetMixMatrix             (FMOD_CHANNEL *channel, float *matrix, int *outchannels, int *inchannels, int inchannel_hop);
	@Override FMOD_RESULT F_API FMOD_Channel_GetDSPClock              (FMOD_CHANNEL *channel, unsigned long long *dspclock, unsigned long long *parentclock);
	@Override FMOD_RESULT F_API FMOD_Channel_SetDelay                 (FMOD_CHANNEL *channel, unsigned long long dspclock_start, unsigned long long dspclock_end, FMOD_BOOL stopchannels);
	@Override FMOD_RESULT F_API FMOD_Channel_GetDelay                 (FMOD_CHANNEL *channel, unsigned long long *dspclock_start, unsigned long long *dspclock_end, FMOD_BOOL *stopchannels);
	@Override FMOD_RESULT F_API FMOD_Channel_AddFadePoint             (FMOD_CHANNEL *channel, unsigned long long dspclock, float volume);
	@Override FMOD_RESULT F_API FMOD_Channel_SetFadePointRamp         (FMOD_CHANNEL *channel, unsigned long long dspclock, float volume);
	@Override FMOD_RESULT F_API FMOD_Channel_RemoveFadePoints         (FMOD_CHANNEL *channel, unsigned long long dspclock_start, unsigned long long dspclock_end);
	@Override FMOD_RESULT F_API FMOD_Channel_GetFadePoints            (FMOD_CHANNEL *channel, unsigned int *numpoints, unsigned long long *point_dspclock, float *point_volume);
	@Override FMOD_RESULT F_API FMOD_Channel_GetDSP                   (FMOD_CHANNEL *channel, int index, FMOD_DSP **dsp);
	*/

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_AddDSP(FMOD_CHANNEL *channel, int index, FMOD_DSP *dsp);
	public FmodResult addDSP(int index, FmodDSP dsp)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_AddDSP(this.pointer, index, dsp == null ? 0 : dsp.pointer));
	}

	@Override
	// @Override FMOD_RESULT F_API FMOD_Channel_RemoveDSP(FMOD_CHANNEL *channel, FMOD_DSP *dsp);
	public FmodResult removeDSP(FmodDSP dsp)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_RemoveDSP(this.pointer, dsp == null ? 0 : dsp.pointer));
	}

	/*
	@Override FMOD_RESULT F_API FMOD_Channel_GetNumDSPs               (FMOD_CHANNEL *channel, int *numdsps);
	@Override FMOD_RESULT F_API FMOD_Channel_SetDSPIndex              (FMOD_CHANNEL *channel, FMOD_DSP *dsp, int index);
	@Override FMOD_RESULT F_API FMOD_Channel_GetDSPIndex              (FMOD_CHANNEL *channel, FMOD_DSP *dsp, int *index);
	@Override FMOD_RESULT F_API FMOD_Channel_OverridePanDSP           (FMOD_CHANNEL *channel, FMOD_DSP *pan);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DAttributes          (FMOD_CHANNEL *channel, const FMOD_VECTOR *pos, const FMOD_VECTOR *vel, const FMOD_VECTOR *alt_pan_pos);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DAttributes          (FMOD_CHANNEL *channel, FMOD_VECTOR *pos, FMOD_VECTOR *vel, FMOD_VECTOR *alt_pan_pos);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DMinMaxDistance      (FMOD_CHANNEL *channel, float mindistance, float maxdistance);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DMinMaxDistance      (FMOD_CHANNEL *channel, float *mindistance, float *maxdistance);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DConeSettings        (FMOD_CHANNEL *channel, float insideconeangle, float outsideconeangle, float outsidevolume);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DConeSettings        (FMOD_CHANNEL *channel, float *insideconeangle, float *outsideconeangle, float *outsidevolume);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DConeOrientation     (FMOD_CHANNEL *channel, FMOD_VECTOR *orientation);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DConeOrientation     (FMOD_CHANNEL *channel, FMOD_VECTOR *orientation);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DCustomRolloff       (FMOD_CHANNEL *channel, FMOD_VECTOR *points, int numpoints);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DCustomRolloff       (FMOD_CHANNEL *channel, FMOD_VECTOR **points, int *numpoints);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DOcclusion           (FMOD_CHANNEL *channel, float directocclusion, float reverbocclusion);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DOcclusion           (FMOD_CHANNEL *channel, float *directocclusion, float *reverbocclusion);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DSpread              (FMOD_CHANNEL *channel, float angle);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DSpread              (FMOD_CHANNEL *channel, float *angle);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DLevel               (FMOD_CHANNEL *channel, float level);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DLevel               (FMOD_CHANNEL *channel, float *level);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DDopplerLevel        (FMOD_CHANNEL *channel, float level);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DDopplerLevel        (FMOD_CHANNEL *channel, float *level);
	@Override FMOD_RESULT F_API FMOD_Channel_Set3DDistanceFilter      (FMOD_CHANNEL *channel, FMOD_BOOL custom, float customLevel, float centerFreq);
	@Override FMOD_RESULT F_API FMOD_Channel_Get3DDistanceFilter      (FMOD_CHANNEL *channel, FMOD_BOOL *custom, float *customLevel, float *centerFreq);
	*/

	/* functions which are unique to Channel */

	/**
	 * Sets the channel frequency or playback rate, in Hz.

	 * When a sound is played, it plays at the default frequency of the sound which can be set by {@link FmodSound#setDefaults}.

	 * For most file formats, the default frequency is determined by the audio format.
	 * @param frequency Frequency value in Hz. This value can also be negative to play the sound backwards (negative frequencies allowed with non-stream sounds only).
	 * @return If the function succeeds then the return value is {@link FmodResult#OK}. If the function fails then the return value will be one of the values defined in the {@link FmodResult} enumeration.
	 */
	// FMOD_RESULT F_API FMOD_Channel_SetFrequency(FMOD_CHANNEL *channel, float frequency);
	public FmodResult setFrequency(float frequency)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_SetFrequency(this.pointer, frequency));
	}

	/**
	 * Retrieves the channel frequency or playback rate, in Hz.
	 * @param frequency A single-length destination array that receives the current frequency of the channel in Hz.
	 * @return If the function succeeds then the return value is {@link FmodResult#OK}. If the function fails then the return value will be one of the values defined in the {@link FmodResult} enumeration.
	 * @throws InvalidDestinationArraySizeException If the destination array length is not 1
	 */
	// FMOD_RESULT F_API FMOD_Channel_GetFrequency(FMOD_CHANNEL *channel, float *frequency);
	public FmodResult getFrequency(float[] frequency) throws InvalidDestinationArraySizeException
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		if (frequency.length != 1)
		{
			throw new InvalidDestinationArraySizeException("frequency", 1, frequency.length);
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_GetFrequency(this.pointer, frequency));
	}

	/*
	FMOD_RESULT F_API FMOD_Channel_SetPriority              (FMOD_CHANNEL *channel, int priority);
	FMOD_RESULT F_API FMOD_Channel_GetPriority              (FMOD_CHANNEL *channel, int *priority);
	*/

	/** Sets the playback position for the currently playing sound to the specified offset.

	 * Certain timeunits do not work depending on the file format. For example {@link FmodTimeUnit#MODORDER} will not work with an MP3 file.

	 * If you are calling this function on a stream, it has to possibly reflush its buffer to get zero latency playback when it resumes playing, therefore
	 * it could potentially cause a stall or take a small amount of time to do this.

	 * If you are using {@link FmodMode#NONBLOCKING}, note that a stream will go into {@link FmodOpenState#SETPOSITION} state (see {@link FmodSound#getOpenState})
	 * and sound commands will return {@link FmodResult#ERR_NOTREADY}. {@link FmodChannel#getPosition} will also not update until this non-blocking setposition
	 * operation has completed.

	 * Warning! Using a VBR source that does not have an associated seek table or seek information (such as MP3 or MOD/S3M/XM/IT) may cause inaccurate seeking
	 * if you specify {@link FmodTimeUnit#MS} or {@link FmodTimeUnit#PCM}. If you want FMOD to create a PCM vs bytes seek table so that seeking is accurate,
	 * you will have to specify {@link FmodMode#ACCURATETIME} when loading or opening the sound. This means there is a slight delay as FMOD scans the whole file
	 * when loading the sound to create this table.
	 *
	 * @param position Position of the channel to set in units specified in the 'postype' parameter.
	 * @param postype Time unit to set the channel position by. See {@link FmodTimeUnit}.
	 * @return If the function succeeds then the return value is {@link FmodResult#OK}. If the function fails then the return value will be one of the values defined in the {@link FmodResult} enumeration.
	 */
	//FMOD_RESULT F_API FMOD_Channel_SetPosition(FMOD_CHANNEL *channel, unsigned int position, FMOD_TIMEUNIT postype);
	public FmodResult setPosition(long position, long postype)
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_SetPosition(this.pointer, position, postype));
	}

	/** Returns the current playback position for the specified channel.
	 *
	 * @param position Address of a variable that receives the position of the sound.
	 * @param postype Time unit to retrieve into the position parameter. See {@link FmodTimeUnit}.
	 * @return If the function succeeds then the return value is {@link FmodResult#OK}. If the function fails then the return value will be one of the values defined in the {@link FmodResult} enumeration.
	 * @throws InvalidDestinationArraySizeException If the destination array length is not 1
	 */
	//FMOD_RESULT F_API FMOD_Channel_GetPosition(FMOD_CHANNEL *channel, unsigned int *position, FMOD_TIMEUNIT postype);
	public FmodResult getPosition(long[] position, long postype) throws InvalidDestinationArraySizeException
	{
		if (this.pointer == 0)
		{
			throw new PointerAlreadyFreedException();
		}

		if (position.length != 1)
		{
			throw new InvalidDestinationArraySizeException("position", 1, position.length);
		}

		return FmodResult.convert(JNIFmod.INSTANCE.FMOD_Channel_GetPosition(this.pointer, position, postype));
	}

	/*
	FMOD_RESULT F_API FMOD_Channel_SetChannelGroup          (FMOD_CHANNEL *channel, FMOD_CHANNELGROUP *channelgroup);
	FMOD_RESULT F_API FMOD_Channel_GetChannelGroup          (FMOD_CHANNEL *channel, FMOD_CHANNELGROUP **channelgroup);
	FMOD_RESULT F_API FMOD_Channel_SetLoopCount             (FMOD_CHANNEL *channel, int loopcount);
	FMOD_RESULT F_API FMOD_Channel_GetLoopCount             (FMOD_CHANNEL *channel, int *loopcount);
	FMOD_RESULT F_API FMOD_Channel_SetLoopPoints            (FMOD_CHANNEL *channel, unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype);
	FMOD_RESULT F_API FMOD_Channel_GetLoopPoints            (FMOD_CHANNEL *channel, unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype);
	FMOD_RESULT F_API FMOD_Channel_IsVirtual                (FMOD_CHANNEL *channel, FMOD_BOOL *isvirtual);
	FMOD_RESULT F_API FMOD_Channel_GetCurrentSound          (FMOD_CHANNEL *channel, FMOD_SOUND **sound);
	FMOD_RESULT F_API FMOD_Channel_GetIndex                 (FMOD_CHANNEL *channel, int *index);
	*/
}


text:
package dk.cs.aau.huppaal.backend;

import com.uppaal.engine.Engine;
import dk.cs.aau.huppaal.abstractions.Component;
import dk.cs.aau.huppaal.abstractions.Location;

import java.util.function.Consumer;

public interface IUPPAALDriver {
    int MAX_ENGINES = 10;
    Object engineLock = false; // Used to lock concurrent engine reference access

    void generateDebugUPPAALModel() throws Exception, BackendException;

    void saveUPPAALModel(String fileName) throws Exception;

    void buildHUPPAALDocument() throws Exception, BackendException;

    Thread runQuery(final String query,
                                  final Consumer<Boolean> success,
                                  final Consumer<BackendException> failure);

    Thread runQuery(final String query,
                    final Consumer<Boolean> success,
                    final Consumer<BackendException> failure,
                    final long timeout);

    Thread runQuery(final String query,
                    final Consumer<Boolean> success,
                    final Consumer<BackendException> failure,
                    final Consumer<Engine> engineConsumer);

    Thread runQuery(final String query,
                    final Consumer<Boolean> success,
                    final Consumer<BackendException> failure,
                    final Consumer<Engine> engineConsumer,
                    final QueryListener queryListener);

    void stopEngines();

    String getLocationReachableQuery(final Location location, final Component component);

    String getExistDeadlockQuery(final Component component);

    enum TraceType {
        NONE, SOME, SHORTEST, FASTEST;

        @Override
        public String toString() {
            return "trace " + this.ordinal();
        }
    }
}


text:
package org.lwjgl.vulkan;

import javax.annotation.*;

import java.nio.*;

import org.lwjgl.*;
import org.lwjgl.system.*;

import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.system.MemoryStack.*;

/**
 * Structure specifying parameters of a newly created subpass shading pipeline.
 *
 *
Valid Usage

 *
 *

 *
{@code subpass} must be created with {@link HUAWEISubpassShading#VK_PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI PIPELINE_BIND_POINT_SUBPASS_SHADING_HUAWEI} bind point

 *

 *
 *
Valid Usage (Implicit)

 *
 *

 *
{@code sType} must be {@link HUAWEISubpassShading#VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI}

 *

 *
 *
Layout

 *
 *

 * struct VkSubpassShadingPipelineCreateInfoHUAWEI {
 *     VkStructureType {@link #sType};
 *     void * {@link #pNext};
 *     VkRenderPass {@link #renderPass};
 *     uint32_t {@link #subpass};
 * }

 */
public class VkSubpassShadingPipelineCreateInfoHUAWEI extends Struct implements NativeResource {

    /** The struct size in bytes. */
    public static final int SIZEOF;

    /** The struct alignment in bytes. */
    public static final int ALIGNOF;

    /** The struct member offsets. */
    public static final int
        STYPE,
        PNEXT,
        RENDERPASS,
        SUBPASS;

    static {
        Layout layout = __struct(
            __member(4),
            __member(POINTER_SIZE),
            __member(8),
            __member(4)
        );

        SIZEOF = layout.getSize();
        ALIGNOF = layout.getAlignment();

        STYPE = layout.offsetof(0);
        PNEXT = layout.offsetof(1);
        RENDERPASS = layout.offsetof(2);
        SUBPASS = layout.offsetof(3);
    }

    /**
     * Creates a {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance at the current position of the specified {@link ByteBuffer} container. Changes to the buffer's content will be
     * visible to the struct instance and vice versa.
     *
     *
The created instance holds a strong reference to the container object.

     */
    public VkSubpassShadingPipelineCreateInfoHUAWEI(ByteBuffer container) {
        super(memAddress(container), __checkContainer(container, SIZEOF));
    }

    @Override
    public int sizeof() { return SIZEOF; }

    /** the type of this structure. */
    @NativeType("VkStructureType")
    public int sType() { return nsType(address()); }
    /** {@code NULL} or a pointer to a structure extending this structure. */
    @NativeType("void *")
    public long pNext() { return npNext(address()); }
    /** a handle to a render pass object describing the environment in which the pipeline will be used. The pipeline must only be used with a render pass instance compatible with the one provided. See Render Pass Compatibility for more information. */
    @NativeType("VkRenderPass")
    public long renderPass() { return nrenderPass(address()); }
    /** the index of the subpass in the render pass where this pipeline will be used. */
    @NativeType("uint32_t")
    public int subpass() { return nsubpass(address()); }

    /** Sets the specified value to the {@link #sType} field. */
    public VkSubpassShadingPipelineCreateInfoHUAWEI sType(@NativeType("VkStructureType") int value) { nsType(address(), value); return this; }
    /** Sets the {@link HUAWEISubpassShading#VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI} value to the {@link #sType} field. */
    public VkSubpassShadingPipelineCreateInfoHUAWEI sType$Default() { return sType(HUAWEISubpassShading.VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI); }
    /** Sets the specified value to the {@link #pNext} field. */
    public VkSubpassShadingPipelineCreateInfoHUAWEI pNext(@NativeType("void *") long value) { npNext(address(), value); return this; }

    /** Initializes this struct with the specified values. */
    public VkSubpassShadingPipelineCreateInfoHUAWEI set(
        int sType,
        long pNext
    ) {
        sType(sType);
        pNext(pNext);

        return this;
    }

    /**
     * Copies the specified struct data to this struct.
     *
     * @param src the source struct
     *
     * @return this struct
     */
    public VkSubpassShadingPipelineCreateInfoHUAWEI set(VkSubpassShadingPipelineCreateInfoHUAWEI src) {
        memCopy(src.address(), address(), SIZEOF);
        return this;
    }

    // -----------------------------------

    /** Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI malloc() {
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, nmemAllocChecked(SIZEOF));
    }

    /** Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI calloc() {
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, nmemCallocChecked(1, SIZEOF));
    }

    /** Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance allocated with {@link BufferUtils}. */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI create() {
        ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, memAddress(container), container);
    }

    /** Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance for the specified memory address. */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI create(long address) {
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, address);
    }

    /** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. */
    @Nullable
    public static VkSubpassShadingPipelineCreateInfoHUAWEI createSafe(long address) {
        return address == NULL ? null : wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, address);
    }

    /**
     * Returns a new {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
     *
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer malloc(int capacity) {
        return wrap(Buffer.class, nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
    }

    /**
     * Returns a new {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
     *
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer calloc(int capacity) {
        return wrap(Buffer.class, nmemCallocChecked(capacity, SIZEOF), capacity);
    }

    /**
     * Returns a new {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance allocated with {@link BufferUtils}.
     *
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer create(int capacity) {
        ByteBuffer container = __create(capacity, SIZEOF);
        return wrap(Buffer.class, memAddress(container), capacity, container);
    }

    /**
     * Create a {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance at the specified memory.
     *
     * @param address  the memory address
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer create(long address, int capacity) {
        return wrap(Buffer.class, address, capacity);
    }

    /** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. */
    @Nullable
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer createSafe(long address, int capacity) {
        return address == NULL ? null : wrap(Buffer.class, address, capacity);
    }

    /**
     * Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance allocated on the specified {@link MemoryStack}.
     *
     * @param stack the stack from which to allocate
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI malloc(MemoryStack stack) {
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, stack.nmalloc(ALIGNOF, SIZEOF));
    }

    /**
     * Returns a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
     *
     * @param stack the stack from which to allocate
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI calloc(MemoryStack stack) {
        return wrap(VkSubpassShadingPipelineCreateInfoHUAWEI.class, stack.ncalloc(ALIGNOF, 1, SIZEOF));
    }

    /**
     * Returns a new {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance allocated on the specified {@link MemoryStack}.
     *
     * @param stack    the stack from which to allocate
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer malloc(int capacity, MemoryStack stack) {
        return wrap(Buffer.class, stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
    }

    /**
     * Returns a new {@link VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
     *
     * @param stack    the stack from which to allocate
     * @param capacity the buffer capacity
     */
    public static VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer calloc(int capacity, MemoryStack stack) {
        return wrap(Buffer.class, stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
    }

    // -----------------------------------

    /** Unsafe version of {@link #sType}. */
    public static int nsType(long struct) { return UNSAFE.getInt(null, struct + VkSubpassShadingPipelineCreateInfoHUAWEI.STYPE); }
    /** Unsafe version of {@link #pNext}. */
    public static long npNext(long struct) { return memGetAddress(struct + VkSubpassShadingPipelineCreateInfoHUAWEI.PNEXT); }
    /** Unsafe version of {@link #renderPass}. */
    public static long nrenderPass(long struct) { return UNSAFE.getLong(null, struct + VkSubpassShadingPipelineCreateInfoHUAWEI.RENDERPASS); }
    /** Unsafe version of {@link #subpass}. */
    public static int nsubpass(long struct) { return UNSAFE.getInt(null, struct + VkSubpassShadingPipelineCreateInfoHUAWEI.SUBPASS); }

    /** Unsafe version of {@link #sType(int) sType}. */
    public static void nsType(long struct, int value) { UNSAFE.putInt(null, struct + VkSubpassShadingPipelineCreateInfoHUAWEI.STYPE, value); }
    /** Unsafe version of {@link #pNext(long) pNext}. */
    public static void npNext(long struct, long value) { memPutAddress(struct + VkSubpassShadingPipelineCreateInfoHUAWEI.PNEXT, value); }

    // -----------------------------------

    /** An array of {@link VkSubpassShadingPipelineCreateInfoHUAWEI} structs. */
    public static class Buffer extends StructBuffer<VkSubpassShadingPipelineCreateInfoHUAWEI, Buffer> implements NativeResource {

        private static final VkSubpassShadingPipelineCreateInfoHUAWEI ELEMENT_FACTORY = VkSubpassShadingPipelineCreateInfoHUAWEI.create(-1L);

        /**
         * Creates a new {@code VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer} instance backed by the specified container.
         *
         * Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
         * will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
         * by {@link VkSubpassShadingPipelineCreateInfoHUAWEI#SIZEOF}, and its mark will be undefined.
         *
         *
The created buffer instance holds a strong reference to the container object.

         */
        public Buffer(ByteBuffer container) {
            super(container, container.remaining() / SIZEOF);
        }

        public Buffer(long address, int cap) {
            super(address, null, -1, 0, cap, cap);
        }

        Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) {
            super(address, container, mark, pos, lim, cap);
        }

        @Override
        protected Buffer self() {
            return this;
        }

        @Override
        protected VkSubpassShadingPipelineCreateInfoHUAWEI getElementFactory() {
            return ELEMENT_FACTORY;
        }

        /** @return the value of the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#sType} field. */
        @NativeType("VkStructureType")
        public int sType() { return VkSubpassShadingPipelineCreateInfoHUAWEI.nsType(address()); }
        /** @return the value of the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#pNext} field. */
        @NativeType("void *")
        public long pNext() { return VkSubpassShadingPipelineCreateInfoHUAWEI.npNext(address()); }
        /** @return the value of the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#renderPass} field. */
        @NativeType("VkRenderPass")
        public long renderPass() { return VkSubpassShadingPipelineCreateInfoHUAWEI.nrenderPass(address()); }
        /** @return the value of the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#subpass} field. */
        @NativeType("uint32_t")
        public int subpass() { return VkSubpassShadingPipelineCreateInfoHUAWEI.nsubpass(address()); }

        /** Sets the specified value to the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#sType} field. */
        public VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer sType(@NativeType("VkStructureType") int value) { VkSubpassShadingPipelineCreateInfoHUAWEI.nsType(address(), value); return this; }
        /** Sets the {@link HUAWEISubpassShading#VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI} value to the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#sType} field. */
        public VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer sType$Default() { return sType(HUAWEISubpassShading.VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI); }
        /** Sets the specified value to the {@link VkSubpassShadingPipelineCreateInfoHUAWEI#pNext} field. */
        public VkSubpassShadingPipelineCreateInfoHUAWEI.Buffer pNext(@NativeType("void *") long value) { VkSubpassShadingPipelineCreateInfoHUAWEI.npNext(address(), value); return this; }

    }

}


text:
package labelling

import (
	"reflect"
	"strings"
	"testing"
)

func stringInArray(list []string, s string) bool {
	for i := 0; i < len(list); i++ {
		if strings.ToLower(list[i]) == strings.ToLower(s) {
			return true
		}
	}

	return false
}

func isQuantityAtBeginning(sentence []string, i int, labelCurr string, labelPrev string) float64 {
	if i == 0 && stringInArray([]string{"1", "2", "3", "4", "5", "6", "7", "8", "9"}, sentence[i]) && labelCurr == "quantity" {
		return 1
	}

	return 0
}

func unitFollowsQuantity(sentence []string, i int, labelCurr string, labelPrev string) float64 {
	if labelPrev == "quantity" && labelCurr == "units" {
		return 1
	}

	return 0
}

func ingredientFollowsUnit(sentence []string, i int, labelCurr string, labelPrev string) float64 {
	if labelPrev == "units" && labelCurr == "ingredient" {
		return 1
	}

	return 0
}

func TestFindBestLabelling(t *testing.T) {
	sentence := strings.Split("1 cup apples", " ")
	labels := []string{"quantity", "units", "ingredient"}
	features := []Feature{
		{1.0, isQuantityAtBeginning},
		{1.0, unitFollowsQuantity},
		{1.0, ingredientFollowsUnit},
	}
	bestLabelling := FindBestLabelling(sentence, labels, features)

	expectedLabelling := []string{"quantity", "units", "ingredient"}

	if reflect.DeepEqual(bestLabelling, expectedLabelling) != true {
		t.Errorf("Expected %v to equal %v", bestLabelling, expectedLabelling)
	}
}


text:
package main

import (
	"strconv"
	"strings"
)

// modalAddJob render modal popup for add a job to tube.
func modalAddJob(tube string) string {
	buf := strings.Builder{}
	buf.WriteString(`

<button type="button" class="close" data-dismiss="modal">×</button>
Add new job

<form class="form-horizontal"><fieldset>
<button type="button" class="close" onclick="$('#tubeSaveAlert').fadeOut('fast');">×</button>Error! Required fields are marked *

*Tube name
<input class="form-control focused" id="tubeName" type="text" value="`)
	buf.WriteString(tube)
	buf.WriteString(`">

*Data
<textarea id="tubeData" rows="3" class="form-control"></textarea>

Priority
<input class="form-control focused" id="tubePriority" type="number" value="`)
	buf.WriteString(strconv.Itoa(DefaultPriority))
	buf.WriteString(`"></div></div><div class="form-group"><label class="control-label col-xs-3">Delay</label><div class="col-xs-9"><input class="form-control focused" id="tubeDelay" type="number" value="`)
	buf.WriteString(strconv.Itoa(DefaultDelay))
	buf.WriteString(`"></div></div><div class="form-group"><label class="control-label col-xs-3">TTR</label><div class="col-xs-9"><input class="form-control focused" id="tubeTtr" type="number" value="`)
	buf.WriteString(strconv.Itoa(DefaultTTR))
	buf.WriteString(`">

CloseSave changes
</fieldset></form>

`)
	return buf.String()
}


text:
<?php

class m120720_181805_add_reject_type_column_to_da_reject_patient extends CDbMigration
{
  private $_tableName = "da_reject_patients" ;
	public function up()	{
    $this->addColumn($this->_tableName, "reject_type" , "int(4) DEFAULT 1 ");
	}

	public function down(){
		$this->dropColumn($this->_tableName, "reject_type" );
	}
}


text:
package io.quarkus.funqy.test;

import static org.hamcrest.Matchers.equalTo;

import java.util.Base64;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.quarkus.test.QuarkusUnitTest;
import io.restassured.RestAssured;

public class BinaryPayloadTest {
    @RegisterExtension
    static QuarkusUnitTest test = new QuarkusUnitTest()
            .withApplicationRoot((jar) -> jar
                    .addClasses(BinaryPayload.class));

    private static final byte[] IN = new byte[] { 0x12, 0x34, 0x56, 0x78 };
    private static final String IN_AS_BASE_64 = Base64.getEncoder().encodeToString(IN);
    private static final byte[] OUT = new byte[] { 0x24, 0x68, (byte) 0xAC, (byte) 0xf0 };
    private static final String OUT_AS_BASE_64 = Base64.getEncoder().encodeToString(OUT);

    @Test
    void testBinaryEncoding() {

        byte[] ba = RestAssured.given().contentType("application/octet-stream")
                .header("ce-specversion", "1.0")
                .header("ce-id", "test-id")
                .header("ce-type", "test-type")
                .header("ce-source", "test-source")
                .body(IN)
                .post("/")
                .then()
                .statusCode(200)
                .extract().response().getBody().asByteArray();

        Assertions.assertArrayEquals(OUT, ba);
    }

    @Test
    void testStructuredEncodingV1() {
        RestAssured.given().contentType("application/cloudevents+json")
                .body(STRUCTURED_ENCODED_EVENT_V1_1_BODY)
                .post("/")
                .then()
                .statusCode(200)
                .body("data_base64", equalTo(OUT_AS_BASE_64));
    }

    @Test
    void testStructuredEncodingV03() {
        RestAssured.given().contentType("application/cloudevents+json")
                .body(STRUCTURED_ENCODED_EVENT_V03_BODY)
                .post("/")
                .then()
                .statusCode(200)
                .body("datacontentencoding", equalTo("base64"))
                .body("data", equalTo(OUT_AS_BASE_64));
    }

    private static final String STRUCTURED_ENCODED_EVENT_V1_1_BODY = "{ \"id\" : \"test-id\", " +
            "  \"specversion\": \"1.1\", " +
            "  \"source\": \"test-source\", " +
            "  \"type\": \"test-type\", " +
            "  \"data_base64\": \"" + IN_AS_BASE_64 + "\" " +
            "}";

    private static final String STRUCTURED_ENCODED_EVENT_V03_BODY = "{ \"id\" : \"test-id\", " +
            "  \"specversion\": \"0.3\", " +
            "  \"source\": \"test-source\", " +
            "  \"type\": \"test-type\", " +
            "  \"datacontentencoding\": \"base64\", " +
            "  \"data\": \"" + IN_AS_BASE_64 + "\" " +
            "}";
}


text:
namespace BankAplicationClient.GUI
{
    partial class VentanaCuentaCredito
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.tabControl = new System.Windows.Forms.TabControl();
            this.tabGeneral = new System.Windows.Forms.TabPage();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.txtSaldoCredito = new System.Windows.Forms.TextBox();
            this.btnConsultaCredito = new System.Windows.Forms.Button();
            this.txtApellidoPaterno = new System.Windows.Forms.TextBox();
            this.txtApellidoMaterno = new System.Windows.Forms.TextBox();
            this.txtNoCuenta = new System.Windows.Forms.TextBox();
            this.txtNombres = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.tabTransparencia = new System.Windows.Forms.TabPage();
            this.txtMontoTransferir = new System.Windows.Forms.TextBox();
            this.btntransferir = new System.Windows.Forms.Button();
            this.label11 = new System.Windows.Forms.Label();
            this.txtPaternoTransferir = new System.Windows.Forms.TextBox();
            this.txtMaternoTransferir = new System.Windows.Forms.TextBox();
            this.txtNombresTransferir = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.txtNoCuentaTransferir = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.cbTransferir = new System.Windows.Forms.ComboBox();
            this.label12 = new System.Windows.Forms.Label();
            this.tabMovimientos = new System.Windows.Forms.TabPage();
            this.btnConsultaMovimientosCredito = new System.Windows.Forms.Button();
            this.tabControl.SuspendLayout();
            this.tabGeneral.SuspendLayout();
            this.tabTransparencia.SuspendLayout();
            this.tabMovimientos.SuspendLayout();
            this.SuspendLayout();
            //
            // tabControl
            //
            this.tabControl.Controls.Add(this.tabGeneral);
            this.tabControl.Controls.Add(this.tabTransparencia);
            this.tabControl.Controls.Add(this.tabMovimientos);
            this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl.Location = new System.Drawing.Point(0, 0);
            this.tabControl.Name = "tabControl";
            this.tabControl.SelectedIndex = 0;
            this.tabControl.Size = new System.Drawing.Size(506, 364);
            this.tabControl.TabIndex = 1;
            this.tabControl.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tabControl_Selecting);
            //
            // tabGeneral
            //
            this.tabGeneral.Controls.Add(this.textBox1);
            this.tabGeneral.Controls.Add(this.label6);
            this.tabGeneral.Controls.Add(this.label5);
            this.tabGeneral.Controls.Add(this.txtSaldoCredito);
            this.tabGeneral.Controls.Add(this.btnConsultaCredito);
            this.tabGeneral.Controls.Add(this.txtApellidoPaterno);
            this.tabGeneral.Controls.Add(this.txtApellidoMaterno);
            this.tabGeneral.Controls.Add(this.txtNoCuenta);
            this.tabGeneral.Controls.Add(this.txtNombres);
            this.tabGeneral.Controls.Add(this.label4);
            this.tabGeneral.Controls.Add(this.label3);
            this.tabGeneral.Controls.Add(this.label2);
            this.tabGeneral.Controls.Add(this.label1);
            this.tabGeneral.Location = new System.Drawing.Point(4, 22);
            this.tabGeneral.Name = "tabGeneral";
            this.tabGeneral.Padding = new System.Windows.Forms.Padding(3);
            this.tabGeneral.Size = new System.Drawing.Size(498, 338);
            this.tabGeneral.TabIndex = 0;
            this.tabGeneral.Text = "General";
            this.tabGeneral.UseVisualStyleBackColor = true;
            //
            // textBox1
            //
            this.textBox1.Enabled = false;
            this.textBox1.Location = new System.Drawing.Point(127, 117);
            this.textBox1.MaxLength = 100;
            this.textBox1.Name = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size = new System.Drawing.Size(363, 20);
            this.textBox1.TabIndex = 12;
            this.textBox1.TabStop = false;
            //
            // label6
            //
            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(8, 120);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(113, 13);
            this.label6.TabIndex = 11;
            this.label6.Text = "No. Tarjeta de credito:";
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(8, 195);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(73, 13);
            this.label5.TabIndex = 10;
            this.label5.Text = "Saldo Credito:";
            //
            // txtSaldoCredito
            //
            this.txtSaldoCredito.Enabled = false;
            this.txtSaldoCredito.Location = new System.Drawing.Point(114, 192);
            this.txtSaldoCredito.MaxLength = 100;
            this.txtSaldoCredito.Name = "txtSaldoCredito";
            this.txtSaldoCredito.ReadOnly = true;
            this.txtSaldoCredito.Size = new System.Drawing.Size(250, 20);
            this.txtSaldoCredito.TabIndex = 9;
            //
            // btnConsultaCredito
            //
            this.btnConsultaCredito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.btnConsultaCredito.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.btnConsultaCredito.Location = new System.Drawing.Point(370, 192);
            this.btnConsultaCredito.Name = "btnConsultaCredito";
            this.btnConsultaCredito.Size = new System.Drawing.Size(120, 23);
            this.btnConsultaCredito.TabIndex = 8;
            this.btnConsultaCredito.Text = "Consulta Credito";
            this.btnConsultaCredito.UseVisualStyleBackColor = true;
            this.btnConsultaCredito.Click += new System.EventHandler(this.btnConsultaCredito_Click);
            //
            // txtApellidoPaterno
            //
            this.txtApellidoPaterno.Enabled = false;
            this.txtApellidoPaterno.Location = new System.Drawing.Point(127, 37);
            this.txtApellidoPaterno.MaxLength = 100;
            this.txtApellidoPaterno.Name = "txtApellidoPaterno";
            this.txtApellidoPaterno.ReadOnly = true;
            this.txtApellidoPaterno.Size = new System.Drawing.Size(363, 20);
            this.txtApellidoPaterno.TabIndex = 7;
            this.txtApellidoPaterno.TabStop = false;
            //
            // txtApellidoMaterno
            //
            this.txtApellidoMaterno.Enabled = false;
            this.txtApellidoMaterno.Location = new System.Drawing.Point(127, 64);
            this.txtApellidoMaterno.MaxLength = 100;
            this.txtApellidoMaterno.Name = "txtApellidoMaterno";
            this.txtApellidoMaterno.ReadOnly = true;
            this.txtApellidoMaterno.Size = new System.Drawing.Size(363, 20);
            this.txtApellidoMaterno.TabIndex = 6;
            this.txtApellidoMaterno.TabStop = false;
            //
            // txtNoCuenta
            //
            this.txtNoCuenta.Enabled = false;
            this.txtNoCuenta.Location = new System.Drawing.Point(127, 91);
            this.txtNoCuenta.MaxLength = 100;
            this.txtNoCuenta.Name = "txtNoCuenta";
            this.txtNoCuenta.ReadOnly = true;
            this.txtNoCuenta.Size = new System.Drawing.Size(363, 20);
            this.txtNoCuenta.TabIndex = 5;
            this.txtNoCuenta.TabStop = false;
            //
            // txtNombres
            //
            this.txtNombres.Enabled = false;
            this.txtNombres.Location = new System.Drawing.Point(127, 10);
            this.txtNombres.MaxLength = 100;
            this.txtNombres.Name = "txtNombres";
            this.txtNombres.ReadOnly = true;
            this.txtNombres.Size = new System.Drawing.Size(363, 20);
            this.txtNombres.TabIndex = 4;
            this.txtNombres.TabStop = false;
            //
            // label4
            //
            this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(8, 40);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(87, 13);
            this.label4.TabIndex = 3;
            this.label4.Text = "Apellido Paterno:";
            //
            // label3
            //
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(8, 67);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(89, 13);
            this.label3.TabIndex = 2;
            this.label3.Text = "Apellido Materno:";
            //
            // label2
            //
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(8, 94);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(64, 13);
            this.label2.TabIndex = 1;
            this.label2.Text = "No. Cuenta:";
            //
            // label1
            //
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(8, 13);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(58, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Nombre(s):";
            //
            // tabTransparencia
            //
            this.tabTransparencia.Controls.Add(this.txtMontoTransferir);
            this.tabTransparencia.Controls.Add(this.btntransferir);
            this.tabTransparencia.Controls.Add(this.label11);
            this.tabTransparencia.Controls.Add(this.txtPaternoTransferir);
            this.tabTransparencia.Controls.Add(this.txtMaternoTransferir);
            this.tabTransparencia.Controls.Add(this.txtNombresTransferir);
            this.tabTransparencia.Controls.Add(this.label8);
            this.tabTransparencia.Controls.Add(this.label9);
            this.tabTransparencia.Controls.Add(this.label10);
            this.tabTransparencia.Controls.Add(this.txtNoCuentaTransferir);
            this.tabTransparencia.Controls.Add(this.label7);
            this.tabTransparencia.Controls.Add(this.cbTransferir);
            this.tabTransparencia.Controls.Add(this.label12);
            this.tabTransparencia.Location = new System.Drawing.Point(4, 22);
            this.tabTransparencia.Name = "tabTransparencia";
            this.tabTransparencia.Padding = new System.Windows.Forms.Padding(3);
            this.tabTransparencia.Size = new System.Drawing.Size(498, 338);
            this.tabTransparencia.TabIndex = 1;
            this.tabTransparencia.Text = "Transferencia";
            this.tabTransparencia.UseVisualStyleBackColor = true;
            //
            // txtMontoTransferir
            //
            this.txtMontoTransferir.Location = new System.Drawing.Point(114, 157);
            this.txtMontoTransferir.Name = "txtMontoTransferir";
            this.txtMontoTransferir.Size = new System.Drawing.Size(295, 20);
            this.txtMontoTransferir.TabIndex = 29;
            //
            // btntransferir
            //
            this.btntransferir.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.btntransferir.Location = new System.Drawing.Point(415, 155);
            this.btntransferir.Name = "btntransferir";
            this.btntransferir.Size = new System.Drawing.Size(75, 23);
            this.btntransferir.TabIndex = 28;
            this.btntransferir.Text = "Transferir";
            this.btntransferir.UseVisualStyleBackColor = true;
            this.btntransferir.Click += new System.EventHandler(this.btntransferir_Click);
            //
            // label11
            //
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(8, 160);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(92, 13);
            this.label11.TabIndex = 27;
            this.label11.Text = "Monto a transferir:";
            //
            // txtPaternoTransferir
            //
            this.txtPaternoTransferir.Location = new System.Drawing.Point(114, 85);
            this.txtPaternoTransferir.MaxLength = 100;
            this.txtPaternoTransferir.Name = "txtPaternoTransferir";
            this.txtPaternoTransferir.Size = new System.Drawing.Size(376, 20);
            this.txtPaternoTransferir.TabIndex = 26;
            this.txtPaternoTransferir.TabStop = false;
            //
            // txtMaternoTransferir
            //
            this.txtMaternoTransferir.Location = new System.Drawing.Point(114, 112);
            this.txtMaternoTransferir.MaxLength = 100;
            this.txtMaternoTransferir.Name = "txtMaternoTransferir";
            this.txtMaternoTransferir.Size = new System.Drawing.Size(376, 20);
            this.txtMaternoTransferir.TabIndex = 25;
            this.txtMaternoTransferir.TabStop = false;
            //
            // txtNombresTransferir
            //
            this.txtNombresTransferir.Location = new System.Drawing.Point(114, 58);
            this.txtNombresTransferir.MaxLength = 100;
            this.txtNombresTransferir.Name = "txtNombresTransferir";
            this.txtNombresTransferir.Size = new System.Drawing.Size(376, 20);
            this.txtNombresTransferir.TabIndex = 24;
            this.txtNombresTransferir.TabStop = false;
            //
            // label8
            //
            this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(8, 88);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(87, 13);
            this.label8.TabIndex = 23;
            this.label8.Text = "Apellido Paterno:";
            //
            // label9
            //
            this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(8, 115);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(89, 13);
            this.label9.TabIndex = 22;
            this.label9.Text = "Apellido Materno:";
            //
            // label10
            //
            this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(8, 61);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(58, 13);
            this.label10.TabIndex = 21;
            this.label10.Text = "Nombre(s):";
            //
            // txtNoCuentaTransferir
            //
            this.txtNoCuentaTransferir.Location = new System.Drawing.Point(168, 28);
            this.txtNoCuentaTransferir.MaxLength = 8;
            this.txtNoCuentaTransferir.Name = "txtNoCuentaTransferir";
            this.txtNoCuentaTransferir.Size = new System.Drawing.Size(322, 20);
            this.txtNoCuentaTransferir.TabIndex = 20;
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(138, 31);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(24, 13);
            this.label7.TabIndex = 19;
            this.label7.Text = "No:";
            //
            // cbTransferir
            //
            this.cbTransferir.FormattingEnabled = true;
            this.cbTransferir.Items.AddRange(new object[] {
            "No. Cuenta",
            "No. Tajeta de debito "});
            this.cbTransferir.Location = new System.Drawing.Point(11, 28);
            this.cbTransferir.Name = "cbTransferir";
            this.cbTransferir.Size = new System.Drawing.Size(121, 21);
            this.cbTransferir.TabIndex = 18;
            //
            // label12
            //
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(8, 12);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(230, 13);
            this.label12.TabIndex = 17;
            this.label12.Text = "Ingresa el numero de cuenta o tarjeta de debito";
            //
            // tabMovimientos
            //
            this.tabMovimientos.Controls.Add(this.btnConsultaMovimientosCredito);
            this.tabMovimientos.Location = new System.Drawing.Point(4, 22);
            this.tabMovimientos.Name = "tabMovimientos";
            this.tabMovimientos.Size = new System.Drawing.Size(498, 338);
            this.tabMovimientos.TabIndex = 2;
            this.tabMovimientos.Text = "Movimientos";
            this.tabMovimientos.UseVisualStyleBackColor = true;
            //
            // btnConsultaMovimientosCredito
            //
            this.btnConsultaMovimientosCredito.Location = new System.Drawing.Point(415, 307);
            this.btnConsultaMovimientosCredito.Name = "btnConsultaMovimientosCredito";
            this.btnConsultaMovimientosCredito.Size = new System.Drawing.Size(75, 23);
            this.btnConsultaMovimientosCredito.TabIndex = 0;
            this.btnConsultaMovimientosCredito.Text = "Consultar";
            this.btnConsultaMovimientosCredito.UseVisualStyleBackColor = true;
            this.btnConsultaMovimientosCredito.Click += new System.EventHandler(this.btnConsultaMovimientosCredito_Click);
            //
            // VentanaCuentaCredito
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(506, 364);
            this.Controls.Add(this.tabControl);
            this.Name = "VentanaCuentaCredito";
            this.Text = "VentanaCuentaCredito";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.VentanaCuentaCredito_FormClosing);
            this.tabControl.ResumeLayout(false);
            this.tabGeneral.ResumeLayout(false);
            this.tabGeneral.PerformLayout();
            this.tabTransparencia.ResumeLayout(false);
            this.tabTransparencia.PerformLayout();
            this.tabMovimientos.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TabControl tabControl;
        private System.Windows.Forms.TabPage tabGeneral;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox txtSaldoCredito;
        private System.Windows.Forms.Button btnConsultaCredito;
        private System.Windows.Forms.TextBox txtApellidoPaterno;
        private System.Windows.Forms.TextBox txtApellidoMaterno;
        private System.Windows.Forms.TextBox txtNoCuenta;
        private System.Windows.Forms.TextBox txtNombres;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TabPage tabTransparencia;
        private System.Windows.Forms.TabPage tabMovimientos;
        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txtMontoTransferir;
        private System.Windows.Forms.Button btntransferir;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.TextBox txtPaternoTransferir;
        private System.Windows.Forms.TextBox txtMaternoTransferir;
        private System.Windows.Forms.TextBox txtNombresTransferir;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.TextBox txtNoCuentaTransferir;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.ComboBox cbTransferir;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.Button btnConsultaMovimientosCredito;
    }
}


text:
<?php

/**
 * Subclass for representing a row from the 'mlm_account_ledger_20141231' table.
 *
 *
 *
 * @package lib.model
 */
class MlmAccountLedger20141231 extends BaseMlmAccountLedger20141231
{
}


text:
import { Injectable } from '@angular/core';

import { ICustomer } from '../../shared/interfaces';

@Injectable()
export class TrackByService {

  customer(index: number, customer: ICustomer) {
    return customer._id;
  }

}


text:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include "wannabe-lisp.h"

/*
 * Lots of ugly glue between the JS/HTML
 * code and the C code. It's basically
 * a mishmash of bits of `main.c' and
 * `linereader.c', with lots of hacks to prevent
 * strange issues that occur with emscripten.
 * (IIRC it's very anal about stack-based buffers,
 * or something like that)
 *
 * Special warning:
 *  THE GUI IS A MASSIVE HACK
 *  THE GUI IS A MASSIVE HACK
 *  THE GUI IS A MASSIVE HACK
 */

int interactive = 1;
env_t *global;		/* pointer to global environment */
jmp_buf repl_jmp;	/* jump pointer to REPL used to
			 * recover from in-code errors */
int save_mode = 0;
FILE *save_file;

static char *buf;

char* out;
char *p;
list_t *expr;
int i, c;
char *ptr, *old;
FILE *prefix;
int ready = 0;

int bal = -1;
int iter = 0;

/* ============= C -> JavaScript hooks ============= */

void c_writeback(char *str)
{
	char *buf = malloc(ERROR_TEXT_BUFSIZ);
	if (!buf)
		exit(1);
	sprintf(buf, "writeback(\"%s\");", str);
	emscripten_run_script(buf);
	free(buf);
}

void c_writeback_nl(char *str)
{
	char *buf = malloc(ERROR_TEXT_BUFSIZ);
	if (!buf)
		exit(1);
	sprintf(buf, "writeback_nl(\"%s\");", str);
	emscripten_run_script(buf);
	free(buf);
}

void c_writedebug(char *str)
{
	char *buf = malloc(DEBUGLOG_BUFSIZ);
	if (!buf)
		exit(1);
	sprintf(buf, "writedebug(\"%s\");", str);
	emscripten_run_script(buf);
	free(buf);
}

void c_write_char(char *str)
{
	char *buf = malloc(ERROR_TEXT_BUFSIZ);
	if (!buf)
		exit(1);
	sprintf(buf, "write_char(\"%s\");", str);
	emscripten_run_script(buf);
	free(buf);
}

/* ============================================ */

/*
 * JavaScript calls this when the C code
 * crashes (segfaults) or does an exit(1),
 * which it does when there are user code
 * errors
 */
int jsgui_error_handler(int derp)
{
	/*
	 * I have to do this reallocation thing
	 * for some reason,
	 * else the emscripten-ified code fucks up
	 */
	free(buf);
	buf = malloc(LINEBUFSIZ);
	if (!buf)
		exit(1);
	sprintf(buf, "");

	bal = -1;
	gc();

	stacktracer_reset();

	c_writeback("]=> ");
	iter = 1;

	return 0;
}

/*
 * JavaScript calls this routine
 * after the user types a line
 * in the GUI terminal box.
 */
int handle_gui_line(char *lin)
{
	extern int do_setup(int waste);
	int ind;

	/* initialize if necessary */
	if (!ready)
		do_setup(0);

	/* ignore empty lines, comments */
	if (!*lin || check_comment(lin)) {
		/*
		 * Ensure a new "]=>" prompt is given
		 * after a comment is typed
		 * on a "]=>" prompt
		 */
		if (iter == 1)
			--iter;
	}
	else {
		/* add line to buffer */
		strcat(buf, lin);
		strcat(buf, " ");

		/* check paren balance */
		bal = 0;
		for (p = buf; *p; ++p) {
			if (*p == '(')
				++bal;
			else if (*p == ')')
				--bal;
		}

		/* deal with negative nest */
		if (bal < 0) {
			error_msg("Botched syntax");
			code_error();
		}
	}

	/* If all parentheses have been closed,
	 * do eval-print on buffer */
	if (bal == 0 && strlen(buf) >= 1) {
		/* parse input into a tree */
		expr = new_list();
		build(expr, buf);

		/* eval and print */
		*out = 0;
		printout(call_eval(expr, global), out);
		c_writeback_nl(out);

		/* clean up for the next iteration */
		gc();

		/*
		 * I have to do this reallocation thing
		 * for some reason,
		 * else the emscripten-ified code fucks up
		 */
		free(buf);
		buf = malloc(LINEBUFSIZ);
		sprintf(buf, "");

		/*
		 * Reset prompt counter, parentheses
		 * balance register
		 */
		iter = 0;
		bal = -1;
	}

	/* =================== */

	/* Print prompt */
	if (!iter++)
		/* new logical line */
		c_writeback("]=> ");
	else {
		/* new user line, missing parentheses */
		c_writeback("... ");
		/* auto-indent */
		if (bal > 0) {
			for (ind = 0; ind < bal; ++ind) {
				/*
				 * `writechar', as opposed to `writeback',
				 * gets this included into the stuff
				 * that gets sent back to the C core,
				 * and also makes it to the clipboard
				 * when requested
				 */
				c_write_char(" ");
				c_write_char(" ");
				c_write_char(" ");
			}
		}
	}

	/* Clear debug trace after every input line */
	stacktracer_reset();

	return 0;
}

/*
 * Allocate heap memory,
 * setup debugmodule, etc.
 */
int do_setup(int waste)
{
	c_writeback_nl("wannabe-lisp GUI mode has been started");

	/* setup stacktracer */
	c_writeback_nl("setting up debug tracer...");
	stacktracer_init();

	c_writeback_nl("allocating buffers...");
	buf = malloc(LINEBUFSIZ);
	out = malloc(LINEBUFSIZ);

	if (!buf || !out) {
		c_writeback_nl("jsgui-main.c: setup: malloc() failed");
		exit(0);
	}

	/* safety herp derp */
	sprintf(buf, "");

	/* Create global environment */
	c_writeback_nl("creating global environment...");
	global = new_env();

	/* Set up the built-in procedure symbols
	 * for arithmetic, comparisons, etc. */
	c_writeback_nl("installing primitives...");
	install_primitives(global);

	/*
	 * Load up some composite primitives.
	 * `prefix.txt' gets generated by `gen-prefix.py',
	 * see the latter for further details about
	 * these primitives
	 */
	load_code_from_file("prefix.txt");

	c_writeback_nl("ready.");
	ready = 1;

	sprintf(buf, "");

	c_writeback("]=> ");
	++iter;

	/*
	 * clear debug goo originating
	 * from primitives/prefix installation
	 */
	stacktracer_reset();

	return 0;
}


text:
Ella CMS
########

Ella is opensource CMS based on Django framework, designed for flexibility.

It is composed from several modules:

* **Ella core** is the main module which links the rest together. It
  defines architecture on which other modules are built but doesn't do
  anything really usefull all alone.
* **Ella core plugins** are plugins that are shipped in one package
  together with Ella. There are **articles** and **positions** which
  we consider to be a basic toolbox for each Ella site.
* **Other Ella plugins** are standalone applications (and therfore
  not shipped with the core) that provide some
  specific functionality using **Ella's architecture**. We can mention
  polls, galleries, quizes and many more.

**Feature highlights**:

* Simple organization of content based on categories
* Efficent implementation of the published content
* In-build photo formating backend
* Django-admin ready
* Plugin system
* Flexibile
* Scalable
* Extensible
* Caching-friendly
* Well tested
* Proven in production environment

Django < 1.7
************

For use with django < 1.7 use south >= 1.0.0 or
set SOUTH_MIGRATION_MODULES setting for ella modules
to south_migrations directory (south >= 1.0.0 looks to south_migrations directory by default).

If you need migrate your project from ella 2.x to ella 3.x use django < 1.7 and south,
then migrate your project and then you can upgrade to django 1.7 or higher.

News
****

Currently, we released the **3.x version** which features a **major cleanup**
of the code a **removal of unneeded dependencies**.

More news are on the way as we are going to make a nicely-tailored admin
specifically made for the need of news writers and editors.

Docs
****

Docs are hosted on readthedocs.org, go to http://ella.rtfd.org.

Community
*********

* We stick with github to manage the issues, see https://github.com/ella/ella/issues.
* mailing list can be found at ella-project@googlegroups.com
* IRC channel #ellacms on freenode.net

Quickstart
**********

Have a look at the docs: http://readthedocs.org/docs/ella/en/latest/quickstart.html.

Build status
************

:Master branch:

  .. image:: https://secure.travis-ci.org/ella/ella.png
     :alt: Travis CI - Distributed build platform for the open source community
     :target: http://travis-ci.org/#!/ella/ella