"""ANTLR3 runtime package"""

# begin[licence]
#
# [The "BSD licence"]
# Copyright (c) 2005-2008 Terence Parr
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
#    derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# end[licence]

from google.appengine._internal.antlr3.constants import EOF, DEFAULT_CHANNEL, INVALID_TOKEN_TYPE

############################################################################
#
# basic token interface
#
############################################################################

class Token(object):
    """@brief Abstract token baseclass."""

    def getText(self):
        """@brief Get the text of the token.

        Using setter/getter methods is deprecated. Use o.text instead.
        """
        raise NotImplementedError

    def setText(self, text):
        """@brief Set the text of the token.

        Using setter/getter methods is deprecated. Use o.text instead.
        """
        raise NotImplementedError

    def getType(self):
        """@brief Get the type of the token.

        Using setter/getter methods is deprecated. Use o.type instead."""

        raise NotImplementedError

    def setType(self, ttype):
        """@brief Get the type of the token.

        Using setter/getter methods is deprecated. Use o.type instead."""

        raise NotImplementedError

    def getLine(self):
        """@brief Get the line number on which this token was matched

        Lines are numbered 1..n

        Using setter/getter methods is deprecated. Use o.line instead."""

        raise NotImplementedError

    def setLine(self, line):
        """@brief Set the line number on which this token was matched

        Using setter/getter methods is deprecated. Use o.line instead."""

        raise NotImplementedError

    def getCharPositionInLine(self):
        """@brief Get the column of the tokens first character,

        Columns are numbered 0..n-1

        Using setter/getter methods is deprecated. Use o.charPositionInLine instead."""

        raise NotImplementedError

    def setCharPositionInLine(self, pos):
        """@brief Set the column of the tokens first character,

        Using setter/getter methods is deprecated. Use o.charPositionInLine instead."""

        raise NotImplementedError

    def getChannel(self):
        """@brief Get the channel of the token

        Using setter/getter methods is deprecated. Use o.channel instead."""

        raise NotImplementedError

    def setChannel(self, channel):
        """@brief Set the channel of the token

        Using setter/getter methods is deprecated. Use o.channel instead."""

        raise NotImplementedError

    def getTokenIndex(self):
        """@brief Get the index in the input stream.

        An index from 0..n-1 of the token object in the input stream.
        This must be valid in order to use the ANTLRWorks debugger.

        Using setter/getter methods is deprecated. Use o.index instead."""

        raise NotImplementedError

    def setTokenIndex(self, index):
        """@brief Set the index in the input stream.

        Using setter/getter methods is deprecated. Use o.index instead."""

        raise NotImplementedError

    def getInputStream(self):
        """@brief From what character stream was this token created.

        You don't have to implement but it's nice to know where a Token
        comes from if you have include files etc... on the input."""

        raise NotImplementedError

    def setInputStream(self, input):
        """@brief From what character stream was this token created.

        You don't have to implement but it's nice to know where a Token
        comes from if you have include files etc... on the input."""

        raise NotImplementedError

############################################################################
#
# token implementations
#
# Token
# +- CommonToken
# \- ClassicToken
#
############################################################################

class CommonToken(Token):
    """@brief Basic token implementation.

    This implementation does not copy the text from the input stream upon
    creation, but keeps start/stop pointers into the stream to avoid
    unnecessary copy operations.

    """

    def __init__(self, type=None, channel=DEFAULT_CHANNEL, text=None,
                 input=None, start=None, stop=None, oldToken=None):
        Token.__init__(self)

        if oldToken is not None:
            self.type = oldToken.type
            self.line = oldToken.line
            self.charPositionInLine = oldToken.charPositionInLine
            self.channel = oldToken.channel
            self.index = oldToken.index
            self._text = oldToken._text
            if isinstance(oldToken, CommonToken):
                self.input = oldToken.input
                self.start = oldToken.start
                self.stop = oldToken.stop

        else:
            self.type = type
            self.input = input
            self.charPositionInLine = -1 # set to invalid position
            self.line = 0
            self.channel = channel

	    #What token number is this from 0..n-1 tokens; < 0 implies invalid index
            self.index = -1

            # We need to be able to change the text once in a while.  If
            # this is non-null, then getText should return this.  Note that
            # start/stop are not affected by changing this.
            self._text = text

            # The char position into the input buffer where this token starts
            self.start = start

            # The char position into the input buffer where this token stops
            # This is the index of the last char, *not* the index after it!
            self.stop = stop

    def getText(self):
        if self._text is not None:
            return self._text

        if self.input is None:
            return None

        return self.input.substring(self.start, self.stop)

    def setText(self, text):
        """
        Override the text for this token.  getText() will return this text
        rather than pulling from the buffer.  Note that this does not mean
        that start/stop indexes are not valid.  It means that that input
        was converted to a new string in the token object.
	"""
        self._text = text

    text = property(getText, setText)

    def getType(self):
        return self.type

    def setType(self, ttype):
        self.type = ttype

    def getLine(self):
        return self.line

    def setLine(self, line):
        self.line = line

    def getCharPositionInLine(self):
        return self.charPositionInLine

    def setCharPositionInLine(self, pos):
        self.charPositionInLine = pos

    def getChannel(self):
        return self.channel

    def setChannel(self, channel):
        self.channel = channel

    def getTokenIndex(self):
        return self.index

    def setTokenIndex(self, index):
        self.index = index

    def getInputStream(self):
        return self.input

    def setInputStream(self, input):
        self.input = input

    def __str__(self):
        if self.type == EOF:
            return "<EOF>"

        channelStr = ""
        if self.channel > 0:
            channelStr = ",channel=" + str(self.channel)

        txt = self.text
        if txt is not None:
            txt = txt.replace("\n","\\\\n")
            txt = txt.replace("\r","\\\\r")
            txt = txt.replace("\t","\\\\t")
        else:
            txt = "<no text>"

        return "[@%d,%d:%d=%r,<%d>%s,%d:%d]" % (
            self.index,
            self.start, self.stop,
            txt,
            self.type, channelStr,
            self.line, self.charPositionInLine
            )

class ClassicToken(Token):
    """@brief Alternative token implementation.

    A Token object like we'd use in ANTLR 2.x; has an actual string created
    and associated with this object.  These objects are needed for imaginary
    tree nodes that have payload objects.  We need to create a Token object
    that has a string; the tree node will point at this token.  CommonToken
    has indexes into a char stream and hence cannot be used to introduce
    new strings.
    """

    def __init__(self, type=None, text=None, channel=DEFAULT_CHANNEL,
                 oldToken=None
                 ):
        Token.__init__(self)

        if oldToken is not None:
            self.text = oldToken.text
            self.type = oldToken.type
            self.line = oldToken.line
            self.charPositionInLine = oldToken.charPositionInLine
            self.channel = oldToken.channel

        self.text = text
        self.type = type
        self.line = None
        self.charPositionInLine = None
        self.channel = channel
        self.index = None

    def getText(self):
        return self.text

    def setText(self, text):
        self.text = text

    def getType(self):
        return self.type

    def setType(self, ttype):
        self.type = ttype

    def getLine(self):
        return self.line

    def setLine(self, line):
        self.line = line

    def getCharPositionInLine(self):
        return self.charPositionInLine

    def setCharPositionInLine(self, pos):
        self.charPositionInLine = pos

    def getChannel(self):
        return self.channel

    def setChannel(self, channel):
        self.channel = channel

    def getTokenIndex(self):
        return self.index

    def setTokenIndex(self, index):
        self.index = index

    def getInputStream(self):
        return None

    def setInputStream(self, input):
        pass

    def toString(self):
        channelStr = ""
        if self.channel > 0:
            channelStr = ",channel=" + str(self.channel)

        txt = self.text
        if txt is None:
            txt = "<no text>"

        return "[@%r,%r,<%r>%s,%r:%r]" % (self.index,
                                          txt,
                                          self.type,
                                          channelStr,
                                          self.line,
                                          self.charPositionInLine
                                          )

    __str__ = toString
    __repr__ = toString

EOF_TOKEN = CommonToken(type=EOF)

INVALID_TOKEN = CommonToken(type=INVALID_TOKEN_TYPE)

# In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
# will avoid creating a token for this symbol and try to fetch another.
SKIP_TOKEN = CommonToken(type=INVALID_TOKEN_TYPE)


///////////////////////////////////////////////////////////////////////////////
//                                                                           //
// DxilSpanAllocator.h                                                       //
// Copyright (C) Microsoft Corporation. All rights reserved.                 //
// This file is distributed under the University of Illinois Open Source     //
// License. See LICENSE.TXT for details.                                     //
//                                                                           //
// Allocator for resources or other things that span a range of space        //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#pragma once

#include "dxc/Support/Global.h"
#include <set>
#include <map>

