text
stringlengths 1
22.8M
|
|---|
Flight controls may refer to:
Flight control surfaces, the movable surfaces that control the flight of an airplane
Aircraft flight control system, flight control surfaces, the respective cockpit controls, and the systems linking the two
Helicopter flight controls, similar systems for a helicopter
Triangle control frame, the A-frame-like handle used to control hang gliders
Kite control systems
Flight Control (video game), an iPhone game
|
Aire Gap is a pass through the Pennines in England formed by geologic faults and carved out by glaciers. The term is used to describe a geological division, a travel route, or a location that is an entry into the Aire river valley.
Geology
Geologically the Aire Gap lies between the Craven Fault and the limestone uplands of the Yorkshire Dales to the north and the Forest of Bowland and the millstone grit moors of the South Pennines. The South Pennines is the system between the Aire Gap and the Peak District.
The gap was formed by the dropping of the Craven Faults in the Carboniferous through Jurassic periods combined with glacial scouring by ice sheets in the Pleistocene Ice Age.
The Aire Gap splits the Pennines into north and south by allying with the River Ribble. The Pennine chain is divided into two sections by the Aire Gap formed by the River Aire flowing south, a member of the Humber basin, and the Ribble flowing west and entering the Irish sea.
Geography
The term Aire Gap is used in both Ribblesdale and Pendle to denote a hypsograph (watershed) between those rivers and Airedale. Two locations are so described:
Ribblesdale's Aire Gap designates a precise point at just east of Hellifield near Settle at , and is labelled Aire Gap on some maps. It is the watershed of that pass and lies between the "Little" North Western Railway and the A65 road.
The head of Pendle Water valley culminates in Foulridge near Colne. In literature Colne commonly describes itself as being in the Aire Gap. When the Leeds and Liverpool Canal was being constructed they dug a tunnel at altitude beneath Foulridge's to make a route even lower than the 160m pass near Hellifield.
Transport route
The Pennines form a natural barrier to east–west communications, but the Tyne Gap links Carlisle and Newcastle and the Aire Gap links Lancashire and Yorkshire.
Its extent is vague, a 19th-century author wrote:
The Aire Gap is of considerable strategic importance and historically Skipton Castle controlled the area. Skipton is now considered more central to the Aire Gap than terminal.
Topography
The treeless moorland gives no shelter and modern Pennine transport can find it a formidable barrier when roads are blocked by snow for several days. The Aire Gap route is a sheltered passageway, and inhabited along its length.
The Aire Gap was of topographic significance for the historic North of England providing a low-altitude pass through "the backbone of England". It was the Pennine transport corridor from Cumbria and Strathclyde to the Vale of York. Neolithic long-distance trade is proved by many finds of stone axes from central Cumbria.
To the north stand limestone hills of up to above mean sea level and to its south lie bleak sandstone moors, that above grow little but bracken.
The builders of the "Little" North Western Railway sought the lowest course through the Aire Gap and found that to be near Giggleswick scar at , and just east of Hellifield at a point labelled Aire Gap on maps.
There is a lower pass from Airedale to Ribblesdale near Thornton-in-Craven of at that was used by the Romans who built a road.
The nearest alternative pass is Stainmore Gap (Eden-Tees) to the north that climbs to and its climate is classed as sub-arctic in places.
References
Yorkshire Dales
Geology of the Pennines
Geology of North Yorkshire
|
```perl6
package TAP::Parser::Source;
use strict;
use warnings;
use File::Basename qw( fileparse );
use base 'TAP::Object';
use constant BLK_SIZE => 512;
=head1 NAME
TAP::Parser::Source - a TAP source & meta data about it
=head1 VERSION
Version 3.44
=cut
our $VERSION = '3.44';
=head1 SYNOPSIS
use TAP::Parser::Source;
my $source = TAP::Parser::Source->new;
$source->raw( \'reference to raw TAP source' )
->config( \%config )
->merge( $boolean )
->switches( \@switches )
->test_args( \@args )
->assemble_meta;
do { ... } if $source->meta->{is_file};
# see assemble_meta for a full list of data available
=head1 DESCRIPTION
A TAP I<source> is something that produces a stream of TAP for the parser to
consume, such as an executable file, a text file, an archive, an IO handle, a
database, etc. C<TAP::Parser::Source>s encapsulate these I<raw> sources, and
provide some useful meta data about them. They are used by
L<TAP::Parser::SourceHandler>s, which do whatever is required to produce &
capture a stream of TAP from the I<raw> source, and package it up in a
L<TAP::Parser::Iterator> for the parser to consume.
Unless you're writing a new L<TAP::Parser::SourceHandler>, a plugin or
subclassing L<TAP::Parser>, you probably won't need to use this module directly.
=head1 METHODS
=head2 Class Methods
=head3 C<new>
my $source = TAP::Parser::Source->new;
Returns a new C<TAP::Parser::Source> object.
=cut
# new() implementation supplied by TAP::Object
sub _initialize {
my ($self) = @_;
$self->meta( {} );
$self->config( {} );
return $self;
}
##############################################################################
=head2 Instance Methods
=head3 C<raw>
my $raw = $source->raw;
$source->raw( $some_value );
Chaining getter/setter for the raw TAP source. This is a reference, as it may
contain large amounts of data (eg: raw TAP).
=head3 C<meta>
my $meta = $source->meta;
$source->meta({ %some_value });
Chaining getter/setter for meta data about the source. This defaults to an
empty hashref. See L</assemble_meta> for more info.
=head3 C<has_meta>
True if the source has meta data.
=head3 C<config>
my $config = $source->config;
$source->config({ %some_value });
Chaining getter/setter for the source's configuration, if any has been provided
by the user. How it's used is up to you. This defaults to an empty hashref.
See L</config_for> for more info.
=head3 C<merge>
my $merge = $source->merge;
$source->config( $bool );
Chaining getter/setter for the flag that dictates whether STDOUT and STDERR
should be merged (where appropriate). Defaults to undef.
=head3 C<switches>
my $switches = $source->switches;
$source->config([ @switches ]);
Chaining getter/setter for the list of command-line switches that should be
passed to the source (where appropriate). Defaults to undef.
=head3 C<test_args>
my $test_args = $source->test_args;
$source->config([ @test_args ]);
Chaining getter/setter for the list of command-line arguments that should be
passed to the source (where appropriate). Defaults to undef.
=cut
sub raw {
my $self = shift;
return $self->{raw} unless @_;
$self->{raw} = shift;
return $self;
}
sub meta {
my $self = shift;
return $self->{meta} unless @_;
$self->{meta} = shift;
return $self;
}
sub has_meta {
return scalar %{ shift->meta } ? 1 : 0;
}
sub config {
my $self = shift;
return $self->{config} unless @_;
$self->{config} = shift;
return $self;
}
sub merge {
my $self = shift;
return $self->{merge} unless @_;
$self->{merge} = shift;
return $self;
}
sub switches {
my $self = shift;
return $self->{switches} unless @_;
$self->{switches} = shift;
return $self;
}
sub test_args {
my $self = shift;
return $self->{test_args} unless @_;
$self->{test_args} = shift;
return $self;
}
=head3 C<assemble_meta>
my $meta = $source->assemble_meta;
Gathers meta data about the L</raw> source, stashes it in L</meta> and returns
it as a hashref. This is done so that the L<TAP::Parser::SourceHandler>s don't
have to repeat common checks. Currently this includes:
is_scalar => $bool,
is_hash => $bool,
is_array => $bool,
# for scalars:
length => $n
has_newlines => $bool
# only done if the scalar looks like a filename
is_file => $bool,
is_dir => $bool,
is_symlink => $bool,
file => {
# only done if the scalar looks like a filename
basename => $string, # including ext
dir => $string,
ext => $string,
lc_ext => $string,
# system checks
exists => $bool,
stat => [ ... ], # perldoc -f stat
empty => $bool,
size => $n,
text => $bool,
binary => $bool,
read => $bool,
write => $bool,
execute => $bool,
setuid => $bool,
setgid => $bool,
sticky => $bool,
is_file => $bool,
is_dir => $bool,
is_symlink => $bool,
# only done if the file's a symlink
lstat => [ ... ], # perldoc -f lstat
# only done if the file's a readable text file
shebang => $first_line,
}
# for arrays:
size => $n,
=cut
sub assemble_meta {
my ($self) = @_;
return $self->meta if $self->has_meta;
my $meta = $self->meta;
my $raw = $self->raw;
# rudimentary is object test - if it's blessed it'll
# inherit from UNIVERSAL
$meta->{is_object} = UNIVERSAL::isa( $raw, 'UNIVERSAL' ) ? 1 : 0;
if ( $meta->{is_object} ) {
$meta->{class} = ref($raw);
}
else {
my $ref = lc( ref($raw) );
$meta->{"is_$ref"} = 1;
}
if ( $meta->{is_scalar} ) {
my $source = $$raw;
$meta->{length} = length($$raw);
$meta->{has_newlines} = $$raw =~ /\n/ ? 1 : 0;
# only do file checks if it looks like a filename
if ( !$meta->{has_newlines} and $meta->{length} < 1024 ) {
my $file = {};
$file->{exists} = -e $source ? 1 : 0;
if ( $file->{exists} ) {
$meta->{file} = $file;
# avoid extra system calls (see `perldoc -f -X`)
$file->{stat} = [ stat(_) ];
$file->{empty} = -z _ ? 1 : 0;
$file->{size} = -s _;
$file->{text} = -T _ ? 1 : 0;
$file->{binary} = -B _ ? 1 : 0;
$file->{read} = -r _ ? 1 : 0;
$file->{write} = -w _ ? 1 : 0;
$file->{execute} = -x _ ? 1 : 0;
$file->{setuid} = -u _ ? 1 : 0;
$file->{setgid} = -g _ ? 1 : 0;
$file->{sticky} = -k _ ? 1 : 0;
$meta->{is_file} = $file->{is_file} = -f _ ? 1 : 0;
$meta->{is_dir} = $file->{is_dir} = -d _ ? 1 : 0;
# symlink check requires another system call
$meta->{is_symlink} = $file->{is_symlink}
= -l $source ? 1 : 0;
if ( $file->{is_symlink} ) {
$file->{lstat} = [ lstat(_) ];
}
# put together some common info about the file
( $file->{basename}, $file->{dir}, $file->{ext} )
= map { defined $_ ? $_ : '' }
fileparse( $source, qr/\.[^.]*/ );
$file->{lc_ext} = lc( $file->{ext} );
$file->{basename} .= $file->{ext} if $file->{ext};
if ( !$file->{is_dir} && $file->{read} ) {
eval { $file->{shebang} = $self->shebang($$raw); };
if ( my $e = $@ ) {
warn $e;
}
}
}
}
}
elsif ( $meta->{is_array} ) {
$meta->{size} = $#$raw + 1;
}
elsif ( $meta->{is_hash} ) {
; # do nothing
}
return $meta;
}
=head3 C<shebang>
Get the shebang line for a script file.
my $shebang = TAP::Parser::Source->shebang( $some_script );
May be called as a class method
=cut
{
# Global shebang cache.
my %shebang_for;
sub _read_shebang {
my ( $class, $file ) = @_;
open my $fh, '<', $file or die "Can't read $file: $!\n";
# Might be a binary file - so read a fixed number of bytes.
my $got = read $fh, my ($buf), BLK_SIZE;
defined $got or die "I/O error: $!\n";
return $1 if $buf =~ /(.*)/;
return;
}
sub shebang {
my ( $class, $file ) = @_;
$shebang_for{$file} = $class->_read_shebang($file)
unless exists $shebang_for{$file};
return $shebang_for{$file};
}
}
=head3 C<config_for>
my $config = $source->config_for( $class );
Returns L</config> for the $class given. Class names may be fully qualified
or abbreviated, eg:
# these are equivalent
$source->config_for( 'Perl' );
$source->config_for( 'TAP::Parser::SourceHandler::Perl' );
If a fully qualified $class is given, its abbreviated version is checked first.
=cut
sub config_for {
my ( $self, $class ) = @_;
my ($abbrv_class) = ( $class =~ /(?:\:\:)?(\w+)$/ );
my $config = $self->config->{$abbrv_class} || $self->config->{$class};
return $config;
}
1;
__END__
=head1 AUTHORS
Steve Purkis.
=head1 SEE ALSO
L<TAP::Object>,
L<TAP::Parser>,
L<TAP::Parser::IteratorFactory>,
L<TAP::Parser::SourceHandler>
=cut
```
|
```xml
import { AsyncIterableX } from '../../asynciterable/asynciterablex.js';
import { pluck } from '../../asynciterable/operators/pluck.js';
/**
* @ignore
*/
export function pluckProto<T, R>(this: AsyncIterableX<T>, ...args: string[]): AsyncIterableX<R> {
return pluck<T, R>(...args)(this);
}
AsyncIterableX.prototype.pluck = pluckProto;
declare module '../../asynciterable/asynciterablex' {
interface AsyncIterableX<T> {
pluck: typeof pluckProto;
}
}
```
|
```go
package mempool_test
import (
"errors"
"fmt"
"math/rand"
"testing"
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/reflect/protoreflect"
"cosmossdk.io/core/transaction"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/mempool"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
txsigning "github.com/cosmos/cosmos-sdk/types/tx/signing"
)
type nonVerifiableTx struct{}
func (n nonVerifiableTx) GetMsgs() []sdk.Msg {
panic("not implemented")
}
func (n nonVerifiableTx) GetReflectMessages() ([]protoreflect.Message, error) {
panic("not implemented")
}
func (n nonVerifiableTx) Bytes() []byte {
return []byte{}
}
func (n nonVerifiableTx) Hash() [32]byte {
return [32]byte{}
}
func (n nonVerifiableTx) GetGasLimit() (uint64, error) {
return 0, nil
}
func (n nonVerifiableTx) GetMessages() ([]transaction.Msg, error) {
return nil, nil
}
func (n nonVerifiableTx) GetSenders() ([][]byte, error) {
return nil, nil
}
func TestDefaultSignerExtractor(t *testing.T) {
accounts := simtypes.RandomAccounts(rand.New(rand.NewSource(0)), 1)
sa := accounts[0].Address
ext := mempool.NewDefaultSignerExtractionAdapter()
goodTx := testTx{id: 0, priority: 0, nonce: 0, address: sa}
badTx := &sigErrTx{getSigs: func() ([]txsigning.SignatureV2, error) {
return nil, errors.New("error")
}}
nonSigVerify := nonVerifiableTx{}
tests := []struct {
name string
tx sdk.Tx
sea mempool.SignerExtractionAdapter
err error
}{
{name: "valid tx extracts sigs", tx: goodTx, sea: ext, err: nil},
{name: "invalid tx fails on sig", tx: badTx, sea: ext, err: errors.New("err")},
{name: "non-verifiable tx fails on conversion", tx: nonSigVerify, sea: ext, err: fmt.Errorf("tx of type %T does not implement SigVerifiableTx", nonSigVerify)},
}
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
sigs, err := test.sea.GetSigners(test.tx)
if test.err != nil {
require.Error(t, err)
return
}
require.NoError(t, err)
require.Equal(t, sigs[0].String(), mempool.SignerData{Signer: sa, Sequence: 0}.String())
})
}
}
```
|
Sebastiania crenulata is a species of plant in the family Euphorbiaceae. It is endemic to Jamaica. It is threatened by habitat loss.
References
crenulata
Flora of Jamaica
Critically endangered plants
Endemic flora of Jamaica
Taxonomy articles created by Polbot
Taxobox binomials not recognized by IUCN
|
```yaml
plural : "1"
direction : "LTR"
numbers {
symbols {
decimal : ","
group : "."
negative : "-"
percent : "%"
permille : ""
}
formats {
decimal : "#,##0.###"
currency : "#,##0.00"
percent : "#,##0%"
}
}
currencies {
AUD {
symbol : "AU$"
}
BRL {
symbol : "R$"
}
CAD {
symbol : "CA$"
}
CNY {
symbol : "CN"
}
EUR {
symbol : ""
}
GBP {
symbol : ""
}
HKD {
symbol : "HK$"
}
ILS {
symbol : ""
}
INR {
symbol : ""
}
JPY {
symbol : "JP"
}
KRW {
symbol : ""
}
MXN {
symbol : "MX$"
}
NZD {
symbol : "NZ$"
}
THB {
symbol : ""
}
TWD {
symbol : "NT$"
}
USD {
symbol : "US$"
}
VND {
symbol : ""
}
XAF {
symbol : "FCFA"
}
XCD {
symbol : "EC$"
}
XPF {
symbol : "CFPF"
}
}
datetime {
formats {
date {
full : "EEEE, d 'di' MMMM 'di' y"
long : "d 'di' MMMM 'di' y"
medium : "d 'di' MMM 'di' y"
short : "d/M/y"
}
time {
full : "HH:mm:ss zzzz"
long : "HH:mm:ss z"
medium : "HH:mm:ss"
short : "HH:mm"
}
datetime {
full : "{1} {0}"
long : "{1} {0}"
medium : "{1} {0}"
short : "{1} {0}"
}
}
formatNames {
months {
abbreviated {
1 : "Jan"
2 : "Fev"
3 : "Mar"
4 : "Abr"
5 : "Mai"
6 : "Jun"
7 : "Jul"
8 : "Ago"
9 : "Set"
10 : "Otu"
11 : "Nuv"
12 : "Diz"
}
narrow {
1 : "J"
2 : "F"
3 : "M"
4 : "A"
5 : "M"
6 : "J"
7 : "J"
8 : "A"
9 : "S"
10 : "O"
11 : "N"
12 : "D"
}
wide {
1 : "Janeru"
2 : "Fevereru"
3 : "Marsu"
4 : "Abril"
5 : "Maiu"
6 : "Junhu"
7 : "Julhu"
8 : "Agostu"
9 : "Setenbru"
10 : "Otubru"
11 : "Nuvenbru"
12 : "Dizenbru"
}
}
days {
abbreviated {
sun : "dum"
mon : "sig"
tue : "ter"
wed : "kua"
thu : "kin"
fri : "ses"
sat : "sab"
}
narrow {
sun : "d"
mon : "s"
tue : "t"
wed : "k"
thu : "k"
fri : "s"
sat : "s"
}
short {
sun : "du"
mon : "si"
tue : "te"
wed : "ku"
thu : "ki"
fri : "se"
sat : "sa"
}
wide {
sun : "dumingu"
mon : "sigunda-fera"
tue : "tersa-fera"
wed : "kuarta-fera"
thu : "kinta-fera"
fri : "sesta-fera"
sat : "sabadu"
}
}
periods {
abbreviated {
am : "am"
pm : "pm"
}
narrow {
am : "am"
pm : "pm"
}
wide {
am : "am"
pm : "pm"
}
}
}
}
```
|
```c
/*
*/
#include "ittnotify_config.h"
#if ITT_PLATFORM==ITT_PLATFORM_WIN
#include <windows.h>
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
#if ITT_PLATFORM != ITT_PLATFORM_MAC && ITT_PLATFORM != ITT_PLATFORM_FREEBSD
#include <malloc.h>
#endif
#include <stdlib.h>
#include "jitprofiling.h"
static const char rcsid[] = "\n@(#) $Revision$\n";
#define DLL_ENVIRONMENT_VAR "VS_PROFILER"
#ifndef NEW_DLL_ENVIRONMENT_VAR
#if ITT_ARCH==ITT_ARCH_IA32
#define NEW_DLL_ENVIRONMENT_VAR "INTEL_JIT_PROFILER32"
#else
#define NEW_DLL_ENVIRONMENT_VAR "INTEL_JIT_PROFILER64"
#endif
#endif /* NEW_DLL_ENVIRONMENT_VAR */
#if ITT_PLATFORM==ITT_PLATFORM_WIN
HINSTANCE m_libHandle = NULL;
#elif ITT_PLATFORM==ITT_PLATFORM_MAC
void* m_libHandle = NULL;
#else
void* m_libHandle = NULL;
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
/* default location of JIT profiling agent on Android */
#define ANDROID_JIT_AGENT_PATH "/data/intel/libittnotify.so"
/* the function pointers */
typedef unsigned int(JITAPI *TPInitialize)(void);
static TPInitialize FUNC_Initialize=NULL;
typedef unsigned int(JITAPI *TPNotify)(unsigned int, void*);
static TPNotify FUNC_NotifyEvent=NULL;
static iJIT_IsProfilingActiveFlags executionMode = iJIT_NOTHING_RUNNING;
/* end collector dll part. */
/* loadiJIT_Funcs() : this function is called just in the beginning
* and is responsible to load the functions from BistroJavaCollector.dll
* result:
* on success: the functions loads, iJIT_DLL_is_missing=0, return value = 1
* on failure: the functions are NULL, iJIT_DLL_is_missing=1, return value = 0
*/
static int loadiJIT_Funcs(void);
/* global representing whether the collector can't be loaded */
static int iJIT_DLL_is_missing = 0;
ITT_EXTERN_C int JITAPI
iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData)
{
int ReturnValue = 0;
/* initialization part - the collector has not been loaded yet. */
if (!FUNC_NotifyEvent)
{
if (iJIT_DLL_is_missing)
return 0;
if (!loadiJIT_Funcs())
return 0;
}
if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED ||
event_type == iJVM_EVENT_TYPE_METHOD_UPDATE)
{
if (((piJIT_Method_Load)EventSpecificData)->method_id == 0)
return 0;
}
else if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2)
{
if (((piJIT_Method_Load_V2)EventSpecificData)->method_id == 0)
return 0;
}
else if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3)
{
if (((piJIT_Method_Load_V3)EventSpecificData)->method_id == 0)
return 0;
}
else if (event_type == iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED)
{
if (((piJIT_Method_Inline_Load)EventSpecificData)->method_id == 0 ||
((piJIT_Method_Inline_Load)EventSpecificData)->parent_method_id == 0)
return 0;
}
ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData);
return ReturnValue;
}
ITT_EXTERN_C iJIT_IsProfilingActiveFlags JITAPI iJIT_IsProfilingActive()
{
if (!iJIT_DLL_is_missing)
{
loadiJIT_Funcs();
}
return executionMode;
}
/* This function loads the collector dll and the relevant functions.
* on success: all functions load, iJIT_DLL_is_missing = 0, return value = 1
* on failure: all functions are NULL, iJIT_DLL_is_missing = 1, return value = 0
*/
static int loadiJIT_Funcs()
{
static int bDllWasLoaded = 0;
char *dllName = (char*)rcsid; /* !! Just to avoid unused code elimination */
#if ITT_PLATFORM==ITT_PLATFORM_WIN
DWORD dNameLength = 0;
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
if(bDllWasLoaded)
{
/* dll was already loaded, no need to do it for the second time */
return 1;
}
/* Assumes that the DLL will not be found */
iJIT_DLL_is_missing = 1;
FUNC_NotifyEvent = NULL;
if (m_libHandle)
{
#if ITT_PLATFORM==ITT_PLATFORM_WIN
FreeLibrary(m_libHandle);
#else /* ITT_PLATFORM==ITT_PLATFORM_WIN */
dlclose(m_libHandle);
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
m_libHandle = NULL;
}
/* Try to get the dll name from the environment */
#if ITT_PLATFORM==ITT_PLATFORM_WIN
dNameLength = GetEnvironmentVariableA(NEW_DLL_ENVIRONMENT_VAR, NULL, 0);
if (dNameLength)
{
DWORD envret = 0;
dllName = (char*)malloc(sizeof(char) * (dNameLength + 1));
if(dllName != NULL)
{
envret = GetEnvironmentVariableA(NEW_DLL_ENVIRONMENT_VAR,
dllName, dNameLength);
if (envret)
{
/* Try to load the dll from the PATH... */
m_libHandle = LoadLibraryExA(dllName,
NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
}
free(dllName);
}
} else {
/* Try to use old VS_PROFILER variable */
dNameLength = GetEnvironmentVariableA(DLL_ENVIRONMENT_VAR, NULL, 0);
if (dNameLength)
{
DWORD envret = 0;
dllName = (char*)malloc(sizeof(char) * (dNameLength + 1));
if(dllName != NULL)
{
envret = GetEnvironmentVariableA(DLL_ENVIRONMENT_VAR,
dllName, dNameLength);
if (envret)
{
/* Try to load the dll from the PATH... */
m_libHandle = LoadLibraryA(dllName);
}
free(dllName);
}
}
}
#else /* ITT_PLATFORM==ITT_PLATFORM_WIN */
dllName = getenv(NEW_DLL_ENVIRONMENT_VAR);
if (!dllName)
dllName = getenv(DLL_ENVIRONMENT_VAR);
#if defined(__ANDROID__) || defined(ANDROID)
if (!dllName)
dllName = ANDROID_JIT_AGENT_PATH;
#endif
if (dllName)
{
/* Try to load the dll from the PATH... */
if (DL_SYMBOLS)
{
m_libHandle = dlopen(dllName, RTLD_LAZY);
}
}
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
/* if the dll wasn't loaded - exit. */
if (!m_libHandle)
{
iJIT_DLL_is_missing = 1; /* don't try to initialize
* JIT agent the second time
*/
return 0;
}
#if ITT_PLATFORM==ITT_PLATFORM_WIN
FUNC_NotifyEvent = (TPNotify)GetProcAddress(m_libHandle, "NotifyEvent");
#else /* ITT_PLATFORM==ITT_PLATFORM_WIN */
FUNC_NotifyEvent = (TPNotify)dlsym(m_libHandle, "NotifyEvent");
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
if (!FUNC_NotifyEvent)
{
FUNC_Initialize = NULL;
return 0;
}
#if ITT_PLATFORM==ITT_PLATFORM_WIN
FUNC_Initialize = (TPInitialize)GetProcAddress(m_libHandle, "Initialize");
#else /* ITT_PLATFORM==ITT_PLATFORM_WIN */
FUNC_Initialize = (TPInitialize)dlsym(m_libHandle, "Initialize");
#endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
if (!FUNC_Initialize)
{
FUNC_NotifyEvent = NULL;
return 0;
}
executionMode = (iJIT_IsProfilingActiveFlags)FUNC_Initialize();
bDllWasLoaded = 1;
iJIT_DLL_is_missing = 0; /* DLL is ok. */
return 1;
}
ITT_EXTERN_C unsigned int JITAPI iJIT_GetNewMethodID()
{
static unsigned int methodID = 1;
if (methodID == 0)
return 0; /* ERROR : this is not a valid value */
return methodID++;
}
```
|
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DBGlass</title>
<link rel="stylesheet" href="../node_modules/font-awesome/css/font-awesome.min.css" />
<script>
(function() {
if (!process.env.HOT) {
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = '../dist/style.css';
document.write(link.outerHTML);
}
}());
</script>
</head>
<body>
<div id="root"></div>
<script>
(function() {
const script = document.createElement('script');
//script.async = true;
script.src = (process.env.HOT) ? 'path_to_url : '../dist/bundle.js';
let s0 = document.getElementsByTagName('script')[0];
s0.parentNode.insertBefore(script, s0);
}());
</script>
<!-- start Mixpanel -->
<script type="text/javascript">
(function() {
if (process.env.NODE_ENV !== 'development') {
(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"path_to_url":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
mixpanel.init("");
}
}());
</script>
<!-- end Mixpanel -->
</body>
</html>
```
|
```gas
.machine "any"
.text
.globl sha512_block_ppc
.type sha512_block_ppc,@function
.align 6
sha512_block_ppc:
stwu 1,-256(1)
mflr 0
slwi 5,5,7
stw 3,168(1)
stw 14,184(1)
stw 15,188(1)
stw 16,192(1)
stw 17,196(1)
stw 18,200(1)
stw 19,204(1)
stw 20,208(1)
stw 21,212(1)
stw 22,216(1)
stw 23,220(1)
stw 24,224(1)
stw 25,228(1)
stw 26,232(1)
stw 27,236(1)
stw 28,240(1)
stw 29,244(1)
stw 30,248(1)
stw 31,252(1)
stw 0,260(1)
lwz 16,0(3)
lwz 17,4(3)
lwz 18,8(3)
lwz 19,12(3)
lwz 20,16(3)
lwz 21,20(3)
lwz 22,24(3)
lwz 23,28(3)
lwz 24,32(3)
lwz 25,36(3)
lwz 26,40(3)
lwz 27,44(3)
lwz 28,48(3)
lwz 29,52(3)
lwz 30,56(3)
lwz 31,60(3)
bl .LPICmeup
.LPICedup:
andi. 0,4,3
bne .Lunaligned
.Laligned:
add 5,4,5
stw 5,160(1)
stw 4,164(1)
bl .Lsha2_block_private
b .Ldone
.align 4
.Lunaligned:
subfic 0,4,4096
andi. 0,0,3968
beq .Lcross_page
.long 0x7c050040
ble .Laligned
subfc 5,0,5
add 0,4,0
stw 5,156(1)
stw 0,160(1)
stw 4,164(1)
bl .Lsha2_block_private
lwz 5,156(1)
.Lcross_page:
li 0,32
mtctr 0
addi 12,1,24
.Lmemcpy:
lbz 8,0(4)
lbz 9,1(4)
lbz 10,2(4)
lbz 11,3(4)
addi 4,4,4
stb 8,0(12)
stb 9,1(12)
stb 10,2(12)
stb 11,3(12)
addi 12,12,4
bdnz .Lmemcpy
stw 4,152(1)
addi 0,1,152
addi 4,1,24
stw 5,156(1)
stw 0,160(1)
stw 4,164(1)
bl .Lsha2_block_private
lwz 4,152(1)
lwz 5,156(1)
addic. 5,5,-128
bne .Lunaligned
.Ldone:
lwz 0,260(1)
lwz 14,184(1)
lwz 15,188(1)
lwz 16,192(1)
lwz 17,196(1)
lwz 18,200(1)
lwz 19,204(1)
lwz 20,208(1)
lwz 21,212(1)
lwz 22,216(1)
lwz 23,220(1)
lwz 24,224(1)
lwz 25,228(1)
lwz 26,232(1)
lwz 27,236(1)
lwz 28,240(1)
lwz 29,244(1)
lwz 30,248(1)
lwz 31,252(1)
mtlr 0
addi 1,1,256
blr
.long 0
.byte 0,12,4,1,0x80,18,3,0
.long 0
.align 4
.Lsha2_block_private:
lwz 8,0(4)
xor 14,19,21
lwz 6,4(4)
xor 15,18,20
lwz 9,4(7)
xor 11,27,29
lwz 10,0(7)
xor 12,26,28
addc 31,31,6
stw 6,24(1)
srwi 0,25,14
srwi 5,24,14
and 11,11,25
adde 30,30,8
and 12,12,24
stw 8,28(1)
srwi 6,25,18
srwi 8,24,18
addc 31,31,9
insrwi 0,24,14,0
insrwi 5,25,14,0
xor 11,11,29
adde 30,30,10
xor 12,12,28
insrwi 6,24,18,0
insrwi 8,25,18,0
addc 31,31,11
srwi 9,24,41-32
srwi 10,25,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,25,41-32,0
insrwi 10,24,41-32,0
xor 11,17,19
adde 30,30,12
xor 12,16,18
xor 0,0,9
xor 5,5,10
srwi 6,17,28
and 14,14,11
addc 31,31,0
and 15,15,12
srwi 8,16,28
srwi 0,16,34-32
adde 30,30,5
srwi 5,17,34-32
insrwi 6,16,28,0
insrwi 8,17,28,0
xor 14,14,19
addc 23,23,31
xor 15,15,18
insrwi 0,17,34-32,0
insrwi 5,16,34-32,0
adde 22,22,30
srwi 9,16,39-32
srwi 10,17,39-32
xor 0,0,6
addc 31,31,14
xor 5,5,8
insrwi 9,17,39-32,0
insrwi 10,16,39-32,0
adde 30,30,15
lwz 8,8(4)
lwz 6,12(4)
xor 0,0,9
xor 5,5,10
addc 31,31,0
adde 30,30,5
lwz 9,12(7)
xor 14,25,27
lwz 10,8(7)
xor 15,24,26
addc 29,29,6
stw 6,32(1)
srwi 0,23,14
srwi 5,22,14
and 14,14,23
adde 28,28,8
and 15,15,22
stw 8,36(1)
srwi 6,23,18
srwi 8,22,18
addc 29,29,9
insrwi 0,22,14,0
insrwi 5,23,14,0
xor 14,14,27
adde 28,28,10
xor 15,15,26
insrwi 6,22,18,0
insrwi 8,23,18,0
addc 29,29,14
srwi 9,22,41-32
srwi 10,23,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,23,41-32,0
insrwi 10,22,41-32,0
xor 14,31,17
adde 28,28,15
xor 15,30,16
xor 0,0,9
xor 5,5,10
srwi 6,31,28
and 11,11,14
addc 29,29,0
and 12,12,15
srwi 8,30,28
srwi 0,30,34-32
adde 28,28,5
srwi 5,31,34-32
insrwi 6,30,28,0
insrwi 8,31,28,0
xor 11,11,17
addc 21,21,29
xor 12,12,16
insrwi 0,31,34-32,0
insrwi 5,30,34-32,0
adde 20,20,28
srwi 9,30,39-32
srwi 10,31,39-32
xor 0,0,6
addc 29,29,11
xor 5,5,8
insrwi 9,31,39-32,0
insrwi 10,30,39-32,0
adde 28,28,12
lwz 8,16(4)
lwz 6,20(4)
xor 0,0,9
xor 5,5,10
addc 29,29,0
adde 28,28,5
lwz 9,20(7)
xor 11,23,25
lwz 10,16(7)
xor 12,22,24
addc 27,27,6
stw 6,40(1)
srwi 0,21,14
srwi 5,20,14
and 11,11,21
adde 26,26,8
and 12,12,20
stw 8,44(1)
srwi 6,21,18
srwi 8,20,18
addc 27,27,9
insrwi 0,20,14,0
insrwi 5,21,14,0
xor 11,11,25
adde 26,26,10
xor 12,12,24
insrwi 6,20,18,0
insrwi 8,21,18,0
addc 27,27,11
srwi 9,20,41-32
srwi 10,21,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,21,41-32,0
insrwi 10,20,41-32,0
xor 11,29,31
adde 26,26,12
xor 12,28,30
xor 0,0,9
xor 5,5,10
srwi 6,29,28
and 14,14,11
addc 27,27,0
and 15,15,12
srwi 8,28,28
srwi 0,28,34-32
adde 26,26,5
srwi 5,29,34-32
insrwi 6,28,28,0
insrwi 8,29,28,0
xor 14,14,31
addc 19,19,27
xor 15,15,30
insrwi 0,29,34-32,0
insrwi 5,28,34-32,0
adde 18,18,26
srwi 9,28,39-32
srwi 10,29,39-32
xor 0,0,6
addc 27,27,14
xor 5,5,8
insrwi 9,29,39-32,0
insrwi 10,28,39-32,0
adde 26,26,15
lwz 8,24(4)
lwz 6,28(4)
xor 0,0,9
xor 5,5,10
addc 27,27,0
adde 26,26,5
lwz 9,28(7)
xor 14,21,23
lwz 10,24(7)
xor 15,20,22
addc 25,25,6
stw 6,48(1)
srwi 0,19,14
srwi 5,18,14
and 14,14,19
adde 24,24,8
and 15,15,18
stw 8,52(1)
srwi 6,19,18
srwi 8,18,18
addc 25,25,9
insrwi 0,18,14,0
insrwi 5,19,14,0
xor 14,14,23
adde 24,24,10
xor 15,15,22
insrwi 6,18,18,0
insrwi 8,19,18,0
addc 25,25,14
srwi 9,18,41-32
srwi 10,19,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,19,41-32,0
insrwi 10,18,41-32,0
xor 14,27,29
adde 24,24,15
xor 15,26,28
xor 0,0,9
xor 5,5,10
srwi 6,27,28
and 11,11,14
addc 25,25,0
and 12,12,15
srwi 8,26,28
srwi 0,26,34-32
adde 24,24,5
srwi 5,27,34-32
insrwi 6,26,28,0
insrwi 8,27,28,0
xor 11,11,29
addc 17,17,25
xor 12,12,28
insrwi 0,27,34-32,0
insrwi 5,26,34-32,0
adde 16,16,24
srwi 9,26,39-32
srwi 10,27,39-32
xor 0,0,6
addc 25,25,11
xor 5,5,8
insrwi 9,27,39-32,0
insrwi 10,26,39-32,0
adde 24,24,12
lwz 8,32(4)
lwz 6,36(4)
xor 0,0,9
xor 5,5,10
addc 25,25,0
adde 24,24,5
lwz 9,36(7)
xor 11,19,21
lwz 10,32(7)
xor 12,18,20
addc 23,23,6
stw 6,56(1)
srwi 0,17,14
srwi 5,16,14
and 11,11,17
adde 22,22,8
and 12,12,16
stw 8,60(1)
srwi 6,17,18
srwi 8,16,18
addc 23,23,9
insrwi 0,16,14,0
insrwi 5,17,14,0
xor 11,11,21
adde 22,22,10
xor 12,12,20
insrwi 6,16,18,0
insrwi 8,17,18,0
addc 23,23,11
srwi 9,16,41-32
srwi 10,17,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,17,41-32,0
insrwi 10,16,41-32,0
xor 11,25,27
adde 22,22,12
xor 12,24,26
xor 0,0,9
xor 5,5,10
srwi 6,25,28
and 14,14,11
addc 23,23,0
and 15,15,12
srwi 8,24,28
srwi 0,24,34-32
adde 22,22,5
srwi 5,25,34-32
insrwi 6,24,28,0
insrwi 8,25,28,0
xor 14,14,27
addc 31,31,23
xor 15,15,26
insrwi 0,25,34-32,0
insrwi 5,24,34-32,0
adde 30,30,22
srwi 9,24,39-32
srwi 10,25,39-32
xor 0,0,6
addc 23,23,14
xor 5,5,8
insrwi 9,25,39-32,0
insrwi 10,24,39-32,0
adde 22,22,15
lwz 8,40(4)
lwz 6,44(4)
xor 0,0,9
xor 5,5,10
addc 23,23,0
adde 22,22,5
lwz 9,44(7)
xor 14,17,19
lwz 10,40(7)
xor 15,16,18
addc 21,21,6
stw 6,64(1)
srwi 0,31,14
srwi 5,30,14
and 14,14,31
adde 20,20,8
and 15,15,30
stw 8,68(1)
srwi 6,31,18
srwi 8,30,18
addc 21,21,9
insrwi 0,30,14,0
insrwi 5,31,14,0
xor 14,14,19
adde 20,20,10
xor 15,15,18
insrwi 6,30,18,0
insrwi 8,31,18,0
addc 21,21,14
srwi 9,30,41-32
srwi 10,31,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,31,41-32,0
insrwi 10,30,41-32,0
xor 14,23,25
adde 20,20,15
xor 15,22,24
xor 0,0,9
xor 5,5,10
srwi 6,23,28
and 11,11,14
addc 21,21,0
and 12,12,15
srwi 8,22,28
srwi 0,22,34-32
adde 20,20,5
srwi 5,23,34-32
insrwi 6,22,28,0
insrwi 8,23,28,0
xor 11,11,25
addc 29,29,21
xor 12,12,24
insrwi 0,23,34-32,0
insrwi 5,22,34-32,0
adde 28,28,20
srwi 9,22,39-32
srwi 10,23,39-32
xor 0,0,6
addc 21,21,11
xor 5,5,8
insrwi 9,23,39-32,0
insrwi 10,22,39-32,0
adde 20,20,12
lwz 8,48(4)
lwz 6,52(4)
xor 0,0,9
xor 5,5,10
addc 21,21,0
adde 20,20,5
lwz 9,52(7)
xor 11,31,17
lwz 10,48(7)
xor 12,30,16
addc 19,19,6
stw 6,72(1)
srwi 0,29,14
srwi 5,28,14
and 11,11,29
adde 18,18,8
and 12,12,28
stw 8,76(1)
srwi 6,29,18
srwi 8,28,18
addc 19,19,9
insrwi 0,28,14,0
insrwi 5,29,14,0
xor 11,11,17
adde 18,18,10
xor 12,12,16
insrwi 6,28,18,0
insrwi 8,29,18,0
addc 19,19,11
srwi 9,28,41-32
srwi 10,29,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,29,41-32,0
insrwi 10,28,41-32,0
xor 11,21,23
adde 18,18,12
xor 12,20,22
xor 0,0,9
xor 5,5,10
srwi 6,21,28
and 14,14,11
addc 19,19,0
and 15,15,12
srwi 8,20,28
srwi 0,20,34-32
adde 18,18,5
srwi 5,21,34-32
insrwi 6,20,28,0
insrwi 8,21,28,0
xor 14,14,23
addc 27,27,19
xor 15,15,22
insrwi 0,21,34-32,0
insrwi 5,20,34-32,0
adde 26,26,18
srwi 9,20,39-32
srwi 10,21,39-32
xor 0,0,6
addc 19,19,14
xor 5,5,8
insrwi 9,21,39-32,0
insrwi 10,20,39-32,0
adde 18,18,15
lwz 8,56(4)
lwz 6,60(4)
xor 0,0,9
xor 5,5,10
addc 19,19,0
adde 18,18,5
lwz 9,60(7)
xor 14,29,31
lwz 10,56(7)
xor 15,28,30
addc 17,17,6
stw 6,80(1)
srwi 0,27,14
srwi 5,26,14
and 14,14,27
adde 16,16,8
and 15,15,26
stw 8,84(1)
srwi 6,27,18
srwi 8,26,18
addc 17,17,9
insrwi 0,26,14,0
insrwi 5,27,14,0
xor 14,14,31
adde 16,16,10
xor 15,15,30
insrwi 6,26,18,0
insrwi 8,27,18,0
addc 17,17,14
srwi 9,26,41-32
srwi 10,27,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,27,41-32,0
insrwi 10,26,41-32,0
xor 14,19,21
adde 16,16,15
xor 15,18,20
xor 0,0,9
xor 5,5,10
srwi 6,19,28
and 11,11,14
addc 17,17,0
and 12,12,15
srwi 8,18,28
srwi 0,18,34-32
adde 16,16,5
srwi 5,19,34-32
insrwi 6,18,28,0
insrwi 8,19,28,0
xor 11,11,21
addc 25,25,17
xor 12,12,20
insrwi 0,19,34-32,0
insrwi 5,18,34-32,0
adde 24,24,16
srwi 9,18,39-32
srwi 10,19,39-32
xor 0,0,6
addc 17,17,11
xor 5,5,8
insrwi 9,19,39-32,0
insrwi 10,18,39-32,0
adde 16,16,12
lwz 8,64(4)
lwz 6,68(4)
xor 0,0,9
xor 5,5,10
addc 17,17,0
adde 16,16,5
lwz 9,68(7)
xor 11,27,29
lwz 10,64(7)
xor 12,26,28
addc 31,31,6
stw 6,88(1)
srwi 0,25,14
srwi 5,24,14
and 11,11,25
adde 30,30,8
and 12,12,24
stw 8,92(1)
srwi 6,25,18
srwi 8,24,18
addc 31,31,9
insrwi 0,24,14,0
insrwi 5,25,14,0
xor 11,11,29
adde 30,30,10
xor 12,12,28
insrwi 6,24,18,0
insrwi 8,25,18,0
addc 31,31,11
srwi 9,24,41-32
srwi 10,25,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,25,41-32,0
insrwi 10,24,41-32,0
xor 11,17,19
adde 30,30,12
xor 12,16,18
xor 0,0,9
xor 5,5,10
srwi 6,17,28
and 14,14,11
addc 31,31,0
and 15,15,12
srwi 8,16,28
srwi 0,16,34-32
adde 30,30,5
srwi 5,17,34-32
insrwi 6,16,28,0
insrwi 8,17,28,0
xor 14,14,19
addc 23,23,31
xor 15,15,18
insrwi 0,17,34-32,0
insrwi 5,16,34-32,0
adde 22,22,30
srwi 9,16,39-32
srwi 10,17,39-32
xor 0,0,6
addc 31,31,14
xor 5,5,8
insrwi 9,17,39-32,0
insrwi 10,16,39-32,0
adde 30,30,15
lwz 8,72(4)
lwz 6,76(4)
xor 0,0,9
xor 5,5,10
addc 31,31,0
adde 30,30,5
lwz 9,76(7)
xor 14,25,27
lwz 10,72(7)
xor 15,24,26
addc 29,29,6
stw 6,96(1)
srwi 0,23,14
srwi 5,22,14
and 14,14,23
adde 28,28,8
and 15,15,22
stw 8,100(1)
srwi 6,23,18
srwi 8,22,18
addc 29,29,9
insrwi 0,22,14,0
insrwi 5,23,14,0
xor 14,14,27
adde 28,28,10
xor 15,15,26
insrwi 6,22,18,0
insrwi 8,23,18,0
addc 29,29,14
srwi 9,22,41-32
srwi 10,23,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,23,41-32,0
insrwi 10,22,41-32,0
xor 14,31,17
adde 28,28,15
xor 15,30,16
xor 0,0,9
xor 5,5,10
srwi 6,31,28
and 11,11,14
addc 29,29,0
and 12,12,15
srwi 8,30,28
srwi 0,30,34-32
adde 28,28,5
srwi 5,31,34-32
insrwi 6,30,28,0
insrwi 8,31,28,0
xor 11,11,17
addc 21,21,29
xor 12,12,16
insrwi 0,31,34-32,0
insrwi 5,30,34-32,0
adde 20,20,28
srwi 9,30,39-32
srwi 10,31,39-32
xor 0,0,6
addc 29,29,11
xor 5,5,8
insrwi 9,31,39-32,0
insrwi 10,30,39-32,0
adde 28,28,12
lwz 8,80(4)
lwz 6,84(4)
xor 0,0,9
xor 5,5,10
addc 29,29,0
adde 28,28,5
lwz 9,84(7)
xor 11,23,25
lwz 10,80(7)
xor 12,22,24
addc 27,27,6
stw 6,104(1)
srwi 0,21,14
srwi 5,20,14
and 11,11,21
adde 26,26,8
and 12,12,20
stw 8,108(1)
srwi 6,21,18
srwi 8,20,18
addc 27,27,9
insrwi 0,20,14,0
insrwi 5,21,14,0
xor 11,11,25
adde 26,26,10
xor 12,12,24
insrwi 6,20,18,0
insrwi 8,21,18,0
addc 27,27,11
srwi 9,20,41-32
srwi 10,21,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,21,41-32,0
insrwi 10,20,41-32,0
xor 11,29,31
adde 26,26,12
xor 12,28,30
xor 0,0,9
xor 5,5,10
srwi 6,29,28
and 14,14,11
addc 27,27,0
and 15,15,12
srwi 8,28,28
srwi 0,28,34-32
adde 26,26,5
srwi 5,29,34-32
insrwi 6,28,28,0
insrwi 8,29,28,0
xor 14,14,31
addc 19,19,27
xor 15,15,30
insrwi 0,29,34-32,0
insrwi 5,28,34-32,0
adde 18,18,26
srwi 9,28,39-32
srwi 10,29,39-32
xor 0,0,6
addc 27,27,14
xor 5,5,8
insrwi 9,29,39-32,0
insrwi 10,28,39-32,0
adde 26,26,15
lwz 8,88(4)
lwz 6,92(4)
xor 0,0,9
xor 5,5,10
addc 27,27,0
adde 26,26,5
lwz 9,92(7)
xor 14,21,23
lwz 10,88(7)
xor 15,20,22
addc 25,25,6
stw 6,112(1)
srwi 0,19,14
srwi 5,18,14
and 14,14,19
adde 24,24,8
and 15,15,18
stw 8,116(1)
srwi 6,19,18
srwi 8,18,18
addc 25,25,9
insrwi 0,18,14,0
insrwi 5,19,14,0
xor 14,14,23
adde 24,24,10
xor 15,15,22
insrwi 6,18,18,0
insrwi 8,19,18,0
addc 25,25,14
srwi 9,18,41-32
srwi 10,19,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,19,41-32,0
insrwi 10,18,41-32,0
xor 14,27,29
adde 24,24,15
xor 15,26,28
xor 0,0,9
xor 5,5,10
srwi 6,27,28
and 11,11,14
addc 25,25,0
and 12,12,15
srwi 8,26,28
srwi 0,26,34-32
adde 24,24,5
srwi 5,27,34-32
insrwi 6,26,28,0
insrwi 8,27,28,0
xor 11,11,29
addc 17,17,25
xor 12,12,28
insrwi 0,27,34-32,0
insrwi 5,26,34-32,0
adde 16,16,24
srwi 9,26,39-32
srwi 10,27,39-32
xor 0,0,6
addc 25,25,11
xor 5,5,8
insrwi 9,27,39-32,0
insrwi 10,26,39-32,0
adde 24,24,12
lwz 8,96(4)
lwz 6,100(4)
xor 0,0,9
xor 5,5,10
addc 25,25,0
adde 24,24,5
lwz 9,100(7)
xor 11,19,21
lwz 10,96(7)
xor 12,18,20
addc 23,23,6
stw 6,120(1)
srwi 0,17,14
srwi 5,16,14
and 11,11,17
adde 22,22,8
and 12,12,16
stw 8,124(1)
srwi 6,17,18
srwi 8,16,18
addc 23,23,9
insrwi 0,16,14,0
insrwi 5,17,14,0
xor 11,11,21
adde 22,22,10
xor 12,12,20
insrwi 6,16,18,0
insrwi 8,17,18,0
addc 23,23,11
srwi 9,16,41-32
srwi 10,17,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,17,41-32,0
insrwi 10,16,41-32,0
xor 11,25,27
adde 22,22,12
xor 12,24,26
xor 0,0,9
xor 5,5,10
srwi 6,25,28
and 14,14,11
addc 23,23,0
and 15,15,12
srwi 8,24,28
srwi 0,24,34-32
adde 22,22,5
srwi 5,25,34-32
insrwi 6,24,28,0
insrwi 8,25,28,0
xor 14,14,27
addc 31,31,23
xor 15,15,26
insrwi 0,25,34-32,0
insrwi 5,24,34-32,0
adde 30,30,22
srwi 9,24,39-32
srwi 10,25,39-32
xor 0,0,6
addc 23,23,14
xor 5,5,8
insrwi 9,25,39-32,0
insrwi 10,24,39-32,0
adde 22,22,15
lwz 8,104(4)
lwz 6,108(4)
xor 0,0,9
xor 5,5,10
addc 23,23,0
adde 22,22,5
lwz 9,108(7)
xor 14,17,19
lwz 10,104(7)
xor 15,16,18
addc 21,21,6
stw 6,128(1)
srwi 0,31,14
srwi 5,30,14
and 14,14,31
adde 20,20,8
and 15,15,30
stw 8,132(1)
srwi 6,31,18
srwi 8,30,18
addc 21,21,9
insrwi 0,30,14,0
insrwi 5,31,14,0
xor 14,14,19
adde 20,20,10
xor 15,15,18
insrwi 6,30,18,0
insrwi 8,31,18,0
addc 21,21,14
srwi 9,30,41-32
srwi 10,31,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,31,41-32,0
insrwi 10,30,41-32,0
xor 14,23,25
adde 20,20,15
xor 15,22,24
xor 0,0,9
xor 5,5,10
srwi 6,23,28
and 11,11,14
addc 21,21,0
and 12,12,15
srwi 8,22,28
srwi 0,22,34-32
adde 20,20,5
srwi 5,23,34-32
insrwi 6,22,28,0
insrwi 8,23,28,0
xor 11,11,25
addc 29,29,21
xor 12,12,24
insrwi 0,23,34-32,0
insrwi 5,22,34-32,0
adde 28,28,20
srwi 9,22,39-32
srwi 10,23,39-32
xor 0,0,6
addc 21,21,11
xor 5,5,8
insrwi 9,23,39-32,0
insrwi 10,22,39-32,0
adde 20,20,12
lwz 8,112(4)
lwz 6,116(4)
xor 0,0,9
xor 5,5,10
addc 21,21,0
adde 20,20,5
lwz 9,116(7)
xor 11,31,17
lwz 10,112(7)
xor 12,30,16
addc 19,19,6
stw 6,136(1)
srwi 0,29,14
srwi 5,28,14
and 11,11,29
adde 18,18,8
and 12,12,28
stw 8,140(1)
srwi 6,29,18
srwi 8,28,18
addc 19,19,9
insrwi 0,28,14,0
insrwi 5,29,14,0
xor 11,11,17
adde 18,18,10
xor 12,12,16
insrwi 6,28,18,0
insrwi 8,29,18,0
addc 19,19,11
srwi 9,28,41-32
srwi 10,29,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,29,41-32,0
insrwi 10,28,41-32,0
xor 11,21,23
adde 18,18,12
xor 12,20,22
xor 0,0,9
xor 5,5,10
srwi 6,21,28
and 14,14,11
addc 19,19,0
and 15,15,12
srwi 8,20,28
srwi 0,20,34-32
adde 18,18,5
srwi 5,21,34-32
insrwi 6,20,28,0
insrwi 8,21,28,0
xor 14,14,23
addc 27,27,19
xor 15,15,22
insrwi 0,21,34-32,0
insrwi 5,20,34-32,0
adde 26,26,18
srwi 9,20,39-32
srwi 10,21,39-32
xor 0,0,6
addc 19,19,14
xor 5,5,8
insrwi 9,21,39-32,0
insrwi 10,20,39-32,0
adde 18,18,15
lwz 8,120(4)
lwz 6,124(4)
xor 0,0,9
xor 5,5,10
addc 19,19,0
adde 18,18,5
lwz 9,124(7)
xor 14,29,31
lwz 10,120(7)
xor 15,28,30
addc 17,17,6
stw 6,144(1)
srwi 0,27,14
srwi 5,26,14
and 14,14,27
adde 16,16,8
and 15,15,26
stw 8,148(1)
srwi 6,27,18
srwi 8,26,18
addc 17,17,9
insrwi 0,26,14,0
insrwi 5,27,14,0
xor 14,14,31
adde 16,16,10
xor 15,15,30
insrwi 6,26,18,0
insrwi 8,27,18,0
addc 17,17,14
srwi 9,26,41-32
srwi 10,27,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,27,41-32,0
insrwi 10,26,41-32,0
xor 14,19,21
adde 16,16,15
xor 15,18,20
xor 0,0,9
xor 5,5,10
srwi 6,19,28
and 11,11,14
addc 17,17,0
and 12,12,15
srwi 8,18,28
srwi 0,18,34-32
adde 16,16,5
srwi 5,19,34-32
insrwi 6,18,28,0
insrwi 8,19,28,0
xor 11,11,21
addc 25,25,17
xor 12,12,20
insrwi 0,19,34-32,0
insrwi 5,18,34-32,0
adde 24,24,16
srwi 9,18,39-32
srwi 10,19,39-32
xor 0,0,6
addc 17,17,11
xor 5,5,8
insrwi 9,19,39-32,0
insrwi 10,18,39-32,0
adde 16,16,12
lwz 6,32(1)
lwz 8,36(1)
xor 0,0,9
xor 5,5,10
addc 17,17,0
adde 16,16,5
lwz 3,24(1)
lwz 4,28(1)
li 11,4
mtctr 11
.align 4
.Lrounds:
addi 7,7,128
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,136(1)
srwi 12,8,7
xor 5,5,10
lwz 10,140(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,96(1)
srwi 10,10,6
xor 5,5,12
lwz 12,100(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,4(7)
xor 11,27,29
lwz 10,0(7)
xor 12,26,28
addc 31,31,3
stw 3,24(1)
srwi 0,25,14
srwi 5,24,14
and 11,11,25
adde 30,30,4
and 12,12,24
stw 4,28(1)
srwi 3,25,18
srwi 4,24,18
addc 31,31,9
insrwi 0,24,14,0
insrwi 5,25,14,0
xor 11,11,29
adde 30,30,10
xor 12,12,28
insrwi 3,24,18,0
insrwi 4,25,18,0
addc 31,31,11
srwi 9,24,41-32
srwi 10,25,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,25,41-32,0
insrwi 10,24,41-32,0
xor 11,17,19
adde 30,30,12
xor 12,16,18
xor 0,0,9
xor 5,5,10
srwi 3,17,28
and 14,14,11
addc 31,31,0
and 15,15,12
srwi 4,16,28
srwi 0,16,34-32
adde 30,30,5
srwi 5,17,34-32
insrwi 3,16,28,0
insrwi 4,17,28,0
xor 14,14,19
addc 23,23,31
xor 15,15,18
insrwi 0,17,34-32,0
insrwi 5,16,34-32,0
adde 22,22,30
srwi 9,16,39-32
srwi 10,17,39-32
xor 0,0,3
addc 31,31,14
xor 5,5,4
insrwi 9,17,39-32,0
insrwi 10,16,39-32,0
adde 30,30,15
lwz 3,40(1)
lwz 4,44(1)
xor 0,0,9
xor 5,5,10
addc 31,31,0
adde 30,30,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,144(1)
srwi 15,4,7
xor 5,5,10
lwz 10,148(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,104(1)
srwi 10,10,6
xor 5,5,15
lwz 15,108(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,12(7)
xor 14,25,27
lwz 10,8(7)
xor 15,24,26
addc 29,29,6
stw 6,32(1)
srwi 0,23,14
srwi 5,22,14
and 14,14,23
adde 28,28,8
and 15,15,22
stw 8,36(1)
srwi 6,23,18
srwi 8,22,18
addc 29,29,9
insrwi 0,22,14,0
insrwi 5,23,14,0
xor 14,14,27
adde 28,28,10
xor 15,15,26
insrwi 6,22,18,0
insrwi 8,23,18,0
addc 29,29,14
srwi 9,22,41-32
srwi 10,23,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,23,41-32,0
insrwi 10,22,41-32,0
xor 14,31,17
adde 28,28,15
xor 15,30,16
xor 0,0,9
xor 5,5,10
srwi 6,31,28
and 11,11,14
addc 29,29,0
and 12,12,15
srwi 8,30,28
srwi 0,30,34-32
adde 28,28,5
srwi 5,31,34-32
insrwi 6,30,28,0
insrwi 8,31,28,0
xor 11,11,17
addc 21,21,29
xor 12,12,16
insrwi 0,31,34-32,0
insrwi 5,30,34-32,0
adde 20,20,28
srwi 9,30,39-32
srwi 10,31,39-32
xor 0,0,6
addc 29,29,11
xor 5,5,8
insrwi 9,31,39-32,0
insrwi 10,30,39-32,0
adde 28,28,12
lwz 6,48(1)
lwz 8,52(1)
xor 0,0,9
xor 5,5,10
addc 29,29,0
adde 28,28,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,24(1)
srwi 12,8,7
xor 5,5,10
lwz 10,28(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,112(1)
srwi 10,10,6
xor 5,5,12
lwz 12,116(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,20(7)
xor 11,23,25
lwz 10,16(7)
xor 12,22,24
addc 27,27,3
stw 3,40(1)
srwi 0,21,14
srwi 5,20,14
and 11,11,21
adde 26,26,4
and 12,12,20
stw 4,44(1)
srwi 3,21,18
srwi 4,20,18
addc 27,27,9
insrwi 0,20,14,0
insrwi 5,21,14,0
xor 11,11,25
adde 26,26,10
xor 12,12,24
insrwi 3,20,18,0
insrwi 4,21,18,0
addc 27,27,11
srwi 9,20,41-32
srwi 10,21,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,21,41-32,0
insrwi 10,20,41-32,0
xor 11,29,31
adde 26,26,12
xor 12,28,30
xor 0,0,9
xor 5,5,10
srwi 3,29,28
and 14,14,11
addc 27,27,0
and 15,15,12
srwi 4,28,28
srwi 0,28,34-32
adde 26,26,5
srwi 5,29,34-32
insrwi 3,28,28,0
insrwi 4,29,28,0
xor 14,14,31
addc 19,19,27
xor 15,15,30
insrwi 0,29,34-32,0
insrwi 5,28,34-32,0
adde 18,18,26
srwi 9,28,39-32
srwi 10,29,39-32
xor 0,0,3
addc 27,27,14
xor 5,5,4
insrwi 9,29,39-32,0
insrwi 10,28,39-32,0
adde 26,26,15
lwz 3,56(1)
lwz 4,60(1)
xor 0,0,9
xor 5,5,10
addc 27,27,0
adde 26,26,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,32(1)
srwi 15,4,7
xor 5,5,10
lwz 10,36(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,120(1)
srwi 10,10,6
xor 5,5,15
lwz 15,124(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,28(7)
xor 14,21,23
lwz 10,24(7)
xor 15,20,22
addc 25,25,6
stw 6,48(1)
srwi 0,19,14
srwi 5,18,14
and 14,14,19
adde 24,24,8
and 15,15,18
stw 8,52(1)
srwi 6,19,18
srwi 8,18,18
addc 25,25,9
insrwi 0,18,14,0
insrwi 5,19,14,0
xor 14,14,23
adde 24,24,10
xor 15,15,22
insrwi 6,18,18,0
insrwi 8,19,18,0
addc 25,25,14
srwi 9,18,41-32
srwi 10,19,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,19,41-32,0
insrwi 10,18,41-32,0
xor 14,27,29
adde 24,24,15
xor 15,26,28
xor 0,0,9
xor 5,5,10
srwi 6,27,28
and 11,11,14
addc 25,25,0
and 12,12,15
srwi 8,26,28
srwi 0,26,34-32
adde 24,24,5
srwi 5,27,34-32
insrwi 6,26,28,0
insrwi 8,27,28,0
xor 11,11,29
addc 17,17,25
xor 12,12,28
insrwi 0,27,34-32,0
insrwi 5,26,34-32,0
adde 16,16,24
srwi 9,26,39-32
srwi 10,27,39-32
xor 0,0,6
addc 25,25,11
xor 5,5,8
insrwi 9,27,39-32,0
insrwi 10,26,39-32,0
adde 24,24,12
lwz 6,64(1)
lwz 8,68(1)
xor 0,0,9
xor 5,5,10
addc 25,25,0
adde 24,24,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,40(1)
srwi 12,8,7
xor 5,5,10
lwz 10,44(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,128(1)
srwi 10,10,6
xor 5,5,12
lwz 12,132(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,36(7)
xor 11,19,21
lwz 10,32(7)
xor 12,18,20
addc 23,23,3
stw 3,56(1)
srwi 0,17,14
srwi 5,16,14
and 11,11,17
adde 22,22,4
and 12,12,16
stw 4,60(1)
srwi 3,17,18
srwi 4,16,18
addc 23,23,9
insrwi 0,16,14,0
insrwi 5,17,14,0
xor 11,11,21
adde 22,22,10
xor 12,12,20
insrwi 3,16,18,0
insrwi 4,17,18,0
addc 23,23,11
srwi 9,16,41-32
srwi 10,17,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,17,41-32,0
insrwi 10,16,41-32,0
xor 11,25,27
adde 22,22,12
xor 12,24,26
xor 0,0,9
xor 5,5,10
srwi 3,25,28
and 14,14,11
addc 23,23,0
and 15,15,12
srwi 4,24,28
srwi 0,24,34-32
adde 22,22,5
srwi 5,25,34-32
insrwi 3,24,28,0
insrwi 4,25,28,0
xor 14,14,27
addc 31,31,23
xor 15,15,26
insrwi 0,25,34-32,0
insrwi 5,24,34-32,0
adde 30,30,22
srwi 9,24,39-32
srwi 10,25,39-32
xor 0,0,3
addc 23,23,14
xor 5,5,4
insrwi 9,25,39-32,0
insrwi 10,24,39-32,0
adde 22,22,15
lwz 3,72(1)
lwz 4,76(1)
xor 0,0,9
xor 5,5,10
addc 23,23,0
adde 22,22,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,48(1)
srwi 15,4,7
xor 5,5,10
lwz 10,52(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,136(1)
srwi 10,10,6
xor 5,5,15
lwz 15,140(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,44(7)
xor 14,17,19
lwz 10,40(7)
xor 15,16,18
addc 21,21,6
stw 6,64(1)
srwi 0,31,14
srwi 5,30,14
and 14,14,31
adde 20,20,8
and 15,15,30
stw 8,68(1)
srwi 6,31,18
srwi 8,30,18
addc 21,21,9
insrwi 0,30,14,0
insrwi 5,31,14,0
xor 14,14,19
adde 20,20,10
xor 15,15,18
insrwi 6,30,18,0
insrwi 8,31,18,0
addc 21,21,14
srwi 9,30,41-32
srwi 10,31,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,31,41-32,0
insrwi 10,30,41-32,0
xor 14,23,25
adde 20,20,15
xor 15,22,24
xor 0,0,9
xor 5,5,10
srwi 6,23,28
and 11,11,14
addc 21,21,0
and 12,12,15
srwi 8,22,28
srwi 0,22,34-32
adde 20,20,5
srwi 5,23,34-32
insrwi 6,22,28,0
insrwi 8,23,28,0
xor 11,11,25
addc 29,29,21
xor 12,12,24
insrwi 0,23,34-32,0
insrwi 5,22,34-32,0
adde 28,28,20
srwi 9,22,39-32
srwi 10,23,39-32
xor 0,0,6
addc 21,21,11
xor 5,5,8
insrwi 9,23,39-32,0
insrwi 10,22,39-32,0
adde 20,20,12
lwz 6,80(1)
lwz 8,84(1)
xor 0,0,9
xor 5,5,10
addc 21,21,0
adde 20,20,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,56(1)
srwi 12,8,7
xor 5,5,10
lwz 10,60(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,144(1)
srwi 10,10,6
xor 5,5,12
lwz 12,148(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,52(7)
xor 11,31,17
lwz 10,48(7)
xor 12,30,16
addc 19,19,3
stw 3,72(1)
srwi 0,29,14
srwi 5,28,14
and 11,11,29
adde 18,18,4
and 12,12,28
stw 4,76(1)
srwi 3,29,18
srwi 4,28,18
addc 19,19,9
insrwi 0,28,14,0
insrwi 5,29,14,0
xor 11,11,17
adde 18,18,10
xor 12,12,16
insrwi 3,28,18,0
insrwi 4,29,18,0
addc 19,19,11
srwi 9,28,41-32
srwi 10,29,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,29,41-32,0
insrwi 10,28,41-32,0
xor 11,21,23
adde 18,18,12
xor 12,20,22
xor 0,0,9
xor 5,5,10
srwi 3,21,28
and 14,14,11
addc 19,19,0
and 15,15,12
srwi 4,20,28
srwi 0,20,34-32
adde 18,18,5
srwi 5,21,34-32
insrwi 3,20,28,0
insrwi 4,21,28,0
xor 14,14,23
addc 27,27,19
xor 15,15,22
insrwi 0,21,34-32,0
insrwi 5,20,34-32,0
adde 26,26,18
srwi 9,20,39-32
srwi 10,21,39-32
xor 0,0,3
addc 19,19,14
xor 5,5,4
insrwi 9,21,39-32,0
insrwi 10,20,39-32,0
adde 18,18,15
lwz 3,88(1)
lwz 4,92(1)
xor 0,0,9
xor 5,5,10
addc 19,19,0
adde 18,18,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,64(1)
srwi 15,4,7
xor 5,5,10
lwz 10,68(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,24(1)
srwi 10,10,6
xor 5,5,15
lwz 15,28(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,60(7)
xor 14,29,31
lwz 10,56(7)
xor 15,28,30
addc 17,17,6
stw 6,80(1)
srwi 0,27,14
srwi 5,26,14
and 14,14,27
adde 16,16,8
and 15,15,26
stw 8,84(1)
srwi 6,27,18
srwi 8,26,18
addc 17,17,9
insrwi 0,26,14,0
insrwi 5,27,14,0
xor 14,14,31
adde 16,16,10
xor 15,15,30
insrwi 6,26,18,0
insrwi 8,27,18,0
addc 17,17,14
srwi 9,26,41-32
srwi 10,27,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,27,41-32,0
insrwi 10,26,41-32,0
xor 14,19,21
adde 16,16,15
xor 15,18,20
xor 0,0,9
xor 5,5,10
srwi 6,19,28
and 11,11,14
addc 17,17,0
and 12,12,15
srwi 8,18,28
srwi 0,18,34-32
adde 16,16,5
srwi 5,19,34-32
insrwi 6,18,28,0
insrwi 8,19,28,0
xor 11,11,21
addc 25,25,17
xor 12,12,20
insrwi 0,19,34-32,0
insrwi 5,18,34-32,0
adde 24,24,16
srwi 9,18,39-32
srwi 10,19,39-32
xor 0,0,6
addc 17,17,11
xor 5,5,8
insrwi 9,19,39-32,0
insrwi 10,18,39-32,0
adde 16,16,12
lwz 6,96(1)
lwz 8,100(1)
xor 0,0,9
xor 5,5,10
addc 17,17,0
adde 16,16,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,72(1)
srwi 12,8,7
xor 5,5,10
lwz 10,76(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,32(1)
srwi 10,10,6
xor 5,5,12
lwz 12,36(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,68(7)
xor 11,27,29
lwz 10,64(7)
xor 12,26,28
addc 31,31,3
stw 3,88(1)
srwi 0,25,14
srwi 5,24,14
and 11,11,25
adde 30,30,4
and 12,12,24
stw 4,92(1)
srwi 3,25,18
srwi 4,24,18
addc 31,31,9
insrwi 0,24,14,0
insrwi 5,25,14,0
xor 11,11,29
adde 30,30,10
xor 12,12,28
insrwi 3,24,18,0
insrwi 4,25,18,0
addc 31,31,11
srwi 9,24,41-32
srwi 10,25,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,25,41-32,0
insrwi 10,24,41-32,0
xor 11,17,19
adde 30,30,12
xor 12,16,18
xor 0,0,9
xor 5,5,10
srwi 3,17,28
and 14,14,11
addc 31,31,0
and 15,15,12
srwi 4,16,28
srwi 0,16,34-32
adde 30,30,5
srwi 5,17,34-32
insrwi 3,16,28,0
insrwi 4,17,28,0
xor 14,14,19
addc 23,23,31
xor 15,15,18
insrwi 0,17,34-32,0
insrwi 5,16,34-32,0
adde 22,22,30
srwi 9,16,39-32
srwi 10,17,39-32
xor 0,0,3
addc 31,31,14
xor 5,5,4
insrwi 9,17,39-32,0
insrwi 10,16,39-32,0
adde 30,30,15
lwz 3,104(1)
lwz 4,108(1)
xor 0,0,9
xor 5,5,10
addc 31,31,0
adde 30,30,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,80(1)
srwi 15,4,7
xor 5,5,10
lwz 10,84(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,40(1)
srwi 10,10,6
xor 5,5,15
lwz 15,44(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,76(7)
xor 14,25,27
lwz 10,72(7)
xor 15,24,26
addc 29,29,6
stw 6,96(1)
srwi 0,23,14
srwi 5,22,14
and 14,14,23
adde 28,28,8
and 15,15,22
stw 8,100(1)
srwi 6,23,18
srwi 8,22,18
addc 29,29,9
insrwi 0,22,14,0
insrwi 5,23,14,0
xor 14,14,27
adde 28,28,10
xor 15,15,26
insrwi 6,22,18,0
insrwi 8,23,18,0
addc 29,29,14
srwi 9,22,41-32
srwi 10,23,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,23,41-32,0
insrwi 10,22,41-32,0
xor 14,31,17
adde 28,28,15
xor 15,30,16
xor 0,0,9
xor 5,5,10
srwi 6,31,28
and 11,11,14
addc 29,29,0
and 12,12,15
srwi 8,30,28
srwi 0,30,34-32
adde 28,28,5
srwi 5,31,34-32
insrwi 6,30,28,0
insrwi 8,31,28,0
xor 11,11,17
addc 21,21,29
xor 12,12,16
insrwi 0,31,34-32,0
insrwi 5,30,34-32,0
adde 20,20,28
srwi 9,30,39-32
srwi 10,31,39-32
xor 0,0,6
addc 29,29,11
xor 5,5,8
insrwi 9,31,39-32,0
insrwi 10,30,39-32,0
adde 28,28,12
lwz 6,112(1)
lwz 8,116(1)
xor 0,0,9
xor 5,5,10
addc 29,29,0
adde 28,28,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,88(1)
srwi 12,8,7
xor 5,5,10
lwz 10,92(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,48(1)
srwi 10,10,6
xor 5,5,12
lwz 12,52(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,84(7)
xor 11,23,25
lwz 10,80(7)
xor 12,22,24
addc 27,27,3
stw 3,104(1)
srwi 0,21,14
srwi 5,20,14
and 11,11,21
adde 26,26,4
and 12,12,20
stw 4,108(1)
srwi 3,21,18
srwi 4,20,18
addc 27,27,9
insrwi 0,20,14,0
insrwi 5,21,14,0
xor 11,11,25
adde 26,26,10
xor 12,12,24
insrwi 3,20,18,0
insrwi 4,21,18,0
addc 27,27,11
srwi 9,20,41-32
srwi 10,21,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,21,41-32,0
insrwi 10,20,41-32,0
xor 11,29,31
adde 26,26,12
xor 12,28,30
xor 0,0,9
xor 5,5,10
srwi 3,29,28
and 14,14,11
addc 27,27,0
and 15,15,12
srwi 4,28,28
srwi 0,28,34-32
adde 26,26,5
srwi 5,29,34-32
insrwi 3,28,28,0
insrwi 4,29,28,0
xor 14,14,31
addc 19,19,27
xor 15,15,30
insrwi 0,29,34-32,0
insrwi 5,28,34-32,0
adde 18,18,26
srwi 9,28,39-32
srwi 10,29,39-32
xor 0,0,3
addc 27,27,14
xor 5,5,4
insrwi 9,29,39-32,0
insrwi 10,28,39-32,0
adde 26,26,15
lwz 3,120(1)
lwz 4,124(1)
xor 0,0,9
xor 5,5,10
addc 27,27,0
adde 26,26,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,96(1)
srwi 15,4,7
xor 5,5,10
lwz 10,100(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,56(1)
srwi 10,10,6
xor 5,5,15
lwz 15,60(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,92(7)
xor 14,21,23
lwz 10,88(7)
xor 15,20,22
addc 25,25,6
stw 6,112(1)
srwi 0,19,14
srwi 5,18,14
and 14,14,19
adde 24,24,8
and 15,15,18
stw 8,116(1)
srwi 6,19,18
srwi 8,18,18
addc 25,25,9
insrwi 0,18,14,0
insrwi 5,19,14,0
xor 14,14,23
adde 24,24,10
xor 15,15,22
insrwi 6,18,18,0
insrwi 8,19,18,0
addc 25,25,14
srwi 9,18,41-32
srwi 10,19,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,19,41-32,0
insrwi 10,18,41-32,0
xor 14,27,29
adde 24,24,15
xor 15,26,28
xor 0,0,9
xor 5,5,10
srwi 6,27,28
and 11,11,14
addc 25,25,0
and 12,12,15
srwi 8,26,28
srwi 0,26,34-32
adde 24,24,5
srwi 5,27,34-32
insrwi 6,26,28,0
insrwi 8,27,28,0
xor 11,11,29
addc 17,17,25
xor 12,12,28
insrwi 0,27,34-32,0
insrwi 5,26,34-32,0
adde 16,16,24
srwi 9,26,39-32
srwi 10,27,39-32
xor 0,0,6
addc 25,25,11
xor 5,5,8
insrwi 9,27,39-32,0
insrwi 10,26,39-32,0
adde 24,24,12
lwz 6,128(1)
lwz 8,132(1)
xor 0,0,9
xor 5,5,10
addc 25,25,0
adde 24,24,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,104(1)
srwi 12,8,7
xor 5,5,10
lwz 10,108(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,64(1)
srwi 10,10,6
xor 5,5,12
lwz 12,68(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,100(7)
xor 11,19,21
lwz 10,96(7)
xor 12,18,20
addc 23,23,3
stw 3,120(1)
srwi 0,17,14
srwi 5,16,14
and 11,11,17
adde 22,22,4
and 12,12,16
stw 4,124(1)
srwi 3,17,18
srwi 4,16,18
addc 23,23,9
insrwi 0,16,14,0
insrwi 5,17,14,0
xor 11,11,21
adde 22,22,10
xor 12,12,20
insrwi 3,16,18,0
insrwi 4,17,18,0
addc 23,23,11
srwi 9,16,41-32
srwi 10,17,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,17,41-32,0
insrwi 10,16,41-32,0
xor 11,25,27
adde 22,22,12
xor 12,24,26
xor 0,0,9
xor 5,5,10
srwi 3,25,28
and 14,14,11
addc 23,23,0
and 15,15,12
srwi 4,24,28
srwi 0,24,34-32
adde 22,22,5
srwi 5,25,34-32
insrwi 3,24,28,0
insrwi 4,25,28,0
xor 14,14,27
addc 31,31,23
xor 15,15,26
insrwi 0,25,34-32,0
insrwi 5,24,34-32,0
adde 30,30,22
srwi 9,24,39-32
srwi 10,25,39-32
xor 0,0,3
addc 23,23,14
xor 5,5,4
insrwi 9,25,39-32,0
insrwi 10,24,39-32,0
adde 22,22,15
lwz 3,136(1)
lwz 4,140(1)
xor 0,0,9
xor 5,5,10
addc 23,23,0
adde 22,22,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,112(1)
srwi 15,4,7
xor 5,5,10
lwz 10,116(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,72(1)
srwi 10,10,6
xor 5,5,15
lwz 15,76(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,108(7)
xor 14,17,19
lwz 10,104(7)
xor 15,16,18
addc 21,21,6
stw 6,128(1)
srwi 0,31,14
srwi 5,30,14
and 14,14,31
adde 20,20,8
and 15,15,30
stw 8,132(1)
srwi 6,31,18
srwi 8,30,18
addc 21,21,9
insrwi 0,30,14,0
insrwi 5,31,14,0
xor 14,14,19
adde 20,20,10
xor 15,15,18
insrwi 6,30,18,0
insrwi 8,31,18,0
addc 21,21,14
srwi 9,30,41-32
srwi 10,31,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,31,41-32,0
insrwi 10,30,41-32,0
xor 14,23,25
adde 20,20,15
xor 15,22,24
xor 0,0,9
xor 5,5,10
srwi 6,23,28
and 11,11,14
addc 21,21,0
and 12,12,15
srwi 8,22,28
srwi 0,22,34-32
adde 20,20,5
srwi 5,23,34-32
insrwi 6,22,28,0
insrwi 8,23,28,0
xor 11,11,25
addc 29,29,21
xor 12,12,24
insrwi 0,23,34-32,0
insrwi 5,22,34-32,0
adde 28,28,20
srwi 9,22,39-32
srwi 10,23,39-32
xor 0,0,6
addc 21,21,11
xor 5,5,8
insrwi 9,23,39-32,0
insrwi 10,22,39-32,0
adde 20,20,12
lwz 6,144(1)
lwz 8,148(1)
xor 0,0,9
xor 5,5,10
addc 21,21,0
adde 20,20,5
srwi 0,6,1
srwi 5,8,1
srwi 9,6,8
srwi 10,8,8
insrwi 0,8,1,0
insrwi 5,6,1,0
srwi 11,6,7
insrwi 9,8,8,0
insrwi 10,6,8,0
insrwi 11,8,7,0
xor 0,0,9
lwz 9,120(1)
srwi 12,8,7
xor 5,5,10
lwz 10,124(1)
xor 11,11,0
srwi 0,9,19
xor 12,12,5
srwi 5,10,19
addc 3,3,11
srwi 11,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 4,4,12
srwi 12,9,61-32
insrwi 11,9,61-32,0
srwi 9,9,6
insrwi 12,10,61-32,0
insrwi 9,10,6,0
xor 0,0,11
lwz 11,80(1)
srwi 10,10,6
xor 5,5,12
lwz 12,84(1)
xor 0,0,9
addc 3,3,11
xor 5,5,10
adde 4,4,12
addc 3,3,0
adde 4,4,5
lwz 9,116(7)
xor 11,31,17
lwz 10,112(7)
xor 12,30,16
addc 19,19,3
stw 3,136(1)
srwi 0,29,14
srwi 5,28,14
and 11,11,29
adde 18,18,4
and 12,12,28
stw 4,140(1)
srwi 3,29,18
srwi 4,28,18
addc 19,19,9
insrwi 0,28,14,0
insrwi 5,29,14,0
xor 11,11,17
adde 18,18,10
xor 12,12,16
insrwi 3,28,18,0
insrwi 4,29,18,0
addc 19,19,11
srwi 9,28,41-32
srwi 10,29,41-32
xor 0,0,3
xor 5,5,4
insrwi 9,29,41-32,0
insrwi 10,28,41-32,0
xor 11,21,23
adde 18,18,12
xor 12,20,22
xor 0,0,9
xor 5,5,10
srwi 3,21,28
and 14,14,11
addc 19,19,0
and 15,15,12
srwi 4,20,28
srwi 0,20,34-32
adde 18,18,5
srwi 5,21,34-32
insrwi 3,20,28,0
insrwi 4,21,28,0
xor 14,14,23
addc 27,27,19
xor 15,15,22
insrwi 0,21,34-32,0
insrwi 5,20,34-32,0
adde 26,26,18
srwi 9,20,39-32
srwi 10,21,39-32
xor 0,0,3
addc 19,19,14
xor 5,5,4
insrwi 9,21,39-32,0
insrwi 10,20,39-32,0
adde 18,18,15
lwz 3,24(1)
lwz 4,28(1)
xor 0,0,9
xor 5,5,10
addc 19,19,0
adde 18,18,5
srwi 0,3,1
srwi 5,4,1
srwi 9,3,8
srwi 10,4,8
insrwi 0,4,1,0
insrwi 5,3,1,0
srwi 14,3,7
insrwi 9,4,8,0
insrwi 10,3,8,0
insrwi 14,4,7,0
xor 0,0,9
lwz 9,128(1)
srwi 15,4,7
xor 5,5,10
lwz 10,132(1)
xor 14,14,0
srwi 0,9,19
xor 15,15,5
srwi 5,10,19
addc 6,6,14
srwi 14,10,61-32
insrwi 0,10,19,0
insrwi 5,9,19,0
adde 8,8,15
srwi 15,9,61-32
insrwi 14,9,61-32,0
srwi 9,9,6
insrwi 15,10,61-32,0
insrwi 9,10,6,0
xor 0,0,14
lwz 14,88(1)
srwi 10,10,6
xor 5,5,15
lwz 15,92(1)
xor 0,0,9
addc 6,6,14
xor 5,5,10
adde 8,8,15
addc 6,6,0
adde 8,8,5
lwz 9,124(7)
xor 14,29,31
lwz 10,120(7)
xor 15,28,30
addc 17,17,6
stw 6,144(1)
srwi 0,27,14
srwi 5,26,14
and 14,14,27
adde 16,16,8
and 15,15,26
stw 8,148(1)
srwi 6,27,18
srwi 8,26,18
addc 17,17,9
insrwi 0,26,14,0
insrwi 5,27,14,0
xor 14,14,31
adde 16,16,10
xor 15,15,30
insrwi 6,26,18,0
insrwi 8,27,18,0
addc 17,17,14
srwi 9,26,41-32
srwi 10,27,41-32
xor 0,0,6
xor 5,5,8
insrwi 9,27,41-32,0
insrwi 10,26,41-32,0
xor 14,19,21
adde 16,16,15
xor 15,18,20
xor 0,0,9
xor 5,5,10
srwi 6,19,28
and 11,11,14
addc 17,17,0
and 12,12,15
srwi 8,18,28
srwi 0,18,34-32
adde 16,16,5
srwi 5,19,34-32
insrwi 6,18,28,0
insrwi 8,19,28,0
xor 11,11,21
addc 25,25,17
xor 12,12,20
insrwi 0,19,34-32,0
insrwi 5,18,34-32,0
adde 24,24,16
srwi 9,18,39-32
srwi 10,19,39-32
xor 0,0,6
addc 17,17,11
xor 5,5,8
insrwi 9,19,39-32,0
insrwi 10,18,39-32,0
adde 16,16,12
lwz 6,32(1)
lwz 8,36(1)
xor 0,0,9
xor 5,5,10
addc 17,17,0
adde 16,16,5
bdnz .Lrounds
lwz 3,168(1)
lwz 4,164(1)
lwz 5,160(1)
subi 7,7,512
lwz 6,0(3)
lwz 8,4(3)
lwz 9,8(3)
lwz 10,12(3)
lwz 11,16(3)
lwz 12,20(3)
lwz 14,24(3)
addc 17,17,8
lwz 15,28(3)
adde 16,16,6
lwz 6,32(3)
addc 19,19,10
lwz 8,36(3)
adde 18,18,9
lwz 9,40(3)
addc 21,21,12
lwz 10,44(3)
adde 20,20,11
lwz 11,48(3)
addc 23,23,15
lwz 12,52(3)
adde 22,22,14
lwz 14,56(3)
addc 25,25,8
lwz 15,60(3)
adde 24,24,6
stw 16,0(3)
stw 17,4(3)
addc 27,27,10
stw 18,8(3)
stw 19,12(3)
adde 26,26,9
stw 20,16(3)
stw 21,20(3)
addc 29,29,12
stw 22,24(3)
stw 23,28(3)
adde 28,28,11
stw 24,32(3)
stw 25,36(3)
addc 31,31,15
stw 26,40(3)
stw 27,44(3)
adde 30,30,14
stw 28,48(3)
stw 29,52(3)
stw 30,56(3)
stw 31,60(3)
addi 4,4,128
stw 4,164(1)
.long 0x7c042840
bne .Lsha2_block_private
blr
.long 0
.byte 0,12,0x14,0,0,0,0,0
.size sha512_block_ppc,.-sha512_block_ppc
.align 6
.LPICmeup:
mflr 0
bcl 20,31,$+4
mflr 7
addi 7,7,56
mtlr 0
blr
.long 0
.byte 0,12,0x14,0,0,0,0,0
.space 28
.long 0x428a2f98,0xd728ae22
.long 0x71374491,0x23ef65cd
.long 0xb5c0fbcf,0xec4d3b2f
.long 0xe9b5dba5,0x8189dbbc
.long 0x3956c25b,0xf348b538
.long 0x59f111f1,0xb605d019
.long 0x923f82a4,0xaf194f9b
.long 0xab1c5ed5,0xda6d8118
.long 0xd807aa98,0xa3030242
.long 0x12835b01,0x45706fbe
.long 0x243185be,0x4ee4b28c
.long 0x550c7dc3,0xd5ffb4e2
.long 0x72be5d74,0xf27b896f
.long 0x80deb1fe,0x3b1696b1
.long 0x9bdc06a7,0x25c71235
.long 0xc19bf174,0xcf692694
.long 0xe49b69c1,0x9ef14ad2
.long 0xefbe4786,0x384f25e3
.long 0x0fc19dc6,0x8b8cd5b5
.long 0x240ca1cc,0x77ac9c65
.long 0x2de92c6f,0x592b0275
.long 0x4a7484aa,0x6ea6e483
.long 0x5cb0a9dc,0xbd41fbd4
.long 0x76f988da,0x831153b5
.long 0x983e5152,0xee66dfab
.long 0xa831c66d,0x2db43210
.long 0xb00327c8,0x98fb213f
.long 0xbf597fc7,0xbeef0ee4
.long 0xc6e00bf3,0x3da88fc2
.long 0xd5a79147,0x930aa725
.long 0x06ca6351,0xe003826f
.long 0x14292967,0x0a0e6e70
.long 0x27b70a85,0x46d22ffc
.long 0x2e1b2138,0x5c26c926
.long 0x4d2c6dfc,0x5ac42aed
.long 0x53380d13,0x9d95b3df
.long 0x650a7354,0x8baf63de
.long 0x766a0abb,0x3c77b2a8
.long 0x81c2c92e,0x47edaee6
.long 0x92722c85,0x1482353b
.long 0xa2bfe8a1,0x4cf10364
.long 0xa81a664b,0xbc423001
.long 0xc24b8b70,0xd0f89791
.long 0xc76c51a3,0x0654be30
.long 0xd192e819,0xd6ef5218
.long 0xd6990624,0x5565a910
.long 0xf40e3585,0x5771202a
.long 0x106aa070,0x32bbd1b8
.long 0x19a4c116,0xb8d2d0c8
.long 0x1e376c08,0x5141ab53
.long 0x2748774c,0xdf8eeb99
.long 0x34b0bcb5,0xe19b48a8
.long 0x391c0cb3,0xc5c95a63
.long 0x4ed8aa4a,0xe3418acb
.long 0x5b9cca4f,0x7763e373
.long 0x682e6ff3,0xd6b2b8a3
.long 0x748f82ee,0x5defb2fc
.long 0x78a5636f,0x43172f60
.long 0x84c87814,0xa1f0ab72
.long 0x8cc70208,0x1a6439ec
.long 0x90befffa,0x23631e28
.long 0xa4506ceb,0xde82bde9
.long 0xbef9a3f7,0xb2c67915
.long 0xc67178f2,0xe372532b
.long 0xca273ece,0xea26619c
.long 0xd186b8c7,0x21c0c207
.long 0xeada7dd6,0xcde0eb1e
.long 0xf57d4f7f,0xee6ed178
.long 0x06f067aa,0x72176fba
.long 0x0a637dc5,0xa2c898a6
.long 0x113f9804,0xbef90dae
.long 0x1b710b35,0x131c471b
.long 0x28db77f5,0x23047d84
.long 0x32caab7b,0x40c72493
.long 0x3c9ebe0a,0x15c9bebc
.long 0x431d67c4,0x9c100d4c
.long 0x4cc5d4be,0xcb3e42b6
.long 0x597f299c,0xfc657e2a
.long 0x5fcb6fab,0x3ad6faec
.long 0x6c44198c,0x4a475817
```
|
Tor Ørvig (27 September 1916 – 27 February 1994) was a Norwegian-born Swedish paleontologist who explored the histology of early vertebrates. He was professor at the Swedish Museum of Natural History in Stockholm and member of the Royal Swedish Academy of Sciences. He described a possible post-Cretaceous coelacanth fossil from the Paleocene epoch.
References
Swedish paleontologists
20th-century Swedish zoologists
Paleozoologists
Members of the Royal Swedish Academy of Sciences
1916 births
1994 deaths
Swedish ichthyologists
Norwegian emigrants to Sweden
|
```yaml
kind: Deployment
apiVersion: apps/v1
metadata:
name: csi-rbdplugin-provisioner
namespace: {{ .Namespace }}
spec:
replicas: {{ .ProvisionerReplicas }}
selector:
matchLabels:
app: csi-rbdplugin-provisioner
template:
metadata:
labels:
app: csi-rbdplugin-provisioner
contains: csi-rbdplugin-metrics
{{ range $key, $value := .CSIRBDPodLabels }}
{{ $key }}: "{{ $value }}"
{{ end }}
spec:
serviceAccountName: rook-csi-rbd-provisioner-sa
{{ if .ProvisionerPriorityClassName }}
priorityClassName: {{ .ProvisionerPriorityClassName }}
{{ end }}
containers:
- name: csi-provisioner
image: {{ .ProvisionerImage }}
args:
- "--csi-address=$(ADDRESS)"
- "--v={{ .SidecarLogLevel }}"
- "--timeout={{ .GRPCTimeout }}"
- "--retry-interval-start=500ms"
- "--leader-election=true"
- "--leader-election-namespace={{ .Namespace }}"
- "--leader-election-lease-duration={{ .LeaderElectionLeaseDuration }}"
- "--leader-election-renew-deadline={{ .LeaderElectionRenewDeadline }}"
- "--leader-election-retry-period={{ .LeaderElectionRetryPeriod }}"
- "--default-fstype=ext4"
- "--extra-create-metadata=true"
- "--prevent-volume-mode-conversion=true"
- "--feature-gates=HonorPVReclaimPolicy=true"
- "--feature-gates=Topology={{ .EnableCSITopology }}"
{{ if .KubeApiBurst }}
- "--kube-api-burst={{ .KubeApiBurst }}"
{{ end }}
{{ if .KubeApiQPS }}
- "--kube-api-qps={{ .KubeApiQPS }}"
{{ end }}
env:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: {{ .ImagePullPolicy }}
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: csi-resizer
image: {{ .ResizerImage }}
args:
- "--csi-address=$(ADDRESS)"
- "--v={{ .SidecarLogLevel }}"
- "--timeout={{ .GRPCTimeout }}"
- "--leader-election=true"
- "--leader-election-namespace={{ .Namespace }}"
- "--leader-election-lease-duration={{ .LeaderElectionLeaseDuration }}"
- "--leader-election-renew-deadline={{ .LeaderElectionRenewDeadline }}"
- "--leader-election-retry-period={{ .LeaderElectionRetryPeriod }}"
- "--handle-volume-inuse-error=false"
- "--feature-gates=RecoverVolumeExpansionFailure=true"
{{ if .KubeApiBurst }}
- "--kube-api-burst={{ .KubeApiBurst }}"
{{ end }}
{{ if .KubeApiQPS }}
- "--kube-api-qps={{ .KubeApiQPS }}"
{{ end }}
env:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: {{ .ImagePullPolicy }}
volumeMounts:
- name: socket-dir
mountPath: /csi
{{ if .RBDAttachRequired }}
- name: csi-attacher
image: {{ .AttacherImage }}
args:
- "--v={{ .SidecarLogLevel }}"
- "--timeout={{ .GRPCTimeout }}"
- "--csi-address=$(ADDRESS)"
- "--leader-election=true"
- "--leader-election-namespace={{ .Namespace }}"
- "--leader-election-lease-duration={{ .LeaderElectionLeaseDuration }}"
- "--leader-election-renew-deadline={{ .LeaderElectionRenewDeadline }}"
- "--leader-election-retry-period={{ .LeaderElectionRetryPeriod }}"
- "--default-fstype=ext4"
{{ if .KubeApiBurst }}
- "--kube-api-burst={{ .KubeApiBurst }}"
{{ end }}
{{ if .KubeApiQPS }}
- "--kube-api-qps={{ .KubeApiQPS }}"
{{ end }}
env:
- name: ADDRESS
value: /csi/csi-provisioner.sock
imagePullPolicy: {{ .ImagePullPolicy }}
volumeMounts:
- name: socket-dir
mountPath: /csi
{{ end }}
{{ if .EnableRBDSnapshotter }}
- name: csi-snapshotter
image: {{ .SnapshotterImage }}
args:
- "--csi-address=$(ADDRESS)"
- "--v={{ .SidecarLogLevel }}"
- "--timeout={{ .GRPCTimeout }}"
- "--leader-election=true"
- "--leader-election-namespace={{ .Namespace }}"
- "--leader-election-lease-duration={{ .LeaderElectionLeaseDuration }}"
- "--leader-election-renew-deadline={{ .LeaderElectionRenewDeadline }}"
- "--leader-election-retry-period={{ .LeaderElectionRetryPeriod }}"
- "--extra-create-metadata=true"
{{ if .VolumeGroupSnapshotSupported }}
- "--enable-volume-group-snapshots={{ .EnableVolumeGroupSnapshot }}"
{{ end }}
{{ if .KubeApiBurst }}
- "--kube-api-burst={{ .KubeApiBurst }}"
{{ end }}
{{ if .KubeApiQPS }}
- "--kube-api-qps={{ .KubeApiQPS }}"
{{ end }}
env:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: {{ .ImagePullPolicy }}
volumeMounts:
- name: socket-dir
mountPath: /csi
{{ end }}
{{ if .EnableOMAPGenerator }}
- name: csi-omap-generator
image: {{ .CSIPluginImage }}
args:
- "--type=controller"
- "--drivernamespace=$(DRIVER_NAMESPACE)"
- "--v={{ .LogLevel }}"
- "--drivername={{ .DriverNamePrefix }}rbd.csi.ceph.com"
{{ if .CSIEnableMetadata }}
- "--setmetadata={{ .CSIEnableMetadata }}"
{{ end }}
{{ if .CSIClusterName }}
- "--clustername={{ .CSIClusterName }}"
{{ end }}
env:
- name: DRIVER_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
imagePullPolicy: {{ .ImagePullPolicy }}
volumeMounts:
- name: ceph-csi-configs
mountPath: /etc/ceph-csi-config/
- name: keys-tmp-dir
mountPath: /tmp/csi/keys
{{ end }}
{{ if .EnableCSIAddonsSideCar }}
- name: csi-addons
image: {{ .CSIAddonsImage }}
args:
- "--node-id=$(NODE_ID)"
- "--v={{ .LogLevel }}"
- "--csi-addons-address=$(CSIADDONS_ENDPOINT)"
- "--controller-port={{ .CSIAddonsPort }}"
- "--pod=$(POD_NAME)"
- "--namespace=$(POD_NAMESPACE)"
- "--pod-uid=$(POD_UID)"
- "--stagingpath={{ .KubeletDirPath }}/plugins/kubernetes.io/csi/"
- "--leader-election-namespace={{ .Namespace }}"
- "--leader-election-lease-duration={{ .LeaderElectionLeaseDuration }}"
- "--leader-election-renew-deadline={{ .LeaderElectionRenewDeadline }}"
- "--leader-election-retry-period={{ .LeaderElectionRetryPeriod }}"
{{ if .CSILogRotation }}
- "--logtostderr=false"
- "--alsologtostderr=true"
- "--log_file={{ .CsiLogRootPath }}/log/{{ .CsiComponentName }}/csi-addons.log"
{{ end }}
ports:
- containerPort: {{ .CSIAddonsPort }}
env:
- name: NODE_ID
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: POD_UID
valueFrom:
fieldRef:
fieldPath: metadata.uid
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSIADDONS_ENDPOINT
value: unix:///csi/csi-addons.sock
imagePullPolicy: {{ .ImagePullPolicy }}
{{ if and .Privileged .CSILogRotation }}
securityContext:
privileged: true
{{ end }}
volumeMounts:
- name: socket-dir
mountPath: /csi
{{ if .CSILogRotation }}
- mountPath: {{ .CsiLogRootPath }}/log/{{ .CsiComponentName }}
name: csi-log
{{ end }}
{{ end }}
- name: csi-rbdplugin
image: {{ .CSIPluginImage }}
args:
- "--nodeid=$(NODE_ID)"
- "--endpoint=$(CSI_ENDPOINT)"
- "--v={{ .LogLevel }}"
- "--type=rbd"
- "--controllerserver=true"
- "--drivername={{ .DriverNamePrefix }}rbd.csi.ceph.com"
- "--pidlimit=-1"
{{ if .CSILogRotation }}
- "--logtostderr=false"
- "--alsologtostderr=true"
- "--log_file={{ .CsiLogRootPath }}/log/{{ .CsiComponentName }}/csi-rbdplugin.log"
{{ end }}
{{ if .EnableCSIAddonsSideCar }}
- "--csi-addons-endpoint=$(CSIADDONS_ENDPOINT)"
{{ end }}
{{ if .CSIEnableMetadata }}
- "--setmetadata={{ .CSIEnableMetadata }}"
{{ end }}
{{ if .CSIClusterName }}
- "--clustername={{ .CSIClusterName }}"
{{ end }}
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: NODE_ID
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CSI_ENDPOINT
value: unix:///csi/csi-provisioner.sock
{{ if .EnableCSIAddonsSideCar }}
- name: CSIADDONS_ENDPOINT
value: unix:///csi/csi-addons.sock
{{ end }}
imagePullPolicy: {{ .ImagePullPolicy }}
{{ if and .Privileged .CSILogRotation }}
securityContext:
privileged: true
{{ end }}
volumeMounts:
- name: socket-dir
mountPath: /csi
- mountPath: /dev
name: host-dev
{{ if .CSILogRotation }}
- mountPath: {{ .CsiLogRootPath }}/log/{{ .CsiComponentName }}
name: csi-log
{{ end }}
- mountPath: /sys
name: host-sys
- mountPath: /lib/modules
name: lib-modules
readOnly: true
- name: ceph-csi-configs
mountPath: /etc/ceph-csi-config/
- name: keys-tmp-dir
mountPath: /tmp/csi/keys
{{ if .MountCustomCephConf }}
- name: ceph-config
mountPath: /etc/ceph/ceph.conf
subPath: ceph.conf
{{ end }}
- name: oidc-token
mountPath: /run/secrets/tokens
readOnly: true
{{ if .EnableCSIEncryption }}
- name: rook-ceph-csi-kms-config
mountPath: /etc/ceph-csi-encryption-kms-config/
{{ end }}
{{ if .EnableLiveness }}
- name: liveness-prometheus
image: {{ .CSIPluginImage }}
args:
- "--type=liveness"
- "--endpoint=$(CSI_ENDPOINT)"
- "--metricsport={{ .RBDLivenessMetricsPort }}"
- "--metricspath=/metrics"
- "--polltime=60s"
- "--timeout=3s"
env:
- name: CSI_ENDPOINT
value: unix:///csi/csi-provisioner.sock
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
volumeMounts:
- name: socket-dir
mountPath: /csi
imagePullPolicy: {{ .ImagePullPolicy }}
{{ end }}
volumes:
- name: host-dev
hostPath:
path: /dev
{{ if .CSILogRotation }}
- name: csi-log
hostPath:
path: {{ .CsiLogRootPath }}/log/{{ .CsiComponentName }}
type: DirectoryOrCreate
- name: csi-logs-logrotate
emptyDir:
type: DirectoryOrCreate
{{ end }}
- name: host-sys
hostPath:
path: /sys
- name: lib-modules
hostPath:
path: /lib/modules
- name: socket-dir
emptyDir: {
medium: "Memory"
}
- name: ceph-csi-configs
projected:
sources:
- name: ceph-csi-config
configMap:
name: rook-ceph-csi-config
items:
- key: csi-cluster-config-json
path: config.json
- name: ceph-csi-mapping-config
configMap:
name: rook-ceph-csi-mapping-config
items:
- key: csi-mapping-config-json
path: cluster-mapping.json
{{ if .MountCustomCephConf }}
- name: ceph-config
configMap:
name: csi-ceph-conf-override
items:
- key: ceph.conf
path: ceph.conf
{{ end }}
- name: keys-tmp-dir
emptyDir: {
medium: "Memory"
}
- name: oidc-token
projected:
sources:
- serviceAccountToken:
path: oidc-token
expirationSeconds: 3600
audience: ceph-csi-kms
{{ if .EnableCSIEncryption }}
- name: rook-ceph-csi-kms-config
configMap:
name: rook-ceph-csi-kms-config
items:
- key: config.json
path: config.json
{{ end }}
```
|
The core–mantle boundary (CMB) of Earth lies between the planet's silicate mantle and its liquid iron–nickel outer core, at a depth of below Earth's surface. The boundary is observed via the discontinuity in seismic wave velocities at that depth due to the differences between the acoustic impedances of the solid mantle and the molten outer core. P-wave velocities are much slower in the outer core than in the deep mantle while S-waves do not exist at all in the liquid portion of the core. Recent evidence suggests a distinct boundary layer directly above the CMB possibly made of a novel phase of the basic perovskite mineralogy of the deep mantle named post-perovskite. Seismic tomography studies have shown significant irregularities within the boundary zone and appear to be dominated by the African and Pacific Large Low-Shear-Velocity Provinces (LLSVP).
The uppermost section of the outer core is thought to be about 500–1,800 K hotter than the overlying mantle, creating a thermal boundary layer. The boundary is thought to harbor topography, much like Earth's surface, that is supported by solid-state convection within the overlying mantle. Variations in the thermal properties of the core-mantle boundary may affect how the outer core's iron-rich fluids flow, which are ultimately responsible for Earth's magnetic field.
The D″ region
The approx. 200 km thick layer of the lower mantle directly above the boundary is referred to as the D″ region ("D double-prime" or "D prime prime") and is sometimes included in discussions regarding the core–mantle boundary zone. The D″ name originates from geophysicist Keith Bullen's designations for the Earth's layers. His system was to label each layer alphabetically, A through G, with the crust as 'A' and the inner core as 'G'. In his 1942 publication of his model, the entire lower mantle was the D layer. In 1949, Bullen found his 'D' layer to actually be two different layers. The upper part of the D layer, about 1800 km thick, was renamed D′ (D prime) and the lower part (the bottom 200 km) was named D″. Later it was found that D" is non-spherical. In 1993, Czechowski found that inhomogeneities in D" form structures analogous to continents (i.e. core-continents). They move in time and determine some properties of hotspots and mantle convection. Later research supported this hypothesis.
Seismic discontinuity
A seismic discontinuity occurs within Earth's interior at a depth of about 2,900 km (1,800 mi) below the surface, where there is an abrupt change in the speed of seismic waves (generated by earthquakes or explosions) that travel through Earth. At this depth, primary seismic waves (P waves) decrease in velocity while secondary seismic waves (S waves) disappear completely. S waves shear material, and cannot transmit through liquids, so it is thought that the unit above the discontinuity is solid, while the unit below is in a liquid or molten form.
The discontinuity was discovered by Beno Gutenberg (1889-1960), a seismologist who made several important contributions to the study and understanding of the Earth's interior. The CMB has also been referred to as the Gutenberg discontinuity, the Oldham-Gutenberg discontinuity, or the Wiechert-Gutenberg discontinuity. In modern times, however, the term Gutenberg discontinuity or the "G" is most commonly used in reference to a decrease in seismic velocity with depth that is sometimes observed at about 100 km below the Earth's oceans.
See also
Core–mantle differentiation
Ultra low velocity zone
References
External links
Earth's Core–Mantle Boundary Has Core-Rigidity Zone
Mineral phase change at the boundary
Superplumes at the boundary
About.com article on the name of D″
Geophysics
Structure of the Earth
|
The 2015 African Women's Youth Handball Championship was the 4th edition of the tournament, organized by the African Handball Confederation, under the auspices of the International Handball Federation and held in Nairobi, Kenya from July 2 to 9, 2015.
Egypt won their first title. The top three teams qualified for the 2016 world championship.
Participating teams
All matches
aLL teams played in a double round robin system.
All times are local (UTC+3).
Round 1
Round 2
Round 3
Round 4
Round 5
Round 6
Final standings
Awards
See also
2014 African Women's Handball Championship
2014 African Men's Junior Handball Championship
References
External links
2015 in African handball
2015 African Women's Youth Handball Championship
International handball competitions hosted by Kenya
Youth
July 2015 events in Africa
|
```smalltalk
// THIS FILE IS PART OF WinFormium PROJECT
// COPYRIGHTS (C) Xuanchen Lin. ALL RIGHTS RESERVED.
// GITHUB: path_to_url
using WinFormium.CefGlue.Interop;
namespace WinFormium.CefGlue;
/// <summary>
/// Callback interface used to asynchronously continue a download.
/// </summary>
public sealed unsafe partial class CefBeforeDownloadCallback
{
/// <summary>
/// Call to continue the download. Set |download_path| to the full file path
/// for the download including the file name or leave blank to use the
/// suggested name and the default temp directory. Set |show_dialog| to true
/// if you do wish to show the default "Save As" dialog.
/// </summary>
public void Continue(string downloadPath, bool showDialog)
{
fixed (char* downloadPath_ptr = downloadPath)
{
var n_downloadPath = new cef_string_t(downloadPath_ptr, downloadPath != null ? downloadPath.Length : 0);
cef_before_download_callback_t.cont(_self, &n_downloadPath, showDialog ? 1 : 0);
}
}
}
```
|
```php
<?php
/**
* @group comment
*
* @covers ::get_comment_class
*/
class Tests_Comment_GetCommentClass extends WP_UnitTestCase {
public function test_should_accept_comment_id() {
$post_id = self::factory()->post->create();
$comment_id = self::factory()->comment->create( array( 'comment_post_ID' => $post_id ) );
$classes = get_comment_class( '', $comment_id );
$this->assertContains( 'comment', $classes );
}
public function test_should_accept_comment_object() {
$post_id = self::factory()->post->create();
$comment = self::factory()->comment->create_and_get( array( 'comment_post_ID' => $post_id ) );
$classes = get_comment_class( '', $comment );
$this->assertContains( 'comment', $classes );
}
public function test_should_append_single_class() {
$post_id = self::factory()->post->create();
$comment_id = self::factory()->comment->create( array( 'comment_post_ID' => $post_id ) );
$classes = get_comment_class( 'foo', $comment_id );
$this->assertContains( 'foo', $classes );
}
public function test_should_append_array_of_classes() {
$post_id = self::factory()->post->create();
$comment_id = self::factory()->comment->create( array( 'comment_post_ID' => $post_id ) );
$classes = get_comment_class( array( 'foo', 'bar' ), $comment_id );
$this->assertContains( 'foo', $classes );
$this->assertContains( 'bar', $classes );
}
/**
* @ticket 33947
*/
public function test_should_return_an_empty_array_for_invalid_comment_id() {
$this->assertSame( array(), get_comment_class( 'foo', 12345 ) );
}
}
```
|
Bert Ive (1875–1939) was a British-born Australian cinematographer, who was the first long-term cinematographer and still photographer in Australia. During his career as a film photographer for the federal government from 1913 to 1939, he frequently travelled across Australia to photograph the country's landscapes, industries, people and famous events. His motion pictures and still photos were used to promote Australia to the rest of the world.
Early life
Ive was born in Reading, Berkshire, England in 1875 and became interested in cameras and photography in childhood. When he was 11, his family moved to Brisbane, where he began his career in cinematography. After dropping out of school at the age of 13, Bert Ive worked in several jobs, among them: glass embosser, logo writer, decorator and painter. He took an artistic view of life and work due to his training as an artist.
Career
In 1896, Ive began working on stage productions. When he watched the film for the first time, Ive became fascinated by it. Because of this, he converted a cinematographer traveling in northern New South Wales and southern Queensland, and in Brisbane he projected film and song transparencies for Ted Holland's Vaudeville Entertainers in 1906. His first actuality film was shot in 1909. In May 1913, he was nominated as a cinematographer and still photographer for the Commonwealth Government. This position had been held by James Pinkerton Campbell from December 1911 to May 1913, whose appointment was not successful due to personal conflicts, quality disputes and insufficient funding of his work. In contrast, from the moment Ive started working as this role, he was encouraged to establish the Cinema and Photographic Branch for developing the film industry.
In the first month of his work, Ive was involved in setting up a workspace in Melbourne and purchasing equipment. The Brisbane's newspaper Star stated that it took him six months traveling around the states to take any photos of interest in 1914. Other newspapers reported that Bert was "an enthusiast", "a man of infinite resource" and "of a happy nature". However, the qualities that he expressed, as well as the propaganda of his works, usually ensure that he was welcomed wherever he went. Eight federal departments continuously managed Ive's activities from 1913 to 1939. Among them were Home and Territories, the departments of Markets and Commerce, External Affairs, and the Commonwealth Immigration Office. The changing oversight of his work reflected the varying capacities in which Ive completed government work, covering a wide array of subjects, such as promoting tourism, Australian goods, national awareness and national development to encouraging immigrants, particularly people from the UK.
During Ive's career as a government-affiliated cinematographer, he filmed key events for the younger generation, such as Gallipoli's first AIF team, the Royal Tour of 1920 and 1927, and the Australian east and west, Canberra Construction Railway and Sydney Harbour Bridge. Ive used several means of transportation in his travels throughout Australia. At the time, many Australians had not yet had a chance to explore their own country. By filming such documentaries, Ive promoted Australia to its citizens and attracted overseas tourists. The Cinema and Photographic Branch, grew from a one-man staff, Ive, to a Melbourne organisation with its own studio, laboratories, stock wares and producers, editors and photographers within 25 years of establishment. In 1930, the cinema completed a movie each week, and many of Ive's films were released in a series "Australia day after day" and "know your own country". In 1929, Lynn Maplestone and Ive emerged in Telling the World, which is a documentary about recording the Cinema Branch, and in 1930 produced the first sound film This is Australia. Ive's 1930s films were released domestically and overseas.
Filmography as cinematographer
In the silent film era, Bert Ive made a documentary about Ballarat in June 1927. In and Around Ballarat begins from the Blackball Observation Deck and looks westward MacArthur Street to Lake Wendouree showing today's unidentifiable electric trams and the mining dumps that served commuters from 1905 to 1971. The film shows the industrial and agricultural after the First World War in a modern inland city, but people still remember the glory days of the gold rush with men holding plaster casts of some lumps of gold discovered during the ore boom, containing 69 kilograms of "Welcome Nugget" found on June 9, 1858, at Bakery Mountain, this is the largest gold nugget had ever seen in the world. At the end of the film, the representative of the Eureka Rebellion was founded in 1893 by the rebel leader Peter Larol, who had the Eureka Stockade plaque on the base. Larol survived the rebellion and became a member of parliament at last.
The Conquest of the Pacific is a black and white silent documentary in 1928 that celebrated the first flight across the Pacific Ocean. The plane named "Southern Cross" arrived in Brisbane on June 9, 1928, and Charles Kingsford Smith and his crew members became the first to fly across the Pacific. Smith bought a second-hand Fokker F.VIIb without engines in America from Sir Hubert Wilkins, who was an Arctic explorer. Then he installed new engines to cross the Pacific along with his co-pilot Charles Ulm, navigator Harry Lyon and radio operator Jim Warner. On May 31, 1928, they departed from Oakland, California, and flew to Eagle Farm Airport in Brisbane via Suva and Hawaii. The distance was 11,585 kilometers and the flight time was 83 hours and 50 minutes. They were caught in austere storms on the way, those increasing the risk of flying and navigation over ocean. The crew had to write down course directions and information in these situations. Besides, Smith and the "Southern Cross" completed some important flights after crossing the Pacific. They flew over the Australian Continent ceaselessly and first crossed Tasman after crossing the Atlantic east-west. In order to commemorate the historic flight, Bert made the film to record it. The silent film covered four captions, these were used to clarify what was going to happen next on screen. It started from a subtitle "Excited crowds await the ‘Southern Cross’ at Brisbane", then introduced the scene of the "Southern Cross" stopping on taxiway. The second subtitle, "Captain Kingsford Smith is the first to land", was followed by a shot of Kingsford Smith waving to the crowd then another member and him were hoisted by the crowd. The next two subtitles were "Followed by his fellow countryman, C. T. P. Ulm, and Americans Lyon and Warner" and "The crowd takes possession", which introduced the scene in which Kingsford Smith and other crew members were taken by the crowd to a car which specially waiting for them. The film depicts the moment of Kingsford Smith's first major international aviation victory. Some details shown in the film, such as Smith's appearance from the cockpit with cigarette, and it displayed tobacco which was accepted universally at that time. Importantly, it records the views of "South Cross", a wingspan is 23 meters, the length is 15 meters, 3.9 meters high, with a Fokker F.VIIb-3m. The "Southern Cross" is on exhibition at International Airport of Brisbane today.
The lyrical documentary Among the Hardwoods was filmed in southwestern Western Australia. The film presented an impressive depiction of the lumbering in the state. It recorded all the sounds of the bush faithfully including the bullock teams, a sawmill and the axemen, except spoken commentary. In 1926, Ive and Lacey Percival re-shot a silent documentary for the federal government's Know Your Own Country series, they improved the sound version on the original in different methods.
Driving a Girl to Destruction is filmed by cinematographer Bert Ive, the director is George Marlow. The film was produced by the Australian Picturized Drama Company, founded by theatre enterpriser George Marlow at the Adelphi Theatre in Sydney. Marlow's dramatic production has been successful and extensively toured, and in the next few years, the film did occasionally appear in country areas.
The Bondage of Bush is an Australian silent film starring, produced, directed and written by Charles Woods. It is filmed by Bert Ive in 1913. The film was divided into seven chapters: the great race, a leap for life, horse and man precipitated to raging torrents below, fight with the waters, the dash for liberty, the struggle on the cliffs and the black boy's revenge.
The Life of Adam Lindsay Gordon is an Australian feature-length film shot by Ive and directed by W. J. Lincoln, on the basis of Adam Lindsay Gordon’s life, who was a poet. The story begins with Gordon studying at Cheltenham College. Then he described his career as a soldier in the Australian jungle when he was assigned to escort a madman to a refuge 200 miles away. Due to he refused to clean up the sergeant's boots, he later resigned the job to become a horse rider and obstacle racer. Later, Gordon was in debt and decided to commit suicide. With only 37 minutes left in the film, this surviving episode reveals a subtle movie, and finally scene was Gordon sits at his hearth at the end of his life. Bert showed an advance in lighting and film photography of the film in 1916.
German concentration camps: Holsworthy, Trial Bay, Berrimah, Molonglo was black and white, silent actuality footage. In the summer of 1918-1919, the film scenes of Molonglo and Holsworthy internment camps were taken by Ive, and also included earlier footage from Berrima and Trial Bay. The effect of the film was to express the distinction between the conditions of returning to British prisoners of war in Germany and the conditions enjoyed by German detainees in Australian refugee camps.
Filmography as editor
Angel of his Dream is an Australian film shot by Bert Ive and directed by George Marlow, concerning a clergyman who was seduced by a woman. It was Marlow's follow up to Driving a Girl to Destruction.
Death and legacy
Ive died on July 25, 1939. Until his death, he remained heavily involved with the Cinema Branch's photography work. Following his death, after the United Kingdom and Australia declared their war against Germany, the Cinema Branch became part of federal government's newly established information department, which established the Film Division in 1940 to mobilise film for national purposes. The Townsville Daily Bulletin reported that his body of work in Australia has been a monument to his "energy and vision" for more than a quarter of a century. This tradition was passed on to the cinema's post-war successors, the Film Department, the Commonwealth Film Department and the Australian Film Department, which are now part of the NFSA film Australia collection. Ive's film encouraged the sale of Australian goods and tourism and attracted immigrants into Australia in the 1920s.
References
External links
1875 births
1939 deaths
People from Reading, Berkshire
Photographers from Queensland
British emigrants to Australia
Australian cinematographers
Artists from Brisbane
20th-century Australian photographers
|
A miniature park is a display of miniature buildings and models, usually as a recreational and tourist attraction open to the public. A miniature park may contain a model of a single city or town, often called a miniature city or model village, or it can contain a number of different sets of models.
History
There is evidence to suggest the existence of private model villages and miniature parks since the 19th century, but it was only in the 1930s to 1950s that the genre became tourist attractions. Early examples include Bekonscot in the UK and Madurodam in The Hague.
Variations on a theme
Most model villages and parks are built to a consistent scale; varying from 1:76 as used by the intricately detailed Pendon in England up to the 1:9 scale of Wimborne Model Town.
There has been a move away from the model village concept since the mid- to late 20th century towards a miniature park concept. Model villages are typically larger-scale, sit in a cohesive miniature landscape and allow viewing and physical interaction with the exhibits, such as publicly accessed streets and urban areas. Miniature parks however, are primarily concerned with the display of exhibits in their own right, viewed from a distance. Model railways, rivers and roads may provide a continuation between miniature parks exhibits.
List of notable miniature parks
Europe
Austria
Minimundus, Klagenfurt
Belgium
Mini-Europe, Brussels
Denmark
Legoland Billund, Billund (the original Legoland)
Many Danish towns also have extensive miniature towns from historic periods (normally 1900s). Some of the most significant include:
, Fredericia (circa 1849)
, Køge (circa 1865)
, Varde (circa 1866)
, Kolding (circa 1860-1870)
France
France Miniature, Élancourt
Mini World Lyon
Storybook Land Canal Boats, Disneyland Park (Paris)
Germany
Legoland Deutschland, Günzburg, Bavaria
Miniatur Wunderland, Hamburg (indoor)
Italy
Italia in miniatura, Rimini
Netherlands
Madurodam, The Hague
Portugal
Portugal dos Pequenitos, Coimbra
Russia
Grand Maket Rossiya, Saint Petersburg (indoor)
Slovakia
Park miniatúr, Podolie
Spain
Catalunya en Miniatura, Catalunya
Switzerland
Swiss Vapeur Parc, Valais
Ukraine
Kyiv in Miniature
United Kingdom
Babbacombe Model Village, Babbacombe, Devon
Bekonscot, Beaconsfield, Buckinghamshire
Bourton-on-the-Water model village, Bourton-on-the-Water, Gloucestershire
Haigh Hall Miniature Railway, Wigan
Legoland Windsor in Windsor
Pendon Museum, Pendon, Oxfordshire
Southport Model Railway Village
Tucktonia, Dorset, closed in 1985
Wimborne Model Town
Americas
Brazil
Mini Mundo, Gramado, Rio Grande do Sul, opened in 1981
Canada
Canadia Niagara Falls, Ontario, opened in 1966 - closed
Cullen Gardens and Miniature Village, Whitby, Ontario, opened in 1980 - closed in the mid-2000s
Little Canada, Toronto, Ontario, opened in 2021
Woodleigh Replicas, Burlington, Prince Edward Island, closed
Tivoli Miniature World, Jordan, Ontario, closed in the 1990s
Chile
, Santiago, Chile
United States
Tiny Town, Morrison, Colorado, opened in 1921
Tiny Town, Springfield, Missouri, opened in 1925
Miniature Railroad & Village, Pittsburgh, Pennsylvania opened 1920s
Ave Maria Grotto, Cullman, Alabama, opened in 1933
Roadside America, Pennsylvania, opened in 1935, closed 2020
Storybook Land Canal Boats, Disneyland, California opened in 1956
Palestine Park, Chautauqua Institution in Chautauqua, New York
Splendid China (Florida), opened in 1993, closed 2003
Holy Land Experience, Orlando, Florida, the park has a scale model of Jerusalem, Israel
Forbidden Gardens, Katy, Texas, opened in 1997, closed 2011
Living Desert Zoo and Gardens, Palm Desert, California, opened in 1971
San Diego Model Railroad Museum, San Diego, California, opened in 1981
Legoland California, Carlsbad, California, opened in 1999
Legoland Florida Winter Haven, opened 2011
Asia/Pacific Region
Australia
Cockington Green Gardens, Canberra
China
Splendid China, Shenzhen
Window of the World, Shenzhen
Beijing World Park
Shanghai Urban Planning Exhibition Hall (indoor)
Grand World Scenic Park, outskirts of Guangzhou, closed
Indonesia
Taman Mini Indonesia Indah, Jakarta
Japan
Tobu World Square, Kinugawa Onsen, Nikkō, Tochigi
Legoland Japan, Nagoya, Aichi
Malaysia
Islamic Heritage Park, Kuala Terengganu, Terengganu
Legoland Malaysia, Iskandar Malaysia, Johor
Tropical Village, Ayer Hitam, Johor
Thailand
Mini Siam, Pattaya, Chonburi
Dusit Thani, Phaya Thai, Bangkok,
Middle East
Israel
Jerusalem’s Model in the Late 2nd Temple Period, Israel Museum, Israel
Mini Israel, Latrun, Israel
Turkey
Miniatürk, Istanbul
References
External links
International Association of Miniature Parks: Almost all members are in Europe.
Agilitynut feature
The Gauge One Model Railway Association
|
```java
/*
This file is part of the iText (R) project.
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at path_to_url For AGPL licensing, see below.
AGPL licensing:
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program 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
along with this program. If not, see <path_to_url
*/
package com.itextpdf.layout.renderer;
import com.itextpdf.io.font.constants.StandardFonts;
import com.itextpdf.io.image.ImageDataFactory;
import com.itextpdf.kernel.font.PdfFontFactory;
import com.itextpdf.kernel.geom.PageSize;
import com.itextpdf.kernel.geom.Rectangle;
import com.itextpdf.kernel.pdf.PdfDocument;
import com.itextpdf.kernel.pdf.PdfWriter;
import com.itextpdf.kernel.utils.CompareTool;
import com.itextpdf.layout.Document;
import com.itextpdf.layout.element.AreaBreak;
import com.itextpdf.layout.element.Div;
import com.itextpdf.layout.element.Image;
import com.itextpdf.layout.element.Paragraph;
import com.itextpdf.layout.element.Table;
import com.itextpdf.layout.element.Text;
import com.itextpdf.layout.layout.LayoutArea;
import com.itextpdf.layout.layout.LayoutContext;
import com.itextpdf.layout.properties.Property;
import com.itextpdf.layout.properties.UnitValue;
import com.itextpdf.layout.layout.LayoutResult;
import com.itextpdf.layout.splitting.DefaultSplitCharacters;
import com.itextpdf.test.ExtendedITextTest;
import java.io.IOException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Tag;
@Tag("IntegrationTest")
public class TargetCounterHandlerTest extends ExtendedITextTest {
public static final String SOURCE_FOLDER = "./src/test/resources/com/itextpdf/layout/renderer/TargetCounterHandlerTest/";
public static final String DESTINATION_FOLDER = "./target/test/com/itextpdf/layout/renderer/TargetCounterHandlerTest/";
@BeforeAll
public static void beforeClass() {
createDestinationFolder(DESTINATION_FOLDER);
}
@Test
public void blockRendererAddByIDTest() {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
DivRenderer divRenderer = new DivRenderer(new Div());
divRenderer.setParent(documentRenderer);
String id = "id5";
divRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
divRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(divRenderer, id));
}
@Test
public void textRendererAddByIDTest() throws IOException {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
TextRenderer textRenderer = new TextRenderer(new Text("a"));
textRenderer.setProperty(Property.TEXT_RISE, 20F);
textRenderer.setProperty(Property.CHARACTER_SPACING, 20F);
textRenderer.setProperty(Property.WORD_SPACING, 20F);
textRenderer.setProperty(Property.FONT, PdfFontFactory.createFont(StandardFonts.HELVETICA));
textRenderer.setProperty(Property.FONT_SIZE, new UnitValue(UnitValue.POINT, 20));
textRenderer.setProperty(Property.SPLIT_CHARACTERS, new DefaultSplitCharacters());
textRenderer.setParent(documentRenderer);
String id = "id7";
textRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
textRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(textRenderer, id));
}
@Test
public void tableRendererAddByIDTest() {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
TableRenderer tableRenderer = new TableRenderer(new Table(5));
tableRenderer.setParent(documentRenderer);
String id = "id5";
tableRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
tableRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(tableRenderer, id));
}
@Test
public void paragraphRendererAddByIDTest() {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
ParagraphRenderer paragraphRenderer = new ParagraphRenderer(new Paragraph());
paragraphRenderer.setParent(documentRenderer);
String id = "id5";
paragraphRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
paragraphRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(paragraphRenderer, id));
}
@Test
public void imageRendererAddByIDTest() {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
ImageRenderer imageRenderer = new ImageRenderer(new Image(ImageDataFactory.createRawImage(new byte[]{50, 21})));
imageRenderer.setParent(documentRenderer);
String id = "id6";
imageRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
imageRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(imageRenderer, id));
}
@Test
public void lineRendererAddByIDTest() {
DocumentRenderer documentRenderer = new DocumentRenderer(null);
LineRenderer lineRenderer = new LineRenderer();
lineRenderer.setParent(documentRenderer);
String id = "id6";
lineRenderer.setProperty(Property.ID, id);
LayoutContext layoutContext = new LayoutContext(new LayoutArea(4, new Rectangle(50, 50)));
lineRenderer.layout(layoutContext);
documentRenderer.getTargetCounterHandler().prepareHandlerToRelayout();
Assertions.assertEquals((Integer) 4, TargetCounterHandler.getPageByID(lineRenderer, id));
}
@Test
public void targetCounterHandlerEndToEndLayoutTest() throws IOException, InterruptedException {
String targetPdf = DESTINATION_FOLDER + "targetCounterHandlerEndToEndLayoutTest.pdf";
String cmpPdf = SOURCE_FOLDER + "cmp_targetCounterHandlerEndToEndLayoutTest.pdf";
Document document = new Document(new PdfDocument(new PdfWriter(targetPdf)),
PageSize.A4, false);
Text pageNumPlaceholder = new Text("x");
String id = "1";
pageNumPlaceholder.setProperty(Property.ID, id);
pageNumPlaceholder.setNextRenderer(new TargetCounterAwareTextRenderer(pageNumPlaceholder));
Paragraph intro = new Paragraph("The paragraph is on page ").add(pageNumPlaceholder);
document.add(intro);
document.add(new AreaBreak());
Paragraph text = new Paragraph("This is main text");
text.setProperty(Property.ID, id);
text.setNextRenderer(new TargetCounterAwareParagraphRenderer(text));
document.add(text);
document.relayout();
document.close();
Assertions.assertNull(new CompareTool().compareByContent(targetPdf, cmpPdf, DESTINATION_FOLDER, "diff"));
}
private static class TargetCounterAwareTextRenderer extends TextRenderer {
public TargetCounterAwareTextRenderer(Text link) {
super(link);
}
@Override
public LayoutResult layout(LayoutContext layoutContext) {
Integer targetPageNumber = TargetCounterHandler.getPageByID(this, this.<String>getProperty(Property.ID));
if (targetPageNumber != null) {
setText(String.valueOf(targetPageNumber));
}
return super.layout(layoutContext);
}
@Override
public IRenderer getNextRenderer() {
return new TargetCounterAwareTextRenderer((Text) getModelElement());
}
}
private static class TargetCounterAwareParagraphRenderer extends ParagraphRenderer {
public TargetCounterAwareParagraphRenderer(Paragraph modelElement) {
super(modelElement);
}
@Override
public IRenderer getNextRenderer() {
return new TargetCounterAwareParagraphRenderer((Paragraph) modelElement);
}
@Override
public LayoutResult layout(LayoutContext layoutContext) {
LayoutResult result = super.layout(layoutContext);
TargetCounterHandler.addPageByID(this);
return result;
}
}
}
```
|
```sourcepawn
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Machine Code Emitter *|
|* *|
|* Automatically generated file, do not edit! *|
|* *|
\*===your_sha256_hash------===*/
uint64_t SystemZMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const {
static const uint64_t InstBits[] = {
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(1509949440), // A
UINT64_C(260584255782938), // ADB
UINT64_C(3004825600), // ADBR
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(260584255782922), // AEB
UINT64_C(3003777024), // AEBR
UINT64_C(0),
UINT64_C(213343910494208), // AFI
UINT64_C(0),
UINT64_C(249589139505160), // AG
UINT64_C(249589139505176), // AGF
UINT64_C(213339615526912), // AGFI
UINT64_C(3105357824), // AGFR
UINT64_C(2802515968), // AGHI
UINT64_C(259484744155353), // AGHIK
UINT64_C(3104309248), // AGR
UINT64_C(3118989312), // AGRK
UINT64_C(258385232527482), // AGSI
UINT64_C(1241513984), // AH
UINT64_C(2802450432), // AHI
UINT64_C(259484744155352), // AHIK
UINT64_C(0),
UINT64_C(0),
UINT64_C(249589139505274), // AHY
UINT64_C(224334731804672), // AIH
UINT64_C(1577058304), // AL
UINT64_C(249589139505304), // ALC
UINT64_C(249589139505288), // ALCG
UINT64_C(3112697856), // ALCGR
UINT64_C(3113746432), // ALCR
UINT64_C(213352500428800), // ALFI
UINT64_C(249589139505162), // ALG
UINT64_C(249589139505178), // ALGF
UINT64_C(213348205461504), // ALGFI
UINT64_C(3105488896), // ALGFR
UINT64_C(259484744155355), // ALGHSIK
UINT64_C(3104440320), // ALGR
UINT64_C(3119120384), // ALGRK
UINT64_C(259484744155354), // ALHSIK
UINT64_C(7680), // ALR
UINT64_C(3120168960), // ALRK
UINT64_C(249589139505246), // ALY
UINT64_C(6656), // AR
UINT64_C(3120037888), // ARK
UINT64_C(258385232527466), // ASI
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(3007971328), // AXBR
UINT64_C(249589139505242), // AY
UINT64_C(1792), // AsmBCR
UINT64_C(2802057216), // AsmBRC
UINT64_C(211123412402176), // AsmBRCL
UINT64_C(259484744155260), // AsmCGIJ
UINT64_C(259484744155236), // AsmCGRJ
UINT64_C(259484744155262), // AsmCIJ
UINT64_C(259484744155261), // AsmCLGIJ
UINT64_C(259484744155237), // AsmCLGRJ
UINT64_C(259484744155263), // AsmCLIJ
UINT64_C(259484744155255), // AsmCLRJ
UINT64_C(259484744155254), // AsmCRJ
UINT64_C(1920), // AsmEBR
UINT64_C(2810445824), // AsmEJ
UINT64_C(211673168216064), // AsmEJG
UINT64_C(258419592265970), // AsmELOC
UINT64_C(258419592265954), // AsmELOCG
UINT64_C(3118628864), // AsmELOCGR
UINT64_C(3119677440), // AsmELOCR
UINT64_C(258419592265971), // AsmESTOC
UINT64_C(258419592265955), // AsmESTOCG
UINT64_C(1824), // AsmHBR
UINT64_C(1952), // AsmHEBR
UINT64_C(2812542976), // AsmHEJ
UINT64_C(211810607169536), // AsmHEJG
UINT64_C(258428182200562), // AsmHELOC
UINT64_C(258428182200546), // AsmHELOCG
UINT64_C(3118637056), // AsmHELOCGR
UINT64_C(3119685632), // AsmHELOCR
UINT64_C(258428182200563), // AsmHESTOC
UINT64_C(258428182200547), // AsmHESTOCG
UINT64_C(2804154368), // AsmHJ
UINT64_C(211260851355648), // AsmHJG
UINT64_C(258393822462194), // AsmHLOC
UINT64_C(258393822462178), // AsmHLOCG
UINT64_C(3118604288), // AsmHLOCGR
UINT64_C(3119652864), // AsmHLOCR
UINT64_C(258393822462195), // AsmHSTOC
UINT64_C(258393822462179), // AsmHSTOCG
UINT64_C(259519103893628), // AsmJEAltCGI
UINT64_C(259484744188004), // AsmJEAltCGR
UINT64_C(259519103893630), // AsmJEAltCI
UINT64_C(259519103893629), // AsmJEAltCLGI
UINT64_C(259484744188005), // AsmJEAltCLGR
UINT64_C(259519103893631), // AsmJEAltCLI
UINT64_C(259484744188023), // AsmJEAltCLR
UINT64_C(259484744188022), // AsmJEAltCR
UINT64_C(259519103893628), // AsmJECGI
UINT64_C(259484744188004), // AsmJECGR
UINT64_C(259519103893630), // AsmJECI
UINT64_C(259519103893629), // AsmJECLGI
UINT64_C(259484744188005), // AsmJECLGR
UINT64_C(259519103893631), // AsmJECLI
UINT64_C(259484744188023), // AsmJECLR
UINT64_C(259484744188022), // AsmJECR
UINT64_C(259493334089852), // AsmJHAltCGI
UINT64_C(259484744163428), // AsmJHAltCGR
UINT64_C(259493334089854), // AsmJHAltCI
UINT64_C(259493334089853), // AsmJHAltCLGI
UINT64_C(259484744163429), // AsmJHAltCLGR
UINT64_C(259493334089855), // AsmJHAltCLI
UINT64_C(259484744163447), // AsmJHAltCLR
UINT64_C(259484744163446), // AsmJHAltCR
UINT64_C(259493334089852), // AsmJHCGI
UINT64_C(259484744163428), // AsmJHCGR
UINT64_C(259493334089854), // AsmJHCI
UINT64_C(259493334089853), // AsmJHCLGI
UINT64_C(259484744163429), // AsmJHCLGR
UINT64_C(259493334089855), // AsmJHCLI
UINT64_C(259484744163447), // AsmJHCLR
UINT64_C(259484744163446), // AsmJHCR
UINT64_C(259527693828220), // AsmJHEAltCGI
UINT64_C(259484744196196), // AsmJHEAltCGR
UINT64_C(259527693828222), // AsmJHEAltCI
UINT64_C(259527693828221), // AsmJHEAltCLGI
UINT64_C(259484744196197), // AsmJHEAltCLGR
UINT64_C(259527693828223), // AsmJHEAltCLI
UINT64_C(259484744196215), // AsmJHEAltCLR
UINT64_C(259484744196214), // AsmJHEAltCR
UINT64_C(259527693828220), // AsmJHECGI
UINT64_C(259484744196196), // AsmJHECGR
UINT64_C(259527693828222), // AsmJHECI
UINT64_C(259527693828221), // AsmJHECLGI
UINT64_C(259484744196197), // AsmJHECLGR
UINT64_C(259527693828223), // AsmJHECLI
UINT64_C(259484744196215), // AsmJHECLR
UINT64_C(259484744196214), // AsmJHECR
UINT64_C(259501924024444), // AsmJLAltCGI
UINT64_C(259484744171620), // AsmJLAltCGR
UINT64_C(259501924024446), // AsmJLAltCI
UINT64_C(259501924024445), // AsmJLAltCLGI
UINT64_C(259484744171621), // AsmJLAltCLGR
UINT64_C(259501924024447), // AsmJLAltCLI
UINT64_C(259484744171639), // AsmJLAltCLR
UINT64_C(259484744171638), // AsmJLAltCR
UINT64_C(259501924024444), // AsmJLCGI
UINT64_C(259484744171620), // AsmJLCGR
UINT64_C(259501924024446), // AsmJLCI
UINT64_C(259501924024445), // AsmJLCLGI
UINT64_C(259484744171621), // AsmJLCLGR
UINT64_C(259501924024447), // AsmJLCLI
UINT64_C(259484744171639), // AsmJLCLR
UINT64_C(259484744171638), // AsmJLCR
UINT64_C(259536283762812), // AsmJLEAltCGI
UINT64_C(259484744204388), // AsmJLEAltCGR
UINT64_C(259536283762814), // AsmJLEAltCI
UINT64_C(259536283762813), // AsmJLEAltCLGI
UINT64_C(259484744204389), // AsmJLEAltCLGR
UINT64_C(259536283762815), // AsmJLEAltCLI
UINT64_C(259484744204407), // AsmJLEAltCLR
UINT64_C(259484744204406), // AsmJLEAltCR
UINT64_C(259536283762812), // AsmJLECGI
UINT64_C(259484744204388), // AsmJLECGR
UINT64_C(259536283762814), // AsmJLECI
UINT64_C(259536283762813), // AsmJLECLGI
UINT64_C(259484744204389), // AsmJLECLGR
UINT64_C(259536283762815), // AsmJLECLI
UINT64_C(259484744204407), // AsmJLECLR
UINT64_C(259484744204406), // AsmJLECR
UINT64_C(259510513959036), // AsmJLHAltCGI
UINT64_C(259484744179812), // AsmJLHAltCGR
UINT64_C(259510513959038), // AsmJLHAltCI
UINT64_C(259510513959037), // AsmJLHAltCLGI
UINT64_C(259484744179813), // AsmJLHAltCLGR
UINT64_C(259510513959039), // AsmJLHAltCLI
UINT64_C(259484744179831), // AsmJLHAltCLR
UINT64_C(259484744179830), // AsmJLHAltCR
UINT64_C(259510513959036), // AsmJLHCGI
UINT64_C(259484744179812), // AsmJLHCGR
UINT64_C(259510513959038), // AsmJLHCI
UINT64_C(259510513959037), // AsmJLHCLGI
UINT64_C(259484744179813), // AsmJLHCLGR
UINT64_C(259510513959039), // AsmJLHCLI
UINT64_C(259484744179831), // AsmJLHCLR
UINT64_C(259484744179830), // AsmJLHCR
UINT64_C(1856), // AsmLBR
UINT64_C(1984), // AsmLEBR
UINT64_C(2814640128), // AsmLEJ
UINT64_C(211948046123008), // AsmLEJG
UINT64_C(258436772135154), // AsmLELOC
UINT64_C(258436772135138), // AsmLELOCG
UINT64_C(3118645248), // AsmLELOCGR
UINT64_C(3119693824), // AsmLELOCR
UINT64_C(258436772135155), // AsmLESTOC
UINT64_C(258436772135139), // AsmLESTOCG
UINT64_C(1888), // AsmLHBR
UINT64_C(2808348672), // AsmLHJ
UINT64_C(211535729262592), // AsmLHJG
UINT64_C(258411002331378), // AsmLHLOC
UINT64_C(258411002331362), // AsmLHLOCG
UINT64_C(3118620672), // AsmLHLOCGR
UINT64_C(3119669248), // AsmLHLOCR
UINT64_C(258411002331379), // AsmLHSTOC
UINT64_C(258411002331363), // AsmLHSTOCG
UINT64_C(2806251520), // AsmLJ
UINT64_C(211398290309120), // AsmLJG
UINT64_C(258402412396786), // AsmLLOC
UINT64_C(258402412396770), // AsmLLOCG
UINT64_C(3118612480), // AsmLLOCGR
UINT64_C(3119661056), // AsmLLOCR
UINT64_C(258385232527602), // AsmLOC
UINT64_C(258385232527586), // AsmLOCG
UINT64_C(3118596096), // AsmLOCGR
UINT64_C(3119644672), // AsmLOCR
UINT64_C(258402412396787), // AsmLSTOC
UINT64_C(258402412396771), // AsmLSTOCG
UINT64_C(1904), // AsmNEBR
UINT64_C(2809397248), // AsmNEJ
UINT64_C(211604448739328), // AsmNEJG
UINT64_C(258415297298674), // AsmNELOC
UINT64_C(258415297298658), // AsmNELOCG
UINT64_C(3118624768), // AsmNELOCGR
UINT64_C(3119673344), // AsmNELOCR
UINT64_C(258415297298675), // AsmNESTOC
UINT64_C(258415297298659), // AsmNESTOCG
UINT64_C(2000), // AsmNHBR
UINT64_C(1872), // AsmNHEBR
UINT64_C(2807300096), // AsmNHEJ
UINT64_C(211467009785856), // AsmNHEJG
UINT64_C(258406707364082), // AsmNHELOC
UINT64_C(258406707364066), // AsmNHELOCG
UINT64_C(3118616576), // AsmNHELOCGR
UINT64_C(3119665152), // AsmNHELOCR
UINT64_C(258406707364083), // AsmNHESTOC
UINT64_C(258406707364067), // AsmNHESTOCG
UINT64_C(2815688704), // AsmNHJ
UINT64_C(212016765599744), // AsmNHJG
UINT64_C(258441067102450), // AsmNHLOC
UINT64_C(258441067102434), // AsmNHLOCG
UINT64_C(3118649344), // AsmNHLOCGR
UINT64_C(3119697920), // AsmNHLOCR
UINT64_C(258441067102451), // AsmNHSTOC
UINT64_C(258441067102435), // AsmNHSTOCG
UINT64_C(1968), // AsmNLBR
UINT64_C(1840), // AsmNLEBR
UINT64_C(2805202944), // AsmNLEJ
UINT64_C(211329570832384), // AsmNLEJG
UINT64_C(258398117429490), // AsmNLELOC
UINT64_C(258398117429474), // AsmNLELOCG
UINT64_C(3118608384), // AsmNLELOCGR
UINT64_C(3119656960), // AsmNLELOCR
UINT64_C(258398117429491), // AsmNLESTOC
UINT64_C(258398117429475), // AsmNLESTOCG
UINT64_C(1936), // AsmNLHBR
UINT64_C(2811494400), // AsmNLHJ
UINT64_C(211741887692800), // AsmNLHJG
UINT64_C(258423887233266), // AsmNLHLOC
UINT64_C(258423887233250), // AsmNLHLOCG
UINT64_C(3118632960), // AsmNLHLOCGR
UINT64_C(3119681536), // AsmNLHLOCR
UINT64_C(258423887233267), // AsmNLHSTOC
UINT64_C(258423887233251), // AsmNLHSTOCG
UINT64_C(2813591552), // AsmNLJ
UINT64_C(211879326646272), // AsmNLJG
UINT64_C(258432477167858), // AsmNLLOC
UINT64_C(258432477167842), // AsmNLLOCG
UINT64_C(3118641152), // AsmNLLOCGR
UINT64_C(3119689728), // AsmNLLOCR
UINT64_C(258432477167859), // AsmNLSTOC
UINT64_C(258432477167843), // AsmNLSTOCG
UINT64_C(2016), // AsmNOBR
UINT64_C(2816737280), // AsmNOJ
UINT64_C(212085485076480), // AsmNOJG
UINT64_C(258445362069746), // AsmNOLOC
UINT64_C(258445362069730), // AsmNOLOCG
UINT64_C(3118653440), // AsmNOLOCGR
UINT64_C(3119702016), // AsmNOLOCR
UINT64_C(258445362069747), // AsmNOSTOC
UINT64_C(258445362069731), // AsmNOSTOCG
UINT64_C(1808), // AsmOBR
UINT64_C(2803105792), // AsmOJ
UINT64_C(211192131878912), // AsmOJG
UINT64_C(258389527494898), // AsmOLOC
UINT64_C(258389527494882), // AsmOLOCG
UINT64_C(3118600192), // AsmOLOCGR
UINT64_C(3119648768), // AsmOLOCR
UINT64_C(258389527494899), // AsmOSTOC
UINT64_C(258389527494883), // AsmOSTOCG
UINT64_C(258385232527603), // AsmSTOC
UINT64_C(258385232527587), // AsmSTOCG
UINT64_C(3328), // BASR
UINT64_C(2032), // BR
UINT64_C(2802122752), // BRAS
UINT64_C(211127707369472), // BRASL
UINT64_C(2802057216), // BRC
UINT64_C(211123412402176), // BRCL
UINT64_C(2802188288), // BRCT
UINT64_C(2802253824), // BRCTG
UINT64_C(1493172224), // C
UINT64_C(260584255782937), // CDB
UINT64_C(3004760064), // CDBR
UINT64_C(3012886528), // CDFBR
UINT64_C(3013935104), // CDGBR
UINT64_C(3012624384), // CDLFBR
UINT64_C(3013672960), // CDLGBR
UINT64_C(260584255782921), // CEB
UINT64_C(3003711488), // CEBR
UINT64_C(3012820992), // CEFBR
UINT64_C(3013869568), // CEGBR
UINT64_C(3012558848), // CELFBR
UINT64_C(3013607424), // CELGBR
UINT64_C(3013148672), // CFDBR
UINT64_C(3013083136), // CFEBR
UINT64_C(213361090363392), // CFI
UINT64_C(0),
UINT64_C(3013214208), // CFXBR
UINT64_C(249589139505184), // CG
UINT64_C(3014197248), // CGDBR
UINT64_C(3014131712), // CGEBR
UINT64_C(249589139505200), // CGF
UINT64_C(213356795396096), // CGFI
UINT64_C(3106930688), // CGFR
UINT64_C(217754841907200), // CGFRL
UINT64_C(249589139505204), // CGH
UINT64_C(2802778112), // CGHI
UINT64_C(217720482168832), // CGHRL
UINT64_C(252166119882752), // CGHSI
UINT64_C(259484744155260), // CGIJ
UINT64_C(3105882112), // CGR
UINT64_C(259484744155236), // CGRJ
UINT64_C(217737662038016), // CGRL
UINT64_C(3014262784), // CGXBR
UINT64_C(1224736768), // CH
UINT64_C(249589139505357), // CHF
UINT64_C(252148940013568), // CHHSI
UINT64_C(2802712576), // CHI
UINT64_C(217724777136128), // CHRL
UINT64_C(252183299751936), // CHSI
UINT64_C(249589139505273), // CHY
UINT64_C(224356206641152), // CIH
UINT64_C(259484744155262), // CIJ
UINT64_C(1426063360), // CL
UINT64_C(234195976716288), // CLC
UINT64_C(0),
UINT64_C(0),
UINT64_C(3013410816), // CLFDBR
UINT64_C(3013345280), // CLFEBR
UINT64_C(252187594719232), // CLFHSI
UINT64_C(213369680297984), // CLFI
UINT64_C(0),
UINT64_C(3013476352), // CLFXBR
UINT64_C(249589139505185), // CLG
UINT64_C(3014459392), // CLGDBR
UINT64_C(3014393856), // CLGEBR
UINT64_C(249589139505201), // CLGF
UINT64_C(213365385330688), // CLGFI
UINT64_C(3106996224), // CLGFR
UINT64_C(217763431841792), // CLGFRL
UINT64_C(217729072103424), // CLGHRL
UINT64_C(252170414850048), // CLGHSI
UINT64_C(259484744155261), // CLGIJ
UINT64_C(3105947648), // CLGR
UINT64_C(259484744155237), // CLGRJ
UINT64_C(217746251972608), // CLGRL
UINT64_C(3014524928), // CLGXBR
UINT64_C(249589139505359), // CLHF
UINT64_C(252153234980864), // CLHHSI
UINT64_C(217733367070720), // CLHRL
UINT64_C(2499805184), // CLI
UINT64_C(224364796575744), // CLIH
UINT64_C(259484744155263), // CLIJ
UINT64_C(258385232527445), // CLIY
UINT64_C(0),
UINT64_C(5376), // CLR
UINT64_C(259484744155255), // CLRJ
UINT64_C(217767726809088), // CLRL
UINT64_C(2992439296), // CLST
UINT64_C(0),
UINT64_C(249589139505237), // CLY
UINT64_C(0),
UINT64_C(3010592768), // CPSDRdd
UINT64_C(3010592768), // CPSDRds
UINT64_C(3010592768), // CPSDRsd
UINT64_C(3010592768), // CPSDRss
UINT64_C(6400), // CR
UINT64_C(259484744155254), // CRJ
UINT64_C(217759136874496), // CRL
UINT64_C(3120562176), // CS
UINT64_C(258385232527408), // CSG
UINT64_C(258385232527380), // CSY
UINT64_C(3007905792), // CXBR
UINT64_C(3012952064), // CXFBR
UINT64_C(3014000640), // CXGBR
UINT64_C(3012689920), // CXLFBR
UINT64_C(3013738496), // CXLGBR
UINT64_C(249589139505241), // CY
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(260584255782941), // DDB
UINT64_C(3005022208), // DDBR
UINT64_C(260584255782925), // DEB
UINT64_C(3003973632), // DEBR
UINT64_C(249589139505303), // DL
UINT64_C(249589139505287), // DLG
UINT64_C(3112632320), // DLGR
UINT64_C(3113680896), // DLR
UINT64_C(249589139505165), // DSG
UINT64_C(249589139505181), // DSGF
UINT64_C(3105685504), // DSGFR
UINT64_C(3104636928), // DSGR
UINT64_C(3008167936), // DXBR
UINT64_C(2991521792), // EAR
UINT64_C(3001810944), // ETND
UINT64_C(3009347584), // FIDBR
UINT64_C(3009347584), // FIDBRA
UINT64_C(3008823296), // FIEBR
UINT64_C(3008823296), // FIEBRA
UINT64_C(3007774720), // FIXBR
UINT64_C(3007774720), // FIXBRA
UINT64_C(3112370176), // FLOGR
UINT64_C(0),
UINT64_C(1124073472), // IC
UINT64_C(1124073472), // IC32
UINT64_C(249589139505267), // IC32Y
UINT64_C(249589139505267), // ICY
UINT64_C(0),
UINT64_C(211140592271360), // IIHF
UINT64_C(0),
UINT64_C(2768240640), // IIHH
UINT64_C(0),
UINT64_C(2768306176), // IIHL
UINT64_C(0),
UINT64_C(0),
UINT64_C(211144887238656), // IILF
UINT64_C(0),
UINT64_C(2768371712), // IILH
UINT64_C(0),
UINT64_C(2768437248), // IILL
UINT64_C(0),
UINT64_C(0),
UINT64_C(2988572672), // IPM
UINT64_C(2817785856), // J
UINT64_C(212154204553216), // JG
UINT64_C(1476395008), // L
UINT64_C(0),
UINT64_C(1090519040), // LA
UINT64_C(258385232527608), // LAA
UINT64_C(258385232527592), // LAAG
UINT64_C(258385232527610), // LAAL
UINT64_C(258385232527594), // LAALG
UINT64_C(258385232527604), // LAN
UINT64_C(258385232527588), // LANG
UINT64_C(258385232527606), // LAO
UINT64_C(258385232527590), // LAOG
UINT64_C(211106232532992), // LARL
UINT64_C(258385232527607), // LAX
UINT64_C(258385232527591), // LAXG
UINT64_C(249589139505265), // LAY
UINT64_C(249589139505270), // LB
UINT64_C(249589139505344), // LBH
UINT64_C(0),
UINT64_C(3106275328), // LBR
UINT64_C(253987186016295), // LCBB
UINT64_C(3004366848), // LCDBR
UINT64_C(3010658304), // LCDFR
UINT64_C(3010658304), // LCDFR_32
UINT64_C(3003318272), // LCEBR
UINT64_C(3105030144), // LCGFR
UINT64_C(3103981568), // LCGR
UINT64_C(4864), // LCR
UINT64_C(3007512576), // LCXBR
UINT64_C(1744830464), // LD
UINT64_C(260584255782948), // LDE32
UINT64_C(260584255782916), // LDEB
UINT64_C(3003383808), // LDEBR
UINT64_C(3015770112), // LDGR
UINT64_C(10240), // LDR
UINT64_C(3007643648), // LDXBR
UINT64_C(3007643648), // LDXBRA
UINT64_C(260584255783013), // LDY
UINT64_C(2013265920), // LE
UINT64_C(3007578112), // LEDBR
UINT64_C(3007578112), // LEDBRA
UINT64_C(0),
UINT64_C(14336), // LER
UINT64_C(3007709184), // LEXBR
UINT64_C(3007709184), // LEXBRA
UINT64_C(260584255783012), // LEY
UINT64_C(0),
UINT64_C(249589139505354), // LFH
UINT64_C(249589139505156), // LG
UINT64_C(249589139505271), // LGB
UINT64_C(3104178176), // LGBR
UINT64_C(3016556544), // LGDR
UINT64_C(249589139505172), // LGF
UINT64_C(211110527500288), // LGFI
UINT64_C(3105095680), // LGFR
UINT64_C(215555818651648), // LGFRL
UINT64_C(249589139505173), // LGH
UINT64_C(2802384896), // LGHI
UINT64_C(3104243712), // LGHR
UINT64_C(215521458913280), // LGHRL
UINT64_C(3104047104), // LGR
UINT64_C(215538638782464), // LGRL
UINT64_C(1207959552), // LH
UINT64_C(249589139505348), // LHH
UINT64_C(2802319360), // LHI
UINT64_C(0),
UINT64_C(0),
UINT64_C(3106340864), // LHR
UINT64_C(215525753880576), // LHRL
UINT64_C(249589139505272), // LHY
UINT64_C(249589139505300), // LLC
UINT64_C(249589139505346), // LLCH
UINT64_C(0),
UINT64_C(3113484288), // LLCR
UINT64_C(0),
UINT64_C(249589139505296), // LLGC
UINT64_C(3112435712), // LLGCR
UINT64_C(249589139505174), // LLGF
UINT64_C(3105226752), // LLGFR
UINT64_C(215564408586240), // LLGFRL
UINT64_C(249589139505297), // LLGH
UINT64_C(3112501248), // LLGHR
UINT64_C(215530048847872), // LLGHRL
UINT64_C(249589139505301), // LLH
UINT64_C(249589139505350), // LLHH
UINT64_C(0),
UINT64_C(3113549824), // LLHR
UINT64_C(215512868978688), // LLHRL
UINT64_C(0),
UINT64_C(211166362075136), // LLIHF
UINT64_C(2769027072), // LLIHH
UINT64_C(2769092608), // LLIHL
UINT64_C(211170657042432), // LLILF
UINT64_C(2769158144), // LLILH
UINT64_C(2769223680), // LLILL
UINT64_C(258385232527364), // LMG
UINT64_C(0),
UINT64_C(3004235776), // LNDBR
UINT64_C(3010527232), // LNDFR
UINT64_C(3010527232), // LNDFR_32
UINT64_C(3003187200), // LNEBR
UINT64_C(3104899072), // LNGFR
UINT64_C(3103850496), // LNGR
UINT64_C(4352), // LNR
UINT64_C(3007381504), // LNXBR
UINT64_C(258385232527602), // LOC
UINT64_C(258385232527586), // LOCG
UINT64_C(3118596096), // LOCGR
UINT64_C(3119644672), // LOCR
UINT64_C(3004170240), // LPDBR
UINT64_C(3010461696), // LPDFR
UINT64_C(3010461696), // LPDFR_32
UINT64_C(3003121664), // LPEBR
UINT64_C(3104833536), // LPGFR
UINT64_C(3103784960), // LPGR
UINT64_C(4096), // LPR
UINT64_C(3007315968), // LPXBR
UINT64_C(6144), // LR
UINT64_C(215560113618944), // LRL
UINT64_C(0),
UINT64_C(249589139505182), // LRV
UINT64_C(249589139505167), // LRVG
UINT64_C(3104768000), // LRVGR
UINT64_C(3105816576), // LRVR
UINT64_C(249589139505170), // LT
UINT64_C(3004301312), // LTDBR
UINT64_C(3004301312), // LTDBRCompare
UINT64_C(0),
UINT64_C(3003252736), // LTEBR
UINT64_C(3003252736), // LTEBRCompare
UINT64_C(0),
UINT64_C(249589139505154), // LTG
UINT64_C(249589139505202), // LTGF
UINT64_C(3104964608), // LTGFR
UINT64_C(3103916032), // LTGR
UINT64_C(4608), // LTR
UINT64_C(3007447040), // LTXBR
UINT64_C(3007447040), // LTXBRCompare
UINT64_C(0),
UINT64_C(0),
UINT64_C(260584255782917), // LXDB
UINT64_C(3003449344), // LXDBR
UINT64_C(260584255782918), // LXEB
UINT64_C(3003514880), // LXEBR
UINT64_C(3009740800), // LXR
UINT64_C(249589139505240), // LY
UINT64_C(3010789376), // LZDR
UINT64_C(3010723840), // LZER
UINT64_C(3010854912), // LZXR
UINT64_C(260584255782942), // MADB
UINT64_C(3005087744), // MADBR
UINT64_C(260584255782926), // MAEB
UINT64_C(3004039168), // MAEBR
UINT64_C(260584255782940), // MDB
UINT64_C(3004956672), // MDBR
UINT64_C(260584255782924), // MDEB
UINT64_C(3003908096), // MDEBR
UINT64_C(260584255782935), // MEEB
UINT64_C(3004628992), // MEEBR
UINT64_C(2802647040), // MGHI
UINT64_C(1275068416), // MH
UINT64_C(2802581504), // MHI
UINT64_C(249589139505276), // MHY
UINT64_C(249589139505286), // MLG
UINT64_C(3112566784), // MLGR
UINT64_C(1895825408), // MS
UINT64_C(260584255782943), // MSDB
UINT64_C(3005153280), // MSDBR
UINT64_C(260584255782927), // MSEB
UINT64_C(3004104704), // MSEBR
UINT64_C(213309550755840), // MSFI
UINT64_C(249589139505164), // MSG
UINT64_C(249589139505180), // MSGF
UINT64_C(213305255788544), // MSGFI
UINT64_C(3105619968), // MSGFR
UINT64_C(3104571392), // MSGR
UINT64_C(2991718400), // MSR
UINT64_C(249589139505233), // MSY
UINT64_C(230897441832960), // MVC
UINT64_C(0),
UINT64_C(0),
UINT64_C(252097400406016), // MVGHI
UINT64_C(252080220536832), // MVHHI
UINT64_C(252114580275200), // MVHI
UINT64_C(2449473536), // MVI
UINT64_C(258385232527442), // MVIY
UINT64_C(2991915008), // MVST
UINT64_C(0),
UINT64_C(3008102400), // MXBR
UINT64_C(260584255782919), // MXDB
UINT64_C(3003580416), // MXDBR
UINT64_C(1409286144), // N
UINT64_C(233096465088512), // NC
UINT64_C(0),
UINT64_C(0),
UINT64_C(249589139505280), // NG
UINT64_C(3112173568), // NGR
UINT64_C(3118727168), // NGRK
UINT64_C(2483027968), // NI
UINT64_C(0),
UINT64_C(211149182205952), // NIHF
UINT64_C(0),
UINT64_C(2768502784), // NIHH
UINT64_C(0),
UINT64_C(2768568320), // NIHL
UINT64_C(0),
UINT64_C(0),
UINT64_C(211153477173248), // NILF
UINT64_C(0),
UINT64_C(2768633856), // NILH
UINT64_C(0),
UINT64_C(2768699392), // NILL
UINT64_C(0),
UINT64_C(0),
UINT64_C(258385232527444), // NIY
UINT64_C(5120), // NR
UINT64_C(3119775744), // NRK
UINT64_C(249589139505189), // NTSTG
UINT64_C(249589139505236), // NY
UINT64_C(1442840576), // O
UINT64_C(235295488344064), // OC
UINT64_C(0),
UINT64_C(0),
UINT64_C(249589139505281), // OG
UINT64_C(3112239104), // OGR
UINT64_C(3118858240), // OGRK
UINT64_C(2516582400), // OI
UINT64_C(0),
UINT64_C(211157772140544), // OIHF
UINT64_C(0),
UINT64_C(2768764928), // OIHH
UINT64_C(0),
UINT64_C(2768830464), // OIHL
UINT64_C(0),
UINT64_C(0),
UINT64_C(211162067107840), // OILF
UINT64_C(0),
UINT64_C(2768896000), // OILH
UINT64_C(0),
UINT64_C(2768961536), // OILL
UINT64_C(0),
UINT64_C(0),
UINT64_C(258385232527446), // OIY
UINT64_C(5632), // OR
UINT64_C(3119906816), // ORK
UINT64_C(249589139505238), // OY
UINT64_C(249589139505206), // PFD
UINT64_C(217711892234240), // PFDRL
UINT64_C(3118530560), // POPCNT
UINT64_C(3001548800), // PPA
UINT64_C(259484744155221), // RISBG
UINT64_C(259484744155221), // RISBG32
UINT64_C(259484744155225), // RISBGN
UINT64_C(259484744155229), // RISBHG
UINT64_C(0),
UINT64_C(0),
UINT64_C(259484744155217), // RISBLG
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(258385232527389), // RLL
UINT64_C(258385232527388), // RLLG
UINT64_C(259484744155220), // RNSBG
UINT64_C(259484744155222), // ROSBG
UINT64_C(259484744155223), // RXSBG
UINT64_C(0),
UINT64_C(1526726656), // S
UINT64_C(260584255782939), // SDB
UINT64_C(3004891136), // SDBR
UINT64_C(260584255782923), // SEB
UINT64_C(3003842560), // SEBR
UINT64_C(249589139505161), // SG
UINT64_C(249589139505177), // SGF
UINT64_C(3105423360), // SGFR
UINT64_C(3104374784), // SGR
UINT64_C(3119054848), // SGRK
UINT64_C(1258291200), // SH
UINT64_C(249589139505275), // SHY
UINT64_C(1593835520), // SL
UINT64_C(249589139505305), // SLB
UINT64_C(249589139505289), // SLBG
UINT64_C(3112763392), // SLBGR
UINT64_C(3113811968), // SLBR
UINT64_C(213326730625024), // SLFI
UINT64_C(249589139505163), // SLG
UINT64_C(249589139505179), // SLGF
UINT64_C(213322435657728), // SLGFI
UINT64_C(3105554432), // SLGFR
UINT64_C(3104505856), // SLGR
UINT64_C(3119185920), // SLGRK
UINT64_C(2298478592), // SLL
UINT64_C(258385232527373), // SLLG
UINT64_C(258385232527583), // SLLK
UINT64_C(7936), // SLR
UINT64_C(3120234496), // SLRK
UINT64_C(249589139505247), // SLY
UINT64_C(260584255782933), // SQDB
UINT64_C(3004497920), // SQDBR
UINT64_C(260584255782932), // SQEB
UINT64_C(3004432384), // SQEBR
UINT64_C(3004563456), // SQXBR
UINT64_C(6912), // SR
UINT64_C(2315255808), // SRA
UINT64_C(258385232527370), // SRAG
UINT64_C(258385232527580), // SRAK
UINT64_C(3120103424), // SRK
UINT64_C(2281701376), // SRL
UINT64_C(258385232527372), // SRLG
UINT64_C(258385232527582), // SRLK
UINT64_C(2992504832), // SRST
UINT64_C(0),
UINT64_C(1342177280), // ST
UINT64_C(0),
UINT64_C(1107296256), // STC
UINT64_C(249589139505347), // STCH
UINT64_C(2986672128), // STCK
UINT64_C(2994208768), // STCKE
UINT64_C(2994470912), // STCKF
UINT64_C(0),
UINT64_C(249589139505266), // STCY
UINT64_C(1610612736), // STD
UINT64_C(260584255783015), // STDY
UINT64_C(1879048192), // STE
UINT64_C(260584255783014), // STEY
UINT64_C(249589139505355), // STFH
UINT64_C(2997878784), // STFLE
UINT64_C(249589139505188), // STG
UINT64_C(215551523684352), // STGRL
UINT64_C(1073741824), // STH
UINT64_C(249589139505351), // STHH
UINT64_C(0),
UINT64_C(215534343815168), // STHRL
UINT64_C(249589139505264), // STHY
UINT64_C(258385232527396), // STMG
UINT64_C(0),
UINT64_C(258385232527603), // STOC
UINT64_C(258385232527587), // STOCG
UINT64_C(215568703553536), // STRL
UINT64_C(249589139505214), // STRV
UINT64_C(249589139505199), // STRVG
UINT64_C(0),
UINT64_C(249589139505232), // STY
UINT64_C(3008036864), // SXBR
UINT64_C(249589139505243), // SY
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(0),
UINT64_C(3002859520), // TABORT
UINT64_C(252200479621120), // TBEGIN
UINT64_C(252204774588416), // TBEGINC
UINT64_C(0),
UINT64_C(3002597376), // TEND
UINT64_C(0),
UINT64_C(0),
UINT64_C(2432696320), // TM
UINT64_C(2801926144), // TMHH
UINT64_C(0),
UINT64_C(2801991680), // TMHL
UINT64_C(0),
UINT64_C(0),
UINT64_C(2801795072), // TMLH
UINT64_C(0),
UINT64_C(2801860608), // TMLL
UINT64_C(0),
UINT64_C(0),
UINT64_C(258385232527441), // TMY
UINT64_C(253987186016499), // VAB
UINT64_C(253987186016497), // VACCB
UINT64_C(253987253125305), // VACCCQ
UINT64_C(253987186024689), // VACCF
UINT64_C(253987186028785), // VACCG
UINT64_C(253987186020593), // VACCH
UINT64_C(253987186032881), // VACCQ
UINT64_C(253987253125307), // VACQ
UINT64_C(253987186024691), // VAF
UINT64_C(253987186028787), // VAG
UINT64_C(253987186020595), // VAH
UINT64_C(253987186032883), // VAQ
UINT64_C(253987186016498), // VAVGB
UINT64_C(253987186024690), // VAVGF
UINT64_C(253987186028786), // VAVGG
UINT64_C(253987186020594), // VAVGH
UINT64_C(253987186016496), // VAVGLB
UINT64_C(253987186024688), // VAVGLF
UINT64_C(253987186028784), // VAVGLG
UINT64_C(253987186020592), // VAVGLH
UINT64_C(253987186028739), // VCDGB
UINT64_C(253987186028737), // VCDLGB
UINT64_C(253987186016504), // VCEQB
UINT64_C(253987187065080), // VCEQBS
UINT64_C(253987186024696), // VCEQF
UINT64_C(253987187073272), // VCEQFS
UINT64_C(253987186028792), // VCEQG
UINT64_C(253987187077368), // VCEQGS
UINT64_C(253987186020600), // VCEQH
UINT64_C(253987187069176), // VCEQHS
UINT64_C(253987186028738), // VCGDB
UINT64_C(253987186016507), // VCHB
UINT64_C(253987187065083), // VCHBS
UINT64_C(253987186024699), // VCHF
UINT64_C(253987187073275), // VCHFS
UINT64_C(253987186028795), // VCHG
UINT64_C(253987187077371), // VCHGS
UINT64_C(253987186020603), // VCHH
UINT64_C(253987187069179), // VCHHS
UINT64_C(253987186016505), // VCHLB
UINT64_C(253987187065081), // VCHLBS
UINT64_C(253987186024697), // VCHLF
UINT64_C(253987187073273), // VCHLFS
UINT64_C(253987186028793), // VCHLG
UINT64_C(253987187077369), // VCHLGS
UINT64_C(253987186020601), // VCHLH
UINT64_C(253987187069177), // VCHLHS
UINT64_C(253987186016358), // VCKSM
UINT64_C(253987186028736), // VCLGDB
UINT64_C(253987186016339), // VCLZB
UINT64_C(253987186024531), // VCLZF
UINT64_C(253987186028627), // VCLZG
UINT64_C(253987186020435), // VCLZH
UINT64_C(253987186016338), // VCTZB
UINT64_C(253987186024530), // VCTZF
UINT64_C(253987186028626), // VCTZG
UINT64_C(253987186020434), // VCTZH
UINT64_C(253987186016475), // VECB
UINT64_C(253987186024667), // VECF
UINT64_C(253987186028763), // VECG
UINT64_C(253987186020571), // VECH
UINT64_C(253987186016473), // VECLB
UINT64_C(253987186024665), // VECLF
UINT64_C(253987186028761), // VECLG
UINT64_C(253987186020569), // VECLH
UINT64_C(253987186016370), // VERIMB
UINT64_C(253987186024562), // VERIMF
UINT64_C(253987186028658), // VERIMG
UINT64_C(253987186020466), // VERIMH
UINT64_C(253987186016307), // VERLLB
UINT64_C(253987186024499), // VERLLF
UINT64_C(253987186028595), // VERLLG
UINT64_C(253987186020403), // VERLLH
UINT64_C(253987186016371), // VERLLVB
UINT64_C(253987186024563), // VERLLVF
UINT64_C(253987186028659), // VERLLVG
UINT64_C(253987186020467), // VERLLVH
UINT64_C(253987186016304), // VESLB
UINT64_C(253987186024496), // VESLF
UINT64_C(253987186028592), // VESLG
UINT64_C(253987186020400), // VESLH
UINT64_C(253987186016368), // VESLVB
UINT64_C(253987186024560), // VESLVF
UINT64_C(253987186028656), // VESLVG
UINT64_C(253987186020464), // VESLVH
UINT64_C(253987186016314), // VESRAB
UINT64_C(253987186024506), // VESRAF
UINT64_C(253987186028602), // VESRAG
UINT64_C(253987186020410), // VESRAH
UINT64_C(253987186016378), // VESRAVB
UINT64_C(253987186024570), // VESRAVF
UINT64_C(253987186028666), // VESRAVG
UINT64_C(253987186020474), // VESRAVH
UINT64_C(253987186016312), // VESRLB
UINT64_C(253987186024504), // VESRLF
UINT64_C(253987186028600), // VESRLG
UINT64_C(253987186020408), // VESRLH
UINT64_C(253987186016376), // VESRLVB
UINT64_C(253987186024568), // VESRLVF
UINT64_C(253987186028664), // VESRLVG
UINT64_C(253987186020472), // VESRLVH
UINT64_C(253987186028771), // VFADB
UINT64_C(253987186016386), // VFAEB
UINT64_C(253987187064962), // VFAEBS
UINT64_C(253987186024578), // VFAEF
UINT64_C(253987187073154), // VFAEFS
UINT64_C(253987186020482), // VFAEH
UINT64_C(253987187069058), // VFAEHS
UINT64_C(253987188113538), // VFAEZB
UINT64_C(253987189162114), // VFAEZBS
UINT64_C(253987188121730), // VFAEZF
UINT64_C(253987189170306), // VFAEZFS
UINT64_C(253987188117634), // VFAEZH
UINT64_C(253987189166210), // VFAEZHS
UINT64_C(253987186028776), // VFCEDB
UINT64_C(253987187077352), // VFCEDBS
UINT64_C(253987186028779), // VFCHDB
UINT64_C(253987187077355), // VFCHDBS
UINT64_C(253987186028778), // VFCHEDB
UINT64_C(253987187077354), // VFCHEDBS
UINT64_C(253987186028773), // VFDDB
UINT64_C(253987186016384), // VFEEB
UINT64_C(253987187064960), // VFEEBS
UINT64_C(253987186024576), // VFEEF
UINT64_C(253987187073152), // VFEEFS
UINT64_C(253987186020480), // VFEEH
UINT64_C(253987187069056), // VFEEHS
UINT64_C(253987188113536), // VFEEZB
UINT64_C(253987189162112), // VFEEZBS
UINT64_C(253987188121728), // VFEEZF
UINT64_C(253987189170304), // VFEEZFS
UINT64_C(253987188117632), // VFEEZH
UINT64_C(253987189166208), // VFEEZHS
UINT64_C(253987186016385), // VFENEB
UINT64_C(253987187064961), // VFENEBS
UINT64_C(253987186024577), // VFENEF
UINT64_C(253987187073153), // VFENEFS
UINT64_C(253987186020481), // VFENEH
UINT64_C(253987187069057), // VFENEHS
UINT64_C(253987188113537), // VFENEZB
UINT64_C(253987189162113), // VFENEZBS
UINT64_C(253987188121729), // VFENEZF
UINT64_C(253987189170305), // VFENEZFS
UINT64_C(253987188117633), // VFENEZH
UINT64_C(253987189166209), // VFENEZHS
UINT64_C(253987186028743), // VFIDB
UINT64_C(253987186028748), // VFLCDB
UINT64_C(253987187077324), // VFLNDB
UINT64_C(253987188125900), // VFLPDB
UINT64_C(253987236348047), // VFMADB
UINT64_C(253987186028775), // VFMDB
UINT64_C(253987236348046), // VFMSDB
UINT64_C(253987186028770), // VFSDB
UINT64_C(253987186028750), // VFSQDB
UINT64_C(253987186028618), // VFTCIDB
UINT64_C(253987186016324), // VGBM
UINT64_C(253987186016275), // VGEF
UINT64_C(253987186016274), // VGEG
UINT64_C(253987186016444), // VGFMAB
UINT64_C(253987219570876), // VGFMAF
UINT64_C(253987236348092), // VGFMAG
UINT64_C(253987202793660), // VGFMAH
UINT64_C(253987186016436), // VGFMB
UINT64_C(253987186024628), // VGFMF
UINT64_C(253987186028724), // VGFMG
UINT64_C(253987186020532), // VGFMH
UINT64_C(253987186016326), // VGMB
UINT64_C(253987186024518), // VGMF
UINT64_C(253987186028614), // VGMG
UINT64_C(253987186020422), // VGMH
UINT64_C(253987186016348), // VISTRB
UINT64_C(253987187064924), // VISTRBS
UINT64_C(253987186024540), // VISTRF
UINT64_C(253987187073116), // VISTRFS
UINT64_C(253987186020444), // VISTRH
UINT64_C(253987187069020), // VISTRHS
UINT64_C(253987186016262), // VL
UINT64_C(0),
UINT64_C(0),
UINT64_C(253987186016263), // VLBB
UINT64_C(253987186016478), // VLCB
UINT64_C(253987186024670), // VLCF
UINT64_C(253987186028766), // VLCG
UINT64_C(253987186020574), // VLCH
UINT64_C(253987186024644), // VLDEB
UINT64_C(253987186016256), // VLEB
UINT64_C(253987186028741), // VLEDB
UINT64_C(253987186016259), // VLEF
UINT64_C(253987186016258), // VLEG
UINT64_C(253987186016257), // VLEH
UINT64_C(253987186016320), // VLEIB
UINT64_C(253987186016323), // VLEIF
UINT64_C(253987186016322), // VLEIG
UINT64_C(253987186016321), // VLEIH
UINT64_C(253987186016289), // VLGVB
UINT64_C(253987186024481), // VLGVF
UINT64_C(253987186028577), // VLGVG
UINT64_C(253987186020385), // VLGVH
UINT64_C(253987186016311), // VLL
UINT64_C(253987186016260), // VLLEZB
UINT64_C(253987186024452), // VLLEZF
UINT64_C(253987186028548), // VLLEZG
UINT64_C(253987186020356), // VLLEZH
UINT64_C(253987186016310), // VLM
UINT64_C(253987186016479), // VLPB
UINT64_C(253987186024671), // VLPF
UINT64_C(253987186028767), // VLPG
UINT64_C(253987186020575), // VLPH
UINT64_C(253987186016342), // VLR
UINT64_C(0),
UINT64_C(0),
UINT64_C(253987186016261), // VLREPB
UINT64_C(253987186024453), // VLREPF
UINT64_C(253987186028549), // VLREPG
UINT64_C(253987186020357), // VLREPH
UINT64_C(253987186016290), // VLVGB
UINT64_C(253987186024482), // VLVGF
UINT64_C(253987186028578), // VLVGG
UINT64_C(253987186020386), // VLVGH
UINT64_C(253987186016354), // VLVGP
UINT64_C(0),
UINT64_C(253987186016430), // VMAEB
UINT64_C(253987219570862), // VMAEF
UINT64_C(253987202793646), // VMAEH
UINT64_C(253987186016427), // VMAHB
UINT64_C(253987219570859), // VMAHF
UINT64_C(253987202793643), // VMAHH
UINT64_C(253987186016426), // VMALB
UINT64_C(253987186016428), // VMALEB
UINT64_C(253987219570860), // VMALEF
UINT64_C(253987202793644), // VMALEH
UINT64_C(253987219570858), // VMALF
UINT64_C(253987186016425), // VMALHB
UINT64_C(253987219570857), // VMALHF
UINT64_C(253987202793641), // VMALHH
UINT64_C(253987202793642), // VMALHW
UINT64_C(253987186016429), // VMALOB
UINT64_C(253987219570861), // VMALOF
UINT64_C(253987202793645), // VMALOH
UINT64_C(253987186016431), // VMAOB
UINT64_C(253987219570863), // VMAOF
UINT64_C(253987202793647), // VMAOH
UINT64_C(253987186016422), // VMEB
UINT64_C(253987186024614), // VMEF
UINT64_C(253987186020518), // VMEH
UINT64_C(253987186016419), // VMHB
UINT64_C(253987186024611), // VMHF
UINT64_C(253987186020515), // VMHH
UINT64_C(253987186016418), // VMLB
UINT64_C(253987186016420), // VMLEB
UINT64_C(253987186024612), // VMLEF
UINT64_C(253987186020516), // VMLEH
UINT64_C(253987186024610), // VMLF
UINT64_C(253987186016417), // VMLHB
UINT64_C(253987186024609), // VMLHF
UINT64_C(253987186020513), // VMLHH
UINT64_C(253987186020514), // VMLHW
UINT64_C(253987186016421), // VMLOB
UINT64_C(253987186024613), // VMLOF
UINT64_C(253987186020517), // VMLOH
UINT64_C(253987186016510), // VMNB
UINT64_C(253987186024702), // VMNF
UINT64_C(253987186028798), // VMNG
UINT64_C(253987186020606), // VMNH
UINT64_C(253987186016508), // VMNLB
UINT64_C(253987186024700), // VMNLF
UINT64_C(253987186028796), // VMNLG
UINT64_C(253987186020604), // VMNLH
UINT64_C(253987186016423), // VMOB
UINT64_C(253987186024615), // VMOF
UINT64_C(253987186020519), // VMOH
UINT64_C(253987186016353), // VMRHB
UINT64_C(253987186024545), // VMRHF
UINT64_C(253987186028641), // VMRHG
UINT64_C(253987186020449), // VMRHH
UINT64_C(253987186016352), // VMRLB
UINT64_C(253987186024544), // VMRLF
UINT64_C(253987186028640), // VMRLG
UINT64_C(253987186020448), // VMRLH
UINT64_C(253987186016511), // VMXB
UINT64_C(253987186024703), // VMXF
UINT64_C(253987186028799), // VMXG
UINT64_C(253987186020607), // VMXH
UINT64_C(253987186016509), // VMXLB
UINT64_C(253987186024701), // VMXLF
UINT64_C(253987186028797), // VMXLG
UINT64_C(253987186020605), // VMXLH
UINT64_C(253987186016360), // VN
UINT64_C(253987186016361), // VNC
UINT64_C(253987186016363), // VNO
UINT64_C(253987186016362), // VO
UINT64_C(253991480918084), // VONE
UINT64_C(253987186016388), // VPDI
UINT64_C(253987186016396), // VPERM
UINT64_C(253987186024596), // VPKF
UINT64_C(253987186028692), // VPKG
UINT64_C(253987186020500), // VPKH
UINT64_C(253987186024597), // VPKLSF
UINT64_C(253987187073173), // VPKLSFS
UINT64_C(253987186028693), // VPKLSG
UINT64_C(253987187077269), // VPKLSGS
UINT64_C(253987186020501), // VPKLSH
UINT64_C(253987187069077), // VPKLSHS
UINT64_C(253987186024599), // VPKSF
UINT64_C(253987187073175), // VPKSFS
UINT64_C(253987186028695), // VPKSG
UINT64_C(253987187077271), // VPKSGS
UINT64_C(253987186020503), // VPKSH
UINT64_C(253987187069079), // VPKSHS
UINT64_C(253987186016336), // VPOPCT
UINT64_C(253987186016333), // VREPB
UINT64_C(253987186024525), // VREPF
UINT64_C(253987186028621), // VREPG
UINT64_C(253987186020429), // VREPH
UINT64_C(253987186016325), // VREPIB
UINT64_C(253987186024517), // VREPIF
UINT64_C(253987186028613), // VREPIG
UINT64_C(253987186020421), // VREPIH
UINT64_C(253987186016503), // VSB
UINT64_C(253987253125309), // VSBCBIQ
UINT64_C(253987253125311), // VSBIQ
UINT64_C(253987186016501), // VSCBIB
UINT64_C(253987186024693), // VSCBIF
UINT64_C(253987186028789), // VSCBIG
UINT64_C(253987186020597), // VSCBIH
UINT64_C(253987186032885), // VSCBIQ
UINT64_C(253987186016283), // VSCEF
UINT64_C(253987186016282), // VSCEG
UINT64_C(253987186016351), // VSEGB
UINT64_C(253987186024543), // VSEGF
UINT64_C(253987186020447), // VSEGH
UINT64_C(253987186016397), // VSEL
UINT64_C(253987186024695), // VSF
UINT64_C(253987186028791), // VSG
UINT64_C(253987186020599), // VSH
UINT64_C(253987186016372), // VSL
UINT64_C(253987186016373), // VSLB
UINT64_C(253987186016375), // VSLDB
UINT64_C(253987186032887), // VSQ
UINT64_C(253987186016382), // VSRA
UINT64_C(253987186016383), // VSRAB
UINT64_C(253987186016380), // VSRL
UINT64_C(253987186016381), // VSRLB
UINT64_C(253987186016270), // VST
UINT64_C(0),
UINT64_C(0),
UINT64_C(253987186016264), // VSTEB
UINT64_C(253987186016267), // VSTEF
UINT64_C(253987186016266), // VSTEG
UINT64_C(253987186016265), // VSTEH
UINT64_C(253987186016319), // VSTL
UINT64_C(253987186016318), // VSTM
UINT64_C(253987186016394), // VSTRCB
UINT64_C(253987187064970), // VSTRCBS
UINT64_C(253987219570826), // VSTRCF
UINT64_C(253987220619402), // VSTRCFS
UINT64_C(253987202793610), // VSTRCH
UINT64_C(253987203842186), // VSTRCHS
UINT64_C(253987188113546), // VSTRCZB
UINT64_C(253987189162122), // VSTRCZBS
UINT64_C(253987221667978), // VSTRCZF
UINT64_C(253987222716554), // VSTRCZFS
UINT64_C(253987204890762), // VSTRCZH
UINT64_C(253987205939338), // VSTRCZHS
UINT64_C(253987186016356), // VSUMB
UINT64_C(253987186024549), // VSUMGF
UINT64_C(253987186020453), // VSUMGH
UINT64_C(253987186020452), // VSUMH
UINT64_C(253987186024551), // VSUMQF
UINT64_C(253987186028647), // VSUMQG
UINT64_C(253987186016472), // VTM
UINT64_C(253987186016471), // VUPHB
UINT64_C(253987186024663), // VUPHF
UINT64_C(253987186020567), // VUPHH
UINT64_C(253987186016470), // VUPLB
UINT64_C(253987186024662), // VUPLF
UINT64_C(253987186016469), // VUPLHB
UINT64_C(253987186024661), // VUPLHF
UINT64_C(253987186020565), // VUPLHH
UINT64_C(253987186020566), // VUPLHW
UINT64_C(253987186016468), // VUPLLB
UINT64_C(253987186024660), // VUPLLF
UINT64_C(253987186020564), // VUPLLH
UINT64_C(253987186016365), // VX
UINT64_C(253987186016324), // VZERO
UINT64_C(253987186553027), // WCDGB
UINT64_C(253987186553025), // WCDLGB
UINT64_C(253987186553026), // WCGDB
UINT64_C(253987186553024), // WCLGDB
UINT64_C(253987186553059), // WFADB
UINT64_C(253987186028747), // WFCDB
UINT64_C(253987186553064), // WFCEDB
UINT64_C(253987187601640), // WFCEDBS
UINT64_C(253987186553067), // WFCHDB
UINT64_C(253987187601643), // WFCHDBS
UINT64_C(253987186553066), // WFCHEDB
UINT64_C(253987187601642), // WFCHEDBS
UINT64_C(253987186553061), // WFDDB
UINT64_C(253987186553031), // WFIDB
UINT64_C(253987186028746), // WFKDB
UINT64_C(253987186553036), // WFLCDB
UINT64_C(253987187601612), // WFLNDB
UINT64_C(253987188650188), // WFLPDB
UINT64_C(253987236872335), // WFMADB
UINT64_C(253987186553063), // WFMDB
UINT64_C(253987236872334), // WFMSDB
UINT64_C(253987186553058), // WFSDB
UINT64_C(253987186553038), // WFSQDB
UINT64_C(253987186552906), // WFTCIDB
UINT64_C(253987186548932), // WLDEB
UINT64_C(253987186553029), // WLEDB
UINT64_C(1459617792), // X
UINT64_C(236394999971840), // XC
UINT64_C(0),
UINT64_C(0),
UINT64_C(249589139505282), // XG
UINT64_C(3112304640), // XGR
UINT64_C(3118923776), // XGRK
UINT64_C(2533359616), // XI
UINT64_C(0),
UINT64_C(211132002336768), // XIHF
UINT64_C(0),
UINT64_C(211136297304064), // XILF
UINT64_C(0),
UINT64_C(258385232527447), // XIY
UINT64_C(5888), // XR
UINT64_C(3119972352), // XRK
UINT64_C(249589139505239), // XY
UINT64_C(0),
UINT64_C(0),
UINT64_C(0)
};
const unsigned opcode = MI.getOpcode();
uint64_t Value = InstBits[opcode];
uint64_t op = 0;
(void)op; // suppress warning
switch (opcode) {
case SystemZ::TEND: {
break;
}
case SystemZ::CGHSI:
case SystemZ::CHHSI:
case SystemZ::CHSI:
case SystemZ::CLFHSI:
case SystemZ::CLGHSI:
case SystemZ::CLHHSI:
case SystemZ::MVGHI:
case SystemZ::MVHHI:
case SystemZ::MVHI:
case SystemZ::TBEGIN:
case SystemZ::TBEGINC: {
// op: BD1
op = getBDAddr12Encoding(MI, 0, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::CLI:
case SystemZ::MVI:
case SystemZ::NI:
case SystemZ::OI:
case SystemZ::TM:
case SystemZ::XI: {
// op: BD1
op = getBDAddr12Encoding(MI, 0, Fixups, STI);
Value |= op & UINT64_C(65535);
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(255)) << 16;
break;
}
case SystemZ::AGSI:
case SystemZ::ASI:
case SystemZ::CLIY:
case SystemZ::MVIY:
case SystemZ::NIY:
case SystemZ::OIY:
case SystemZ::TMY:
case SystemZ::XIY: {
// op: BD1
op = getBDAddr20Encoding(MI, 0, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(255)) << 32;
break;
}
case SystemZ::STCK:
case SystemZ::STCKE:
case SystemZ::STCKF:
case SystemZ::STFLE:
case SystemZ::TABORT: {
// op: BD2
op = getBDAddr12Encoding(MI, 0, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::CLC:
case SystemZ::MVC:
case SystemZ::NC:
case SystemZ::OC:
case SystemZ::XC: {
// op: BDL1
op = getBDLAddr12Len8Encoding(MI, 0, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 16;
// op: BD2
op = getBDAddr12Encoding(MI, 3, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::AsmEJ:
case SystemZ::AsmHEJ:
case SystemZ::AsmHJ:
case SystemZ::AsmLEJ:
case SystemZ::AsmLHJ:
case SystemZ::AsmLJ:
case SystemZ::AsmNEJ:
case SystemZ::AsmNHEJ:
case SystemZ::AsmNHJ:
case SystemZ::AsmNLEJ:
case SystemZ::AsmNLHJ:
case SystemZ::AsmNLJ:
case SystemZ::AsmNOJ:
case SystemZ::AsmOJ:
case SystemZ::J: {
// op: I2
op = getPC16DBLEncoding(MI, 0, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::AsmEJG:
case SystemZ::AsmHEJG:
case SystemZ::AsmHJG:
case SystemZ::AsmLEJG:
case SystemZ::AsmLHJG:
case SystemZ::AsmLJG:
case SystemZ::AsmNEJG:
case SystemZ::AsmNHEJG:
case SystemZ::AsmNHJG:
case SystemZ::AsmNLEJG:
case SystemZ::AsmNLHJG:
case SystemZ::AsmNLJG:
case SystemZ::AsmNOJG:
case SystemZ::AsmOJG:
case SystemZ::JG: {
// op: I2
op = getPC32DBLEncoding(MI, 0, Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::MADB:
case SystemZ::MAEB:
case SystemZ::MSDB:
case SystemZ::MSEB: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr12Encoding(MI, 3, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
break;
}
case SystemZ::MADBR:
case SystemZ::MAEBR:
case SystemZ::MSDBR:
case SystemZ::MSEBR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= op & UINT64_C(15);
break;
}
case SystemZ::SLL:
case SystemZ::SRA:
case SystemZ::SRL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: BD2
op = getBDAddr12Encoding(MI, 2, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::CGHI:
case SystemZ::CHI:
case SystemZ::LGHI:
case SystemZ::LHI:
case SystemZ::LLIHH:
case SystemZ::LLIHL:
case SystemZ::LLILH:
case SystemZ::LLILL:
case SystemZ::TMHH:
case SystemZ::TMHL:
case SystemZ::TMLH:
case SystemZ::TMLL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::AGHI:
case SystemZ::AHI:
case SystemZ::IIHH:
case SystemZ::IIHL:
case SystemZ::IILH:
case SystemZ::IILL:
case SystemZ::MGHI:
case SystemZ::MHI:
case SystemZ::NIHH:
case SystemZ::NIHL:
case SystemZ::NILH:
case SystemZ::NILL:
case SystemZ::OIHH:
case SystemZ::OIHL:
case SystemZ::OILH:
case SystemZ::OILL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::AsmBRC: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getPC16DBLEncoding(MI, 1, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::BRCT:
case SystemZ::BRCTG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getPC16DBLEncoding(MI, 2, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::BRAS: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getPC16DBLTLSEncoding(MI, 1, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::CS: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 16;
// op: BD2
op = getBDAddr12Encoding(MI, 3, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::C:
case SystemZ::CH:
case SystemZ::CL:
case SystemZ::L:
case SystemZ::LA:
case SystemZ::LD:
case SystemZ::LE:
case SystemZ::LH:
case SystemZ::ST:
case SystemZ::STC:
case SystemZ::STD:
case SystemZ::STE:
case SystemZ::STH: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: XBD2
op = getBDXAddr12Encoding(MI, 1, Fixups, STI);
Value |= op & UINT64_C(1048575);
break;
}
case SystemZ::A:
case SystemZ::AH:
case SystemZ::AL:
case SystemZ::IC:
case SystemZ::IC32:
case SystemZ::MH:
case SystemZ::MS:
case SystemZ::N:
case SystemZ::O:
case SystemZ::S:
case SystemZ::SH:
case SystemZ::SL:
case SystemZ::X: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: XBD2
op = getBDXAddr12Encoding(MI, 2, Fixups, STI);
Value |= op & UINT64_C(1048575);
break;
}
case SystemZ::VLGVB:
case SystemZ::VLGVF:
case SystemZ::VLGVG:
case SystemZ::VLGVH: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: BD2
op = getBDAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
break;
}
case SystemZ::AsmESTOC:
case SystemZ::AsmESTOCG:
case SystemZ::AsmHESTOC:
case SystemZ::AsmHESTOCG:
case SystemZ::AsmHSTOC:
case SystemZ::AsmHSTOCG:
case SystemZ::AsmLESTOC:
case SystemZ::AsmLESTOCG:
case SystemZ::AsmLHSTOC:
case SystemZ::AsmLHSTOCG:
case SystemZ::AsmLSTOC:
case SystemZ::AsmLSTOCG:
case SystemZ::AsmNESTOC:
case SystemZ::AsmNESTOCG:
case SystemZ::AsmNHESTOC:
case SystemZ::AsmNHESTOCG:
case SystemZ::AsmNHSTOC:
case SystemZ::AsmNHSTOCG:
case SystemZ::AsmNLESTOC:
case SystemZ::AsmNLESTOCG:
case SystemZ::AsmNLHSTOC:
case SystemZ::AsmNLHSTOCG:
case SystemZ::AsmNLSTOC:
case SystemZ::AsmNLSTOCG:
case SystemZ::AsmNOSTOC:
case SystemZ::AsmNOSTOCG:
case SystemZ::AsmOSTOC:
case SystemZ::AsmOSTOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: BD2
op = getBDAddr20Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::AsmELOC:
case SystemZ::AsmELOCG:
case SystemZ::AsmHELOC:
case SystemZ::AsmHELOCG:
case SystemZ::AsmHLOC:
case SystemZ::AsmHLOCG:
case SystemZ::AsmLELOC:
case SystemZ::AsmLELOCG:
case SystemZ::AsmLHLOC:
case SystemZ::AsmLHLOCG:
case SystemZ::AsmLLOC:
case SystemZ::AsmLLOCG:
case SystemZ::AsmNELOC:
case SystemZ::AsmNELOCG:
case SystemZ::AsmNHELOC:
case SystemZ::AsmNHELOCG:
case SystemZ::AsmNHLOC:
case SystemZ::AsmNHLOCG:
case SystemZ::AsmNLELOC:
case SystemZ::AsmNLELOCG:
case SystemZ::AsmNLHLOC:
case SystemZ::AsmNLHLOCG:
case SystemZ::AsmNLLOC:
case SystemZ::AsmNLLOCG:
case SystemZ::AsmNOLOC:
case SystemZ::AsmNOLOCG:
case SystemZ::AsmOLOC:
case SystemZ::AsmOLOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: BD2
op = getBDAddr20Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::AsmCGIJ:
case SystemZ::AsmCIJ:
case SystemZ::AsmCLGIJ:
case SystemZ::AsmCLIJ:
case SystemZ::CGIJ:
case SystemZ::CIJ:
case SystemZ::CLGIJ:
case SystemZ::CLIJ: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(255)) << 8;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: RI4
op = getPC16DBLEncoding(MI, 3, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::AsmJEAltCGI:
case SystemZ::AsmJEAltCI:
case SystemZ::AsmJEAltCLGI:
case SystemZ::AsmJEAltCLI:
case SystemZ::AsmJECGI:
case SystemZ::AsmJECI:
case SystemZ::AsmJECLGI:
case SystemZ::AsmJECLI:
case SystemZ::AsmJHAltCGI:
case SystemZ::AsmJHAltCI:
case SystemZ::AsmJHAltCLGI:
case SystemZ::AsmJHAltCLI:
case SystemZ::AsmJHCGI:
case SystemZ::AsmJHCI:
case SystemZ::AsmJHCLGI:
case SystemZ::AsmJHCLI:
case SystemZ::AsmJHEAltCGI:
case SystemZ::AsmJHEAltCI:
case SystemZ::AsmJHEAltCLGI:
case SystemZ::AsmJHEAltCLI:
case SystemZ::AsmJHECGI:
case SystemZ::AsmJHECI:
case SystemZ::AsmJHECLGI:
case SystemZ::AsmJHECLI:
case SystemZ::AsmJLAltCGI:
case SystemZ::AsmJLAltCI:
case SystemZ::AsmJLAltCLGI:
case SystemZ::AsmJLAltCLI:
case SystemZ::AsmJLCGI:
case SystemZ::AsmJLCI:
case SystemZ::AsmJLCLGI:
case SystemZ::AsmJLCLI:
case SystemZ::AsmJLEAltCGI:
case SystemZ::AsmJLEAltCI:
case SystemZ::AsmJLEAltCLGI:
case SystemZ::AsmJLEAltCLI:
case SystemZ::AsmJLECGI:
case SystemZ::AsmJLECI:
case SystemZ::AsmJLECLGI:
case SystemZ::AsmJLECLI:
case SystemZ::AsmJLHAltCGI:
case SystemZ::AsmJLHAltCI:
case SystemZ::AsmJLHAltCLGI:
case SystemZ::AsmJLHAltCLI:
case SystemZ::AsmJLHCGI:
case SystemZ::AsmJLHCI:
case SystemZ::AsmJLHCLGI:
case SystemZ::AsmJLHCLI: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(255)) << 8;
// op: RI4
op = getPC16DBLEncoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::CFI:
case SystemZ::CGFI:
case SystemZ::CIH:
case SystemZ::CLFI:
case SystemZ::CLGFI:
case SystemZ::CLIH:
case SystemZ::IIHF:
case SystemZ::IILF:
case SystemZ::LGFI:
case SystemZ::LLIHF:
case SystemZ::LLILF: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::AFI:
case SystemZ::AGFI:
case SystemZ::AIH:
case SystemZ::ALFI:
case SystemZ::ALGFI:
case SystemZ::MSFI:
case SystemZ::MSGFI:
case SystemZ::NIHF:
case SystemZ::NILF:
case SystemZ::OIHF:
case SystemZ::OILF:
case SystemZ::SLFI:
case SystemZ::SLGFI:
case SystemZ::XIHF:
case SystemZ::XILF: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::AsmBRCL:
case SystemZ::CGFRL:
case SystemZ::CGHRL:
case SystemZ::CGRL:
case SystemZ::CHRL:
case SystemZ::CLGFRL:
case SystemZ::CLGHRL:
case SystemZ::CLGRL:
case SystemZ::CLHRL:
case SystemZ::CLRL:
case SystemZ::CRL:
case SystemZ::LARL:
case SystemZ::LGFRL:
case SystemZ::LGHRL:
case SystemZ::LGRL:
case SystemZ::LHRL:
case SystemZ::LLGFRL:
case SystemZ::LLGHRL:
case SystemZ::LLHRL:
case SystemZ::LRL:
case SystemZ::PFDRL:
case SystemZ::STGRL:
case SystemZ::STHRL:
case SystemZ::STRL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getPC32DBLEncoding(MI, 1, Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::BRASL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getPC32DBLTLSEncoding(MI, 1, Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::AsmCGRJ:
case SystemZ::AsmCLGRJ:
case SystemZ::AsmCLRJ:
case SystemZ::AsmCRJ:
case SystemZ::CGRJ:
case SystemZ::CLGRJ:
case SystemZ::CLRJ:
case SystemZ::CRJ: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
// op: RI4
op = getPC16DBLEncoding(MI, 3, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::AsmJEAltCGR:
case SystemZ::AsmJEAltCLGR:
case SystemZ::AsmJEAltCLR:
case SystemZ::AsmJEAltCR:
case SystemZ::AsmJECGR:
case SystemZ::AsmJECLGR:
case SystemZ::AsmJECLR:
case SystemZ::AsmJECR:
case SystemZ::AsmJHAltCGR:
case SystemZ::AsmJHAltCLGR:
case SystemZ::AsmJHAltCLR:
case SystemZ::AsmJHAltCR:
case SystemZ::AsmJHCGR:
case SystemZ::AsmJHCLGR:
case SystemZ::AsmJHCLR:
case SystemZ::AsmJHCR:
case SystemZ::AsmJHEAltCGR:
case SystemZ::AsmJHEAltCLGR:
case SystemZ::AsmJHEAltCLR:
case SystemZ::AsmJHEAltCR:
case SystemZ::AsmJHECGR:
case SystemZ::AsmJHECLGR:
case SystemZ::AsmJHECLR:
case SystemZ::AsmJHECR:
case SystemZ::AsmJLAltCGR:
case SystemZ::AsmJLAltCLGR:
case SystemZ::AsmJLAltCLR:
case SystemZ::AsmJLAltCR:
case SystemZ::AsmJLCGR:
case SystemZ::AsmJLCLGR:
case SystemZ::AsmJLCLR:
case SystemZ::AsmJLCR:
case SystemZ::AsmJLEAltCGR:
case SystemZ::AsmJLEAltCLGR:
case SystemZ::AsmJLEAltCLR:
case SystemZ::AsmJLEAltCR:
case SystemZ::AsmJLECGR:
case SystemZ::AsmJLECLGR:
case SystemZ::AsmJLECLR:
case SystemZ::AsmJLECR:
case SystemZ::AsmJLHAltCGR:
case SystemZ::AsmJLHAltCLGR:
case SystemZ::AsmJLHAltCLR:
case SystemZ::AsmJLHAltCR:
case SystemZ::AsmJLHCGR:
case SystemZ::AsmJLHCLGR:
case SystemZ::AsmJLHCLR:
case SystemZ::AsmJLHCR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: RI4
op = getPC16DBLEncoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::RISBG:
case SystemZ::RISBG32:
case SystemZ::RISBGN:
case SystemZ::RISBHG:
case SystemZ::RISBLG:
case SystemZ::RNSBG:
case SystemZ::ROSBG:
case SystemZ::RXSBG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: I3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(255)) << 24;
// op: I4
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(255)) << 16;
// op: I5
op = getMachineOpValue(MI, MI.getOperand(5), Fixups, STI);
Value |= (op & UINT64_C(255)) << 8;
break;
}
case SystemZ::LAA:
case SystemZ::LAAG:
case SystemZ::LAAL:
case SystemZ::LAALG:
case SystemZ::LAN:
case SystemZ::LANG:
case SystemZ::LAO:
case SystemZ::LAOG:
case SystemZ::LAX:
case SystemZ::LAXG:
case SystemZ::LMG:
case SystemZ::RLL:
case SystemZ::RLLG:
case SystemZ::SLLG:
case SystemZ::SLLK:
case SystemZ::SRAG:
case SystemZ::SRAK:
case SystemZ::SRLG:
case SystemZ::SRLK:
case SystemZ::STMG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::AGHIK:
case SystemZ::AHIK:
case SystemZ::ALGHSIK:
case SystemZ::ALHSIK: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::CSG:
case SystemZ::CSY: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 3, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::AsmSTOC:
case SystemZ::AsmSTOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::STOC:
case SystemZ::STOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::AsmLOC:
case SystemZ::AsmLOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::LOC:
case SystemZ::LOCG: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(5), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: BD2
op = getBDAddr20Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(16777215)) << 8;
break;
}
case SystemZ::CDB:
case SystemZ::CEB:
case SystemZ::LDE32:
case SystemZ::LDEB:
case SystemZ::LXDB:
case SystemZ::LXEB:
case SystemZ::SQDB:
case SystemZ::SQEB: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr12Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
break;
}
case SystemZ::LCBB: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr12Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::ADB:
case SystemZ::AEB:
case SystemZ::DDB:
case SystemZ::DEB:
case SystemZ::MDB:
case SystemZ::MDEB:
case SystemZ::MEEB:
case SystemZ::MXDB:
case SystemZ::SDB:
case SystemZ::SEB: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
break;
}
case SystemZ::CG:
case SystemZ::CGF:
case SystemZ::CGH:
case SystemZ::CHF:
case SystemZ::CHY:
case SystemZ::CLG:
case SystemZ::CLGF:
case SystemZ::CLHF:
case SystemZ::CLY:
case SystemZ::CY:
case SystemZ::LAY:
case SystemZ::LB:
case SystemZ::LBH:
case SystemZ::LDY:
case SystemZ::LEY:
case SystemZ::LFH:
case SystemZ::LG:
case SystemZ::LGB:
case SystemZ::LGF:
case SystemZ::LGH:
case SystemZ::LHH:
case SystemZ::LHY:
case SystemZ::LLC:
case SystemZ::LLCH:
case SystemZ::LLGC:
case SystemZ::LLGF:
case SystemZ::LLGH:
case SystemZ::LLH:
case SystemZ::LLHH:
case SystemZ::LRV:
case SystemZ::LRVG:
case SystemZ::LT:
case SystemZ::LTG:
case SystemZ::LTGF:
case SystemZ::LY:
case SystemZ::NTSTG:
case SystemZ::PFD:
case SystemZ::STCH:
case SystemZ::STCY:
case SystemZ::STDY:
case SystemZ::STEY:
case SystemZ::STFH:
case SystemZ::STG:
case SystemZ::STHH:
case SystemZ::STHY:
case SystemZ::STRV:
case SystemZ::STRVG:
case SystemZ::STY: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr20Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(268435455)) << 8;
break;
}
case SystemZ::AG:
case SystemZ::AGF:
case SystemZ::AHY:
case SystemZ::ALC:
case SystemZ::ALCG:
case SystemZ::ALG:
case SystemZ::ALGF:
case SystemZ::ALY:
case SystemZ::AY:
case SystemZ::DL:
case SystemZ::DLG:
case SystemZ::DSG:
case SystemZ::DSGF:
case SystemZ::IC32Y:
case SystemZ::ICY:
case SystemZ::MHY:
case SystemZ::MLG:
case SystemZ::MSG:
case SystemZ::MSGF:
case SystemZ::MSY:
case SystemZ::NG:
case SystemZ::NY:
case SystemZ::OG:
case SystemZ::OY:
case SystemZ::SG:
case SystemZ::SGF:
case SystemZ::SHY:
case SystemZ::SLB:
case SystemZ::SLBG:
case SystemZ::SLG:
case SystemZ::SLGF:
case SystemZ::SLY:
case SystemZ::SY:
case SystemZ::XG:
case SystemZ::XY: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: XBD2
op = getBDXAddr20Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(268435455)) << 8;
break;
}
case SystemZ::ETND:
case SystemZ::IPM:
case SystemZ::LZDR:
case SystemZ::LZER:
case SystemZ::LZXR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
break;
}
case SystemZ::AsmBCR:
case SystemZ::BASR:
case SystemZ::CDBR:
case SystemZ::CDFBR:
case SystemZ::CDGBR:
case SystemZ::CEBR:
case SystemZ::CEFBR:
case SystemZ::CEGBR:
case SystemZ::CGFR:
case SystemZ::CGR:
case SystemZ::CLGFR:
case SystemZ::CLGR:
case SystemZ::CLR:
case SystemZ::CLST:
case SystemZ::CR:
case SystemZ::CXBR:
case SystemZ::CXFBR:
case SystemZ::CXGBR:
case SystemZ::EAR:
case SystemZ::FLOGR:
case SystemZ::LBR:
case SystemZ::LCDBR:
case SystemZ::LCDFR:
case SystemZ::LCDFR_32:
case SystemZ::LCEBR:
case SystemZ::LCGFR:
case SystemZ::LCGR:
case SystemZ::LCR:
case SystemZ::LCXBR:
case SystemZ::LDEBR:
case SystemZ::LDGR:
case SystemZ::LDR:
case SystemZ::LDXBR:
case SystemZ::LEDBR:
case SystemZ::LER:
case SystemZ::LEXBR:
case SystemZ::LGBR:
case SystemZ::LGDR:
case SystemZ::LGFR:
case SystemZ::LGHR:
case SystemZ::LGR:
case SystemZ::LHR:
case SystemZ::LLCR:
case SystemZ::LLGCR:
case SystemZ::LLGFR:
case SystemZ::LLGHR:
case SystemZ::LLHR:
case SystemZ::LNDBR:
case SystemZ::LNDFR:
case SystemZ::LNDFR_32:
case SystemZ::LNEBR:
case SystemZ::LNGFR:
case SystemZ::LNGR:
case SystemZ::LNR:
case SystemZ::LNXBR:
case SystemZ::LPDBR:
case SystemZ::LPDFR:
case SystemZ::LPDFR_32:
case SystemZ::LPEBR:
case SystemZ::LPGFR:
case SystemZ::LPGR:
case SystemZ::LPR:
case SystemZ::LPXBR:
case SystemZ::LR:
case SystemZ::LRVGR:
case SystemZ::LRVR:
case SystemZ::LTDBR:
case SystemZ::LTDBRCompare:
case SystemZ::LTEBR:
case SystemZ::LTEBRCompare:
case SystemZ::LTGFR:
case SystemZ::LTGR:
case SystemZ::LTR:
case SystemZ::LTXBR:
case SystemZ::LTXBRCompare:
case SystemZ::LXDBR:
case SystemZ::LXEBR:
case SystemZ::LXR:
case SystemZ::MVST:
case SystemZ::POPCNT:
case SystemZ::SQDBR:
case SystemZ::SQEBR:
case SystemZ::SQXBR:
case SystemZ::SRST: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= op & UINT64_C(15);
break;
}
case SystemZ::AGRK:
case SystemZ::ALGRK:
case SystemZ::ALRK:
case SystemZ::ARK:
case SystemZ::NGRK:
case SystemZ::NRK:
case SystemZ::OGRK:
case SystemZ::ORK:
case SystemZ::PPA:
case SystemZ::SGRK:
case SystemZ::SLGRK:
case SystemZ::SLRK:
case SystemZ::SRK:
case SystemZ::XGRK:
case SystemZ::XRK: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= op & UINT64_C(15);
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::LOCGR:
case SystemZ::LOCR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= op & UINT64_C(15);
// op: R3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::ADBR:
case SystemZ::AEBR:
case SystemZ::AGFR:
case SystemZ::AGR:
case SystemZ::ALCGR:
case SystemZ::ALCR:
case SystemZ::ALGFR:
case SystemZ::ALGR:
case SystemZ::ALR:
case SystemZ::AR:
case SystemZ::AXBR:
case SystemZ::AsmELOCGR:
case SystemZ::AsmELOCR:
case SystemZ::AsmHELOCGR:
case SystemZ::AsmHELOCR:
case SystemZ::AsmHLOCGR:
case SystemZ::AsmHLOCR:
case SystemZ::AsmLELOCGR:
case SystemZ::AsmLELOCR:
case SystemZ::AsmLHLOCGR:
case SystemZ::AsmLHLOCR:
case SystemZ::AsmLLOCGR:
case SystemZ::AsmLLOCR:
case SystemZ::AsmNELOCGR:
case SystemZ::AsmNELOCR:
case SystemZ::AsmNHELOCGR:
case SystemZ::AsmNHELOCR:
case SystemZ::AsmNHLOCGR:
case SystemZ::AsmNHLOCR:
case SystemZ::AsmNLELOCGR:
case SystemZ::AsmNLELOCR:
case SystemZ::AsmNLHLOCGR:
case SystemZ::AsmNLHLOCR:
case SystemZ::AsmNLLOCGR:
case SystemZ::AsmNLLOCR:
case SystemZ::AsmNOLOCGR:
case SystemZ::AsmNOLOCR:
case SystemZ::AsmOLOCGR:
case SystemZ::AsmOLOCR:
case SystemZ::DDBR:
case SystemZ::DEBR:
case SystemZ::DLGR:
case SystemZ::DLR:
case SystemZ::DSGFR:
case SystemZ::DSGR:
case SystemZ::DXBR:
case SystemZ::MDBR:
case SystemZ::MDEBR:
case SystemZ::MEEBR:
case SystemZ::MLGR:
case SystemZ::MSGFR:
case SystemZ::MSGR:
case SystemZ::MSR:
case SystemZ::MXBR:
case SystemZ::MXDBR:
case SystemZ::NGR:
case SystemZ::NR:
case SystemZ::OGR:
case SystemZ::OR:
case SystemZ::SDBR:
case SystemZ::SEBR:
case SystemZ::SGFR:
case SystemZ::SGR:
case SystemZ::SLBGR:
case SystemZ::SLBR:
case SystemZ::SLGFR:
case SystemZ::SLGR:
case SystemZ::SLR:
case SystemZ::SR:
case SystemZ::SXBR:
case SystemZ::XGR:
case SystemZ::XR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(15);
break;
}
case SystemZ::CFDBR:
case SystemZ::CFEBR:
case SystemZ::CFXBR:
case SystemZ::CGDBR:
case SystemZ::CGEBR:
case SystemZ::CGXBR:
case SystemZ::CPSDRdd:
case SystemZ::CPSDRds:
case SystemZ::CPSDRsd:
case SystemZ::CPSDRss:
case SystemZ::FIDBR:
case SystemZ::FIEBR:
case SystemZ::FIXBR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(15);
// op: R3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::CDLFBR:
case SystemZ::CDLGBR:
case SystemZ::CELFBR:
case SystemZ::CELGBR:
case SystemZ::CLFDBR:
case SystemZ::CLFEBR:
case SystemZ::CLFXBR:
case SystemZ::CLGDBR:
case SystemZ::CLGEBR:
case SystemZ::CLGXBR:
case SystemZ::CXLFBR:
case SystemZ::CXLGBR:
case SystemZ::FIDBRA:
case SystemZ::FIEBRA:
case SystemZ::FIXBRA:
case SystemZ::LDXBRA:
case SystemZ::LEDBRA:
case SystemZ::LEXBRA: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(15);
// op: R3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
// op: R4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 8;
break;
}
case SystemZ::AsmLOCGR:
case SystemZ::AsmLOCR: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 4;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= op & UINT64_C(15);
// op: R3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::BRC: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
// op: I2
op = getPC16DBLEncoding(MI, 2, Fixups, STI);
Value |= op & UINT64_C(65535);
break;
}
case SystemZ::BRCL: {
// op: R1
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
// op: I2
op = getPC32DBLEncoding(MI, 2, Fixups, STI);
Value |= op & UINT64_C(4294967295);
break;
}
case SystemZ::AsmEBR:
case SystemZ::AsmHBR:
case SystemZ::AsmHEBR:
case SystemZ::AsmLBR:
case SystemZ::AsmLEBR:
case SystemZ::AsmLHBR:
case SystemZ::AsmNEBR:
case SystemZ::AsmNHBR:
case SystemZ::AsmNHEBR:
case SystemZ::AsmNLBR:
case SystemZ::AsmNLEBR:
case SystemZ::AsmNLHBR:
case SystemZ::AsmNOBR:
case SystemZ::AsmOBR:
case SystemZ::BR: {
// op: R2
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= op & UINT64_C(15);
break;
}
case SystemZ::VONE:
case SystemZ::VZERO: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
break;
}
case SystemZ::VLL:
case SystemZ::VSTL: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: BD2
op = getBDAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
break;
}
case SystemZ::VERLLB:
case SystemZ::VERLLF:
case SystemZ::VERLLG:
case SystemZ::VERLLH:
case SystemZ::VESLB:
case SystemZ::VESLF:
case SystemZ::VESLG:
case SystemZ::VESLH:
case SystemZ::VESRAB:
case SystemZ::VESRAF:
case SystemZ::VESRAG:
case SystemZ::VESRAH:
case SystemZ::VESRLB:
case SystemZ::VESRLF:
case SystemZ::VESRLG:
case SystemZ::VESRLH:
case SystemZ::VLM:
case SystemZ::VSTM: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: BD2
op = getBDAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
break;
}
case SystemZ::VLVGB:
case SystemZ::VLVGF:
case SystemZ::VLVGG:
case SystemZ::VLVGH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: BD2
op = getBDAddr12Encoding(MI, 3, Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
break;
}
case SystemZ::VGMB:
case SystemZ::VGMF:
case SystemZ::VGMG:
case SystemZ::VGMH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(255)) << 24;
// op: I3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(255)) << 16;
break;
}
case SystemZ::VGBM:
case SystemZ::VREPIB:
case SystemZ::VREPIF:
case SystemZ::VREPIG:
case SystemZ::VREPIH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::VLEIB:
case SystemZ::VLEIF:
case SystemZ::VLEIG:
case SystemZ::VLEIH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VLVGP: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: R2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
// op: R3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
break;
}
case SystemZ::VCLZB:
case SystemZ::VCLZF:
case SystemZ::VCLZG:
case SystemZ::VCLZH:
case SystemZ::VCTZB:
case SystemZ::VCTZF:
case SystemZ::VCTZG:
case SystemZ::VCTZH:
case SystemZ::VECB:
case SystemZ::VECF:
case SystemZ::VECG:
case SystemZ::VECH:
case SystemZ::VECLB:
case SystemZ::VECLF:
case SystemZ::VECLG:
case SystemZ::VECLH:
case SystemZ::VFLCDB:
case SystemZ::VFLNDB:
case SystemZ::VFLPDB:
case SystemZ::VFSQDB:
case SystemZ::VISTRB:
case SystemZ::VISTRBS:
case SystemZ::VISTRF:
case SystemZ::VISTRFS:
case SystemZ::VISTRH:
case SystemZ::VISTRHS:
case SystemZ::VLCB:
case SystemZ::VLCF:
case SystemZ::VLCG:
case SystemZ::VLCH:
case SystemZ::VLDEB:
case SystemZ::VLPB:
case SystemZ::VLPF:
case SystemZ::VLPG:
case SystemZ::VLPH:
case SystemZ::VLR:
case SystemZ::VSEGB:
case SystemZ::VSEGF:
case SystemZ::VSEGH:
case SystemZ::VTM:
case SystemZ::VUPHB:
case SystemZ::VUPHF:
case SystemZ::VUPHH:
case SystemZ::VUPLB:
case SystemZ::VUPLF:
case SystemZ::VUPLHB:
case SystemZ::VUPLHF:
case SystemZ::VUPLHH:
case SystemZ::VUPLHW:
case SystemZ::VUPLLB:
case SystemZ::VUPLLF:
case SystemZ::VUPLLH:
case SystemZ::WFCDB:
case SystemZ::WFKDB:
case SystemZ::WFLCDB:
case SystemZ::WFLNDB:
case SystemZ::WFLPDB:
case SystemZ::WFSQDB:
case SystemZ::WLDEB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
break;
}
case SystemZ::VFTCIDB:
case SystemZ::WFTCIDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: I3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(4095)) << 20;
break;
}
case SystemZ::VPOPCT: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VCDGB:
case SystemZ::VCDLGB:
case SystemZ::VCGDB:
case SystemZ::VCLGDB:
case SystemZ::VFIDB:
case SystemZ::VLEDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: M4
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 16;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
break;
}
case SystemZ::WCDGB:
case SystemZ::WCDLGB:
case SystemZ::WCGDB:
case SystemZ::WCLGDB:
case SystemZ::WFIDB:
case SystemZ::WLEDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: M4
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(7)) << 16;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
break;
}
case SystemZ::VAB:
case SystemZ::VACCB:
case SystemZ::VACCF:
case SystemZ::VACCG:
case SystemZ::VACCH:
case SystemZ::VACCQ:
case SystemZ::VAF:
case SystemZ::VAG:
case SystemZ::VAH:
case SystemZ::VAQ:
case SystemZ::VAVGB:
case SystemZ::VAVGF:
case SystemZ::VAVGG:
case SystemZ::VAVGH:
case SystemZ::VAVGLB:
case SystemZ::VAVGLF:
case SystemZ::VAVGLG:
case SystemZ::VAVGLH:
case SystemZ::VCEQB:
case SystemZ::VCEQBS:
case SystemZ::VCEQF:
case SystemZ::VCEQFS:
case SystemZ::VCEQG:
case SystemZ::VCEQGS:
case SystemZ::VCEQH:
case SystemZ::VCEQHS:
case SystemZ::VCHB:
case SystemZ::VCHBS:
case SystemZ::VCHF:
case SystemZ::VCHFS:
case SystemZ::VCHG:
case SystemZ::VCHGS:
case SystemZ::VCHH:
case SystemZ::VCHHS:
case SystemZ::VCHLB:
case SystemZ::VCHLBS:
case SystemZ::VCHLF:
case SystemZ::VCHLFS:
case SystemZ::VCHLG:
case SystemZ::VCHLGS:
case SystemZ::VCHLH:
case SystemZ::VCHLHS:
case SystemZ::VCKSM:
case SystemZ::VERLLVB:
case SystemZ::VERLLVF:
case SystemZ::VERLLVG:
case SystemZ::VERLLVH:
case SystemZ::VESLVB:
case SystemZ::VESLVF:
case SystemZ::VESLVG:
case SystemZ::VESLVH:
case SystemZ::VESRAVB:
case SystemZ::VESRAVF:
case SystemZ::VESRAVG:
case SystemZ::VESRAVH:
case SystemZ::VESRLVB:
case SystemZ::VESRLVF:
case SystemZ::VESRLVG:
case SystemZ::VESRLVH:
case SystemZ::VFADB:
case SystemZ::VFCEDB:
case SystemZ::VFCEDBS:
case SystemZ::VFCHDB:
case SystemZ::VFCHDBS:
case SystemZ::VFCHEDB:
case SystemZ::VFCHEDBS:
case SystemZ::VFDDB:
case SystemZ::VFEEB:
case SystemZ::VFEEBS:
case SystemZ::VFEEF:
case SystemZ::VFEEFS:
case SystemZ::VFEEH:
case SystemZ::VFEEHS:
case SystemZ::VFEEZB:
case SystemZ::VFEEZBS:
case SystemZ::VFEEZF:
case SystemZ::VFEEZFS:
case SystemZ::VFEEZH:
case SystemZ::VFEEZHS:
case SystemZ::VFENEB:
case SystemZ::VFENEBS:
case SystemZ::VFENEF:
case SystemZ::VFENEFS:
case SystemZ::VFENEH:
case SystemZ::VFENEHS:
case SystemZ::VFENEZB:
case SystemZ::VFENEZBS:
case SystemZ::VFENEZF:
case SystemZ::VFENEZFS:
case SystemZ::VFENEZH:
case SystemZ::VFENEZHS:
case SystemZ::VFMDB:
case SystemZ::VFSDB:
case SystemZ::VGFMB:
case SystemZ::VGFMF:
case SystemZ::VGFMG:
case SystemZ::VGFMH:
case SystemZ::VMEB:
case SystemZ::VMEF:
case SystemZ::VMEH:
case SystemZ::VMHB:
case SystemZ::VMHF:
case SystemZ::VMHH:
case SystemZ::VMLB:
case SystemZ::VMLEB:
case SystemZ::VMLEF:
case SystemZ::VMLEH:
case SystemZ::VMLF:
case SystemZ::VMLHB:
case SystemZ::VMLHF:
case SystemZ::VMLHH:
case SystemZ::VMLHW:
case SystemZ::VMLOB:
case SystemZ::VMLOF:
case SystemZ::VMLOH:
case SystemZ::VMNB:
case SystemZ::VMNF:
case SystemZ::VMNG:
case SystemZ::VMNH:
case SystemZ::VMNLB:
case SystemZ::VMNLF:
case SystemZ::VMNLG:
case SystemZ::VMNLH:
case SystemZ::VMOB:
case SystemZ::VMOF:
case SystemZ::VMOH:
case SystemZ::VMRHB:
case SystemZ::VMRHF:
case SystemZ::VMRHG:
case SystemZ::VMRHH:
case SystemZ::VMRLB:
case SystemZ::VMRLF:
case SystemZ::VMRLG:
case SystemZ::VMRLH:
case SystemZ::VMXB:
case SystemZ::VMXF:
case SystemZ::VMXG:
case SystemZ::VMXH:
case SystemZ::VMXLB:
case SystemZ::VMXLF:
case SystemZ::VMXLG:
case SystemZ::VMXLH:
case SystemZ::VN:
case SystemZ::VNC:
case SystemZ::VNO:
case SystemZ::VO:
case SystemZ::VPKF:
case SystemZ::VPKG:
case SystemZ::VPKH:
case SystemZ::VPKLSF:
case SystemZ::VPKLSFS:
case SystemZ::VPKLSG:
case SystemZ::VPKLSGS:
case SystemZ::VPKLSH:
case SystemZ::VPKLSHS:
case SystemZ::VPKSF:
case SystemZ::VPKSFS:
case SystemZ::VPKSG:
case SystemZ::VPKSGS:
case SystemZ::VPKSH:
case SystemZ::VPKSHS:
case SystemZ::VSB:
case SystemZ::VSCBIB:
case SystemZ::VSCBIF:
case SystemZ::VSCBIG:
case SystemZ::VSCBIH:
case SystemZ::VSCBIQ:
case SystemZ::VSF:
case SystemZ::VSG:
case SystemZ::VSH:
case SystemZ::VSL:
case SystemZ::VSLB:
case SystemZ::VSQ:
case SystemZ::VSRA:
case SystemZ::VSRAB:
case SystemZ::VSRL:
case SystemZ::VSRLB:
case SystemZ::VSUMB:
case SystemZ::VSUMGF:
case SystemZ::VSUMGH:
case SystemZ::VSUMH:
case SystemZ::VSUMQF:
case SystemZ::VSUMQG:
case SystemZ::VX:
case SystemZ::WFADB:
case SystemZ::WFCEDB:
case SystemZ::WFCEDBS:
case SystemZ::WFCHDB:
case SystemZ::WFCHDBS:
case SystemZ::WFCHEDB:
case SystemZ::WFCHEDBS:
case SystemZ::WFDDB:
case SystemZ::WFMDB:
case SystemZ::WFSDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
break;
}
case SystemZ::VSLDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: I4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(255)) << 16;
break;
}
case SystemZ::VPDI: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: M4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VFAEZBS:
case SystemZ::VFAEZFS:
case SystemZ::VFAEZHS: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(12)) << 20;
break;
}
case SystemZ::VFAEZB:
case SystemZ::VFAEZF:
case SystemZ::VFAEZH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(12)) << 20;
Value |= (op & UINT64_C(1)) << 20;
break;
}
case SystemZ::VFAEBS:
case SystemZ::VFAEFS:
case SystemZ::VFAEHS: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(14)) << 20;
break;
}
case SystemZ::VFAEB:
case SystemZ::VFAEF:
case SystemZ::VFAEH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: M5
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
break;
}
case SystemZ::VACCCQ:
case SystemZ::VACQ:
case SystemZ::VFMADB:
case SystemZ::VFMSDB:
case SystemZ::VGFMAB:
case SystemZ::VGFMAF:
case SystemZ::VGFMAG:
case SystemZ::VGFMAH:
case SystemZ::VMAEB:
case SystemZ::VMAEF:
case SystemZ::VMAEH:
case SystemZ::VMAHB:
case SystemZ::VMAHF:
case SystemZ::VMAHH:
case SystemZ::VMALB:
case SystemZ::VMALEB:
case SystemZ::VMALEF:
case SystemZ::VMALEH:
case SystemZ::VMALF:
case SystemZ::VMALHB:
case SystemZ::VMALHF:
case SystemZ::VMALHH:
case SystemZ::VMALHW:
case SystemZ::VMALOB:
case SystemZ::VMALOF:
case SystemZ::VMALOH:
case SystemZ::VMAOB:
case SystemZ::VMAOF:
case SystemZ::VMAOH:
case SystemZ::VPERM:
case SystemZ::VSBCBIQ:
case SystemZ::VSBIQ:
case SystemZ::VSEL:
case SystemZ::WFMADB:
case SystemZ::WFMSDB: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: V4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
Value |= (op & UINT64_C(16)) << 4;
break;
}
case SystemZ::VSTRCZBS:
case SystemZ::VSTRCZFS:
case SystemZ::VSTRCZHS: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: V4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
Value |= (op & UINT64_C(16)) << 4;
// op: M6
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(12)) << 20;
break;
}
case SystemZ::VSTRCZB:
case SystemZ::VSTRCZF:
case SystemZ::VSTRCZH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: V4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
Value |= (op & UINT64_C(16)) << 4;
// op: M6
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(12)) << 20;
Value |= (op & UINT64_C(1)) << 20;
break;
}
case SystemZ::VSTRCBS:
case SystemZ::VSTRCFS:
case SystemZ::VSTRCHS: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: V4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
Value |= (op & UINT64_C(16)) << 4;
// op: M6
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(14)) << 20;
break;
}
case SystemZ::VSTRCB:
case SystemZ::VSTRCF:
case SystemZ::VSTRCH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: V4
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
Value |= (op & UINT64_C(16)) << 4;
// op: M6
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 20;
break;
}
case SystemZ::VERIMB:
case SystemZ::VERIMF:
case SystemZ::VERIMG:
case SystemZ::VERIMH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
Value |= (op & UINT64_C(15)) << 28;
Value |= (op & UINT64_C(16)) << 5;
// op: I4
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(255)) << 16;
break;
}
case SystemZ::VREPB:
case SystemZ::VREPF:
case SystemZ::VREPG:
case SystemZ::VREPH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: V3
op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
Value |= (op & UINT64_C(15)) << 32;
Value |= (op & UINT64_C(16)) << 6;
// op: I2
op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
Value |= (op & UINT64_C(65535)) << 16;
break;
}
case SystemZ::VSCEF:
case SystemZ::VSCEG: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: VBD2
op = getBDVAddr12Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
Value |= (op & UINT64_C(1048576)) >> 10;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VGEF:
case SystemZ::VGEG: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: VBD2
op = getBDVAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
Value |= (op & UINT64_C(1048576)) >> 10;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(5), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VL:
case SystemZ::VLLEZB:
case SystemZ::VLLEZF:
case SystemZ::VLLEZG:
case SystemZ::VLLEZH:
case SystemZ::VLREPB:
case SystemZ::VLREPF:
case SystemZ::VLREPG:
case SystemZ::VLREPH:
case SystemZ::VST: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: XBD2
op = getBDXAddr12Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
break;
}
case SystemZ::VLBB:
case SystemZ::VSTEB:
case SystemZ::VSTEF:
case SystemZ::VSTEG:
case SystemZ::VSTEH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: XBD2
op = getBDXAddr12Encoding(MI, 1, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
case SystemZ::VLEB:
case SystemZ::VLEF:
case SystemZ::VLEG:
case SystemZ::VLEH: {
// op: V1
op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
Value |= (op & UINT64_C(15)) << 36;
Value |= (op & UINT64_C(16)) << 7;
// op: XBD2
op = getBDXAddr12Encoding(MI, 2, Fixups, STI);
Value |= (op & UINT64_C(1048575)) << 16;
// op: M3
op = getMachineOpValue(MI, MI.getOperand(5), Fixups, STI);
Value |= (op & UINT64_C(15)) << 12;
break;
}
default:
std::string msg;
raw_string_ostream Msg(msg);
Msg << "Not supported instr: " << MI;
report_fatal_error(Msg.str());
}
return Value;
}
```
|
Norton is a hamlet on the outskirts of Yarmouth in the Isle of Wight, England. Its population is included in the count of the town of Yarmouth. It is situated in the West of the island and has a coast on the Solent. It is located southeast of Lymington, Hampshire.
Transport
The A3054 road runs through the hamlet on its way towards Norton Green to the south and to Newport to east.
In the nearby Yarmouth, the Vehicle Ferry departs from Yarmouth Pier and goes to Lymington on the mainland.
The hamlet is served by the 7, A, Island Coaster and Needles Breezer buses which go to Newport, Alum Bay and Totland (Route 7), Yarmouth (Needles Breezer), Ryde (Island Coaster) and Freshwater Bay (Route A).
References
Hamlets on the Isle of Wight
|
was a private junior college in Wakayama, Wakayama, Japan. It was established in 1972.
History
1972 Junior College was set up in Gobō, Wakayama.
1986 Campus was moved to Wakayama, Wakayama.
2000 The last year of registration of students.
2002 Junior College was discontinued.
Names of Academic department
English literature
See also
List of junior colleges in Japan
Japanese junior colleges
Universities and colleges in Wakayama Prefecture
|
```html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "path_to_url">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Mon Mar 27 10:01:25 CEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.activiti.engine.delegate.event.ActivitiExceptionEvent (Flowable - Engine 5.23.0 API)</title>
<meta name="date" content="2017-03-27">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.activiti.engine.delegate.event.ActivitiExceptionEvent (Flowable - Engine 5.23.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/activiti/engine/delegate/event/ActivitiExceptionEvent.html" title="interface in org.activiti.engine.delegate.event">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/activiti/engine/delegate/event/class-use/ActivitiExceptionEvent.html" target="_top">Frames</a></li>
<li><a href="ActivitiExceptionEvent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface org.activiti.engine.delegate.event.ActivitiExceptionEvent" class="title">Uses of Interface<br>org.activiti.engine.delegate.event.ActivitiExceptionEvent</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../org/activiti/engine/delegate/event/ActivitiExceptionEvent.html" title="interface in org.activiti.engine.delegate.event">ActivitiExceptionEvent</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.activiti.engine.delegate.event.impl">org.activiti.engine.delegate.event.impl</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.activiti.engine.delegate.event.impl">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../org/activiti/engine/delegate/event/ActivitiExceptionEvent.html" title="interface in org.activiti.engine.delegate.event">ActivitiExceptionEvent</a> in <a href="../../../../../../org/activiti/engine/delegate/event/impl/package-summary.html">org.activiti.engine.delegate.event.impl</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../../org/activiti/engine/delegate/event/impl/package-summary.html">org.activiti.engine.delegate.event.impl</a> that implement <a href="../../../../../../org/activiti/engine/delegate/event/ActivitiExceptionEvent.html" title="interface in org.activiti.engine.delegate.event">ActivitiExceptionEvent</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/activiti/engine/delegate/event/impl/ActivitiEntityExceptionEventImpl.html" title="class in org.activiti.engine.delegate.event.impl">ActivitiEntityExceptionEventImpl</a></span></code>
<div class="block">Base class for all <a href="../../../../../../org/activiti/engine/delegate/event/ActivitiEvent.html" title="interface in org.activiti.engine.delegate.event"><code>ActivitiEvent</code></a> implementations, represents an exception occured, related
to an entity.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../org/activiti/engine/delegate/event/ActivitiExceptionEvent.html" title="interface in org.activiti.engine.delegate.event">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/activiti/engine/delegate/event/class-use/ActivitiExceptionEvent.html" target="_top">Frames</a></li>
<li><a href="ActivitiExceptionEvent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
```
|
Imre Deme (born 3 August 1983, in Zalaegerszeg) is a retired Hungarian football player..
References
External links
Deme Imre (magyar), Hivatásos Labdarúgók Szervezete
Deme Imre, Nemzeti Sport
1983 births
Living people
Sportspeople from Zalaegerszeg
Footballers from Zala County
Hungarian men's footballers
Hungarian expatriate men's footballers
Men's association football midfielders
Hungary men's youth international footballers
Újpest FC players
Marcali VFC footballers
Tatabányai SC players
Ferencvárosi TC footballers
Soproni VSE players
Nemzeti Bajnokság I players
Hungary men's under-21 international footballers
Hungarian expatriate sportspeople in Austria
Expatriate men's footballers in Austria
|
Lars Troell (21 April 1916 – 20 April 1998) was a Swedish physician. Troell began his medical career as an assistant physician and later became a renowned naval surgeon. He played a crucial role in advancing defense healthcare, contributing to research in areas like diving physiology and burn treatment. His international connections elevated the Swedish Navy's healthcare standards, and he introduced innovative war surgical training methods. Troell's work left a lasting impact on medical research and defense healthcare in Sweden. Troell served as the last Surgeon-in-Chief of the Swedish Navy and head of the Swedish Naval Medical Officers' Corps from 1959 to 1969.
Early life
Troell was born on 21 April 1916 in Stockholm, Sweden, the son of professor and his wife Mia (née Gréen). He was the brother of agriculturist . Lars Troell passed studentexamen in 1934. Immediately after studentexamen, Troell began his studies in medicine. Troell received a Bachelor of Medical Sciences degree in Stockholm in 1937 and a Licentiate of Medicine degree in 1941.
Career
Troell worked as an assistant physician (underläkare)at the surgical clinic at Karolinska Hospital in Stockholm from 1941 to 1956. On 25 November 1943, Troell, aboard the destroyer , was involved in the rescue of the crew of the German steamer Casablanca near Bogskär in the Sea of Åland. At the time, Troell was serving as a naval surgeon in the 2nd Destroyer Division (2. jagardivisionen). He was awarded the Medal for Noble Deeds in gold for his actions.
Troell was appointed naval surgeon of the 2nd class in 1944, of the 1st class in 1946. He obtained a Doctor of Medicine degree from the Karolinska Institute in Stockholm in 1947 with the dissertation titled Inhalational therapy of experimentally provoked ileus. He became a docent in surgery at the Karolinska Institute in 1951 and served for an extended period in the burn unit. He was appointed as the 1st naval surgeon in 1953 and served as the last Surgeon-in-Chief of the Swedish Navy and head of the Swedish Naval Medical Officers' Corps from 1959 to 1969. Troell was a member of the 1962 Defence Medical Investigation (1962 års försvarssjukvårdsutredning) for the review of the Swedish defence healthcare management and more. Troell was the chief medical officer of the Naval Staff from 1969 to 1971, the chief medical officer at the Medical Corps Office of the Swedish Armed Forces Medical Board from 1971 to 1976, the chief medical officer at the National Swedish Government Employee Administration Board (Statens personalnämnd) from 1976 to 1979, and a senior physician at the National Swedish Labour Market Council (Statens arbetsmarknadsnämnd) from 1979 to 1981.
Troell played a significant role in post-war defence healthcare, which was in a slump after many competent colleagues had left the field following the end of World War II. With considerable effort, he created resources for research in areas such as diving physiology and burn treatment. Through an extensive international network, he enabled the Swedish Navy to benefit from modern military healthcare experiences. This made the navy a leader in the field within Sweden and gave it an international standing in development. It was also he who, based on experiences from the USA, introduced war surgical training on live experimental animals. This activity created a new research area and a training realism that was groundbreaking. He himself published a large number of works on general surgery, burn treatment, and disaster medical organization.
Personal life
In 1939, Troell married Brita Norén (born 1918), the daughter of the dentist Oskar Norén and Karin (née Larsson). They had one son: Staffan (born 1939). In 1945, he married Anna Bernström (born 1919), the daughter of the merchant Bengt Bernström and Elsa (née Gahm). They had three daughters: Héléne (born 1946), Margareta (born 1949), and Cecilia (born 1950).
Death
Troell died on 20 April 1998 in Arvika, Sweden.
Awards and decorations
Commander of the Order of the Polar Star
Knight of the Order of Vasa
Medal for Noble Deeds in gold (December 1943)
4th Class of the Order of the Cross of Liberty with red cross
Finnish War Commemorative Medal
Honours
Member of the Royal Swedish Society of Naval Sciences (1956)
Member of the Royal Swedish Academy of War Sciences (1959)
Selected biography
References
1916 births
1998 deaths
Swedish surgeons
Swedish military doctors
People from Stockholm
Naval surgeons
Karolinska Institute alumni
Academic staff of the Karolinska Institute
Members of the Royal Swedish Academy of War Sciences
Members of the Royal Swedish Society of Naval Sciences
|
Pierre Truche (1 November 1929 – 21 March 2020) was a French magistrate. He notably prosecuted Klaus Barbie during his trial in 1987.
Biography
Truche began his judicial career as a deputy judge in Dijon. He later worked in Arras and Lyon. He presided over the Club Cinq-Sept fire cases in 1972 and Lyon's false invoices in 1974.
He served as director of studies at the French National School for the Judiciary from 1977 to 1978 before serving on the Court of Appeal of Grenoble until 1982. He then worked as Prosecutor in Marseille, Lyon, and in the Court of Appeal of Paris. From 1992 to 1996, he worked as Prosecutor General at the Court of Cassation, and from 1996 to 1999, he served as President of the court.
Truche was the first President of the Association française pour l'histoire de la justice. He was a member of the Syndicat de la magistrature.
Pierre Truche died of cancer on 21 March 2020 at the age of 90.
Decorations
Grand Cross of the Legion of Honour (2016)
Works
L'Anarchiste et son juge (1994)
Juger, être jugé : le Magistrat face aux autres et à lui-même (2001)
References
1929 births
2020 deaths
20th-century French judges
Court of Cassation (France) judges
Grand Cross of the Legion of Honour
Deaths from cancer in France
Lawyers from Lyon
|
```java
/**
* <p>
*
* path_to_url
*
* </p>
**/
package com.vip.saturn.job.console.service.impl;
import com.vip.saturn.job.console.domain.JobDiffInfo;
import org.assertj.core.util.Lists;
import org.junit.Test;
import java.util.List;
import static org.junit.Assert.*;
public class ZkDBDiffServiceImplTest {
private ZkDBDiffServiceImpl zkDBDiffService = new ZkDBDiffServiceImpl();
@Test
public void diff() {
List<JobDiffInfo.ConfigDiffInfo> diffInfoList = Lists.newArrayList();
// case #1: empty string
zkDBDiffService.diff("ns", "", "", diffInfoList);
assertEquals(0, diffInfoList.size());
diffInfoList.clear();
// case #2: db is not empty but zk is empty
zkDBDiffService.diff("ns", "123", "", diffInfoList);
assertEquals(1, diffInfoList.size());
diffInfoList.clear();
// case #3: db is empty but zk is not empty
zkDBDiffService.diff("ns", "", "123", diffInfoList);
assertEquals(1, diffInfoList.size());
diffInfoList.clear();
// case #4: trim
zkDBDiffService.diff("ns", "123", "123 ", diffInfoList);
assertEquals(0, diffInfoList.size());
diffInfoList.clear();
// case #5: db and zk not equal string
zkDBDiffService.diff("ns", "123", "456", diffInfoList);
assertEquals(1, diffInfoList.size());
diffInfoList.clear();
}
}
```
|
```objective-c
/****************************************************************************
* MeshLab o o *
* An extendible mesh processor o o *
* _ O _ *
* Visual Computing Lab /\/| *
* ISTI - Italian National Research Council | *
* \ *
* All rights reserved. *
* *
* This program is free software; you can redistribute it and/or modify *
* (at your option) any later version. *
* *
* This program 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 *
* for more details. *
* *
****************************************************************************/
#ifndef __IO_MASK_RENDER_WIDGET_INC__
#define __IO_MASK_RENDER_WIDGET_INC__
#include <QWidget>
namespace ui
{
/*! \class maskRenderWidget
\brief A brief description
\author gmatthew
*/
class maskRenderWidget : public QWidget
{
Q_OBJECT
struct Impl;
Impl* pimpl_;
virtual void keyPressEvent(QKeyEvent *);
virtual void mousePressEvent(QMouseEvent *);
virtual void mouseMoveEvent(QMouseEvent *);
virtual void mouseReleaseEvent(QMouseEvent *);
virtual void paintEvent(QPaintEvent *);
public:
/*! \brief Constructor
*/
explicit maskRenderWidget(QWidget *parent = 0);
/*! \brief Constructor
*/
explicit maskRenderWidget(const QImage &, QWidget *parent = 0);
/*! \brief Destructor
*/
virtual ~maskRenderWidget() throw();
#ifndef DOXYGEN_SHOULD_SKIP_THIS
virtual QSize sizeHint() const;
virtual QSize minimumSizeHint() const;
#endif
/*! \brief Set the drawable pen.
\param The pen object.
*/
void setPen(const QPen &pen);
/*! \brief Returns the drawable pen.
\return pen The pen object.
*/
QPen pen() const;
/*! \brief Set the background Image.
\param image The image to be set as the background.
*/
void setImage(const QImage &);
/*! \brief Load the alpha mask.
\param filename The path to the image to be used as the mask.
*/
void load(const QString &filename);
/*! \brief Save the alpha mask.
\param filename The path to the image to be used as the mask.
\param w The width of the image to save to.
\param h The height of the image to save to.
*/
void save(const QString &filename, int w, int h);
/*! \brief Get the alpha mask.
\param w The width of the image to return.
\param h The height of the image to return.
*/
QImage getMask(int w, int h) const;
/*! \brief Set the alpha mask.
\param image The image to be set as the mask.
*/
void setAlphaMask(const QImage &image);
/*! \brief Returns the alpha mask.
\return An qimage object.
*/
QImage alphaMask() const;
public slots:
/*! \brief Undoes the last action and adds the current action to the redo stack and updates the display. If no more actions could be undone, does nothing.
The number of times this can be done is limited only by the resources available.
*/
void undo();
/*! \brief Redoes the last action and adds the current action to the undo stack and updates the display. If no more actions could be redone, does nothing.
The number of times this can be done is limited only by the resources available.
*/
void redo();
/*! \brief Clears the display.
This action is also added to the undo actions.
*/
void clear();
signals:
void pointSelected(const QPoint &);
};
};
#endif
```
|
```go
// Use of this source code is governed by a BSD-style license found in the LICENSE file.
package codec
import (
"io"
"reflect"
// "runtime/debug"
)
// Some tagging information for error messages.
const (
msgTagDec = "codec.decoder"
msgBadDesc = "Unrecognized descriptor byte"
msgDecCannotExpandArr = "cannot expand go array from %v to stream length: %v"
)
// decReader abstracts the reading source, allowing implementations that can
// read from an io.Reader or directly off a byte slice with zero-copying.
type decReader interface {
readn(n int) []byte
readb([]byte)
readn1() uint8
readUint16() uint16
readUint32() uint32
readUint64() uint64
}
type decDriver interface {
initReadNext()
tryDecodeAsNil() bool
currentEncodedType() valueType
isBuiltinType(rt uintptr) bool
decodeBuiltin(rt uintptr, v interface{})
//decodeNaked: Numbers are decoded as int64, uint64, float64 only (no smaller sized number types).
decodeNaked() (v interface{}, vt valueType, decodeFurther bool)
decodeInt(bitsize uint8) (i int64)
decodeUint(bitsize uint8) (ui uint64)
decodeFloat(chkOverflow32 bool) (f float64)
decodeBool() (b bool)
// decodeString can also decode symbols
decodeString() (s string)
decodeBytes(bs []byte) (bsOut []byte, changed bool)
decodeExt(verifyTag bool, tag byte) (xtag byte, xbs []byte)
readMapLen() int
readArrayLen() int
}
type DecodeOptions struct {
// An instance of MapType is used during schema-less decoding of a map in the stream.
// If nil, we use map[interface{}]interface{}
MapType reflect.Type
// An instance of SliceType is used during schema-less decoding of an array in the stream.
// If nil, we use []interface{}
SliceType reflect.Type
// ErrorIfNoField controls whether an error is returned when decoding a map
// from a codec stream into a struct, and no matching struct field is found.
ErrorIfNoField bool
}
// ------------------------------------
// ioDecReader is a decReader that reads off an io.Reader
type ioDecReader struct {
r io.Reader
br io.ByteReader
x [8]byte //temp byte array re-used internally for efficiency
}
func (z *ioDecReader) readn(n int) (bs []byte) {
if n <= 0 {
return
}
bs = make([]byte, n)
if _, err := io.ReadAtLeast(z.r, bs, n); err != nil {
panic(err)
}
return
}
func (z *ioDecReader) readb(bs []byte) {
if _, err := io.ReadAtLeast(z.r, bs, len(bs)); err != nil {
panic(err)
}
}
func (z *ioDecReader) readn1() uint8 {
if z.br != nil {
b, err := z.br.ReadByte()
if err != nil {
panic(err)
}
return b
}
z.readb(z.x[:1])
return z.x[0]
}
func (z *ioDecReader) readUint16() uint16 {
z.readb(z.x[:2])
return bigen.Uint16(z.x[:2])
}
func (z *ioDecReader) readUint32() uint32 {
z.readb(z.x[:4])
return bigen.Uint32(z.x[:4])
}
func (z *ioDecReader) readUint64() uint64 {
z.readb(z.x[:8])
return bigen.Uint64(z.x[:8])
}
// ------------------------------------
// bytesDecReader is a decReader that reads off a byte slice with zero copying
type bytesDecReader struct {
b []byte // data
c int // cursor
a int // available
}
func (z *bytesDecReader) consume(n int) (oldcursor int) {
if z.a == 0 {
panic(io.EOF)
}
if n > z.a {
decErr("Trying to read %v bytes. Only %v available", n, z.a)
}
// z.checkAvailable(n)
oldcursor = z.c
z.c = oldcursor + n
z.a = z.a - n
return
}
func (z *bytesDecReader) readn(n int) (bs []byte) {
if n <= 0 {
return
}
c0 := z.consume(n)
bs = z.b[c0:z.c]
return
}
func (z *bytesDecReader) readb(bs []byte) {
copy(bs, z.readn(len(bs)))
}
func (z *bytesDecReader) readn1() uint8 {
c0 := z.consume(1)
return z.b[c0]
}
// Use binaryEncoding helper for 4 and 8 bits, but inline it for 2 bits
// creating temp slice variable and copying it to helper function is expensive
// for just 2 bits.
func (z *bytesDecReader) readUint16() uint16 {
c0 := z.consume(2)
return uint16(z.b[c0+1]) | uint16(z.b[c0])<<8
}
func (z *bytesDecReader) readUint32() uint32 {
c0 := z.consume(4)
return bigen.Uint32(z.b[c0:z.c])
}
func (z *bytesDecReader) readUint64() uint64 {
c0 := z.consume(8)
return bigen.Uint64(z.b[c0:z.c])
}
// ------------------------------------
// decFnInfo has methods for registering handling decoding of a specific type
// based on some characteristics (builtin, extension, reflect Kind, etc)
type decFnInfo struct {
ti *typeInfo
d *Decoder
dd decDriver
xfFn func(reflect.Value, []byte) error
xfTag byte
array bool
}
func (f *decFnInfo) builtin(rv reflect.Value) {
f.dd.decodeBuiltin(f.ti.rtid, rv.Addr().Interface())
}
func (f *decFnInfo) rawExt(rv reflect.Value) {
xtag, xbs := f.dd.decodeExt(false, 0)
rv.Field(0).SetUint(uint64(xtag))
rv.Field(1).SetBytes(xbs)
}
func (f *decFnInfo) ext(rv reflect.Value) {
_, xbs := f.dd.decodeExt(true, f.xfTag)
if fnerr := f.xfFn(rv, xbs); fnerr != nil {
panic(fnerr)
}
}
func (f *decFnInfo) binaryMarshal(rv reflect.Value) {
var bm binaryUnmarshaler
if f.ti.unmIndir == -1 {
bm = rv.Addr().Interface().(binaryUnmarshaler)
} else if f.ti.unmIndir == 0 {
bm = rv.Interface().(binaryUnmarshaler)
} else {
for j, k := int8(0), f.ti.unmIndir; j < k; j++ {
if rv.IsNil() {
rv.Set(reflect.New(rv.Type().Elem()))
}
rv = rv.Elem()
}
bm = rv.Interface().(binaryUnmarshaler)
}
xbs, _ := f.dd.decodeBytes(nil)
if fnerr := bm.UnmarshalBinary(xbs); fnerr != nil {
panic(fnerr)
}
}
func (f *decFnInfo) kErr(rv reflect.Value) {
decErr("Unhandled value for kind: %v: %s", rv.Kind(), msgBadDesc)
}
func (f *decFnInfo) kString(rv reflect.Value) {
rv.SetString(f.dd.decodeString())
}
func (f *decFnInfo) kBool(rv reflect.Value) {
rv.SetBool(f.dd.decodeBool())
}
func (f *decFnInfo) kInt(rv reflect.Value) {
rv.SetInt(f.dd.decodeInt(intBitsize))
}
func (f *decFnInfo) kInt64(rv reflect.Value) {
rv.SetInt(f.dd.decodeInt(64))
}
func (f *decFnInfo) kInt32(rv reflect.Value) {
rv.SetInt(f.dd.decodeInt(32))
}
func (f *decFnInfo) kInt8(rv reflect.Value) {
rv.SetInt(f.dd.decodeInt(8))
}
func (f *decFnInfo) kInt16(rv reflect.Value) {
rv.SetInt(f.dd.decodeInt(16))
}
func (f *decFnInfo) kFloat32(rv reflect.Value) {
rv.SetFloat(f.dd.decodeFloat(true))
}
func (f *decFnInfo) kFloat64(rv reflect.Value) {
rv.SetFloat(f.dd.decodeFloat(false))
}
func (f *decFnInfo) kUint8(rv reflect.Value) {
rv.SetUint(f.dd.decodeUint(8))
}
func (f *decFnInfo) kUint64(rv reflect.Value) {
rv.SetUint(f.dd.decodeUint(64))
}
func (f *decFnInfo) kUint(rv reflect.Value) {
rv.SetUint(f.dd.decodeUint(uintBitsize))
}
func (f *decFnInfo) kUint32(rv reflect.Value) {
rv.SetUint(f.dd.decodeUint(32))
}
func (f *decFnInfo) kUint16(rv reflect.Value) {
rv.SetUint(f.dd.decodeUint(16))
}
// func (f *decFnInfo) kPtr(rv reflect.Value) {
// debugf(">>>>>>> ??? decode kPtr called - shouldn't get called")
// if rv.IsNil() {
// rv.Set(reflect.New(rv.Type().Elem()))
// }
// f.d.decodeValue(rv.Elem())
// }
func (f *decFnInfo) kInterface(rv reflect.Value) {
// debugf("\t===> kInterface")
if !rv.IsNil() {
f.d.decodeValue(rv.Elem())
return
}
// nil interface:
// use some hieristics to set the nil interface to an
// appropriate value based on the first byte read (byte descriptor bd)
v, vt, decodeFurther := f.dd.decodeNaked()
if vt == valueTypeNil {
return
}
// Cannot decode into nil interface with methods (e.g. error, io.Reader, etc)
// if non-nil value in stream.
if num := f.ti.rt.NumMethod(); num > 0 {
decErr("decodeValue: Cannot decode non-nil codec value into nil %v (%v methods)",
f.ti.rt, num)
}
var rvn reflect.Value
var useRvn bool
switch vt {
case valueTypeMap:
if f.d.h.MapType == nil {
var m2 map[interface{}]interface{}
v = &m2
} else {
rvn = reflect.New(f.d.h.MapType).Elem()
useRvn = true
}
case valueTypeArray:
if f.d.h.SliceType == nil {
var m2 []interface{}
v = &m2
} else {
rvn = reflect.New(f.d.h.SliceType).Elem()
useRvn = true
}
case valueTypeExt:
re := v.(*RawExt)
var bfn func(reflect.Value, []byte) error
rvn, bfn = f.d.h.getDecodeExtForTag(re.Tag)
if bfn == nil {
rvn = reflect.ValueOf(*re)
} else if fnerr := bfn(rvn, re.Data); fnerr != nil {
panic(fnerr)
}
rv.Set(rvn)
return
}
if decodeFurther {
if useRvn {
f.d.decodeValue(rvn)
} else if v != nil {
// this v is a pointer, so we need to dereference it when done
f.d.decode(v)
rvn = reflect.ValueOf(v).Elem()
useRvn = true
}
}
if useRvn {
rv.Set(rvn)
} else if v != nil {
rv.Set(reflect.ValueOf(v))
}
}
func (f *decFnInfo) kStruct(rv reflect.Value) {
fti := f.ti
if currEncodedType := f.dd.currentEncodedType(); currEncodedType == valueTypeMap {
containerLen := f.dd.readMapLen()
if containerLen == 0 {
return
}
tisfi := fti.sfi
for j := 0; j < containerLen; j++ {
// var rvkencname string
// ddecode(&rvkencname)
f.dd.initReadNext()
rvkencname := f.dd.decodeString()
// rvksi := ti.getForEncName(rvkencname)
if k := fti.indexForEncName(rvkencname); k > -1 {
sfik := tisfi[k]
if sfik.i != -1 {
f.d.decodeValue(rv.Field(int(sfik.i)))
} else {
f.d.decEmbeddedField(rv, sfik.is)
}
// f.d.decodeValue(ti.field(k, rv))
} else {
if f.d.h.ErrorIfNoField {
decErr("No matching struct field found when decoding stream map with key: %v",
rvkencname)
} else {
var nilintf0 interface{}
f.d.decodeValue(reflect.ValueOf(&nilintf0).Elem())
}
}
}
} else if currEncodedType == valueTypeArray {
containerLen := f.dd.readArrayLen()
if containerLen == 0 {
return
}
for j, si := range fti.sfip {
if j == containerLen {
break
}
if si.i != -1 {
f.d.decodeValue(rv.Field(int(si.i)))
} else {
f.d.decEmbeddedField(rv, si.is)
}
}
if containerLen > len(fti.sfip) {
// read remaining values and throw away
for j := len(fti.sfip); j < containerLen; j++ {
var nilintf0 interface{}
f.d.decodeValue(reflect.ValueOf(&nilintf0).Elem())
}
}
} else {
decErr("Only encoded map or array can be decoded into a struct. (valueType: %x)",
currEncodedType)
}
}
func (f *decFnInfo) kSlice(rv reflect.Value) {
// A slice can be set from a map or array in stream.
currEncodedType := f.dd.currentEncodedType()
switch currEncodedType {
case valueTypeBytes, valueTypeString:
if f.ti.rtid == uint8SliceTypId || f.ti.rt.Elem().Kind() == reflect.Uint8 {
if bs2, changed2 := f.dd.decodeBytes(rv.Bytes()); changed2 {
rv.SetBytes(bs2)
}
return
}
}
if shortCircuitReflectToFastPath && rv.CanAddr() {
switch f.ti.rtid {
case intfSliceTypId:
f.d.decSliceIntf(rv.Addr().Interface().(*[]interface{}), currEncodedType, f.array)
return
case uint64SliceTypId:
f.d.decSliceUint64(rv.Addr().Interface().(*[]uint64), currEncodedType, f.array)
return
case int64SliceTypId:
f.d.decSliceInt64(rv.Addr().Interface().(*[]int64), currEncodedType, f.array)
return
case strSliceTypId:
f.d.decSliceStr(rv.Addr().Interface().(*[]string), currEncodedType, f.array)
return
}
}
containerLen, containerLenS := decContLens(f.dd, currEncodedType)
// an array can never return a nil slice. so no need to check f.array here.
if rv.IsNil() {
rv.Set(reflect.MakeSlice(f.ti.rt, containerLenS, containerLenS))
}
if containerLen == 0 {
return
}
if rvcap, rvlen := rv.Len(), rv.Cap(); containerLenS > rvcap {
if f.array { // !rv.CanSet()
decErr(msgDecCannotExpandArr, rvcap, containerLenS)
}
rvn := reflect.MakeSlice(f.ti.rt, containerLenS, containerLenS)
if rvlen > 0 {
reflect.Copy(rvn, rv)
}
rv.Set(rvn)
} else if containerLenS > rvlen {
rv.SetLen(containerLenS)
}
for j := 0; j < containerLenS; j++ {
f.d.decodeValue(rv.Index(j))
}
}
func (f *decFnInfo) kArray(rv reflect.Value) {
// f.d.decodeValue(rv.Slice(0, rv.Len()))
f.kSlice(rv.Slice(0, rv.Len()))
}
func (f *decFnInfo) kMap(rv reflect.Value) {
if shortCircuitReflectToFastPath && rv.CanAddr() {
switch f.ti.rtid {
case mapStrIntfTypId:
f.d.decMapStrIntf(rv.Addr().Interface().(*map[string]interface{}))
return
case mapIntfIntfTypId:
f.d.decMapIntfIntf(rv.Addr().Interface().(*map[interface{}]interface{}))
return
case mapInt64IntfTypId:
f.d.decMapInt64Intf(rv.Addr().Interface().(*map[int64]interface{}))
return
case mapUint64IntfTypId:
f.d.decMapUint64Intf(rv.Addr().Interface().(*map[uint64]interface{}))
return
}
}
containerLen := f.dd.readMapLen()
if rv.IsNil() {
rv.Set(reflect.MakeMap(f.ti.rt))
}
if containerLen == 0 {
return
}
ktype, vtype := f.ti.rt.Key(), f.ti.rt.Elem()
ktypeId := reflect.ValueOf(ktype).Pointer()
for j := 0; j < containerLen; j++ {
rvk := reflect.New(ktype).Elem()
f.d.decodeValue(rvk)
// special case if a byte array.
// if ktype == intfTyp {
if ktypeId == intfTypId {
rvk = rvk.Elem()
if rvk.Type() == uint8SliceTyp {
rvk = reflect.ValueOf(string(rvk.Bytes()))
}
}
rvv := rv.MapIndex(rvk)
if !rvv.IsValid() {
rvv = reflect.New(vtype).Elem()
}
f.d.decodeValue(rvv)
rv.SetMapIndex(rvk, rvv)
}
}
// ----------------------------------------
type decFn struct {
i *decFnInfo
f func(*decFnInfo, reflect.Value)
}
// A Decoder reads and decodes an object from an input stream in the codec format.
type Decoder struct {
r decReader
d decDriver
h *BasicHandle
f map[uintptr]decFn
x []uintptr
s []decFn
}
// NewDecoder returns a Decoder for decoding a stream of bytes from an io.Reader.
//
// For efficiency, Users are encouraged to pass in a memory buffered writer
// (eg bufio.Reader, bytes.Buffer).
func NewDecoder(r io.Reader, h Handle) *Decoder {
z := ioDecReader{
r: r,
}
z.br, _ = r.(io.ByteReader)
return &Decoder{r: &z, d: h.newDecDriver(&z), h: h.getBasicHandle()}
}
// NewDecoderBytes returns a Decoder which efficiently decodes directly
// from a byte slice with zero copying.
func NewDecoderBytes(in []byte, h Handle) *Decoder {
z := bytesDecReader{
b: in,
a: len(in),
}
return &Decoder{r: &z, d: h.newDecDriver(&z), h: h.getBasicHandle()}
}
// Decode decodes the stream from reader and stores the result in the
// value pointed to by v. v cannot be a nil pointer. v can also be
// a reflect.Value of a pointer.
//
// Note that a pointer to a nil interface is not a nil pointer.
// If you do not know what type of stream it is, pass in a pointer to a nil interface.
// We will decode and store a value in that nil interface.
//
// Sample usages:
// // Decoding into a non-nil typed value
// var f float32
// err = codec.NewDecoder(r, handle).Decode(&f)
//
// // Decoding into nil interface
// var v interface{}
// dec := codec.NewDecoder(r, handle)
// err = dec.Decode(&v)
//
// When decoding into a nil interface{}, we will decode into an appropriate value based
// on the contents of the stream:
// - Numbers are decoded as float64, int64 or uint64.
// - Other values are decoded appropriately depending on the type:
// bool, string, []byte, time.Time, etc
// - Extensions are decoded as RawExt (if no ext function registered for the tag)
// Configurations exist on the Handle to override defaults
// (e.g. for MapType, SliceType and how to decode raw bytes).
//
// When decoding into a non-nil interface{} value, the mode of encoding is based on the
// type of the value. When a value is seen:
// - If an extension is registered for it, call that extension function
// - If it implements BinaryUnmarshaler, call its UnmarshalBinary(data []byte) error
// - Else decode it based on its reflect.Kind
//
// There are some special rules when decoding into containers (slice/array/map/struct).
// Decode will typically use the stream contents to UPDATE the container.
// - A map can be decoded from a stream map, by updating matching keys.
// - A slice can be decoded from a stream array,
// by updating the first n elements, where n is length of the stream.
// - A slice can be decoded from a stream map, by decoding as if
// it contains a sequence of key-value pairs.
// - A struct can be decoded from a stream map, by updating matching fields.
// - A struct can be decoded from a stream array,
// by updating fields as they occur in the struct (by index).
//
// When decoding a stream map or array with length of 0 into a nil map or slice,
// we reset the destination map or slice to a zero-length value.
//
// However, when decoding a stream nil, we reset the destination container
// to its "zero" value (e.g. nil for slice/map, etc).
//
func (d *Decoder) Decode(v interface{}) (err error) {
defer panicToErr(&err)
d.decode(v)
return
}
func (d *Decoder) decode(iv interface{}) {
d.d.initReadNext()
switch v := iv.(type) {
case nil:
decErr("Cannot decode into nil.")
case reflect.Value:
d.chkPtrValue(v)
d.decodeValue(v.Elem())
case *string:
*v = d.d.decodeString()
case *bool:
*v = d.d.decodeBool()
case *int:
*v = int(d.d.decodeInt(intBitsize))
case *int8:
*v = int8(d.d.decodeInt(8))
case *int16:
*v = int16(d.d.decodeInt(16))
case *int32:
*v = int32(d.d.decodeInt(32))
case *int64:
*v = d.d.decodeInt(64)
case *uint:
*v = uint(d.d.decodeUint(uintBitsize))
case *uint8:
*v = uint8(d.d.decodeUint(8))
case *uint16:
*v = uint16(d.d.decodeUint(16))
case *uint32:
*v = uint32(d.d.decodeUint(32))
case *uint64:
*v = d.d.decodeUint(64)
case *float32:
*v = float32(d.d.decodeFloat(true))
case *float64:
*v = d.d.decodeFloat(false)
case *[]byte:
*v, _ = d.d.decodeBytes(*v)
case *[]interface{}:
d.decSliceIntf(v, valueTypeInvalid, false)
case *[]uint64:
d.decSliceUint64(v, valueTypeInvalid, false)
case *[]int64:
d.decSliceInt64(v, valueTypeInvalid, false)
case *[]string:
d.decSliceStr(v, valueTypeInvalid, false)
case *map[string]interface{}:
d.decMapStrIntf(v)
case *map[interface{}]interface{}:
d.decMapIntfIntf(v)
case *map[uint64]interface{}:
d.decMapUint64Intf(v)
case *map[int64]interface{}:
d.decMapInt64Intf(v)
case *interface{}:
d.decodeValue(reflect.ValueOf(iv).Elem())
default:
rv := reflect.ValueOf(iv)
d.chkPtrValue(rv)
d.decodeValue(rv.Elem())
}
}
func (d *Decoder) decodeValue(rv reflect.Value) {
d.d.initReadNext()
if d.d.tryDecodeAsNil() {
// If value in stream is nil, set the dereferenced value to its "zero" value (if settable)
if rv.Kind() == reflect.Ptr {
if !rv.IsNil() {
rv.Set(reflect.Zero(rv.Type()))
}
return
}
// for rv.Kind() == reflect.Ptr {
// rv = rv.Elem()
// }
if rv.IsValid() { // rv.CanSet() // always settable, except it's invalid
rv.Set(reflect.Zero(rv.Type()))
}
return
}
// If stream is not containing a nil value, then we can deref to the base
// non-pointer value, and decode into that.
for rv.Kind() == reflect.Ptr {
if rv.IsNil() {
rv.Set(reflect.New(rv.Type().Elem()))
}
rv = rv.Elem()
}
rt := rv.Type()
rtid := reflect.ValueOf(rt).Pointer()
// retrieve or register a focus'ed function for this type
// to eliminate need to do the retrieval multiple times
// if d.f == nil && d.s == nil { debugf("---->Creating new dec f map for type: %v\n", rt) }
var fn decFn
var ok bool
if useMapForCodecCache {
fn, ok = d.f[rtid]
} else {
for i, v := range d.x {
if v == rtid {
fn, ok = d.s[i], true
break
}
}
}
if !ok {
// debugf("\tCreating new dec fn for type: %v\n", rt)
fi := decFnInfo{ti: getTypeInfo(rtid, rt), d: d, dd: d.d}
fn.i = &fi
// An extension can be registered for any type, regardless of the Kind
// (e.g. type BitSet int64, type MyStruct { / * unexported fields * / }, type X []int, etc.
//
// We can't check if it's an extension byte here first, because the user may have
// registered a pointer or non-pointer type, meaning we may have to recurse first
// before matching a mapped type, even though the extension byte is already detected.
//
// NOTE: if decoding into a nil interface{}, we return a non-nil
// value except even if the container registers a length of 0.
if rtid == rawExtTypId {
fn.f = (*decFnInfo).rawExt
} else if d.d.isBuiltinType(rtid) {
fn.f = (*decFnInfo).builtin
} else if xfTag, xfFn := d.h.getDecodeExt(rtid); xfFn != nil {
fi.xfTag, fi.xfFn = xfTag, xfFn
fn.f = (*decFnInfo).ext
} else if supportBinaryMarshal && fi.ti.unm {
fn.f = (*decFnInfo).binaryMarshal
} else {
switch rk := rt.Kind(); rk {
case reflect.String:
fn.f = (*decFnInfo).kString
case reflect.Bool:
fn.f = (*decFnInfo).kBool
case reflect.Int:
fn.f = (*decFnInfo).kInt
case reflect.Int64:
fn.f = (*decFnInfo).kInt64
case reflect.Int32:
fn.f = (*decFnInfo).kInt32
case reflect.Int8:
fn.f = (*decFnInfo).kInt8
case reflect.Int16:
fn.f = (*decFnInfo).kInt16
case reflect.Float32:
fn.f = (*decFnInfo).kFloat32
case reflect.Float64:
fn.f = (*decFnInfo).kFloat64
case reflect.Uint8:
fn.f = (*decFnInfo).kUint8
case reflect.Uint64:
fn.f = (*decFnInfo).kUint64
case reflect.Uint:
fn.f = (*decFnInfo).kUint
case reflect.Uint32:
fn.f = (*decFnInfo).kUint32
case reflect.Uint16:
fn.f = (*decFnInfo).kUint16
// case reflect.Ptr:
// fn.f = (*decFnInfo).kPtr
case reflect.Interface:
fn.f = (*decFnInfo).kInterface
case reflect.Struct:
fn.f = (*decFnInfo).kStruct
case reflect.Slice:
fn.f = (*decFnInfo).kSlice
case reflect.Array:
fi.array = true
fn.f = (*decFnInfo).kArray
case reflect.Map:
fn.f = (*decFnInfo).kMap
default:
fn.f = (*decFnInfo).kErr
}
}
if useMapForCodecCache {
if d.f == nil {
d.f = make(map[uintptr]decFn, 16)
}
d.f[rtid] = fn
} else {
d.s = append(d.s, fn)
d.x = append(d.x, rtid)
}
}
fn.f(fn.i, rv)
return
}
func (d *Decoder) chkPtrValue(rv reflect.Value) {
// We can only decode into a non-nil pointer
if rv.Kind() == reflect.Ptr && !rv.IsNil() {
return
}
if !rv.IsValid() {
decErr("Cannot decode into a zero (ie invalid) reflect.Value")
}
if !rv.CanInterface() {
decErr("Cannot decode into a value without an interface: %v", rv)
}
rvi := rv.Interface()
decErr("Cannot decode into non-pointer or nil pointer. Got: %v, %T, %v",
rv.Kind(), rvi, rvi)
}
func (d *Decoder) decEmbeddedField(rv reflect.Value, index []int) {
// d.decodeValue(rv.FieldByIndex(index))
// nil pointers may be here; so reproduce FieldByIndex logic + enhancements
for _, j := range index {
if rv.Kind() == reflect.Ptr {
if rv.IsNil() {
rv.Set(reflect.New(rv.Type().Elem()))
}
// If a pointer, it must be a pointer to struct (based on typeInfo contract)
rv = rv.Elem()
}
rv = rv.Field(j)
}
d.decodeValue(rv)
}
// --------------------------------------------------
// short circuit functions for common maps and slices
func (d *Decoder) decSliceIntf(v *[]interface{}, currEncodedType valueType, doNotReset bool) {
_, containerLenS := decContLens(d.d, currEncodedType)
s := *v
if s == nil {
s = make([]interface{}, containerLenS, containerLenS)
} else if containerLenS > cap(s) {
if doNotReset {
decErr(msgDecCannotExpandArr, cap(s), containerLenS)
}
s = make([]interface{}, containerLenS, containerLenS)
copy(s, *v)
} else if containerLenS > len(s) {
s = s[:containerLenS]
}
for j := 0; j < containerLenS; j++ {
d.decode(&s[j])
}
*v = s
}
func (d *Decoder) decSliceInt64(v *[]int64, currEncodedType valueType, doNotReset bool) {
_, containerLenS := decContLens(d.d, currEncodedType)
s := *v
if s == nil {
s = make([]int64, containerLenS, containerLenS)
} else if containerLenS > cap(s) {
if doNotReset {
decErr(msgDecCannotExpandArr, cap(s), containerLenS)
}
s = make([]int64, containerLenS, containerLenS)
copy(s, *v)
} else if containerLenS > len(s) {
s = s[:containerLenS]
}
for j := 0; j < containerLenS; j++ {
// d.decode(&s[j])
d.d.initReadNext()
s[j] = d.d.decodeInt(intBitsize)
}
*v = s
}
func (d *Decoder) decSliceUint64(v *[]uint64, currEncodedType valueType, doNotReset bool) {
_, containerLenS := decContLens(d.d, currEncodedType)
s := *v
if s == nil {
s = make([]uint64, containerLenS, containerLenS)
} else if containerLenS > cap(s) {
if doNotReset {
decErr(msgDecCannotExpandArr, cap(s), containerLenS)
}
s = make([]uint64, containerLenS, containerLenS)
copy(s, *v)
} else if containerLenS > len(s) {
s = s[:containerLenS]
}
for j := 0; j < containerLenS; j++ {
// d.decode(&s[j])
d.d.initReadNext()
s[j] = d.d.decodeUint(intBitsize)
}
*v = s
}
func (d *Decoder) decSliceStr(v *[]string, currEncodedType valueType, doNotReset bool) {
_, containerLenS := decContLens(d.d, currEncodedType)
s := *v
if s == nil {
s = make([]string, containerLenS, containerLenS)
} else if containerLenS > cap(s) {
if doNotReset {
decErr(msgDecCannotExpandArr, cap(s), containerLenS)
}
s = make([]string, containerLenS, containerLenS)
copy(s, *v)
} else if containerLenS > len(s) {
s = s[:containerLenS]
}
for j := 0; j < containerLenS; j++ {
// d.decode(&s[j])
d.d.initReadNext()
s[j] = d.d.decodeString()
}
*v = s
}
func (d *Decoder) decMapIntfIntf(v *map[interface{}]interface{}) {
containerLen := d.d.readMapLen()
m := *v
if m == nil {
m = make(map[interface{}]interface{}, containerLen)
*v = m
}
for j := 0; j < containerLen; j++ {
var mk interface{}
d.decode(&mk)
// special case if a byte array.
if bv, bok := mk.([]byte); bok {
mk = string(bv)
}
mv := m[mk]
d.decode(&mv)
m[mk] = mv
}
}
func (d *Decoder) decMapInt64Intf(v *map[int64]interface{}) {
containerLen := d.d.readMapLen()
m := *v
if m == nil {
m = make(map[int64]interface{}, containerLen)
*v = m
}
for j := 0; j < containerLen; j++ {
d.d.initReadNext()
mk := d.d.decodeInt(intBitsize)
mv := m[mk]
d.decode(&mv)
m[mk] = mv
}
}
func (d *Decoder) decMapUint64Intf(v *map[uint64]interface{}) {
containerLen := d.d.readMapLen()
m := *v
if m == nil {
m = make(map[uint64]interface{}, containerLen)
*v = m
}
for j := 0; j < containerLen; j++ {
d.d.initReadNext()
mk := d.d.decodeUint(intBitsize)
mv := m[mk]
d.decode(&mv)
m[mk] = mv
}
}
func (d *Decoder) decMapStrIntf(v *map[string]interface{}) {
containerLen := d.d.readMapLen()
m := *v
if m == nil {
m = make(map[string]interface{}, containerLen)
*v = m
}
for j := 0; j < containerLen; j++ {
d.d.initReadNext()
mk := d.d.decodeString()
mv := m[mk]
d.decode(&mv)
m[mk] = mv
}
}
// ----------------------------------------
func decContLens(dd decDriver, currEncodedType valueType) (containerLen, containerLenS int) {
if currEncodedType == valueTypeInvalid {
currEncodedType = dd.currentEncodedType()
}
switch currEncodedType {
case valueTypeArray:
containerLen = dd.readArrayLen()
containerLenS = containerLen
case valueTypeMap:
containerLen = dd.readMapLen()
containerLenS = containerLen * 2
default:
decErr("Only encoded map or array can be decoded into a slice. (valueType: %0x)",
currEncodedType)
}
return
}
func decErr(format string, params ...interface{}) {
doPanic(msgTagDec, format, params...)
}
```
|
```go
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package impl
import (
"reflect"
"sync"
"sync/atomic"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/protoiface"
)
// ExtensionInfo implements ExtensionType.
//
// This type contains a number of exported fields for legacy compatibility.
// The only non-deprecated use of this type is through the methods of the
// ExtensionType interface.
type ExtensionInfo struct {
// An ExtensionInfo may exist in several stages of initialization.
//
// extensionInfoUninitialized: Some or all of the legacy exported
// fields may be set, but none of the unexported fields have been
// initialized. This is the starting state for an ExtensionInfo
// in legacy generated code.
//
// extensionInfoDescInit: The desc field is set, but other unexported fields
// may not be initialized. Legacy exported fields may or may not be set.
// This is the starting state for an ExtensionInfo in newly generated code.
//
// extensionInfoFullInit: The ExtensionInfo is fully initialized.
// This state is only entered after lazy initialization is complete.
init uint32
mu sync.Mutex
goType reflect.Type
desc extensionTypeDescriptor
conv Converter
info *extensionFieldInfo // for fast-path method implementations
// ExtendedType is a typed nil-pointer to the parent message type that
// is being extended. It is possible for this to be unpopulated in v2
// since the message may no longer implement the MessageV1 interface.
//
// Deprecated: Use the ExtendedType method instead.
ExtendedType protoiface.MessageV1
// ExtensionType is the zero value of the extension type.
//
// For historical reasons, reflect.TypeOf(ExtensionType) and the
// type returned by InterfaceOf may not be identical.
//
// Deprecated: Use InterfaceOf(xt.Zero()) instead.
ExtensionType interface{}
// Field is the field number of the extension.
//
// Deprecated: Use the Descriptor().Number method instead.
Field int32
// Name is the fully qualified name of extension.
//
// Deprecated: Use the Descriptor().FullName method instead.
Name string
// Tag is the protobuf struct tag used in the v1 API.
//
// Deprecated: Do not use.
Tag string
// Filename is the proto filename in which the extension is defined.
//
// Deprecated: Use Descriptor().ParentFile().Path() instead.
Filename string
}
// Stages of initialization: See the ExtensionInfo.init field.
const (
extensionInfoUninitialized = 0
extensionInfoDescInit = 1
extensionInfoFullInit = 2
)
func InitExtensionInfo(xi *ExtensionInfo, xd protoreflect.ExtensionDescriptor, goType reflect.Type) {
xi.goType = goType
xi.desc = extensionTypeDescriptor{xd, xi}
xi.init = extensionInfoDescInit
}
func (xi *ExtensionInfo) New() protoreflect.Value {
return xi.lazyInit().New()
}
func (xi *ExtensionInfo) Zero() protoreflect.Value {
return xi.lazyInit().Zero()
}
func (xi *ExtensionInfo) ValueOf(v interface{}) protoreflect.Value {
return xi.lazyInit().PBValueOf(reflect.ValueOf(v))
}
func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) interface{} {
return xi.lazyInit().GoValueOf(v).Interface()
}
func (xi *ExtensionInfo) IsValidValue(v protoreflect.Value) bool {
return xi.lazyInit().IsValidPB(v)
}
func (xi *ExtensionInfo) IsValidInterface(v interface{}) bool {
return xi.lazyInit().IsValidGo(reflect.ValueOf(v))
}
func (xi *ExtensionInfo) TypeDescriptor() protoreflect.ExtensionTypeDescriptor {
if atomic.LoadUint32(&xi.init) < extensionInfoDescInit {
xi.lazyInitSlow()
}
return &xi.desc
}
func (xi *ExtensionInfo) lazyInit() Converter {
if atomic.LoadUint32(&xi.init) < extensionInfoFullInit {
xi.lazyInitSlow()
}
return xi.conv
}
func (xi *ExtensionInfo) lazyInitSlow() {
xi.mu.Lock()
defer xi.mu.Unlock()
if xi.init == extensionInfoFullInit {
return
}
defer atomic.StoreUint32(&xi.init, extensionInfoFullInit)
if xi.desc.ExtensionDescriptor == nil {
xi.initFromLegacy()
}
if !xi.desc.ExtensionDescriptor.IsPlaceholder() {
if xi.ExtensionType == nil {
xi.initToLegacy()
}
xi.conv = NewConverter(xi.goType, xi.desc.ExtensionDescriptor)
xi.info = makeExtensionFieldInfo(xi.desc.ExtensionDescriptor)
xi.info.validation = newValidationInfo(xi.desc.ExtensionDescriptor, xi.goType)
}
}
type extensionTypeDescriptor struct {
protoreflect.ExtensionDescriptor
xi *ExtensionInfo
}
func (xtd *extensionTypeDescriptor) Type() protoreflect.ExtensionType {
return xtd.xi
}
func (xtd *extensionTypeDescriptor) Descriptor() protoreflect.ExtensionDescriptor {
return xtd.ExtensionDescriptor
}
```
|
Terry Fox Drive (Ottawa Road #61) is a major arterial road in Ottawa, Ontario named for the late Canadian humanitarian, activist, and athlete Terry Fox. Located in the suburb of Kanata in the city's west end, the road is a major route for residents traveling to/from the north end of Kanata. Starting in the Kanata North Technology Park at an intersection with Herzberg Road, it crosses March Road and Innovation Drive and bisects an old-growth forest, before heading south past Kanata Centrum. It crosses Highway 417, passes Katimavik-Hazeldean and Glen Cairn, and ends at Eagleson Road, where it continues east as Hope Side Road. Currently, Terry Fox Drive is a four lane arterial between just north of Richardson Side Road and just south of Winchester Drive, and a two lane undivided road elsewhere.
Features
Initially a minor road, Terry Fox Drive became a more important and busier road due to growing communities in Kanata and neighbouring Stittsville. The Kanata Centrum shopping complex, a Holiday Inn, a number of large-scale retail uses and Canadian Tire Centre (which began as the Palladium in 1996 and was later known as both the Corel Centre and Scotiabank Place) are now located along or near the road.
OC Transpo's Terry Fox Station and Park and ride, which opened in 2005, are also located near Kanata Centrum.
Terry Fox Drive is also the location of the City Hall of the former city of Kanata, located just southwest of the intersection with Palladium Drive, before Kanata was amalgamated into the new City of Ottawa in 2001.
Kanata's second Wal-Mart (a Wal-Mart Supercentre) opened in August 2012, and is located at the intersection of Terry Fox Drive and Fernbank Road. There is a regular Wal-Mart in Kanata Centrum.
Expansion projects
There have been several expansion and widening projects have occurred. Mostly a two-lane road between Highway 417 and Hazeldean Road, this section was later widened to four lanes. From 2000 to 2006 it was gradually extended to the south where it crosses Fernbank Road and now continues on to Eagleson Road. It has also been extended to the north towards Kanata Avenue.
Future expansion of Terry Fox Drive is controversial, with opposition from the Sierra Club, David Suzuki Foundation, Greenpeace, Robert Bateman and many residents because the road is planned to cut through a provincially significant wetland affecting 20 species at risk in this area: including endangered species such as the Butternut Tree, American Ginseng, and the Blanding's Turtle.
The last remaining section of the Terry Fox Drive extension from Old Second Line Road to Kanata Avenue opened for traffic on 21 July 2011, finally connecting Kanata Lakes to Morgan's Grant.
The remaining landscaping was completed and the official opening was planned for mid-August 2011.
Speed limits
Speed limit through most of the southern section of Terry Fox is , however for a small portion south of Glen Cairn, the speed limit is , while near Hazeldean Road it is . The Terry Fox section in Morgan's Grant and the Kanata Business Park has a speed limit of .
Neighbourhoods
Morgan's Grant (northern and eastern segment)
Brookside (across from Morgan's Grant)
Kanata Lakes
Katimavik-Hazeldean
Kanata West (accessed by Maple Grove Road)
Glen Cairn (accessed by Winchester Drive and Castlefrank Road)
Fernbank Crossing (currently being developed)
Bridlewood
Village Green
Major Intersections
The following is a list of major intersections along Terry Fox Drive, from north to south:
Herzberg Road
Helmsdale Road
Legget Drive
McKinley Drive
March Road
Flamborough Way & Innovation Drive (formerly Goulbourn Forced Road)
Old Second Line Road (formerly Second Line Road)
Huntsville Drive
Richardson Side Road
Kanata Avenue
Campeau Drive
Roland Michener Drive (access to Kanata Centrum Shopping Centre)
Highway 417
Palladium Drive & Katimavik Road
Maple Grove Road
Charlie Rogers Place & Edgewater Street
Hazeldean Road
Halkirk Avenue & Winchester Drive
Castlefrank Road
Westphalian Avenue (access to the new Fernbank Crossing subdivision)
Cope Drive
Fernbank Road
Overberg Way
Eagleson Road
Terry Fox Drive continues east past Eagleson Road as Hope Side Road.
See also
Terry Fox Station
Terry Fox
Kanata, Ontario
OC Transpo
Morgan's Grant
Beaverbrook, Ottawa
Kanata Lakes
References
Terry Fox
Roads in Ottawa
|
```batchfile
rem Simple Batch file to update Ring only WebAssembly-Qt Version
rem Author : Mahmoud Fayed <msfclipper@yahoo.com>
copy ..\..\..\..\language\src\*.c ..\project\ring\src\
copy ext.c ..\project\ring\src\
copy ..\..\..\..\language\include\*.h ..\project\ring\include\
copy ext.h ..\project\ring\include\
```
|
```java
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
*
* Project Info: path_to_url
*
* This library is free software; you can redistribute it and/or modify it
* (at your option) any later version.
*
* This library 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 Lesser General Public
*
* You should have received a copy of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
* [Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.]
*
* --------------
* PolarPlot.java
* --------------
*
* Original Author: Daniel Bridenbecker, Solution Engineering, Inc.;
* Contributor(s): David Gilbert;
* Martin Hoeller (patches 1871902 and 2850344);
*
*/
package org.jfree.chart.plot;
import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Point;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Objects;
import java.util.ResourceBundle;
import java.util.Set;
import java.util.TreeMap;
import org.jfree.chart.ChartElementVisitor;
import org.jfree.chart.legend.LegendItem;
import org.jfree.chart.legend.LegendItemCollection;
import org.jfree.chart.axis.Axis;
import org.jfree.chart.axis.AxisState;
import org.jfree.chart.axis.NumberTick;
import org.jfree.chart.axis.NumberTickUnit;
import org.jfree.chart.axis.TickType;
import org.jfree.chart.axis.TickUnit;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.axis.ValueTick;
import org.jfree.chart.event.PlotChangeEvent;
import org.jfree.chart.event.RendererChangeEvent;
import org.jfree.chart.event.RendererChangeListener;
import org.jfree.chart.renderer.PolarItemRenderer;
import org.jfree.chart.text.TextUtils;
import org.jfree.chart.api.RectangleEdge;
import org.jfree.chart.api.RectangleInsets;
import org.jfree.chart.text.TextAnchor;
import org.jfree.chart.internal.CloneUtils;
import org.jfree.chart.internal.PaintUtils;
import org.jfree.chart.internal.Args;
import org.jfree.chart.api.PublicCloneable;
import org.jfree.chart.internal.SerialUtils;
import org.jfree.data.Range;
import org.jfree.data.general.Dataset;
import org.jfree.data.general.DatasetChangeEvent;
import org.jfree.data.general.DatasetUtils;
import org.jfree.data.xy.XYDataset;
/**
* Plots data that is in (theta, radius) pairs where theta equal to zero is
* due north and increases clockwise.
*/
public class PolarPlot extends Plot implements ValueAxisPlot, Zoomable,
RendererChangeListener, Cloneable, Serializable {
/** For serialization. */
private static final long serialVersionUID = 3794383185924179525L;
/** The default margin. */
private static final int DEFAULT_MARGIN = 20;
/** The annotation margin. */
private static final double ANNOTATION_MARGIN = 7.0;
/** The default angle tick unit size. */
public static final double DEFAULT_ANGLE_TICK_UNIT_SIZE = 45.0;
/** The default angle offset. */
public static final double DEFAULT_ANGLE_OFFSET = -90.0;
/** The default grid line stroke. */
public static final Stroke DEFAULT_GRIDLINE_STROKE = new BasicStroke(
0.5f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL,
0.0f, new float[]{2.0f, 2.0f}, 0.0f);
/** The default grid line paint. */
public static final Paint DEFAULT_GRIDLINE_PAINT = Color.GRAY;
/** The resourceBundle for the localization. */
protected static ResourceBundle localizationResources
= ResourceBundle.getBundle("org.jfree.chart.plot.LocalizationBundle");
/** The angles that are marked with gridlines. */
private List<ValueTick> angleTicks;
/** The range axis (used for the y-values). */
private Map<Integer, ValueAxis> axes;
/** The axis locations. */
private final Map<Integer, PolarAxisLocation> axisLocations;
/** Storage for the datasets. */
private Map<Integer, XYDataset> datasets;
/** Storage for the renderers. */
private Map<Integer, PolarItemRenderer> renderers;
/**
* The tick unit that controls the spacing between the angular grid lines.
*/
private TickUnit angleTickUnit;
/**
* An offset for the angles, to start with 0 degrees at north, east, south
* or west.
*/
private double angleOffset;
/**
* A flag indicating if the angles increase counterclockwise or clockwise.
*/
private boolean counterClockwise;
/** A flag that controls whether or not the angle labels are visible. */
private boolean angleLabelsVisible = true;
/** The font used to display the angle labels - never null. */
private Font angleLabelFont = new Font("SansSerif", Font.PLAIN, 12);
/** The paint used to display the angle labels. */
private transient Paint angleLabelPaint = Color.BLACK;
/** A flag that controls whether the angular grid-lines are visible. */
private boolean angleGridlinesVisible;
/** The stroke used to draw the angular grid-lines. */
private transient Stroke angleGridlineStroke;
/** The paint used to draw the angular grid-lines. */
private transient Paint angleGridlinePaint;
/** A flag that controls whether the radius grid-lines are visible. */
private boolean radiusGridlinesVisible;
/** The stroke used to draw the radius grid-lines. */
private transient Stroke radiusGridlineStroke;
/** The paint used to draw the radius grid-lines. */
private transient Paint radiusGridlinePaint;
/**
* A flag that controls whether the radial minor grid-lines are visible.
*/
private boolean radiusMinorGridlinesVisible;
/** The annotations for the plot. */
private List<String> cornerTextItems = new ArrayList<>();
/**
* The actual margin in pixels.
*/
private int margin;
/**
* An optional collection of legend items that can be returned by the
* getLegendItems() method.
*/
private LegendItemCollection fixedLegendItems;
/**
* Storage for the mapping between datasets/renderers and range axes. The
* keys in the map are Integer objects, corresponding to the dataset
* index. The values in the map are List<Integer> instances (corresponding
* to the axis indices). If the map contains no
* entry for a dataset, it is assumed to map to the primary domain axis
* (index = 0).
*/
private final Map<Integer, List<Integer>> datasetToAxesMap;
/**
* Default constructor.
*/
public PolarPlot() {
this(null, null, null);
}
/**
* Creates a new plot.
*
* @param dataset the dataset ({@code null} permitted).
* @param radiusAxis the radius axis ({@code null} permitted).
* @param renderer the renderer ({@code null} permitted).
*/
public PolarPlot(XYDataset dataset, ValueAxis radiusAxis, PolarItemRenderer renderer) {
super();
this.datasets = new HashMap<>();
this.datasets.put(0, dataset);
if (dataset != null) {
dataset.addChangeListener(this);
}
this.angleTickUnit = new NumberTickUnit(DEFAULT_ANGLE_TICK_UNIT_SIZE);
this.axes = new HashMap<>();
this.datasetToAxesMap = new TreeMap<>();
this.axes.put(0, radiusAxis);
if (radiusAxis != null) {
radiusAxis.setPlot(this);
radiusAxis.addChangeListener(this);
}
// define the default locations for up to 8 axes...
this.axisLocations = new HashMap<>();
this.axisLocations.put(0, PolarAxisLocation.EAST_ABOVE);
this.axisLocations.put(1, PolarAxisLocation.NORTH_LEFT);
this.axisLocations.put(2, PolarAxisLocation.WEST_BELOW);
this.axisLocations.put(3, PolarAxisLocation.SOUTH_RIGHT);
this.axisLocations.put(4, PolarAxisLocation.EAST_BELOW);
this.axisLocations.put(5, PolarAxisLocation.NORTH_RIGHT);
this.axisLocations.put(6, PolarAxisLocation.WEST_ABOVE);
this.axisLocations.put(7, PolarAxisLocation.SOUTH_LEFT);
this.renderers = new HashMap<>();
this.renderers.put(0, renderer);
if (renderer != null) {
renderer.setPlot(this);
renderer.addChangeListener(this);
}
this.angleOffset = DEFAULT_ANGLE_OFFSET;
this.counterClockwise = false;
this.angleGridlinesVisible = true;
this.angleGridlineStroke = DEFAULT_GRIDLINE_STROKE;
this.angleGridlinePaint = DEFAULT_GRIDLINE_PAINT;
this.radiusGridlinesVisible = true;
this.radiusMinorGridlinesVisible = true;
this.radiusGridlineStroke = DEFAULT_GRIDLINE_STROKE;
this.radiusGridlinePaint = DEFAULT_GRIDLINE_PAINT;
this.margin = DEFAULT_MARGIN;
}
/**
* Returns the plot type as a string.
*
* @return A short string describing the type of plot.
*/
@Override
public String getPlotType() {
return PolarPlot.localizationResources.getString("Polar_Plot");
}
/**
* Returns the primary axis for the plot.
*
* @return The primary axis (possibly {@code null}).
*
* @see #setAxis(ValueAxis)
*/
public ValueAxis getAxis() {
return getAxis(0);
}
/**
* Returns an axis for the plot.
*
* @param index the axis index.
*
* @return The axis ({@code null} possible).
*
* @see #setAxis(int, ValueAxis)
*/
public ValueAxis getAxis(int index) {
return this.axes.get(index);
}
/**
* Sets the primary axis for the plot and sends a {@link PlotChangeEvent}
* to all registered listeners.
*
* @param axis the new primary axis ({@code null} permitted).
*/
public void setAxis(ValueAxis axis) {
setAxis(0, axis);
}
/**
* Sets an axis for the plot and sends a {@link PlotChangeEvent} to all
* registered listeners.
*
* @param index the axis index.
* @param axis the axis ({@code null} permitted).
*
* @see #getAxis(int)
*/
public void setAxis(int index, ValueAxis axis) {
setAxis(index, axis, true);
}
/**
* Sets an axis for the plot and, if requested, sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param index the axis index.
* @param axis the axis ({@code null} permitted).
* @param notify notify listeners?
*
* @see #getAxis(int)
*/
public void setAxis(int index, ValueAxis axis, boolean notify) {
ValueAxis existing = getAxis(index);
if (existing != null) {
existing.removeChangeListener(this);
}
if (axis != null) {
axis.setPlot(this);
}
this.axes.put(index, axis);
if (axis != null) {
axis.configure();
axis.addChangeListener(this);
}
if (notify) {
fireChangeEvent();
}
}
/**
* Returns the location of the primary axis.
*
* @return The location (never {@code null}).
*
* @see #setAxisLocation(PolarAxisLocation)
*/
public PolarAxisLocation getAxisLocation() {
return getAxisLocation(0);
}
/**
* Returns the location for an axis.
*
* @param index the axis index.
*
* @return The location (possibly {@code null}).
*
* @see #setAxisLocation(int, PolarAxisLocation)
*/
public PolarAxisLocation getAxisLocation(int index) {
return this.axisLocations.get(index);
}
/**
* Sets the location of the primary axis and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param location the location ({@code null} not permitted).
*
* @see #getAxisLocation()
*/
public void setAxisLocation(PolarAxisLocation location) {
// delegate argument checks...
setAxisLocation(0, location, true);
}
/**
* Sets the location of the primary axis and, if requested, sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param location the location ({@code null} not permitted).
* @param notify notify listeners?
*
* @see #getAxisLocation()
*/
public void setAxisLocation(PolarAxisLocation location, boolean notify) {
// delegate...
setAxisLocation(0, location, notify);
}
/**
* Sets the location for an axis and sends a {@link PlotChangeEvent}
* to all registered listeners.
*
* @param index the axis index.
* @param location the location ({@code null} not permitted).
*
* @see #getAxisLocation(int)
*/
public void setAxisLocation(int index, PolarAxisLocation location) {
// delegate...
setAxisLocation(index, location, true);
}
/**
* Sets the axis location for an axis and, if requested, sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param index the axis index.
* @param location the location ({@code null} not permitted).
* @param notify notify listeners?
*/
public void setAxisLocation(int index, PolarAxisLocation location,
boolean notify) {
Args.nullNotPermitted(location, "location");
this.axisLocations.put(index, location);
if (notify) {
fireChangeEvent();
}
}
/**
* Returns the number of domain axes.
*
* @return The axis count.
**/
public int getAxisCount() {
return this.axes.size();
}
/**
* Returns the primary dataset for the plot.
*
* @return The primary dataset (possibly {@code null}).
*
* @see #setDataset(XYDataset)
*/
public XYDataset getDataset() {
return getDataset(0);
}
/**
* Returns the dataset with the specified index, if any.
*
* @param index the dataset index.
*
* @return The dataset (possibly {@code null}).
*
* @see #setDataset(int, XYDataset)
*/
public XYDataset getDataset(int index) {
return this.datasets.get(index);
}
/**
* Sets the primary dataset for the plot, replacing the existing dataset
* if there is one, and sends a {@code link PlotChangeEvent} to all
* registered listeners.
*
* @param dataset the dataset ({@code null} permitted).
*
* @see #getDataset()
*/
public void setDataset(XYDataset dataset) {
setDataset(0, dataset);
}
/**
* Sets a dataset for the plot, replacing the existing dataset at the same
* index if there is one, and sends a {@code link PlotChangeEvent} to all
* registered listeners.
*
* @param index the dataset index.
* @param dataset the dataset ({@code null} permitted).
*
* @see #getDataset(int)
*/
public void setDataset(int index, XYDataset dataset) {
XYDataset existing = getDataset(index);
if (existing != null) {
existing.removeChangeListener(this);
}
this.datasets.put(index, dataset);
if (dataset != null) {
dataset.addChangeListener(this);
}
// send a dataset change event to self...
DatasetChangeEvent event = new DatasetChangeEvent(this, dataset);
datasetChanged(event);
}
/**
* Returns the number of datasets.
*
* @return The number of datasets.
*/
public int getDatasetCount() {
return this.datasets.size();
}
/**
* Returns the index of the specified dataset, or {@code -1} if the
* dataset does not belong to the plot.
*
* @param dataset the dataset ({@code null} not permitted).
*
* @return The index.
*/
public int indexOf(XYDataset dataset) {
for (Entry<Integer, XYDataset> entry : this.datasets.entrySet()) {
if (entry.getValue() == dataset) {
return entry.getKey();
}
}
return -1;
}
/**
* Returns the primary renderer.
*
* @return The renderer (possibly {@code null}).
*
* @see #setRenderer(PolarItemRenderer)
*/
public PolarItemRenderer getRenderer() {
return getRenderer(0);
}
/**
* Returns the renderer at the specified index, if there is one.
*
* @param index the renderer index.
*
* @return The renderer (possibly {@code null}).
*
* @see #setRenderer(int, PolarItemRenderer)
*/
public PolarItemRenderer getRenderer(int index) {
return this.renderers.get(index);
}
/**
* Sets the primary renderer, and notifies all listeners of a change to the
* plot. If the renderer is set to {@code null}, no data items will
* be drawn for the corresponding dataset.
*
* @param renderer the new renderer ({@code null} permitted).
*
* @see #getRenderer()
*/
public void setRenderer(PolarItemRenderer renderer) {
setRenderer(0, renderer);
}
/**
* Sets a renderer and sends a {@link PlotChangeEvent} to all
* registered listeners.
*
* @param index the index.
* @param renderer the renderer.
*
* @see #getRenderer(int)
*/
public void setRenderer(int index, PolarItemRenderer renderer) {
setRenderer(index, renderer, true);
}
/**
* Sets a renderer and, if requested, sends a {@link PlotChangeEvent} to
* all registered listeners.
*
* @param index the index.
* @param renderer the renderer.
* @param notify notify listeners?
*
* @see #getRenderer(int)
*/
public void setRenderer(int index, PolarItemRenderer renderer,
boolean notify) {
PolarItemRenderer existing = getRenderer(index);
if (existing != null) {
existing.removeChangeListener(this);
}
this.renderers.put(index, renderer);
if (renderer != null) {
renderer.setPlot(this);
renderer.addChangeListener(this);
}
if (notify) {
fireChangeEvent();
}
}
/**
* Returns the tick unit that controls the spacing of the angular grid
* lines.
*
* @return The tick unit (never {@code null}).
*/
public TickUnit getAngleTickUnit() {
return this.angleTickUnit;
}
/**
* Sets the tick unit that controls the spacing of the angular grid
* lines, and sends a {@link PlotChangeEvent} to all registered listeners.
*
* @param unit the tick unit ({@code null} not permitted).
*/
public void setAngleTickUnit(TickUnit unit) {
Args.nullNotPermitted(unit, "unit");
this.angleTickUnit = unit;
fireChangeEvent();
}
/**
* Returns the offset that is used for all angles.
*
* @return The offset for the angles.
*/
public double getAngleOffset() {
return this.angleOffset;
}
/**
* Sets the offset that is used for all angles and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* This is useful to let 0 degrees be at the north, east, south or west
* side of the chart.
*
* @param offset The offset
*/
public void setAngleOffset(double offset) {
this.angleOffset = offset;
fireChangeEvent();
}
/**
* Get the direction for growing angle degrees.
*
* @return {@code true} if angle increases counterclockwise,
* {@code false} otherwise.
*/
public boolean isCounterClockwise() {
return this.counterClockwise;
}
/**
* Sets the flag for increasing angle degrees direction.
*
* {@code true} for counterclockwise, {@code false} for
* clockwise.
*
* @param counterClockwise The flag.
*/
public void setCounterClockwise(boolean counterClockwise)
{
this.counterClockwise = counterClockwise;
}
/**
* Returns a flag that controls whether or not the angle labels are visible.
*
* @return A boolean.
*
* @see #setAngleLabelsVisible(boolean)
*/
public boolean isAngleLabelsVisible() {
return this.angleLabelsVisible;
}
/**
* Sets the flag that controls whether or not the angle labels are visible,
* and sends a {@link PlotChangeEvent} to all registered listeners.
*
* @param visible the flag.
*
* @see #isAngleLabelsVisible()
*/
public void setAngleLabelsVisible(boolean visible) {
if (this.angleLabelsVisible != visible) {
this.angleLabelsVisible = visible;
fireChangeEvent();
}
}
/**
* Returns the font used to display the angle labels.
*
* @return A font (never {@code null}).
*
* @see #setAngleLabelFont(Font)
*/
public Font getAngleLabelFont() {
return this.angleLabelFont;
}
/**
* Sets the font used to display the angle labels and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param font the font ({@code null} not permitted).
*
* @see #getAngleLabelFont()
*/
public void setAngleLabelFont(Font font) {
Args.nullNotPermitted(font, "font");
this.angleLabelFont = font;
fireChangeEvent();
}
/**
* Returns the paint used to display the angle labels.
*
* @return A paint (never {@code null}).
*
* @see #setAngleLabelPaint(Paint)
*/
public Paint getAngleLabelPaint() {
return this.angleLabelPaint;
}
/**
* Sets the paint used to display the angle labels and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param paint the paint ({@code null} not permitted).
*/
public void setAngleLabelPaint(Paint paint) {
Args.nullNotPermitted(paint, "paint");
this.angleLabelPaint = paint;
fireChangeEvent();
}
/**
* Returns {@code true} if the angular gridlines are visible, and
* {@code false} otherwise.
*
* @return {@code true} or {@code false}.
*
* @see #setAngleGridlinesVisible(boolean)
*/
public boolean isAngleGridlinesVisible() {
return this.angleGridlinesVisible;
}
/**
* Sets the flag that controls whether or not the angular grid-lines are
* visible.
* <p>
* If the flag value is changed, a {@link PlotChangeEvent} is sent to all
* registered listeners.
*
* @param visible the new value of the flag.
*
* @see #isAngleGridlinesVisible()
*/
public void setAngleGridlinesVisible(boolean visible) {
if (this.angleGridlinesVisible != visible) {
this.angleGridlinesVisible = visible;
fireChangeEvent();
}
}
/**
* Returns the stroke for the grid-lines (if any) plotted against the
* angular axis.
*
* @return The stroke (possibly {@code null}).
*
* @see #setAngleGridlineStroke(Stroke)
*/
public Stroke getAngleGridlineStroke() {
return this.angleGridlineStroke;
}
/**
* Sets the stroke for the grid lines plotted against the angular axis and
* sends a {@link PlotChangeEvent} to all registered listeners.
* <p>
* If you set this to {@code null}, no grid lines will be drawn.
*
* @param stroke the stroke ({@code null} permitted).
*
* @see #getAngleGridlineStroke()
*/
public void setAngleGridlineStroke(Stroke stroke) {
this.angleGridlineStroke = stroke;
fireChangeEvent();
}
/**
* Returns the paint for the grid lines (if any) plotted against the
* angular axis.
*
* @return The paint (possibly {@code null}).
*
* @see #setAngleGridlinePaint(Paint)
*/
public Paint getAngleGridlinePaint() {
return this.angleGridlinePaint;
}
/**
* Sets the paint for the grid lines plotted against the angular axis.
* <p>
* If you set this to {@code null}, no grid lines will be drawn.
*
* @param paint the paint ({@code null} permitted).
*
* @see #getAngleGridlinePaint()
*/
public void setAngleGridlinePaint(Paint paint) {
this.angleGridlinePaint = paint;
fireChangeEvent();
}
/**
* Returns {@code true} if the radius axis grid is visible, and
* {@code false} otherwise.
*
* @return {@code true} or {@code false}.
*
* @see #setRadiusGridlinesVisible(boolean)
*/
public boolean isRadiusGridlinesVisible() {
return this.radiusGridlinesVisible;
}
/**
* Sets the flag that controls whether or not the radius axis grid lines
* are visible.
* <p>
* If the flag value is changed, a {@link PlotChangeEvent} is sent to all
* registered listeners.
*
* @param visible the new value of the flag.
*
* @see #isRadiusGridlinesVisible()
*/
public void setRadiusGridlinesVisible(boolean visible) {
if (this.radiusGridlinesVisible != visible) {
this.radiusGridlinesVisible = visible;
fireChangeEvent();
}
}
/**
* Returns the stroke for the grid lines (if any) plotted against the
* radius axis.
*
* @return The stroke (possibly {@code null}).
*
* @see #setRadiusGridlineStroke(Stroke)
*/
public Stroke getRadiusGridlineStroke() {
return this.radiusGridlineStroke;
}
/**
* Sets the stroke for the grid lines plotted against the radius axis and
* sends a {@link PlotChangeEvent} to all registered listeners.
* <p>
* If you set this to {@code null}, no grid lines will be drawn.
*
* @param stroke the stroke ({@code null} permitted).
*
* @see #getRadiusGridlineStroke()
*/
public void setRadiusGridlineStroke(Stroke stroke) {
this.radiusGridlineStroke = stroke;
fireChangeEvent();
}
/**
* Returns the paint for the grid lines (if any) plotted against the radius
* axis.
*
* @return The paint (possibly {@code null}).
*
* @see #setRadiusGridlinePaint(Paint)
*/
public Paint getRadiusGridlinePaint() {
return this.radiusGridlinePaint;
}
/**
* Sets the paint for the grid lines plotted against the radius axis and
* sends a {@link PlotChangeEvent} to all registered listeners.
* <p>
* If you set this to {@code null}, no grid lines will be drawn.
*
* @param paint the paint ({@code null} permitted).
*
* @see #getRadiusGridlinePaint()
*/
public void setRadiusGridlinePaint(Paint paint) {
this.radiusGridlinePaint = paint;
fireChangeEvent();
}
/**
* Return the current value of the flag indicating if radial minor
* grid-lines will be drawn or not.
*
* @return Returns {@code true} if radial minor grid-lines are drawn.
*/
public boolean isRadiusMinorGridlinesVisible() {
return this.radiusMinorGridlinesVisible;
}
/**
* Set the flag that determines if radial minor grid-lines will be drawn,
* and sends a {@link PlotChangeEvent} to all registered listeners.
*
* @param flag {@code true} to draw the radial minor grid-lines,
* {@code false} to hide them.
*/
public void setRadiusMinorGridlinesVisible(boolean flag) {
this.radiusMinorGridlinesVisible = flag;
fireChangeEvent();
}
/**
* Returns the margin around the plot area.
*
* @return The actual margin in pixels.
*/
public int getMargin() {
return this.margin;
}
/**
* Set the margin around the plot area and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param margin The new margin in pixels.
*/
public void setMargin(int margin) {
this.margin = margin;
fireChangeEvent();
}
/**
* Returns the fixed legend items, if any.
*
* @return The legend items (possibly {@code null}).
*
* @see #setFixedLegendItems(LegendItemCollection)
*/
public LegendItemCollection getFixedLegendItems() {
return this.fixedLegendItems;
}
/**
* Sets the fixed legend items for the plot. Leave this set to
* {@code null} if you prefer the legend items to be created
* automatically.
*
* @param items the legend items ({@code null} permitted).
*
* @see #getFixedLegendItems()
*/
public void setFixedLegendItems(LegendItemCollection items) {
this.fixedLegendItems = items;
fireChangeEvent();
}
/**
* Add text to be displayed in the lower right hand corner and sends a
* {@link PlotChangeEvent} to all registered listeners.
*
* @param text the text to display ({@code null} not permitted).
*
* @see #removeCornerTextItem(String)
*/
public void addCornerTextItem(String text) {
Args.nullNotPermitted(text, "text");
this.cornerTextItems.add(text);
fireChangeEvent();
}
/**
* Remove the given text from the list of corner text items and
* sends a {@link PlotChangeEvent} to all registered listeners.
*
* @param text the text to remove ({@code null} ignored).
*
* @see #addCornerTextItem(String)
*/
public void removeCornerTextItem(String text) {
boolean removed = this.cornerTextItems.remove(text);
if (removed) {
fireChangeEvent();
}
}
/**
* Clear the list of corner text items and sends a {@link PlotChangeEvent}
* to all registered listeners.
*
* @see #addCornerTextItem(String)
* @see #removeCornerTextItem(String)
*/
public void clearCornerTextItems() {
if (!this.cornerTextItems.isEmpty()) {
this.cornerTextItems.clear();
fireChangeEvent();
}
}
/**
* Generates a list of tick values for the angular tick marks.
*
* @return A list of {@link NumberTick} instances.
*/
protected List<ValueTick> refreshAngleTicks() {
List<ValueTick> ticks = new ArrayList<>();
for (double currentTickVal = 0.0; currentTickVal < 360.0;
currentTickVal += this.angleTickUnit.getSize()) {
TextAnchor ta = calculateTextAnchor(currentTickVal);
NumberTick tick = new NumberTick(currentTickVal,
this.angleTickUnit.valueToString(currentTickVal),
ta, TextAnchor.CENTER, 0.0);
ticks.add(tick);
}
return ticks;
}
/**
* Calculate the text position for the given degrees.
*
* @param angleDegrees the angle in degrees.
*
* @return The optimal text anchor.
*/
protected TextAnchor calculateTextAnchor(double angleDegrees) {
TextAnchor ta = TextAnchor.CENTER;
// normalize angle
double offset = this.angleOffset;
while (offset < 0.0) {
offset += 360.0;
}
double normalizedAngle = (((this.counterClockwise ? -1 : 1)
* angleDegrees) + offset) % 360;
while (this.counterClockwise && (normalizedAngle < 0.0)) {
normalizedAngle += 360.0;
}
if (normalizedAngle == 0.0) {
ta = TextAnchor.CENTER_LEFT;
} else if (normalizedAngle > 0.0 && normalizedAngle < 90.0) {
ta = TextAnchor.TOP_LEFT;
} else if (normalizedAngle == 90.0) {
ta = TextAnchor.TOP_CENTER;
} else if (normalizedAngle > 90.0 && normalizedAngle < 180.0) {
ta = TextAnchor.TOP_RIGHT;
} else if (normalizedAngle == 180) {
ta = TextAnchor.CENTER_RIGHT;
} else if (normalizedAngle > 180.0 && normalizedAngle < 270.0) {
ta = TextAnchor.BOTTOM_RIGHT;
} else if (normalizedAngle == 270) {
ta = TextAnchor.BOTTOM_CENTER;
} else if (normalizedAngle > 270.0 && normalizedAngle < 360.0) {
ta = TextAnchor.BOTTOM_LEFT;
}
return ta;
}
/**
* Maps a dataset to a particular axis. All data will be plotted
* against axis zero by default, no mapping is required for this case.
*
* @param index the dataset index (zero-based).
* @param axisIndex the axis index.
*/
public void mapDatasetToAxis(int index, int axisIndex) {
List<Integer> axisIndices = new ArrayList<>(1);
axisIndices.add(axisIndex);
mapDatasetToAxes(index, axisIndices);
}
/**
* Maps the specified dataset to the axes in the list. Note that the
* conversion of data values into Java2D space is always performed using
* the first axis in the list.
*
* @param index the dataset index (zero-based).
* @param axisIndices the axis indices ({@code null} permitted).
*/
public void mapDatasetToAxes(int index, List<Integer> axisIndices) {
if (index < 0) {
throw new IllegalArgumentException("Requires 'index' >= 0.");
}
checkAxisIndices(axisIndices);
Integer key = index;
this.datasetToAxesMap.put(key, new ArrayList<>(axisIndices));
// fake a dataset change event to update axes...
datasetChanged(new DatasetChangeEvent(this, getDataset(index)));
}
/**
* This method is used to perform argument checking on the list of
* axis indices passed to mapDatasetToAxes().
*
* @param indices the list of indices ({@code null} permitted).
*/
private void checkAxisIndices(List<Integer> indices) {
// axisIndices can be:
// 1. null;
// 2. non-empty, containing only Integer objects that are unique.
if (indices == null) {
return; // OK
}
if (indices.isEmpty()) {
throw new IllegalArgumentException("Empty list not permitted.");
}
Set<Integer> set = new HashSet<>();
for (Integer i : indices) {
if (set.contains(i)) {
throw new IllegalArgumentException("Indices must be unique.");
}
set.add(i);
}
}
/**
* Returns the axis for a dataset.
*
* @param index the dataset index.
*
* @return The axis.
*/
public ValueAxis getAxisForDataset(int index) {
ValueAxis valueAxis;
List<Integer> axisIndices = this.datasetToAxesMap.get(index);
if (axisIndices != null) {
// the first axis in the list is used for data <--> Java2D
Integer axisIndex = axisIndices.get(0);
valueAxis = getAxis(axisIndex);
}
else {
valueAxis = getAxis(0);
}
return valueAxis;
}
/**
* Returns the index of the given axis.
*
* @param axis the axis.
*
* @return The axis index or -1 if axis is not used in this plot.
*/
public int getAxisIndex(ValueAxis axis) {
for (Entry<Integer, ValueAxis> entry : this.axes.entrySet()) {
if (axis.equals(entry.getValue())) {
return entry.getKey();
}
}
// try the parent plot
Plot parent = getParent();
if (parent instanceof PolarPlot) {
PolarPlot p = (PolarPlot) parent;
return p.getAxisIndex(axis);
}
return -1;
}
/**
* Returns the index of the specified renderer, or {@code -1} if the
* renderer is not assigned to this plot.
*
* @param renderer the renderer ({@code null} not permitted).
*
* @return The renderer index.
*/
public int getIndexOf(PolarItemRenderer renderer) {
Args.nullNotPermitted(renderer, "renderer");
for (Entry<Integer, PolarItemRenderer> entry : this.renderers.entrySet()) {
if (renderer.equals(entry.getValue())) {
return entry.getKey();
}
}
return -1;
}
/**
* Receives a chart element visitor. Many plot subclasses will override
* this method to handle their subcomponents.
*
* @param visitor the visitor ({@code null} not permitted).
*/
@Override
public void receive(ChartElementVisitor visitor) {
// FIXME: handle axes and renderers
visitor.visit(this);
}
/**
* Draws the plot on a Java 2D graphics device (such as the screen or a
* printer).
* <P>
* This plot relies on a {@link PolarItemRenderer} to draw each
* item in the plot. This allows the visual representation of the data to
* be changed easily.
* <P>
* The optional info argument collects information about the rendering of
* the plot (dimensions, tooltip information etc). Just pass in
* {@code null} if you do not need this information.
*
* @param g2 the graphics device.
* @param area the area within which the plot (including axes and
* labels) should be drawn.
* @param anchor the anchor point ({@code null} permitted).
* @param parentState ignored.
* @param info collects chart drawing information ({@code null}
* permitted).
*/
@Override
public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor,
PlotState parentState, PlotRenderingInfo info) {
// if the plot area is too small, just return...
boolean b1 = (area.getWidth() <= MINIMUM_WIDTH_TO_DRAW);
boolean b2 = (area.getHeight() <= MINIMUM_HEIGHT_TO_DRAW);
if (b1 || b2) {
return;
}
// record the plot area...
if (info != null) {
info.setPlotArea(area);
}
// adjust the drawing area for the plot insets (if any)...
RectangleInsets insets = getInsets();
insets.trim(area);
Rectangle2D dataArea = area;
if (info != null) {
info.setDataArea(dataArea);
}
// draw the plot background and axes...
drawBackground(g2, dataArea);
int axisCount = this.axes.size();
AxisState state = null;
for (int i = 0; i < axisCount; i++) {
ValueAxis axis = getAxis(i);
if (axis != null) {
PolarAxisLocation location = this.axisLocations.get(i);
AxisState s = drawAxis(axis, location, g2, dataArea);
if (i == 0) {
state = s;
}
}
}
// now for each dataset, get the renderer and the appropriate axis
// and render the dataset...
Shape originalClip = g2.getClip();
Composite originalComposite = g2.getComposite();
g2.clip(dataArea);
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,
getForegroundAlpha()));
this.angleTicks = refreshAngleTicks();
drawGridlines(g2, dataArea, this.angleTicks, state.getTicks());
render(g2, dataArea, info);
g2.setClip(originalClip);
g2.setComposite(originalComposite);
drawOutline(g2, dataArea);
drawCornerTextItems(g2, dataArea);
}
/**
* Draws the corner text items.
*
* @param g2 the drawing surface.
* @param area the area.
*/
protected void drawCornerTextItems(Graphics2D g2, Rectangle2D area) {
if (this.cornerTextItems.isEmpty()) {
return;
}
g2.setColor(Color.BLACK);
double width = 0.0;
double height = 0.0;
for (String msg : this.cornerTextItems) {
FontMetrics fm = g2.getFontMetrics();
Rectangle2D bounds = TextUtils.getTextBounds(msg, g2, fm);
width = Math.max(width, bounds.getWidth());
height += bounds.getHeight();
}
double xadj = ANNOTATION_MARGIN * 2.0;
double yadj = ANNOTATION_MARGIN;
width += xadj;
height += yadj;
double x = area.getMaxX() - width;
double y = area.getMaxY() - height;
g2.drawRect((int) x, (int) y, (int) width, (int) height);
x += ANNOTATION_MARGIN;
for (String msg : this.cornerTextItems) {
Rectangle2D bounds = TextUtils.getTextBounds(msg, g2,
g2.getFontMetrics());
y += bounds.getHeight();
g2.drawString(msg, (int) x, (int) y);
}
}
/**
* Draws the axis with the specified index.
*
* @param axis the axis.
* @param location the axis location.
* @param g2 the graphics target.
* @param plotArea the plot area.
*
* @return The axis state.
*/
protected AxisState drawAxis(ValueAxis axis, PolarAxisLocation location,
Graphics2D g2, Rectangle2D plotArea) {
double centerX = plotArea.getCenterX();
double centerY = plotArea.getCenterY();
double r = Math.min(plotArea.getWidth() / 2.0,
plotArea.getHeight() / 2.0) - this.margin;
double x = centerX - r;
double y = centerY - r;
Rectangle2D dataArea = null;
AxisState result = null;
if (location == PolarAxisLocation.NORTH_RIGHT) {
dataArea = new Rectangle2D.Double(x, y, r, r);
result = axis.draw(g2, centerX, plotArea, dataArea,
RectangleEdge.RIGHT, null);
}
else if (location == PolarAxisLocation.NORTH_LEFT) {
dataArea = new Rectangle2D.Double(centerX, y, r, r);
result = axis.draw(g2, centerX, plotArea, dataArea,
RectangleEdge.LEFT, null);
}
else if (location == PolarAxisLocation.SOUTH_LEFT) {
dataArea = new Rectangle2D.Double(centerX, centerY, r, r);
result = axis.draw(g2, centerX, plotArea, dataArea,
RectangleEdge.LEFT, null);
}
else if (location == PolarAxisLocation.SOUTH_RIGHT) {
dataArea = new Rectangle2D.Double(x, centerY, r, r);
result = axis.draw(g2, centerX, plotArea, dataArea,
RectangleEdge.RIGHT, null);
}
else if (location == PolarAxisLocation.EAST_ABOVE) {
dataArea = new Rectangle2D.Double(centerX, centerY, r, r);
result = axis.draw(g2, centerY, plotArea, dataArea,
RectangleEdge.TOP, null);
}
else if (location == PolarAxisLocation.EAST_BELOW) {
dataArea = new Rectangle2D.Double(centerX, y, r, r);
result = axis.draw(g2, centerY, plotArea, dataArea,
RectangleEdge.BOTTOM, null);
}
else if (location == PolarAxisLocation.WEST_ABOVE) {
dataArea = new Rectangle2D.Double(x, centerY, r, r);
result = axis.draw(g2, centerY, plotArea, dataArea,
RectangleEdge.TOP, null);
}
else if (location == PolarAxisLocation.WEST_BELOW) {
dataArea = new Rectangle2D.Double(x, y, r, r);
result = axis.draw(g2, centerY, plotArea, dataArea,
RectangleEdge.BOTTOM, null);
}
return result;
}
/**
* Draws a representation of the data within the dataArea region, using the
* current m_Renderer.
*
* @param g2 the graphics device.
* @param dataArea the region in which the data is to be drawn.
* @param info an optional object for collection dimension
* information ({@code null} permitted).
*/
protected void render(Graphics2D g2, Rectangle2D dataArea,
PlotRenderingInfo info) {
// now get the data and plot it (the visual representation will depend
// on the m_Renderer that has been set)...
boolean hasData = false;
int datasetCount = this.datasets.size();
for (int i = datasetCount - 1; i >= 0; i--) {
XYDataset dataset = getDataset(i);
if (dataset == null) {
continue;
}
PolarItemRenderer renderer = getRenderer(i);
if (renderer == null) {
continue;
}
if (!DatasetUtils.isEmptyOrNull(dataset)) {
hasData = true;
int seriesCount = dataset.getSeriesCount();
for (int series = 0; series < seriesCount; series++) {
renderer.drawSeries(g2, dataArea, info, this, dataset,
series);
}
}
}
if (!hasData) {
drawNoDataMessage(g2, dataArea);
}
}
/**
* Draws the gridlines for the plot, if they are visible.
*
* @param g2 the graphics device.
* @param dataArea the data area.
* @param angularTicks the ticks for the angular axis.
* @param radialTicks the ticks for the radial axis.
*/
protected void drawGridlines(Graphics2D g2, Rectangle2D dataArea,
List<ValueTick> angularTicks, List<ValueTick> radialTicks) {
PolarItemRenderer renderer = getRenderer();
// no renderer, no gridlines...
if (renderer == null) {
return;
}
// draw the domain grid lines, if any...
if (isAngleGridlinesVisible()) {
Stroke gridStroke = getAngleGridlineStroke();
Paint gridPaint = getAngleGridlinePaint();
if ((gridStroke != null) && (gridPaint != null)) {
renderer.drawAngularGridLines(g2, this, angularTicks,
dataArea);
}
}
// draw the radius grid lines, if any...
if (isRadiusGridlinesVisible()) {
Stroke gridStroke = getRadiusGridlineStroke();
Paint gridPaint = getRadiusGridlinePaint();
if ((gridStroke != null) && (gridPaint != null)) {
List<ValueTick> ticks = buildRadialTicks(radialTicks);
renderer.drawRadialGridLines(g2, this, getAxis(), ticks, dataArea);
}
}
}
/**
* Create a list of ticks based on the given list and plot properties.
* Only ticks of a specific type may be in the result list.
*
* @param allTicks A list of all available ticks for the primary axis.
* {@code null} not permitted.
* @return Ticks to use for radial gridlines.
*/
protected List<ValueTick> buildRadialTicks(List<ValueTick> allTicks) {
List<ValueTick> ticks = new ArrayList<>();
for (ValueTick tick : allTicks) {
if (isRadiusMinorGridlinesVisible() || TickType.MAJOR.equals(tick.getTickType())) {
ticks.add(tick);
}
}
return ticks;
}
/**
* Zooms the axis ranges by the specified percentage about the anchor point.
*
* @param percent the amount of the zoom.
*/
@Override
public void zoom(double percent) {
for (int axisIdx = 0; axisIdx < getAxisCount(); axisIdx++) {
final ValueAxis axis = getAxis(axisIdx);
if (axis != null) {
if (percent > 0.0) {
double radius = axis.getUpperBound();
double scaledRadius = radius * percent;
axis.setUpperBound(scaledRadius);
axis.setAutoRange(false);
} else {
axis.setAutoRange(true);
}
}
}
}
/**
* A utility method that returns a list of datasets that are mapped to a
* particular axis.
*
* @param axisIndex the axis index ({@code null} not permitted).
*
* @return A list of datasets.
*/
private List<XYDataset> getDatasetsMappedToAxis(Integer axisIndex) {
Args.nullNotPermitted(axisIndex, "axisIndex");
List<XYDataset> result = new ArrayList<>();
for (Entry<Integer, XYDataset> entry : this.datasets.entrySet()) {
List<Integer> mappedAxes = this.datasetToAxesMap.get(entry.getKey());
if (mappedAxes == null) {
if (axisIndex.equals(ZERO)) {
result.add(getDataset(entry.getKey()));
}
} else {
if (mappedAxes.contains(axisIndex)) {
result.add(getDataset(entry.getKey()));
}
}
}
return result;
}
/**
* Returns the range for the specified axis.
*
* @param axis the axis.
*
* @return The range.
*/
@Override
public Range getDataRange(ValueAxis axis) {
Range result = null;
List<XYDataset> mappedDatasets = new ArrayList<>();
int axisIndex = getAxisIndex(axis);
if (axisIndex >= 0) {
mappedDatasets = getDatasetsMappedToAxis(axisIndex);
}
// iterate through the datasets that map to the axis and get the union
// of the ranges.
for (XYDataset dataset : mappedDatasets) {
if (dataset != null) {
// FIXME better ask the renderer instead of DatasetUtilities
result = Range.combine(result, DatasetUtils.findRangeBounds(dataset));
}
}
return result;
}
/**
* Receives notification of a change to the plot's m_Dataset.
* <P>
* The axis ranges are updated if necessary.
*
* @param event information about the event (not used here).
*/
@Override
public void datasetChanged(DatasetChangeEvent event) {
for (int i = 0; i < this.axes.size(); i++) {
final ValueAxis axis = (ValueAxis) this.axes.get(i);
if (axis != null) {
axis.configure();
}
}
if (getParent() != null) {
getParent().datasetChanged(event);
}
else {
super.datasetChanged(event);
}
}
/**
* Notifies all registered listeners of a property change.
* <P>
* One source of property change events is the plot's m_Renderer.
*
* @param event information about the property change.
*/
@Override
public void rendererChanged(RendererChangeEvent event) {
fireChangeEvent();
}
/**
* Returns the legend items for the plot. Each legend item is generated by
* the plot's m_Renderer, since the m_Renderer is responsible for the visual
* representation of the data.
*
* @return The legend items.
*/
@Override
public LegendItemCollection getLegendItems() {
if (this.fixedLegendItems != null) {
return this.fixedLegendItems;
}
LegendItemCollection result = new LegendItemCollection();
int count = this.datasets.size();
for (int datasetIndex = 0; datasetIndex < count; datasetIndex++) {
XYDataset dataset = getDataset(datasetIndex);
PolarItemRenderer renderer = getRenderer(datasetIndex);
if (dataset != null && renderer != null) {
int seriesCount = dataset.getSeriesCount();
for (int i = 0; i < seriesCount; i++) {
LegendItem item = renderer.getLegendItem(i);
result.add(item);
}
}
}
return result;
}
/**
* Tests this plot for equality with another object.
*
* @param obj the object ({@code null} permitted).
*
* @return {@code true} or {@code false}.
*/
@Override
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof PolarPlot)) {
return false;
}
PolarPlot that = (PolarPlot) obj;
if (!this.axes.equals(that.axes)) {
return false;
}
if (!this.axisLocations.equals(that.axisLocations)) {
return false;
}
if (!this.renderers.equals(that.renderers)) {
return false;
}
if (!this.angleTickUnit.equals(that.angleTickUnit)) {
return false;
}
if (this.angleGridlinesVisible != that.angleGridlinesVisible) {
return false;
}
if (this.angleOffset != that.angleOffset)
{
return false;
}
if (this.counterClockwise != that.counterClockwise)
{
return false;
}
if (this.angleLabelsVisible != that.angleLabelsVisible) {
return false;
}
if (!this.angleLabelFont.equals(that.angleLabelFont)) {
return false;
}
if (!PaintUtils.equal(this.angleLabelPaint, that.angleLabelPaint)) {
return false;
}
if (!Objects.equals(this.angleGridlineStroke, that.angleGridlineStroke)) {
return false;
}
if (!PaintUtils.equal(
this.angleGridlinePaint, that.angleGridlinePaint
)) {
return false;
}
if (this.radiusGridlinesVisible != that.radiusGridlinesVisible) {
return false;
}
if (!Objects.equals(this.radiusGridlineStroke, that.radiusGridlineStroke)) {
return false;
}
if (!PaintUtils.equal(this.radiusGridlinePaint,
that.radiusGridlinePaint)) {
return false;
}
if (this.radiusMinorGridlinesVisible !=
that.radiusMinorGridlinesVisible) {
return false;
}
if (!this.cornerTextItems.equals(that.cornerTextItems)) {
return false;
}
if (this.margin != that.margin) {
return false;
}
if (!Objects.equals(this.fixedLegendItems, that.fixedLegendItems)) {
return false;
}
return super.equals(obj);
}
/**
* Returns a clone of the plot.
*
* @return A clone.
*
* @throws CloneNotSupportedException this can occur if some component of
* the plot cannot be cloned.
*/
@Override
public Object clone() throws CloneNotSupportedException {
PolarPlot clone = (PolarPlot) super.clone();
clone.axes = CloneUtils.clone(this.axes);
for (int i = 0; i < this.axes.size(); i++) {
ValueAxis axis = (ValueAxis) this.axes.get(i);
if (axis != null) {
ValueAxis clonedAxis = (ValueAxis) axis.clone();
clone.axes.put(i, clonedAxis);
clonedAxis.setPlot(clone);
clonedAxis.addChangeListener(clone);
}
}
// the datasets are not cloned, but listeners need to be added...
clone.datasets = CloneUtils.clone(this.datasets);
for (int i = 0; i < clone.datasets.size(); ++i) {
XYDataset d = getDataset(i);
if (d != null) {
d.addChangeListener(clone);
}
}
clone.renderers = CloneUtils.clone(this.renderers);
for (int i = 0; i < this.renderers.size(); i++) {
PolarItemRenderer renderer2 = (PolarItemRenderer) this.renderers.get(i);
if (renderer2 instanceof PublicCloneable) {
PublicCloneable pc = (PublicCloneable) renderer2;
PolarItemRenderer rc = (PolarItemRenderer) pc.clone();
clone.renderers.put(i, rc);
rc.setPlot(clone);
rc.addChangeListener(clone);
}
}
clone.cornerTextItems = new ArrayList<>(this.cornerTextItems);
return clone;
}
/**
* Provides serialization support.
*
* @param stream the output stream.
*
* @throws IOException if there is an I/O error.
*/
private void writeObject(ObjectOutputStream stream) throws IOException {
stream.defaultWriteObject();
SerialUtils.writeStroke(this.angleGridlineStroke, stream);
SerialUtils.writePaint(this.angleGridlinePaint, stream);
SerialUtils.writeStroke(this.radiusGridlineStroke, stream);
SerialUtils.writePaint(this.radiusGridlinePaint, stream);
SerialUtils.writePaint(this.angleLabelPaint, stream);
}
/**
* Provides serialization support.
*
* @param stream the input stream.
*
* @throws IOException if there is an I/O error.
* @throws ClassNotFoundException if there is a classpath problem.
*/
private void readObject(ObjectInputStream stream)
throws IOException, ClassNotFoundException {
stream.defaultReadObject();
this.angleGridlineStroke = SerialUtils.readStroke(stream);
this.angleGridlinePaint = SerialUtils.readPaint(stream);
this.radiusGridlineStroke = SerialUtils.readStroke(stream);
this.radiusGridlinePaint = SerialUtils.readPaint(stream);
this.angleLabelPaint = SerialUtils.readPaint(stream);
int rangeAxisCount = this.axes.size();
for (int i = 0; i < rangeAxisCount; i++) {
Axis axis = (Axis) this.axes.get(i);
if (axis != null) {
axis.setPlot(this);
axis.addChangeListener(this);
}
}
int datasetCount = this.datasets.size();
for (int i = 0; i < datasetCount; i++) {
Dataset dataset = (Dataset) this.datasets.get(i);
if (dataset != null) {
dataset.addChangeListener(this);
}
}
int rendererCount = this.renderers.size();
for (int i = 0; i < rendererCount; i++) {
PolarItemRenderer renderer = (PolarItemRenderer) this.renderers.get(i);
if (renderer != null) {
renderer.addChangeListener(this);
}
}
}
/**
* This method is required by the {@link Zoomable} interface, but since
* the plot does not have any domain axes, it does nothing.
*
* @param factor the zoom factor.
* @param state the plot state.
* @param source the source point (in Java2D coordinates).
*/
@Override
public void zoomDomainAxes(double factor, PlotRenderingInfo state,
Point2D source) {
// do nothing
}
/**
* This method is required by the {@link Zoomable} interface, but since
* the plot does not have any domain axes, it does nothing.
*
* @param factor the zoom factor.
* @param state the plot state.
* @param source the source point (in Java2D coordinates).
* @param useAnchor use source point as zoom anchor?
*/
@Override
public void zoomDomainAxes(double factor, PlotRenderingInfo state,
Point2D source, boolean useAnchor) {
// do nothing
}
/**
* This method is required by the {@link Zoomable} interface, but since
* the plot does not have any domain axes, it does nothing.
*
* @param lowerPercent the new lower bound.
* @param upperPercent the new upper bound.
* @param state the plot state.
* @param source the source point (in Java2D coordinates).
*/
@Override
public void zoomDomainAxes(double lowerPercent, double upperPercent,
PlotRenderingInfo state, Point2D source) {
// do nothing
}
/**
* Multiplies the range on the range axis/axes by the specified factor.
*
* @param factor the zoom factor.
* @param state the plot state.
* @param source the source point (in Java2D coordinates).
*/
@Override
public void zoomRangeAxes(double factor, PlotRenderingInfo state,
Point2D source) {
zoom(factor);
}
/**
* Multiplies the range on the range axis by the specified factor.
*
* @param factor the zoom factor.
* @param info the plot rendering info.
* @param source the source point (in Java2D space).
* @param useAnchor use source point as zoom anchor?
*
* @see #zoomDomainAxes(double, PlotRenderingInfo, Point2D, boolean)
*/
@Override
public void zoomRangeAxes(double factor, PlotRenderingInfo info,
Point2D source, boolean useAnchor) {
// get the source coordinate - this plot has always a VERTICAL
// orientation
final double sourceX = source.getX();
for (int axisIdx = 0; axisIdx < getAxisCount(); axisIdx++) {
final ValueAxis axis = getAxis(axisIdx);
if (axis != null) {
if (useAnchor) {
double anchorX = axis.java2DToValue(sourceX,
info.getDataArea(), RectangleEdge.BOTTOM);
axis.resizeRange(factor, anchorX);
}
else {
axis.resizeRange(factor);
}
}
}
}
/**
* Zooms in on the range axes.
*
* @param lowerPercent the new lower bound.
* @param upperPercent the new upper bound.
* @param state the plot state.
* @param source the source point (in Java2D coordinates).
*/
@Override
public void zoomRangeAxes(double lowerPercent, double upperPercent,
PlotRenderingInfo state, Point2D source) {
zoom((upperPercent + lowerPercent) / 2.0);
}
/**
* Returns {@code false} always.
*
* @return {@code false} always.
*/
@Override
public boolean isDomainZoomable() {
return false;
}
/**
* Returns {@code true} to indicate that the range axis is zoomable.
*
* @return {@code true}.
*/
@Override
public boolean isRangeZoomable() {
return true;
}
/**
* Returns the orientation of the plot.
*
* @return The orientation.
*/
@Override
public PlotOrientation getOrientation() {
return PlotOrientation.HORIZONTAL;
}
/**
* Translates a (theta, radius) pair into Java2D coordinates. If
* {@code radius} is less than the lower bound of the axis, then
* this method returns the centre point.
*
* @param angleDegrees the angle in degrees.
* @param radius the radius.
* @param axis the axis.
* @param dataArea the data area.
*
* @return A point in Java2D space.
*/
public Point translateToJava2D(double angleDegrees, double radius,
ValueAxis axis, Rectangle2D dataArea) {
if (counterClockwise) {
angleDegrees = -angleDegrees;
}
double radians = Math.toRadians(angleDegrees + this.angleOffset);
double minx = dataArea.getMinX() + this.margin;
double maxx = dataArea.getMaxX() - this.margin;
double miny = dataArea.getMinY() + this.margin;
double maxy = dataArea.getMaxY() - this.margin;
double halfWidth = (maxx - minx) / 2.0;
double halfHeight = (maxy - miny) / 2.0;
double midX = minx + halfWidth;
double midY = miny + halfHeight;
double l = Math.min(halfWidth, halfHeight);
Rectangle2D quadrant = new Rectangle2D.Double(midX, midY, l, l);
double axisMin = axis.getLowerBound();
double adjustedRadius = Math.max(radius, axisMin);
double length = axis.valueToJava2D(adjustedRadius, quadrant, RectangleEdge.BOTTOM) - midX;
float x = (float) (midX + Math.cos(radians) * length);
float y = (float) (midY + Math.sin(radians) * length);
int ix = Math.round(x);
int iy = Math.round(y);
Point p = new Point(ix, iy);
return p;
}
}
```
|
The russet-capped tesia (Tesia everetti) is a species of Old World warbler in the family Cettiidae. The scientific name commemorates British colonial administrator and zoological collector Alfred Hart Everett.
Distribution and habitat
It is found only in Indonesia.
References
russet-capped tesia
Birds of the Lesser Sunda Islands
Birds of Flores
russet-capped tesia
Taxonomy articles created by Polbot
Endemic birds of Indonesia
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug-Dynamic|ARM">
<Configuration>Debug-Dynamic</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Dynamic|ARM64">
<Configuration>Debug-Dynamic</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Dynamic|Win32">
<Configuration>Debug-Dynamic</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Dynamic|x64">
<Configuration>Debug-Dynamic</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Static|ARM">
<Configuration>Debug-Static</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Static|ARM64">
<Configuration>Debug-Static</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Static|Win32">
<Configuration>Debug-Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-Static|x64">
<Configuration>Debug-Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Dynamic|ARM">
<Configuration>Release-Dynamic</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Dynamic|ARM64">
<Configuration>Release-Dynamic</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Dynamic|Win32">
<Configuration>Release-Dynamic</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Dynamic|x64">
<Configuration>Release-Dynamic</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Static|ARM">
<Configuration>Release-Static</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Static|ARM64">
<Configuration>Release-Static</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Static|Win32">
<Configuration>Release-Static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-Static|x64">
<Configuration>Release-Static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<!-- Check the instruction set -->
<PropertyGroup>
<InstSet Condition="$(Platform)==Win32">SSE</InstSet>
<InstSet Condition="$(Platform)==x64">SSE</InstSet>
<InstSet Condition="$(Platform)==ARM">NEON</InstSet>
<InstSet Condition="$(Platform)==ARM64">NEON</InstSet>
</PropertyGroup>
<ItemGroup>
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\fft4g.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\ring_buffer.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\complex_fft_tables.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\include\real_fft.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\include\signal_processing_library.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\include\spl_inl.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample_by_2_internal.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\common_audio\wav_file.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\aecm_core.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\aecm_defines.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\include\echo_control_mobile.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_common.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_core.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_core_internal.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_rdft.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_resampler.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\echo_cancellation_internal.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\include\echo_cancellation.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\logging\aec_logging.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\logging\aec_logging_file_handling.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\defines.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\include\noise_suppression.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\include\noise_suppression_x.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\nsx_core.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\nsx_defines.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\ns_core.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\windows_private.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\utility\delay_estimator.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\utility\delay_estimator_internal.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\modules\audio_processing\utility\delay_estimator_wrapper.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\system_wrappers\interface\compile_assert_c.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\system_wrappers\interface\cpu_features_wrapper.h" />
<ClInclude Include="..\..\webrtc\src\webrtc\typedefs.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\fft4g.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\ring_buffer.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\auto_correlation.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\auto_corr_to_refl_coef.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\complex_bit_reverse.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\complex_fft.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\copy_set_operations.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\cross_correlation.c" />
<ClCompile Condition="$(InstSet)==NEON" Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\cross_correlation_neon.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\division_operations.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\dot_product_with_scale.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\downsample_fast.c" />
<ClCompile Condition="$(IntsSet)==NEON" Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\downsample_fast_neon.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\energy.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\filter_ar.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\filter_ar_fast_q12.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\filter_ma_fast_q12.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\get_hanning_window.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\get_scaling_square.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\ilbc_specific_functions.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\levinson_durbin.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\lpc_to_refl_coef.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\min_max_operations.c" />
<ClCompile Condition="$(IntsSet)==NEON" Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\min_max_operations_neon.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\randomization_functions.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\real_fft.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\refl_coef_to_lpc.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample_48khz.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample_by_2.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample_by_2_internal.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\resample_fractional.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\splitting_filter.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\spl_init.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\spl_sqrt.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\spl_sqrt_floor.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\sqrt_of_one_minus_x_squared.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\common_audio\signal_processing\vector_scaling_operations.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\aecm_core.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\aecm_core_c.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aecm\echo_control_mobile.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_core.c" />
<ClCompile Condition="$(InstSet)==NEON" Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_core_neon.c" />
<ClCompile Condition="$(InstSet)==SSE" Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_core_sse2.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_rdft.c" />
<ClCompile Condition="$(InstSet)==NEON" Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_rdft_neon.c" />
<ClCompile Condition="$(InstSet)==SSE" Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_rdft_sse2.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\aec_resampler.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\aec\echo_cancellation.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\noise_suppression.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\noise_suppression_x.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\nsx_core.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\nsx_core_c.c" />
<ClCompile Condition="$(InstSet)==NEON" Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\nsx_core_neon.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\ns\ns_core.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\utility\delay_estimator.c" />
<ClCompile Include="..\..\webrtc\src\webrtc\modules\audio_processing\utility\delay_estimator_wrapper.c" />
<ClCompile Condition="$(InstSet)==SSE" Include="..\..\webrtc\src\webrtc\system_wrappers\source\cpu_features.cc" />
</ItemGroup>
<!-- Import common config -->
<Import Project="..\..\..\build\vs\pjproject-vs14-common-config.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>{5BCF2773-3825-4D91-9D72-3E2F650DF1DB}</ProjectGuid>
<RootNamespace>libwebrtc</RootNamespace>
<!-- Specific UWP property -->
<DefaultLanguage>en-US</DefaultLanguage>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<!-- Override the PlatformToolset -->
<PropertyGroup>
<PlatformToolset>$(BuildToolset)</PlatformToolset>
<CharacterSet Condition="'$(API_Family)'!='WinDesktop'">
</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-release-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-win64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\build\vs\pjproject-vs14-arm64-common-defaults.props" />
<Import Project="..\..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>14.0.24730.2</_ProjectFileVersion>
<OutDir>..\..\lib\</OutDir>
</PropertyGroup>
<!-- Compile and link option definition -->
<ItemDefinitionGroup>
<ClCompile>
<RuntimeLibrary Condition="'$(API_Family)'=='UWP'">MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM'">
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;__ARMEL__;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Static|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dynamic|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dynamic|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile />
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|ARM64'">
<Midl />
<ClCompile>
<AdditionalOptions>/wd4100 /wd4244 /wd4127 %(AdditionalOptions)</AdditionalOptions>
<AdditionalIncludeDirectories>.;../../webrtc/src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_LIB;_WINDOWS;HAVE_CONFIG_H;WEBRTC_HAS_NEON;WEBRTC_ARCH_ARM64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
</ClCompile>
<Lib>
<OutputFile>..\..\lib\$(ProjectName)-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
```
|
In music, relative keys are the major and minor scales that have the same key signatures (enharmonically equivalent), meaning that they share all the same notes but are arranged in a different order of whole steps and half steps. A pair of major and minor scales sharing the same key signature are said to be in a relative relationship. The relative minor of a particular major key, or the relative major of a minor key, is the key which has the same key signature but a different tonic. (This is as opposed to parallel minor or major, which shares the same tonic.)
For example, F major and D minor both have one flat in their key signature at B♭; therefore, D minor is the relative minor of F major, and conversely F major is the relative major of D minor. The tonic of the relative minor is the sixth scale degree of the major scale, while the tonic of the relative major is the third degree of the minor scale. The minor key starts three semitones below its relative major; for example, A minor is three semitones below its relative, C major.
The relative relationship may be visualized through the circle of fifths.
Relative keys are a type of closely related keys, the keys between which most modulations occur, because they differ by no more than one accidental. Relative keys are the most closely related, as they share exactly the same notes.
The major key and the minor key also share the same set of chords. In every major key, the triad built on the first degree (note) of the scale is major, the second and third are minor, the fourth and fifth are major, the sixth minor and the seventh is diminished. In the relative minor, the same triads pertain. Because of this, it can occasionally be difficult to determine whether a particular piece of music is in a major key or its relative minor.
Distinguishing on the basis of melody
To distinguish a minor key from its relative major, one can look to the first note/chord of the melody, which usually is the tonic or the dominant (fifth note); The last note/chord also tends to be the tonic. A "raised 7th" is also a strong indication of a minor scale (instead of a major scale): For example, C major and A minor both have no sharps or flats in their key signatures, but if the note G (the seventh note in A minor raised by a semitone) occurs frequently in a melody, then this melody is likely in A harmonic minor, instead of C major.
List
A complete list of relative minor/major pairs in order of the circle of fifths is:
Terminology
The term for "relative key" in German is Paralleltonart, while parallel key is Varianttonart. Similar terminology is used in most Germanic and Slavic languages, but not Romance languages. This is not to be confused with the term parallel chord, which denotes chords derived from the relative key in English usage.
See also
Chromatic mediant
Mode (music)
References
Musical keys
Chromaticism
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\Safebrowsing;
class GoogleSecuritySafebrowsingV4Checksum extends \Google\Model
{
/**
* @var string
*/
public $sha256;
/**
* @param string
*/
public function setSha256($sha256)
{
$this->sha256 = $sha256;
}
/**
* @return string
*/
public function getSha256()
{
return $this->sha256;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSecuritySafebrowsingV4Checksum::class, your_sha256_hash);
```
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url"
android:shape="oval">
<solid android:color="?attr/colorSecondary"/>
<size
android:width="50dp"
android:height="50dp"/>
</shape>
```
|
Dermaleipa metaxantha is a species of moth in the family Erebidae. The species is found in northern Australia.
External links
Australian Caterpillars
Ophiusini
Moths described in 1913
|
```java
/*
This file is part of the iText (R) project.
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at path_to_url For AGPL licensing, see below.
AGPL licensing:
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program 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
along with this program. If not, see <path_to_url
*/
package com.itextpdf.io.image;
import com.itextpdf.io.codec.Jbig2SegmentReader;
import com.itextpdf.io.exceptions.IOException;
import com.itextpdf.io.exceptions.IoExceptionMessageConstant;
import com.itextpdf.io.source.IRandomAccessSource;
import com.itextpdf.io.source.RandomAccessFileOrArray;
import com.itextpdf.io.source.RandomAccessSourceFactory;
import java.util.HashMap;
import java.util.Map;
class Jbig2ImageHelper {
private byte[] globals;
/**
* Gets a byte array that can be used as a /JBIG2Globals,
* or null if not applicable to the given jbig2.
* @param ra an random access file or array
* @return a byte array
*/
public static byte[] getGlobalSegment(RandomAccessFileOrArray ra ) {
try {
Jbig2SegmentReader sr = new Jbig2SegmentReader(ra);
sr.read();
return sr.getGlobal(true);
} catch (Exception e) {
return null;
}
}
public static void processImage(ImageData jbig2) {
if (jbig2.getOriginalType() != ImageType.JBIG2)
throw new IllegalArgumentException("JBIG2 image expected");
Jbig2ImageData image = (Jbig2ImageData)jbig2;
try {
IRandomAccessSource ras;
if (image.getData() == null) {
image.loadData();
}
ras = new RandomAccessSourceFactory().createSource(image.getData());
RandomAccessFileOrArray raf = new RandomAccessFileOrArray(ras);
Jbig2SegmentReader sr = new Jbig2SegmentReader(raf);
sr.read();
Jbig2SegmentReader.Jbig2Page p = sr.getPage(image.getPage());
raf.close();
image.setHeight(p.pageBitmapHeight);
image.setWidth(p.pageBitmapWidth);
image.setBpc(1);
image.setColorEncodingComponentsNumber(1);
byte[] globals = sr.getGlobal(true);
if (globals != null) {
Map<String, Object> decodeParms = new HashMap<>();
decodeParms.put("JBIG2Globals", globals);
image.decodeParms = decodeParms;
}
image.setFilter("JBIG2Decode");
image.setColorEncodingComponentsNumber(1);
image.setBpc(1);
image.data = p.getData(true);
} catch (java.io.IOException e) {
throw new IOException(IoExceptionMessageConstant.JBIG2_IMAGE_EXCEPTION, e);
}
}
}
```
|
Shaye Shkarovsky (1891–1945) was a Yiddish author who lived in the Soviet Union. He was a member of the Vidervuks (New Growth) group in and around Kiev.
Shkarovsky was born in Bila Tserkva. His father, Isaac, was a cheder teacher and social activist. Shaye regularly donated to Zionist groups. In 1942 he was evacuated to Ufa during World War II, but was nonetheless killed during the war.
Journalism
Shkarovsky began working in journalism as an 18-year-old, contributing to the Kiev Russian Press and in 1910 in the Kiev Weekly journal, where he wrote 24 articles about Jewish literature. In 1915 he began working for a newspaper in Odessa, and in 1921 he edited a weekly Communist paper, transforming it to a daily paper. He reported from the border with Romania and covered the pogroms that swept across Ukraine, continuing to be an activism journalist well into the 1920s and 1930s.
Books
Shkarovsky published several Yiddish books:
Der Arshter May (Odessa, 1921)
Ragas (Kiev, 1922)
Kayor (Moscow, 1928)
Kolvirt (Kiev, 1931)
In Shniṭ Fun Tsayṭ (Kiev, 1932)Meron (Kharkov, 1934)Odes (Kiev, 1938)Nakhes fun Kinder '' (Kiev, 1938)
References
1891 births
1945 deaths
People from Bila Tserkva
People from Kiev Governorate
Russian Jews
Russian Zionists
Yiddish-language writers
Soviet civilians killed in World War II
|
```java
package com.yahoo.config.codegen;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.io.StringReader;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.util.List;
import static com.yahoo.config.codegen.ConfiggenUtil.createClassName;
import static com.yahoo.config.codegen.JavaClassBuilder.createUniqueSymbol;
import static org.junit.jupiter.api.Assertions.*;
/**
* @author gjoranv
* @author ollivir
*/
public class JavaClassBuilderTest {
private static final String TEST_DIR = "target/test-classes/";
private static final String DEF_NAME = TEST_DIR + "configgen.allfeatures.def";
private static final String REFERENCE_NAME = TEST_DIR + "allfeatures.reference";
@Disabled
@Test
void visual_inspection_of_generated_class() {
final String testDefinition =
"namespace=test\n" + //
"p path\n" + //
"pathArr[] path\n" + //
"u url\n" + //
"urlArr[] url\n" + //
"modelArr[] model\n" + //
"f file\n" + //
"fileArr[] file\n" + //
"i int default=0\n" + //
"# A long value\n" + //
"l long default=0\n" + //
"s string default=\"\"\n" + //
"b bool\n" + //
"# An enum value\n" + //
"e enum {A, B, C}\n" + //
"intArr[] int\n" + //
"boolArr[] bool\n" + //
"enumArr[] enum {FOO, BAR}\n" + //
"intMap{} int\n" + //
"# A struct\n" + //
"# with multi-line\n" + //
"# comment and \"quotes\".\n" + //
"myStruct.i int\n" + //
"myStruct.s string\n" + //
"# An inner array\n" + //
"myArr[].i int\n" + //
"myArr[].newStruct.s string\n" + //
"myArr[].newStruct.b bool\n" + //
"myArr[].intArr[] int\n" + //
"# An inner map\n" + //
"myMap{}.i int\n" + //
"myMap{}.newStruct.s string\n" + //
"myMap{}.newStruct.b bool\n" + //
"myMap{}.intArr[] int\n" + //
"intMap{} int\n";
DefParser parser = new DefParser("test", new StringReader(testDefinition));
InnerCNode root = parser.getTree();
JavaClassBuilder builder = new JavaClassBuilder(root, parser.getNormalizedDefinition(), null, null);
String configClass = builder.getConfigClass("TestConfig");
System.out.print(configClass);
}
@Test
void testCreateUniqueSymbol() {
final String testDefinition =
"namespace=test\n" + //
"m int\n" + //
"n int\n";
InnerCNode root = new DefParser("test", new StringReader(testDefinition)).getTree();
assertEquals("f", createUniqueSymbol(root, "foo"));
assertEquals("na", createUniqueSymbol(root, "name"));
assertTrue(createUniqueSymbol(root, "m").startsWith(ReservedWords.INTERNAL_PREFIX + "m"));
// The basis string is not a legal return value, even if unique, to avoid
// multiple symbols with the same name if the same basis string is given twice.
assertTrue(createUniqueSymbol(root, "my").startsWith(ReservedWords.INTERNAL_PREFIX + "my"));
}
@Test
void testCreateClassName() {
assertEquals("SimpleConfig", createClassName("simple"));
assertEquals("AConfig", createClassName("a"));
assertEquals("ABCConfig", createClassName("a-b-c"));
assertEquals("A12bConfig", createClassName("a-1-2b"));
assertEquals("MyAppConfig", createClassName("my-app"));
assertEquals("MyAppConfig", createClassName("MyApp"));
}
@Test
void testIllegalClassName() {
assertThrows(CodegenRuntimeException.class, () -> {
createClassName("+illegal");
});
}
@Test
void verify_generated_class_against_reference() throws IOException {
String testDefinition = String.join("\n", Files.readAllLines(FileSystems.getDefault().getPath(DEF_NAME)));
List<String> referenceClassLines = Files.readAllLines(FileSystems.getDefault().getPath(REFERENCE_NAME));
DefParser parser = new DefParser("allfeatures", new StringReader(testDefinition));
InnerCNode root = parser.getTree();
JavaClassBuilder builder = new JavaClassBuilder(root, parser.getNormalizedDefinition(), null, null);
String[] configClassLines = builder.getConfigClass("AllfeaturesConfig").split("\n");
for (var line : configClassLines) {
System.out.println(line);
}
for (int i = 0; i < referenceClassLines.size(); i++) {
if (configClassLines.length <= i)
fail("Missing lines in generated config class. First missing line:\n" + referenceClassLines.get(i));
assertEquals(referenceClassLines.get(i), configClassLines[i], "Line " + i);
}
}
}
```
|
Selma Kronold (18 August 1861 — 9 October 1920) was an American operatic soprano and pianist. Her repertoire included more than forty-five operas in three different languages. She took part in the musicals The Magic Melody, or Fortunnio's Song and At the Lower Harbor.
Life and career
Selma Kronold, was born in Kraków to a family with Jewish roots. Her father was Adolph Kronold, her mother was Louise (Hirschberg) Kronold, and she was the sister of cellist Hans Kronold (1872–1922); and a cousin of Polish pianist and composer Moritz Moszkowski. She received her initial training in a convent, according to her own account, where she was also taught her first piano lessons. Moving to Germany, she studied with Arthur Nikisch at the Royal Conservatory in Leipzig and later with Désirée Artôt at the Conservatoire de Paris, where she began her association with conductor Anton Seidl. She subsequently engaged with impresario Angelo Neumann's Wagner Opera Company between 1882 and 1883, when she apparently moved to the United States around 1885, joining the Metropolitan Opera Company. After that she traveled back to Berlin where she studied for two more years, adding about thirty other operas to her repertoire.
In 1890, Kronold married with Dutch-born violinist Jan Koert, but divorced him ten years later due to their conflicting professional careers. She worked for many different opera companies, among them the New American Opera Company, the Damrosch German Opera, Gustav Hinrichs Company, the Italian Opera Company, the Royal Opera House, and The Castle Square Opera Company among others. She retired from the stage life in 1904, shortly after engaging herself in charity work, helping thus found and establish the Catholic Oratorio Society of New York in order to bring understanding and promote oratorios in their religious ideal.
She died of pneumonia on 9 October 1920 and was buried at the Mount Pleasant Cemetery, in Hawthorne, Westchester County, New York, US.
Repertoire
Der Freischütz as Agatha (1877)
Der Trompeter von Säkkingen as Marie (1889)
Carmen as Micaëla (1889)
Cavalleria Rusticana as Santuzza (1891)
Die Walküre as Helmwige (1891)
Guillaume Tell as Mathilde (1891)
Fra Diavolo as Marguerite (1891)
Il trovatore as Leonora (1891)
Martha as Lady Harriet Durham (1891)
La gioconda as La gioconda (1891)
Aida as Aida (1891)
Fidelio as Leonore (1891)
Tannhäuser as Elisabeth (1892) and as Venus (1894)
L'Africaine as Selika (1892)
Don Giovanni as Donna Anna (1892) and as Donna Elvira (1896)
L'amico Fritz as Suzel (1892)
Un ballo in maschera as Amelia (1892)
La juive as Rachel (1892)
Der fliegende Holländer as Senta (1892)
Faust as Marguerite (1892)
Les Huguenots as Valentine (1892)
Le nozze di Figaro as La contessa d’Almaviv (1892)
Lucrezia Borgia as Donna Lucrezia Borgia (1892)
I Pagliatti as Nedda (1893)
Ernani as Elvira (1893)
Götterdämmerung as Gutrune (1894)
Gabriella as Gabriella (1894)
Manon Lescaut as Manon Lescaut (1894)
Lohengrin as Elsa von Brabant (1895)
Hänsel und Gretel as Knusperhexe (1895)
Otello as Desdemona (1896)
Das Rheingold as Woglinde (1899)
At the Lower Harbor as Maria (1900)
The Magic Melody, or Fortunnio's Song'' as (1900)
References
Notes
Footnotes
External links
OPERA IN PHILADELPHIA - PERFORMANCE CHRONOLOGY 1875–1899 Research by John Curtis (1867-1927) — Edited by Frank Hamilton
1861 births
1920 deaths
Musicians from Kraków
19th-century American women opera singers
20th-century American women opera singers
Polish operatic sopranos
University of Music and Theatre Leipzig alumni
Conservatoire de Paris alumni
Deaths from pneumonia in New York City
Emigrants from Congress Poland to the United States
19th-century Polish Jews
Polish emigrants to the United States
|
```javascript
// This is a workaround for path_to_url
require('local-eslint-config/patch/modern-module-resolution');
// This is a workaround for path_to_url
require('local-eslint-config/patch/custom-config-package-names');
module.exports = {
extends: ['local-eslint-config/profile/web-app', 'local-eslint-config/mixins/react'],
parserOptions: { tsconfigRootDir: __dirname }
};
```
|
A basilar skull fracture is a break of a bone in the base of the skull. Symptoms may include bruising behind the ears, bruising around the eyes, or blood behind the ear drum. A cerebrospinal fluid (CSF) leak occurs in about 20% of cases and may result in fluid leaking from the nose or ear. Meningitis occurs in about 14% of cases. Other complications include injuries to the cranial nerves or blood vessels.
A basilar skull fracture typically requires a significant degree of trauma to occur. It is defined as a fracture of one or more of the temporal, occipital, sphenoid, frontal or ethmoid bone. Basilar skull fractures are divided into anterior fossa, middle fossa and posterior fossa fractures. Facial fractures often also occur. Diagnosis is typically by CT scan.
Treatment is generally based on the extent and location of the injury to structures inside the head. Surgery may be performed to seal a CSF leak that does not stop, to relieve pressure on a cranial nerve or repair injury to a blood vessel. Prophylactic antibiotics do not provide a clinical benefit in preventing meningitis. A basilar skull fracture occurs in about 12% of people with a severe head injury.
Signs and symptoms
Battle's sign – bruising of the mastoid process of the temporal bone.
Raccoon eyes – bruising around the eyes, i.e. "black eyes"
Cerebrospinal fluid rhinorrhea
Cranial nerve palsy
Bleeding (sometimes profuse) from the nose and ears
Hemotympanum
Conductive or perceptive deafness, nystagmus, vomiting
In 1–10% of patients, optic nerve entrapment occurs. The optic nerve is compressed by the broken skull bones, causing irregularities in vision.
Serious cases usually result in death
Pathophysiology
Basilar skull fractures include breaks in the posterior skull base or anterior skull base. The former involve the occipital bone, temporal bone, and portions of the sphenoid bone; the latter, superior portions of the sphenoid and ethmoid bones. The temporal bone fracture is encountered in 75% of all basilar skull fractures and may be longitudinal, transverse or mixed, depending on the course of the fracture line in relation to the longitudinal axis of the pyramid.
Bones may be broken around the foramen magnum, the hole in the base of the skull through which the brain stem exits and becomes the spinal cord. This may result in injury to the blood vessels and nerves exiting the foramen magnum.
Due to the proximity of the cranial nerves, injury to those nerves may occur. This can cause loss of function of the facial nerve or oculomotor nerve, or hearing loss due to damage of cranial nerve VIII.
Management
Evidence does not support the use of preventive antibiotics, regardless of the presence of a cerebrospinal fluid leak.
Prognosis
Non-displaced fractures usually heal without intervention. Patients with basilar skull fractures are especially likely to get meningitis. The efficacy of prophylactic antibiotics in these cases is uncertain.
Temporal bone fractures
Acute injury to the internal carotid artery (carotid dissection, occlusion, pseudoaneurysm formation) may be asymptomatic or result in life-threatening bleeding. They are almost exclusively observed when the carotid canal is fractured, although only a minority of carotid canal fractures result in vascular injury. Involvement of the petrous segment of the carotid canal is associated with a relatively high incidence of carotid injury.
Society and culture
Basilar skull fractures are a common cause of death in many motor racing accidents. Drivers who have died as a result of basilar skull fractures include Formula One drivers Ayrton Senna and Roland Ratzenberger; IndyCar drivers Bill Vukovich Sr., Tony Bettenhausen Sr., Floyd Roberts, and Scott Brayton; NASCAR drivers Dale Earnhardt Sr., Adam Petty, Tony Roper, Kenny Irwin Jr., Neil Bonnett, John Nemechek, J. D. McDuffie, and Richie Evans; CART drivers Jovy Marcelo, Greg Moore, and Gonzalo Rodriguez; and ARCA drivers Blaise Alexander and Slick Johnson. Ernie Irvan is a survivor of a basilar skull fracture sustained at an accident during practice at the Michigan International Speedway in 1994. Other race car drivers like Stanley Smith and Rick Carelli also survived a basilar skull fracture.
To prevent basilar skull fractures, many motorsports sanctioning bodies mandate the use of head and neck restraints, such as the HANS device. The HANS device has demonstrated its life-saving abilities multiple times, including Jeff Gordon at the 2006 Pocono 500, Michael McDowell at the Texas Motor Speedway in 2008, Robert Kubica at the 2007 Canadian Grand Prix, and Elliott Sadler at the 2003 EA Sports 500/2010 Sunoco Red Cross Pennsylvania 500. Ever since the mandatory implementation of the HANS device, there has not been a single driver crash-related fatality in NASCAR's national divisions.
References
External links
Injuries of head
Bone fractures
Causes of death
Wikipedia medicine articles ready to translate
|
Myrcia acutissima is a species of plant in the family Myrtaceae. It is endemic to Jamaica.
References
acutissima
Critically endangered plants
Endemic flora of Jamaica
Taxonomy articles created by Polbot
|
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32680_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32680_DMA_H_
#define MAX32_DMA_SLOT_MEMTOMEM 0x00U
#define MAX32_DMA_SLOT_SPI1_RX 0x01U
#define MAX32_DMA_SLOT_UART0_RX 0x04U
#define MAX32_DMA_SLOT_UART1_RX 0x05U
#define MAX32_DMA_SLOT_I2C0_RX 0x07U
#define MAX32_DMA_SLOT_I2C1_RX 0x08U
#define MAX32_DMA_SLOT_ADC 0x09U
#define MAX32_DMA_SLOT_UART2_RX 0x0EU
#define MAX32_DMA_SLOT_SPI0_RX 0x0FU
#define MAX32_DMA_SLOT_UART3_RX 0x1CU
#define MAX32_DMA_SLOT_I2S_RX 0x1EU
#define MAX32_DMA_SLOT_SPI1_TX 0x21U
#define MAX32_DMA_SLOT_UART0_TX 0x24U
#define MAX32_DMA_SLOT_UART1_TX 0x25U
#define MAX32_DMA_SLOT_I2C0_TX 0x27U
#define MAX32_DMA_SLOT_I2C1_TX 0x28U
#define MAX32_DMA_SLOT_CRC 0x2CU
#define MAX32_DMA_SLOT_UART2_TX 0x2EU
#define MAX32_DMA_SLOT_SPI0_TX 0x2FU
#define MAX32_DMA_SLOT_UART3_TX 0x3CU
#define MAX32_DMA_SLOT_I2S_TX 0x3EU
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DMA_MAX32680_DMA_H_ */
```
|
```xml
import {watchOnce} from "@vueuse/core";
import {ref, toRef} from "vue";
/**
* Creates a ref that syncs with its "source" value only once.
* Useful for, for example, showing a loading value on initial load, but not on
* subsequent refreshes.
*/
export default function syncOnce(sourceMaybeRef) {
const sourceRef = toRef(sourceMaybeRef);
const newRef = ref(sourceRef.value);
watchOnce(sourceRef, (newVal) => {
newRef.value = newVal;
});
return newRef;
}
```
|
Mathiesen is a common surname in Denmark and Norway. For other people named Mathiesen, see Mathiesen
Mathiesen is a Norwegian family of Danish origin, whose members have been noted as timber magnates, land-owners and businessmen.
The progenitor is the merchant Jørgen Mathiesen from Copenhagen (died 1656). His grandson Jørgen Mathiesen (1663–1742) settled in Norway, where he became bailiff in Helgeland. His descendants became timber merchants, and were co-owners of Tostrup & Mathiesen from 1842. In 1892, the Tostrup family sold their shares to the Mathiesen family, and the company was renamed Mathiesen Eidsvold Værk. From the 1990s, most of the activities were taken over by Moelven Industrier. The family also owned Linderud Manor in Oslo.
Family members
Haagen Mathiesen (1759–1842), Norwegian timber merchant, ship-owner and politician.
Haaken C. Mathiesen (1827–1913), Norwegian landowner and businessperson
Haaken L. Mathiesen (1858–1930), Norwegian landowner and businessperson
Christian Pierre Mathiesen (1870–1953), Norwegian politician for the Conservative Party
Jørgen Mathiesen (1901–1993), Norwegian landowner and businessperson
References
Literature
Haagen Krog Steffens: Linderud og slegterne Mogensen og Mathiesen, 1899 Fulltekst på NBdigital
Haagen Krog Steffens: Norske Slægter 1912, Gyldendalske Boghandel, Kristiania 1911
Hallvard Trætteberg: «Måne- og stjernevåpen». Meddelelser til slekten Mathiesen, Oslo 1946
Norsk slektskalender, bind 1, Oslo 1949, utgitt av Norsk Slektshistorisk Forening
Andreas Holmsen: Fra Linderud til Eidsvold Værk bind 1 (1946) og bind 2 (1971)
Hans Krag: Norsk heraldisk mønstring fra Fredrik IV’s regjeringstid 1699-1730, Drøbak 1942 – Kristiansand S 1955, side 31 (fogden Jørgen Mathiesens seal from 1715 med våpenkappe i stedet for hjelmklede)
Personalhistorisk Tidsskrift, XIV. Række, 6. Bind, København 1966
Hans Cappelen: Norske slektsvåpen, Oslo 1969 (2nd ed. 1976), p. 165
Herman L. Løvenskiold: Heraldisk nøkkel, Oslo 1978
Harald Nissen and Monica Aase: Segl i Universitetsbiblioteket i Trondheim, Trondheim 1990, side 100 (seglet til fogden Jørgen Mathiesen (død 1742))
Norwegian families
|
```javascript
(function () {
'use strict';
angular.module('ariaNg').controller('TaskDetailController', ['$rootScope', '$scope', '$routeParams', '$interval', 'clipboard', 'aria2RpcErrors', 'ariaNgFileTypes', 'ariaNgCommonService', 'ariaNgSettingService', 'ariaNgMonitorService', 'aria2TaskService', 'aria2SettingService', function ($rootScope, $scope, $routeParams, $interval, clipboard, aria2RpcErrors, ariaNgFileTypes, ariaNgCommonService, ariaNgSettingService, ariaNgMonitorService, aria2TaskService, aria2SettingService) {
var tabStatusItems = [
{
name: 'overview',
show: true
},
{
name: 'pieces',
show: true
},
{
name: 'filelist',
show: true
},
{
name: 'btpeers',
show: true
}
];
var downloadTaskRefreshPromise = null;
var pauseDownloadTaskRefresh = false;
var currentRowTriggeredMenu = null;
var getVisibleTabOrders = function () {
var items = [];
for (var i = 0; i < tabStatusItems.length; i++) {
if (tabStatusItems[i].show) {
items.push(tabStatusItems[i].name);
}
}
return items;
};
var setTabItemShow = function (name, status) {
for (var i = 0; i < tabStatusItems.length; i++) {
if (tabStatusItems[i].name === name) {
tabStatusItems[i].show = status;
break;
}
}
};
var getAvailableOptions = function (status, isBittorrent) {
var keys = aria2SettingService.getAvailableTaskOptionKeys(status, isBittorrent);
return aria2SettingService.getSpecifiedOptions(keys, {
disableRequired: true
});
};
var isShowPiecesInfo = function (task) {
var showPiecesInfoSetting = ariaNgSettingService.getShowPiecesInfoInTaskDetailPage();
if (!task || showPiecesInfoSetting === 'never') {
return false;
}
if (showPiecesInfoSetting === 'le102400') {
return task.numPieces <= 102400;
} else if (showPiecesInfoSetting === 'le10240') {
return task.numPieces <= 10240;
} else if (showPiecesInfoSetting === 'le1024') {
return task.numPieces <= 1024;
}
return true; // showPiecesInfoSetting === 'always'
};
var processTask = function (task) {
if (!task) {
return;
}
$scope.context.showPiecesInfo = isShowPiecesInfo(task);
setTabItemShow('pieces', $scope.context.showPiecesInfo);
setTabItemShow('btpeers', task.status === 'active' && task.bittorrent);
if (!$scope.task || $scope.task.status !== task.status) {
$scope.context.availableOptions = getAvailableOptions(task.status, !!task.bittorrent);
}
if ($scope.task) {
delete $scope.task.verifiedLength;
delete $scope.task.verifyIntegrityPending;
}
$scope.task = ariaNgCommonService.copyObjectTo(task, $scope.task);
$rootScope.taskContext.list = [$scope.task];
$rootScope.taskContext.selected = {};
$rootScope.taskContext.selected[$scope.task.gid] = true;
ariaNgMonitorService.recordStat(task.gid, task);
};
var processPeers = function (peers) {
if (!peers) {
return;
}
if (!ariaNgCommonService.extendArray(peers, $scope.context.btPeers, 'peerId')) {
$scope.context.btPeers = peers;
}
$scope.context.healthPercent = aria2TaskService.estimateHealthPercentFromPeers($scope.task, $scope.context.btPeers);
};
var requireBtPeers = function (task) {
return (task && task.bittorrent && task.status === 'active');
};
var refreshDownloadTask = function (silent) {
if (pauseDownloadTaskRefresh) {
return;
}
var processError = function (message) {
$interval.cancel(downloadTaskRefreshPromise);
};
var includeLocalPeer = true;
var addVirtualFileNode = true;
if (!$scope.task) {
return aria2TaskService.getTaskStatus($routeParams.gid, function (response) {
if (!response.success) {
return processError(response.data.message);
}
var task = response.data;
processTask(task);
if (requireBtPeers(task)) {
aria2TaskService.getBtTaskPeers(task, function (response) {
if (response.success) {
processPeers(response.data);
}
}, silent, includeLocalPeer);
}
}, silent, addVirtualFileNode);
} else {
return aria2TaskService.getTaskStatusAndBtPeers($routeParams.gid, function (response) {
if (!response.success) {
return processError(response.data.message);
}
processTask(response.task);
processPeers(response.peers);
}, silent, requireBtPeers($scope.task), includeLocalPeer, addVirtualFileNode);
}
};
var setSelectFiles = function (silent) {
if (!$scope.task || !$scope.task.files) {
return;
}
var gid = $scope.task.gid;
var selectedFileIndex = [];
for (var i = 0; i < $scope.task.files.length; i++) {
var file = $scope.task.files[i];
if (file && file.selected && !file.isDir) {
selectedFileIndex.push(file.index);
}
}
pauseDownloadTaskRefresh = true;
return aria2TaskService.selectTaskFile(gid, selectedFileIndex, function (response) {
pauseDownloadTaskRefresh = false;
if (response.success) {
refreshDownloadTask(false);
}
}, silent);
};
var setSelectedNode = function (node, value) {
if (!node) {
return;
}
if (node.files && node.files.length) {
for (var i = 0; i < node.files.length; i++) {
var fileNode = node.files[i];
fileNode.selected = value;
}
}
if (node.subDirs && node.subDirs.length) {
for (var i = 0; i < node.subDirs.length; i++) {
var dirNode = node.subDirs[i];
setSelectedNode(dirNode, value);
}
}
node.selected = value;
node.partialSelected = false;
};
var updateDirNodeSelectedStatus = function (node) {
if (!node) {
return;
}
var selectedSubNodesCount = 0;
var partitalSelectedSubNodesCount = 0;
if (node.files && node.files.length) {
for (var i = 0; i < node.files.length; i++) {
var fileNode = node.files[i];
selectedSubNodesCount += (fileNode.selected ? 1 : 0);
}
}
if (node.subDirs && node.subDirs.length) {
for (var i = 0; i < node.subDirs.length; i++) {
var dirNode = node.subDirs[i];
updateDirNodeSelectedStatus(dirNode);
selectedSubNodesCount += (dirNode.selected ? 1 : 0);
partitalSelectedSubNodesCount += (dirNode.partialSelected ? 1 : 0);
}
}
node.selected = (selectedSubNodesCount > 0 && selectedSubNodesCount === (node.subDirs.length + node.files.length));
node.partialSelected = ((selectedSubNodesCount > 0 && selectedSubNodesCount < (node.subDirs.length + node.files.length)) || partitalSelectedSubNodesCount > 0);
};
var updateAllDirNodesSelectedStatus = function () {
if (!$scope.task || !$scope.task.multiDir) {
return;
}
for (var i = 0; i < $scope.task.files.length; i++) {
var node = $scope.task.files[i];
if (!node.isDir) {
continue;
}
updateDirNodeSelectedStatus(node);
}
};
$scope.context = {
currentTab: 'overview',
isEnableSpeedChart: ariaNgSettingService.getDownloadTaskRefreshInterval() > 0,
showPiecesInfo: ariaNgSettingService.getShowPiecesInfoInTaskDetailPage() !== 'never',
showChooseFilesToolbar: false,
fileExtensions: [],
collapsedDirs: {},
btPeers: [],
healthPercent: 0,
collapseTrackers: true,
statusData: ariaNgMonitorService.getEmptyStatsData($routeParams.gid),
availableOptions: [],
options: []
};
$scope.changeTab = function (tabName) {
if (tabName === 'settings') {
$scope.loadTaskOption($scope.task);
}
$scope.context.currentTab = tabName;
};
$rootScope.swipeActions.extendLeftSwipe = function () {
var tabItems = getVisibleTabOrders();
var tabIndex = tabItems.indexOf($scope.context.currentTab);
if (tabIndex < tabItems.length - 1) {
$scope.changeTab(tabItems[tabIndex + 1]);
return true;
} else {
return false;
}
};
$rootScope.swipeActions.extendRightSwipe = function () {
var tabItems = getVisibleTabOrders();
var tabIndex = tabItems.indexOf($scope.context.currentTab);
if (tabIndex > 0) {
$scope.changeTab(tabItems[tabIndex - 1]);
return true;
} else {
return false;
}
};
$scope.changeFileListDisplayOrder = function (type, autoSetReverse) {
if ($scope.task && $scope.task.multiDir) {
return;
}
var oldType = ariaNgCommonService.parseOrderType(ariaNgSettingService.getFileListDisplayOrder());
var newType = ariaNgCommonService.parseOrderType(type);
if (autoSetReverse && newType.type === oldType.type) {
newType.reverse = !oldType.reverse;
}
ariaNgSettingService.setFileListDisplayOrder(newType.getValue());
};
$scope.isSetFileListDisplayOrder = function (type) {
var orderType = ariaNgCommonService.parseOrderType(ariaNgSettingService.getFileListDisplayOrder());
var targetType = ariaNgCommonService.parseOrderType(type);
return orderType.equals(targetType);
};
$scope.getFileListOrderType = function () {
if ($scope.task && $scope.task.multiDir) {
return null;
}
return ariaNgSettingService.getFileListDisplayOrder();
};
$scope.showChooseFilesToolbar = function () {
if (!$scope.context.showChooseFilesToolbar) {
pauseDownloadTaskRefresh = true;
$scope.context.showChooseFilesToolbar = true;
} else {
$scope.cancelChooseFiles();
}
};
$scope.isAnyFileSelected = function () {
if (!$scope.task || !$scope.task.files) {
return false;
}
for (var i = 0; i < $scope.task.files.length; i++) {
var file = $scope.task.files[i];
if (!file.isDir && file.selected) {
return true;
}
}
return false;
};
$scope.isAllFileSelected = function () {
if (!$scope.task || !$scope.task.files) {
return false;
}
for (var i = 0; i < $scope.task.files.length; i++) {
var file = $scope.task.files[i];
if (!file.isDir && !file.selected) {
return false;
}
}
return true;
};
$scope.selectFiles = function (type) {
if (!$scope.task || !$scope.task.files) {
return;
}
if (type === 'auto') {
if ($scope.isAllFileSelected()) {
type = 'none';
} else {
type = 'all';
}
}
for (var i = 0; i < $scope.task.files.length; i++) {
var file = $scope.task.files[i];
if (file.isDir) {
continue;
}
if (type === 'all') {
file.selected = true;
} else if (type === 'none') {
file.selected = false;
} else if (type === 'reverse') {
file.selected = !file.selected;
}
}
updateAllDirNodesSelectedStatus();
};
$scope.chooseSpecifiedFiles = function (type) {
if (!$scope.task || !$scope.task.files || !ariaNgFileTypes[type]) {
return;
}
var files = $scope.task.files;
var extensions = ariaNgFileTypes[type].extensions;
var fileIndexes = [];
var isAllSelected = true;
for (var i = 0; i < files.length; i++) {
var file = files[i];
if (file.isDir) {
continue;
}
var extension = ariaNgCommonService.getFileExtension(file.fileName);
if (extension) {
extension = extension.toLowerCase();
}
if (extensions.indexOf(extension) >= 0) {
fileIndexes.push(i);
if (!file.selected) {
isAllSelected = false;
}
}
}
for (var i = 0; i < fileIndexes.length; i++) {
var index = fileIndexes[i];
var file = files[index];
if (file && !file.isDir) {
file.selected = !isAllSelected;
}
}
updateAllDirNodesSelectedStatus();
};
$scope.saveChoosedFiles = function () {
if ($scope.context.showChooseFilesToolbar) {
$rootScope.loadPromise = setSelectFiles(false);
$scope.context.showChooseFilesToolbar = false;
}
};
$scope.cancelChooseFiles = function () {
if ($scope.context.showChooseFilesToolbar) {
pauseDownloadTaskRefresh = false;
refreshDownloadTask(true);
$scope.context.showChooseFilesToolbar = false;
}
};
$scope.showCustomChooseFileModal = function () {
if (!$scope.task || !$scope.task.files) {
return;
}
var files = $scope.task.files;
var extensionsMap = {};
for (var i = 0; i < files.length; i++) {
var file = files[i];
if (file.isDir) {
continue;
}
var extension = ariaNgCommonService.getFileExtension(file.fileName);
if (extension) {
extension = extension.toLowerCase();
}
var extensionInfo = extensionsMap[extension];
if (!extensionInfo) {
var extensionName = extension;
if (extensionName.length > 0 && extensionName.charAt(0) === '.') {
extensionName = extensionName.substring(1);
}
extensionInfo = {
extension: extensionName,
classified: false,
selected: false,
selectedCount: 0,
unSelectedCount: 0
};
extensionsMap[extension] = extensionInfo;
}
if (file.selected) {
extensionInfo.selected = true;
extensionInfo.selectedCount++;
} else {
extensionInfo.unSelectedCount++;
}
}
var allClassifiedExtensions = {};
for (var type in ariaNgFileTypes) {
if (!ariaNgFileTypes.hasOwnProperty(type)) {
continue;
}
var extensionTypeName = ariaNgFileTypes[type].name;
var allExtensions = ariaNgFileTypes[type].extensions;
var extensions = [];
for (var i = 0; i < allExtensions.length; i++) {
var extension = allExtensions[i];
var extensionInfo = extensionsMap[extension];
if (extensionInfo) {
extensionInfo.classified = true;
extensions.push(extensionInfo);
}
}
if (extensions.length > 0) {
allClassifiedExtensions[type] = {
name: extensionTypeName,
extensions: extensions
};
}
}
var unClassifiedExtensions = [];
for (var extension in extensionsMap) {
if (!extensionsMap.hasOwnProperty(extension)) {
continue;
}
var extensionInfo = extensionsMap[extension];
if (!extensionInfo.classified) {
unClassifiedExtensions.push(extensionInfo);
}
}
if (unClassifiedExtensions.length > 0) {
allClassifiedExtensions.other = {
name: 'Other',
extensions: unClassifiedExtensions
};
}
$scope.context.fileExtensions = allClassifiedExtensions;
angular.element('#custom-choose-file-modal').modal();
};
$scope.setSelectedExtension = function (selectedExtension, selected) {
if (!$scope.task || !$scope.task.files) {
return;
}
var files = $scope.task.files;
for (var i = 0; i < files.length; i++) {
var file = files[i];
if (file.isDir) {
continue;
}
var extension = ariaNgCommonService.getFileExtension(file.fileName);
if (extension) {
extension = extension.toLowerCase();
}
if (extension !== '.' + selectedExtension) {
continue;
}
file.selected = selected;
}
updateAllDirNodesSelectedStatus();
};
$('#custom-choose-file-modal').on('hide.bs.modal', function (e) {
$scope.context.fileExtensions = null;
});
$scope.setSelectedFile = function (updateNodeSelectedStatus) {
if (updateNodeSelectedStatus) {
updateAllDirNodesSelectedStatus();
}
if (!$scope.context.showChooseFilesToolbar) {
setSelectFiles(true);
}
};
$scope.collapseDir = function (dirNode, newValue, forceRecurse) {
var nodePath = dirNode.nodePath;
if (angular.isUndefined(newValue)) {
newValue = !$scope.context.collapsedDirs[nodePath];
}
if (newValue || forceRecurse) {
for (var i = 0; i < dirNode.subDirs.length; i++) {
$scope.collapseDir(dirNode.subDirs[i], newValue);
}
}
if (nodePath) {
$scope.context.collapsedDirs[nodePath] = newValue;
}
};
$scope.collapseAllDirs = function (newValue) {
if (!$scope.task || !$scope.task.files) {
return;
}
for (var i = 0; i < $scope.task.files.length; i++) {
var node = $scope.task.files[i];
if (!node.isDir) {
continue;
}
$scope.collapseDir(node, newValue, true);
}
};
$scope.setSelectedNode = function (dirNode) {
setSelectedNode(dirNode, dirNode.selected);
updateAllDirNodesSelectedStatus();
if (!$scope.context.showChooseFilesToolbar) {
$scope.setSelectedFile(false);
}
};
$scope.changePeerListDisplayOrder = function (type, autoSetReverse) {
var oldType = ariaNgCommonService.parseOrderType(ariaNgSettingService.getPeerListDisplayOrder());
var newType = ariaNgCommonService.parseOrderType(type);
if (autoSetReverse && newType.type === oldType.type) {
newType.reverse = !oldType.reverse;
}
ariaNgSettingService.setPeerListDisplayOrder(newType.getValue());
};
$scope.isSetPeerListDisplayOrder = function (type) {
var orderType = ariaNgCommonService.parseOrderType(ariaNgSettingService.getPeerListDisplayOrder());
var targetType = ariaNgCommonService.parseOrderType(type);
return orderType.equals(targetType);
};
$scope.getPeerListOrderType = function () {
return ariaNgSettingService.getPeerListDisplayOrder();
};
$scope.loadTaskOption = function (task) {
$rootScope.loadPromise = aria2TaskService.getTaskOptions(task.gid, function (response) {
if (response.success) {
$scope.context.options = response.data;
}
});
};
$scope.setOption = function (key, value, optionStatus) {
return aria2TaskService.setTaskOption($scope.task.gid, key, value, function (response) {
if (response.success && response.data === 'OK') {
optionStatus.setSuccess();
} else {
optionStatus.setFailed(response.data.message);
}
}, true);
};
$scope.copySelectedRowText = function () {
if (!currentRowTriggeredMenu) {
return;
}
var name = currentRowTriggeredMenu.find('.setting-key > span').text().trim();
var value = '';
currentRowTriggeredMenu.find('.setting-value > span').each(function (i, element) {
if (i > 0) {
value += '\n';
}
value += angular.element(element).text().trim();
});
if (ariaNgSettingService.getIncludePrefixWhenCopyingFromTaskDetails()) {
var info = name + ': ' + value;
clipboard.copyText(info);
} else {
clipboard.copyText(value);
};
};
if (ariaNgSettingService.getDownloadTaskRefreshInterval() > 0) {
downloadTaskRefreshPromise = $interval(function () {
if ($scope.task && ($scope.task.status === 'complete' || $scope.task.status === 'error' || $scope.task.status === 'removed')) {
$interval.cancel(downloadTaskRefreshPromise);
return;
}
refreshDownloadTask(true);
}, ariaNgSettingService.getDownloadTaskRefreshInterval());
}
$scope.$on('$destroy', function () {
if (downloadTaskRefreshPromise) {
$interval.cancel(downloadTaskRefreshPromise);
}
});
$scope.onOverviewMouseDown = function () {
angular.element('#overview-items .row[contextmenu-bind!="true"]').contextmenu({
target: '#task-overview-contextmenu',
before: function (e, context) {
currentRowTriggeredMenu = context;
}
}).attr('contextmenu-bind', 'true');
};
angular.element('#task-overview-contextmenu').on('hide.bs.context', function () {
currentRowTriggeredMenu = null;
});
$rootScope.loadPromise = refreshDownloadTask(false);
}]);
}());
```
|
```c
/* getopt_long and getopt_long_only entry points for GNU getopt.
Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program 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
along with this program. If not, see <path_to_url */
#ifdef _LIBC
# include <getopt.h>
#else
# include <config.h>
# include "getopt.h"
#endif
#include "getopt_int.h"
#include <stdio.h>
/* This needs to come after some library #include
to get __GNU_LIBRARY__ defined. */
#ifdef __GNU_LIBRARY__
#include <stdlib.h>
#endif
#ifndef NULL
#define NULL 0
#endif
int
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
const struct option *long_options, int *opt_index)
{
return _getopt_internal (argc, (char **) argv, options, long_options,
opt_index, 0, 0);
}
int
_getopt_long_r (int argc, char **argv, const char *options,
const struct option *long_options, int *opt_index,
struct _getopt_data *d)
{
return _getopt_internal_r (argc, argv, options, long_options, opt_index,
0, d, 0);
}
/* Like getopt_long, but '-' as well as '--' can indicate a long option.
If an option that starts with '-' (not '--') doesn't match a long option,
but does match a short option, it is parsed as a short option
instead. */
int
getopt_long_only (int argc, char *__getopt_argv_const *argv,
const char *options,
const struct option *long_options, int *opt_index)
{
return _getopt_internal (argc, (char **) argv, options, long_options,
opt_index, 1, 0);
}
int
_getopt_long_only_r (int argc, char **argv, const char *options,
const struct option *long_options, int *opt_index,
struct _getopt_data *d)
{
return _getopt_internal_r (argc, argv, options, long_options, opt_index,
1, d, 0);
}
#ifdef TEST
#include <stdio.h>
int
main (int argc, char **argv)
{
int c;
int digit_optind = 0;
while (1)
{
int this_option_optind = optind ? optind : 1;
int option_index = 0;
static const struct option long_options[] =
{
{"add", 1, 0, 0},
{"append", 0, 0, 0},
{"delete", 1, 0, 0},
{"verbose", 0, 0, 0},
{"create", 0, 0, 0},
{"file", 1, 0, 0},
{0, 0, 0, 0}
};
c = getopt_long (argc, argv, "abc:d:0123456789",
long_options, &option_index);
if (c == -1)
break;
switch (c)
{
case 0:
printf ("option %s", long_options[option_index].name);
if (optarg)
printf (" with arg %s", optarg);
printf ("\n");
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
if (digit_optind != 0 && digit_optind != this_option_optind)
printf ("digits occur in two different argv-elements.\n");
digit_optind = this_option_optind;
printf ("option %c\n", c);
break;
case 'a':
printf ("option a\n");
break;
case 'b':
printf ("option b\n");
break;
case 'c':
printf ("option c with value '%s'\n", optarg);
break;
case 'd':
printf ("option d with value '%s'\n", optarg);
break;
case '?':
break;
default:
printf ("?? getopt returned character code 0%o ??\n", c);
}
}
if (optind < argc)
{
printf ("non-option ARGV-elements: ");
while (optind < argc)
printf ("%s ", argv[optind++]);
printf ("\n");
}
exit (0);
}
#endif /* TEST */
```
|
```c++
/*
All rights reserved. Use is subject to license terms.
This program is free software; you can redistribute it and/or modify
This program 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
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <signaldata/FsConf.hpp>
bool
printFSCONF(FILE * output, const Uint32 * theData, Uint32 len, Uint16 receiverBlockNo){
const FsConf * const sig = (FsConf *) theData;
fprintf(output, " UserPointer: %d\n", sig->userPointer);
if (len > 1){
// Only valid if this is a FSOPENCONF
fprintf(output, " FilePointer: %d\n", sig->filePointer);
}
return true;
}
```
|
Alonso Xuárez, (16401696), born in Fuensalida, Toledo, Spain, renowned musician of the Spanish Baroque, and a disciple of Tomás Miciezes el mayor in the Convent of Las Descalzas Reales of Madrid. He worked as chapel master in the cathedrals of Cuenca and Seville.
He left a vast catalog of religious music, preserved mainly in the two cathedrals where he worked, but also it is possible to find his works in numerous cathedrals of Spain and in places as scattered as Munich and Mexico City.
He had prestigious disciples, such as the brothers Diego and Sebastián Durón, who acceded to outstanding posts due to his recommendations: the first one chapel master in the Cathedral of Las Palmas and the second as organist in Seville Cathedral.
History
Chapel master in Cuenca Cathedral – First Stage (1664–1675)
Chapel master in Seville Cathedral – (1675–1684)
Chapel master in Cuenca Cathedral – Second Stage (1684–1696)
References
Bibliography
de la Fuente Charfolé, José Luis. "Nuevos hallazgos documentales y biográficos sobre Alonso Xuárez maestro de Sebastián Durón". Anuario musical 67 (2012): 3–18.
Martínez Millán, Miguel. Historia musical de la Catedral de Cuenca. Serie Música. Cuenca: Diputación Provincial, 1988.
Navarro Gonzalo, Restituto, Antonio Iglesias, Manuel Angulo, e Instituto de Música Religiosa. Catálogo Musical del Archivo de la Santa Iglesia Catedral Basílica De Cuenca. Publicaciones del Instituto de Música Religiosa de la Excma. Diputación Provincial de Cuenca. 2ª ed. Cuenca: Instituto de Música Religiosa, 1973.
Navarro Gonzalo, Restituto, Miguel Martínez Millán, Antonio Iglesias, y Jesús López Cobos: Polifonía de la Santa Iglesia Catedral Basílica De Cuenca. Cuenca: Instituto de Música Religiosa, 1970.
Stevenson, Robert: «Xuares [Juárez], Alonso» in The New Grove Dictionary of Music and Musicians, ed. by Stanley Sadie. Londres: Macmillan, 2001 [1980].
External links
Alonso Xuárez Project site , University of Valladolid.
1640 births
1696 deaths
Spanish Baroque composers
Spanish male classical composers
17th-century classical composers
17th-century male musicians
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var naryFunction = require( '@stdlib/utils/nary-function' );
var abs2 = require( '@stdlib/math/base/special/abs2' );
var map4d = require( './../lib' );
function fill( n ) {
if ( n > 0 ) {
return array;
}
return values;
function array() {
return filledarrayBy( 2, 'generic', fill( n-1 ) );
}
function values( i ) {
var rand = discreteUniform( -10*(i+1), 10*(i+1) );
return filledarrayBy( 10, 'generic', rand );
}
}
// Create a four-dimensional nested array:
var x = filledarrayBy( 2, 'generic', fill( 2 ) );
// Create an explicit unary function:
var f = naryFunction( abs2, 1 );
// Compute the element-wise squared absolute value...
var y = map4d( x, f );
console.log( 'x:' );
console.log( JSON.stringify( x, null, ' ' ) );
console.log( 'y:' );
console.log( JSON.stringify( y, null, ' ' ) );
```
|
Vaz-e Tangeh (, also Romanized as Vāz-e Tangeh) is a village in Natel-e Restaq Rural District, Chamestan District, Nur County, Mazandaran Province, Iran. At the 2006 census, its population was 236, in 60 families.
References
Populated places in Nur County
|
TZ or tz may refer to:
Arts and media:
The Twilight Zone, an American television anthology series
Terezi Pyrope, a character from the webcomic Homestuck, frequently called "TZ" by her friend Sollux.
Tz (newspaper), a German tabloid newspaper from Munich
Places:
Tappan Zee Bridge, New York, US
Tappan Zee High School, a public high school in Orangeburg, New York, US
Tanzania (ISO 3166-1 alpha-2 country code TZ)
Science and technology:
.tz, the country code top level domain (ccTLD) for Tanzania
Time zone, a geographic region which uses a common clock time
Tz database, also called zoneinfo or IANA Time Zone Database, a compilation of information about the world's time zones
Saxitoxin, a chemical weapon with designation TZ in the US military
Sony Vaio TZ, a model of personal computer
Transformation Zone, a term used in cervical cancer therapy, the area of the cervix where dysplasia and abnormal cell growth occur
TrustZone, a security extension to the Arm architecture of CPUs, implementing a type of Trusted Execution Environment.
Other uses:
tz, a digraph in linguistics, pronounced
ATA Airlines (1973-2008, IATA airline code TZ)
Scoot (2012-present, IATA airline code TZ until 2017)
|
You Xiaodi and Zhu Lin were the defending champions, but chose not to participate.
Monique Adamczak and Nicole Melichar won the title, defeating Georgia Brescia and Tamara Zidanšek in the final, 6–1, 6–2.
Seeds
Draw
References
Draw
Launceston Tennis International - Doubles
|
The Netherlands Philharmonic Orchestra (NedPhO; ) is a Dutch symphony orchestra based in Amsterdam.
History
The NedPhO was formed in 1985 from the merger of three orchestras: the Amsterdam Philharmonic Orchestra, the Utrecht Symphony Orchestra Utrecht and the Netherlands Chamber Orchestra. The Netherlands Chamber Orchestra (, NKO) continues to give concerts under its own name, with both it and the NedPhO as part of the Netherlands Philharmonic Orchestra Foundation (), which is headquartered in Amsterdam. The NedPhO Foundation comprises the largest orchestra organisation in the Netherlands, with 130 musicians on staff.
Since 2012, both the NedPhO and the NKO rehearse at the NedPho Koepel, a former church converted into a dedicated rehearsal space in eastern Amsterdam. The NedPhO gives concerts in Amsterdam at the Concertgebouw. In addition, the NedPhO currently serves as the principal orchestra for productions at Dutch National Opera (DNO). The NedPhO had given a concert series at the Beurs van Berlage until 2002, when budget cuts led to the end of that series. Since 2005-06, the NedPhO also gives a series of concerts at the Muziekcentrum Vredenburg in Utrecht.
The chief conductor of the NedPhO also serves as chief conductor of the NKO. Hartmut Haenchen was the first chief conductor of the NedPhO, from 1985 to 2002. He continues to work with the orchestra as a guest conductor. Yakov Kreizberg succeeded Haenchen as chief conductor of the NedPhO and the NKO in 2003, holding both posts until his death in March 2011, the year that he had been scheduled to step down from both posts. In March 2009, the NedPhO announced the appointment of Marc Albrecht as the orchestra's third chief conductor, effective with the 2011-2012 season, for an initial contract of 4 years. With Albrecht's parallel appointment as chief conductor of DNO, this arrangement allows for the NedPhO to serve as the principal opera orchestra for DNO. In May 2016, the NedPhO announced the extension of Albrecht's contract through the 2019-2020 season. Albrecht concluded his chief conductorships of the NedPhO and the NKO at the close of the 2019-2020 season.
In February 2018, Lorenzo Viotti first guest-conducted the NedPhO. In April 2019, the NedPhO announced the appointment of Viotti as its next chief conductor, effective with the 2020-2021 season. In April 2023, the NedPhO announced the scheduled conclusion of Viotti's tenure as its chief conductor at the close of the 2024-2025 season.
The Netherlands Philharmonic Orchestra has made a number of recordings for Pentatone, ICA Classics, Tacet, Brilliant Classics and others.
Chief Conductors
Hartmut Haenchen (1985–2002)
Yakov Kreizberg (2003–2011)
Marc Albrecht (2011–2020)
Lorenzo Viotti (2021-present)
Selected discography
Gustav Mahler - Symphony No. 5; Hartmut Haenchen, conductor. PENTATONE PTC 5186004 (2002).
Antonín Dvořák - New World Symphony & Tchaikovsky - "Romeo and Juliet" Overture; Yakov Kreizberg, conductor. PENTATONE PTC 5186019 (2003).
Franz Schmidt - Symphony No. 4 & Orchestral music from Notre Dame; Yakov Kreizberg, conductor. PENTATONE PTC 5186015 (2003).
Richard Wagner - Preludes & Overtures; Yakov Kreizberg, conductor. PENTATONE PTC 5186041 (2004).
Johannes Brahms - Violin Concerto & Double Concerto for Violin and Cello. Julia Fischer, Daniel Müller-Schott; Yakov Kreizberg, conductor. PENTATONE PTC 5186066 (2007).
Antonín Dvořák - Symphony No. 8; Holoubek, Op. 110; Polednice, Op. 108. Yakov Kreizberg, conductor. PENTATONE PTC 5186065 (2007).
Tour de France musicale. - Works by Maurice Ravel, Gabriel Fauré, Claude Debussy; Yakov Kreizberg, conductor. PENTATONE PTC 5186058 (2005).
Richard Wagner - Preludes & Overtures; Yakov Kreizberg, conductor. PENTATONE PTC 5186041 (2004).
In Memoriam Yakov Kreizberg. Works by Antonín Dvořák, Claude Debussy, Richard Wagner, Franz Schmidt, Johann Strauss Jr.; Julia Fischer, Yakov Kreizberg, conductor; Wiener Symphoniker, Russian National Orchestra. PENTATONE PTC 5186461 (2012).
Gustav Mahler - Das Lied von der Erde. Alice Coote, Burkhard Fritz; Marc Albrecht, conductor. PENTATONE PTC 5186502 (2013).
Mahler Song Cycles. Alice Coote; Marc Albrecht, conductor. PENTATONE PTC 5186576 (2017).
Johannes Brahms - Piano Quartet Op. 25 (arr. Schönberg) & Arnold Schönberg - Begleitungsmusik zu einer Lichtspielscene. Marc Albrecht, conductor. PENTATONE PTC 5186398 (2015).
Gustav Mahler - Symphony No. 4. Elizabeth Watts; Marc Albrecht, conductor. PENTATONE PTC 5186487 (2015).
Richard Strauss - Burleske / Ein Heldenleben. Denis Kozhukhin; Marc Albrecht, conductor. PENTATONE PTC 5186617 (2018).
Zemlinsky - Die Seejungfrau. Marc Albrecht, Netherlands Philharmonic Orchestra. PENTATONE PTC 5186740 (2020).
References
External links
Official website of the Netherlands Philharmonic Orchestra and the Netherlands Chamber Orchestra
Dutch symphony orchestras
Musical groups established in 1985
1985 establishments in the Netherlands
|
```c
/* For putenv(). */
#define _SVID_SOURCE
#define _XOPEN_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
static const char *const real_exec = "/usr/sbin/chown";
static void printErr()
{
fprintf(stderr, "\"%s\" wrapper error: %s (code %d)\n",
real_exec, strerror(errno), errno);
exit(EXIT_FAILURE);
}
int main(int argc, char *argv[])
{
int i, j;
char **new_argv;
extern char **environ;
if (argc > 1)
argc = 1;
new_argv = malloc(sizeof(*new_argv) * (argc + 5));
j = 0;
new_argv[j++] = "chown";
new_argv[j++] = "-R";
for (i = 1; i <= argc; ++i)
new_argv[j++] = argv[i];
new_argv[j++] = "@WINEPREFIX@";
new_argv[j++] = "@ASSETS@";
new_argv[j++] = 0;
execve(real_exec, new_argv, environ);
printErr();
return 0;
}
```
|
```verilog
////////////////////////////////////////////////////////////////////////////////
//
// Filename: fwb_master.v
// {{{
// Project: Zip CPU -- a small, lightweight, RISC CPU soft core
//
// Purpose: This file describes the rules of a wishbone interaction from the
// perspective of a wishbone master. These formal rules may be
// used with SymbiYosys to *prove* that the master properly handles
// outgoing transactions and incoming responses.
//
// This module contains no functional logic. It is intended for formal
// verification only. The outputs returned, the number of requests that
// have been made, the number of acknowledgements received, and the number
// of outstanding requests, are designed for further formal verification
// purposes *only*.
//
// This file is different from a companion formal_slave.v file in that the
// assertions are made on the outputs of the wishbone master: o_wb_cyc,
// o_wb_stb, o_wb_we, o_wb_addr, o_wb_data, and o_wb_sel, while only
// assumptions are made about the inputs: i_wb_stall, i_wb_ack, i_wb_data,
// i_wb_err. In the formal_slave.v, assumptions are made about the
// slave inputs (the master outputs), and assertions are made about the
// slave outputs (the master inputs).
//
// In order to make it easier to compare the slave against the master,
// assumptions with respect to the slave have been marked with the
// `SLAVE_ASSUME macro. Similarly, assertions the slave would make have
// been marked with `SLAVE_ASSERT. This allows the master to redefine
// these two macros to be from his perspective, and therefore the
// diffs between the two files actually show true differences, rather
// than just these differences in perspective.
//
//
// Creator: Dan Gisselquist, Ph.D.
// Gisselquist Technology, LLC
//
////////////////////////////////////////////////////////////////////////////////
// }}}
// {{{
// This program is free software (firmware): you can redistribute it and/or
// your option) any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
// for more details.
//
// with this program. (It's in the $(ROOT)/doc directory. Run make with no
// target there if the PDF file isn't present.) If not, see
// <path_to_url for a copy.
// }}}
// {{{
// path_to_url
//
////////////////////////////////////////////////////////////////////////////////
//
//
`default_nettype none
// }}}
module fwb_master #(
// {{{
parameter AW=32, DW=32,
parameter F_MAX_STALL = 0,
F_MAX_ACK_DELAY = 0,
parameter F_LGDEPTH = 4,
parameter [(F_LGDEPTH-1):0] F_MAX_REQUESTS = 0,
// OPT_BUS_ABORT: If true, the master can drop CYC at any time
// and must drop CYC following any bus error
parameter [0:0] OPT_BUS_ABORT = 1'b1,
//
// If true, allow the bus to be kept open when there are no
// outstanding requests. This is useful for any master that
// might execute a read modify write cycle, such as an atomic
// add.
parameter [0:0] F_OPT_RMW_BUS_OPTION = 1,
//
//
// If true, allow the bus to issue multiple discontinuous
// requests.
// Unlike F_OPT_RMW_BUS_OPTION, these requests may be issued
// while other requests are outstanding
parameter [0:0] F_OPT_DISCONTINUOUS = 1,
//
//
// If true, insist that there be a minimum of a single clock
// delay between request and response. This defaults to off
// since the wishbone specification specifically doesn't
// require this. However, some interfaces do, so we allow it
// as an option here.
parameter [0:0] F_OPT_MINCLOCK_DELAY = 0,
//
//
//
localparam [(F_LGDEPTH-1):0] MAX_OUTSTANDING
= {(F_LGDEPTH){1'b1}},
localparam MAX_DELAY = (F_MAX_STALL > F_MAX_ACK_DELAY)
? F_MAX_STALL : F_MAX_ACK_DELAY,
localparam DLYBITS= (MAX_DELAY < 4) ? 2
: (MAX_DELAY >= 65536) ? 32
: $clog2(MAX_DELAY+1),
//
parameter [0:0] F_OPT_SHORT_CIRCUIT_PROOF = 0,
//
// If this is the source of a request, then we can assume STB and CYC
// will initially start out high. Master interfaces following the
// source on the way to the slave may not have this property
parameter [0:0] F_OPT_SOURCE = 0
//
//
// }}}
) (
// {{{
input wire i_clk, i_reset,
// The Wishbone bus
input wire i_wb_cyc, i_wb_stb, i_wb_we,
input wire [(AW-1):0] i_wb_addr,
input wire [(DW-1):0] i_wb_data,
input wire [(DW/8-1):0] i_wb_sel,
//
input wire i_wb_ack,
input wire i_wb_stall,
input wire [(DW-1):0] i_wb_idata,
input wire i_wb_err,
// Some convenience output parameters
output reg [(F_LGDEPTH-1):0] f_nreqs, f_nacks,
output wire [(F_LGDEPTH-1):0] f_outstanding
// }}}
);
`define SLAVE_ASSUME assert
`define SLAVE_ASSERT assume
//
// Let's just make sure our parameters are set up right
// {{{
initial assert(F_MAX_REQUESTS < {(F_LGDEPTH){1'b1}});
// }}}
// f_request
// {{{
// Wrap the request line in a bundle. The top bit, named STB_BIT,
// is the bit indicating whether the request described by this vector
// is a valid request or not.
//
localparam STB_BIT = 2+AW+DW+DW/8-1;
wire [STB_BIT:0] f_request;
assign f_request = { i_wb_stb, i_wb_we, i_wb_addr, i_wb_data, i_wb_sel };
// }}}
// f_past_valid and i_reset
// {{{
// A quick register to be used later to know if the $past() operator
// will yield valid result
reg f_past_valid;
initial f_past_valid = 1'b0;
always @(posedge i_clk)
f_past_valid <= 1'b1;
always @(*)
if (!f_past_valid)
`SLAVE_ASSUME(i_reset);
// }}}
////////////////////////////////////////////////////////////////////////
//
// Assertions regarding the initial (and reset) state
// {{{
////////////////////////////////////////////////////////////////////////
//
//
//
// Assume we start from a reset condition
initial assert(i_reset);
initial `SLAVE_ASSUME(!i_wb_cyc);
initial `SLAVE_ASSUME(!i_wb_stb);
//
initial `SLAVE_ASSERT(!i_wb_ack);
initial `SLAVE_ASSERT(!i_wb_err);
`ifdef VERIFIC
always @(*)
if (!f_past_valid)
begin
`SLAVE_ASSUME(!i_wb_cyc);
`SLAVE_ASSUME(!i_wb_stb);
//
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
end
`endif
always @(posedge i_clk)
if ((!f_past_valid)||($past(i_reset)))
begin
`SLAVE_ASSUME(!i_wb_cyc);
`SLAVE_ASSUME(!i_wb_stb);
//
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
end
always @(*)
if (!f_past_valid)
`SLAVE_ASSUME(!i_wb_cyc);
// }}}
////////////////////////////////////////////////////////////////////////
//
// Bus requests
// {{{
////////////////////////////////////////////////////////////////////////
//
//
// Following any bus error, the CYC line should be dropped to abort
// the transaction
always @(posedge i_clk)
if (f_past_valid && OPT_BUS_ABORT && $past(i_wb_err)&& $past(i_wb_cyc))
`SLAVE_ASSUME(!i_wb_cyc);
always @(*)
if (!OPT_BUS_ABORT && !i_reset && (f_nreqs != f_nacks))
`SLAVE_ASSUME(i_wb_cyc);
always @(posedge i_clk)
if (f_past_valid && !OPT_BUS_ABORT
&& $past(!i_reset && i_wb_stb && i_wb_stall))
`SLAVE_ASSUME(i_wb_cyc);
// STB can only be true if CYC is also true
always @(*)
if (i_wb_stb)
`SLAVE_ASSUME(i_wb_cyc);
// If a request was both outstanding and stalled on the last clock,
// then nothing should change on this clock regarding it.
always @(posedge i_clk)
if ((f_past_valid)&&(!$past(i_reset))&&($past(i_wb_stb))
&&($past(i_wb_stall))&&(i_wb_cyc))
begin
`SLAVE_ASSUME(i_wb_stb);
`SLAVE_ASSUME(i_wb_we == $past(i_wb_we));
`SLAVE_ASSUME(i_wb_addr == $past(i_wb_addr));
`SLAVE_ASSUME(i_wb_sel == $past(i_wb_sel));
if (i_wb_we)
`SLAVE_ASSUME(i_wb_data == $past(i_wb_data));
end
// Within any series of STB/requests, the direction of the request
// may not change.
always @(posedge i_clk)
if ((f_past_valid)&&($past(i_wb_stb))&&(i_wb_stb))
`SLAVE_ASSUME(i_wb_we == $past(i_wb_we));
// Within any given bus cycle, the direction may *only* change when
// there are no further outstanding requests.
always @(posedge i_clk)
if ((f_past_valid)&&(f_outstanding > 0))
`SLAVE_ASSUME(i_wb_we == $past(i_wb_we));
// Write requests must also set one (or more) of i_wb_sel
//
// This test has been removed since down-sizers (taking bus from width
// DW to width dw < DW) might actually create empty requests that this
// would prevent. Re-enabling it would also complicate AXI to WB
// transfers, since AXI explicitly allows WSTRB == 0. Finally, this
// criteria isn't found in the WB spec--so while it might be a good
// idea to check, in hind sight there are too many exceptions to be
// dogmatic about it.
//
// always @(*)
// if ((i_wb_stb)&&(i_wb_we))
// `SLAVE_ASSUME(|i_wb_sel);
// }}}
////////////////////////////////////////////////////////////////////////
//
// Bus responses
// {{{
////////////////////////////////////////////////////////////////////////
//
//
// If CYC was low on the last clock, then both ACK and ERR should be
// low on this clock.
always @(posedge i_clk)
if ((f_past_valid)&&(!$past(i_wb_cyc))&&(!i_wb_cyc))
begin
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
// Stall may still be true--such as when we are not
// selected at some arbiter between us and the slave
end
//
// Any time the CYC line drops, it is possible that there may be a
// remaining (registered) ACK or ERR that hasn't yet been returned.
// Restrict such out of band returns so that they are *only* returned
// if there is an outstanding operation.
//
// Update: As per spec, WB-classic to WB-pipeline conversions require
// that the ACK|ERR might come back on the same cycle that STB
// is low, yet also be registered. Hence, if STB & STALL are true on
// one cycle, then CYC is dropped, ACK|ERR might still be true on the
// cycle when CYC is dropped
always @(posedge i_clk)
if ((f_past_valid)&&(!$past(i_reset))&&($past(i_wb_cyc))&&(!i_wb_cyc))
begin
// Note that, unlike f_outstanding, f_nreqs and f_nacks are both
// registered. Hence, we can check here if a response is still
// pending. If not, no response should be returned.
if (f_nreqs == f_nacks)
begin
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
end
end
// ACK and ERR may never both be true at the same time
always @(*)
`SLAVE_ASSERT((!i_wb_ack)||(!i_wb_err));
// }}}
////////////////////////////////////////////////////////////////////////
//
// Stall checking
// {{{
////////////////////////////////////////////////////////////////////////
//
//
generate if (F_MAX_STALL > 0)
begin : MXSTALL
//
// Assume the slave cannnot stall for more than F_MAX_STALL
// counts. We'll count this forward any time STB and STALL
// are both true.
//
reg [(DLYBITS-1):0] f_stall_count;
initial f_stall_count = 0;
always @(posedge i_clk)
if ((!i_reset)&&(i_wb_stb)&&(i_wb_stall))
f_stall_count <= f_stall_count + 1'b1;
else
f_stall_count <= 0;
always @(*)
if (i_wb_cyc)
`SLAVE_ASSERT(f_stall_count < F_MAX_STALL);
end endgenerate
// }}}
////////////////////////////////////////////////////////////////////////
//
// Maximum delay in any response
// {{{
////////////////////////////////////////////////////////////////////////
//
//
generate if (F_MAX_ACK_DELAY > 0)
begin : MXWAIT
//
// Assume the slave will respond within F_MAX_ACK_DELAY cycles,
// counted either from the end of the last request, or from the
// last ACK received
//
reg [(DLYBITS-1):0] f_ackwait_count;
initial f_ackwait_count = 0;
always @(posedge i_clk)
if ((!i_reset)&&(i_wb_cyc)&&(!i_wb_stb)
&&(!i_wb_ack)&&(!i_wb_err)
&&(f_outstanding > 0))
f_ackwait_count <= f_ackwait_count + 1'b1;
else
f_ackwait_count <= 0;
always @(*)
if ((!i_reset)&&(i_wb_cyc)&&(!i_wb_stb)
&&(!i_wb_ack)&&(!i_wb_err)
&&(f_outstanding > 0))
`SLAVE_ASSERT(f_ackwait_count < F_MAX_ACK_DELAY);
end endgenerate
// }}}
////////////////////////////////////////////////////////////////////////
//
// Count outstanding requests vs acknowledgments
// {{{
////////////////////////////////////////////////////////////////////////
//
//
// Count the number of requests that have been received
//
initial f_nreqs = 0;
always @(posedge i_clk)
if ((i_reset)||(!i_wb_cyc))
f_nreqs <= 0;
else if ((i_wb_stb)&&(!i_wb_stall))
f_nreqs <= f_nreqs + 1'b1;
//
// Count the number of acknowledgements that have been returned
//
initial f_nacks = 0;
always @(posedge i_clk)
if (i_reset)
f_nacks <= 0;
else if (!i_wb_cyc)
f_nacks <= 0;
else if ((i_wb_ack)||(i_wb_err))
f_nacks <= f_nacks + 1'b1;
//
// The number of outstanding requests is the difference between
// the number of requests and the number of acknowledgements
//
assign f_outstanding = (i_wb_cyc) ? (f_nreqs - f_nacks):0;
always @(*)
if ((i_wb_cyc)&&(F_MAX_REQUESTS > 0))
begin
if (i_wb_stb)
begin
`SLAVE_ASSUME(f_nreqs < F_MAX_REQUESTS);
end else
`SLAVE_ASSUME(f_nreqs <= F_MAX_REQUESTS);
`SLAVE_ASSERT(f_nacks <= f_nreqs);
assert(f_outstanding < MAX_OUTSTANDING);
end else
assume(f_outstanding < MAX_OUTSTANDING);
always @(*)
if ((i_wb_cyc)&&(f_outstanding == 0))
begin
// If nothing is outstanding, then there should be
// no acknowledgements ... however, an acknowledgement
// *can* come back on the same clock as the stb is
// going out.
if (F_OPT_MINCLOCK_DELAY)
begin
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
end else begin
`SLAVE_ASSERT((!i_wb_ack)||((i_wb_stb)&&(!i_wb_stall)));
// The same is true of errors. They may not be
// created before the request gets through
`SLAVE_ASSERT((!i_wb_err)||((i_wb_stb)&&(!i_wb_stall)));
end
end else if (!i_wb_cyc && f_nacks == f_nreqs)
begin
`SLAVE_ASSERT(!i_wb_ack);
`SLAVE_ASSERT(!i_wb_err);
end
// }}}
////////////////////////////////////////////////////////////////////////
//
// Bus direction
// {{{
////////////////////////////////////////////////////////////////////////
//
//
generate if (!F_OPT_RMW_BUS_OPTION)
begin
// If we aren't waiting for anything, and we aren't issuing
// any requests, then then our transaction is over and we
// should be dropping the CYC line.
always @(*)
if (f_outstanding == 0)
`SLAVE_ASSUME((i_wb_stb)||(!i_wb_cyc));
// Not all masters will abide by this restriction. Some
// masters may wish to implement read-modify-write bus
// interactions. These masters need to keep CYC high between
// transactions, even though nothing is outstanding. For
// these busses, turn F_OPT_RMW_BUS_OPTION on.
end endgenerate
// }}}
////////////////////////////////////////////////////////////////////////
//
// Discontinuous request checking
// {{{
////////////////////////////////////////////////////////////////////////
//
//
generate if ((!F_OPT_DISCONTINUOUS)&&(!F_OPT_RMW_BUS_OPTION))
begin : INSIST_ON_NO_DISCONTINUOUS_STBS
// Within my own code, once a request begins it goes to
// completion and the CYC line is dropped. The master
// is not allowed to raise STB again after dropping it.
// Doing so would be a *discontinuous* request.
//
// However, in any RMW scheme, discontinuous requests are
// necessary, and the spec doesn't disallow them. Hence we
// make this check optional.
always @(posedge i_clk)
if ((f_past_valid)&&($past(i_wb_cyc))&&(!$past(i_wb_stb)))
`SLAVE_ASSUME(!i_wb_stb);
end endgenerate
// }}}
////////////////////////////////////////////////////////////////////////
//
// Master only checks
// {{{
////////////////////////////////////////////////////////////////////////
//
//
generate if (F_OPT_SHORT_CIRCUIT_PROOF)
begin
// In many ways, we don't care what happens on the bus return
// lines if the cycle line is low, so restricting them to a
// known value makes a lot of sense.
//
// On the other hand, if something above *does* depend upon
// these values (when it shouldn't), then we might want to know
// about it.
//
//
always @(posedge i_clk)
begin
if (!i_wb_cyc)
begin
assume(!i_wb_stall);
assume($stable(i_wb_idata));
end else if ((!$past(i_wb_ack))&&(!i_wb_ack))
assume($stable(i_wb_idata));
end
end endgenerate
generate if (F_OPT_SOURCE)
begin : SRC
// Any opening bus request starts with both CYC and STB high
// This is true for the master only, and more specifically
// only for those masters that are the initial source of any
// transaction. By the time an interaction gets to the slave,
// the CYC line may go high or low without actually affecting
// the STB line of the slave.
always @(posedge i_clk)
if ((f_past_valid)&&(!$past(i_wb_cyc))&&(i_wb_cyc))
`SLAVE_ASSUME(i_wb_stb);
end endgenerate
// }}}
// Keep Verilator happy
// {{{
// Verilator lint_off UNUSED
wire unused;
assign unused = &{ 1'b0, f_request };
// Verilator lint_on UNUSED
// }}}
endmodule
`undef SLAVE_ASSUME
`undef SLAVE_ASSERT
```
|
The 1993–94 season was Sport Lisboa e Benfica's 90th season in existence and the club's 60th consecutive season in the top flight of Portuguese football. It involved Benfica competing in the Primeira Divisão and the Taça de Portugal. Benfica qualified for the European Cup Winners' Cup by winning previous Portuguese Cup. It covers the period between 1 July 1993 to 30 June 1994.
The season was marked by the events in his pre-season, as the club only made three signings. More importantly, however, the club lost regular starter Paulo Sousa and common substitute António Pacheco to Sporting CP due to unpaid salaries. Expectations around Benfica were not high, as Sporting and Porto were deemed the main contenders. After a poor start, however, a six-game winning streak granted them the top position in the league table. After going 15 league games unbeaten, a loss in April at Salgueiros and a draw at home against Estrela da Amadora made it necessary to win at the Estádio José Alvalade to retain their first-place position; a hat-trick from João Pinto in a 6–3 win put the title only six points away. On 25 May, a win over Gil Vicente ended the title race, with the club winning a record 30th league title.
Season summary
The season that celebrated its 90th anniversary was also one of the club most tumultuous periods in recent history. In the summer, Paulo Sousa, João Pinto and António Pacheco unilaterally terminated their contracts, claiming unpaid salaries. While Pinto was successfully resigned with a pay increase, both Sousa and Pacheco never went back on their decision, subsequently moving to Lisbon rivals Sporting CP.
Sousa had been a frequent starter for Benfica, playing 35 games in the previous season and having joined the club as a 16-year-old. Pacheco was utilized more as a substitute, but had still amassed over 160 league games for Benfica. The players' "betrayal" and the increase in tension between the old rivals was labelled "Hot Summer of 1993", a clever throwback to the troubled times of the PREC, the post revolution in 1975.
With almost no new signings, and having lost Sousa, Pacheco and Paulo Futre, the team led by Toni was not seen as favourite in the title race. The season opened with the 1993 Supertaça Cândido de Oliveira, and with a win for both sides, a third match would be necessary. In the league, Benfica started by sharing points with Porto in O Clássico, but then tied again against much easier opponents, like Estoril and Beira-Mar; both clubs that played a crucial role in the previous season's title race. On the late part of September, the first win in the Primeira Liga kick-started a series of consecutive wins that helped the club climb from eighth in the league to first. A big loss in Setúbal served as warning, with the Lisbon-side then adding more consecutive wins, opening a three-point gap by the New Year.
In the first month of 1994, the club lost points against Gil Vicente and was eliminated from the Taça de Portugal by Belenenses, though this was not enough to stop their momentum, continuing to defend their first place with consecutive wins. In early March, with successive draws in the league and a hard-fought 4–4 draw in the quarter-finals of the Cup Winners' Cup, the club look like would be surpass by Sporting on the title race, with the distance now reduced to just one point. A loss against Salgueiros in April put both clubs equal on points, while in the European stage, the club was defeated by Parma in the semi-finals.
Benfica entered the Derby de Lisboa on 14 May with just a one-point advantage in the league table, knowing that a loss would cost them first place. João Pinto had one of his best performances with Benfica, scoring a hat-trick that effectively ended the title race in his club's favour. Only a few days later, away against Braga, the club secured its 30th league title, celebrating with the fans at the sold out Estádio Primeiro de Maio.
Carlos Mozer, an undisputed starter during the season, narrated the events in the club almanac: "We won the title with great difficulty, because Sporting had a young but good team, while Porto had the experience. At Benfica, our squad was strong. There were veterans like William, Veloso and Isaías, that taught the younger ones, like Rui Costa or João Pinto; who still had the will and pace to run all game. The coach was Toni, who I knew back from 1989. Benfica did not start well, and amassed three straight draws. Then he started winning in a awful manner. We did not play well, but we were winning games, until the notorious game in Alvalade, the 6–3. Everybody said that Sporting was going to win, because they had a younger team, and we were older; so we would not endure the difficult terrain. When everything looked like to be on their favour; we, with great calm and experience, reversed the game with a great performance from João Pinto. In that season, I also remember the campaign in the Cup Winners' Cup. We reach the semi-finals, after that crazy 4–4 in Leverkusen. We were drawn against Parma, and the Italians were always difficult. We won in the Estádio da Luz, but there, in Italy; I was sent-off early, on the 20th minute, with a double yellow. The first was fair, the second was not. If with eleven players was already hard, with one less, it was even harder."
Competitions
Overall record
Supertaça Cândido de Oliveira
Primeira Divisão
League table
Results by round
Matches
Taça de Portugal
UEFA Cup Winners' Cup
First round
Second round
Quarter-finals
Semi-finals
Friendlies
Player statistics
The squad for the season consisted of the players listed in the tables below, as well as staff member Toni(manager)
|}
Transfers
In
Out
Out by loan
References
Bibliography
S.L. Benfica seasons
Benfica
Portuguese football championship-winning seasons
|
```objective-c
//===-- ValueObjectConstResultCast.h ----------------------------*- C++ -*-===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
#ifndef LLDB_CORE_VALUEOBJECTCONSTRESULTCAST_H
#define LLDB_CORE_VALUEOBJECTCONSTRESULTCAST_H
#include "lldb/Core/ValueObjectCast.h"
#include "lldb/Core/ValueObjectConstResultImpl.h"
#include "lldb/Symbol/CompilerType.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/lldb-defines.h"
#include "lldb/lldb-forward.h"
#include "lldb/lldb-types.h"
#include <cstddef>
#include <cstdint>
namespace lldb_private {
class DataExtractor;
class Status;
class ValueObject;
class ValueObjectConstResultCast : public ValueObjectCast {
public:
ValueObjectConstResultCast(ValueObject &parent, ConstString name,
const CompilerType &cast_type,
lldb::addr_t live_address = LLDB_INVALID_ADDRESS);
~ValueObjectConstResultCast() override;
lldb::ValueObjectSP Dereference(Status &error) override;
ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
int32_t synthetic_index) override;
virtual CompilerType GetCompilerType() {
return ValueObjectCast::GetCompilerType();
}
lldb::ValueObjectSP GetSyntheticChildAtOffset(
uint32_t offset, const CompilerType &type, bool can_create,
ConstString name_const_str = ConstString()) override;
lldb::ValueObjectSP AddressOf(Status &error) override;
size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
uint32_t item_count = 1) override;
lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override;
protected:
ValueObjectConstResultImpl m_impl;
private:
friend class ValueObject;
friend class ValueObjectConstResult;
friend class ValueObjectConstResultImpl;
ValueObjectConstResultCast(const ValueObjectConstResultCast &) = delete;
const ValueObjectConstResultCast &
operator=(const ValueObjectConstResultCast &) = delete;
};
} // namespace lldb_private
#endif // LLDB_CORE_VALUEOBJECTCONSTRESULTCAST_H
```
|
```html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "path_to_url">
<html xmlns="path_to_url">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-inference/objectTracker.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Jetson Inference
</div>
<div id="projectbrief">DNN Vision Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('objectTracker_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">objectTracker.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="objectTracker_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * copy of this software and associated documentation files (the "Software"),</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * to deal in the Software without restriction, including without limitation</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * all copies or substantial portions of the Software.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef __OBJECT_TRACKER_H__</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define __OBJECT_TRACKER_H__</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="detectNet_8h.html">detectNet.h</a>"</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__objectTracker.html#gaad6f0bca7f04494ccb291cbe06265d43"> 34</a></span> <span class="preprocessor">#define OBJECT_TRACKER_USAGE_STRING "objectTracker arguments: \n" \</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"> " --tracking flag to enable default tracker (IOU)\n" \</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"> " --tracker=TRACKER enable tracking with 'IOU' or 'KLT'\n" \</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"> " --tracker-min-frames=N the number of re-identified frames for a track to be considered valid (default: 3)\n" \</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"> " --tracker-drop-frames=N number of consecutive lost frames before a track is dropped (default: 15)\n" \</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"> " --tracker-overlap=N how much IOU overlap is required for a bounding box to be matched (default: 0.5)\n\n" \</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"> </span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ga4f01a917926967a093c6a21fb3b3b1ac"> 45</a></span> <span class="preprocessor">#define LOG_TRACKER "[tracker] "</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__objectTracker.html"> 52</a></span> <span class="keyword">class </span><a class="code" href="group__objectTracker.html#classobjectTracker">objectTracker</a></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b"> 58</a></span>  <span class="keyword">enum</span> <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__objectTracker.html#your_sha256_hash04"> 60</a></span>  <a class="code" href="group__objectTracker.html#your_sha256_hash04">NONE</a>, </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__objectTracker.html#your_sha256_hasha0"> 61</a></span>  <a class="code" href="group__objectTracker.html#your_sha256_hasha0">IOU</a>, </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__objectTracker.html#your_sha256_hash97"> 62</a></span>  <a class="code" href="group__objectTracker.html#your_sha256_hash97">KLT</a> </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  };</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTracker">objectTracker</a>* <a class="code" href="group__objectTracker.html#a19e4b362f18c20b156318746045d05d3">Create</a>( <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> type );</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTracker">objectTracker</a>* <a class="code" href="group__objectTracker.html#a19e4b362f18c20b156318746045d05d3">Create</a>( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv );</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#classobjectTracker">objectTracker</a>* <a class="code" href="group__objectTracker.html#a19e4b362f18c20b156318746045d05d3">Create</a>( <span class="keyword">const</span> <a class="code" href="group__commandLine.html#classcommandLine">commandLine</a>& cmdLine );</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">virtual</span> <a class="code" href="group__objectTracker.html#a63c792eaa3be66365f7b59ddf9cf1d5c">~objectTracker</a>();</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a812b09738df6afb79417d87f915a8a26"> 88</a></span>  <span class="keyword">template</span><<span class="keyword">typename</span> T> <span class="keywordtype">int</span> <a class="code" href="group__objectTracker.html#a812b09738df6afb79417d87f915a8a26">Process</a>( T* image, uint32_t width, uint32_t height, <a class="code" href="structdetectNet_1_1Detection.html">detectNet::Detection</a>* detections, <span class="keywordtype">int</span> numDetections ) { <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#a812b09738df6afb79417d87f915a8a26">Process</a>((<span class="keywordtype">void</span>*)image, width, height, imageFormatFromType<T>(), detections, numDetections); }</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="group__objectTracker.html#a812b09738df6afb79417d87f915a8a26">Process</a>( <span class="keywordtype">void</span>* image, uint32_t width, uint32_t height, <a class="code" href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a> format, <a class="code" href="structdetectNet_1_1Detection.html">detectNet::Detection</a>* detections, <span class="keywordtype">int</span> numDetections ) = 0;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__objectTracker.html#ab99bf01e794ea4a417133509c643b5e1"> 98</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="group__objectTracker.html#ab99bf01e794ea4a417133509c643b5e1">IsEnabled</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#a4c8533c20f592526ad2f5257a5d6df69">mEnabled</a>; }</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__objectTracker.html#af7239c64de34f0c98e2e39fcddc72432"> 103</a></span>  <span class="keyword">inline</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="group__objectTracker.html#af7239c64de34f0c98e2e39fcddc72432">SetEnabled</a>( <span class="keywordtype">bool</span> enabled ) { <a class="code" href="group__objectTracker.html#a4c8533c20f592526ad2f5257a5d6df69">mEnabled</a> = enabled; }</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">virtual</span> <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> <a class="code" href="group__objectTracker.html#a4d84577a983f2ef8f2db05607b3014c8">GetType</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a9e9758abde43c5d0259a5d23bc482740"> 113</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="group__objectTracker.html#a9e9758abde43c5d0259a5d23bc482740">IsType</a>( <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> type )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#a4d84577a983f2ef8f2db05607b3014c8">GetType</a>() == type; }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a2b5893de0dc88c2953e398384f4c1e1a"> 118</a></span>  <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__objectTracker.html#a2b5893de0dc88c2953e398384f4c1e1a">Usage</a>() { <span class="keywordflow">return</span> <a class="code" href="group__objectTracker.html#gaad6f0bca7f04494ccb291cbe06265d43">OBJECT_TRACKER_USAGE_STRING</a>; }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__objectTracker.html#a9f1b5031dd056fb401eb0abbc99509b1">TypeToStr</a>( <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> type );</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">static</span> <a class="code" href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">Type</a> <a class="code" href="group__objectTracker.html#a5bdcabd6e501912e0c50bae44143a0a8">TypeFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str );</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="group__objectTracker.html#a1aacf58e9b4a4f2f06b4c6bcab458b68">objectTracker</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__objectTracker.html#a4c8533c20f592526ad2f5257a5d6df69"> 133</a></span>  <span class="keywordtype">bool</span> <a class="code" href="group__objectTracker.html#a4c8533c20f592526ad2f5257a5d6df69">mEnabled</a>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> };</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="agroup__objectTracker_html_a9e9758abde43c5d0259a5d23bc482740"><div class="ttname"><a href="group__objectTracker.html#a9e9758abde43c5d0259a5d23bc482740">objectTracker::IsType</a></div><div class="ttdeci">bool IsType(Type type) const</div><div class="ttdoc">IsType.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:113</div></div>
<div class="ttc" id="agroup__objectTracker_html_gaad6f0bca7f04494ccb291cbe06265d43"><div class="ttname"><a href="group__objectTracker.html#gaad6f0bca7f04494ccb291cbe06265d43">OBJECT_TRACKER_USAGE_STRING</a></div><div class="ttdeci">#define OBJECT_TRACKER_USAGE_STRING</div><div class="ttdoc">Standard command-line options able to be passed to detectNet::Create()</div><div class="ttdef"><b>Definition:</b> objectTracker.h:34</div></div>
<div class="ttc" id="agroup__objectTracker_html_a63c792eaa3be66365f7b59ddf9cf1d5c"><div class="ttname"><a href="group__objectTracker.html#a63c792eaa3be66365f7b59ddf9cf1d5c">objectTracker::~objectTracker</a></div><div class="ttdeci">virtual ~objectTracker()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="adetectNet_8h_html"><div class="ttname"><a href="detectNet_8h.html">detectNet.h</a></div></div>
<div class="ttc" id="astructdetectNet_1_1Detection_html"><div class="ttname"><a href="structdetectNet_1_1Detection.html">detectNet::Detection</a></div><div class="ttdoc">Object Detection result.</div><div class="ttdef"><b>Definition:</b> detectNet.h:122</div></div>
<div class="ttc" id="agroup__objectTracker_html_a9f1b5031dd056fb401eb0abbc99509b1"><div class="ttname"><a href="group__objectTracker.html#a9f1b5031dd056fb401eb0abbc99509b1">objectTracker::TypeToStr</a></div><div class="ttdeci">static const char * TypeToStr(Type type)</div><div class="ttdoc">Convert a Type enum to string.</div></div>
<div class="ttc" id="agroup__objectTracker_html_a4d84577a983f2ef8f2db05607b3014c8"><div class="ttname"><a href="group__objectTracker.html#a4d84577a983f2ef8f2db05607b3014c8">objectTracker::GetType</a></div><div class="ttdeci">virtual Type GetType() const =0</div><div class="ttdoc">GetType.</div></div>
<div class="ttc" id=your_sha256_hash8eb1e17a7473381659dff682848a0"><div class="ttname"><a href="group__objectTracker.html#your_sha256_hasha0">objectTracker::IOU</a></div><div class="ttdeci">@ IOU</div><div class="ttdoc">Intersection-Over-Union (IOU) tracker.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:61</div></div>
<div class="ttc" id="agroup__objectTracker_html_classobjectTracker"><div class="ttname"><a href="group__objectTracker.html#classobjectTracker">objectTracker</a></div><div class="ttdoc">Object tracker interface.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:52</div></div>
<div class="ttc" id="agroup__objectTracker_html_ab99bf01e794ea4a417133509c643b5e1"><div class="ttname"><a href="group__objectTracker.html#ab99bf01e794ea4a417133509c643b5e1">objectTracker::IsEnabled</a></div><div class="ttdeci">bool IsEnabled() const</div><div class="ttdoc">IsEnabled.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:98</div></div>
<div class="ttc" id="agroup__objectTracker_html_addf4c9de2082c91d13179a66bb2b100b"><div class="ttname"><a href="group__objectTracker.html#addf4c9de2082c91d13179a66bb2b100b">objectTracker::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Tracker type enum.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:58</div></div>
<div class="ttc" id=your_sha256_hasha105b79354c240e099923c3372504"><div class="ttname"><a href="group__objectTracker.html#your_sha256_hash04">objectTracker::NONE</a></div><div class="ttdeci">@ NONE</div><div class="ttdoc">Tracking disabled.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:60</div></div>
<div class="ttc" id="agroup__objectTracker_html_a2b5893de0dc88c2953e398384f4c1e1a"><div class="ttname"><a href="group__objectTracker.html#a2b5893de0dc88c2953e398384f4c1e1a">objectTracker::Usage</a></div><div class="ttdeci">static const char * Usage()</div><div class="ttdoc">Usage string for command line arguments to Create()</div><div class="ttdef"><b>Definition:</b> objectTracker.h:118</div></div>
<div class="ttc" id=your_sha256_hash180e988ec6a82864e2ef5e8fe3297"><div class="ttname"><a href="group__objectTracker.html#your_sha256_hash97">objectTracker::KLT</a></div><div class="ttdeci">@ KLT</div><div class="ttdoc">KLT tracker (only available with VPI)</div><div class="ttdef"><b>Definition:</b> objectTracker.h:62</div></div>
<div class="ttc" id="agroup__objectTracker_html_a1aacf58e9b4a4f2f06b4c6bcab458b68"><div class="ttname"><a href="group__objectTracker.html#a1aacf58e9b4a4f2f06b4c6bcab458b68">objectTracker::objectTracker</a></div><div class="ttdeci">objectTracker()</div></div>
<div class="ttc" id="agroup__objectTracker_html_af7239c64de34f0c98e2e39fcddc72432"><div class="ttname"><a href="group__objectTracker.html#af7239c64de34f0c98e2e39fcddc72432">objectTracker::SetEnabled</a></div><div class="ttdeci">virtual void SetEnabled(bool enabled)</div><div class="ttdoc">SetEnabled.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:103</div></div>
<div class="ttc" id="agroup__objectTracker_html_a812b09738df6afb79417d87f915a8a26"><div class="ttname"><a href="group__objectTracker.html#a812b09738df6afb79417d87f915a8a26">objectTracker::Process</a></div><div class="ttdeci">int Process(T *image, uint32_t width, uint32_t height, detectNet::Detection *detections, int numDetections)</div><div class="ttdoc">Process.</div><div class="ttdef"><b>Definition:</b> objectTracker.h:88</div></div>
<div class="ttc" id="agroup__commandLine_html_classcommandLine"><div class="ttname"><a href="group__commandLine.html#classcommandLine">commandLine</a></div><div class="ttdoc">Command line parser for extracting flags, values, and strings.</div><div class="ttdef"><b>Definition:</b> commandLine.h:35</div></div>
<div class="ttc" id="agroup__objectTracker_html_a19e4b362f18c20b156318746045d05d3"><div class="ttname"><a href="group__objectTracker.html#a19e4b362f18c20b156318746045d05d3">objectTracker::Create</a></div><div class="ttdeci">static objectTracker * Create(Type type)</div><div class="ttdoc">Create a new object tracker.</div></div>
<div class="ttc" id="agroup__imageFormat_html_ga931c48e08f361637d093355d64583406"><div class="ttname"><a href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a></div><div class="ttdeci">imageFormat</div><div class="ttdoc">The imageFormat enum is used to identify the pixel format and colorspace of an image.</div><div class="ttdef"><b>Definition:</b> imageFormat.h:49</div></div>
<div class="ttc" id="agroup__objectTracker_html_a4c8533c20f592526ad2f5257a5d6df69"><div class="ttname"><a href="group__objectTracker.html#a4c8533c20f592526ad2f5257a5d6df69">objectTracker::mEnabled</a></div><div class="ttdeci">bool mEnabled</div><div class="ttdef"><b>Definition:</b> objectTracker.h:133</div></div>
<div class="ttc" id="agroup__objectTracker_html_a5bdcabd6e501912e0c50bae44143a0a8"><div class="ttname"><a href="group__objectTracker.html#a5bdcabd6e501912e0c50bae44143a0a8">objectTracker::TypeFromStr</a></div><div class="ttdeci">static Type TypeFromStr(const char *str)</div><div class="ttdoc">Parse a Type enum from a string.</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_2e4d84877693cd000e5cb535f4b23486.html">jetson-inference</a></li><li class="navelem"><a class="el" href="objectTracker_8h.html">objectTracker.h</a></li>
<li class="footer">Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by
<a href="path_to_url">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>
```
|
Cerevajka (; ) is a village located in the municipality of Preševo, Serbia. According to the 2002 census, the village has a population of 70 people. Of these, 67 (95,71 %) were ethnic Albanians, and 3 (4,28 %) were Muslims.
References
Populated places in Pčinja District
Albanian communities in Serbia
Preševo
|
Sir Henry Frank Heath (11 December 1863 – 5 October 1946) was a British educationist and civil servant.
He was the eldest son of Henry Charles Heath, miniature pointer to Queen Victoria. He was educated at Westminster School and University College, London, after which he spent a year at the University of Strasbourg. When he came back to England he was appointed Professor of English at Bedford College, London (now Royal Holloway, University of London), and lecturer in English language and literature at King's College, London.
He held these posts until 1895, when he became assistant registrar and librarian of the University of London. He was appointed academic registrar in 1901, holding the post only for two years, when he joined the Government service as Director of Special Enquiries and Reports in the Board of Education (1903–16). He became principal assistant secretary of the Universities Branch of the Board from 1910 until he was appointed secretary to the department of Scientific and Industrial Research in 1916. He retired from the Department in 1927.
He was appointed Knight Commander of the Most Honourable Order of the Bath in 1917 and Knight Grand Cross of the Most Excellent Order of the British Empire in 1927.
References
1863 births
1946 deaths
20th-century British educators
Alumni of University College London
Knights Grand Cross of the Order of the British Empire
Knights Commander of the Order of the Bath
People associated with Royal Holloway, University of London
Academics of Royal Holloway, University of London
|
```python
import tempfile
import pytest
from mimesis.enums import (
AudioFile,
CompressedFile,
DocumentFile,
ImageFile,
VideoFile,
)
from mimesis.providers.binaryfile import BinaryFile
class TestBinaryFile:
@pytest.fixture
def binary(self):
return BinaryFile()
@pytest.mark.parametrize(
"method_name, extensions",
[
("video", (VideoFile.MP4, VideoFile.MOV)),
("audio", (AudioFile.MP3, AudioFile.AAC)),
("image", (ImageFile.PNG, ImageFile.JPG, ImageFile.GIF)),
("document", (DocumentFile.DOCX, DocumentFile.XLSX, DocumentFile.PDF)),
("compressed", (CompressedFile.ZIP, CompressedFile.GZIP)),
],
)
def test_all_methods(self, binary, method_name, extensions):
method = getattr(binary, method_name)
with pytest.raises(TypeError):
for extension in extensions:
method(extension)
for extension in extensions:
content = method(file_type=extension)
assert isinstance(content, bytes)
with tempfile.TemporaryFile() as f:
f.write(content)
```
|
```xml
// See LICENSE.txt for license information.
import {useNavigation} from '@react-navigation/native';
import React, {useCallback, useEffect, useState} from 'react';
import {SectionList, type SectionListRenderItemInfo} from 'react-native';
import ChannelItem from '@share/components/channel_item';
import {setShareExtensionChannelId} from '@share/state';
import RecentHeader from './header';
import type ChannelModel from '@typings/database/models/servers/channel';
type Props = {
recentChannels: ChannelModel[];
showTeamName: boolean;
theme: Theme;
}
const buildSections = (recentChannels: ChannelModel[]) => {
const sections = [{
data: recentChannels,
}];
return sections;
};
const RecentList = ({recentChannels, showTeamName, theme}: Props) => {
const navigation = useNavigation();
const [sections, setSections] = useState(buildSections(recentChannels));
const onPress = useCallback((channelId: string) => {
setShareExtensionChannelId(channelId);
navigation.goBack();
}, []);
const renderSectionHeader = useCallback(() => (
<RecentHeader theme={theme}/>
), [theme]);
const renderSectionItem = useCallback(({item}: SectionListRenderItemInfo<ChannelModel>) => {
return (
<ChannelItem
channel={item}
onPress={onPress}
showTeamName={showTeamName}
theme={theme}
/>
);
}, [onPress, showTeamName]);
useEffect(() => {
setSections(buildSections(recentChannels));
}, [recentChannels]);
return (
<SectionList
keyboardDismissMode='interactive'
keyboardShouldPersistTaps='handled'
renderItem={renderSectionItem}
renderSectionHeader={renderSectionHeader}
sections={sections}
showsVerticalScrollIndicator={false}
stickySectionHeadersEnabled={true}
/>
);
};
export default RecentList;
```
|
```ruby
# frozen_string_literal: true
module Psych
class Set < ::Hash
end
end
```
|
Le Cœur des hommes () is a 2003 French comedy drama film written and directed by Marc Esposito. The film was followed by two sequels: Le coeur des hommes 2, released in 2007, and Le coeur des hommes 3 in 2013.
The opening and the closing credits of the film feature the song "I'll Stand By You" by The Pretenders.
Main cast
Bernard Campan – Antoine
Gérard Darmon – Jeff
Jean-Pierre Darroussin – Manu
Marc Lavoine – Alex
Ludmila Mikaël – Françoise
Zoé Félix – Elsa
Florence Thomassin – Juliette
Alice Taglioni – Annette
Plot
Alex, Antoine, Jeff and Manu have been friends for most of their lives and have achieved their professional goals, therefore all seems to be going well. Suddenly, the death of a father, a wife's infidelity and a daughter's wedding affects them and brings them closer together. Forced to confront situations beyond their control, they share their feelings, support each other, and question the true meaning of their lives. They realise that their relationship with women is at the heart of all their problems, their conversations and their conflicts.
References
External links
2003 films
2003 romantic comedy films
Films directed by Marc Esposito
French romantic comedy films
2000s French films
|
The women's team event at the 2012 Summer Olympics in London, United Kingdom, took place at the Aquatics Centre from 9 to 10 August. Russia maintained its dominance in the sport, as the team delivered a nearly perfect, complex choreography for another gold medal at its fourth consecutive Olympics, having received a powerful, composite score of 197.030 by the judges. Meanwhile, the Chinese squad resisted the challenge from Spain on a historical breakthrough to add a silver in the event with 194.010, edging the Spaniards out of the pool to accept the bronze for a total score of 193.120.
Eight teams competed, each consisting of eight swimmers (from a total team of nine swimmers). There was a single round of competition. Each team presents two routines: a technical routine and a free routine. The technical routine consists of twelve required elements, which must be completed in order and within a time of between 2 minutes 35 seconds and 3 minutes 5 seconds. The free routine has no restrictions other than time; this routine must last between 3 minutes 45 seconds and 4 minutes 15 seconds.
For each routine, the team is judged by two panels of five judges each. One panel is the technical jury, the other is the artistic jury. Each judge gives marks of between 0 and 10. The highest and lowest score from each panel are dropped, leaving a total of six scores which are then summed to give the routine's score. The scores of the two routines are then added to give a final score for the team
Schedule
All times are UTC+1
Results
References
External links
NBC Olympics
Synchronized swimming at the 2012 Summer Olympics
2012 in women's sport
Women's events at the 2012 Summer Olympics
|
```objective-c
/*
* psql - the PostgreSQL interactive terminal
*
*
* src/bin/psql/input.h
*/
#ifndef INPUT_H
#define INPUT_H
/*
* If some other file needs to have access to readline/history, include this
* file and save yourself all this work.
*
* USE_READLINE is what to conditionalize readline-dependent code on.
*/
#ifdef HAVE_LIBREADLINE
#define USE_READLINE 1
#if defined(HAVE_READLINE_READLINE_H)
#include <readline/readline.h>
#if defined(HAVE_READLINE_HISTORY_H)
#include <readline/history.h>
#endif
#elif defined(HAVE_EDITLINE_READLINE_H)
#include <editline/readline.h>
#if defined(HAVE_EDITLINE_HISTORY_H)
#include <editline/history.h>
#endif
#elif defined(HAVE_READLINE_H)
#include <readline.h>
#if defined(HAVE_HISTORY_H)
#include <history.h>
#endif
#endif /* HAVE_READLINE_READLINE_H, etc */
#endif /* HAVE_LIBREADLINE */
#include "pqexpbuffer.h"
extern char *gets_interactive(const char *prompt, PQExpBuffer query_buf);
extern char *gets_fromFile(FILE *source);
extern void initializeInput(int flags);
extern bool printHistory(const char *fname, unsigned short int pager);
extern void pg_append_history(const char *s, PQExpBuffer history_buf);
extern void pg_send_history(PQExpBuffer history_buf);
#endif /* INPUT_H */
```
|
```objective-c
/**
******************************************************************************
* @file stm32f7xx_hal_dac.h
* @author MCD Application Team
* @brief Header file of DAC HAL module.
******************************************************************************
* @attention
*
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F7xx_HAL_DAC_H
#define __STM32F7xx_HAL_DAC_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes your_sha256_hash--*/
#include "stm32f7xx_hal_def.h"
/** @addtogroup STM32F7xx_HAL_Driver
* @{
*/
/** @addtogroup DAC
* @{
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup DAC_Exported_Types DAC Exported Types
* @{
*/
/**
* @brief HAL State structures definition
*/
typedef enum
{
HAL_DAC_STATE_RESET = 0x00U, /*!< DAC not yet initialized or disabled */
HAL_DAC_STATE_READY = 0x01U, /*!< DAC initialized and ready for use */
HAL_DAC_STATE_BUSY = 0x02U, /*!< DAC internal processing is ongoing */
HAL_DAC_STATE_TIMEOUT = 0x03U, /*!< DAC timeout state */
HAL_DAC_STATE_ERROR = 0x04U /*!< DAC error state */
}HAL_DAC_StateTypeDef;
/**
* @brief DAC handle Structure definition
*/
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
typedef struct __DAC_HandleTypeDef
#else
typedef struct
#endif
{
DAC_TypeDef *Instance; /*!< Register base address */
__IO HAL_DAC_StateTypeDef State; /*!< DAC communication state */
HAL_LockTypeDef Lock; /*!< DAC locking object */
DMA_HandleTypeDef *DMA_Handle1; /*!< Pointer DMA handler for channel 1 */
DMA_HandleTypeDef *DMA_Handle2; /*!< Pointer DMA handler for channel 2 */
__IO uint32_t ErrorCode; /*!< DAC Error code */
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
void (* ConvCpltCallbackCh1) (struct __DAC_HandleTypeDef *hdac);
void (* ConvHalfCpltCallbackCh1) (struct __DAC_HandleTypeDef *hdac);
void (* ErrorCallbackCh1) (struct __DAC_HandleTypeDef *hdac);
void (* DMAUnderrunCallbackCh1) (struct __DAC_HandleTypeDef *hdac);
void (* ConvCpltCallbackCh2) (struct __DAC_HandleTypeDef* hdac);
void (* ConvHalfCpltCallbackCh2) (struct __DAC_HandleTypeDef* hdac);
void (* ErrorCallbackCh2) (struct __DAC_HandleTypeDef* hdac);
void (* DMAUnderrunCallbackCh2) (struct __DAC_HandleTypeDef* hdac);
void (* MspInitCallback) (struct __DAC_HandleTypeDef *hdac);
void (* MspDeInitCallback ) (struct __DAC_HandleTypeDef *hdac);
#endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
}DAC_HandleTypeDef;
/**
* @brief DAC Configuration regular Channel structure definition
*/
typedef struct
{
uint32_t DAC_Trigger; /*!< Specifies the external trigger for the selected DAC channel.
This parameter can be a value of @ref DAC_trigger_selection */
uint32_t DAC_OutputBuffer; /*!< Specifies whether the DAC channel output buffer is enabled or disabled.
This parameter can be a value of @ref DAC_output_buffer */
}DAC_ChannelConfTypeDef;
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
/**
* @brief HAL DAC Callback ID enumeration definition
*/
typedef enum
{
HAL_DAC_CH1_COMPLETE_CB_ID = 0x00U, /*!< DAC CH1 Complete Callback ID */
HAL_DAC_CH1_HALF_COMPLETE_CB_ID = 0x01U, /*!< DAC CH1 half Complete Callback ID */
HAL_DAC_CH1_ERROR_ID = 0x02U, /*!< DAC CH1 error Callback ID */
HAL_DAC_CH1_UNDERRUN_CB_ID = 0x03U, /*!< DAC CH1 underrun Callback ID */
HAL_DAC_CH2_COMPLETE_CB_ID = 0x04U, /*!< DAC CH2 Complete Callback ID */
HAL_DAC_CH2_HALF_COMPLETE_CB_ID = 0x05U, /*!< DAC CH2 half Complete Callback ID */
HAL_DAC_CH2_ERROR_ID = 0x06U, /*!< DAC CH2 error Callback ID */
HAL_DAC_CH2_UNDERRUN_CB_ID = 0x07U, /*!< DAC CH2 underrun Callback ID */
HAL_DAC_MSP_INIT_CB_ID = 0x08U, /*!< DAC MspInit Callback ID */
HAL_DAC_MSP_DEINIT_CB_ID = 0x09U, /*!< DAC MspDeInit Callback ID */
HAL_DAC_ALL_CB_ID = 0x0AU /*!< DAC All ID */
}HAL_DAC_CallbackIDTypeDef;
/**
* @brief HAL DAC Callback pointer definition
*/
typedef void (*pDAC_CallbackTypeDef)(DAC_HandleTypeDef *hdac);
#endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/** @defgroup DAC_Exported_Constants DAC Exported Constants
* @{
*/
/** @defgroup DAC_Error_Code DAC Error Code
* @{
*/
#define HAL_DAC_ERROR_NONE 0x00U /*!< No error */
#define HAL_DAC_ERROR_DMAUNDERRUNCH1 0x01U /*!< DAC channel1 DAM underrun error */
#define HAL_DAC_ERROR_DMAUNDERRUNCH2 0x02U /*!< DAC channel2 DAM underrun error */
#define HAL_DAC_ERROR_DMA 0x04U /*!< DMA error */
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
#define HAL_DAC_ERROR_INVALID_CALLBACK 0x10U /*!< Invalid callback error */
#endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
/**
* @}
*/
/** @defgroup DAC_trigger_selection DAC Trigger Selection
* @{
*/
#define DAC_TRIGGER_NONE ((uint32_t)0x00000000U) /*!< Conversion is automatic once the DAC1_DHRxxxx register
has been loaded, and not by external trigger */
#define DAC_TRIGGER_T2_TRGO ((uint32_t)(DAC_CR_TSEL1_2 | DAC_CR_TEN1)) /*!< TIM2 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_T4_TRGO ((uint32_t)(DAC_CR_TSEL1_2 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)) /*!< TIM4 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_T5_TRGO ((uint32_t)(DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0 | DAC_CR_TEN1)) /*!< TIM5 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_T6_TRGO ((uint32_t)DAC_CR_TEN1) /*!< TIM6 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_T7_TRGO ((uint32_t)(DAC_CR_TSEL1_1 | DAC_CR_TEN1)) /*!< TIM7 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_T8_TRGO ((uint32_t)(DAC_CR_TSEL1_0 | DAC_CR_TEN1)) /*!< TIM8 TRGO selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_EXT_IT9 ((uint32_t)(DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 | DAC_CR_TEN1)) /*!< EXTI Line9 event selected as external conversion trigger for DAC channel */
#define DAC_TRIGGER_SOFTWARE ((uint32_t)(DAC_CR_TSEL1 | DAC_CR_TEN1)) /*!< Conversion started by software trigger for DAC channel */
/**
* @}
*/
/** @defgroup DAC_output_buffer DAC Output Buffer
* @{
*/
#define DAC_OUTPUTBUFFER_ENABLE ((uint32_t)0x00000000U)
#define DAC_OUTPUTBUFFER_DISABLE ((uint32_t)DAC_CR_BOFF1)
/**
* @}
*/
/** @defgroup DAC_Channel_selection DAC Channel Selection
* @{
*/
#define DAC_CHANNEL_1 ((uint32_t)0x00000000U)
#define DAC_CHANNEL_2 ((uint32_t)0x00000010U)
/**
* @}
*/
/** @defgroup DAC_data_alignment DAC Data Alignment
* @{
*/
#define DAC_ALIGN_12B_R ((uint32_t)0x00000000U)
#define DAC_ALIGN_12B_L ((uint32_t)0x00000004U)
#define DAC_ALIGN_8B_R ((uint32_t)0x00000008U)
/**
* @}
*/
/** @defgroup DAC_flags_definition DAC Flags Definition
* @{
*/
#define DAC_FLAG_DMAUDR1 ((uint32_t)DAC_SR_DMAUDR1)
#define DAC_FLAG_DMAUDR2 ((uint32_t)DAC_SR_DMAUDR2)
/**
* @}
*/
/** @defgroup DAC_IT_definition DAC IT Definition
* @{
*/
#define DAC_IT_DMAUDR1 ((uint32_t)DAC_SR_DMAUDR1)
#define DAC_IT_DMAUDR2 ((uint32_t)DAC_SR_DMAUDR2)
/**
* @}
*/
/**
* @}
*/
/* Exported macro ------------------------------------------------------------*/
/** @defgroup DAC_Exported_Macros DAC Exported Macros
* @{
*/
/** @brief Reset DAC handle state
* @param __HANDLE__: specifies the DAC handle.
* @retval None
*/
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
#define __HAL_DAC_RESET_HANDLE_STATE(__HANDLE__) do { \
(__HANDLE__)->State = HAL_DAC_STATE_RESET; \
(__HANDLE__)->MspInitCallback = NULL; \
(__HANDLE__)->MspDeInitCallback = NULL; \
} while(0)
#else
#define __HAL_DAC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DAC_STATE_RESET)
#endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
/** @brief Enable the DAC channel
* @param __HANDLE__: specifies the DAC handle.
* @param __DAC_CHANNEL__: specifies the DAC channel
* @retval None
*/
#define __HAL_DAC_ENABLE(__HANDLE__, __DAC_CHANNEL__) \
((__HANDLE__)->Instance->CR |= (DAC_CR_EN1 << (__DAC_CHANNEL__)))
/** @brief Disable the DAC channel
* @param __HANDLE__: specifies the DAC handle
* @param __DAC_CHANNEL__: specifies the DAC channel.
* @retval None
*/
#define __HAL_DAC_DISABLE(__HANDLE__, __DAC_CHANNEL__) \
((__HANDLE__)->Instance->CR &= ~(DAC_CR_EN1 << (__DAC_CHANNEL__)))
/** @brief Enable the DAC interrupt
* @param __HANDLE__: specifies the DAC handle
* @param __INTERRUPT__: specifies the DAC interrupt.
* @retval None
*/
#define __HAL_DAC_ENABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) |= (__INTERRUPT__))
/** @brief Disable the DAC interrupt
* @param __HANDLE__: specifies the DAC handle
* @param __INTERRUPT__: specifies the DAC interrupt.
* @retval None
*/
#define __HAL_DAC_DISABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR) &= ~(__INTERRUPT__))
/** @brief Checks if the specified DAC interrupt source is enabled or disabled.
* @param __HANDLE__: DAC handle
* @param __INTERRUPT__: DAC interrupt source to check
* This parameter can be any combination of the following values:
* @arg DAC_IT_DMAUDR1: DAC channel 1 DMA underrun interrupt
* @arg DAC_IT_DMAUDR2: DAC channel 2 DMA underrun interrupt
* @retval State of interruption (SET or RESET)
*/
#define __HAL_DAC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CR & (__INTERRUPT__)) == (__INTERRUPT__))
/** @brief Get the selected DAC's flag status.
* @param __HANDLE__: specifies the DAC handle.
* @param __FLAG__: specifies the flag to clear.
* This parameter can be any combination of the following values:
* @arg DAC_FLAG_DMAUDR1: DMA underrun 1 flag
* @arg DAC_FLAG_DMAUDR2: DMA underrun 2 flag
* @retval None
*/
#define __HAL_DAC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__))
/** @brief Clear the DAC's flag.
* @param __HANDLE__: specifies the DAC handle.
* @param __FLAG__: specifies the flag to clear.
* This parameter can be any combination of the following values:
* @arg DAC_FLAG_DMAUDR1: DMA underrun 1 flag
* @arg DAC_FLAG_DMAUDR2: DMA underrun 2 flag
* @retval None
*/
#define __HAL_DAC_CLEAR_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR) = (__FLAG__))
/**
* @}
*/
/* Include DAC HAL Extension module */
#include "stm32f7xx_hal_dac_ex.h"
/* Exported functions --------------------------------------------------------*/
/** @addtogroup DAC_Exported_Functions
* @{
*/
/** @addtogroup DAC_Exported_Functions_Group1
* @{
*/
/* Initialization/de-initialization functions *********************************/
HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef* hdac);
HAL_StatusTypeDef HAL_DAC_DeInit(DAC_HandleTypeDef* hdac);
void HAL_DAC_MspInit(DAC_HandleTypeDef* hdac);
void HAL_DAC_MspDeInit(DAC_HandleTypeDef* hdac);
/**
* @}
*/
/** @addtogroup DAC_Exported_Functions_Group2
* @{
*/
/* I/O operation functions ****************************************************/
HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef* hdac, uint32_t Channel);
HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef* hdac, uint32_t Channel);
HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t* pData, uint32_t Length, uint32_t Alignment);
HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef* hdac, uint32_t Channel);
uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef* hdac, uint32_t Channel);
/**
* @}
*/
/** @addtogroup DAC_Exported_Functions_Group3
* @{
*/
/* Peripheral Control functions ***********************************************/
HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef* hdac, DAC_ChannelConfTypeDef* sConfig, uint32_t Channel);
HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef* hdac, uint32_t Channel, uint32_t Alignment, uint32_t Data);
/**
* @}
*/
/** @addtogroup DAC_Exported_Functions_Group4
* @{
*/
/* Peripheral State functions *************************************************/
HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef* hdac);
void HAL_DAC_IRQHandler(DAC_HandleTypeDef* hdac);
uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac);
void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef* hdac);
void HAL_DAC_ConvHalfCpltCallbackCh1(DAC_HandleTypeDef* hdac);
void HAL_DAC_ErrorCallbackCh1(DAC_HandleTypeDef *hdac);
void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac);
#if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
/* DAC callback registering/unregistering */
HAL_StatusTypeDef HAL_DAC_RegisterCallback (DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef CallbackID, pDAC_CallbackTypeDef pCallback);
HAL_StatusTypeDef HAL_DAC_UnRegisterCallback (DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef CallbackID);
#endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
/**
* @}
*/
/**
* @}
*/
/* Private types -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup DAC_Private_Constants DAC Private Constants
* @{
*/
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup DAC_Private_Macros DAC Private Macros
* @{
*/
#define IS_DAC_DATA(DATA) ((DATA) <= 0xFFF0U)
#define IS_DAC_ALIGN(ALIGN) (((ALIGN) == DAC_ALIGN_12B_R) || \
((ALIGN) == DAC_ALIGN_12B_L) || \
((ALIGN) == DAC_ALIGN_8B_R))
#define IS_DAC_CHANNEL(CHANNEL) (((CHANNEL) == DAC_CHANNEL_1) || \
((CHANNEL) == DAC_CHANNEL_2))
#define IS_DAC_OUTPUT_BUFFER_STATE(STATE) (((STATE) == DAC_OUTPUTBUFFER_ENABLE) || \
((STATE) == DAC_OUTPUTBUFFER_DISABLE))
#define IS_DAC_TRIGGER(TRIGGER) (((TRIGGER) == DAC_TRIGGER_NONE) || \
((TRIGGER) == DAC_TRIGGER_T2_TRGO) || \
((TRIGGER) == DAC_TRIGGER_T8_TRGO) || \
((TRIGGER) == DAC_TRIGGER_T7_TRGO) || \
((TRIGGER) == DAC_TRIGGER_T5_TRGO) || \
((TRIGGER) == DAC_TRIGGER_T6_TRGO) || \
((TRIGGER) == DAC_TRIGGER_T4_TRGO) || \
((TRIGGER) == DAC_TRIGGER_EXT_IT9) || \
((TRIGGER) == DAC_TRIGGER_SOFTWARE))
/** @brief Set DHR12R1 alignment
* @param __ALIGNMENT__: specifies the DAC alignment
* @retval None
*/
#define DAC_DHR12R1_ALIGNMENT(__ALIGNMENT__) (((uint32_t)0x00000008U) + (__ALIGNMENT__))
/** @brief Set DHR12R2 alignment
* @param __ALIGNMENT__: specifies the DAC alignment
* @retval None
*/
#define DAC_DHR12R2_ALIGNMENT(__ALIGNMENT__) (((uint32_t)0x00000014U) + (__ALIGNMENT__))
/** @brief Set DHR12RD alignment
* @param __ALIGNMENT__: specifies the DAC alignment
* @retval None
*/
#define DAC_DHR12RD_ALIGNMENT(__ALIGNMENT__) (((uint32_t)0x00000020U) + (__ALIGNMENT__))
/**
* @}
*/
/* Private functions ---------------------------------------------------------*/
/** @defgroup DAC_Private_Functions DAC Private Functions
* @{
*/
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /*__STM32F7xx_HAL_DAC_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
```
|
```java
package com.iota.iri.model.safe;
import java.util.Arrays;
/**
*Creates a null safe Hash object.
*/
public class HashSafeObject extends SafeObject {
/**A hash code index to be assigned to each Hash object*/
private Integer hashcode;
/**
* Constructor for safe Hash object from a byte array
*
* @param obj the byte array that the object will be generated from
* @param messageIfUnsafe error message for instantiation failure
*/
public HashSafeObject(byte[] obj, String messageIfUnsafe) {
super(obj, messageIfUnsafe);
this.hashcode = Arrays.hashCode(getData());
}
/**
* Returns the hash code from the contained data
*
* @return the hash code index of the current object
*/
public Integer getHashcode() {
return hashcode;
}
}
```
|
Falsimargarita is a genus of sea snails, marine gastropod mollusks in the family Calliostomatidae.
Description
This genus differs from the other genera in the family Calliostomatidae by several characteristics: the conspicuous spiral whorls, obvious sculpture, an open umbilicus, a thin shell and external iridescence.
Distribution
The species of this cold-water genus occurs in Antarctic waters and off the Magellanic Region of South America.
Species
Species within the genus Falsimargarita include:
Falsimargarita atlantoides (Quinn, 1992)
Falsimargarita benthicola Dell, 1990
Falsimargarita callista B. A. Marshall, 2016
Falsimargarita challengerica B. A. Marshall, 2016
Falsimargarita coriolis B. A. Marshall, 2016
Falsimargarita coronata (Quinn, 1992)
Falsimargarita eximia B. A. Marshall, 2016
Falsimargarita gemma (E.A. Smith, 1915)
Falsimargarita georgiana Dell, 1990
Falsimargarita glaucophaos (Barnard, 1963)
Falsimargarita imperialis (Simone & Birman, 2006)
Falsimargarita iris (E.A. Smith, 1915)
Falsimargarita kapala B. A. Marshall, 2016
Falsimargarita nauduri Warén & Bouchet, 2001
†Falsimargarita parvispira Quilty, Darragh, Gallagher & Harding, 2016
Falsimargarita renkeri Engl, 2020
Falsimargarita stephaniae Rios & Simone, 2005
Falsimargarita tangaroa B. A. Marshall, 2016
Falsimargarita terespira Simone, 2008
Falsimargarita thielei (Hedley, 1916)
References
Dell R.K. (1990). Antarctic Mollusca with special reference to the fauna of the Ross Sea. Bulletin of the Royal Society of New Zealand., 27, 1–3,264-285 pp. page(s): 93
Marshall, B. A. (2016). New species of Venustatrochus Powell, 1951 from New Zealand, and new species of Falsimargarita Powell, 1951 and a new genus of the Calliostomatidae from the southwest Pacific, with comments on some other calliostomatid genera (Mollusca: Gastropoda). Molluscan Research. 36: 119-141
External links
Powell A. W. B. (1951). Antarctic and Subantarctic Mollusca: Pelecypoda and Gastropoda. Discovery Reports, 26: 47-196, pl. 5-10
Calliostomatidae
Gastropod genera
|
```objective-c
/***************************************************************************/
/* */
/* cffdrivr.h */
/* */
/* High-level OpenType driver interface (specification). */
/* */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#ifndef __CFFDRIVER_H__
#define __CFFDRIVER_H__
#include <ft2build.h>
#include FT_INTERNAL_DRIVER_H
FT_BEGIN_HEADER
FT_DECLARE_DRIVER( cff_driver_class )
FT_END_HEADER
#endif /* __CFFDRIVER_H__ */
/* END */
```
|
William John Harper (22 July 1916 – 8 September 2006) was a politician, general contractor and Royal Air Force fighter pilot who served as a Cabinet minister in Rhodesia (or Southern Rhodesia) from 1962 to 1968, and signed that country's Unilateral Declaration of Independence (UDI) from Britain in 1965. Born into a prominent Anglo-Indian merchant family in Calcutta, Harper was educated in India and England and joined the RAF in 1937. He served as an officer throughout the Second World War and saw action as one of "The Few" in the Battle of Britain, during which he was wounded in action. Appalled by Britain's granting of independence to India in 1947, he emigrated to Rhodesia on retiring from the Air Force two years later.
Harper contended that British rule in the subcontinent should never have ended and took a similar stance regarding his adopted homeland, reportedly declaring that it, South Africa, and the neighbouring Portuguese territories would "be under white rule forever". He entered politics with the Dominion Party in 1958 and became Minister of Irrigation, Roads and Road Traffic in the Rhodesian Front (RF) government in 1962. The head of a far-right group within the RF, he called for Rhodesia to abolish black representation in parliament and adopt "a form of political apartheid". When the Prime Minister Winston Field resigned in 1964, Harper was a front-runner to succeed him, but lost out to Ian Smith, who moved him to the Ministry of Internal Affairs.
Each breakdown or setback during the early years of Smith's premiership prompted press speculation that Harper might replace him. In 1966, when Smith brought a working document back from the HMS Tiger talks with the British Prime Minister Harold Wilson, Harper led opposition to the terms in Cabinet, contributing to their rejection. Harper resigned from the Rhodesian Front in 1968, soon after Smith dismissed him from the Cabinet, reportedly because Harper had had an extramarital affair with a British agent. He subsequently became a vocal critic of the Prime Minister, greeting each step Smith made towards settlement with black nationalists during the Bush War with public indignation. By the time black majority rule began in Zimbabwe Rhodesia in 1979, following the Internal Settlement of the previous year, Harper had left for South Africa, being unwilling to accept majority rule in Rhodesia. He died in 2006 at the age of 90.
Early life
William John Harper was born on 22 July 1916 in Calcutta, British India, scion of an old and prominent Anglo-Indian merchant family that had been based in the subcontinent for generations, working with the East India Company during the 18th and 19th centuries. He was educated at North Point in Darjeeling, India, and in the English town of Windsor. He grew into a short but tough man who spoke with clipped diction. Nathan Shamuyarira wrote of him in 1966 that "his tight mouth rarely relaxes into a smile, so ... he seems always on the point of losing his temper".
Military service during the Second World War
Harper joined the Royal Air Force (RAF) in 1937, and was commissioned as an acting pilot officer on 5 September. He was promoted to flying officer on 12 February 1940, and attached to No. 17 Squadron. On 18 May 1940 he shared in the destruction of a Messerschmitt Bf 110 heavy fighter, and a week later he destroyed a Ju 87 "Stuka" dive bomber. He was appointed B Flight commander, with the rank of acting flight lieutenant, on 26 May. He destroyed another Bf 110 over Dunkirk three days later, during the evacuation of Allied forces, and continued as flight commander until 8 June 1940, reverting to the rank of flying officer. He was again promoted to acting flight lieutenant on 4 July, when he was given command of A Flight.
From July 1940, still flying with No. 17 Squadron, Harper was one of "The Few", the Allied pilots of the Battle of Britain. On 11 August he shared in the probable destruction of a Bf 110 and damaged a Messerschmitt Bf 109 fighter. Four days later, after taking off as part of a group of six Hawker Hurricanes assigned to intercept more than 20 Luftwaffe aircraft, Harper contacted the German planes alone and probably destroyed a Bf 109 before being shot down. He crash-landed in a field near the Suffolk seaside town of Felixstowe, and convalesced in hospital there with wounds to his face and leg. He soon rejoined No. 17 Squadron and continued his command of A Flight from the ground—he returned to the skies on 1 November 1940. A week later he destroyed a Ju 87 and probably another. Harper received the war substantive rank of flight lieutenant on 12 February 1941. A month later he was posted to No. 57 Operational Training Unit RAF, based at RAF Hawarden in Wales, as an instructor.
In September 1941, Harper was seconded to the Royal Australian Air Force (RAAF) to command No. 453 Squadron RAAF, which was based at Singapore and operated Brewster Buffalo fighters. After suffering heavy losses during the Malayan campaign in December, No. 453 Squadron was temporarily amalgamated with another Buffalo unit, No. 21 Squadron RAAF, to form No. 21/453 Squadron under Harper's command. By February 1942, No. 453 Squadron was denuded of aircraft and its remaining personnel were evacuated to Australia. Harper assumed command of No. 135 Squadron RAF in India in April 1942. In January 1943 he took command of No. 92 (East India) Squadron RAF in North Africa, and was promoted to temporary squadron leader with seniority backdated to March 1942. He was transferred to England in September 1943 and commanded the University Air Squadron at Leeds until 1944. He remained with the RAF following the end of hostilities.
Political career
Emigration to Rhodesia
Harper was appalled when Britain made India independent in 1947—he held that the British government had unnecessarily caved in to Indian nationalist demands and should have continued in the subcontinent indefinitely. He retained this view for years afterwards. He retired from the RAF in April 1949 with the rank of wing commander, and the same year emigrated to Southern Rhodesia, a British colony in southern Africa that had been self-governing since 1923. He settled in the central town of Gatooma, where he farmed, mined and set up an earth-moving contractor's business. In 1953, Southern Rhodesia became a territory of the Federation of Rhodesia and Nyasaland alongside Northern Rhodesia and Nyasaland. Each territory retained its own political status and government, and Southern Rhodesia's constitutional status was unaltered.
Dominion Party
Harper entered politics when he contested the Gatooma seat in the 1958 general election, running for the opposition Dominion Party (which called for full "dominion" or Commonwealth realm status). The Southern Rhodesian electoral system allowed only those who met certain financial and educational qualifications to vote—the criteria were applied equally regardless of race, but since most black citizens did not meet the set standards, the electoral roll and colonial Legislative Assembly were overwhelmingly drawn from the white minority (about 5% of the population). Harper won in Gatooma with 717 out of 1,300 votes. Holding strongly conservative views, he soon became seen as the voice of the party's right wing. He was elected president of the Dominion Party's Southern Rhodesian arm in October 1959, and by 1960 he was the official Leader of the Opposition in the Southern Rhodesian parliament.
Amid decolonisation and the Wind of Change, the Federation was looking ever more tenuous and the idea of "no independence before majority rule" was gaining considerable ground in British political circles. Harper believed that indigenous Africans were uncivilized and that whites should rule Rhodesia forever. He called for Southern Rhodesia to abandon the Federation and "go it alone". In June 1960 he and the Southern Rhodesian branch of the Dominion Party adopted the policy of "Southern Rhodesia first", prompting strong protests from the party's Northern Rhodesian division; the Dominion Party splintered into separate Federal and territorial entities a month later. When black nationalist riots broke out in the townships in October 1960, Harper condemned the Southern Rhodesian Prime Minister Sir Edgar Whitehead and the governing United Federal Party (UFP) as too lenient on the protesters, and argued that giving concessions following political violence would make black Rhodesians believe that "trouble pays dividends". Arguing against black representation in the Legislative Assembly, he said that if there were black MPs "they will share the restaurant with us and they will share the bars with us. We will be living cheek by jowl with them, and what sort of legislation can the people of this country expect when we ourselves are being conditioned to living cheek by jowl with Africans?"
Rhodesian Front
In 1962 Harper was a founding member of the Rhodesian Front (RF), an alliance of conservative voices centred around the former Dominion Party and defectors from the UFP. The party's declared goal was independence for Southern Rhodesia without radical constitutional change and without any set timetable for the introduction of majority rule. After the RF won a surprise victory in the November 1962 general election—Harper comfortably retained his seat in Gatooma, and elsewhere the country's first black MPs were elected—the new Prime Minister Winston Field made him Minister of Irrigation, Roads and Road Traffic in the new government. Over the next few years, Harper became one of the main agitators in the Cabinet for a unilateral declaration of independence (UDI); equating Southern Rhodesia to India, he saw this as a way to prevent a repeat of "the same mistake".
The RF grew dissatisfied with Field during late 1963 and early 1964 because of his failure to win independence on Federal dissolution at the end of 1963. Northern Rhodesia and Nyasaland, by contrast, were both independent under black majority governments within a year, respectively renamed Zambia and Malawi. Harper, who had been assigned the additional portfolios of Transport and Power in November 1963, was one of two frontrunners to replace Field. The other was the Deputy Prime Minister Ian Smith, formerly of the UFP, who was also Minister of the Treasury. Harper, described in The Spectator as "an ambitious politician and single-minded upholder of white supremacy", was generally considered the more hardline choice, and the man more likely to go through with UDI. When the Cabinet forced Field to resign in April 1964, it was Smith who was nominated by the ministers to become the new Prime Minister. Accepting the premiership, Smith reshuffled the Cabinet a few days later and moved Harper to the Ministry of Internal Affairs. Harper was deeply disappointed not to have succeeded Field.
As Minister of Internal Affairs, Harper oversaw the indaba (conference) of chiefs and headmen at Domboshawa in October 1964, at the end of which the tribal leaders unanimously announced their support for the government's line on independence. He continued to be linked with the premiership. During Smith's negotiations with the British government, each breakdown or setback was accompanied by speculation in Rhodesia ("Southern" was dropped in late 1964) that Harper might step up to take his place. As the dispute with Britain intensified and white Rhodesians clamoured for independence, Harry Franklin reported in The Spectator in August 1965 that if Smith proved unwilling to go through with UDI, "it is widely believed that ... Harper will emerge from the wings, no longer an understudy, to dare what Mr Smith dare not." Harper was one of four ministers chosen by Smith to accompany him to London for talks in October 1965, the others being John Wrathall (Finance), Desmond Lardner-Burke (Justice) and the Deputy Minister of Information P K van der Byl. Agreement was not reached and a month later, on 11 November 1965, Smith and his Cabinet declared Rhodesia independent.
At the time of UDI, Harper reportedly kept a map of southern Africa on the wall of his office, on which he had coloured South Africa, South-West Africa, Rhodesia, Mozambique south of the Zambezi and Angola red; he told visitors that "the red area will be under white rule forever." While insisting that Rhodesia would continue regardless of international opinion, he publicly demonised the UK government, describing it in January 1966 as "an enemy ... [that] must be brought down". He also vilified black nationalist guerrilla fighters opposed to the Rhodesian government, calling them "gangs of terrorists" and "criminals". Comments such as these helped to cement Harper's reputation as a hardline right-winger and rival to Smith's leadership. The strong personalities of Harper and other ministers such as the Duke of Montrose (generally known in Rhodesia by his former title Lord Graham) were perceived by the British Prime Minister Harold Wilson and his compatriots as a great influence on Smith's political decision-making, an opinion also expressed by Harper himself.
Although Harper was considered an intelligent and capable minister by peers and reporters—a 1965 report in The Economist called him "by far the best brain" in the Rhodesian Cabinet—his views were often perceived as overly reactionary. He led a phalanx of far-right voices within the RF calling for "a form of political apartheid" in Rhodesia, and while the party line was gradual advancement of black political representation, Harper called not only for the cessation of such moves, but for the abolition of black MPs altogether. He thus became something of an obstacle to an Anglo-Rhodesian settlement. When Smith brought a working document back from the HMS Tiger talks with Wilson in October 1966, Harper led opposition to the terms in the Cabinet, contributing to its ultimate rejection. Harper considered himself to have been overlooked when Smith gave the office of Deputy Prime Minister (which had been vacant since UDI) to the more moderate Wrathall the month before the Tiger conference. The South African newspaper Die Beeld reported in December 1966 that the RF's right wing was poised to oust Smith in favour of Harper, but this did not occur.
Resignation
On 4 July 1968, Harper resigned from the Cabinet at Smith's request. He was the first minister to be dismissed during Smith's premiership. The government released a statement explaining that Harper had been removed "for reasons entirely unrelated to differences of opinion over constitutional or other political issues", and saying simply that Harper had been deemed "a security risk". Harper publicly claimed that he had been fired for political reasons and because of the threat he posed to Smith's leadership. Smith was reticent but told reporters he was prepared to tell "the whole sorry tale" if Harper wished.
According to the memoirs of Ken Flower, then the director of Rhodesia's Central Intelligence Organisation (CIO), Harper's downfall was the result of an extramarital affair with a young secretary in the Rhodesian civil service who the CIO discovered was an agent for MI6. Flower informed Smith of this on 3 July and the Prime Minister demanded Harper's resignation that afternoon; Harper acquiesced the next day. Because this was kept secret (presuming it is true), Harper's sudden departure from the Cabinet was interpreted by many observers at the time as the culmination of the personal and political rivalry between Smith and Harper, or the result of disagreements over the new constitution.
Harper officially resigned his parliament seat and left the Rhodesian Front on 11 July 1968. Wilson publicly welcomed his departure as a "step in the right direction", prompting a retort from Smith that he did not appoint or sack ministers to please the British government. Smith said that Harper had been depicted as more extreme than he really was, and denied that he had obstructed a settlement. In retrospect, Smith said he had been glad to be rid of Harper, who he considered underhand and devious. Harper ignored an approach from the ultra-right-wing Rhodesian National Party, offering the leadership, and for a time withdrew from public affairs. Montrose and the ministers Arthur Phillip Smith and Phillip van Heerden briefly threatened to follow Harper out of the government, but backed down within a few days. After a fresh dispute Montrose resigned on 11 September 1968 in protest against Smith's proposed constitutional and racial policies, which he deemed too liberal. A week later the RF's Albert Mells easily won the by-election to fill Harper's former seat in Gatooma.
Later career
By the time of the July 1974 general election, amid the Bush War, Harper had formed a small bloc of independents called the "Harper Group". In an attempt to co-ordinate opposition to the Rhodesian Front, the group made an election agreement with the Rhodesia Party (RP), which had been formed two years earlier; according to The Bulletin it was "seriously hampered by lack of established leadership" but nevertheless offered "the only real resistance [to the RF] in the polls". Shortly before election day, Harper told a meeting of 300 people that under the present system, which was geared to eventually bring parity between black and white Rhodesians, racial tension would increase and "the white man will be forced out of the country." He said that while he was not prepared to let black Rhodesians take control of the government, he understood that some form of power-sharing between the races was imperative to the country's future. The RF won all 50 white roll seats, denying the RP any representation in parliament; Harper himself lost decisively in the southern Salisbury constituency of Hatfield.
By the end of 1974, Harper had formed the United Conservative Party, which called for separate black and white legislatures. He subsequently reacted with revulsion each time Smith moved towards settlement with black nationalist factions. In December that year he described Smith's announcement of a ceasefire in the run-up to the Victoria Falls Conference as a "ghastly capitulation". In 1976, when Smith announced his acceptance of unconditional majority rule by 1978, Harper accused the Prime Minister of "selling us out". "The mind boggles at the enormous impertinence and audacity of this man Smith," he said.
In December 1975, two months after the disappearance of the prominent lawyer and black nationalist leader Edson Sithole from the middle of Salisbury, along with his secretary Miriam Mhlanga, Harper stepped forward claiming that the Rhodesian state had kidnapped them. In what became known as the "Harper Memorandum", the ex-minister alleged that Special Branch had interrogated Sithole at Goromonzi prison and then shuttled him between holding points around the country. The Rhodesian government denied that it was holding Sithole, adding that he was not under any form of restriction. Sithole and Mhlanga were never seen again, and their fate has never been explained. In modern Zimbabwe it is generally accepted that they were abducted and killed by agents of the Rhodesian government.
Emigration to South Africa and death
Smith and non-militant nationalists agreed to what became the Internal Settlement in March 1978, and in January the following year whites backed the new majority rule constitution by 85% in a national referendum. Multiracial elections were held in April 1979 with the country due to be reconstituted as Zimbabwe Rhodesia afterwards. By this time Harper had already left the country; The Guardian reported shortly before the elections that he was "already settled in South Africa". Zimbabwe Rhodesia, with Bishop Abel Muzorewa as Prime Minister, failed to win international acceptance and following the Lancaster House Agreement of December 1979, the UK oversaw a process leading to fresh elections in which the guerrilla leader Robert Mugabe was elected Prime Minister. The UK granted independence to the country as Zimbabwe in April 1980. Harper died on 8 September 2006, at the age of 90.
Notes and references
References
Bibliography
1916 births
2006 deaths
British people in colonial India
Immigrants to Southern Rhodesia
Indian military personnel of World War II
Politicians from Kolkata
Rhodesian anti-communists
Rhodesian Front politicians
Members of the Legislative Assembly of Southern Rhodesia
Finance ministers of Rhodesia
Royal Air Force officers
Royal Air Force personnel of World War II
Royal Australian Air Force personnel of World War II
Signatories of Rhodesia's Unilateral Declaration of Independence
The Few
Military personnel from Kolkata
|
James Houston Spence, , (September 3, 1867 – February 21, 1939) was a Canadian lawyer and Senator.
Spence was born in Greenock Township, Ontario and attended school in London, Ontario and Walkerton, Ontario. He graduated from Osgoode Hall Law School before being called to the bar. He was elected a Bencher of the Law Society of Upper Canada in 1917, named King's Counsel in 1922 and was the senior partner in the law firm of Spence, Shoemaker and Spence.
He specialized in corporate, commercial and municipal law.
He was active in the Liberal Party of Canada, campaigned on behalf of various Liberal candidates in provincial and federal elections, and was a close friend of Sir Wilfrid Laurier as well as a friend of William Lyon Mackenzie King who appointed him to the Senate in 1928.
Spence served in the Hamilton Regiment from 1890 to 1893. He was also a member of the Masonic Order.
He died at his home in Toronto on February 21, 1939.
References
External links
1867 births
1939 deaths
Canadian senators from Ontario
Liberal Party of Canada senators
Lawyers in Ontario
Canadian people of Scottish descent
Canadian King's Counsel
|
The New Inn is a Grade II listed public house on Ham Common, Ham in the London Borough of Richmond upon Thames. It dates from the 18th century.
It was used as a filming location for the pub of the same name in The Sandman (TV Series).
References
External links
1700s establishments in England
Commercial buildings completed in the 18th century
Grade II listed pubs in London
Grade II listed buildings in the London Borough of Richmond upon Thames
Ham, London
Pubs in the London Borough of Richmond upon Thames
|
Godwin Osagie Abbe (born 10 January 1949) in Benin City, Edo State, Nigeria is a retired Nigerian Army Major General and former Defence Minister of Nigeria from 2009 to 2010. He served as the Nigerian Minister of Interior from 2007 to 2009.
Military career
Godwin Abbe joined the military in 1967 as a private, was commissioned second lieutenant in July 1968, and was promoted colonel in 1986. He served during the Nigerian Civil War.
He earned a Postgraduate Diploma in International Relations from Obafemi Awolowo University (OAU), Ile-Ife.
He is also a graduate of the United States Army Infantry School Fort Benning, Georgia, Ghana Armed Forces Staff College and the National Institute for Policy and Strategic studies, Kuru.
He was military governor of Akwa Ibom State 1988–1990) and Rivers State (1990–1991).
He then became general officer commanding (GOC) 2 Division Nigerian Army; Commander, Training and Doctrine Command (TRADOC) and Commander, National War College. He retired in 1999 with the rank of major general.
Politician
After leaving the army, Godwin Abbe joined People's Democratic Party in 1999, and became chairman of the party in Edo State.
Minister of Interior
President Umaru Yar'Adua appointed Godwin Abbe as the Nigerian Minister of Interior on 26 July 2007.
At a meeting of Commonwealth Heads of Government in Kampala, Uganda in November 2007, Abbe met British Prime Minister Gordon Brown and asked for assistance in restructuring the police force, which was suffering from low morale due to poor welfare, inadequate training and lack of vital work tools.
As minister of the interior, Godwin Abbe was chairman of a committee that recommended an amnesty programme for gunmen in the Niger Delta, an important step towards improving output of oil and gas.
Soon after, he was appointed Minister of Defense, a key role in implementing the amnesty.
Minister of Defense
In September 2009, Abbe said that the Amnesty would not prevent security operatives from going after illegal oil bunkerers, who he said would be treated as enemies of the state.
In October 2009, speak of Niger Delta militants who had accepted the government amnesty, Abbe gave assurances they would be rehabilitated, re-integrated and helped in every way possible to make them self-sustaining in life.
References
1949 births
Defence ministers of Nigeria
Interior ministers of Nigeria
Living people
Nigerian military governors of Akwa Ibom State
Nigerian military governors of Rivers State
Peoples Democratic Party (Nigeria) politicians
Nigerian Army officers
Nigerian generals
State political party chairs of Nigeria
People from Benin City
|
```smalltalk
namespace Bit.BlazorUI.Demo.Client.Core.Services;
public partial class MessageBoxService
{
[AutoInject] private IPubSubService pubSubService = default!;
public async Task Show(string message, string title = "")
{
TaskCompletionSource<object?> tcs = new();
pubSubService.Publish(PubSubMessages.SHOW_MESSAGE, (message, title, tcs));
await tcs.Task;
}
}
```
|
```javascript
/**
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* limitations under the license.
*/
'use strict';
/**
* Expose some configuration data. The user can overwrite this if their setup is different.
*/
var config = module.exports = {};
config.canvasId = 'button-canvas';
config.width = 140;
config.height = 42;
```
|
Dr. Mao Yisheng aka. Thomson Eason Mao (; January 9, 1896 – November 12, 1989) was a Chinese structural engineer and social activist. He was one of the most famous Chinese structural engineers, a pioneer in bridge construction, and a social activist.
Biography
Mao was born in Zhenjiang, Jiangsu province. He entered Jiaotong University's Tangshan Engineering College (now Southwest Jiaotong University) and earned his bachelor's degree in civil engineering in 1916. He earned his master's degree from Cornell University and earned the first Ph.D. ever granted by the Carnegie Institute of Technology (now Carnegie Mellon University) in 1919. His doctoral treatise entitled Secondary Stress on Frame Construction is treasured at the Hunt Library of Carnegie Mellon University and the university constructed a statue of him on campus in his honor.
Engineer
Mao was regarded as the founder of modern bridge engineering in China. Mao's long and productive career included designing two of the most famous modern bridges in China, the Qiantang River Bridge near Hangzhou, and the Wuhan Yangtze River Bridge in Wuhan.
The Qiantang River Bridge is the first dual-purpose road-and-railway bridge designed and built by a Chinese. He also participated in the construction of China's first modern bridge – Wuhan Yangtze River Bridge. During the construction of Wuhan Yangtze River Bridge, Mao Yisheng served as chairman of the Technical Advisory Committee composed of more than 20 foreign and Chinese bridge experts, and solved 14 difficult problems relating to bridge construction.
He also led the structural design of the Great Hall of the People in Beijing.
Educator
Returning to China, Mao was on the faculty of five major universities and served as president of four, such as the professor and President of Tangshan Engineering College of the National Chiao Tung University (now Southwest Jiaotong University), Dean of Engineering College of National Southeastern University (later renamed National Central University and then Nanjing University, the engineering school of which later became Nanjing Institute of Technology and then Southeast University), President of Hohai Technology University (now Southeast University and Hohai University), President of Peiyang University (now Tianjin University), President of China Chiao Tung University (later renamed Northern Chiao Tung University, with campus in Tangshan and Beijing, later Southwest Jiaotong University and Beijing Jiaotong University), President of Director of Project Office of Hangzhou Qiantang River Bridge, and Director of Bridge Planning Project Office of Transportation Ministry of Kuomintang Administration.
He significantly influenced Chinese engineering education by introducing new subject matter and innovative pedagogical approaches. In addition to his engineering expertise, he was a distinguished scholar of the History of science in China.
He advocated popular science education, and wrote "On Bridge", "China's Arch Bridges" and many other popular science articles.
Leadership
Mao served as a leader of the China Engineers Association, the Chinese Civil Engineering Society and the China Association of Science and Technology. He has also served as president of Southwest Jiaotong University (from Tangshan Engineering College to Northern Jiaotong University to Southwest Jiaotong University), director of Railway Institute under the Ministry of Railway, president of Railway Scientific Research Center, chairman of Beijing Science Association, honorary president and vice-president of the China Association for Science and Technology, vice-chairman of Jiu San Society, vice-chairman of the Chinese People's Political Consultative Conference (CPPCC), member of CPPCC, and the standing committee member of National People's Congress.
Mao was elected as a member of Chinese Academy of Sciences in 1955, foreign associate of the United States National Academy of Engineering in 1982. He was a senior member of International Association for Bridge and Structural Engineering, honorary member of the Canadian Society of Civil Engineers, and outstanding alumnus from Cornell University and Carnegie Mellon University.
On April 18, 2006, Carnegie Mellon University set up a statue honoring its first doctoral graduate. The sculpture includes an inscription from China's Premier Wen Jiabao.
On March 27, 2014, an eponymous play debuted at Beijing Jiaotong. Deans from the sister Jiaotong universities attended the premier.
Family
Mao Yisheng's nephew Mao Yushi is an economist.
References
1896 births
1989 deaths
Carnegie Mellon University College of Engineering alumni
Chinese activists
Chinese bridge engineers
Chinese structural engineers
Cornell University College of Engineering alumni
Educators from Zhenjiang
Engineers from Jiangsu
Foreign associates of the National Academy of Engineering
Members of Academia Sinica
Members of the Chinese Academy of Sciences
Members of the Standing Committee of the 6th National People's Congress
Members of the Standing Committee of the 5th National People's Congress
Members of the Standing Committee of the 4th National People's Congress
Members of the Standing Committee of the 3rd National People's Congress
Members of the Standing Committee of the 2nd National People's Congress
Members of the Standing Committee of the 1st National People's Congress
Academic staff of Nanjing University
Academic staff of the National Central University
Southwest Jiaotong University alumni
Academic staff of the Southwest Jiaotong University
Presidents of Tianjin University
Vice Chairpersons of the National Committee of the Chinese People's Political Consultative Conference
|
```ocaml
let x=2
```
|
The Pines is an unincorporated community in Albemarle County, Virginia.
References
Unincorporated communities in Virginia
Unincorporated communities in Albemarle County, Virginia
|
Shahwar Ali is an Indian actor and model who appears primarily in Bollywood, Tollywood and Sandalwood films.
Early life and career
Sarwar Ali was born and raised in Bhopal, Madhya Pradesh. His father was a farmer in Bhopal. He shifted to Mumbai in 2000. He worked as a ramp model for the fashion brand Calvin Klein for three months in 2002 before joining the film industry. His debut film was Asambhav released in 2004, where he acted alongside Arjun Rampal and Priyanka Chopra.
In 1998, he won an award in Mr. India under "Best Physique category".
Filmography
Films
Television
Power Couple
Amma
Mast Mauli
References
External links
Indian male film actors
Indian male models
Living people
Year of birth missing (living people)
Male actors from Bhopal
Male actors in Telugu cinema
Male actors in Hindi cinema
Male actors in Kannada cinema
|
The Draft History of Qing () is a draft of the official history of the Qing dynasty compiled and written by a team of over 100 historians led by Zhao Erxun who were hired by the Beiyang government of the Republic of China. The draft was published in 1928, but the Chinese Civil War caused a lack of funding for the project and it was put to an end in 1930. The two sides of the Chinese civil war, the People's Republic of China and Republic of China have attempted to complete it.
History
The Qing imperial court had long established a Bureau of State Historiography and precompiled its own dynastic history.
The massive book was started in 1914, and the rough copy was finished in about 1927.
1,100 copies of the book were published. The Beiyang government moved 400 of the original draft into the northern provinces, where it re-edited the content twice, thus creating three different versions of the book.
It was banned by the Nationalist Government in 1930. The ban was lifted later, but still no further work was actually done partly due to continued warfare including the Second Sino-Japanese War (1937-1945). Historian Hsi-yuan Chen wrote in retrospect, "Not only will the Draft History of Qing live forever, but also Qing history as such will forever remain in draft." He argued as follows: "the making of the history of the last dynasty was besieged with unprecedented changes and challenges: universal kingship and the mandate of Heaven had collapsed, the continuity of cultural tradition was put into doubt, and, most important of all, the past was no longer fixable in a static picture for the present to capture. In short, along with the fall of the last dynasty, the genre of “orthodox history” itself became history."
Contents
The draft contains 529 volumes. It attempts to follow the format of previous official histories, containing four sections:
記/纪 (Ji), containing information about relevant emperors
志 (Zhi), containing events that happened, i.e. astronomical events
表 (Biao), containing lists of people who held important posts or were royalty
傳/传 (Zhuan), containing information concerning notable persons.
Shortcomings of draft
Because of the lack of funding, the authors were forced to publish quickly, and consequently this project was never finished, remaining in the draft stage. The authors openly acknowledged this, and admitted there may have been factual or superficial errors.
The draft was later criticized for being biased against the Xinhai Revolution. Notably, it does not have records of historical figures in the revolution, even those that had been born before the end of the Qing dynasty, although it includes biographies of various others who were born after the collapse of the Qing dynasty. The historians, who were Qing loyalists and/or sympathizers, had a tendency to villainize the revolutionaries. In fact, the draft completely avoided the use of the Republic of China calendar, which was unacceptable for an official history meant to endorse the rise of a new regime.
Modern attempts
In 1961, to commemorate the 50th anniversary of the declaration of the Republic of China, the Republic of China government in Taiwan published its own History of Qing, added 21 supplementary chapters to the Draft History of Qing and revised many existing chapters to denounce the Communist Party as an illegitimate, impostor regime. It also removed the passages that were derogatory towards the Xinhai Revolution. This edition has not been accepted as the official History of Qing because it is recognized that it was a rushed job published for political purposes. Nor does it correct most of the many errors known to exist in the Draft History of Qing.
An additional project, attempting to actually write a New History of Qing incorporating new materials and improvements in historiography, lasted from 1988 to 2000 and only published 33 chapters out of the over 500 projected. The New History was abandoned because of the rise of the Pan-Green Coalition, which saw Taiwan as a separate entity from China and therefore not as the new Chinese regime that would be responsible for writing the official history of the previous dynasty.
In 1961, the People's Republic of China also attempted to complete writing the history of the Qing dynasty, but the historians were prevented from doing so by the Cultural Revolution which started in 1966.
In 2002, the PRC once again announced that it would complete the History of Qing. The project was approved in 2003, and put under the leadership of historian Dai Yi. Initially planned to be completed in 10 years, the completion of the first draft was later pushed to 2016. Chinese Social Sciences Today reported in April 2020 that the project's results were being reviewed.
See also
Twenty-Four Histories
References
External links
Republic of China New History of Qing (1994) on CTEXT (incomplete)
Chinese-language books
History books about the Qing dynasty
1928 non-fiction books
|
```swift
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import GRPCCore
import GRPCHTTP2Core
import NIOHTTP2
import NIOPosix
import XCTest
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
final class GRPCChannelTests: XCTestCase {
func testDefaultServiceConfig() throws {
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
serviceConfig.methodConfig = [MethodConfig(names: [MethodConfig.Name(.echoGet)])]
serviceConfig.retryThrottling = try ServiceConfig.RetryThrottling(
maxTokens: 100,
tokenRatio: 0.1
)
let channel = GRPCChannel(
resolver: .static(endpoints: []),
connector: .never,
config: .defaults,
defaultServiceConfig: serviceConfig
)
XCTAssertNotNil(channel.configuration(forMethod: .echoGet))
XCTAssertNil(channel.configuration(forMethod: .echoUpdate))
let throttle = try XCTUnwrap(channel.retryThrottle)
XCTAssertEqual(throttle.maximumTokens, 100)
XCTAssertEqual(throttle.tokenRatio, 0.1)
}
func testServiceConfigFromResolver() async throws {
// Verify that service config from the resolver takes precedence over the default service
// config. This is done indirectly by checking method config and retry throttle config.
// Create a service config to provide via the resolver.
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
serviceConfig.methodConfig = [MethodConfig(names: [MethodConfig.Name(.echoGet)])]
serviceConfig.retryThrottling = try ServiceConfig.RetryThrottling(
maxTokens: 100,
tokenRatio: 0.1
)
// Need a server to connect to, no RPCs will be created though.
let server = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address = try await server.bind()
let channel = GRPCChannel(
resolver: .static(endpoints: [Endpoint(addresses: [address])], serviceConfig: serviceConfig),
connector: .posix(),
config: .defaults,
defaultServiceConfig: ServiceConfig()
)
// Not resolved yet so the default (empty) service config is used.
XCTAssertNil(channel.configuration(forMethod: .echoGet))
XCTAssertNil(channel.configuration(forMethod: .echoUpdate))
XCTAssertNil(channel.retryThrottle)
try await withThrowingDiscardingTaskGroup { group in
group.addTask {
try await server.run(.never)
}
group.addTask {
await channel.connect()
}
for await event in channel.connectivityState {
switch event {
case .ready:
// When the channel is ready it must have the service config from the resolver.
XCTAssertNotNil(channel.configuration(forMethod: .echoGet))
XCTAssertNil(channel.configuration(forMethod: .echoUpdate))
let throttle = try XCTUnwrap(channel.retryThrottle)
XCTAssertEqual(throttle.maximumTokens, 100)
XCTAssertEqual(throttle.tokenRatio, 0.1)
// Now close.
channel.close()
default:
()
}
}
group.cancelAll()
}
}
func testServiceConfigFromResolverAfterUpdate() async throws {
// Verify that the channel uses service config from the resolver and that it uses the latest
// version provided by the resolver. This is done indirectly by checking method config and retry
// throttle config.
let server = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address = try await server.bind()
let (resolver, continuation) = NameResolver.dynamic(updateMode: .push)
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: ServiceConfig()
)
// Not resolved yet so the default (empty) service config is used.
XCTAssertNil(channel.configuration(forMethod: .echoGet))
XCTAssertNil(channel.configuration(forMethod: .echoUpdate))
XCTAssertNil(channel.retryThrottle)
// Yield the first address list and service config.
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
serviceConfig.methodConfig = [MethodConfig(names: [MethodConfig.Name(.echoGet)])]
serviceConfig.retryThrottling = try ServiceConfig.RetryThrottling(
maxTokens: 100,
tokenRatio: 0.1
)
let resolutionResult = NameResolutionResult(
endpoints: [Endpoint(address)],
serviceConfig: .success(serviceConfig)
)
continuation.yield(resolutionResult)
try await withThrowingDiscardingTaskGroup { group in
group.addTask {
try await server.run(.never)
}
group.addTask {
await channel.connect()
}
for await event in channel.connectivityState {
switch event {
case .ready:
// When the channel it must have the service config from the resolver.
XCTAssertNotNil(channel.configuration(forMethod: .echoGet))
XCTAssertNil(channel.configuration(forMethod: .echoUpdate))
let throttle = try XCTUnwrap(channel.retryThrottle)
XCTAssertEqual(throttle.maximumTokens, 100)
XCTAssertEqual(throttle.tokenRatio, 0.1)
// Now yield a new service config with the same addresses.
var resolutionResult = resolutionResult
serviceConfig.methodConfig = [MethodConfig(names: [MethodConfig.Name(.echoUpdate)])]
serviceConfig.retryThrottling = nil
resolutionResult.serviceConfig = .success(serviceConfig)
continuation.yield(resolutionResult)
// This should be propagated quickly.
try await XCTPoll(every: .milliseconds(10)) {
let noConfigForGet = channel.configuration(forMethod: .echoGet) == nil
let configForUpdate = channel.configuration(forMethod: .echoUpdate) != nil
let noThrottle = channel.retryThrottle == nil
return noConfigForGet && configForUpdate && noThrottle
}
channel.close()
default:
()
}
}
group.cancelAll()
}
}
func testPushBasedResolutionUpdates() async throws {
// Verify that the channel responds to name resolution changes which are pushed into
// the resolver. Do this by starting two servers and only making the address of one available
// via the resolver at a time. Server identity is provided via metadata in the RPC.
// Start a few servers.
let server1 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address1 = try await server1.bind()
let server2 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address2 = try await server2.bind()
// Setup a resolver and push some changes into it.
let (resolver, continuation) = NameResolver.dynamic(updateMode: .push)
let resolution1 = NameResolutionResult(endpoints: [Endpoint(address1)], serviceConfig: nil)
continuation.yield(resolution1)
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
try await withThrowingDiscardingTaskGroup { group in
// Servers respond with their own address in the trailing metadata.
for (server, address) in [(server1, address1), (server2, address2)] {
group.addTask {
try await server.run { inbound, outbound in
let status = Status(code: .ok, message: "")
let metadata: Metadata = ["server-addr": "\(address)"]
try await outbound.write(.status(status, metadata))
outbound.finish()
}
}
}
group.addTask {
await channel.connect()
}
// The stream will be queued until the channel is ready.
let serverAddress1 = try await channel.serverAddress()
XCTAssertEqual(serverAddress1, "\(address1)")
XCTAssertEqual(server1.clients.count, 1)
XCTAssertEqual(server2.clients.count, 0)
// Yield the second address. Because this happens asynchronously there's no guarantee that
// the next stream will be made against the same server, so poll until the servers have the
// appropriate connections.
let resolution2 = NameResolutionResult(endpoints: [Endpoint(address2)], serviceConfig: nil)
continuation.yield(resolution2)
try await XCTPoll(every: .milliseconds(10)) {
server1.clients.count == 0 && server2.clients.count == 1
}
let serverAddress2 = try await channel.serverAddress()
XCTAssertEqual(serverAddress2, "\(address2)")
group.cancelAll()
}
}
func testPullBasedResolutionUpdates() async throws {
// Verify that the channel responds to name resolution changes which are pulled because a
// subchannel asked the channel to re-resolve. Do this by starting two servers and changing
// which is available via resolution updates. Server identity is provided via metadata in
// the RPC.
// Start a few servers.
let server1 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address1 = try await server1.bind()
let server2 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address2 = try await server2.bind()
// Setup a resolve which we push changes into.
let (resolver, continuation) = NameResolver.dynamic(updateMode: .pull)
// Yield the addresses.
for address in [address1, address2] {
let resolution = NameResolutionResult(endpoints: [Endpoint(address)], serviceConfig: nil)
continuation.yield(resolution)
}
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
try await withThrowingDiscardingTaskGroup { group in
// Servers respond with their own address in the trailing metadata.
for (server, address) in [(server1, address1), (server2, address2)] {
group.addTask {
try await server.run { inbound, outbound in
let status = Status(code: .ok, message: "")
let metadata: Metadata = ["server-addr": "\(address)"]
try await outbound.write(.status(status, metadata))
outbound.finish()
}
}
}
group.addTask {
await channel.connect()
}
// The stream will be queued until the channel is ready.
let serverAddress1 = try await channel.serverAddress()
XCTAssertEqual(serverAddress1, "\(address1)")
XCTAssertEqual(server1.clients.count, 1)
XCTAssertEqual(server2.clients.count, 0)
// Tell the first server to GOAWAY. This will cause the subchannel to re-resolve.
let server1Client = try XCTUnwrap(server1.clients.first)
let goAway = HTTP2Frame(
streamID: .rootStream,
payload: .goAway(lastStreamID: 1, errorCode: .noError, opaqueData: nil)
)
try await server1Client.writeAndFlush(goAway)
// Poll until the first client drops, addresses are re-resolved, and a connection is
// established to server2.
try await XCTPoll(every: .milliseconds(10)) {
server1.clients.count == 0 && server2.clients.count == 1
}
let serverAddress2 = try await channel.serverAddress()
XCTAssertEqual(serverAddress2, "\(address2)")
group.cancelAll()
}
}
func testCloseWhenRPCsAreInProgress() async throws {
// Verify that closing the channel while there are RPCs in progress allows the RPCs to finish
// gracefully.
let server = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address = try await server.bind()
try await withThrowingDiscardingTaskGroup { group in
group.addTask {
try await server.run(.echo)
}
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let channel = GRPCChannel(
resolver: .static(endpoints: [Endpoint(address)]),
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
group.addTask {
await channel.connect()
}
try await channel.withStream(descriptor: .echoGet, options: .defaults) { stream in
try await stream.outbound.write(.metadata([:]))
var iterator = stream.inbound.makeAsyncIterator()
let part1 = try await iterator.next()
switch part1 {
case .metadata:
// Got metadata, close the channel.
channel.close()
case .message, .status, .none:
XCTFail("Expected metadata, got \(String(describing: part1))")
}
for await state in channel.connectivityState {
switch state {
case .shutdown:
// Happens when shutting-down has been initiated, so finish the RPC.
stream.outbound.finish()
let part2 = try await iterator.next()
switch part2 {
case .status(let status, _):
XCTAssertEqual(status.code, .ok)
case .metadata, .message, .none:
XCTFail("Expected status, got \(String(describing: part2))")
}
default:
()
}
}
}
group.cancelAll()
}
}
func testQueueRequestsWhileNotReady() async throws {
// Verify that requests are queued until the channel becomes ready. As creating streams
// will race with the channel becoming ready, we add numerous tasks to the task group which
// each create a stream before making the server address known to the channel via the resolver.
// This isn't perfect as the resolution _could_ happen before attempting to create all streams
// although this is unlikely.
let server = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address = try await server.bind()
let (resolver, continuation) = NameResolver.dynamic(updateMode: .push)
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
enum Subtask { case rpc, other }
try await withThrowingTaskGroup(of: Subtask.self) { group in
// Run the server.
group.addTask {
try await server.run { inbound, outbound in
for try await part in inbound {
switch part {
case .metadata:
try await outbound.write(.metadata([:]))
case .message(let bytes):
try await outbound.write(.message(bytes))
}
}
let status = Status(code: .ok, message: "")
try await outbound.write(.status(status, [:]))
outbound.finish()
}
return .other
}
group.addTask {
await channel.connect()
return .other
}
// Start a bunch of requests. These won't start until an address is yielded, they should
// be queued though.
for _ in 1 ... 100 {
group.addTask {
try await channel.withStream(descriptor: .echoGet, options: .defaults) { stream in
try await stream.outbound.write(.metadata([:]))
stream.outbound.finish()
for try await part in stream.inbound {
switch part {
case .metadata, .message:
()
case .status(let status, _):
XCTAssertEqual(status.code, .ok)
}
}
}
return .rpc
}
}
// At least some of the RPCs should have been queued by now.
let resolution = NameResolutionResult(endpoints: [Endpoint(address)], serviceConfig: nil)
continuation.yield(resolution)
var outstandingRPCs = 100
for try await subtask in group {
switch subtask {
case .rpc:
outstandingRPCs -= 1
// All RPCs done, close the channel and cancel the group to stop the server.
if outstandingRPCs == 0 {
channel.close()
group.cancelAll()
}
case .other:
()
}
}
}
}
func testQueueRequestsFailFast() async throws {
// Verifies that if 'waitsForReady' is 'false', that queued requests are failed when there is
// a transient failure. The transient failure is triggered by attempting to connect to a
// non-existent server.
let (resolver, continuation) = NameResolver.dynamic(updateMode: .push)
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
enum Subtask { case rpc, other }
try await withThrowingTaskGroup(of: Subtask.self) { group in
group.addTask {
await channel.connect()
return .other
}
for _ in 1 ... 100 {
group.addTask {
var options = CallOptions.defaults
options.waitForReady = false
await XCTAssertThrowsErrorAsync(ofType: RPCError.self) {
try await channel.withStream(descriptor: .echoGet, options: options) { _ in
XCTFail("Unexpected stream")
}
} errorHandler: { error in
XCTAssertEqual(error.code, .unavailable)
}
return .rpc
}
}
// At least some of the RPCs should have been queued by now.
let resolution = NameResolutionResult(
endpoints: [Endpoint(.unixDomainSocket(path: "/test-queue-requests-fail-fast"))],
serviceConfig: nil
)
continuation.yield(resolution)
var outstandingRPCs = 100
for try await subtask in group {
switch subtask {
case .rpc:
outstandingRPCs -= 1
// All RPCs done, close the channel and cancel the group to stop the server.
if outstandingRPCs == 0 {
channel.close()
group.cancelAll()
}
case .other:
()
}
}
}
}
func testLoadBalancerChangingFromRoundRobinToPickFirst() async throws {
// The test will push different configs to the resolver, first a round-robin LB, then a
// pick-first LB.
let (resolver, continuation) = NameResolver.dynamic(updateMode: .push)
let channel = GRPCChannel(
resolver: resolver,
connector: .posix(),
config: .defaults,
defaultServiceConfig: ServiceConfig()
)
// Start a few servers.
let server1 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address1 = try await server1.bind()
let server2 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address2 = try await server2.bind()
let server3 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address3 = try await server3.bind()
try await withThrowingTaskGroup(of: Void.self) { group in
// Run the servers, no RPCs will be run against them.
for server in [server1, server2, server3] {
group.addTask {
try await server.run(.never)
}
}
group.addTask {
await channel.connect()
}
for await event in channel.connectivityState {
switch event {
case .idle:
let endpoints = [address1, address2].map { Endpoint(addresses: [$0]) }
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.roundRobin]
let resolutionResult = NameResolutionResult(
endpoints: endpoints,
serviceConfig: .success(serviceConfig)
)
// Push the first resolution result which uses round robin. This will result in the
// channel becoming ready.
continuation.yield(resolutionResult)
case .ready:
// Channel is ready, server 1 and 2 should have clients shortly.
try await XCTPoll(every: .milliseconds(10)) {
server1.clients.count == 1 && server2.clients.count == 1 && server3.clients.count == 0
}
// Both subchannels are ready, prepare and yield an update to the resolver.
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.pickFirst(shuffleAddressList: false)]
let resolutionResult = NameResolutionResult(
endpoints: [Endpoint(addresses: [address3])],
serviceConfig: .success(serviceConfig)
)
continuation.yield(resolutionResult)
// Only server 3 should have a connection.
try await XCTPoll(every: .milliseconds(10)) {
server1.clients.count == 0 && server2.clients.count == 0 && server3.clients.count == 1
}
channel.close()
case .shutdown:
group.cancelAll()
default:
()
}
}
}
}
func testPickFirstShufflingAddressList() async throws {
// This test checks that the pick first load-balancer has its address list shuffled. We can't
// assert this deterministically, so instead we'll run an experiment a number of times. Each
// round will create N servers and provide them as endpoints to the pick-first load balancer.
// The channel will establish a connection to one of the servers and its identity will be noted.
let numberOfRounds = 100
let numberOfServers = 2
let servers = (0 ..< numberOfServers).map { _ in
TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
}
var addresses = [SocketAddress]()
for server in servers {
let address = try await server.bind()
addresses.append(address)
}
let endpoint = Endpoint(addresses: addresses)
var counts = Array(repeating: 0, count: addresses.count)
// Supply service config on init, not via the load-balancer.
var serviceConfig = ServiceConfig()
serviceConfig.loadBalancingConfig = [.pickFirst(shuffleAddressList: true)]
try await withThrowingDiscardingTaskGroup { group in
// Run the servers.
for server in servers {
group.addTask {
try await server.run(.never)
}
}
// Run the experiment.
for _ in 0 ..< numberOfRounds {
let channel = GRPCChannel(
resolver: .static(endpoints: [endpoint]),
connector: .posix(),
config: .defaults,
defaultServiceConfig: serviceConfig
)
group.addTask {
await channel.connect()
}
for await state in channel.connectivityState {
switch state {
case .ready:
for index in servers.indices {
if servers[index].clients.count == 1 {
counts[index] += 1
break
}
}
channel.close()
default:
()
}
}
}
// Stop the servers.
group.cancelAll()
}
// The address list is shuffled, so there's no guarantee how many times we'll hit each server.
// Assert that the minimum a server should be hit is 10% of the time.
let expected = Double(numberOfRounds) / Double(numberOfServers)
let minimum = expected * 0.1
XCTAssert(counts.allSatisfy({ Double($0) >= minimum }), "\(counts)")
}
func testPickFirstIsFallbackPolicy() async throws {
// Start a few servers.
let server1 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address1 = try await server1.bind()
let server2 = TestServer(eventLoopGroup: .singletonMultiThreadedEventLoopGroup)
let address2 = try await server2.bind()
// Prepare a channel with an empty service config.
let channel = GRPCChannel(
resolver: .static(endpoints: [Endpoint(address1, address2)]),
connector: .posix(),
config: .defaults,
defaultServiceConfig: ServiceConfig()
)
try await withThrowingDiscardingTaskGroup { group in
// Run the servers.
for server in [server1, server2] {
group.addTask {
try await server.run(.never)
}
}
group.addTask {
await channel.connect()
}
for try await state in channel.connectivityState {
switch state {
case .ready:
// Only server 1 should have a connection.
try await XCTPoll(every: .milliseconds(10)) {
server1.clients.count == 1 && server2.clients.count == 0
}
channel.close()
default:
()
}
}
group.cancelAll()
}
}
func testQueueRequestsThenClose() async throws {
// Set a high backoff so the channel stays in transient failure for long enough.
var config = GRPCChannel.Config.defaults
config.backoff.initial = .seconds(120)
let channel = GRPCChannel(
resolver: .static(
endpoints: [
Endpoint(.unixDomainSocket(path: "/testQueueRequestsThenClose"))
]
),
connector: .posix(),
config: .defaults,
defaultServiceConfig: ServiceConfig()
)
try await withThrowingDiscardingTaskGroup { group in
group.addTask {
await channel.connect()
}
for try await state in channel.connectivityState {
switch state {
case .transientFailure:
group.addTask {
// Sleep a little to increase the chances of the stream being queued before the channel
// reacts to the close.
try await Task.sleep(for: .milliseconds(10))
channel.close()
}
// Try to open a new stream.
await XCTAssertThrowsErrorAsync(ofType: RPCError.self) {
try await channel.withStream(descriptor: .echoGet, options: .defaults) { stream in
XCTFail("Unexpected new stream")
}
} errorHandler: { error in
XCTAssertEqual(error.code, .unavailable)
}
default:
()
}
}
group.cancelAll()
}
}
}
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension GRPCChannel.Config {
static var defaults: Self {
Self(
http2: .defaults,
backoff: .defaults,
connection: .defaults,
compression: .defaults
)
}
}
extension Endpoint {
init(_ addresses: SocketAddress...) {
self.init(addresses: addresses)
}
}
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
extension GRPCChannel {
fileprivate func serverAddress() async throws -> String? {
let values: Metadata.StringValues? = try await self.withStream(
descriptor: .echoGet,
options: .defaults
) { stream in
try await stream.outbound.write(.metadata([:]))
stream.outbound.finish()
for try await part in stream.inbound {
switch part {
case .metadata, .message:
XCTFail("Unexpected part: \(part)")
case .status(_, let metadata):
return metadata[stringValues: "server-addr"]
}
}
return nil
}
return values?.first(where: { _ in true })
}
}
```
|
The second USS Panay (PR–5) of the United States Navy was a Panay-class river gunboat that served on the Yangtze Patrol in China until being sunk by Japanese aircraft on 12 December 1937 on the Yangtze River.
The vessel was built by Kiangnan Dockyard and Engineering Works, Shanghai, China, and launched on 10 November 1927. She was sponsored by Mrs. Ellis S. Stone and commissioned on 10 September 1928.
History
Built for duty in the Asiatic Fleet on the Yangtze River, Panay had as her primary mission the protection of American lives and property frequently threatened in the disturbances that the 1920s and 1930s brought to a China struggling to modernize, create a strong central government, and later counter Japanese aggression. Throughout Panay’s service, navigation on the Yangtze was constantly menaced by bandits and soldier outlaws, and Panay and her sister ships provided protection for U.S. shipping and nationals, as other foreign forces did for their citizens.
Often detachments from Panay served as armed guards on American steamers plying the river. In 1931, her commanding officer, Lieutenant Commander R. A. Dyer, reported, "Firing on gunboats and merchant ships have [sic] become so routine that any vessel traversing the Yangtze River sails with the expectation of being fired upon. Fortunately," he added, "the Chinese appear to be rather poor marksmen and the ship has, so far, not sustained any casualties in these engagements."
As the Japanese moved through south China, American gunboats evacuated most of the embassy staff from Nanjing during November 1937. Panay was assigned as station ship to guard the remaining Americans and take them off at the last moment. Panay evacuated the remaining Americans from the city on 11 December, bringing the number of people aboard to five officers, 54 enlisted men, four US embassy staff, and 10 civilians, including Universal News cameraman Norman Alley, Movietone News’ Eric Mayell, the New York Times's Norman Soong, Collier's Weekly correspondent Jim Marshall, La Stampa correspondent Sandro Sandri and Corriere della Sera correspondent Luigi Barzini Jr. Panay moved upriver to avoid becoming involved in the fighting around the doomed capital. Three U.S. merchant tankers sailed with her. The Japanese senior naval commander in Shanghai was informed both before and after the fact of this movement.
Sunk by the Japanese
On 12 December 1937, Japanese naval aircraft were ordered by their Army to attack "any and all ships" in the Yangtze above NanJing. Knowing of the presence of Panay and the merchantmen, the Imperial Japanese Navy requested verification of the order, which was received before the attack began about 13:27 that day. Although there were several large US flags flown on the ship as well as one painted atop the cabin, the Japanese planes continued strafing and bombing. Panay was hit by two of the eighteen bombs dropped by three Yokosuka B4Y Type-96 bombers and strafed by nine Nakajima A4N Type-95 fighters. The bombing continued until Panay sank at 15:54. Storekeeper First Class Charles L. Ensminger, Standard Oil tanker captain Carl H. Carlson and Italian reporter Sandro Sandri were killed, Coxswain Edgar C. Hulsebus died later that night. 43 sailors and five civilians were wounded. Panay'''s lifeboats were machine-gunned by Japanese fighter planes in the attack.
Two newsreel cameramen were present on Panay, Norman Alley (Universal News) and Eric Mayell (Movietone News) and were able to take considerable film during the attack and afterward from shore as Panay sank in the middle of the river. The newsreels are now available online at usspanay.org (see external links below).
Also on 12 December 1937 two British gunboats, His Majesty's Ship (HMS) Ladybird and HMS Bee, came under fire from a Japanese artillery unit near Wuhu on the Yangtze River. HMS Ladybird was hit by six shells and HMS Bee dodged one as she came upon the scene. HMS Ladybird was not badly damaged and with HMS Bee picked up survivors from the sunk USS Panay.
A formal protest was immediately lodged by the U.S. ambassador. The Japanese government accepted responsibility, but insisted the attack was unintentional. A large indemnity was paid (approximately $2,000,000, which is equal to $ today) on 22 April 1938 and the incident was officially settled; however, further deterioration of relations between Japan and the United States continued.
Fon Huffman, the last survivor of the incident, died in September 2008.
Awards
Navy Expeditionary Medal (12 Dec 1937)
Yangtze Service Medal (1 Mar 1930 - 31 Dec 1932)
China Service Medal (7 Jul 1937 - 12 Dec 1937)
See also
List of patrol vessels of the United States Navy
List of World War II ships of less than 1000 tons
The Sand Pebbles (film) A film based on a novel about an American gunboat during the 1920s in China
Notes
Further reading
Peifer, Douglas Carl. (2016). Choosing war: presidential decisions in the Maine, Lusitania, and Panay incidents.'' New York, NY: Oxford University Press. ISBN 978-0190939601
Peifer, Douglas Carl (2018) . "Presidential Crisis Decision Making Following the Sinking of the Panay." International Journal of Naval History 14, no. 2/November .
External links
USSPanay.org memorial website regarding USS Panay and Panay incident
NavSource Online: Gunboat Photo Archive: USS Panay (PR-5), ex-PG-45
Archive.org Universal Newsreel's 22-minute film by newsreel cameraman Norman Alley
Sinking of the US Gunboat "Panay" by Japanese Bombers 7:28- minute film by British Movietone
Panay (PR-5)
World War II patrol vessels of the United States
Ships sunk by Japanese aircraft
Ships built in China
Second Sino-Japanese War naval ships
Maritime incidents in 1937
Shipwrecks in rivers
Shipwrecks of China
1927 ships
Riverine warfare
Gunboats sunk by aircraft
Ships of the Yangtze Patrol
|
```c++
/*
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
with melonDS. If not, see path_to_url
*/
#include "GPU_OpenGL.h"
#include <assert.h>
#include <cstdio>
#include <cstring>
#include "NDS.h"
#include "GPU.h"
#include "GPU3D_OpenGL.h"
#include "OpenGLSupport.h"
#include "GPU_OpenGL_shaders.h"
namespace melonDS
{
using namespace OpenGL;
std::optional<GLCompositor> GLCompositor::New() noexcept
{
assert(glBindAttribLocation != nullptr);
GLuint CompShader {};
if (!OpenGL::CompileVertexFragmentProgram(CompShader,
kCompositorVS, kCompositorFS_Nearest,
"CompositorShader",
{{"vPosition", 0}, {"vTexcoord", 1}},
{{"oColor", 0}}))
return std::nullopt;
return { GLCompositor(CompShader) };
}
GLCompositor::GLCompositor(GLuint compShader) noexcept : CompShader(compShader)
{
CompScaleLoc = glGetUniformLocation(CompShader, "u3DScale");
glUseProgram(CompShader);
GLuint screenTextureUniform = glGetUniformLocation(CompShader, "ScreenTex");
glUniform1i(screenTextureUniform, 0);
GLuint _3dTextureUniform = glGetUniformLocation(CompShader, "_3DTex");
glUniform1i(_3dTextureUniform, 1);
// all this mess is to prevent bleeding
#define SETVERTEX(i, x, y, offset) \
CompVertices[i].Position[0] = x; \
CompVertices[i].Position[1] = y + offset; \
CompVertices[i].Texcoord[0] = (x + 1.f) * (256.f / 2.f); \
CompVertices[i].Texcoord[1] = (y + 1.f) * (384.f / 2.f)
const float padOffset = 1.f/(192*2.f+2.f)*2.f;
// top screen
SETVERTEX(0, -1, 1, 0);
SETVERTEX(1, 1, 0, padOffset);
SETVERTEX(2, 1, 1, 0);
SETVERTEX(3, -1, 1, 0);
SETVERTEX(4, -1, 0, padOffset);
SETVERTEX(5, 1, 0, padOffset);
// bottom screen
SETVERTEX(6, -1, 0, -padOffset);
SETVERTEX(7, 1, -1, 0);
SETVERTEX(8, 1, 0, -padOffset);
SETVERTEX(9, -1, 0, -padOffset);
SETVERTEX(10, -1, -1, 0);
SETVERTEX(11, 1, -1, 0);
#undef SETVERTEX
glGenBuffers(1, &CompVertexBufferID);
glBindBuffer(GL_ARRAY_BUFFER, CompVertexBufferID);
glBufferData(GL_ARRAY_BUFFER, sizeof(CompVertices), &CompVertices[0], GL_STATIC_DRAW);
glGenVertexArrays(1, &CompVertexArrayID);
glBindVertexArray(CompVertexArrayID);
glEnableVertexAttribArray(0); // position
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, sizeof(CompVertex), (void*)(offsetof(CompVertex, Position)));
glEnableVertexAttribArray(1); // texcoord
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, sizeof(CompVertex), (void*)(offsetof(CompVertex, Texcoord)));
glGenFramebuffers(CompScreenOutputFB.size(), &CompScreenOutputFB[0]);
glGenTextures(1, &CompScreenInputTex);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, CompScreenInputTex);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8UI, 256*3 + 1, 192*2, 0, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, NULL);
glGenTextures(CompScreenOutputTex.size(), &CompScreenOutputTex[0]);
for (GLuint i : CompScreenOutputTex)
{
glBindTexture(GL_TEXTURE_2D, i);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
}
glBindFramebuffer(GL_FRAMEBUFFER, 0);
}
GLCompositor::~GLCompositor()
{
assert(glDeleteFramebuffers != nullptr);
glDeleteFramebuffers(CompScreenOutputFB.size(), &CompScreenOutputFB[0]);
glDeleteTextures(1, &CompScreenInputTex);
glDeleteTextures(CompScreenOutputTex.size(), &CompScreenOutputTex[0]);
glDeleteVertexArrays(1, &CompVertexArrayID);
glDeleteBuffers(1, &CompVertexBufferID);
glDeleteProgram(CompShader);
}
GLCompositor::GLCompositor(GLCompositor&& other) noexcept :
Scale(other.Scale),
ScreenH(other.ScreenH),
ScreenW(other.ScreenW),
CompScaleLoc(other.CompScaleLoc),
CompVertices(other.CompVertices),
CompShader(other.CompShader),
CompVertexBufferID(other.CompVertexBufferID),
CompVertexArrayID(other.CompVertexArrayID),
CompScreenInputTex(other.CompScreenInputTex),
CompScreenOutputTex(other.CompScreenOutputTex),
CompScreenOutputFB(other.CompScreenOutputFB)
{
other.CompScreenOutputFB = {};
other.CompScreenInputTex = {};
other.CompScreenOutputTex = {};
other.CompVertexArrayID = {};
other.CompVertexBufferID = {};
other.CompShader = {};
}
GLCompositor& GLCompositor::operator=(GLCompositor&& other) noexcept
{
if (this != &other)
{
Scale = other.Scale;
ScreenH = other.ScreenH;
ScreenW = other.ScreenW;
CompScaleLoc = other.CompScaleLoc;
CompVertices = other.CompVertices;
// Clean up these resources before overwriting them
glDeleteProgram(CompShader);
CompShader = other.CompShader;
glDeleteBuffers(1, &CompVertexBufferID);
CompVertexBufferID = other.CompVertexBufferID;
glDeleteVertexArrays(1, &CompVertexArrayID);
CompVertexArrayID = other.CompVertexArrayID;
glDeleteTextures(1, &CompScreenInputTex);
CompScreenInputTex = other.CompScreenInputTex;
glDeleteTextures(CompScreenOutputTex.size(), &CompScreenOutputTex[0]);
CompScreenOutputTex = other.CompScreenOutputTex;
glDeleteFramebuffers(CompScreenOutputFB.size(), &CompScreenOutputFB[0]);
CompScreenOutputFB = other.CompScreenOutputFB;
other.CompScreenOutputFB = {};
other.CompScreenInputTex = {};
other.CompScreenOutputTex = {};
other.CompVertexArrayID = {};
other.CompVertexBufferID = {};
other.CompShader = {};
}
return *this;
}
void GLCompositor::SetScaleFactor(int scale) noexcept
{
if (scale == Scale)
return;
Scale = scale;
ScreenW = 256 * scale;
ScreenH = (384+2) * scale;
for (int i = 0; i < 2; i++)
{
glBindTexture(GL_TEXTURE_2D, CompScreenOutputTex[i]);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, ScreenW, ScreenH, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
// fill the padding
u8* zeroPixels = (u8*) calloc(1, ScreenW*2*scale*4);
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 192*scale, ScreenW, 2*scale, GL_RGBA, GL_UNSIGNED_BYTE, zeroPixels);
GLenum fbassign[] = {GL_COLOR_ATTACHMENT0};
glBindFramebuffer(GL_FRAMEBUFFER, CompScreenOutputFB[i]);
glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, CompScreenOutputTex[i], 0);
glDrawBuffers(1, fbassign);
free(zeroPixels);
}
glBindFramebuffer(GL_FRAMEBUFFER, 0);
}
void GLCompositor::Stop(const GPU& gpu) noexcept
{
for (int i = 0; i < 2; i++)
{
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, CompScreenOutputFB[gpu.FrontBuffer]);
glClear(GL_COLOR_BUFFER_BIT);
}
glBindFramebuffer(GL_FRAMEBUFFER, 0);
}
void GLCompositor::RenderFrame(const GPU& gpu, Renderer3D& renderer) noexcept
{
int backbuf = gpu.FrontBuffer ^ 1;
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, CompScreenOutputFB[backbuf]);
glDisable(GL_DEPTH_TEST);
glDisable(GL_STENCIL_TEST);
glDisable(GL_BLEND);
glColorMaski(0, GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glViewport(0, 0, ScreenW, ScreenH);
glClear(GL_COLOR_BUFFER_BIT);
// TODO: select more shaders (filtering, etc)
glUseProgram(CompShader);
glUniform1ui(CompScaleLoc, Scale);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, CompScreenInputTex);
if (gpu.Framebuffer[backbuf][0] && gpu.Framebuffer[backbuf][1])
{
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 256*3 + 1, 192, GL_RGBA_INTEGER,
GL_UNSIGNED_BYTE, gpu.Framebuffer[backbuf][0].get());
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 192, 256*3 + 1, 192, GL_RGBA_INTEGER,
GL_UNSIGNED_BYTE, gpu.Framebuffer[backbuf][1].get());
}
glActiveTexture(GL_TEXTURE1);
renderer.SetupAccelFrame();
glBindBuffer(GL_ARRAY_BUFFER, CompVertexBufferID);
glBindVertexArray(CompVertexArrayID);
glDrawArrays(GL_TRIANGLES, 0, 4*3);
}
void GLCompositor::BindOutputTexture(int buf)
{
glBindTexture(GL_TEXTURE_2D, CompScreenOutputTex[buf]);
}
}
```
|
```xml
export * from './components';
import '@stencil/router';
```
|
```html
<!DOCTYPE html>
<html xmlns:th="path_to_url">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" th:href="|path_to_url|"/>
<script th:src="|path_to_url|"></script>
<script th:src="|path_to_url|"></script>
<script src="../public/js/message.js" th:src="@{/js/message.js}"></script>
<link rel="stylesheet" href="../public/css/styles.css" th:href="@{/css/styles.css}" />
<link rel="icon" href="../public/images/favicon.ico" th:href="@{/images/favicon.ico}" />
<title>AWS Photo Analyzer</title>
<script>
function myFunction() {
alert("The form was submitted");
}
</script>
</head>
<body>
<header th:replace="layout :: site-header"/>
<div class="container">
<h2>AWS Photo Analyzer Application</h2>
<p>You can generate a report that analyzes the images in the S3 bucket. You can send the report to the following email address. </p>
<label for="email">Email address:</label><br>
<input type="text" id="email" name="email" value=""><br>
<div>
<br>
<p>Click the following button to obtain a report</p>
<button onclick="ProcessImages()">Analyze Photos</button>
</div>
<div>
<h3>Download a photo to your browser</h3>
<p>Specify the photo to download from an Amazon S3 bucket</p>
<label for="photo">Photo Name:"</label><br>
<input type="text" id="photo" name="photo" value=""><br>
<p>Click the following button to download a photo</p>
<button onclick="DownloadImage()">Download Photo</button>
</div>
</div>
</body>
</html>
```
|
```objective-c
This program is free software; you can redistribute it and/or modify
the Free Software Foundation
This program 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
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// Animation names
#define GRASS_ANIM_DEFAULT 0
// Color names
// Patch names
// Names of collision boxes
#define GRASS_COLLISION_BOX_PART_NAME 0
// Attaching position names
// Sound names
```
|
```scala
/*
*/
package akka.http.impl.engine.http2
import akka.actor.{ ActorSystem, ClassicActorSystemProvider, ExtendedActorSystem, Extension, ExtensionId, ExtensionIdProvider }
import akka.annotation.InternalApi
import akka.dispatch.ExecutionContexts
import akka.event.LoggingAdapter
import akka.http.impl.engine.HttpConnectionIdleTimeoutBidi
import akka.http.impl.engine.server.{ GracefulTerminatorStage, MasterServerTerminator, ServerTerminator, UpgradeToOtherProtocolResponseHeader }
import akka.http.impl.util.LogByteStringTools
import akka.http.scaladsl.Http.OutgoingConnection
import akka.http.scaladsl.{ ConnectionContext, Http, HttpsConnectionContext }
import akka.http.scaladsl.Http.ServerBinding
import akka.http.scaladsl.model._
import akka.http.scaladsl.model.headers.{ Connection, RawHeader, Upgrade, UpgradeProtocol }
import akka.http.scaladsl.model.http2.Http2SettingsHeader
import akka.http.scaladsl.settings.ClientConnectionSettings
import akka.http.scaladsl.settings.ServerSettings
import akka.stream.Attributes
import akka.stream.TLSClosing
import akka.stream.TLSProtocol.{ SslTlsInbound, SslTlsOutbound }
import akka.stream.impl.io.TlsUtils
import akka.stream.scaladsl.{ Flow, Keep, Sink, Source, TLS, TLSPlacebo, Tcp }
import akka.stream.{ IgnoreComplete, Materializer }
import akka.util.ByteString
import akka.Done
import javax.net.ssl.SSLEngine
import scala.collection.immutable
import scala.concurrent.Future
import scala.concurrent.duration.Duration
import scala.util.control.NonFatal
import scala.util.{ Failure, Success }
/**
* INTERNAL API
*
* Internal entry points for Http/2 server
*/
@InternalApi
private[http] final class Http2Ext(implicit val system: ActorSystem)
extends akka.actor.Extension {
// FIXME: won't having the same package as top-level break osgi?
import Http2._
private[this] final val DefaultPortForProtocol = -1 // any negative value
val http = Http(system)
val telemetry = TelemetrySpi.create(system)
// TODO: split up similarly to what `Http` does into `serverLayer`, `bindAndHandle`, etc.
def bindAndHandleAsync(
handler: HttpRequest => Future[HttpResponse],
interface: String, port: Int = DefaultPortForProtocol,
connectionContext: ConnectionContext,
settings: ServerSettings = ServerSettings(system),
log: LoggingAdapter = system.log)(implicit fm: Materializer): Future[ServerBinding] = {
val httpPlusSwitching: HttpPlusSwitching =
if (connectionContext.isSecure) httpsWithAlpn(connectionContext.asInstanceOf[HttpsConnectionContext])
else priorKnowledge
val effectivePort =
if (port >= 0) port
else if (connectionContext.isSecure) settings.defaultHttpsPort
else settings.defaultHttpPort
val handlerWithErrorHandling = withErrorHandling(log, handler)
val http1: HttpImplementation =
Flow[HttpRequest].mapAsync(settings.pipeliningLimit)(handleUpgradeRequests(handlerWithErrorHandling, settings, log))
.joinMat(GracefulTerminatorStage(system, settings) atop http.serverLayer(settings, log = log))(Keep.right)
val http2: HttpImplementation =
Http2Blueprint.handleWithStreamIdHeader(settings.http2Settings.maxConcurrentStreams)(handlerWithErrorHandling)(system.dispatcher)
.joinMat(Http2Blueprint.serverStackTls(settings, log, telemetry, Http().dateHeaderRendering))(Keep.right)
val masterTerminator = new MasterServerTerminator(log)
Tcp(system).bind(interface, effectivePort, settings.backlog, settings.socketOptions, halfClose = false, Duration.Inf) // we knowingly disable idle-timeout on TCP level, as we handle it explicitly in Akka HTTP itself
.via(if (telemetry == NoOpTelemetry) Flow[Tcp.IncomingConnection] else telemetry.serverBinding)
.mapAsyncUnordered(settings.maxConnections) {
(incoming: Tcp.IncomingConnection) =>
try {
httpPlusSwitching(http1, http2).addAttributes(prepareServerAttributes(settings, incoming))
.watchTermination() {
case (connectionTerminatorF, future) =>
connectionTerminatorF.foreach { connectionTerminator =>
masterTerminator.registerConnection(connectionTerminator)(fm.executionContext)
future.onComplete(_ => masterTerminator.removeConnection(connectionTerminator))(fm.executionContext)
}(fm.executionContext)
future // drop the terminator matValue, we already registered is which is all we need to do here
}
.join(HttpConnectionIdleTimeoutBidi(settings.idleTimeout, Some(incoming.remoteAddress)) join incoming.flow)
.addAttributes(Http.cancellationStrategyAttributeForDelay(settings.streamCancellationDelay))
.run().recover {
// Ignore incoming errors from the connection as they will cancel the binding.
// As far as it is known currently, these errors can only happen if a TCP error bubbles up
// from the TCP layer through the HTTP layer to the Http.IncomingConnection.flow.
// See path_to_url
case NonFatal(ex) =>
Done
}(ExecutionContexts.parasitic)
} catch {
case NonFatal(e) =>
log.error(e, "Could not materialize handling flow for {}", incoming)
throw e
}
}.mapMaterializedValue {
_.map(tcpBinding => ServerBinding(tcpBinding.localAddress)(
() => tcpBinding.unbind(),
timeout => masterTerminator.terminate(timeout)(fm.executionContext)
))(fm.executionContext)
}.to(Sink.ignore).run()
}
private def withErrorHandling(log: LoggingAdapter, handler: HttpRequest => Future[HttpResponse]): HttpRequest => Future[HttpResponse] = { request =>
try {
handler(request).recover {
case NonFatal(ex) => handleHandlerError(log, ex)
}(ExecutionContexts.parasitic)
} catch {
case NonFatal(ex) => Future.successful(handleHandlerError(log, ex))
}
}
private def handleHandlerError(log: LoggingAdapter, ex: Throwable): HttpResponse = {
log.error(ex, "Internal server error, sending 500 response")
HttpResponse(StatusCodes.InternalServerError)
}
private def prepareServerAttributes(settings: ServerSettings, incoming: Tcp.IncomingConnection) = {
val attrs = Http.prepareAttributes(settings, incoming)
if (telemetry == NoOpTelemetry) attrs
else {
// transfer attributes allowing context propagation from serverBinding interceptor to request-response interceptor
attrs.and(incoming.flow.traversalBuilder.attributes)
}
}
private def handleUpgradeRequests(
handler: HttpRequest => Future[HttpResponse],
settings: ServerSettings,
log: LoggingAdapter
): HttpRequest => Future[HttpResponse] = { req =>
req.header[Upgrade] match {
case Some(upgrade) if upgrade.protocols.exists(_.name equalsIgnoreCase "h2c") =>
log.debug("Got h2c upgrade request from HTTP/1.1 to HTTP2")
// path_to_url#Http2SettingsHeader 3.2.1 HTTP2-Settings Header Field
val upgradeSettings = req.headers.collect {
case raw: RawHeader if raw.lowercaseName == Http2SettingsHeader.name =>
Http2SettingsHeader.parse(raw.value, log)
}
upgradeSettings match {
// Must be exactly one
case immutable.Seq(Success(settingsFromHeader)) =>
// inject the actual upgrade request with a stream identifier of 1
// path_to_url#rfc.section.3.2
val injectedRequest = Source.single(req.addAttribute(Http2.streamId, 1))
val serverLayer: Flow[ByteString, ByteString, Future[Done]] = Flow.fromGraph(
Flow[HttpRequest]
.watchTermination()(Keep.right)
.prepend(injectedRequest)
.via(Http2Blueprint.handleWithStreamIdHeader(settings.http2Settings.maxConcurrentStreams)(handler)(system.dispatcher))
// the settings from the header are injected into the blueprint as initial demuxer settings
.joinMat(Http2Blueprint.serverStack(settings, log, settingsFromHeader, true, telemetry, Http().dateHeaderRendering))(Keep.left))
Future.successful(
HttpResponse(
StatusCodes.SwitchingProtocols,
immutable.Seq[HttpHeader](
ConnectionUpgradeHeader,
UpgradeHeader,
UpgradeToOtherProtocolResponseHeader(serverLayer)
)
)
)
case immutable.Seq(Failure(e)) =>
log.warning("Failed to parse http2-settings header in upgrade [{}], continuing with HTTP/1.1", e.getMessage)
handler(req)
// A server MUST NOT upgrade the connection to HTTP/2 if this header field
// is not present or if more than one is present
case _ =>
log.debug("Invalid upgrade request (http2-settings header missing or repeated)")
handler(req)
}
case _ =>
handler(req)
}
}
val ConnectionUpgradeHeader = Connection(List("upgrade"))
val UpgradeHeader = Upgrade(List(UpgradeProtocol("h2c")))
def httpsWithAlpn(httpsContext: HttpsConnectionContext)(http1: HttpImplementation, http2: HttpImplementation): Flow[ByteString, ByteString, Future[ServerTerminator]] = {
// Mutable cell to transport the chosen protocol from the SSLEngine to
// the switch stage.
// Doesn't need to be volatile because there's a happens-before relationship (enforced by memory barriers)
// between the SSL handshake and sending out the first SessionBytes, and receiving the first SessionBytes
// and reading out the variable.
var chosenProtocol: Option[String] = None
def setChosenProtocol(protocol: String): Unit =
if (chosenProtocol.isEmpty) chosenProtocol = Some(protocol)
else throw new IllegalStateException("ChosenProtocol was set twice. Http2.serverLayer is not reusable.")
def getChosenProtocol(): String = chosenProtocol.getOrElse(Http2AlpnSupport.HTTP11) // default to http/1, e.g. when ALPN jar is missing
var eng: Option[SSLEngine] = None
def createEngine(): SSLEngine = {
val engine = httpsContext.sslContextData(None)
eng = Some(engine)
engine.setUseClientMode(false)
Http2AlpnSupport.enableForServer(engine, setChosenProtocol)
}
val tls = TLS(() => createEngine(), _ => Success(()), IgnoreComplete)
ProtocolSwitch(_ => getChosenProtocol(), http1, http2) join
tls
}
def outgoingConnection(host: String, port: Int, connectionContext: HttpsConnectionContext, clientConnectionSettings: ClientConnectionSettings, log: LoggingAdapter): Flow[HttpRequest, HttpResponse, Future[OutgoingConnection]] = {
def createEngine(): SSLEngine = {
val engine = connectionContext.sslContextData(Some((host, port)))
engine.setUseClientMode(true)
Http2AlpnSupport.clientSetApplicationProtocols(engine, Array("h2"))
engine
}
val stack = Http2Blueprint.clientStack(clientConnectionSettings, log, telemetry).addAttributes(prepareClientAttributes(host, port)) atop
Http2Blueprint.unwrapTls atop
LogByteStringTools.logTLSBidiBySetting("client-plain-text", clientConnectionSettings.logUnencryptedNetworkBytes) atop
TLS(createEngine _, closing = TLSClosing.eagerClose)
stack.joinMat(clientConnectionSettings.transport.connectTo(host, port, clientConnectionSettings)(system.classicSystem))(Keep.right)
.addAttributes(Http.cancellationStrategyAttributeForDelay(clientConnectionSettings.streamCancellationDelay))
}
def outgoingConnectionPriorKnowledge(host: String, port: Int, clientConnectionSettings: ClientConnectionSettings, log: LoggingAdapter): Flow[HttpRequest, HttpResponse, Future[OutgoingConnection]] = {
val stack = Http2Blueprint.clientStack(clientConnectionSettings, log, telemetry).addAttributes(prepareClientAttributes(host, port)) atop
Http2Blueprint.unwrapTls atop
LogByteStringTools.logTLSBidiBySetting("client-plain-text", clientConnectionSettings.logUnencryptedNetworkBytes) atop
TLSPlacebo()
stack.joinMat(clientConnectionSettings.transport.connectTo(host, port, clientConnectionSettings)(system.classicSystem))(Keep.right)
.addAttributes(Http.cancellationStrategyAttributeForDelay(clientConnectionSettings.streamCancellationDelay))
}
private def prepareClientAttributes(serverHost: String, port: Int): Attributes =
if (telemetry == NoOpTelemetry) Attributes.none
else TelemetryAttributes.prepareClientFlowAttributes(serverHost, port)
}
/** INTERNAL API */
@InternalApi
private[http] object Http2 extends ExtensionId[Http2Ext] with ExtensionIdProvider {
val streamId = AttributeKey[Int]("x-http2-stream-id")
override def get(system: ActorSystem): Http2Ext = super.get(system)
override def get(system: ClassicActorSystemProvider): Http2Ext = super.get(system)
def apply()(implicit system: ClassicActorSystemProvider): Http2Ext = super.apply(system)
override def apply(system: ActorSystem): Http2Ext = super.apply(system)
def lookup: ExtensionId[_ <: Extension] = Http2
def createExtension(system: ExtendedActorSystem): Http2Ext = new Http2Ext()(system)
private[http] type HttpImplementation = Flow[SslTlsInbound, SslTlsOutbound, ServerTerminator]
private[http] type HttpPlusSwitching = (HttpImplementation, HttpImplementation) => Flow[ByteString, ByteString, Future[ServerTerminator]]
private[http] def priorKnowledge(http1: HttpImplementation, http2: HttpImplementation): Flow[ByteString, ByteString, Future[ServerTerminator]] =
TLSPlacebo().reversed.joinMat(
ProtocolSwitch.byPreface(http1, http2)
)(Keep.right)
}
```
|
```c
/*
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/font/util/utilbitmap.c,v 1.3 1999/08/22 08:58:58 dawes Exp $ */
/*
* Author: Keith Packard, MIT X Consortium
*/
/* Modified for use with FreeType */
#include <ft2build.h>
#include "pcfutil.h"
/*
* Invert bit order within each BYTE of an array.
*/
FT_LOCAL_DEF( void )
BitOrderInvert( unsigned char* buf,
size_t nbytes )
{
for ( ; nbytes > 0; nbytes--, buf++ )
{
unsigned int val = *buf;
val = ( ( val >> 1 ) & 0x55 ) | ( ( val << 1 ) & 0xAA );
val = ( ( val >> 2 ) & 0x33 ) | ( ( val << 2 ) & 0xCC );
val = ( ( val >> 4 ) & 0x0F ) | ( ( val << 4 ) & 0xF0 );
*buf = (unsigned char)val;
}
}
/*
* Invert byte order within each 16-bits of an array.
*/
FT_LOCAL_DEF( void )
TwoByteSwap( unsigned char* buf,
size_t nbytes )
{
unsigned char c;
for ( ; nbytes >= 2; nbytes -= 2, buf += 2 )
{
c = buf[0];
buf[0] = buf[1];
buf[1] = c;
}
}
/*
* Invert byte order within each 32-bits of an array.
*/
FT_LOCAL_DEF( void )
FourByteSwap( unsigned char* buf,
size_t nbytes )
{
unsigned char c;
for ( ; nbytes >= 4; nbytes -= 4, buf += 4 )
{
c = buf[0];
buf[0] = buf[3];
buf[3] = c;
c = buf[1];
buf[1] = buf[2];
buf[2] = c;
}
}
/* END */
```
|
```smalltalk
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.DotNet.Cli.Utils.Extensions
{
public static class StringExtensions
{
public static string RemovePrefix(this string name)
{
int prefixLength = GetPrefixLength(name);
return prefixLength > 0
? name.Substring(prefixLength)
: name;
static int GetPrefixLength(string name)
{
if (name[0] == '-')
{
return name.Length > 1 && name[1] == '-'
? 2
: 1;
}
if (name[0] == '/')
{
return 1;
}
return 0;
}
}
}
}
```
|
South Carolina Highway 24 (SC 24) is a state highway in the U.S. state of South Carolina. The highway connects Westminster and Anderson.
Route description
SC 24 begins at an intersection with U.S. Route 76 (US 76) and US 123 (East Main Street) in Westminster, within Oconee County, where the roadway continues as Oak Street. It travels to the southwest and immediately curves to the southeast before leaving the city limits. The highway passes by Pleasant Hill Cemetery and travels through rural areas of the county. Then, it has an intersection with SC 11. The highway continues traveling through rural areas of the county and has an intersection with SC 182 in Oakway. During a short east-northeast section, there is a very brief concurrency with SC 59. The highway passes by Hays Cemetery. SC 24 enters Anderson County and almost immediately has an interchange with Interstate 85 (I-85) which includes an intersection with SC 243 at its northern terminus. It crosses over part of Lake Hartwell on an unnamed bridge. A short distance later, it begins a concurrency with SC 187 at the Portman Shoals Intersection. The two highways cross over another part of the lake on the Calvin Wesley Belcher Bridge. It then enters West Gate, where SC 187 leaves the concurrency. SC 24 travels along the southern city limits of Centerville and passes just north of Anderson Regional Airport. In West Anderson, the highway passes Lakeside Middle School and intersects SC 28. About later, it enters the city limits of Anderson. Just under later, it meets its eastern terminus, an intersection with US 29 Business (US 29 Bus.)/US 76/US 178/SC 28 Bus./SC 81 (Murray Avenue).
History
The first SC 24 was an original state highway, which operated as a spur from SC 12 in Hibernia, to Ninety Six. By 1926, SC 24 was extended southeast on new primary routing through Pelion to SC 6 in North. In 1928, SC 24 was extended south, from North, to SC 64 in Olar. In 1929, SC 24 was extended west, in concurrency with US 25 to Hodges, then replacing SC 25 to Donalds, and SC 15 to SC 2 in Clemson. That same year, SC 24 was rerouted to avoid Ninety Six, with its former route becoming SC 246. By 1930, SC 24 was rerouted at North, replacing SC 6 to Orangeburg then in concurrency with SC 2, through Bowman and Rosinville, to US 78. In 1931, SC 24 was extended west along SC 2, through Seneca and Walhalla, then solo through Mountain Rest to the Georgia state line; SC 24 reached its longest at approximately . In 1933, US 178 replaced SC 24 between Anderson and US 78; SC 24 remained west of Anderson to Georgia. In 1938, SC 24 was renumbered as part of SC 28.
The second and current SC 24 was established in 1938 as a renumbering of SC 18, between Westminster and Anderson. By 1964, SC 24 eastern terminus changed from Market and Main Streets to Whitier and Main Streets, coinciding with the elimination of SC 80.
Major intersections
See also
References
External links
Mapmikey's South Carolina Highways Page: SC 24
024
Transportation in Oconee County, South Carolina
Transportation in Anderson County, South Carolina
|
Uzbek Canadians are Canadian citizens of Uzbek descent or persons of Uzbek descent residing in Canada. According to the 2016 Census there were 3,920 Canadians who claimed Uzbek ancestry. There is a small group of Uzbeks in the city of Guelph. There are 150 ethnic Uzbek families from Afghanistan. The Uzbeks of Guelph are mainly coming from cities of Andkhoi and Faryab.
Notable Uzbek Canadians
Artour "Arteezy" Babaev, professional Dota player
Liane Balaban, actress
See also
Middle Eastern Canadians
West Asian Canadians
References
Ethnic groups in Canada
Asian Canadian
Uzbekistani diaspora
|
Jerusalem the Golden is a novel by Margaret Drabble published in 1967, and is a winner of the James Tait Black Memorial Prize in 1967.
Development and title
Jerusalem the Golden resembles a number of autobiographical elements: like Clara, Drabble grew up in Yorkshire, was the middle of three sisters, and some of the characters resemble family members. Mrs Maugham is "based on [Drabble's] maternal grandmother."
The title is taken from the hymn of the same name; frequently Drabble uses titles that point towards Biblical references: such as in The Millstone and The Needle's Eye.
Characters
Clara Maugham - the main character for the novel. Clara is a young intelligent, attractive and bright student in her final year at a London university.
Clelia - an artist and actress whom Clara envies and wants to emulate.
Mrs. Maugham - Clara's "miserable" mother, loosely "based on [Drabble's] maternal grandmother." Critic Lisa Allardice attributes the mean personality to a "pinched interior life".
Themes
Like many of Drabble's other novels, the novel focuses on topics relevant to women and gender. For example, G. Suchita describes the novel as exhibiting "liberationist tendencies" familiar with the feminist trends of 1960's. Suchita compares the female protagonist, Clara, to other women characters Emma from The Garrick Year and Louise from A Summer Bird-Cage, both which use "sex as a social advancement", creating power over men through sexual conquest. However, as critic Lisa Allardice noted she isn't writing "feminist" novels, but "merely writing about the world around her, and her own experiences as a young woman during the period".
Similarly, in reviewing the novel for The Guardian, critic Lisa Allardice noted the importance of intense female relationships, in a format similar to other novels by Drabble, including her earlier novels: debut novel A Summer Bird-Cage and The Waterfall.
Intertextuality
Drabble writes the novel into the larger literary tradition, by evoking motifs and features from numerous other works. The title is a biblical reference, and she "frequently evokes" Thomas Hardy, making explicit references to Tess of the D'Urbervilles. When reviewing the book, critic Lisa Allardice also notes the close resemblance of the novel's structure and plot to the later An Experiment in Love by Hilary Mantel.
Critical reception
In rereading the novel at the time of its republication with Penguin Modern Classics, critic Lisa Allardice described the novel as " very much a fairytale of its time". Allardice described the novel as successful, and exhibiting the "moral ambiguity and wisdom of Drabble's early fiction, along with the wit and elegance of her prose." She concluded by claiming that it should be as well read as its predecessor, The Millstone.
Further reading
References
1967 British novels
Novels by Margaret Drabble
Weidenfeld & Nicolson books
|
```html
<ng-container>
<div class="section">
<h4>{{ "common.schemas" | sqxTranslate }}</h4>
<sqx-form-hint>
{{ "rules.schemas.hint" | sqxTranslate }}
</sqx-form-hint>
@if (!triggerForm.form.controls.handleAll.value) {
<div>
@for (form of schemasForm.controls; track form; let i = $index) {
<div class="mb-2">
<sqx-content-changed-schema
[form]="$any(form)"
(remove)="removeSchema(i)"
[schemas]="schemas"></sqx-content-changed-schema>
</div>
}
<div class="form-group row gx-2 align-items-center">
<div class="col-3">
<div class="form-control preview">{{ "common.schema" | sqxTranslate }}</div>
</div>
<div class="col-auto">
<div class="label text-muted">{{ "rules.when" | sqxTranslate }}</div>
</div>
<div class="col">
<div class="form-control preview">{{ "rules.condition" | sqxTranslate }}</div>
</div>
<div class="col-auto">
<button class="btn btn-success" (click)="addSchema()" type="button">
<i class="icon-add"></i>
</button>
</div>
</div>
</div>
}
<div class="form-group" [formGroup]="triggerForm.form">
<div class="form-check">
<input class="form-check-input" id="handleAll" formControlName="handleAll" type="checkbox" />
<label class="form-check-label" for="handleAll">
{{ "rules.triggerAll" | sqxTranslate }}
</label>
</div>
</div>
</div>
<div class="section">
<h4>{{ "rules.referencedSchemas" | sqxTranslate }}</h4>
<sqx-form-hint>
{{ "rules.referencedSchemasHint" | sqxTranslate }}
</sqx-form-hint>
@for (form of referencedSchemasForm.controls; track form; let i = $index) {
<div class="mb-2">
<sqx-content-changed-schema
[form]="$any(form)"
(remove)="removeReferencedSchema(i)"
[schemas]="schemas"></sqx-content-changed-schema>
</div>
}
<div class="form-group row gx-2 align-items-center">
<div class="col-3">
<div class="form-control preview">{{ "common.schema" | sqxTranslate }}</div>
</div>
<div class="col-auto">
<div class="label text-muted">{{ "rules.when" | sqxTranslate }}</div>
</div>
<div class="col">
<div class="form-control preview">{{ "rules.condition" | sqxTranslate }}</div>
</div>
<div class="col-auto">
<button class="btn btn-success" (click)="addReferencedSchema()" type="button">
<i class="icon-add"></i>
</button>
</div>
</div>
</div>
<div class="help">
<h4>{{ "common.conditions" | sqxTranslate }}</h4>
<sqx-form-hint>
{{ "rules.conditionHint2" | sqxTranslate }}
</sqx-form-hint>
<ul class="help-examples">
<li class="help-example">
{{ "rules.conditions.event" | sqxTranslate }}:
<br />
<sqx-code>event.type == 'Created' || event.type == 'Published'</sqx-code>
</li>
<li class="help-example">
{{ "rules.conditions.contentValue" | sqxTranslate }}:
<br />
<sqx-code>event.data.important.iv === true</sqx-code>
</li>
<li class="help-example">
{{ "rules.conditions.updatedBy" | sqxTranslate }}:
<br />
<sqx-code>user.email === 'user@squidex.io'</sqx-code>
</li>
</ul>
</div>
</ng-container>
```
|
```c++
/*
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorFilter.h"
#include "SkBlurMaskFilter.h"
namespace skiagm {
/**
* This test exercises bug 1719. An anti-aliased blurred path is rendered through a soft clip. On
* the GPU a scratch texture was used to hold the original path mask as well as the blurred path
* result. The same texture is then incorrectly used to generate the soft clip mask for the draw.
* Thus the same texture is used for both the blur mask and soft mask in a single draw.
*
* The correct image should look like a thin stroked round rect.
*/
class SkBug1719GM : public GM {
public:
SkBug1719GM() {}
protected:
SkString onShortName() override {
return SkString("skbug1719");
}
SkISize onISize() override {
return SkISize::Make(300, 100);
}
void onDrawBackground(SkCanvas* canvas) override {
SkPaint bgPaint;
bgPaint.setColor(0xFF303030);
canvas->drawPaint(bgPaint);
}
void onDraw(SkCanvas* canvas) override {
canvas->translate(SkIntToScalar(-800), SkIntToScalar(-650));
// The data is lifted from an SKP that exhibited the bug.
// This is a round rect.
SkPath clipPath;
clipPath.moveTo(832.f, 654.f);
clipPath.lineTo(1034.f, 654.f);
clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
clipPath.lineTo(1042.f, 724.f);
clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
clipPath.lineTo(832.f, 732.f);
clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
clipPath.lineTo(824.f, 662.f);
clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
clipPath.close();
// This is a round rect nested inside a rect.
SkPath drawPath;
drawPath.moveTo(823.f, 653.f);
drawPath.lineTo(1043.f, 653.f);
drawPath.lineTo(1043.f, 733.f);
drawPath.lineTo(823.f, 733.f);
drawPath.lineTo(823.f, 653.f);
drawPath.close();
drawPath.moveTo(832.f, 654.f);
drawPath.lineTo(1034.f, 654.f);
drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
drawPath.lineTo(1042.f, 724.f);
drawPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
drawPath.lineTo(832.f, 732.f);
drawPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
drawPath.lineTo(824.f, 662.f);
drawPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
drawPath.close();
drawPath.setFillType(SkPath::kEvenOdd_FillType);
SkPaint paint;
paint.setAntiAlias(true);
paint.setColor(0xFF000000);
paint.setMaskFilter(
SkBlurMaskFilter::Create(kNormal_SkBlurStyle,
0.78867501f,
SkBlurMaskFilter::kHighQuality_BlurFlag))->unref();
paint.setColorFilter(
SkColorFilter::CreateModeFilter(0xBFFFFFFF, SkXfermode::kSrcIn_Mode))->unref();
canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true);
canvas->drawPath(drawPath, paint);
}
private:
typedef GM INHERITED;
};
//////////////////////////////////////////////////////////////////////////////
DEF_GM(return new SkBug1719GM;)
}
```
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.