namespace hlsl {

template<typename T_index, typename T_element>
class SpanAllocator {
public:
  struct Span {
    Span(const T_element *element, T_index start, T_index end)
      : element(element), start(start), end(end) {
      DXASSERT_NOMSG(!(end < start));
    }
    const T_element *element;
    T_index start, end;  // inclusive
    bool operator<(const Span &other) const { return end < other.start; }
  };
  typedef std::set<Span> SpanSet;

public:
  SpanAllocator(T_index Min, T_index Max)
    : m_Min(Min), m_Max(Max), m_FirstFree(Min),
      m_Unbounded(nullptr), m_AllocationFull(false) {
    DXASSERT_NOMSG(Min <= Max);
  }
  T_index GetMin() { return m_Min; }
  T_index GetMax() { return m_Max; }
  T_index GetFirstFree() { return m_FirstFree; }
  bool IsFull() { return m_AllocationFull; }
  void SetUnbounded(const T_element *element) { m_Unbounded = element; }
  const T_element *GetUnbounded() const { return m_Unbounded; }
  const SpanSet &GetSpans() const { return m_Spans; }

  // Find size gap starting at pos, updating pos, and returning true if successful
  bool Find(T_index size, T_index &pos, T_index align = 1) {
    DXASSERT_NOMSG(size);
    if (size - 1 > m_Max - m_Min)
      return false;
    if (pos < m_FirstFree)
      pos = m_FirstFree;
    if (!UpdatePos(pos, size, align))
      return false;
    T_index end = pos + (size - 1);
    auto next = m_Spans.lower_bound(Span(nullptr, pos, end));
    if (next == m_Spans.end() || end < next->start)
      return true;  // it fits here
    return Find(size, next, pos, align);
  }

  // Finds the farthest position at which an element could be allocated.
  bool FindForUnbounded(T_index &pos, T_index align = 1) {
    if (m_Spans.empty()) {
      pos = m_Min;
      return UpdatePos(pos, /*size*/1, align);
    }

    pos = m_Spans.crbegin()->end;
    return IncPos(pos, /*inc*/ 1, /*size*/1, align);
  }

  // allocate element size in first available space, returns false on failure
  bool Allocate(const T_element *element, T_index size, T_index &pos, T_index align = 1) {
    DXASSERT_NOMSG(size);
    if (size - 1 > m_Max - m_Min)
      return false;
    if (m_AllocationFull)
      return false;
    pos = m_FirstFree;
    if (!UpdatePos(pos, size, align))
      return false;
    auto result = m_Spans.emplace(element, pos, pos + (size - 1));
    if (result.second) {
      AdvanceFirstFree(result.first);
      return true;
    }
    // Collision, find a gap from iterator
    if (!Find(size, result.first, pos, align))
      return false;
    result = m_Spans.emplace(element, pos, pos + (size - 1));
    return result.second;
  }

  bool AllocateUnbounded(const T_element *element, T_index &pos, T_index align = 1) {
    if (m_AllocationFull)
      return false;
    if (m_Spans.empty()) {
      pos = m_Min;
      if (!UpdatePos(pos, /*size*/1, align))
        return false;
    } else {
      // This will allocate after the last span
      auto it = m_Spans.end();  --it;   // find last span
      DXASSERT_NOMSG(it != m_Spans.end());
      pos = it->end;
      if (!IncPos(pos, /*inc*/1, /*size*/1, align))
        return false;
    }
    const T_element *conflict = Insert(element, pos, m_Max);
    DXASSERT_NOMSG(!conflict);
    if (!conflict)
      SetUnbounded(element);
    return !conflict;
  }

  // Insert at specific location, returning conflicting element on collision
  const T_element *Insert(const T_element *element, T_index start, T_index end) {
    DXASSERT_NOMSG(m_Min <= start && start <= end && end <= m_Max);
    auto result = m_Spans.emplace(element, start, end);
    if (!result.second)
      return result.first->element;
    AdvanceFirstFree(result.first);
    return nullptr;
  }

  // Insert at specific location, overwriting anything previously there,
  // losing their element pointer, but conserving the spans they represented.
  void ForceInsertAndClobber(const T_element *element, T_index start, T_index end) {
    DXASSERT_NOMSG(m_Min <= start && start <= end && end <= m_Max);
    for (;;) {
      auto result = m_Spans.emplace(element, start, end);
      if (result.second)
        break;
      // Delete the spans we overlap with, but make sure our new span covers what they covered.
      start = std::min(result.first->start, start);
      end = std::max(result.first->end, end);
      m_Spans.erase(result.first);
    }
  }

private:
  // Find size gap starting at iterator, updating pos, and returning true if successful
  bool Find(T_index size, typename SpanSet::const_iterator it, T_index &pos, T_index align = 1) {
    pos = it->end;
    if (!IncPos(pos, /*inc*/1, size, align))
      return false;
    for (++it; it != m_Spans.end() && (it->start < pos || it->start - pos < size); ++it) {
      pos = it->end;
      if (!IncPos(pos, /*inc*/1, size, align))
        return false;
    }
    return true;
  }

  // Advance m_FirstFree if it's in span
  void AdvanceFirstFree(typename SpanSet::const_iterator it) {
    if (it->start <= m_FirstFree && m_FirstFree <= it->end) {
      for (; it != m_Spans.end(); ) {
        if (it->end >= m_Max) {
          m_AllocationFull = true;
          break;
        }
        m_FirstFree = it->end + 1;
        ++it;
        if (it != m_Spans.end() && m_FirstFree < it->start)
          break;
      }
    }
  }

  T_index Align(T_index pos, T_index align) {
    T_index rem = (1 < align) ? pos % align : 0;
    return rem ? pos + (align - rem) : pos;
  }

  bool IncPos(T_index &pos, T_index inc = 1, T_index size = 1, T_index align = 1) {
    DXASSERT_NOMSG(inc > 0);
    if (pos + inc < pos)
      return false; // overflow
    pos += inc;
    return UpdatePos(pos, size, align);
  }
  bool UpdatePos(T_index &pos, T_index size = 1, T_index align = 1) {
    if ((size - 1) > m_Max - m_Min || pos < m_Min || pos > m_Max - (size - 1))
      return false;
    T_index aligned = Align(pos, align);
    if (aligned < pos || aligned > m_Max - (size - 1))
      return false; // overflow on alignment, or won't fit
    pos = aligned;
    return true;
  }

private:
  SpanSet m_Spans;
  T_index m_Min, m_Max, m_FirstFree;
  const T_element *m_Unbounded;
  bool m_AllocationFull;
};

template<typename T_index, typename T_element>
class SpacesAllocator {
public:
  typedef SpanAllocator<T_index, T_element> Allocator;
  typedef std::map<T_index, Allocator > AllocatorMap;

  Allocator &Get(T_index SpaceID) {
    auto it = m_Allocators.find(SpaceID);
    if (it != m_Allocators.end())
      return it->second;
    auto result = m_Allocators.emplace(SpaceID, Allocator(0, UINT_MAX));
    DXASSERT(result.second, "Failed to allocate new Allocator");
    return result.first->second;
  }

private:
  AllocatorMap m_Allocators;
};

}


/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * intel-bts.h: Intel Processor Trace support
 * Copyright (c) 2013-2014, Intel Corporation.
 */

#ifndef INCLUDE__PERF_INTEL_BTS_H__
#define INCLUDE__PERF_INTEL_BTS_H__

#define INTEL_BTS_PMU_NAME "intel_bts"

enum {
	INTEL_BTS_PMU_TYPE,
	INTEL_BTS_TIME_SHIFT,
	INTEL_BTS_TIME_MULT,
	INTEL_BTS_TIME_ZERO,
	INTEL_BTS_CAP_USER_TIME_ZERO,
	INTEL_BTS_SNAPSHOT_MODE,
	INTEL_BTS_AUXTRACE_PRIV_MAX,
};

#define INTEL_BTS_AUXTRACE_PRIV_SIZE (INTEL_BTS_AUXTRACE_PRIV_MAX * sizeof(u64))

struct auxtrace_record;
struct perf_tool;
union perf_event;
struct perf_session;

struct auxtrace_record *intel_bts_recording_init(int *err);

int intel_bts_process_auxtrace_info(union perf_event *event,
				    struct perf_session *session);

#endif


name: "Modak"
designer: "Ek Type"
license: "OFL"
category: "DISPLAY"
date_added: "2015-02-18"
fonts {
  name: "Modak"
  style: "normal"
  weight: 400
  filename: "Modak-Regular.ttf"
  post_script_name: "Modak"
  full_name: "Modak"
  copyright: "Copyright (c) 2015 Ek Type (www.ektype.in)"
}
subsets: "menu"
subsets: "devanagari"
subsets: "latin"
subsets: "latin-ext"


ace.define('ace/snippets/markdown', ['require', 'exports', 'module' ], function(require, exports, module) {

exports.snippetText = "# Markdown\n\
\n\
# Includes octopress (http://octopress.org/) snippets\n\
\n\
snippet [\n\
	[${1:text}](http://${2:address} \"${3:title}\")\n\
snippet [*\n\
	[${1:link}](${2:`@*`} \"${3:title}\")${4}\n\
\n\
snippet [:\n\
	[${1:id}]: http://${2:url} \"${3:title}\"\n\
snippet [:*\n\
	[${1:id}]: ${2:`@*`} \"${3:title}\"\n\
\n\
snippet ![\n\
	![${1:alttext}](${2:/images/image.jpg} \"${3:title}\")\n\
snippet ![*\n\
	![${1:alt}](${2:`@*`} \"${3:title}\")${4}\n\
\n\
snippet ![:\n\
	![${1:id}]: ${2:url} \"${3:title}\"\n\
snippet ![:*\n\
	![${1:id}]: ${2:`@*`} \"${3:title}\"\n\
\n\
snippet ===\n\
regex /^/=+/=*//\n\
	${PREV_LINE/./=/g}\n\
	\n\
	${0}\n\
snippet ---\n\
regex /^/-+/-*//\n\
	${PREV_LINE/./-/g}\n\
	\n\
	${0}\n\
snippet blockquote\n\
	{% blockquote %}\n\
	${1:quote}\n\
	{% endblockquote %}\n\
\n\
snippet blockquote-author\n\
	{% blockquote ${1:author}, ${2:title} %}\n\
	${3:quote}\n\
	{% endblockquote %}\n\
\n\
snippet blockquote-link\n\
	{% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n\
	${4:quote}\n\
	{% endblockquote %}\n\
\n\
snippet bt-codeblock-short\n\
	```\n\
	${1:code_snippet}\n\
	```\n\
\n\
snippet bt-codeblock-full\n\
	``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n\
	${5:code_snippet}\n\
	```\n\
\n\
snippet codeblock-short\n\
	{% codeblock %}\n\
	${1:code_snippet}\n\
	{% endcodeblock %}\n\
\n\
snippet codeblock-full\n\
	{% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n\
	${5:code_snippet}\n\
	{% endcodeblock %}\n\
\n\
snippet gist-full\n\
	{% gist ${1:gist_id} ${2:filename} %}\n\
\n\
snippet gist-short\n\
	{% gist ${1:gist_id} %}\n\
\n\
snippet img\n\
	{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\
\n\
snippet youtube\n\
	{% youtube ${1:video_id} %}\n\
\n\
# The quote should appear only once in the text. It is inherently part of it.\n\
# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\
\n\
snippet pullquote\n\
	{% pullquote %}\n\
	${1:text} {\" ${2:quote} \"} ${3:text}\n\
	{% endpullquote %}\n\
";
exports.scope = "markdown";

});


/**
 * Description: This check looks if the content is compressed (deflate or gzip) to reduce
 * the time spent in the transfer.
 *
 * Copyright (c) Microsoft Corporation; All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * THIS CODE IS PROVIDED AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS
 * OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
 *
 * See the Apache Version 2.0 License for specific language governing permissions
 * and limitations under the License.
 */

'use strict';

var bluebird = require('bluebird');

var check = bluebird.method(function (website) {
	var test = {
		testName: 'compression',
		passed: website.compression !== 'none',
		data: {
			compression: website.compression
		}
	};

	return test;
});

module.exports.check = check;


// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef EIGEN_CWISE_H
#define EIGEN_CWISE_H

namespace Eigen {

/** \internal
  * convenient macro to defined the return type of a cwise binary operation */
#define EIGEN_CWISE_BINOP_RETURN_TYPE(OP) \
    CwiseBinaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType, OtherDerived>

/** \internal
  * convenient macro to defined the return type of a cwise unary operation */
#define EIGEN_CWISE_UNOP_RETURN_TYPE(OP) \
    CwiseUnaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType>

/** \internal
  * convenient macro to defined the return type of a cwise comparison to a scalar */
#define EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(OP) \
    CwiseBinaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType, \
        typename ExpressionType::ConstantReturnType >

/** \class Cwise
  *
  * \brief Pseudo expression providing additional coefficient-wise operations
  *
  * \param ExpressionType the type of the object on which to do coefficient-wise operations
  *
  * This class represents an expression with additional coefficient-wise features.
  * It is the return type of MatrixBase::cwise()
  * and most of the time this is the only way it is used.
  *
  * Example: \include MatrixBase_cwise_const.cpp
  * Output: \verbinclude MatrixBase_cwise_const.out
  *
  * This class can be extended with the help of the plugin mechanism described on the page
  * \ref TopicCustomizingEigen by defining the preprocessor symbol \c EIGEN_CWISE_PLUGIN.
  *
  * \sa MatrixBase::cwise() const, MatrixBase::cwise()
  */
template<typename ExpressionType> class Cwise
{
  public:

    typedef typename internal::traits<ExpressionType>::Scalar Scalar;
    typedef typename internal::conditional<internal::must_nest_by_value<ExpressionType>::ret,
        ExpressionType, const ExpressionType&>::type ExpressionTypeNested;
    typedef CwiseUnaryOp<internal::scalar_add_op<Scalar>, ExpressionType> ScalarAddReturnType;

    inline Cwise(const ExpressionType& matrix) : m_matrix(matrix) {}

    /** \internal */
    inline const ExpressionType& _expression() const { return m_matrix; }

    template<typename OtherDerived>
    const EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived)
    operator*(const MatrixBase<OtherDerived> &other) const;

    template<typename OtherDerived>
    const EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_quotient_op)
    operator/(const MatrixBase<OtherDerived> &other) const;

    /** \deprecated ArrayBase::min() */
    template<typename OtherDerived>
    const EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_min_op)
    (min)(const MatrixBase<OtherDerived> &other) const
    { return EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_min_op)(_expression(), other.derived()); }

    /** \deprecated ArrayBase::max() */
    template<typename OtherDerived>
    const EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_max_op)
    (max)(const MatrixBase<OtherDerived> &other) const
    { return EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_max_op)(_expression(), other.derived()); }

    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_abs_op)      abs() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_abs2_op)     abs2() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_square_op)   square() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_cube_op)     cube() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_inverse_op)  inverse() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_sqrt_op)     sqrt() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_exp_op)      exp() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_log_op)      log() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_cos_op)      cos() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_sin_op)      sin() const;
    const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_pow_op)      pow(const Scalar& exponent) const;

    const ScalarAddReturnType
    operator+(const Scalar& scalar) const;

    /** \relates Cwise */
    friend const ScalarAddReturnType
    operator+(const Scalar& scalar, const Cwise& mat)
    { return mat + scalar; }

    ExpressionType& operator+=(const Scalar& scalar);

    const ScalarAddReturnType
    operator-(const Scalar& scalar) const;

    ExpressionType& operator-=(const Scalar& scalar);

    template<typename OtherDerived>
    inline ExpressionType& operator*=(const MatrixBase<OtherDerived> &other);

    template<typename OtherDerived>
    inline ExpressionType& operator/=(const MatrixBase<OtherDerived> &other);

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::less)
    operator<(const MatrixBase<OtherDerived>& other) const;

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::less_equal)
    operator<=(const MatrixBase<OtherDerived>& other) const;

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::greater)
    operator>(const MatrixBase<OtherDerived>& other) const;

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::greater_equal)
    operator>=(const MatrixBase<OtherDerived>& other) const;

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::equal_to)
    operator==(const MatrixBase<OtherDerived>& other) const;

    template<typename OtherDerived> const EIGEN_CWISE_BINOP_RETURN_TYPE(std::not_equal_to)
    operator!=(const MatrixBase<OtherDerived>& other) const;

    // comparisons to a scalar value
    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::less)
    operator<(Scalar s) const;

    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::less_equal)
    operator<=(Scalar s) const;

    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::greater)
    operator>(Scalar s) const;

    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::greater_equal)
    operator>=(Scalar s) const;

    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::equal_to)
    operator==(Scalar s) const;

    const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::not_equal_to)
    operator!=(Scalar s) const;

    // allow to extend Cwise outside Eigen
    #ifdef EIGEN_CWISE_PLUGIN
    #include EIGEN_CWISE_PLUGIN
    #endif

  protected:
    ExpressionTypeNested m_matrix;
};

/** \returns a Cwise wrapper of *this providing additional coefficient-wise operations
  *
  * Example: \include MatrixBase_cwise_const.cpp
  * Output: \verbinclude MatrixBase_cwise_const.out
  *
  * \sa class Cwise, cwise()
  */
template<typename Derived>
inline const Cwise<Derived> MatrixBase<Derived>::cwise() const
{
  return derived();
}

/** \returns a Cwise wrapper of *this providing additional coefficient-wise operations
  *
  * Example: \include MatrixBase_cwise.cpp
  * Output: \verbinclude MatrixBase_cwise.out
  *
  * \sa class Cwise, cwise() const
  */
template<typename Derived>
inline Cwise<Derived> MatrixBase<Derived>::cwise()
{
  return derived();
}

} // end namespace Eigen

#endif // EIGEN_CWISE_H


<Directory />
    AllowOverride none
    Require all denied
</Directory>

<Directory "${HOME}/#{WEBDIR}">
    Options SymLinksIfOwnerMatch
    AllowOverride All
    Require all granted
</Directory>

<Files ".ht*">
    Require all denied
</Files>


# board config file for AcTux3/XBA IXP42x board
# Date:   2010-12-16
# Author: Michael Schwingen <michael@schwingen.org>

reset_config trst_and_srst separate

adapter_nsrst_delay 100
jtag_ntrst_delay 100

source [find target/ixp42x.cfg]

$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0

$_TARGETNAME configure -event reset-init { init_actux3 }

proc init_actux3 { } {
    ##########################################################################
    # setup expansion bus CS
    ##########################################################################
    mww 0xc4000000  0xbd113842  ;#CS0  : Flash, write enabled @0x50000000
    mww 0xc4000004  0x94d10013  ;#CS1
    mww 0xc4000008  0x95960003  ;#CS2
    mww 0xc400000c  0x00000000  ;#CS3
    mww 0xc4000010  0x80900003  ;#CS4
    mww 0xc4000014  0x9d520003  ;#CS5
    mww 0xc4000018  0x81860001  ;#CS6
    mww 0xc400001c  0x80900003  ;#CS7

    ixp42x_init_sdram $::IXP42x_SDRAM_16MB_4Mx16_1BANK 2100 3

    #mww 0xc4000020  0xffffee ;# CFG0: remove expansion bus boot flash mirror at 0x00000000

    ixp42x_set_bigendian

    flash probe 0
}

proc flash_boot { {FILE "/tftpboot/actux3/u-boot.bin"} } {
    echo "writing bootloader: $FILE"
    flash write_image erase $FILE 0x50000000 bin
}

set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x50000000 0x400000 2 2 $_TARGETNAME

init
reset init

# setup to debug u-boot in flash
proc uboot_debug {} {
    gdb_breakpoint_override hard
    xscale vector_catch 0xFF

    xscale vector_table low  1 0xe59ff018
    xscale vector_table low  2 0xe59ff018
    xscale vector_table low  3 0xe59ff018
    xscale vector_table low  4 0xe59ff018
    xscale vector_table low  5 0xe59ff018
    xscale vector_table low  6 0xe59ff018
    xscale vector_table low  7 0xe59ff018

    xscale vector_table high 1 0xe59ff018
    xscale vector_table high 2 0xe59ff018
    xscale vector_table high 3 0xe59ff018
    xscale vector_table high 4 0xe59ff018
    xscale vector_table high 5 0xe59ff018
    xscale vector_table high 6 0xe59ff018
    xscale vector_table high 7 0xe59ff018
}


#pragma once

#include <boost/interprocess/managed_mapped_file.hpp>
#include <boost/interprocess/containers/map.hpp>
#include <boost/interprocess/containers/set.hpp>
#include <boost/interprocess/containers/flat_map.hpp>
#include <boost/interprocess/containers/deque.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/sync/interprocess_sharable_mutex.hpp>
#include <boost/interprocess/sync/sharable_lock.hpp>
#include <boost/interprocess/sync/file_lock.hpp>

#include <boost/thread.hpp>
#include <boost/thread/locks.hpp>

#include <type_traits>

namespace chainbase {

   namespace bip = boost::interprocess;

   #ifdef ENABLE_MIRA
      template< typename T >
      using allocator = std::allocator< T >;

      typedef boost::shared_mutex read_write_mutex;
      typedef boost::shared_lock< read_write_mutex > read_lock;
   #else
      template< typename T >
      using allocator = bip::allocator<T, bip::managed_mapped_file::segment_manager>;

      typedef boost::interprocess::interprocess_sharable_mutex read_write_mutex;
      typedef boost::interprocess::sharable_lock< read_write_mutex > read_lock;
   #endif

   typedef boost::unique_lock< read_write_mutex > write_lock;

   #ifdef ENABLE_MIRA
      #define _ENABLE_MIRA 1
   #else
      #define _ENABLE_MIRA 0
   #endif

   using shared_string = std::conditional< _ENABLE_MIRA,
                        std::string,
                        bip::basic_string< char, std::char_traits< char >, allocator< char > >
                        >::type;

   template<typename T>
   using t_vector = typename std::conditional< _ENABLE_MIRA,
                              boost::container::vector<T, allocator<T> >,
                              bip::vector<T, allocator<T> >
                              >::type;

   template< typename FIRST_TYPE, typename SECOND_TYPE >
   using t_pair = std::pair< FIRST_TYPE, SECOND_TYPE >;

   template< typename FIRST_TYPE, typename SECOND_TYPE >
   using t_allocator_pair = allocator< t_pair< const FIRST_TYPE, SECOND_TYPE > >;

   template< typename KEY_TYPE, typename VALUE_TYPE, typename LESS_FUNC = std::less<KEY_TYPE>>
   using t_flat_map = typename std::conditional< _ENABLE_MIRA,
      boost::container::flat_map< KEY_TYPE, VALUE_TYPE, LESS_FUNC, allocator< t_pair< KEY_TYPE, VALUE_TYPE > > >,
      bip::flat_map< KEY_TYPE, VALUE_TYPE, LESS_FUNC, allocator< t_pair< KEY_TYPE, VALUE_TYPE > > >
      >::type;

   template< typename T >
   using t_deque = typename std::conditional< _ENABLE_MIRA,
                  boost::container::deque< T, allocator< T > >,
                  bip::deque< T, allocator< T > >
                  >::type;
}


# Absolut path to the keymap which should be loaded using loadkmap.
#KEYMAP="/usr/share/keymaps/xkb/us.map.gz"


/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.netbeans.modules.xml.axi.datatype;

/**
 * This class represents NcNameTypeImpl. This is one of those atomic types that can
 * be used to type an Attribute or leaf Elements in AXI Model
 *
 *
 * @author Ayub Khan
 */
public class IdRefType extends NameType {

    /**
     * Creates a new instance of NcNameTypeImpl
     */
    public IdRefType() {
        super(Datatype.Kind.IDREF);
    }

    /**
     * Creates a new instance of derived of NcNameTypeImpl
     */
    public IdRefType(Datatype.Kind kind) {
        super(kind);
    }
}


:101E000001C0B2C011248FE594E09EBF8DBF84B79E
:101E1000882361F0982F9A70923041F081FF02C0C0
:101E200097EF94BF282E80E0BAD0EAC085E08EBD3F
:101E300082E08BB988E18AB986E880BD8BE989B9EF
:101E40008EE0ADD0BD9A84E028E43AEF44E050E261
:101E50003DBD2CBD48BF08B602FEFDCF98B3952707
:101E600098BBA8955F9902C0815091F791D08134B9
:101E700079F48ED0182F97D0123811F480E004C076
:101E800088E0113809F083E07FD080E17DD0EECF8B
:101E9000823419F484E18FD0F8CF853411F485E0D1
:101EA000FACF853541F474D0C82F72D0D82FCC0F1B
:101EB000DD1F79D0EACF863519F484E07CD0DECFFF
:101EC000843699F565D064D0182F62D0D82E012FB2
:101ED00090E6E92EF12C57018FEFA81AB80A58D0D6
:101EE000F701808301507501B1F75DD0F5E4DF1291
:101EF00001C0FFCF50E040E063E0CE0135D07E016D
:101F000080E6C82ED12CF601419151916F0161E01C
:101F1000C7012AD0F2E0EF0EF11C1250A1F750E0F9
:101F200040E065E0CE0120D0B0CF843771F430D0EE
:101F30002FD0F82E2DD037D08E01F80185918F014A
:101F400023D0FA94F110F9CFA0CF853739F42BD0F4
:101F50008EE11AD083E918D087E096CF813509F059
:101F6000A8CF88E01CD0A5CFFC010A0167BFE89587
:101F7000112407B600FCFDCF667029F0452B19F43B
:101F800081E187BFE89508955D9BFECF8CB90895E8
:101F90005F9BFECF5C9901C0A8958CB1089598E134
:101FA00091BD81BD0895F4DF803219F088E0F7DF3C
:101FB000FFCF84E1E9CFCF93C82FEADFC150E9F723
:041FC000CF91F1CFFD
:021FFE000008D9
:0400000300001E00DB
:00000001FF


$NetBSD: distinfo,v 1.8 2016/05/15 08:32:31 wen Exp $

SHA1 (Moose-Autobox-0.16.tar.gz) = 26a44cb374485d41232f42b7c459056a44951d4e
RMD160 (Moose-Autobox-0.16.tar.gz) = 16258023f8ba0cba4ac798c4f380674bbda4933d
SHA512 (Moose-Autobox-0.16.tar.gz) = 7126de94e5c58c91e80eac5928b128e07314abfa3668c4b6655eaea61fcda53a0e761b2e0dd10052c24fc4e77c09eb4784afe59e9539a2866ad37aae2b37ae5e
Size (Moose-Autobox-0.16.tar.gz) = 42604 bytes


T0	segment 0 5	Minsk
T1	segment 6 7	,
T2	segment 8 12	when
T3	segment 13 15	it
T4	segment 16 19	was
T5	segment 20 25	noted
T6	segment 26 28	as
T7	segment 29 30	a
T8	segment 31 41	provincial
T9	segment 42 46	city
T10	segment 47 53	within
T11	segment 54 57	the
T12	segment 58 70	principality
T13	segment 71 73	of
T14	segment 74 81	Polotsk
T15	segment 82 83	.
R0	s_p Arg1:T3 Arg2:T5
R1	compound Arg1:T5 Arg2:T4
R2	p_c Arg1:T5 Arg2:T6
R3	p_c Arg1:T5 Arg2:T10
R4	p_c Arg1:T5 Arg2:T2
R5	c_co Arg1:T6 Arg2:T9
R6	is-specialized-by Arg1:T9 Arg2:T8
R7	c_co Arg1:T10 Arg2:T12
R8	is-specialized-by Arg1:T12 Arg2:T13
R9	c_co Arg1:T13 Arg2:T14


/home/ksw/develop/ijkplayer-android/android/ijkplayer/ijkplayer-armv5/src/main/obj/local/armeabi/objs/ijkplayer/ijkavformat/ijklongurl.o: \
 /home/ksw/develop/ijkplayer-android/android/ijkplayer/ijkplayer-armv5/src/main/jni/ijkmedia/ijkplayer/ijkavformat/ijklongurl.c \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/assert.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_cprolog.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/features.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_stlport_version.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/user_config.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/compat.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/host.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_system.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_android.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_gcc.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/stl_confix.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_native_headers.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_epilog.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_config_compat_post.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/avformat.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/time.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stdio.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavcodec/avcodec.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/errno.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/samplefmt.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avutil.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/common.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/limits.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/math.h \
 /home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stdlib.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/attributes.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/macros.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/version.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avconfig.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/mem.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/error.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/rational.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/mathematics.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/intfloat.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/log.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/pixfmt.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/attributes.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avutil.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/buffer.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/cpu.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/channel_layout.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/dict.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/frame.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/buffer.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/dict.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/samplefmt.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/log.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/pixfmt.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/rational.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavcodec/version.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/version.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/avio.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/common.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/version.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/url.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avstring.h \
 /home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/opt.h

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/assert.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_cprolog.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/features.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_stlport_version.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/user_config.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/compat.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/host.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_system.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_android.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_gcc.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/stl_confix.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/config/_native_headers.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_epilog.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stl/_config_compat_post.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/avformat.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/time.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stdio.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavcodec/avcodec.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/errno.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/samplefmt.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avutil.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/common.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/limits.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/math.h:

/home/ksw/develop/android-ndk-r14b/sources/cxx-stl/stlport/stlport/stdlib.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/attributes.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/macros.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/version.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avconfig.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/mem.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/error.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/rational.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/mathematics.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/intfloat.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/log.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/pixfmt.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/attributes.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avutil.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/buffer.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/cpu.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/channel_layout.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/dict.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/frame.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/buffer.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/dict.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/samplefmt.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/log.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/pixfmt.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/rational.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavcodec/version.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/version.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/avio.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/common.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/version.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavformat/url.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/avstring.h:

/home/ksw/develop/ijkplayer-android/android/contrib/build/ffmpeg-armv5/output/include/libavutil/opt.h:


// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef QUICHE_QUIC_TOOLS_QUIC_BACKEND_RESPONSE_H_
#define QUICHE_QUIC_TOOLS_QUIC_BACKEND_RESPONSE_H_

#include "net/third_party/quiche/src/quic/tools/quic_url.h"
#include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h"
#include "net/third_party/quiche/src/spdy/core/spdy_protocol.h"

namespace quic {

// Container for HTTP response header/body pairs
// fetched by the QuicSimpleServerBackend
class QuicBackendResponse {
 public:
  // A ServerPushInfo contains path of the push request and everything needed in
  // comprising a response for the push request.
  struct ServerPushInfo {
    ServerPushInfo(QuicUrl request_url,
                   spdy::SpdyHeaderBlock headers,
                   spdy::SpdyPriority priority,
                   std::string body);
    ServerPushInfo(const ServerPushInfo& other);

    QuicUrl request_url;
    spdy::SpdyHeaderBlock headers;
    spdy::SpdyPriority priority;
    std::string body;
  };

  enum SpecialResponseType {
    REGULAR_RESPONSE,      // Send the headers and body like a server should.
    CLOSE_CONNECTION,      // Close the connection (sending the close packet).
    IGNORE_REQUEST,        // Do nothing, expect the client to time out.
    BACKEND_ERR_RESPONSE,  // There was an error fetching the response from
                           // the backend, for example as a TCP connection
                           // error.
    INCOMPLETE_RESPONSE,   // The server will act as if there is a non-empty
                           // trailer but it will not be sent, as a result, FIN
                           // will not be sent too.
    STOP_SENDING,          // Acts like INCOMPLETE_RESPONSE in that the entire
                           // response is not sent. After sending what is sent,
                           // the server will send a STOP_SENDING.
    GENERATE_BYTES         // Sends a response with a length equal to the number
                           // of bytes in the URL path.
  };
  QuicBackendResponse();

  QuicBackendResponse(const QuicBackendResponse& other) = delete;
  QuicBackendResponse& operator=(const QuicBackendResponse& other) = delete;

  ~QuicBackendResponse();

  SpecialResponseType response_type() const { return response_type_; }
  const spdy::SpdyHeaderBlock& headers() const { return headers_; }
  const spdy::SpdyHeaderBlock& trailers() const { return trailers_; }
  const quiche::QuicheStringPiece body() const {
    return quiche::QuicheStringPiece(body_);
  }

  void set_response_type(SpecialResponseType response_type) {
    response_type_ = response_type;
  }

  void set_headers(spdy::SpdyHeaderBlock headers) {
    headers_ = std::move(headers);
  }
  void set_trailers(spdy::SpdyHeaderBlock trailers) {
    trailers_ = std::move(trailers);
  }
  void set_body(quiche::QuicheStringPiece body) {
    body_.assign(body.data(), body.size());
  }
  uint16_t stop_sending_code() const { return stop_sending_code_; }
  void set_stop_sending_code(uint16_t code) { stop_sending_code_ = code; }

 private:
  SpecialResponseType response_type_;
  spdy::SpdyHeaderBlock headers_;
  spdy::SpdyHeaderBlock trailers_;
  std::string body_;
  uint16_t stop_sending_code_;
};

}  // namespace quic

#endif  // QUICHE_QUIC_TOOLS_QUIC_BACKEND_RESPONSE_H_


/**
 * /* eslint-disable wpcalypso/jsx-classname-namespace
 *
 */

/**
 * External dependencies
 */
import React from 'react';
import { localize } from 'i18n-calypso';

/**
 * Internal dependencies
 */
import { CompactCard } from '@automattic/components';

const ProductListItemPlaceholder = ( { translate } ) => (
	<CompactCard className="editor-simple-payments-modal__list-item is-placeholder">

				{ translate( 'Loading payment buttons…' ) }

				{ '$1000' }

	</CompactCard>
);

export default localize( ProductListItemPlaceholder );


# 基本包结构

本节详细说明本项目的基本目录结构

## guns-lite模块

guns-lite包含6个核心模块：
- guns-admin 一个成熟的后台管理系统，完全具备了后台管理系统的基本功能
- guns-utils 工具包
- guns-dao dao层
- guns-entity 实体层
- guns-service 服务层

其中guns-admin是一个java web模块
其他都为java se模块，


<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:aapt="http://schemas.android.com/aapt">
    <item android:state_pressed="true" android:drawable="@drawable/a0d"/>
    <item android:drawable="@drawable/aob"/>
</selector>


int add(int, int);
int mul(int, int);
int zero(void)
{
    return 0;
}

int f(void)
{
    int x = add(1, zero());
    int y = 7;
    int z = mul(7, 3);

    if (x <= 2 || x > 23)
        z = x + z;
    else
        y = 42;

    return y + z;
}

int add(int a, int b)
{
    return a + b;
}

int mul(int a, int b)
{
    return a * b;
}


/*
 * The libbfio header wrapper
 *
 * Copyright (C) 2010-2016, Joachim Metz <joachim.metz@gmail.com>
 *
 * Refer to AUTHORS for acknowledgements.
 *
 * This software is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this software.  If not, see <http://www.gnu.org/licenses/>.
 */

#if !defined( _QCOWTOOLS_LIBBFIO_H )
#define _QCOWTOOLS_LIBBFIO_H

#include <common.h>

/* Define HAVE_LOCAL_LIBBFIO for local use of libbfio
 */
#if defined( HAVE_LOCAL_LIBBFIO )

#include <libbfio_definitions.h>
#include <libbfio_file.h>
#include <libbfio_file_pool.h>
#include <libbfio_file_range.h>
#include <libbfio_handle.h>
#include <libbfio_memory_range.h>
#include <libbfio_pool.h>
#include <libbfio_types.h>

#else

/* If libtool DLL support is enabled set LIBBFIO_DLL_IMPORT
 * before including libbfio.h
 */
#if defined( _WIN32 ) && defined( DLL_IMPORT ) && !defined( HAVE_STATIC_EXECUTABLES )
#define LIBBFIO_DLL_IMPORT
#endif

#include <libbfio.h>

#if defined( HAVE_MULTI_THREAD_SUPPORT ) && !defined( LIBBFIO_HAVE_MULTI_THREAD_SUPPORT )
#error Multi-threading support requires libbfio with multi-threading support
#endif

#endif /* defined( HAVE_LOCAL_LIBBFIO ) */

#endif /* !defined( _QCOWTOOLS_LIBBFIO_H ) */


## Copyright 2009-2020 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

IF (EMBREE_STATIC_LIB)
  INSTALL(TARGETS TBB EXPORT TBB-targets)
  INSTALL(EXPORT TBB-targets DESTINATION ${EMBREE_CMAKEEXPORT_DIR} COMPONENT devel)
ENDIF()

IF (EMBREE_INSTALL_DEPENDENCIES)
  IF (TARGET TBB::tbb)
    GET_TARGET_PROPERTY(LIB_PATH TBB::tbb IMPORTED_LOCATION_RELEASE)
    IF(WIN32)
      INSTALL(FILES ${LIB_PATH} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT examples)
      GET_TARGET_PROPERTY(IMPLIB_PATH TBB::tbb IMPORTED_IMPLIB_RELEASE)
      INSTALL(FILES ${IMPLIB_PATH} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib)
    ELSE()
      INSTALL(FILES ${LIB_PATH} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib)
    ENDIF()
  ELSE()
    MESSAGE(SEND_ERROR "Target TBB::tbb not found during install.")
  ENDIF()
ENDIF()


/* Localized versions of Info.plist keys */


tinymce.addI18n('sr',{
"Cut": "Iseci",
"Header 2": "Zaglavlje 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Va\u0161 pretra\u017eiva\u010d nepodr\u017eava direktan pristup prenosu.Koristite Ctrl+X\/C\/V pre\u010dice na tastaturi",
"Div": "Div",
"Paste": "Nalepi",
"Close": "Zatvori",
"Font Family": "Vrsta fonta",
"Pre": "Pre",
"Align right": "Poravnano  desno",
"New document": "Novi dokument",
"Blockquote": "Navodnici",
"Numbered list": "Numerisana lista",
"Increase indent": "Pove\u0107aj uvla\u010denje",
"Formats": "Formatiraj",
"Headers": "Zaglavlje",
"Select all": "Obele\u017ei sve",
"Header 3": "Zaglavlje 3",
"Blocks": "Blokovi",
"Undo": "Nazad",
"Strikethrough": "Precrtan",
"Bullet list": "Lista nabrajanja",
"Header 1": "Zaglavlje 1",
"Superscript": "Natpis",
"Clear formatting": "Brisanje formatiranja",
"Font Sizes": "Veli\u010dine fontova",
"Subscript": "Potpisan",
"Header 6": "Zaglavlje 6",
"Redo": "Napred",
"Paragraph": "Paragraf",
"Ok": "Ok",
"Bold": "Podebljan",
"Code": "Kod",
"Italic": "isko\u0161en",
"Align center": "Poravnano centar",
"Header 5": "Zaglavlje 5",
"Decrease indent": "Smanji uvla\u010denje",
"Header 4": "Zaglavlje 4",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Nalepiti je sada u obi\u010dnom text modu.Sadr\u017eaj \u0107e biti nalepljen kao obi\u010dan tekst dok ne ugasite ovu opciju.",
"Underline": "Podvu\u010den",
"Cancel": "Opozovi",
"Justify": "Poravnanje",
"Inline": "U liniji",
"Copy": "Kopiraj",
"Align left": "Poravnano levo",
"Visual aids": "Vizuelna pomagala",
"Lower Greek": "Ni\u017ei gr\u010dki",
"Square": "Kvadrat",
"Default": "Podrazumevano",
"Lower Alpha": "Donja Alpha",
"Circle": "Krug",
"Disc": "Disk",
"Upper Alpha": "Gornji Alpha",
"Upper Roman": "Gornji Roman",
"Lower Roman": "Donji Roman",
"Name": "Ime",
"Anchor": "Sidro",
"You have unsaved changes are you sure you want to navigate away?": "Imate nesa\u010duvane promene dali ste sigurni da \u017eelite da iza\u0111ete?",
"Restore last draft": "Vrati  poslednji nacrt",
"Special character": "Specijalni karakter",
"Source code": "Izvorni kod",
"Right to left": "Sa desne na levu",
"Left to right": "Sa leve na desnu",
"Emoticons": "Smajliji",
"Robots": "Roboti",
"Document properties": "Postavke dokumenta",
"Title": "Naslov",
"Keywords": "Klju\u010dne re\u010di",
"Encoding": "Kodiranje",
"Description": "Opis",
"Author": "Autor",
"Fullscreen": "Pun ekran",
"Horizontal line": "Horizontalna linija",
"Horizontal space": "Horizontalni razmak",
"Insert\/edit image": "Ubaci\/Promeni sliku",
"General": "Op\u0161te",
"Advanced": "Napredno",
"Source": "Izvor",
"Border": "Okvir",
"Constrain proportions": "Ograni\u010dene proporcije",
"Vertical space": "Vertikalni razmak",
"Image description": "Opis slike",
"Style": "Stil",
"Dimensions": "Dimenzije",
"Insert image": "Ubaci sliku",
"Insert date\/time": "Ubaci datum\/vreme",
"Remove link": "Ukloni link",
"Url": "Url",
"Text to display": "Tekst za prikaz",
"Anchors": "sidro",
"Insert link": "Ubaci vezu",
"New window": "Novi prozor",
"None": "Ni\u0161ta",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?",
"Target": "Meta",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
"Insert\/edit link": "Ubaci\/promeni vezu",
"Insert\/edit video": "Ubaci\/promeni video",
"Poster": "Poster",
"Alternative source": "Alternativni izvor",
"Paste your embed code below:": "Nalepite ugra\u0111eni kod ispod:",
"Insert video": "Ubaci video",
"Embed": "Ugra\u0111eno",
"Nonbreaking space": "bez ramaka",
"Page break": "Lomljenje stranice",
"Paste as text": "Nalepi kao tekst",
"Preview": "Pregled",
"Print": "\u0160tampanje",
"Save": "Sa\u010duvati",
"Could not find the specified string.": "Nije mogu\u0107e prona\u0107i navedeni niz.",
"Replace": "Zameni",
"Next": "Slede\u0107i",
"Whole words": "Cele re\u010di",
"Find and replace": "Na\u0111i i zameni",
"Replace with": "Zameni sa",
"Find": "Na\u0111i",
"Replace all": "Zameni sve",
"Match case": "Predmet za upore\u0111ivanje",
"Prev": "Prethodni",
"Spellcheck": "Provera pravopisa",
"Finish": "Kraj",
"Ignore all": "Ignori\u0161i sve",
"Ignore": "ignori\u0161i",
"Insert row before": "Ubaci red pre",
"Rows": "Redovi",
"Height": "Visina",
"Paste row after": "Nalepi red posle",
"Alignment": "Svrstavanje",
"Column group": "Grupa kolone",
"Row": "Red",
"Insert column before": "Ubaci kolonu pre",
"Split cell": "Razdvoji \u0107elije",
"Cell padding": "Razmak \u0107elije",
"Cell spacing": "Prostor \u0107elije",
"Row type": "Tip reda",
"Insert table": "ubaci tabelu",
"Body": "Telo",
"Caption": "Natpis",
"Footer": "Podno\u017eje",
"Delete row": "Obri\u0161i red",
"Paste row before": "Nalepi red pre",
"Scope": "Obim",
"Delete table": "Obri\u0161i tabelu",
"Header cell": "Visina \u0107elije",
"Column": "Kolona",
"Cell": "\u0106elija",
"Header": "Zaglavlje",
"Cell type": "Tip \u0107elije",
"Copy row": "Kopiraj red",
"Row properties": "Postavke reda",
"Table properties": "Postavke tabele",
"Row group": "Grupa reda",
"Right": "Desno",
"Insert column after": "Ubaci kolonu posle",
"Cols": "Kolone",
"Insert row after": "Ubaci red posle",
"Width": "\u0160irina",
"Cell properties": "Postavke \u0107elije",
"Left": "Levo",
"Cut row": "Iseci red",
"Delete column": "Obri\u0161i kolonu",
"Center": "Centar",
"Merge cells": "Spoji \u0107elije",
"Insert template": "Ubaci \u0161ablon",
"Templates": "\u0160abloni",
"Background color": "Boja pozadine",
"Text color": "Boja tekst",
"Show blocks": "Prikaz blokova",
"Show invisible characters": "Prika\u017ei nevidljive karaktere",
"Words: {0}": "Re\u010di:{0}",
"Insert": "Umetni",
"File": "Datoteka",
"Edit": "Ure\u0111ivanje",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Oboga\u0107en tekst. Pritisni te ALT-F9 za meni.Pritisnite ALT-F10 za traku sa alatkama.Pritisnite ALT-0 za pomo\u0107",
"Tools": "Alatke",
"View": "Prikaz",
"Table": "Tabela",
"Format": "Format"
});


import { storiesOf } from '@storybook/react'
import React from 'react'
import Box from 'ui-box'
import { Heading } from '../../typography'
import { InlineAlert, Alert } from '..'

storiesOf('alert', module)
  .add('Alert', () => (
    <div>
      <Box padding={40}>
        {(() => {
          document.body.style.margin = '0'
          document.body.style.height = '100vh'
        })()}
        {['default', 'card'].map(appearance => (
          <Box key={appearance} float="left" marginRight={40}>
            <Heading marginBottom={16}>{appearance}</Heading>
            <Alert
              appearance={appearance}
              marginBottom={32}
              title="A simple general message"
            />
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="success"
              title="Hooray! You did it. Your Source is now sending data."
            />
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="warning"
              title="Changes will affect all Warehouses."
            />
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="danger"
              title="We weren’t able to save your changes."
            />
          </Box>
        ))}
      </Box>
      <Box padding={40}>
        {['default', 'card'].map(appearance => (
          <Box key={appearance} float="left" marginRight={40}>
            <Heading marginBottom={16}>{appearance}</Heading>
            <Alert
              appearance={appearance}
              marginBottom={32}
              title="A simple general message"
            >
              Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
              eiusmod tempor incididunt ut labore et dolore magna aliqua.
            </Alert>
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="success"
              title="Hooray! You did it. Your Source is now sending data."
            >
              Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
              eiusmod tempor incididunt ut labore et dolore magna aliqua.
            </Alert>
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="warning"
              title="Changes will affect all Warehouses."
            >
              Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
              eiusmod tempor incididunt ut labore et dolore magna aliqua.
            </Alert>
            <Alert
              appearance={appearance}
              marginBottom={32}
              intent="danger"
              title="We weren’t able to save your changes."
            >
              Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
              eiusmod tempor incididunt ut labore et dolore magna aliqua.
            </Alert>
          </Box>
        ))}
      </Box>
    </div>
  ))
  .add('InlineAlert', () => (
    <Box padding={40}>
      {(() => {
        document.body.style.margin = '0'
        document.body.style.height = '100vh'
      })()}

      <Box float="left" marginRight={40}>
        <Heading size={600} marginBottom={16}>
          InlineAlert component
        </Heading>
        <InlineAlert intent="success" marginBottom={16}>
          Hooray! You did it. Your Source is now sending data.
        </InlineAlert>
        <InlineAlert intent="warning" marginBottom={16}>
          Changes will affect all Warehouses.
        </InlineAlert>
        <InlineAlert intent="danger" marginBottom={16}>
          We weren’t able to save your changes.
        </InlineAlert>
        <InlineAlert intent="none" marginBottom={16}>
          There are over 200 integrations available.
        </InlineAlert>
      </Box>
    </Box>
  ))


/* $Id: teleint.c,v 1.16.2.5 2004/01/19 15:31:50 keil Exp $
 *
 * low level stuff for TeleInt isdn cards
 *
 * Author       Karsten Keil
 * Copyright    by Karsten Keil      <keil@isdn4linux.de>
 *
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 *
 */

#include <linux/init.h>
#include "hisax.h"
#include "isac.h"
#include "hfc_2bs0.h"
#include "isdnl1.h"

static const char *TeleInt_revision = "$Revision: 1.16.2.5 $";

#define byteout(addr, val) outb(val, addr)
#define bytein(addr) inb(addr)

static inline u_char
readreg(unsigned int ale, unsigned int adr, u_char off)
{
	register u_char ret;
	int max_delay = 2000;

	byteout(ale, off);
	ret = HFC_BUSY & bytein(ale);
	while (ret && --max_delay)
		ret = HFC_BUSY & bytein(ale);
	if (!max_delay) {
		printk(KERN_WARNING "TeleInt Busy not inactive\n");
		return (0);
	}
	ret = bytein(adr);
	return (ret);
}

static inline void
readfifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size)
{
	register u_char ret;
	register int max_delay = 20000;
	register int i;

	byteout(ale, off);
	for (i = 0; i < size; i++) {
		ret = HFC_BUSY & bytein(ale);
		while (ret && --max_delay)
			ret = HFC_BUSY & bytein(ale);
		if (!max_delay) {
			printk(KERN_WARNING "TeleInt Busy not inactive\n");
			return;
		}
		data[i] = bytein(adr);
	}
}

static inline void
writereg(unsigned int ale, unsigned int adr, u_char off, u_char data)
{
	register u_char ret;
	int max_delay = 2000;

	byteout(ale, off);
	ret = HFC_BUSY & bytein(ale);
	while (ret && --max_delay)
		ret = HFC_BUSY & bytein(ale);
	if (!max_delay) {
		printk(KERN_WARNING "TeleInt Busy not inactive\n");
		return;
	}
	byteout(adr, data);
}

static inline void
writefifo(unsigned int ale, unsigned int adr, u_char off, u_char *data, int size)
{
	register u_char ret;
	register int max_delay = 20000;
	register int i;

	byteout(ale, off);
	for (i = 0; i < size; i++) {
		ret = HFC_BUSY & bytein(ale);
		while (ret && --max_delay)
			ret = HFC_BUSY & bytein(ale);
		if (!max_delay) {
			printk(KERN_WARNING "TeleInt Busy not inactive\n");
			return;
		}
		byteout(adr, data[i]);
	}
}

/* Interface functions */

static u_char
ReadISAC(struct IsdnCardState *cs, u_char offset)
{
	cs->hw.hfc.cip = offset;
	return (readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset));
}

static void
WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value)
{
	cs->hw.hfc.cip = offset;
	writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset, value);
}

static void
ReadISACfifo(struct IsdnCardState *cs, u_char *data, int size)
{
	cs->hw.hfc.cip = 0;
	readfifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size);
}

static void
WriteISACfifo(struct IsdnCardState *cs, u_char *data, int size)
{
	cs->hw.hfc.cip = 0;
	writefifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size);
}

static u_char
ReadHFC(struct IsdnCardState *cs, int data, u_char reg)
{
	register u_char ret;

	if (data) {
		cs->hw.hfc.cip = reg;
		byteout(cs->hw.hfc.addr | 1, reg);
		ret = bytein(cs->hw.hfc.addr);
		if (cs->debug & L1_DEB_HSCX_FIFO && (data != 2))
			debugl1(cs, "hfc RD %02x %02x", reg, ret);
	} else
		ret = bytein(cs->hw.hfc.addr | 1);
	return (ret);
}

static void
WriteHFC(struct IsdnCardState *cs, int data, u_char reg, u_char value)
{
	byteout(cs->hw.hfc.addr | 1, reg);
	cs->hw.hfc.cip = reg;
	if (data)
		byteout(cs->hw.hfc.addr, value);
	if (cs->debug & L1_DEB_HSCX_FIFO && (data != 2))
		debugl1(cs, "hfc W%c %02x %02x", data ? 'D' : 'C', reg, value);
}

static irqreturn_t
TeleInt_interrupt(int intno, void *dev_id)
{
	struct IsdnCardState *cs = dev_id;
	u_char val;
	u_long flags;

	spin_lock_irqsave(&cs->lock, flags);
	val = readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, ISAC_ISTA);
Start_ISAC:
	if (val)
		isac_interrupt(cs, val);
	val = readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, ISAC_ISTA);
	if (val) {
		if (cs->debug & L1_DEB_ISAC)
			debugl1(cs, "ISAC IntStat after IntRoutine");
		goto Start_ISAC;
	}
	writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, ISAC_MASK, 0xFF);
	writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, ISAC_MASK, 0x0);
	spin_unlock_irqrestore(&cs->lock, flags);
	return IRQ_HANDLED;
}

static void
TeleInt_Timer(struct timer_list *t)
{
	struct IsdnCardState *cs = from_timer(cs, t, hw.hfc.timer);
	int stat = 0;
	u_long flags;

	spin_lock_irqsave(&cs->lock, flags);
	if (cs->bcs[0].mode) {
		stat |= 1;
		main_irq_hfc(&cs->bcs[0]);
	}
	if (cs->bcs[1].mode) {
		stat |= 2;
		main_irq_hfc(&cs->bcs[1]);
	}
	spin_unlock_irqrestore(&cs->lock, flags);
	stat = HZ / 100;
	if (!stat)
		stat = 1;
	cs->hw.hfc.timer.expires = jiffies + stat;
	add_timer(&cs->hw.hfc.timer);
}

static void
release_io_TeleInt(struct IsdnCardState *cs)
{
	del_timer(&cs->hw.hfc.timer);
	releasehfc(cs);
	if (cs->hw.hfc.addr)
		release_region(cs->hw.hfc.addr, 2);
}

static void
reset_TeleInt(struct IsdnCardState *cs)
{
	printk(KERN_INFO "TeleInt: resetting card\n");
	cs->hw.hfc.cirm |= HFC_RESET;
	byteout(cs->hw.hfc.addr | 1, cs->hw.hfc.cirm);	/* Reset On */
	mdelay(10);
	cs->hw.hfc.cirm &= ~HFC_RESET;
	byteout(cs->hw.hfc.addr | 1, cs->hw.hfc.cirm);	/* Reset Off */
	mdelay(10);
}

static int
TeleInt_card_msg(struct IsdnCardState *cs, int mt, void *arg)
{
	u_long flags;
	int delay;

	switch (mt) {
	case CARD_RESET:
		spin_lock_irqsave(&cs->lock, flags);
		reset_TeleInt(cs);
		spin_unlock_irqrestore(&cs->lock, flags);
		return (0);
	case CARD_RELEASE:
		release_io_TeleInt(cs);
		return (0);
	case CARD_INIT:
		spin_lock_irqsave(&cs->lock, flags);
		reset_TeleInt(cs);
		inithfc(cs);
		clear_pending_isac_ints(cs);
		initisac(cs);
		/* Reenable all IRQ */
		cs->writeisac(cs, ISAC_MASK, 0);
		cs->writeisac(cs, ISAC_CMDR, 0x41);
		spin_unlock_irqrestore(&cs->lock, flags);
		delay = HZ / 100;
		if (!delay)
			delay = 1;
		cs->hw.hfc.timer.expires = jiffies + delay;
		add_timer(&cs->hw.hfc.timer);
		return (0);
	case CARD_TEST:
		return (0);
	}
	return (0);
}

int setup_TeleInt(struct IsdnCard *card)
{
	struct IsdnCardState *cs = card->cs;
	char tmp[64];

	strcpy(tmp, TeleInt_revision);
	printk(KERN_INFO "HiSax: TeleInt driver Rev. %s\n", HiSax_getrev(tmp));
	if (cs->typ != ISDN_CTYPE_TELEINT)
		return (0);

	cs->hw.hfc.addr = card->para[1] & 0x3fe;
	cs->irq = card->para[0];
	cs->hw.hfc.cirm = HFC_CIRM;
	cs->hw.hfc.isac_spcr = 0x00;
	cs->hw.hfc.cip = 0;
	cs->hw.hfc.ctmt = HFC_CTMT | HFC_CLTIMER;
	cs->bcs[0].hw.hfc.send = NULL;
	cs->bcs[1].hw.hfc.send = NULL;
	cs->hw.hfc.fifosize = 7 * 1024 + 512;
	timer_setup(&cs->hw.hfc.timer, TeleInt_Timer, 0);
	if (!request_region(cs->hw.hfc.addr, 2, "TeleInt isdn")) {
		printk(KERN_WARNING
		       "HiSax: TeleInt config port %x-%x already in use\n",
		       cs->hw.hfc.addr,
		       cs->hw.hfc.addr + 2);
		return (0);
	}
	/* HW IO = IO */
	byteout(cs->hw.hfc.addr, cs->hw.hfc.addr & 0xff);
	byteout(cs->hw.hfc.addr | 1, ((cs->hw.hfc.addr & 0x300) >> 8) | 0x54);
	switch (cs->irq) {
	case 3:
		cs->hw.hfc.cirm |= HFC_INTA;
		break;
	case 4:
		cs->hw.hfc.cirm |= HFC_INTB;
		break;
	case 5:
		cs->hw.hfc.cirm |= HFC_INTC;
		break;
	case 7:
		cs->hw.hfc.cirm |= HFC_INTD;
		break;
	case 10:
		cs->hw.hfc.cirm |= HFC_INTE;
		break;
	case 11:
		cs->hw.hfc.cirm |= HFC_INTF;
		break;
	default:
		printk(KERN_WARNING "TeleInt: wrong IRQ\n");
		release_io_TeleInt(cs);
		return (0);
	}
	byteout(cs->hw.hfc.addr | 1, cs->hw.hfc.cirm);
	byteout(cs->hw.hfc.addr | 1, cs->hw.hfc.ctmt);

	printk(KERN_INFO "TeleInt: defined at 0x%x IRQ %d\n",
	       cs->hw.hfc.addr, cs->irq);

	setup_isac(cs);
	cs->readisac = &ReadISAC;
	cs->writeisac = &WriteISAC;
	cs->readisacfifo = &ReadISACfifo;
	cs->writeisacfifo = &WriteISACfifo;
	cs->BC_Read_Reg = &ReadHFC;
	cs->BC_Write_Reg = &WriteHFC;
	cs->cardmsg = &TeleInt_card_msg;
	cs->irq_func = &TeleInt_interrupt;
	ISACVersion(cs, "TeleInt:");
	return (1);
}


# Copyright 2016 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require "helper"

describe Google::Cloud::Spanner::Project, :mock_spanner do
  it "knows the project identifier" do
    _(spanner).must_be_kind_of Google::Cloud::Spanner::Project
    _(spanner.project_id).must_equal project
  end
end


import { remove } from 'fs-extra';

export default path =>
  new Promise((resolve, reject) =>
    remove(path, err => {
      if (err) {
        reject(err);
        return;
      }
      resolve();
    })
  );


{% extends 'sales/base.html' %}
{% load static %}
{% load paginate %}
{% block extralinks %}
{% load thumbnail %}

{% endblock %}

{% block breadcrumb %}

Accounts

Create Mail

{% endblock breadcrumb %}

{% block content %}

      <form id="add_form" method="POST" action='' novalidate>

                  Send Mail

                <form>

                        Contacts

                        <input type="text" placeholder="Contacts" name="recipients" id="_id_recipients">

                        Subject
                        <input type="text" class="form-control" name="message_subject" placeholder="Enter Subject">

                            <input type="checkbox" name="scheduled_later" value="true" class="scheduled_later">
                              Schedule Later

                            Timezone
                            <select name="timezone" id="timezone"
                              class="form-control timezone-select js-example-basic-single">
                              <option value="">Select a Timezone</option>
                              {% for timezone in timezones %}
                              <option value="{{timezone.0}}"
                                {% if timezone.0 == settings_timezone %}selected{% endif %}>{{timezone.1}}</option>
                              {% endfor %}
                            </select>

                            Schedule Date Time
                              *

                              <input type="text" class="form-control datetimepicker-input"
                                data-target="#datetimepicker1" name="scheduled_date_time" />

                        Message

                      <input type="hidden" name="message_body" id="html_content">

Personalization tags

The following tags can be used on both Plain text or HTML. Add these tags to
                        customize the email template, these tags will be replaced with the associated contact details
                        while the mails are sent.

                          Name:
                          {% templatetag openvariable %} name {% templatetag closevariable %}

                          Email:
                          {% templatetag openvariable %} email {% templatetag closevariable %}

                      <button type="submit" class="primary_btn mar_btm save_btn">Send</button>
                      Cancel

                </form>

      </form>

{% endblock %}
{% block js_block %}

{% endblock js_block %}