text
stringlengths 27
775k
|
---|
---
pid: '3082'
label: Diana and Callisto (Berlin)
object_type: Painting
genre: Classical Mythology
worktags: Dog|Van Balen|Miniature|Forest|Stream|Nude|Putti|Classical|History|Mythological
iconclass_code:
height_cm: '9.3'
width_cm: '15'
diameter_cm:
location_country: Germany
location_city: Berlin
location_collection: Gemรคldegalerie, Staatliche Museen zu Berlin
accession_nos_and_notes: 'inv. #M53'
private_collection_info:
collection_type: Public
realdate: ca. 1610
numeric_date: '1610'
medium: Oil
support: Copper
support_notes:
signature:
signature_location:
support_marks:
further_inscription:
print_notes:
print_type:
plate_dimensions:
states:
printmaker:
publisher:
series:
collaborators:
collaborator_notes:
collectors_patrons:
our_attribution: Produced in Jan Brueghel's Studio
other_attribution_authorities: 'Ertz 2008-10, #367 as uncertain, possibly studio'
bibliography: 'Werche 2004, cat. #A.79, pp. 164-65|Ertz 2008-10, cat. #367'
biblio_reference: 7763|7764
exhibition_history:
ertz_1979:
ertz_2008: '367'
bailey_walker:
hollstein_no:
bad_copy:
exclude_from_browsing:
provenance: '4969'
provenance_text: Taken from the Kupferstichkabinett, 1894
related_works: 3810|3079
related_works_notes:
copies_and_variants:
curatorial_files:
general_notes:
discussion: '175'
external_resources_title:
external_resources_url:
thumbnail: "/img/derivatives/simple/3082/thumbnail.jpg"
fullwidth: "/img/derivatives/simple/3082/fullwidth.jpg"
collection: janbrueghel
layout: janbrueghel_item
order: '183'
permalink: "/janbrueghel/diana-and-callisto-berlin"
full:
---
|
<?php
namespace Ypio\MSGraphFileConverter\Http;
use GuzzleHttp\Psr7\Request;
use Psr\Http\Client\ClientExceptionInterface;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\ResponseInterface;
use Ypio\MSGraphFileConverter\Configuration;
use Ypio\MSGraphFileConverter\Exceptions\ExceptionGenerator;
use Ypio\MSGraphFileConverter\Exceptions\MSGraphException;
/**
* Add an abstraction layers for request sent to MSGraph
*
* @author ypio <[email protected]>
* @since 1.0.0
*/
class BaseRequest {
/**
* @var ClientInterface
*/
private $client;
/**
* @var Configuration
*/
private $configuration;
/**
* BaseRequest constructor.
*
* @param Configuration $configuration
*/
public function __construct(Configuration $configuration)
{
$this->client = $configuration->getHttpClient();
$this->configuration = $configuration;
}
/**
* Send request with some preset
*
* @param $method
* @param $uri
* @param $body
* @return ResponseInterface
* @throws ClientExceptionInterface
* @throws MSGraphException
*/
public function execute($method, $uri, $body = null): ResponseInterface {
$headers = [
'Authorization' => 'Bearer ' . $this->configuration->getToken(),
];
if ($body !== null) {
$headers['Content-Type'] = 'text/plain';
}
$uri = 'https://graph.microsoft.com/v1.0/users/' . $this->configuration->getUser() . $uri;
$request = new Request(
$method,
$uri,
$headers,
$body
);
$response = $this->client->sendRequest($request);
new ExceptionGenerator(clone $response);
return $response;
}
/**
*
* Follow redirection return by response with a 'location' header
*
* @param ResponseInterface $response
* @return ResponseInterface
* @throws ClientExceptionInterface
* @throws MSGraphException
*/
public function followRedirect(ResponseInterface $response): ResponseInterface
{
$response = $this->configuration
->getHttpClient()
->sendRequest(
new Request('GET', $response->getHeader('Location')[0])
);
new ExceptionGenerator(clone $response);
return $response;
}
} |
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Gitlab::Cleanup::OrphanJobArtifactFilesBatch do
include ::EE::GeoHelpers
let(:batch_size) { 10 }
let(:dry_run) { true }
subject(:batch) { described_class.new(batch_size: batch_size, dry_run: dry_run) }
context 'Geo secondary' do
let(:max_artifact_id) { Ci::JobArtifact.maximum(:id).to_i }
let(:orphan_id_1) { max_artifact_id + 1 }
let(:orphan_id_2) { max_artifact_id + 2 }
let!(:orphan_registry_1) { create(:geo_job_artifact_registry, artifact_id: orphan_id_1) }
let!(:orphan_registry_2) { create(:geo_job_artifact_registry, artifact_id: orphan_id_2) }
before do
stub_secondary_node
batch << "/tmp/foo/bar/#{orphan_id_1}"
batch << "/tmp/foo/bar/#{orphan_id_2}"
end
context 'no dry run' do
let(:dry_run) { false }
it 'deletes registries for the found artifacts' do
expect { batch.clean! }.to change { Geo::JobArtifactRegistry.count }.by(-2)
expect(batch.geo_registries_count).to eq(2)
end
end
context 'with dry run' do
it 'does not remove registries' do
create(:geo_job_artifact_registry, :with_artifact, artifact_type: :archive)
create(:geo_job_artifact_registry, :orphan, artifact_type: :archive)
expect { batch.clean! }.not_to change { Geo::JobArtifactRegistry.count }
expect(batch.geo_registries_count).to eq(2)
end
end
end
end
|
#ifndef CONSTANT_H
#define CONSTANT_H
// ๆฃ็ๅคงๅฐ
const int board_size = 14;
// AIๆ็ดขๆทฑๅบฆ
const int search_depth = 7;
#endif // CONSTANT_H
|
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import itertools
import random
from typing import List, Dict, Tuple, Union, Callable
from logging import getLogger
from copy import copy
from deeppavlov.core.models.component import Component
logger = getLogger()
class PersonNormalizer(Component):
"""
Detects mentions of mate user's name and either
(0) converts them to user's name taken from state
(1) either removes them.
Parameters:
person_tag: tag name that corresponds to a person entity
"""
def __init__(self,
person_tag: str = 'PER',
**kwargs):
self.per_tag = person_tag
def __call__(self,
tokens: List[List[str]],
tags: List[List[str]],
names: List[str]) -> Tuple[List[List[str]], List[List[str]]]:
out_tokens, out_tags = [], []
for u_name, u_toks, u_tags in zip(names, tokens, tags):
u_toks, u_tags = self.tag_mate_gooser_name(u_toks,
u_tags,
person_tag=self.per_tag)
if u_name:
u_toks, u_tags = self.replace_mate_gooser_name(u_toks,
u_tags,
u_name)
if random.random() < 0.5:
u_toks = [u_name, ','] + u_toks
u_tags = ['B-MATE-GOOSER', 'O'] + u_tags
u_toks[0] = u_toks[0][0].upper() + u_toks[0][1:]
if u_tags[2] == 'O':
u_toks[2] = u_toks[2][0].lower() + u_toks[2][1:]
else:
u_toks, u_tags = self.remove_mate_gooser_name(u_toks, u_tags)
out_tokens.append(u_toks)
out_tags.append(u_tags)
return out_tokens, out_tags
@staticmethod
def tag_mate_gooser_name(tokens: List[str],
tags: List[str],
person_tag: str = 'PER',
mate_tag: str = 'MATE-GOOSER') -> \
Tuple[List[str], List[str]]:
if 'B-' + person_tag not in tags:
return tokens, tags
out_tags = []
i = 0
while (i < len(tokens)):
tok, tag = tokens[i], tags[i]
if i + 1 < len(tokens):
if (tok == ',') and (tags[i + 1] == 'B-' + person_tag):
# it might be mate gooser name
out_tags.append(tag)
j = 1
while (i + j < len(tokens)) and (tags[i + j][2:] == person_tag):
j += 1
if (i + j == len(tokens)) or (tokens[i + j][0] in ',.!?;)'):
# it is mate gooser
out_tags.extend([t[:2] + mate_tag for t in tags[i+1:i+j]])
else:
# it isn't
out_tags.extend(tags[i+1:i+j])
i += j
continue
if i > 0:
if (tok == ',') and (tags[i - 1][2:] == person_tag):
# it might have been mate gooser name
j = 1
while (len(out_tags) >= j) and (out_tags[-j][2:] == person_tag):
j += 1
if (len(out_tags) < j) or (tokens[i-j][-1] in ',.!?('):
# it was mate gooser
for k in range(j - 1):
out_tags[-k-1] = out_tags[-k-1][:2] + mate_tag
out_tags.append(tag)
i += 1
continue
out_tags.append(tag)
i += 1
return tokens, out_tags
@staticmethod
def replace_mate_gooser_name(tokens: List[str],
tags: List[str],
replacement: str,
mate_tag: str = 'MATE-GOOSER') ->\
Tuple[List[str], List[str]]:
assert len(tokens) == len(tags),\
f"tokens({tokens}) and tags({tags}) should have the same length"
if 'B-' + mate_tag not in tags:
return tokens, tags
repl_tokens = replacement.split()
repl_tags = ['B-' + mate_tag] + ['I-' + mate_tag] * (len(repl_tokens) - 1)
out_tokens, out_tags = [], []
i = 0
while (i < len(tokens)):
tok, tag = tokens[i], tags[i]
if tag == 'B-' + mate_tag:
out_tokens.extend(repl_tokens)
out_tags.extend(repl_tags)
i += 1
while (i < len(tokens)) and (tokens[i] == 'I-' + mate_tag):
i += 1
else:
out_tokens.append(tok)
out_tags.append(tag)
i += 1
return out_tokens, out_tags
@staticmethod
def remove_mate_gooser_name(tokens: List[str],
tags: List[str],
mate_tag: str = 'MATE-GOOSER') ->\
Tuple[List[str], List[str]]:
assert len(tokens) == len(tags),\
f"tokens({tokens}) and tags({tags}) should have the same length"
# TODO: uppercase first letter if name was removed
if 'B-' + mate_tag not in tags:
return tokens, tags
out_tokens, out_tags = [], []
i = 0
while (i < len(tokens)):
tok, tag = tokens[i], tags[i]
if i + 1 < len(tokens):
if (tok == ',') and (tags[i + 1] == 'B-' + mate_tag):
# it will be mate gooser name next, skip comma
i += 1
continue
if i > 0:
if (tok == ',') and (tags[i - 1][2:] == mate_tag):
# that was mate gooser name, skip comma
i += 1
continue
if tag[2:] != mate_tag:
out_tokens.append(tok)
out_tags.append(tag)
i += 1
return out_tokens, out_tags
LIST_LIST_STR_BATCH = List[List[List[str]]]
class HistoryPersonNormalize(Component):
"""
Takes batch of dialog histories and normalizes only bot responses.
Detects mentions of mate user's name and either
(0) converts them to user's name taken from state
(1) either removes them.
Parameters:
per_tag: tag name that corresponds to a person entity
"""
def __init__(self, per_tag: str = 'PER', **kwargs):
self.per_normalizer = PersonNormalizer(per_tag=per_tag)
def __call__(self,
history_tokens: LIST_LIST_STR_BATCH,
tags: LIST_LIST_STR_BATCH,
states: List[Dict]) -> Tuple[LIST_LIST_STR_BATCH, LIST_LIST_STR_BATCH]:
out_tokens, out_tags = [], []
states = states if states else [{}] * len(tags)
for u_state, u_hist_tokens, u_hist_tags in zip(states, history_tokens, tags):
# TODO: normalize bot response history
pass
return out_tokens, out_tags
class MyselfDetector(Component):
"""
Finds first mention of a name and sets it as a user name.
Parameters:
person_tag: tag name that corresponds to a person entity
state_slot: name of a state slot corresponding to a user's name
"""
def __init__(self,
person_tag: str = 'PER',
**kwargs):
self.per_tag = person_tag
def __call__(self,
tokens: List[List[str]],
tags: List[List[str]],
states: List[dict]) -> List[str]:
names = []
for u_state, u_toks, u_tags in zip(states, tokens, tags):
cur_name = u_state['user']['profile']['name']
new_name = copy(cur_name)
if not cur_name:
name_found = self.find_my_name(u_toks, u_tags, person_tag=self.per_tag)
if name_found is not None:
new_name = name_found
names.append(new_name)
return names
@staticmethod
def find_my_name(tokens: List[str], tags: List[str], person_tag: str) -> str:
if 'B-' + person_tag not in tags:
return None
per_start = tags.index('B-' + person_tag)
per_excl_end = per_start + 1
while (per_excl_end < len(tokens)) and (tags[per_excl_end] == 'I-' + person_tag):
per_excl_end += 1
return ' '.join(tokens[per_start:per_excl_end])
class NerWithContextWrapper(Component):
"""
Tokenizers utterance and history of dialogue and gets entity tags for
utterance's tokens.
Parameters:
ner_model: named entity recognition model
tokenizer: tokenizer to use
"""
def __init__(self,
ner_model: Union[Component, Callable],
tokenizer: Union[Component, Callable],
context_delimeter: str = None,
**kwargs):
self.ner_model = ner_model
self.tokenizer = tokenizer
self.context_delimeter = context_delimeter
def __call__(self,
utterances: List[str],
history: List[List[str]] = [[]],
prev_utterances: List[str] = []) ->\
Tuple[List[List[str]], List[List[str]]]:
if prev_utterances:
history = history or itertools.repeat([])
history = [hist + [prev]
for prev, hist in zip(prev_utterances, history)]
history_toks = [[tok
for toks in self.tokenizer(hist or [''])
for tok in toks + [self.context_delimeter] if tok is not None]
for hist in history]
utt_toks = self.tokenizer(utterances)
texts, ranges = [], []
for utt, hist in zip(utt_toks, history_toks):
if self.context_delimeter is not None:
txt = hist + utt + [self.context_delimeter]
else:
txt = hist + utt
ranges.append((len(hist), len(hist) + len(utt)))
texts.append(txt)
_, tags = self.ner_model(texts)
tags = [t[l:r] for t, (l, r) in zip(tags, ranges)]
return utt_toks, tags
|
%% -------------------------------------------------------------------
%%
%% Copyright (c) 2018 Rebar3Riak Contributors
%% Copyright (c) 2016-2017 Basho Technologies, Inc.
%%
%% This file is provided to you under the Apache License,
%% Version 2.0 (the "License"); you may not use this file
%% except in compliance with the License. You may obtain
%% a copy of the License at
%%
%% http://www.apache.org/licenses/LICENSE-2.0
%%
%% Unless required by applicable law or agreed to in writing,
%% software distributed under the License is distributed on an
%% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
%% KIND, either express or implied. See the License for the
%% specific language governing permissions and limitations
%% under the License.
%%
%% -------------------------------------------------------------------
%%
%% @doc RRP provider for the `rrp-info' command.
%%
-module(rrp_prv_info).
%% provider behavior
-ifndef(RRP_VALIDATE).
-behaviour(rrp).
-endif.
-export([do/1, format_error/1, spec/0]).
-include("rrp.hrl").
-define(PROVIDER_ATOM, 'rrp-info').
-define(PROVIDER_STR, "rrp-info").
-define(PROVIDER_DEPS, []).
-define(PROVIDER_OPTS, []).
%% ===================================================================
%% Behavior
%% ===================================================================
-spec do(State :: rrp:rebar_state()) -> {ok, rrp:rebar_state()}.
%%
%% @doc Display provider information.
%%
do(State) ->
{rrp_io:write_info(standard_io), State}.
-spec format_error(Error :: term()) -> iolist().
%%
%% @doc Placeholder to fill out the `provider' API, should never be called.
%%
format_error(Error) ->
rrp:format_error(Error).
-spec spec() -> [{atom(), term()}].
%%
%% @doc Return the proplist that will be supplied to providers:create/1.
%%
spec() ->
[
{name, ?PROVIDER_ATOM},
{module, ?MODULE},
{bare, true},
{deps, ?PROVIDER_DEPS},
{example, "rebar3 " ?PROVIDER_STR},
{short_desc, short_desc()},
{desc, long_desc()},
{opts, ?PROVIDER_OPTS}
].
%%====================================================================
%% Help Text
%%====================================================================
-spec short_desc() -> string().
short_desc() ->
"Information about " ?APP_NAME_DISPLAY.
-spec long_desc() -> string().
long_desc() ->
short_desc().
%%====================================================================
%% Internal
%%====================================================================
|
-- 114 Number of persons with observation period before year-of-birth
--insert into @results_schema.heracles_results (cohort_definition_id, analysis_id, count_value)
select cohort_definition_id,
114 as analysis_id,
cast( '' as varchar(1) ) as stratum_1, cast( '' as varchar(1) ) as stratum_2, cast( '' as varchar(1) ) as stratum_3, cast( '' as varchar(1) ) as stratum_4,
COUNT_BIG(p1.PERSON_ID) as count_value
into #results_114
from
@CDM_schema.person p1
inner join (select cohort_definition_id, person_id, MIN(year(OBSERVATION_period_start_date)) as first_obs_year
from @CDM_schema.observation_period op0
inner join #HERACLES_cohort_subject c1
on op0.person_id = c1.subject_id
group by cohort_definition_id, PERSON_ID) op1
on p1.person_id = op1.person_id
where p1.year_of_birth > op1.first_obs_year
group by cohort_definition_id
; |
require_relative 'autotoolAccount'
class AutotoolSchule < AutotoolAccount
def schuleAnlegenGui(name, suffix)
existiert = existiertSchule?(name)
assert(!existiert, @fehler['vorSchule'])
@driver.find_element(:id, @ui['administratorButton']).click
@driver.find_element(:id, @ui['schuleAnlegenButton']).click
@driver.find_element(:xpath, "/html/body/form/table[5]/tbody/tr[1]/td[2]/input").clear
@driver.find_element(:xpath, "/html/body/form/table[5]/tbody/tr[1]/td[2]/input").send_keys name
@driver.find_element(:xpath, "/html/body/form/table[5]/tbody/tr[2]/td[2]/input").clear
@driver.find_element(:xpath, "/html/body/form/table[5]/tbody/tr[2]/td[2]/input").send_keys suffix
@driver.find_elements(:xpath, "/html/body/form/input[@type='submit']")[2].click
angelegt = existiertSchule?(name)
assert(angelegt, @fehler['nachSchule'])
angelegt
ensure
schuleEntfernen(name) unless !angelegt
end
def schuleBearbeiten(schule, name, suffix)
existiert = existiertSchule?(schule['Name'])
assert(existiert, @fehler['keineSchule'])
existiertNeu = existiertSchule?(name)
assert(!existiertNeu, @fehler['vorSchule'])
@driver.find_element(:id, @ui['administratorButton']).click
schulen = @driver.find_elements(:xpath, "/html/body/form/table[4]/tbody/tr/td[2]/input")
index = schulen.map{|s| s.attribute('value')}.index(schule['Name'])
assert(!!index, @fehler['keineSchule'])
schulen[index].click
@driver.find_element(:xpath, "/html/body/form/table[5]/tbody/tr/td[2]/input[1]").click
@driver.find_element(:xpath, "/html/body/form/table[6]/tbody/tr[1]/td[2]/input").clear
@driver.find_element(:xpath, "/html/body/form/table[6]/tbody/tr[1]/td[2]/input").send_keys name
@driver.find_element(:xpath, "/html/body/form/table[6]/tbody/tr[2]/td[2]/input").clear
@driver.find_element(:xpath, "/html/body/form/table[6]/tbody/tr[2]/td[2]/input").send_keys suffix
@driver.find_elements(:xpath, "/html/body/form/input[@type='submit']")[2].click
existiertNeu2 = existiertSchule?(name)
assert(existiertNeu2, @fehler['keineSchule'])
assert_equal(schule['UNr'], getSchule(name)['UNr'], @fehler['nichtBearbeitetSchule'])
end
end
|
const { batchThrottledSimple } = require("../../../plugins/nodeSrc/batch")
const { AzNodeRest } = require("../../../plugins/nodeSrc/east")
const { getProviderApiVersion } = require("../../../plugins/nodeSrc/getProvider")
const { makeSingleArray } = require("../../../plugins/nodeSrc/recursor")
const { returnObjectInit } = require("../../../plugins/nodeSrc/returnObjectInit")
//AzNodeRest
module.exports = async function (item) {
//returnObjectInit
var returnObject = new returnObjectInit(item,__filename.split('/').pop())
var {apiversion} = getProviderApiVersion(item.id)
returnObject.isHealthy="review"
let backends = await AzNodeRest(`${item.id}/backends`,apiversion)
returnObject.metadata={backends:JSON.stringify(backends)}
return returnObject
}
|
package day1
import java.io.File
fun List<Int>.countIncreases(): Int {
var count = 0
var previous: Int? = null
forEach { current ->
if (previous != null) {
if (current > previous!!) {
count++
}
}
previous = current
}
return count
}
fun readValues(): List<Int> {
val lines = File("day1.txt").readLines()
return lines.map { it.toInt() }
}
fun day1_part1() {
val values = readValues()
val count = values.countIncreases()
println("Increases: $count")
}
fun day1_part2() {
val values = readValues()
val newValues = mutableListOf<Int>()
for (index in values.indices) {
if (index < values.size - 2) {
newValues.add(values[index] + values[index + 1] + values[index + 2])
}
}
val count = newValues.countIncreases()
println("Increases: $count")
}
fun main() {
day1_part2()
}
|
-- this script repros builtin a/b/c/d tables using SQL
--
create table a (a1 int, a2 int, a3 int, a4 int);
create table b (b1 int, b2 int, b3 int, b4 int);
create table c (c1 int, c2 int, c3 int, c4 int);
create table d (d1 int, d2 int, d3 int, d4 int);
insert into a values(0,1,2,3);
insert into a values(1,2,3,4);
insert into a values(2,3,4,5);
insert into b select * from a;
insert into c select * from a;
insert into d select * from a;
|
import std_msgs.msg
import importlib
msg = importlib.import_module('std_msgs.msg')
__all__ = ['msg']
|
๏ปฟusing FontAwesome.WPF.Converters;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
//using FontAwesome;
namespace ITPointPresenterController
{
public class ITControlViewModel: ViewModelBase
{
ITControl_IController _iCtrl;
public void AttachController(ITControl_IController iCtrl)
{
_iCtrl = iCtrl;
}
ObservableCollection<PowerpointViewModel> _ppts;
public ObservableCollection<PowerpointViewModel> PPTs
{
get
{
return _ppts;
}
set
{
_ppts = value;
RaisePropertyChanged("PPTs");
}
}
ObservableCollection<MusicViewModel> _Musics;
public ObservableCollection<MusicViewModel> Musics
{
get
{
return _Musics;
}
set
{
_Musics = value;
RaisePropertyChanged("Musics");
}
}
ObservableCollection<VideoViewModel> _Videos;
public ObservableCollection<VideoViewModel> Videos
{
get
{
return _Videos;
}
set
{
_Videos = value;
RaisePropertyChanged("Videos");
}
}
public void LoadResources()
{
//throw new NotImplementedException();
_iCtrl.LoadResources();
}
public bool _isCOnnected;
public bool IsConnected
{
get
{
return _isCOnnected;
}
set
{
_isCOnnected = value;
RaisePropertyChanged("IsConnected");
}
}
ImageSource _Image;
public ImageSource ScreenPreview
{
get
{
return _Image;
}
set
{
_Image = value;
RaisePropertyChanged("ScreenPreview");
}
}
ObservableCollection<TeamViewModel> _Teams;
public ObservableCollection<TeamViewModel> Teams
{
get
{
return _Teams;
}
set
{
_Teams = value;
RaisePropertyChanged("Teams");
}
}
PowerpointViewModel pptvmChosen;
public PowerpointViewModel PPTvmChosen
{
get => pptvmChosen;
set
{
pptvmChosen = value;
RaisePropertyChanged("PowerpointChosen");
}
}
public ITControlViewModel()
{
PPTs = new ObservableCollection<PowerpointViewModel>();
PPTs.Add(new PowerpointViewModel());
//
Musics = new ObservableCollection<MusicViewModel>();
Musics.Add(new MusicViewModel());
//
Videos = new ObservableCollection<VideoViewModel>();
Videos.Add(new VideoViewModel());
//
Teams = new ObservableCollection<TeamViewModel>();
Teams.Add(new TeamViewModel());
//
IsConnected = false;
ScreenPreview = null;
}
public void GetScreenPreview()
{
if (_iCtrl == null)
return;
_iCtrl.GetScreenPreview();
}
public void GetConntected()
{
if (_iCtrl == null)
return;
_iCtrl.GetConnected();
}
public void GetTeam()
{
if (_iCtrl == null)
return;
_iCtrl.GetTeam();
}
public void SetScreenFullScreen()
{
if (_iCtrl == null)
return;
_iCtrl.SetScreenFullScreen();
}
public void OpenOverview()
{
if (_iCtrl == null)
return;
_iCtrl.OpenOverviewWindow();
}
public void OpenPowerpoint()
{
if (_iCtrl == null)
return;
_iCtrl.OpenPowerpointFile(PPTvmChosen);
}
public void OpenEndRound()
{
if (_iCtrl == null)
return;
_iCtrl.OpenEndRoundWindow();
//throw new NotImplementedException();
}
}
}
|
# run a function over each library JSON object
map_libraries_object() {
local file="$1"
local function="$2"
local libraries_names object result=0
libraries_names=$( jq -r ".|to_entries|map(.key|tostring)|.[]" "${file}" )
for name in ${libraries_names}; do
object=$( jq ".\"${name}\"" "${file}" )
if ! "${function}" "${name}" "${object}"; then
result=1
fi
done
return "${result}"
}
# run a function over each library repo path
map_libraries_repo() {
local file="$1"
local function="$2"
local libraries_names object result=0
libraries_names=$( jq -r ".|to_entries|map(.key|tostring)|.[]" "${file}" )
for name in ${libraries_names}; do
object=$( jq ".\"${name}\"" "${file}" )
library_target_dir=$( jq -r '."target-dir"' <<< "${object}" )
version=$( jq -r '.version' <<< "${object}" )
if [ "${library_target_dir}" = "null" ]; then
library_target_dir="${name}-${version}"
else
library_target_dir="${name}-${version}${library_target_dir}"
fi
if ! "${function}" "${name}" "${TARGET_DIR}/${library_target_dir}"; then
result=1
fi
done
return "${result}"
}
export -f map_libraries_object
export -f map_libraries_repo
|
//------------------------------------------------------------------------------
/*
This file is part of MUSO: https://github.com/MUSO/MUSO
Copyright (c) 2012, 2013 MUSO Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
//==============================================================================
#ifndef MUSO_BASICS_LOG_H_INCLUDED
#define MUSO_BASICS_LOG_H_INCLUDED
#include <MUSO/basics/UnorderedContainers.h>
#include <MUSO/beast/utility/Journal.h>
#include <boost/beast/core/string.hpp>
#include <boost/filesystem.hpp>
#include <map>
#include <memory>
#include <mutex>
#include <utility>
namespace MUSO {
// DEPRECATED use beast::severities::Severity instead
enum LogSeverity {
lsINVALID = -1, // used to indicate an invalid severity
lsTRACE = 0, // Very low-level progress information, details inside
// an operation
lsDEBUG = 1, // Function-level progress information, operations
lsINFO = 2, // Server-level progress information, major operations
lsWARNING = 3, // Conditions that warrant human attention, may indicate
// a problem
lsERROR = 4, // A condition that indicates a problem
lsFATAL = 5 // A severe condition that indicates a server problem
};
/** Manages partitions for logging. */
class Logs
{
private:
class Sink : public beast::Journal::Sink
{
private:
Logs& logs_;
std::string partition_;
public:
Sink(
std::string const& partition,
beast::severities::Severity thresh,
Logs& logs);
Sink(Sink const&) = delete;
Sink&
operator=(Sink const&) = delete;
void
write(beast::severities::Severity level, std::string const& text)
override;
};
/** Manages a system file containing logged output.
The system file remains open during program execution. Interfaces
are provided for interoperating with standard log management
tools like logrotate(8):
http://linuxcommand.org/man_pages/logrotate8.html
@note None of the listed interfaces are thread-safe.
*/
class File
{
public:
/** Construct with no associated system file.
A system file may be associated later with @ref open.
@see open
*/
File();
/** Destroy the object.
If a system file is associated, it will be flushed and closed.
*/
~File() = default;
/** Determine if a system file is associated with the log.
@return `true` if a system file is associated and opened for
writing.
*/
bool
isOpen() const noexcept;
/** Associate a system file with the log.
If the file does not exist an attempt is made to create it
and open it for writing. If the file already exists an attempt is
made to open it for appending.
If a system file is already associated with the log, it is closed
first.
@return `true` if the file was opened.
*/
bool
open(boost::filesystem::path const& path);
/** Close and re-open the system file associated with the log
This assists in interoperating with external log management tools.
@return `true` if the file was opened.
*/
bool
closeAndReopen();
/** Close the system file if it is open. */
void
close();
/** write to the log file.
Does nothing if there is no associated system file.
*/
void
write(char const* text);
/** write to the log file and append an end of line marker.
Does nothing if there is no associated system file.
*/
void
writeln(char const* text);
/** Write to the log file using std::string. */
/** @{ */
void
write(std::string const& str)
{
write(str.c_str());
}
void
writeln(std::string const& str)
{
writeln(str.c_str());
}
/** @} */
private:
std::unique_ptr<std::ofstream> m_stream;
boost::filesystem::path m_path;
};
std::mutex mutable mutex_;
std::map<
std::string,
std::unique_ptr<beast::Journal::Sink>,
boost::beast::iless>
sinks_;
beast::severities::Severity thresh_;
File file_;
bool silent_ = false;
public:
Logs(beast::severities::Severity level);
Logs(Logs const&) = delete;
Logs&
operator=(Logs const&) = delete;
virtual ~Logs() = default;
bool
open(boost::filesystem::path const& pathToLogFile);
beast::Journal::Sink&
get(std::string const& name);
beast::Journal::Sink&
operator[](std::string const& name);
beast::Journal
journal(std::string const& name);
beast::severities::Severity
threshold() const;
void
threshold(beast::severities::Severity thresh);
std::vector<std::pair<std::string, std::string>>
partition_severities() const;
void
write(
beast::severities::Severity level,
std::string const& partition,
std::string const& text,
bool console);
std::string
rotate();
/**
* Set flag to write logs to stderr (false) or not (true).
*
* @param bSilent Set flag accordingly.
*/
void
silent(bool bSilent)
{
silent_ = bSilent;
}
virtual std::unique_ptr<beast::Journal::Sink>
makeSink(
std::string const& partition,
beast::severities::Severity startingLevel);
public:
static LogSeverity
fromSeverity(beast::severities::Severity level);
static beast::severities::Severity
toSeverity(LogSeverity level);
static std::string
toString(LogSeverity s);
static LogSeverity
fromString(std::string const& s);
private:
enum {
// Maximum line length for log messages.
// If the message exceeds this length it will be truncated with elipses.
maximumMessageCharacters = 12 * 1024
};
static void
format(
std::string& output,
std::string const& message,
beast::severities::Severity severity,
std::string const& partition);
};
// Wraps a Journal::Stream to skip evaluation of
// expensive argument lists if the stream is not active.
#ifndef JLOG
#define JLOG(x) \
if (!x) \
{ \
} \
else \
x
#endif
//------------------------------------------------------------------------------
// Debug logging:
/** Set the sink for the debug journal.
@param sink unique_ptr to new debug Sink.
@return unique_ptr to the previous Sink. nullptr if there was no Sink.
*/
std::unique_ptr<beast::Journal::Sink>
setDebugLogSink(std::unique_ptr<beast::Journal::Sink> sink);
/** Returns a debug journal.
The journal may drain to a null sink, so its output
may never be seen. Never use it for critical
information.
*/
beast::Journal
debugLog();
} // namespace MUSO
#endif
|
package app
import (
"crypto/md5"
"encoding/hex"
"github.com/gin-gonic/gin"
"github.com/utf6/goApi/pkg/config"
errors "github.com/utf6/goApi/pkg/error"
"golang.org/x/crypto/bcrypt"
)
// hash ๅ ๅฏ
func HashAndSalt(str string) string {
hash, err := bcrypt.GenerateFromPassword([]byte(str), bcrypt.MinCost)
if err != nil {
}
return string(hash)
}
// hash ๅ ๅฏ้ช่ฏ
func ValidatePasswords(hashedPwd, plainPwd string) bool {
err := bcrypt.CompareHashAndPassword([]byte(hashedPwd), []byte(plainPwd))
if err != nil {
return false
}
return true
}
// md5 ๅ ๅฏ
func Md5(value string) string {
str := md5.New()
str.Write([]byte(value))
return hex.EncodeToString(str.Sum(nil))
}
//่ฟๅ็ปๆ
func Response(httpCode, code int, data interface{}, C *gin.Context) {
C.JSON(httpCode, gin.H{
"code" : code,
"msg" : errors.GetMsg(code),
"data": data,
})
}
//่ทๅexcle ่กจๆ ผ่ทฏ็ฑ
func GetExcelFullURL(name string) string {
return config.Apps.ImageUrl + "/" + config.Apps.ExportPath + name
}
func GetExcelFullPath() string {
return config.Apps.RootPath + config.Apps.ExportPath
} |
package paillier
import (
"crypto/rand"
"errors"
"fmt"
"io"
"github.com/cronokirby/safenum"
"github.com/Zondax/multi-party-sig/internal/params"
"github.com/Zondax/multi-party-sig/pkg/math/arith"
"github.com/Zondax/multi-party-sig/pkg/math/sample"
)
var (
ErrPaillierLength = errors.New("wrong number bit length of Paillier modulus N")
ErrPaillierEven = errors.New("modulus N is even")
ErrPaillierNil = errors.New("modulus N is nil")
)
// PublicKey is a Paillier public key. It is represented by a modulus N.
type PublicKey struct {
// n = pโ
q
n *arith.Modulus
// nSquared = nยฒ
nSquared *arith.Modulus
// These values are cached out of convenience, and performance
nNat *safenum.Nat
// nPlusOne = n + 1
nPlusOne *safenum.Nat
}
// N is the public modulus making up this key.
func (pk *PublicKey) N() *safenum.Modulus {
return pk.n.Modulus
}
// NewPublicKey returns an initialized paillier.PublicKey and caches N, Nยฒ and (N-1)/2.
func NewPublicKey(n *safenum.Modulus) *PublicKey {
oneNat := new(safenum.Nat).SetUint64(1)
nNat := n.Nat()
nSquared := safenum.ModulusFromNat(new(safenum.Nat).Mul(nNat, nNat, -1))
nPlusOne := new(safenum.Nat).Add(nNat, oneNat, -1)
// Tightening is fine, since n is public
nPlusOne.Resize(nPlusOne.TrueLen())
return &PublicKey{
n: arith.ModulusFromN(n),
nSquared: arith.ModulusFromN(nSquared),
nNat: nNat,
nPlusOne: nPlusOne,
}
}
// ValidateN performs basic checks to make sure the modulus is valid:
// - logโ(n) = params.BitsPaillier.
// - n is odd.
func ValidateN(n *safenum.Modulus) error {
if n == nil {
return ErrPaillierNil
}
// logโ(N) = BitsPaillier
nBig := n.Big()
if bits := nBig.BitLen(); bits != params.BitsPaillier {
return fmt.Errorf("have: %d, need %d: %w", bits, params.BitsPaillier, ErrPaillierLength)
}
if nBig.Bit(0) != 1 {
return ErrPaillierEven
}
return nil
}
// Enc returns the encryption of m under the public key pk.
// The nonce used to encrypt is returned.
//
// The message m must be in the range [-(N-1)/2, โฆ, (N-1)/2] and panics otherwise.
//
// ct = (1+N)แตฯแดบ (mod Nยฒ).
func (pk PublicKey) Enc(m *safenum.Int) (*Ciphertext, *safenum.Nat) {
nonce := sample.UnitModN(rand.Reader, pk.n.Modulus)
return pk.EncWithNonce(m, nonce), nonce
}
// EncWithNonce returns the encryption of m under the public key pk.
// The nonce is not returned.
//
// The message m must be in the range [-(N-1)/2, โฆ, (N-1)/2] and panics otherwise
//
// ct = (1+N)แตฯแดบ (mod Nยฒ).
func (pk PublicKey) EncWithNonce(m *safenum.Int, nonce *safenum.Nat) *Ciphertext {
mAbs := m.Abs()
nHalf := new(safenum.Nat).SetNat(pk.nNat)
nHalf.Rsh(nHalf, 1, -1)
if gt, _, _ := mAbs.Cmp(nHalf); gt == 1 {
panic("paillier.Encrypt: tried to encrypt message outside of range [-(N-1)/2, โฆ, (N-1)/2]")
}
// (N+1)แต mod Nยฒ
c := pk.nSquared.ExpI(pk.nPlusOne, m)
// ฯแดบ mod Nยฒ
rhoN := pk.nSquared.Exp(nonce, pk.nNat)
// (N+1)แต rho ^ N
c.ModMul(c, rhoN, pk.nSquared.Modulus)
return &Ciphertext{c: c}
}
// Equal returns true if pk โก other.
func (pk PublicKey) Equal(other *PublicKey) bool {
_, eq, _ := pk.n.Cmp(other.n.Modulus)
return eq == 1
}
// ValidateCiphertexts checks if all ciphertexts are in the correct range and coprime to Nยฒ
// ct โ [1, โฆ, Nยฒ-1] AND GCD(ct,Nยฒ) = 1.
func (pk PublicKey) ValidateCiphertexts(cts ...*Ciphertext) bool {
for _, ct := range cts {
if ct == nil {
return false
}
_, _, lt := ct.c.CmpMod(pk.nSquared.Modulus)
if lt != 1 {
return false
}
if ct.c.IsUnit(pk.nSquared.Modulus) != 1 {
return false
}
}
return true
}
// WriteTo implements io.WriterTo and should be used within the hash.Hash function.
func (pk *PublicKey) WriteTo(w io.Writer) (int64, error) {
if pk == nil {
return 0, io.ErrUnexpectedEOF
}
buf := pk.n.Bytes()
n, err := w.Write(buf)
return int64(n), err
}
// Domain implements hash.WriterToWithDomain, and separates this type within hash.Hash.
func (PublicKey) Domain() string {
return "Paillier PublicKey"
}
// Modulus returns an arith.Modulus for N which may allow for accelerated exponentiation when this
// public key was generated from a secret key.
func (pk *PublicKey) Modulus() *arith.Modulus {
return pk.n
}
// ModulusSquared returns an arith.Modulus for Nยฒ which may allow for accelerated exponentiation when this
// public key was generated from a secret key.
func (pk *PublicKey) ModulusSquared() *arith.Modulus {
return pk.nSquared
}
|
๏ปฟusing System;
using System.Collections.Generic;
namespace Shielded
{
/// <summary>
/// Transactional local storage, lasts only during one transaction run and is
/// reset when the transaction restarts or ends. Any value is still available in
/// WhenCommitting and SyncSideEffect subscriptions, and in the context of
/// a RunToCommit continuation. Throws if used outside of transactions.
/// </summary>
public class ShieldedLocal<T>
{
/// <summary>
/// Returns true if there is a value written in this local in this transaction.
/// </summary>
public bool HasValue
{
get
{
Shield.AssertInTransaction();
var store = Shield.Context.Storage;
return store != null && store.ContainsKey(this);
}
}
/// <summary>
/// Gets or sets the value contained in the local. If no value was set during
/// this transaction, the getter throws.
/// </summary>
public T Value
{
get
{
if (!HasValue)
throw new InvalidOperationException("ShieldedLocal has no value.");
return (T)Shield.Context.Storage[this];
}
set
{
Shield.AssertInTransaction();
var ctx = Shield.Context;
if (ctx.Storage == null)
ctx.Storage = new Dictionary<object, object>();
ctx.Storage[this] = value;
}
}
/// <summary>
/// Returns the current <see cref="Value"/>, or the given default if no value
/// is currently stored, i.e. if <see cref="HasValue"/> is false.
/// </summary>
public T GetValueOrDefault(T defaultValue = default) => HasValue ? Value : defaultValue;
/// <summary>
/// Returns the current <see cref="Value"/>.
/// </summary>
public static implicit operator T(ShieldedLocal<T> local)
{
return local.Value;
}
/// <summary>
/// Releases the storage, if any was used in the current transaction. Does not
/// throw if it was not used.
/// </summary>
public void Release()
{
if (HasValue)
Shield.Context.Storage.Remove(this);
}
}
}
|
//
// ImagePicker.h
// BDKit
//
// Created by admin on 16/1/19.
// Copyright ยฉ 2016ๅนด Evan.Cheng. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^CTImagePickerFinishAction)(UIImage * __nullable image, BOOL isCancle);
@interface CTImagePicker : NSObject
/**
@param viewController ็จไบpresent UIImagePickerControllerๅฏน่ฑก
@param allowsEditing ๆฏๅฆๅ
่ฎธ็จๆท็ผ่พๅพๅ
*/
+ (void)showImagePickerFromViewController:(UIViewController *)viewController
allowsEditing:(BOOL)allowsEditing
finishAction:(CTImagePickerFinishAction)finishAction;
@end
NS_ASSUME_NONNULL_END |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Transaction;
class DashboardController extends Controller
{
//
public function index()
{
$trs = Transaction::orderBy('created_at')
->get();
// dd($trs);
return view('dashboard.index',
[
'trs' => $trs
]
);
}
public function dashboardFilter(Request $request)
{
$this->validate($request, [
'start' => 'required|date',
'end' => 'required|date',
]);
$trs = Transaction::orderBy('created_at')
->whereBetween('created_at', [$request->start, $request->end])
->get();
// dd($trs);
return view('dashboard.index',
[
'trs' => $trs
]
);
}
}
|
module MultiDef
#
# The DefaultEnvironment provides all methods to evaluate matched
# Method definitions.
# To have access to more advanced features, you have to include another
# set of guards instead of the default guards.
class DefinitionEnvironment
attr_accessor :obj_to_define_on, :method_name
def initialize(obj,name)
self.obj_to_define_on = obj
self.method_name = name
end
# Defines a clause for a matching method using a set of patterns
# and a clause body.
def define_clause(*pattern, &clause_body)
obj_to_define_on.define_clause(self.method_name, pattern, &clause_body)
end
alias :match :define_clause
def use(selector)
lambda{|*args| send(selector, *args)}
end
def __
OB
end
def ___
OBS
end
end
end |
๏ปฟusing Crex24.Net.Converters;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using CryptoExchange.Net.ExchangeInterfaces;
namespace Crex24.Net.Objects
{
/// <summary>
/// Symbol state info
/// </summary>
public class Crex24SymbolState : ICommonTicker
{
/// <summary>
/// The timestamp of the data
/// </summary>
[JsonProperty("timestamp")]//, JsonConverter(typeof(TimestampConverter))]
public DateTime Timestamp { get; set; }
/// <summary>
/// The open price based on a 24H ticker
/// </summary>
[JsonProperty("open"), JsonConverter(typeof(DecimalConverter))]
public decimal Open { get; set; }
/// <summary>
/// The high price based on a 24H ticker
/// </summary>
[JsonProperty("high"), JsonConverter(typeof(DecimalConverter))]
public decimal High { get; set; }
/// <summary>
/// The low price based on a 24H ticker
/// </summary>
[JsonProperty("low"), JsonConverter(typeof(DecimalConverter))]
public decimal Low { get; set; }
/// <summary>
/// The price of the last trade
/// </summary>
[JsonProperty("close"), JsonConverter(typeof(DecimalConverter))]
public decimal Close { get; set; }
/// <summary>
/// The volume of the quote asset. i.e. for symbol ETHBTC this is the volume in ETH
/// </summary>
[JsonProperty("volume"), JsonConverter(typeof(DecimalConverter))]
public decimal Volume { get; set; }
string ICommonTicker.CommonSymbol => "";
decimal ICommonTicker.CommonHigh => High;
decimal ICommonTicker.CommonLow => Low;
decimal ICommonTicker.CommonVolume => Volume;
}
/// <summary>
/// Symbol state list
/// </summary>
public class Crex24SymbolStatesList : ICommonTicker
{
/// <summary>
/// The timestamp of the data
/// </summary>
[JsonProperty("timestamp")]//, JsonConverter(typeof(TimestampConverter))]
public DateTime Timestamp { get; set; }
/// <summary>
/// The open price based on a 24H ticker
/// </summary>
[JsonProperty("open"), JsonConverter(typeof(DecimalConverter))]
public decimal Open { get; set; }
/// <summary>
/// The high price based on a 24H ticker
/// </summary>
[JsonProperty("high"), JsonConverter(typeof(DecimalConverter))]
public decimal High { get; set; }
/// <summary>
/// The low price based on a 24H ticker
/// </summary>
[JsonProperty("low"), JsonConverter(typeof(DecimalConverter))]
public decimal Low { get; set; }
/// <summary>
/// The price of the last trade
/// </summary>
[JsonProperty("close"), JsonConverter(typeof(DecimalConverter))]
public decimal Close { get; set; }
/// <summary>
/// The volume of the quote asset. i.e. for symbol ETHBTC this is the volume in ETH
/// </summary>
[JsonProperty("volume"), JsonConverter(typeof(DecimalConverter))]
public decimal Volume { get; set; }
string ICommonTicker.CommonSymbol => "";
decimal ICommonTicker.CommonHigh => High;
decimal ICommonTicker.CommonLow => Low;
decimal ICommonTicker.CommonVolume => Volume;
}
}
|
import 'package:flutter/material.dart';
import 'package:pueprint/core/footer/pue_footer.dart';
import 'package:pueprint/core/pue_provider.dart';
import '../pue_theme.dart';
import 'pue_background.dart';
import 'package:provider/provider.dart';
/// This widget can be used as a base for laying out your page. It is
/// similar to `PuePage`, but doesn't modify a parent `Pueprint`. It also
/// renders everything itself, without the help of a parent `Pueprint`.
///
/// The basic components of this component are:
/// - app bar
/// - header
/// - body
/// - footer
///
/// This does **not** use `Scaffold` under the hood
class SoloPuePage extends StatelessWidget {
final PreferredSizeWidget? appBar;
/// The header is sticky in the sense that if the body is a listview,
/// the header will always stay in view. Use the [PueHeader] if you want
/// for a few small quality of life improvements
final Widget? header;
/// Main body of the widget. Use the [PueBody] if you want
/// for a few small quality of life improvements
final Widget body;
/// Footer of the page
final PueFooter? footer;
/// Background of the whole page. Use the [PueBackground] if you want
/// for a few small quality of life improvements
final Widget? background;
/// Max width of this page. This is useful for desktop view, and does not
/// affect the `appBar`
final double? maxWidth;
final double? gutters;
SoloPuePage({
this.appBar,
this.header,
required this.body,
this.footer,
this.background,
this.maxWidth,
this.gutters,
});
@override
Widget build(BuildContext context) {
return PueProvider(
theme: context
.read<PueTheme>()
.copyWith(context: context, gutters: gutters, background: background),
builder: (context) {
return Stack(
children: [
background ??
PueBackground(
colour: Theme.of(context).scaffoldBackgroundColor,
),
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (appBar != null)
SizedBox(height: appBar!.preferredSize.height),
if (header != null) header!,
Expanded(
child: body,
),
/// If the footer is not floating, render it directly in the `Column`
if (footer != null && !footer!.floating) footer!
],
),
if (appBar != null)
Positioned(
left: 0,
right: 0,
top: 0,
child: appBar!,
),
if (footer != null && footer!.floating)
Positioned(
left: 0,
right: 0,
bottom: 0,
child: footer!,
),
],
);
},
);
}
}
|
const jwtVerify = require('../../middleware/jwtVerify');
const Device = require('../../models/device');
module.exports = (app) => {
app.get('/api/userDevices', jwtVerify, (req, res) => {
const userEmail = res.locals.jwtPayload.email;
Device.find({ userEmail }).sort({ timestamp: -1 }).exec((err, userDevices) => {
if (err) return res.status(400).json({ error: 'Bad Request' });
if (userDevices == null) return res.status(404).json({ error: 'No Devices Registered.' });
return res.status(200).json({ userDevices });
});
});
}; |
#ifndef LIBWALLYCORE_CONFIG_H
#define LIBWALLYCORE_CONFIG_H
#include <stddef.h>
#define HAVE_ATTRIBUTE_WEAK 1
#define HAVE_BIG_ENDIAN 0
#define HAVE_BSWAP_64 0
#define HAVE_BYTESWAP_H 0
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LITTLE_ENDIAN 1
#define HAVE_MEMORY_H 1
#define HAVE_MMAP 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_PRIO_INHERIT 1
#define HAVE_PYTHON "2.7"
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define VERSION "0.6"
#if (!defined(_SSIZE_T_DECLARED)) && (!defined(_ssize_t)) && (!defined(ssize_t))
#define ssize_t long long
#endif
#define alignment_ok(p, n) ((size_t)(p) % (n) == 0)
void wally_clear(void *p, size_t len);
#define CCAN_CLEAR_MEMORY(p, len) wally_clear(p, len)
#endif /*LIBWALLYCORE_CONFIG_H*/
|
package service.collector.website.akka.parimatch
import akka.actor.ActorRef
import net.ruippeixotog.scalascraper.model.Element
import org.mongodb.scala.Completed
import service.Config.{Parimatch => config}
import service.akka.ActorTemplate
import service.akka.combiner.ProcessDoneActor.Message.PartWorkPerformed
import service.akka.lb.LoadBalancerActor.Message.HtmlElementsMessage
import service.collector.utils.ExcludeSupervisor
import service.mongo.DBLayer
import service.mongo.model.Website
import service.mongo.observer.CommonObserver
trait UrlHandlerActor extends ActorTemplate with ExcludeSupervisor {
protected val baseUrl = config.baseUrl
protected val actorRef: ActorRef
protected val cssQuery: String
protected val module: String
protected val tag: String
override def receive: Receive = {
case HtmlElementsMessage(elements) =>
elements.map(handler(_)).flatten match {
case elements @ Vector(_, _*) =>
saveWebsites(elements)
actorRef ! PartWorkPerformed(
s"Tag - $tag. Module - $module. BaseUrl - $baseUrl")
case _ => logger.warn("No items!!!")
}
}
protected def handler(el: Element) =
if (necessaryExclude(el.text)) None
else
Builder.elementToEntity(el, cssQuery, module, tag, baseUrl)
private def saveWebsites(elements: Vector[Website]) =
DBLayer.websiteDAO.insert(elements).subscribe(new CommonObserver[Completed])
}
|
#!/bin/bash
openssl genrsa -aes256 -out ca-key.pem 2048
echo "enter your Docker daemon's hostname as the 'Common Name'= ($HOST)"
#TODO add this as an ENV to docker run?
openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem
# server cert
openssl genrsa -out server-key.pem 2048
openssl req -subj "/CN=$HOST" -new -key server-key.pem -out server.csr
openssl x509 -req -days 365 -in server.csr -CA ca.pem -CAkey ca-key.pem \
-CAcreateserial -out server-cert.pem
#client cert
openssl genrsa -out key.pem 2048
openssl req -subj '/CN=client' -new -key key.pem -out client.csr
echo extendedKeyUsage = clientAuth > extfile.cnf
openssl x509 -req -days 365 -in client.csr -CA ca.pem -CAkey ca-key.pem \
-CAcreateserial -out cert.pem -extfile extfile.cnf
|
package com.left.gank.ui.index
import android.os.Bundle
import android.view.View
import androidx.viewpager.widget.ViewPager
import com.google.android.material.tabs.TabLayout
import com.left.gank.R
import com.left.gank.base.fragment.SupportFragment
import com.left.gank.config.Constants
import com.left.gank.ui.android.AndroidFragment
import com.left.gank.ui.ios.IosFragment
import com.left.gank.ui.welfare.WelfareFragment
import kotlinx.android.synthetic.main.fragment_main.*
/**
* Create by LingYan on 2016-04-22
*/
class IndexFragment : SupportFragment() {
private val titles: List<String> = listOf(
Constants.ANDROID,
Constants.IOS,
Constants.WELFRAE
)
private val fragments = listOf(
AndroidFragment.newInstance(),
IosFragment.newInstance(),
WelfareFragment.newInstance()
)
override fun fragmentLayoutId(): Int = R.layout.fragment_main
private val onPageChangeListener = object : ViewPager.OnPageChangeListener {
override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) {
}
override fun onPageSelected(position: Int) {
activity!!.title = titles[position]
}
override fun onPageScrollStateChanged(state: Int) {
}
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
val pagerAdapter = IndexPagerAdapter(childFragmentManager, fragments, titles)
main_view_pager!!.apply {
adapter = pagerAdapter
offscreenPageLimit = fragments.size
addOnPageChangeListener(onPageChangeListener)
}
tab_layout!!.apply {
for (i in titles.indices) {
addTab(newTab().setText(titles[i]))
}
}.also {
it.setupWithViewPager(main_view_pager)
it.tabMode = TabLayout.MODE_FIXED
it.setSelectedTabIndicatorColor(resources.getColor(R.color.white))
}
}
}
|
# frozen_string_literal: true
module ApipieDSL
class SeeDescription
attr_reader :link, :description
def initialize(method, options = {})
@method = method
@link = options[:link]
@description = options[:desc] || options[:description]
@scope = options[:scope]
end
def docs
{ link: link, url: see_url, description: description }
end
private
def see_url
method_description = if @scope
if @scope.is_a?(ApipieDSL::ClassDescription)
@scope.method_description(@method)
else
ApipieDSL.get_method_description(@scope.to_s, @method)
end
else
ApipieDSL.get_method_description(@method)
end
raise ArgumentError, "Method #{@method} referenced in 'see' does not exist." if method_description.nil?
method_description.doc_url(method_description.klass.sections.first)
end
end
end
|
package main
func max(a, b int) int {
if a > b {
return a
} else {
return b
}
}
func maxSum(arr []int, k int) int {
su, ma := 0, -1
for i, x := range arr {
su += x
if i >= k {
su -= arr[i-k]
}
if i >= k-1 {
ma = max(ma, su)
}
}
return ma
}
|
use flags::*;
use moi::*;
use toml;
use ansi_term::Colour::White;
use std::fs;
use std::path::Path;
use toml_utils::*;
pub struct CommandHandler<'a> {
flags: &'a Flags,
store: &'a Config,
config: &'a toml::Value,
}
impl <'a> CommandHandler<'a> {
pub fn new(flags: &'a Flags, store: &'a Config, config: &'a toml::Value) -> CommandHandler<'a> {
CommandHandler {
flags: flags,
store: store,
config: config,
}
}
fn bold(&self, name: &str) -> String {
if self.flags.use_colour {
White.bold().paint(name).to_string()
} else {
name.to_string()
}
}
pub fn groups(&self) -> BoxResult<bool> {
if let Some(groups) = self.store.values.get("groups") {
for (name,members) in groups.entries() {
let name = self.bold(name);
if self.flags.verbose {
println!("{}:",name);
for (addr,name) in members.entries() {
println!("\t{}\t{}",addr,name);
}
} else {
println!("{} {} members",name,members.len());
}
}
} else {
println!("no groups yet!");
}
Ok(true)
}
fn toml_commands(&self, name: &str, t: &toml::Value) -> BoxResult<()> {
if t.get("command").is_some() || t.get("stages").is_some() {
let help = gets_or(t,"help","<no help>")?;
println!("{}: {}", self.bold(name),help);
}
Ok(())
}
fn toml_directory(&self, dir: &Path) -> BoxResult<()> {
for entry in fs::read_dir(dir)? {
let entry = entry?;
let path = entry.path();
if let Some(ext) = path.extension() {
if ext == "toml" {
let t: toml::Value = read_to_string(&path)?.parse()?;
let path = path.with_extension("");
let fname = path.file_name().unwrap().to_str().unwrap();
self.toml_commands(fname,&t)?;
}
}
}
Ok(())
}
pub fn custom_commands(&self) -> BoxResult<bool> {
if let Some(config_cmds) = self.config.get("commands") {
if config_cmds.is_table() {
let table = config_cmds.as_table().unwrap();
for (name,c) in table.iter() {
self.toml_commands(name,c)?;
}
}
}
self.toml_directory(&self.flags.moi_dir)?;
self.toml_directory(Path::new("."))?;
Ok(true)
}
}
|
// FIR_IDENTICAL
// FILE: SameClassNameResolveTest.kt
package test
open class Base
class SubBase: Base()
// FILE: SameClassNameResolveRoot.kt
open class Base
class SubBase: Base()
|
๏ปฟ#region Namespaces
using System;
using System.IO;
using System.Text;
#endregion
namespace Argos.Panoptes.Rfb.Protocol
{
/// <summary>
/// ์๋ฒ์ ํด๋ผ์ด์ธํธ ์ฌ์ด์ ์ค๊ฐ๋ ํ๋กํ ์ฝ ๋ฉ์์ง์ ํ๋กํ ํ์
/// </summary>
abstract class ProtocolMessage : IDisposable
{
#region Variables
/// <summary>
/// ํ๋กํ ์ฝ ๋ฉ์์ง์ ๊ธธ์ด(๊ณ ์ ๊ธธ์ด์ผ ๋์๋ง ์ ํจ)
/// </summary>
protected readonly int messageLength;
/// <summary>
/// ํ๋กํ ์ฝ ๋ฉ์์ง ๋ฐ์ดํฐ์ ๋ํ ์ฝ๊ธฐ ํน์ ์ฐ๊ธฐ ๊ฐ๋ฅํ ์คํธ๋ฆผ
/// </summary>
protected MemoryStream stream;
#endregion
#region Properties
/// <summary>
/// ์คํธ๋ฆผ์ผ๋ก๋ถํฐ ํ๋กํ ์ฝ ๋ฉ์์ง๋ฅผ ์ฝ๊ธฐ ์ํ ์ฒ๋ฆฌ์
/// </summary>
protected BinaryReader Reader
{
get;
private set;
}
/// <summary>
/// ์คํธ๋ฆผ์ ํ๋กํ ์ฝ ๋ฉ์์ง๋ฅผ ์ฐ๊ธฐ ์ํ ์ฒ๋ฆฌ์
/// </summary>
protected BinaryWriter Writer
{
get;
private set;
}
/// <summary>
/// ํด๋น ํ๋กํ ์ฝ ๋ฉ์์ง๊ฐ ํด๋ผ์ด์ธํธ๋ก๋ถํฐ ์ ๋ฌ๋ ๊ฒ์ด๋ฉด ์ฐธ
/// </summary>
public bool Readable
{
get
{
return this.Reader != null;
}
}
/// <summary>
/// ํด๋น ํ๋กํ ์ฝ ๋ฉ์์ง๊ฐ ํด๋ผ์ด์ธํธ๋ก ์ ๋ฌ๋๋ ๊ฒ์ด๋ฉด ์ฐธ
/// </summary>
public bool Writable
{
get
{
return this.Writer != null;
}
}
#endregion
#region Constructors
public ProtocolMessage(int messageLength, byte[] binary)
{
if (messageLength != binary.Length) throw new Exception("Protocol message length is not correct.");
this.messageLength = messageLength;
this.stream = new MemoryStream(binary);
this.Reader = new BinaryReader(stream, Encoding.ASCII);
}
public ProtocolMessage(int messageLength)
{
this.messageLength = messageLength;
this.stream = new MemoryStream();
this.Writer = new BinaryWriter(this.stream);
}
#endregion
#region Abstract Methods
/// <summary>
/// ํ๋กํ ์ฝ ๋ฉ์์ง๋ฅผ ์ฝ์ด๋ค์ธ๋ค.
/// </summary>
public abstract void Read();
/// <summary>
/// ํ๋กํ ์ฝ ๋ฉ์์ง๋ฅผ ์ด๋ค.
/// </summary>
public abstract void Write();
#endregion
#region Methods
/// <summary>
/// ํ๋กํ ์ฝ ๋ฉ์์ง๋ฅผ ๋ฐ์ด๋๋ฆฌ ๋ฐ์ดํฐ๋ก ๋ณํํ๋ค.
/// </summary>
/// <returns>ํ๋กํ ์ฝ ๋ฉ์์ง์ ๋ํ ๋ฐ์ด๋๋ฆฌ ๋ฐ์ดํฐ</returns>
public ArraySegment<byte> ToBinary()
{
this.stream.Position = 0;
return new ArraySegment<byte>(this.stream.ToArray());
}
#endregion
#region IDisposable Implementations
/// <summary>
/// 'Reader'์ 'Writer' ์์์ ํด์ ํ๋ค.
/// </summary>
public void Dispose()
{
if (this.Reader != null) this.Reader.Close();
if (this.Writer != null) this.Writer.Close();
}
#endregion
}
} |
module LinAlg
importall Base
import Base: USE_BLAS64, size, copy, copy_transpose!, power_by_squaring, print_matrix, transpose!
export
# Modules
LAPACK,
BLAS,
# Types
SymTridiagonal,
Tridiagonal,
Bidiagonal,
Woodbury,
Factorization,
BunchKaufman,
Cholesky,
CholeskyPivoted,
Eigen,
GeneralizedEigen,
GeneralizedSVD,
GeneralizedSchur,
Hessenberg,
LU,
LUTridiagonal,
LDLt,
QR,
QRPivoted,
Schur,
SVD,
Hermitian,
Symmetric,
Triangular,
Diagonal,
UniformScaling,
# Functions
axpy!,
bkfact,
bkfact!,
chol,
cholfact,
cholfact!,
cholpfact,
cholpfact!,
cond,
condskeel,
copy!,
cross,
ctranspose,
det,
diag,
diagind,
diagm,
diff,
dot,
eig,
eigfact,
eigfact!,
eigmax,
eigmin,
eigs,
eigvals,
eigvecs,
expm,
sqrtm,
eye,
factorize,
givens,
gradient,
hessfact,
hessfact!,
ishermitian,
isposdef,
isposdef!,
issym,
istril,
istriu,
kron,
ldltfact!,
ldltfact,
linreg,
logdet,
lu,
lufact,
lufact!,
norm,
null,
peakflops,
pinv,
qr,
qrfact!,
qrfact,
qrp,
qrpfact!,
qrpfact,
rank,
rref,
scale,
scale!,
schur,
schurfact!,
schurfact,
solve,
svd,
svdfact!,
svdfact,
svdvals!,
svdvals,
trace,
transpose,
tril,
triu,
tril!,
triu!,
vecnorm,
# Operators
\,
/,
A_ldiv_B!,
A_ldiv_Bc,
A_ldiv_Bt,
A_mul_B,
A_mul_B!,
A_mul_Bc,
A_mul_Bc!,
A_mul_Bt,
A_mul_Bt!,
A_rdiv_Bc,
A_rdiv_Bt,
Ac_ldiv_B,
Ac_ldiv_Bc,
Ac_mul_b_RFP,
Ac_mul_B,
Ac_mul_B!,
Ac_mul_Bc,
Ac_mul_Bc!,
Ac_rdiv_B,
Ac_rdiv_Bc,
At_ldiv_B,
At_ldiv_Bt,
At_mul_B,
At_mul_B!,
At_mul_Bt,
At_mul_Bt!,
At_rdiv_B,
At_rdiv_Bt,
# Constants
I
typealias BlasFloat Union(Float64,Float32,Complex128,Complex64)
typealias BlasReal Union(Float64,Float32)
typealias BlasComplex Union(Complex128,Complex64)
typealias BlasChar Char
if USE_BLAS64
typealias BlasInt Int64
blas_int(x) = int64(x)
else
typealias BlasInt Int32
blas_int(x) = int32(x)
end
#Check that stride of matrix/vector is 1
function chkstride1(A::StridedVecOrMat...)
for a in A
stride(a,1)== 1 || error("Matrix does not have contiguous columns")
end
end
#Check that matrix is square
function chksquare(A...)
sizes=Int[]
for a in A
size(a,1)==size(a,2) || throw(DimensionMismatch("Matrix is not square: dimensions are $(size(a))"))
push!(sizes, size(a,1))
end
length(A)==1 ? sizes[1] : sizes
end
#Check that upper/lower (for special matrices) is correctly specified
macro chkuplo()
:((uplo=='U' || uplo=='L') || throw(ArgumentError("""invalid uplo = $uplo
Valid choices are 'U' (upper) or 'L' (lower).""")))
end
include("linalg/exceptions.jl")
include("linalg/generic.jl")
include("linalg/blas.jl")
include("linalg/matmul.jl")
include("linalg/lapack.jl")
include("linalg/dense.jl")
include("linalg/tridiag.jl")
include("linalg/factorization.jl")
include("linalg/lu.jl")
include("linalg/bunchkaufman.jl")
include("linalg/triangular.jl")
include("linalg/symmetric.jl")
include("linalg/woodbury.jl")
include("linalg/diagonal.jl")
include("linalg/bidiag.jl")
include("linalg/uniformscaling.jl")
include("linalg/rectfullpacked.jl")
include("linalg/givens.jl")
include("linalg/special.jl")
include("linalg/bitarray.jl")
include("linalg/ldlt.jl")
include("linalg/sparse.jl")
include("linalg/umfpack.jl")
include("linalg/cholmod.jl")
include("linalg/arpack.jl")
include("linalg/arnoldi.jl")
function __init__()
Base.check_blas()
if Base.blas_vendor() == :mkl
ccall((:MKL_Set_Interface_Layer, Base.libblas_name), Void, (Cint,), USE_BLAS64 ? 1 : 0)
end
end
end # module LinAlg
|
๏ปฟ#include <QtCore>
#include <QtGui>
#include <QtNetwork>
#if (QT_VERSION > QT_VERSION_CHECK(5,0,0))
#include <QtWidgets>
#endif
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
#define TIMEMS qPrintable (QTime::currentTime().toString("HH:mm:ss zzz"))
#define TIME qPrintable (QTime::currentTime().toString("HH:mm:ss"))
#define QDATE qPrintable (QDate::currentDate().toString("yyyy-MM-dd"))
#define QTIME qPrintable (QTime::currentTime().toString("HH-mm-ss"))
#define DATETIME qPrintable (QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss"))
#define STRDATETIME qPrintable (QDateTime::currentDateTime().toString("yyyy-MM-dd-HH-mm-ss"))
#define STRDATETIMEMS qPrintable (QDateTime::currentDateTime().toString("yyyy-MM-dd-HH-mm-ss-zzz"))
#define AppName "QUI"
#define AppPath qApp->applicationDirPath()
#define AppDeskWidth qApp->desktop()->availableGeometry().width()
#define AppDeskHeight qApp->desktop()->availableGeometry().height()
|
require 'logger'
require 'lit/i18n_backend'
require 'lit/cache'
module Lit
module Rails
def self.initialize
Lit.init
end
end
end
if defined?(Rails::Railtie)
require 'lit/middleware'
require 'lit/railtie'
else
Lit::Rails.initialize
end
|
module modis9
use CKD_common
implicit none
private
integer, parameter :: no3 = 1
public :: ch9, init_ch9
contains
subroutine init_ch9(modis_channel)
type(ckd_type), intent(inout) :: modis_channel
integer :: all_weights
all_weights = no3
modis_channel%num_weights = all_weights
allocate(modis_channel%weights(all_weights))
allocate(modis_channel%taus(all_weights,max_layers))
end subroutine init_ch9
subroutine ch9(u0, p0, t0, ux, fac, modis_channel)
!
! This routine was developed for MODIS Channel 1
! 14800--16200 cm^{-1}
!
!-----------------------------------------------------------------
! Channel 1 0.62-0.67 microns
!-----------------------------------------------------------------
! INPUTS:
! u0 --> water vapor amount [g/cm2/km]
! p0 --> pressure in atmospheres
! t0 --> temp in K
! ux --> ozone [g/cm2/km]
! fac --> layer thickness in km
!-----------------------------------------------------------------
real, dimension(:), intent(in) :: u0, p0, t0, ux, fac
type(ckd_type), intent(inout) :: modis_channel
integer, parameter :: nlev = max_levels
integer, parameter :: nlay = max_layers
integer, parameter :: mlv = nlay
real :: p(nlay), t(nlay),u(nlay), &
uo3(nlay), zfac(nlay)
real :: tauo3(no3,nlay), fo3(no3)
integer :: i,m
do m=1,use_layers
t(m)=(t0(m)+t0(m+1))/2.0
p(m)=(p0(m)+p0(m+1))/2.0
if(m > 26)then
zfac(m)=5.0
else
zfac(m)=1.0
end if
uo3(m)=zfac(m)*(ux(m)+ux(m+1))/2.0
enddo
call cko3(uo3,fo3,p,t,tauo3)
! **fo3=1.0000**
do m=1,use_layers
do i=1,no3 ! 1 k for h2o; 1 k for o3
modis_channel%taus(i,m)=tauo3(i,m)
if (m == 1) modis_channel%weights(i) = fo3(1)
end do
enddo
end subroutine ch9
!c *********************************************************************
subroutine cko3(uo3,f,p,t,tau)
real, dimension(:), intent(in) :: p, t, uo3
real, dimension(:), intent(inout) :: f
real, dimension(:,:), intent(inout) :: tau
real :: k(no3)
integer :: m, i
f(1)=1.000000
k(1)=13.926e-23*6.023e+23/47.9982
do i=1,no3
do m=1,use_layers
tau(i,m)=k(i)*uo3(m)
end do
end do
end subroutine cko3
end module modis9
|
import apibasics from '@/components/apibasics';
import config from '@/config';
import { downloadUsingPOST } from '@/components/download';
/**
* ็ป่ฎกๅๆไฟ่ดนๆฐๆฎ
* @param {number} type ็ฑปๅ 0 ๅคฉ 1 ๆ
* @param {number} startDate ๅผๅงๆฅๆ
* @param {number} endDate ็ปๆๆฅๆ
* @param {number} bcId ๆฏๅ
ฌๅธ
* @param {number} teamId ๅข้
* @param {number} networkId ็ฝ็นid
*/
export function statisticalAnalysisUsingPOST(type, startDate, endDate, bcId, teamId, networkId) {
return apibasics({
url: `${config.url.origin}/cdimms/server/sa/statisticalAnalysis`,
method: 'post',
headers: {'Content-Type': 'application/json'},
data: {
type: type ? type : '0',
start: startDate,
end: endDate,
bcId: bcId ? bcId : '',
teamId: teamId ? teamId : '',
networkId: networkId ? networkId : '',
}
});
}
/**
* ๅฏผๅบ็ป่ฎกๅๆไฟ่ดนๆฐๆฎ
* @param {number} type ็ฑปๅ 0 ๅคฉ 1 ๆ
* @param {number} startDate ๅผๅงๆฅๆ
* @param {number} endDate ็ปๆๆฅๆ
* @param {number} bcId ๆฏๅ
ฌๅธ
* @param {number} teamId ๅข้
* @param {number} networkId ็ฝ็นid
*/
export function exportStatisticalAnalysisUsingPOST(type, startDate, endDate, bcId, teamId, networkId) {
downloadUsingPOST('/cdimms/server/sa/exportStatisticalAnalysis', {
type: type ? type : '0',
start: startDate,
end: endDate,
bcId: bcId ? bcId : '',
teamId: teamId ? teamId : '',
networkId: networkId ? networkId : '',
});
}
|
# dePHPend Tests
> *WORK IN PROGRESS*
>
> But feedback always welcome.
|
---
title: CSS animations
category: Hidden
redirect_to: /css#animation
---
|
1. ไบคๆขๅจ:direct,fanout,topic
2. ๅค็งๆท
3. ๆไน
ๅ็ญ็ฅ
4. rabbit้็พคไธญ็ๆถๆฏไธไผๅคๅถๅฐๆๆๅฎไพไธญ๏ผๆไปฅๅฝๆๅฐๅฎไพๅดฉๆบไปฅๅๆถๆฏๅฐฑไผไธขๅคฑใ |
package it.unibz.inf.ontop.injection.impl;
import com.google.common.collect.ImmutableList;
import com.google.inject.Module;
import it.unibz.inf.ontop.injection.*;
import it.unibz.inf.ontop.datalog.QueryUnionSplitter;
import it.unibz.inf.ontop.spec.mapping.transformer.MappingCaster;
import it.unibz.inf.ontop.spec.mapping.MappingWithProvenance;
import it.unibz.inf.ontop.spec.mapping.parser.TargetQueryParser;
import it.unibz.inf.ontop.spec.mapping.validation.MappingOntologyComplianceValidator;
import it.unibz.inf.ontop.spec.mapping.transformer.*;
import it.unibz.inf.ontop.spec.mapping.TMappingExclusionConfig;
import it.unibz.inf.ontop.spec.mapping.transformer.MappingTransformer;
public class OntopMappingModule extends OntopAbstractModule {
private final OntopMappingConfiguration configuration;
OntopMappingModule(OntopMappingConfiguration configuration) {
super(configuration.getSettings());
this.configuration = configuration;
}
@Override
protected void configure() {
bindTMappingExclusionConfig();
bind(OntopMappingSettings.class).toInstance(configuration.getSettings());
bindFromSettings(MappingVariableNameNormalizer.class);
bindFromSettings(MappingSaturator.class);
bindFromSettings(MappingCanonicalTransformer.class);
bindFromSettings(ABoxFactIntoMappingConverter.class);
bindFromSettings(MappingDatatypeFiller.class);
bindFromSettings(MappingMerger.class);
bindFromSettings(MappingTransformer.class);
bindFromSettings(MappingOntologyComplianceValidator.class);
bindFromSettings(MappingSameAsInverseRewriter.class);
bindFromSettings(MappingCQCOptimizer.class);
bindFromSettings(QueryUnionSplitter.class);
bindFromSettings(MappingCaster.class);
bindFromSettings(MappingDistinctTransformer.class);
bindFromSettings(MappingEqualityTransformer.class);
bind(MappingCoreSingletons.class).to(MappingCoreSingletonsImpl.class);
Module factoryModule = buildFactory(ImmutableList.of(MappingWithProvenance.class),
ProvenanceMappingFactory.class);
install(factoryModule);
Module targetQueryParserModule = buildFactory(ImmutableList.of(TargetQueryParser.class),
TargetQueryParserFactory.class);
install(targetQueryParserModule);
}
private void bindTMappingExclusionConfig() {
TMappingExclusionConfig tMappingExclusionConfig = configuration.getTmappingExclusions()
.orElseGet(TMappingExclusionConfig::empty);
bind(TMappingExclusionConfig.class).toInstance(tMappingExclusionConfig);
}
}
|
#!/bin/bash
poetry install
poetry export --without-hashes>requirements.txt
poetry run cyclonedx-py
|
๏ปฟusing UnityEngine;
public class DualStageActionObject : InteractionScriptAbstract
{
private bool _isActive = false;
public override bool isActive
{
get
{
return _isActive;
}
}
public override void Activate(GameObject controller)
{
this.GetComponent<Renderer>().material.EnableKeyword("_EMISSION");
this._isActive = true;
}
public override void Deactivate(GameObject controller)
{
this.GetComponent<Renderer>().material.DisableKeyword("_EMISSION");
this._isActive = false;
}
}
|
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+ssse3 | FileCheck %s --check-prefix=CHECK --check-prefix=SSSE3
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse4.2 | FileCheck %s --check-prefix=CHECK --check-prefix=SSE42
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx | FileCheck %s --check-prefix=CHECK --check-prefix=AVX
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=AVX2
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx512f | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512 --check-prefix=AVX512F
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx512f,+avx512bw | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512 --check-prefix=AVX512BW
; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx512f,+avx512dq | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512 --check-prefix=AVX512DQ
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.8.0"
; CHECK-LABEL: 'add'
define i32 @add(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = add
%I64 = add i64 undef, undef
; SSSE3: cost of 1 {{.*}} %V2I64 = add
; SSE42: cost of 1 {{.*}} %V2I64 = add
; AVX: cost of 1 {{.*}} %V2I64 = add
; AVX2: cost of 1 {{.*}} %V2I64 = add
; AVX512: cost of 1 {{.*}} %V2I64 = add
%V2I64 = add <2 x i64> undef, undef
; SSSE3: cost of 2 {{.*}} %V4I64 = add
; SSE42: cost of 2 {{.*}} %V4I64 = add
; AVX: cost of 4 {{.*}} %V4I64 = add
; AVX2: cost of 1 {{.*}} %V4I64 = add
; AVX512: cost of 1 {{.*}} %V4I64 = add
%V4I64 = add <4 x i64> undef, undef
; SSSE3: cost of 4 {{.*}} %V8I64 = add
; SSE42: cost of 4 {{.*}} %V8I64 = add
; AVX: cost of 8 {{.*}} %V8I64 = add
; AVX2: cost of 2 {{.*}} %V8I64 = add
; AVX512: cost of 1 {{.*}} %V8I64 = add
%V8I64 = add <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = add
%I32 = add i32 undef, undef
; SSSE3: cost of 1 {{.*}} %V4I32 = add
; SSE42: cost of 1 {{.*}} %V4I32 = add
; AVX: cost of 1 {{.*}} %V4I32 = add
; AVX2: cost of 1 {{.*}} %V4I32 = add
; AVX512: cost of 1 {{.*}} %V4I32 = add
%V4I32 = add <4 x i32> undef, undef
; SSSE3: cost of 2 {{.*}} %V8I32 = add
; SSE42: cost of 2 {{.*}} %V8I32 = add
; AVX: cost of 4 {{.*}} %V8I32 = add
; AVX2: cost of 1 {{.*}} %V8I32 = add
; AVX512: cost of 1 {{.*}} %V8I32 = add
%V8I32 = add <8 x i32> undef, undef
; SSSE3: cost of 4 {{.*}} %V16I32 = add
; SSE42: cost of 4 {{.*}} %V16I32 = add
; AVX: cost of 8 {{.*}} %V16I32 = add
; AVX2: cost of 2 {{.*}} %V16I32 = add
; AVX512: cost of 1 {{.*}} %V16I32 = add
%V16I32 = add <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = add
%I16 = add i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = add
; SSE42: cost of 1 {{.*}} %V8I16 = add
; AVX: cost of 1 {{.*}} %V8I16 = add
; AVX2: cost of 1 {{.*}} %V8I16 = add
; AVX512: cost of 1 {{.*}} %V8I16 = add
%V8I16 = add <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = add
; SSE42: cost of 2 {{.*}} %V16I16 = add
; AVX: cost of 4 {{.*}} %V16I16 = add
; AVX2: cost of 1 {{.*}} %V16I16 = add
; AVX512: cost of 1 {{.*}} %V16I16 = add
%V16I16 = add <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = add
; SSE42: cost of 4 {{.*}} %V32I16 = add
; AVX: cost of 8 {{.*}} %V32I16 = add
; AVX2: cost of 2 {{.*}} %V32I16 = add
; AVX512F: cost of 2 {{.*}} %V32I16 = add
; AVX512BW: cost of 1 {{.*}} %V32I16 = add
%V32I16 = add <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = add
%I8 = add i8 undef, undef
; SSSE3: cost of 1 {{.*}} %V16I8 = add
; SSE42: cost of 1 {{.*}} %V16I8 = add
; AVX: cost of 1 {{.*}} %V16I8 = add
; AVX2: cost of 1 {{.*}} %V16I8 = add
; AVX512: cost of 1 {{.*}} %V16I8 = add
%V16I8 = add <16 x i8> undef, undef
; SSSE3: cost of 2 {{.*}} %V32I8 = add
; SSE42: cost of 2 {{.*}} %V32I8 = add
; AVX: cost of 4 {{.*}} %V32I8 = add
; AVX2: cost of 1 {{.*}} %V32I8 = add
; AVX512: cost of 1 {{.*}} %V32I8 = add
%V32I8 = add <32 x i8> undef, undef
; SSSE3: cost of 4 {{.*}} %V64I8 = add
; SSE42: cost of 4 {{.*}} %V64I8 = add
; AVX: cost of 8 {{.*}} %V64I8 = add
; AVX2: cost of 2 {{.*}} %V64I8 = add
; AVX512F: cost of 2 {{.*}} %V64I8 = add
; AVX512BW: cost of 1 {{.*}} %V64I8 = add
%V64I8 = add <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'sub'
define i32 @sub(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = sub
%I64 = sub i64 undef, undef
; SSSE3: cost of 1 {{.*}} %V2I64 = sub
; SSE42: cost of 1 {{.*}} %V2I64 = sub
; AVX: cost of 1 {{.*}} %V2I64 = sub
; AVX2: cost of 1 {{.*}} %V2I64 = sub
; AVX512: cost of 1 {{.*}} %V2I64 = sub
%V2I64 = sub <2 x i64> undef, undef
; SSSE3: cost of 2 {{.*}} %V4I64 = sub
; SSE42: cost of 2 {{.*}} %V4I64 = sub
; AVX: cost of 4 {{.*}} %V4I64 = sub
; AVX2: cost of 1 {{.*}} %V4I64 = sub
; AVX512: cost of 1 {{.*}} %V4I64 = sub
%V4I64 = sub <4 x i64> undef, undef
; SSSE3: cost of 4 {{.*}} %V8I64 = sub
; SSE42: cost of 4 {{.*}} %V8I64 = sub
; AVX: cost of 8 {{.*}} %V8I64 = sub
; AVX2: cost of 2 {{.*}} %V8I64 = sub
; AVX512: cost of 1 {{.*}} %V8I64 = sub
%V8I64 = sub <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = sub
%I32 = sub i32 undef, undef
; SSSE3: cost of 1 {{.*}} %V4I32 = sub
; SSE42: cost of 1 {{.*}} %V4I32 = sub
; AVX: cost of 1 {{.*}} %V4I32 = sub
; AVX2: cost of 1 {{.*}} %V4I32 = sub
; AVX512: cost of 1 {{.*}} %V4I32 = sub
%V4I32 = sub <4 x i32> undef, undef
; SSSE3: cost of 2 {{.*}} %V8I32 = sub
; SSE42: cost of 2 {{.*}} %V8I32 = sub
; AVX: cost of 4 {{.*}} %V8I32 = sub
; AVX2: cost of 1 {{.*}} %V8I32 = sub
; AVX512: cost of 1 {{.*}} %V8I32 = sub
%V8I32 = sub <8 x i32> undef, undef
; SSSE3: cost of 4 {{.*}} %V16I32 = sub
; SSE42: cost of 4 {{.*}} %V16I32 = sub
; AVX: cost of 8 {{.*}} %V16I32 = sub
; AVX2: cost of 2 {{.*}} %V16I32 = sub
; AVX512: cost of 1 {{.*}} %V16I32 = sub
%V16I32 = sub <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = sub
%I16 = sub i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = sub
; SSE42: cost of 1 {{.*}} %V8I16 = sub
; AVX: cost of 1 {{.*}} %V8I16 = sub
; AVX2: cost of 1 {{.*}} %V8I16 = sub
; AVX512: cost of 1 {{.*}} %V8I16 = sub
%V8I16 = sub <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = sub
; SSE42: cost of 2 {{.*}} %V16I16 = sub
; AVX: cost of 4 {{.*}} %V16I16 = sub
; AVX2: cost of 1 {{.*}} %V16I16 = sub
; AVX512: cost of 1 {{.*}} %V16I16 = sub
%V16I16 = sub <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = sub
; SSE42: cost of 4 {{.*}} %V32I16 = sub
; AVX: cost of 8 {{.*}} %V32I16 = sub
; AVX2: cost of 2 {{.*}} %V32I16 = sub
; AVX512F: cost of 2 {{.*}} %V32I16 = sub
; AVX512BW: cost of 1 {{.*}} %V32I16 = sub
%V32I16 = sub <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = sub
%I8 = sub i8 undef, undef
; SSSE3: cost of 1 {{.*}} %V16I8 = sub
; SSE42: cost of 1 {{.*}} %V16I8 = sub
; AVX: cost of 1 {{.*}} %V16I8 = sub
; AVX2: cost of 1 {{.*}} %V16I8 = sub
; AVX512: cost of 1 {{.*}} %V16I8 = sub
%V16I8 = sub <16 x i8> undef, undef
; SSSE3: cost of 2 {{.*}} %V32I8 = sub
; SSE42: cost of 2 {{.*}} %V32I8 = sub
; AVX: cost of 4 {{.*}} %V32I8 = sub
; AVX2: cost of 1 {{.*}} %V32I8 = sub
; AVX512: cost of 1 {{.*}} %V32I8 = sub
%V32I8 = sub <32 x i8> undef, undef
; SSSE3: cost of 4 {{.*}} %V64I8 = sub
; SSE42: cost of 4 {{.*}} %V64I8 = sub
; AVX: cost of 8 {{.*}} %V64I8 = sub
; AVX2: cost of 2 {{.*}} %V64I8 = sub
; AVX512F: cost of 2 {{.*}} %V64I8 = sub
; AVX512BW: cost of 1 {{.*}} %V64I8 = sub
%V64I8 = sub <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'or'
define i32 @or(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = or
%I64 = or i64 undef, undef
; SSSE3: cost of 1 {{.*}} %V2I64 = or
; SSE42: cost of 1 {{.*}} %V2I64 = or
; AVX: cost of 1 {{.*}} %V2I64 = or
; AVX2: cost of 1 {{.*}} %V2I64 = or
; AVX512: cost of 1 {{.*}} %V2I64 = or
%V2I64 = or <2 x i64> undef, undef
; SSSE3: cost of 2 {{.*}} %V4I64 = or
; SSE42: cost of 2 {{.*}} %V4I64 = or
; AVX: cost of 1 {{.*}} %V4I64 = or
; AVX2: cost of 1 {{.*}} %V4I64 = or
; AVX512: cost of 1 {{.*}} %V4I64 = or
%V4I64 = or <4 x i64> undef, undef
; SSSE3: cost of 4 {{.*}} %V8I64 = or
; SSE42: cost of 4 {{.*}} %V8I64 = or
; AVX: cost of 2 {{.*}} %V8I64 = or
; AVX2: cost of 2 {{.*}} %V8I64 = or
; AVX512: cost of 1 {{.*}} %V8I64 = or
%V8I64 = or <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = or
%I32 = or i32 undef, undef
; SSSE3: cost of 1 {{.*}} %V4I32 = or
; SSE42: cost of 1 {{.*}} %V4I32 = or
; AVX: cost of 1 {{.*}} %V4I32 = or
; AVX2: cost of 1 {{.*}} %V4I32 = or
; AVX512: cost of 1 {{.*}} %V4I32 = or
%V4I32 = or <4 x i32> undef, undef
; SSSE3: cost of 2 {{.*}} %V8I32 = or
; SSE42: cost of 2 {{.*}} %V8I32 = or
; AVX: cost of 1 {{.*}} %V8I32 = or
; AVX2: cost of 1 {{.*}} %V8I32 = or
; AVX512: cost of 1 {{.*}} %V8I32 = or
%V8I32 = or <8 x i32> undef, undef
; SSSE3: cost of 4 {{.*}} %V16I32 = or
; SSE42: cost of 4 {{.*}} %V16I32 = or
; AVX: cost of 2 {{.*}} %V16I32 = or
; AVX2: cost of 2 {{.*}} %V16I32 = or
; AVX512: cost of 1 {{.*}} %V16I32 = or
%V16I32 = or <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = or
%I16 = or i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = or
; SSE42: cost of 1 {{.*}} %V8I16 = or
; AVX: cost of 1 {{.*}} %V8I16 = or
; AVX2: cost of 1 {{.*}} %V8I16 = or
; AVX512: cost of 1 {{.*}} %V8I16 = or
%V8I16 = or <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = or
; SSE42: cost of 2 {{.*}} %V16I16 = or
; AVX: cost of 1 {{.*}} %V16I16 = or
; AVX2: cost of 1 {{.*}} %V16I16 = or
; AVX512: cost of 1 {{.*}} %V16I16 = or
%V16I16 = or <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = or
; SSE42: cost of 4 {{.*}} %V32I16 = or
; AVX: cost of 2 {{.*}} %V32I16 = or
; AVX2: cost of 2 {{.*}} %V32I16 = or
; AVX512F: cost of 2 {{.*}} %V32I16 = or
; AVX512BW: cost of 1 {{.*}} %V32I16 = or
%V32I16 = or <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = or
%I8 = or i8 undef, undef
; SSSE3: cost of 1 {{.*}} %V16I8 = or
; SSE42: cost of 1 {{.*}} %V16I8 = or
; AVX: cost of 1 {{.*}} %V16I8 = or
; AVX2: cost of 1 {{.*}} %V16I8 = or
; AVX512: cost of 1 {{.*}} %V16I8 = or
%V16I8 = or <16 x i8> undef, undef
; SSSE3: cost of 2 {{.*}} %V32I8 = or
; SSE42: cost of 2 {{.*}} %V32I8 = or
; AVX: cost of 1 {{.*}} %V32I8 = or
; AVX2: cost of 1 {{.*}} %V32I8 = or
; AVX512: cost of 1 {{.*}} %V32I8 = or
%V32I8 = or <32 x i8> undef, undef
; SSSE3: cost of 4 {{.*}} %V64I8 = or
; SSE42: cost of 4 {{.*}} %V64I8 = or
; AVX: cost of 2 {{.*}} %V64I8 = or
; AVX2: cost of 2 {{.*}} %V64I8 = or
; AVX512F: cost of 2 {{.*}} %V64I8 = or
; AVX512BW: cost of 1 {{.*}} %V64I8 = or
%V64I8 = or <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'xor'
define i32 @xor(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = xor
%I64 = xor i64 undef, undef
; SSSE3: cost of 1 {{.*}} %V2I64 = xor
; SSE42: cost of 1 {{.*}} %V2I64 = xor
; AVX: cost of 1 {{.*}} %V2I64 = xor
; AVX2: cost of 1 {{.*}} %V2I64 = xor
; AVX512: cost of 1 {{.*}} %V2I64 = xor
%V2I64 = xor <2 x i64> undef, undef
; SSSE3: cost of 2 {{.*}} %V4I64 = xor
; SSE42: cost of 2 {{.*}} %V4I64 = xor
; AVX: cost of 1 {{.*}} %V4I64 = xor
; AVX2: cost of 1 {{.*}} %V4I64 = xor
; AVX512: cost of 1 {{.*}} %V4I64 = xor
%V4I64 = xor <4 x i64> undef, undef
; SSSE3: cost of 4 {{.*}} %V8I64 = xor
; SSE42: cost of 4 {{.*}} %V8I64 = xor
; AVX: cost of 2 {{.*}} %V8I64 = xor
; AVX2: cost of 2 {{.*}} %V8I64 = xor
; AVX512: cost of 1 {{.*}} %V8I64 = xor
%V8I64 = xor <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = xor
%I32 = xor i32 undef, undef
; SSSE3: cost of 1 {{.*}} %V4I32 = xor
; SSE42: cost of 1 {{.*}} %V4I32 = xor
; AVX: cost of 1 {{.*}} %V4I32 = xor
; AVX2: cost of 1 {{.*}} %V4I32 = xor
; AVX512: cost of 1 {{.*}} %V4I32 = xor
%V4I32 = xor <4 x i32> undef, undef
; SSSE3: cost of 2 {{.*}} %V8I32 = xor
; SSE42: cost of 2 {{.*}} %V8I32 = xor
; AVX: cost of 1 {{.*}} %V8I32 = xor
; AVX2: cost of 1 {{.*}} %V8I32 = xor
; AVX512: cost of 1 {{.*}} %V8I32 = xor
%V8I32 = xor <8 x i32> undef, undef
; SSSE3: cost of 4 {{.*}} %V16I32 = xor
; SSE42: cost of 4 {{.*}} %V16I32 = xor
; AVX: cost of 2 {{.*}} %V16I32 = xor
; AVX2: cost of 2 {{.*}} %V16I32 = xor
; AVX512: cost of 1 {{.*}} %V16I32 = xor
%V16I32 = xor <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = xor
%I16 = xor i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = xor
; SSE42: cost of 1 {{.*}} %V8I16 = xor
; AVX: cost of 1 {{.*}} %V8I16 = xor
; AVX2: cost of 1 {{.*}} %V8I16 = xor
; AVX512: cost of 1 {{.*}} %V8I16 = xor
%V8I16 = xor <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = xor
; SSE42: cost of 2 {{.*}} %V16I16 = xor
; AVX: cost of 1 {{.*}} %V16I16 = xor
; AVX2: cost of 1 {{.*}} %V16I16 = xor
; AVX512: cost of 1 {{.*}} %V16I16 = xor
%V16I16 = xor <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = xor
; SSE42: cost of 4 {{.*}} %V32I16 = xor
; AVX: cost of 2 {{.*}} %V32I16 = xor
; AVX2: cost of 2 {{.*}} %V32I16 = xor
; AVX512F: cost of 2 {{.*}} %V32I16 = xor
; AVX512BW: cost of 1 {{.*}} %V32I16 = xor
%V32I16 = xor <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = xor
%I8 = xor i8 undef, undef
; SSSE3: cost of 1 {{.*}} %V16I8 = xor
; SSE42: cost of 1 {{.*}} %V16I8 = xor
; AVX: cost of 1 {{.*}} %V16I8 = xor
; AVX2: cost of 1 {{.*}} %V16I8 = xor
; AVX512: cost of 1 {{.*}} %V16I8 = xor
%V16I8 = xor <16 x i8> undef, undef
; SSSE3: cost of 2 {{.*}} %V32I8 = xor
; SSE42: cost of 2 {{.*}} %V32I8 = xor
; AVX: cost of 1 {{.*}} %V32I8 = xor
; AVX2: cost of 1 {{.*}} %V32I8 = xor
; AVX512: cost of 1 {{.*}} %V32I8 = xor
%V32I8 = xor <32 x i8> undef, undef
; SSSE3: cost of 4 {{.*}} %V64I8 = xor
; SSE42: cost of 4 {{.*}} %V64I8 = xor
; AVX: cost of 2 {{.*}} %V64I8 = xor
; AVX2: cost of 2 {{.*}} %V64I8 = xor
; AVX512F: cost of 2 {{.*}} %V64I8 = xor
; AVX512BW: cost of 1 {{.*}} %V64I8 = xor
%V64I8 = xor <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'and'
define i32 @and(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = and
%I64 = and i64 undef, undef
; SSSE3: cost of 1 {{.*}} %V2I64 = and
; SSE42: cost of 1 {{.*}} %V2I64 = and
; AVX: cost of 1 {{.*}} %V2I64 = and
; AVX2: cost of 1 {{.*}} %V2I64 = and
; AVX512: cost of 1 {{.*}} %V2I64 = and
%V2I64 = and <2 x i64> undef, undef
; SSSE3: cost of 2 {{.*}} %V4I64 = and
; SSE42: cost of 2 {{.*}} %V4I64 = and
; AVX: cost of 1 {{.*}} %V4I64 = and
; AVX2: cost of 1 {{.*}} %V4I64 = and
; AVX512: cost of 1 {{.*}} %V4I64 = and
%V4I64 = and <4 x i64> undef, undef
; SSSE3: cost of 4 {{.*}} %V8I64 = and
; SSE42: cost of 4 {{.*}} %V8I64 = and
; AVX: cost of 2 {{.*}} %V8I64 = and
; AVX2: cost of 2 {{.*}} %V8I64 = and
; AVX512: cost of 1 {{.*}} %V8I64 = and
%V8I64 = and <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = and
%I32 = and i32 undef, undef
; SSSE3: cost of 1 {{.*}} %V4I32 = and
; SSE42: cost of 1 {{.*}} %V4I32 = and
; AVX: cost of 1 {{.*}} %V4I32 = and
; AVX2: cost of 1 {{.*}} %V4I32 = and
; AVX512: cost of 1 {{.*}} %V4I32 = and
%V4I32 = and <4 x i32> undef, undef
; SSSE3: cost of 2 {{.*}} %V8I32 = and
; SSE42: cost of 2 {{.*}} %V8I32 = and
; AVX: cost of 1 {{.*}} %V8I32 = and
; AVX2: cost of 1 {{.*}} %V8I32 = and
; AVX512: cost of 1 {{.*}} %V8I32 = and
%V8I32 = and <8 x i32> undef, undef
; SSSE3: cost of 4 {{.*}} %V16I32 = and
; SSE42: cost of 4 {{.*}} %V16I32 = and
; AVX: cost of 2 {{.*}} %V16I32 = and
; AVX2: cost of 2 {{.*}} %V16I32 = and
; AVX512: cost of 1 {{.*}} %V16I32 = and
%V16I32 = and <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = and
%I16 = and i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = and
; SSE42: cost of 1 {{.*}} %V8I16 = and
; AVX: cost of 1 {{.*}} %V8I16 = and
; AVX2: cost of 1 {{.*}} %V8I16 = and
; AVX512: cost of 1 {{.*}} %V8I16 = and
%V8I16 = and <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = and
; SSE42: cost of 2 {{.*}} %V16I16 = and
; AVX: cost of 1 {{.*}} %V16I16 = and
; AVX2: cost of 1 {{.*}} %V16I16 = and
; AVX512: cost of 1 {{.*}} %V16I16 = and
%V16I16 = and <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = and
; SSE42: cost of 4 {{.*}} %V32I16 = and
; AVX: cost of 2 {{.*}} %V32I16 = and
; AVX2: cost of 2 {{.*}} %V32I16 = and
; AVX512F: cost of 2 {{.*}} %V32I16 = and
; AVX512BW: cost of 1 {{.*}} %V32I16 = and
%V32I16 = and <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = and
%I8 = and i8 undef, undef
; SSSE3: cost of 1 {{.*}} %V16I8 = and
; SSE42: cost of 1 {{.*}} %V16I8 = and
; AVX: cost of 1 {{.*}} %V16I8 = and
; AVX2: cost of 1 {{.*}} %V16I8 = and
; AVX512: cost of 1 {{.*}} %V16I8 = and
%V16I8 = and <16 x i8> undef, undef
; SSSE3: cost of 2 {{.*}} %V32I8 = and
; SSE42: cost of 2 {{.*}} %V32I8 = and
; AVX: cost of 1 {{.*}} %V32I8 = and
; AVX2: cost of 1 {{.*}} %V32I8 = and
; AVX512: cost of 1 {{.*}} %V32I8 = and
%V32I8 = and <32 x i8> undef, undef
; SSSE3: cost of 4 {{.*}} %V64I8 = and
; SSE42: cost of 4 {{.*}} %V64I8 = and
; AVX: cost of 2 {{.*}} %V64I8 = and
; AVX2: cost of 2 {{.*}} %V64I8 = and
; AVX512F: cost of 2 {{.*}} %V64I8 = and
; AVX512BW: cost of 1 {{.*}} %V64I8 = and
%V64I8 = and <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'mul'
define i32 @mul(i32 %arg) {
; CHECK: cost of 1 {{.*}} %I64 = mul
%I64 = mul i64 undef, undef
; SSSE3: cost of 8 {{.*}} %V2I64 = mul
; SSE42: cost of 8 {{.*}} %V2I64 = mul
; AVX: cost of 8 {{.*}} %V2I64 = mul
; AVX2: cost of 8 {{.*}} %V2I64 = mul
; AVX512F: cost of 8 {{.*}} %V2I64 = mul
; AVX512BW: cost of 8 {{.*}} %V2I64 = mul
; AVX512DQ: cost of 1 {{.*}} %V2I64 = mul
%V2I64 = mul <2 x i64> undef, undef
; SSSE3: cost of 16 {{.*}} %V4I64 = mul
; SSE42: cost of 16 {{.*}} %V4I64 = mul
; AVX: cost of 18 {{.*}} %V4I64 = mul
; AVX2: cost of 8 {{.*}} %V4I64 = mul
; AVX512F: cost of 8 {{.*}} %V4I64 = mul
; AVX512BW: cost of 8 {{.*}} %V4I64 = mul
; AVX512DQ: cost of 1 {{.*}} %V4I64 = mul
%V4I64 = mul <4 x i64> undef, undef
; SSSE3: cost of 32 {{.*}} %V8I64 = mul
; SSE42: cost of 32 {{.*}} %V8I64 = mul
; AVX: cost of 36 {{.*}} %V8I64 = mul
; AVX2: cost of 16 {{.*}} %V8I64 = mul
; AVX512F: cost of 8 {{.*}} %V8I64 = mul
; AVX512BW: cost of 8 {{.*}} %V8I64 = mul
; AVX512DQ: cost of 1 {{.*}} %V8I64 = mul
%V8I64 = mul <8 x i64> undef, undef
; CHECK: cost of 1 {{.*}} %I32 = mul
%I32 = mul i32 undef, undef
; SSSE3: cost of 6 {{.*}} %V4I32 = mul
; SSE42: cost of 1 {{.*}} %V4I32 = mul
; AVX: cost of 1 {{.*}} %V4I32 = mul
; AVX2: cost of 1 {{.*}} %V4I32 = mul
; AVX512: cost of 1 {{.*}} %V4I32 = mul
%V4I32 = mul <4 x i32> undef, undef
; SSSE3: cost of 12 {{.*}} %V8I32 = mul
; SSE42: cost of 2 {{.*}} %V8I32 = mul
; AVX: cost of 4 {{.*}} %V8I32 = mul
; AVX2: cost of 1 {{.*}} %V8I32 = mul
; AVX512: cost of 1 {{.*}} %V8I32 = mul
%V8I32 = mul <8 x i32> undef, undef
; SSSE3: cost of 24 {{.*}} %V16I32 = mul
; SSE42: cost of 4 {{.*}} %V16I32 = mul
; AVX: cost of 8 {{.*}} %V16I32 = mul
; AVX2: cost of 2 {{.*}} %V16I32 = mul
; AVX512: cost of 1 {{.*}} %V16I32 = mul
%V16I32 = mul <16 x i32> undef, undef
; CHECK: cost of 1 {{.*}} %I16 = mul
%I16 = mul i16 undef, undef
; SSSE3: cost of 1 {{.*}} %V8I16 = mul
; SSE42: cost of 1 {{.*}} %V8I16 = mul
; AVX: cost of 1 {{.*}} %V8I16 = mul
; AVX2: cost of 1 {{.*}} %V8I16 = mul
; AVX512: cost of 1 {{.*}} %V8I16 = mul
%V8I16 = mul <8 x i16> undef, undef
; SSSE3: cost of 2 {{.*}} %V16I16 = mul
; SSE42: cost of 2 {{.*}} %V16I16 = mul
; AVX: cost of 4 {{.*}} %V16I16 = mul
; AVX2: cost of 1 {{.*}} %V16I16 = mul
; AVX512: cost of 1 {{.*}} %V16I16 = mul
%V16I16 = mul <16 x i16> undef, undef
; SSSE3: cost of 4 {{.*}} %V32I16 = mul
; SSE42: cost of 4 {{.*}} %V32I16 = mul
; AVX: cost of 8 {{.*}} %V32I16 = mul
; AVX2: cost of 2 {{.*}} %V32I16 = mul
; AVX512F: cost of 2 {{.*}} %V32I16 = mul
; AVX512BW: cost of 1 {{.*}} %V32I16 = mul
%V32I16 = mul <32 x i16> undef, undef
; CHECK: cost of 1 {{.*}} %I8 = mul
%I8 = mul i8 undef, undef
; SSSE3: cost of 12 {{.*}} %V16I8 = mul
; SSE42: cost of 12 {{.*}} %V16I8 = mul
; AVX: cost of 12 {{.*}} %V16I8 = mul
; AVX2: cost of 7 {{.*}} %V16I8 = mul
; AVX512F: cost of 5 {{.*}} %V16I8 = mul
; AVX512BW: cost of 4 {{.*}} %V16I8 = mul
%V16I8 = mul <16 x i8> undef, undef
; SSSE3: cost of 24 {{.*}} %V32I8 = mul
; SSE42: cost of 24 {{.*}} %V32I8 = mul
; AVX: cost of 26 {{.*}} %V32I8 = mul
; AVX2: cost of 17 {{.*}} %V32I8 = mul
; AVX512F: cost of 13 {{.*}} %V32I8 = mul
; AVX512BW: cost of 4 {{.*}} %V32I8 = mul
%V32I8 = mul <32 x i8> undef, undef
; SSSE3: cost of 48 {{.*}} %V64I8 = mul
; SSE42: cost of 48 {{.*}} %V64I8 = mul
; AVX: cost of 52 {{.*}} %V64I8 = mul
; AVX2: cost of 34 {{.*}} %V64I8 = mul
; AVX512F: cost of 26 {{.*}} %V64I8 = mul
; AVX512BW: cost of 11 {{.*}} %V64I8 = mul
%V64I8 = mul <64 x i8> undef, undef
ret i32 undef
}
; CHECK-LABEL: 'mul_2i32'
define void @mul_2i32() {
; A <2 x i32> gets expanded to a <2 x i64> vector.
; A <2 x i64> vector multiply is implemented using
; 3 PMULUDQ and 2 PADDS and 4 shifts.
; SSSE3: cost of 8 {{.*}} %A0 = mul
; SSE42: cost of 8 {{.*}} %A0 = mul
; AVX: cost of 8 {{.*}} %A0 = mul
; AVX2: cost of 8 {{.*}} %A0 = mul
; AVX512F: cost of 8 {{.*}} %A0 = mul
; AVX512BW: cost of 8 {{.*}} %A0 = mul
; AVX512DQ: cost of 1 {{.*}} %A0 = mul
%A0 = mul <2 x i32> undef, undef
ret void
}
|
<?php
namespace Test\Ecotone\Messaging\Fixture\Behat\ErrorHandling\DeadLetter;
use Ecotone\Messaging\Attribute\MessageEndpoint;
use Ecotone\Messaging\Attribute\MessageGateway;
interface OrderGateway
{
#[MessageGateway(ErrorConfigurationContext::INPUT_CHANNEL)]
public function order(string $type) : void;
#[MessageGateway("getErrorMessage")]
public function getIncorrectOrder() : ?string;
} |
๏ปฟusing SurviveOnSotka.ViewModell.Requests;
using System;
namespace SurviveOnSotka.ViewModel.Implementanion
{
public class SimpleDeleteRequest : Request
{
public Guid Id { get; set; }
}
} |
#!/usr/bin/env perl
#
# @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com>
# @update Oct-13-2015
# @license artistic license 2.0
#
use warnings;
use strict;
use Symbol;
my ($file, $base, $outN) = @ARGV;
$outN ||= 12;
($file and $base) or die "
Usage
$0 in_file.fa out_base[ no_files]
in_file.fa Input file in FastA format.
out_base Prefix for the name of the output files. It will
be appended with .<i>.fa, where <i> is a consecutive
number starting in 1.
no_files Number of files to generate. By default: 12.
";
my @outSym = ();
for my $i (1 .. $outN){
$outSym[$i-1] = gensym;
open $outSym[$i-1], ">", "$base.$i.fa" or
die "I can not create the file: $base.$i.fa: $!\n";
}
my($i, $seq) = (-1, '');
open FILE, "<", $file or die "I can not read the file: $file: $!\n";
while(my $ln=<FILE>){
next if $ln=~/^;/;
if($ln =~ m/^>/){
print { $outSym[$i % $outN] } $seq if $seq;
$i++;
$seq = '';
}
$seq.=$ln;
}
print { $outSym[$i % $outN] } $seq if $seq;
close FILE;
for(my $j=0; $j<$outN; $j++){
close $outSym[$j];
}
print STDERR "Sequences: ".($i+1)."\nFiles: $outN\n";
|
import { Field, FieldProps, FormikProps } from "formik";
import * as PropTypes from "prop-types";
import * as React from "react";
import * as styles from "./FormCheckbox.module.scss";
interface IProps {
label: string | React.ReactNode;
name: string;
value?: any;
checked?: boolean;
"data-test-id"?: string;
}
interface IInternalProps {
value: any;
onChange: (e: React.ChangeEvent<any>) => any;
}
const CheckboxComponent: React.SFC<IProps & IInternalProps> = ({
name,
label,
value,
onChange,
checked,
"data-test-id": dataTestId,
}) => {
return (
<label className={styles.checkbox}>
<input
className={styles.input}
onChange={onChange}
type="checkbox"
name={name}
value={value}
defaultChecked={checked}
data-test-id={dataTestId}
/>
<div className={styles.indicator} />
<div className={styles.label}>{label}</div>
</label>
);
};
const RadioButtonComponent: React.SFC<IProps & IInternalProps> = ({
name,
label,
value,
onChange,
checked,
"data-test-id": dataTestId,
}) => {
return (
<label className={styles.checkbox}>
<input
className={styles.input}
onChange={onChange}
type="radio"
name={name}
value={value}
defaultChecked={checked}
data-test-id={dataTestId}
/>
<div className={styles.indicator} />
<div className={styles.label}>{label}</div>
</label>
);
};
export class FormCheckbox extends React.Component<IProps> {
static contextTypes = {
formik: PropTypes.object,
};
render(): React.ReactNode {
const { name } = this.props;
const { setFieldValue, values } = this.context.formik as FormikProps<any>;
return (
<Field
name={name}
render={({ field }: FieldProps) => {
return (
<CheckboxComponent
{...this.props}
{...field}
checked={values[name]}
onChange={() => setFieldValue(name, !values[name])}
/>
);
}}
/>
);
}
}
export class FormRadioButton extends React.Component<IProps> {
static contextTypes = {
formik: PropTypes.object,
};
render(): React.ReactNode {
const { name } = this.props;
const { setFieldValue, values } = this.context.formik as FormikProps<any>;
return (
<Field
name={name}
render={({ field }: FieldProps) => {
const { name } = field;
const { value } = this.props;
return (
<RadioButtonComponent
{...this.props}
{...field}
checked={values[name] === value}
onChange={() => setFieldValue(name, value)}
/>
);
}}
/>
);
}
}
|
๏ปฟusing System;
namespace JsonProductShop.App
{
using AutoMapper;
using Data;
using Models;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
public class StartUp
{
public static void Main(string[] args)
{
var config = new MapperConfiguration(cfg =>
{
cfg.AddProfile<ProductShopProfile>();
});
var mapper = config.CreateMapper();
using (var context = new ProductShopContext())
{
//InitializeDb(context, mapper);
var serializer = new Serializer(mapper, context);
string exportPath = @"../../../ExportJson/";
//serializer.ProductsInRange(exportPath,500, 1000);
//serializer.SuccessfullySold(exportPath);
//serializer.CategoriesByProductCount(exportPath);
serializer.UsersAndProducts(exportPath);
}
}
private static void InitializeDb(ProductShopContext context, IMapper mapper)
{
string path = @"../../../Json/";
DeserializeUsers(context, path);
DeserializeProducts(context, path);
DeserializeCategories(context, path);
}
private static void DeserializeCategories(ProductShopContext context, string path)
{
string jsonCategories = File.ReadAllText(path + "categories.json");
var deserializedCategories = JsonConvert.DeserializeObject<Category[]>(jsonCategories);
var validCategories = new List<Category>();
foreach (var category in deserializedCategories)
{
if (!IsValid(category))
{
continue;
}
validCategories.Add(category);
}
var products = context.Products.ToArray();
var rnd = new Random();
var categolyLength = validCategories.Count;
var categoryProducts = new List<CategoryProduct>();
for (int i = 0; i < products.Length; i++)
{
var categoriesForProduct = rnd.Next(1, 4);
for (int j = 0; j < categoriesForProduct; j++)
{
var category = validCategories[rnd.Next(0, categolyLength)];
var categoryProduct = new CategoryProduct
{
Category=category,
Product=products[i]
};
if (categoryProducts.Any(x=>x.Category==category &&x.Product==products[i]))
{
continue;
}
categoryProducts.Add(categoryProduct);
}
}
context.Categories.AddRange(validCategories);
context.CategoryProducts.AddRange(categoryProducts);
context.SaveChanges();
}
private static void DeserializeProducts(ProductShopContext context, string path)
{
string jsonProducts = File.ReadAllText(path + "products.json");
var deserializedProducts = JsonConvert.DeserializeObject<Product[]>(jsonProducts);
var validProducts = new List<Product>();
var users = context.Users.ToArray();
var usersLength = users.Length;
var rnd = new Random();
foreach (var product in deserializedProducts)
{
if (!IsValid(product))
{
continue;
}
var seller = users[rnd.Next(0, usersLength)];
product.Seller = seller;
var buyer = users[rnd.Next(0, usersLength)];
if (!(Math.Abs(seller.Id-buyer.Id)<5))
{
product.Buyer = buyer;
}
validProducts.Add(product);
}
context.AddRange(validProducts);
context.SaveChanges();
}
private static void DeserializeUsers(ProductShopContext context, string path)
{
string jsonUsers = File.ReadAllText(path + "users.json");
var deserializedUsers = JsonConvert.DeserializeObject<User[]>(jsonUsers);
var validUsers = new List<User>();
foreach (var user in deserializedUsers)
{
if (!IsValid(user))
{
continue;
}
validUsers.Add(user);
}
context.Users.AddRange(validUsers);
context.SaveChanges();
}
private static bool IsValid(object obj)
{
var validContext = new System.ComponentModel.DataAnnotations.ValidationContext(obj);
var validResults = new List<ValidationResult>();
bool isValid = Validator.TryValidateObject(obj, validContext, validResults, true);
return isValid;
}
}
}
|
๏ปฟusing System;
using Bill.Management.Windows.ViewModels.Services.Dialog.Arguments;
using Bill.Management.Windows.ViewModels.View;
namespace Bill.Management.Windows.ViewModels.Services.Dialog
{
public delegate void DialogShow(object sender, DialogOpenEventArguments eventArgs);
public interface IDialogService
{
event DialogShow OnDialogShow;
bool? ShowDialog<TView>()
where TView : IDialogView;
bool? ShowDialog<TView, TBaseViewModel>(TBaseViewModel viewModel)
where TView : IDialogView
where TBaseViewModel : BaseViewModel;
}
} |
package world.gregs.voidps.world.activity.skill
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import world.gregs.voidps.engine.entity.character.contain.inventory
import world.gregs.voidps.engine.entity.character.player.skill.Skill
import world.gregs.voidps.engine.entity.item.Item
import world.gregs.voidps.world.script.WorldTest
import world.gregs.voidps.world.script.interfaceOption
internal class MagicTest : WorldTest() {
@Test
fun `Teleport to another place`() {
val tile = emptyTile
val player = createPlayer("magician", tile)
player.experience.set(Skill.Magic, experience)
player.inventory.add("law_rune")
player.inventory.add("air_rune", 3)
player.inventory.add("fire_rune")
player.interfaceOption("modern_spellbook", "varrock_teleport", "Cast")
tickIf { player.tile == tile }
assertTrue(player.inventory.isEmpty())
assertTrue(player.experience.get(Skill.Magic) > experience)
assertNotEquals(tile, player.tile)
}
@Test
fun `Teleport with a tablet`() {
val tile = emptyTile
val player = createPlayer("magician", tile)
player.experience.set(Skill.Magic, experience)
player.inventory.add("lumbridge_teleport")
player.interfaceOption("inventory", "container", "Break", 0, Item("lumbridge_teleport"), 0)
tick(5)
assertTrue(player.inventory.isEmpty())
assertFalse(player.experience.get(Skill.Magic) > experience)
assertNotEquals(tile, player.tile)
}
companion object {
private const val experience = 14000000.0
}
} |
object frmConfQuant: TfrmConfQuant
Left = 263
Top = 154
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = 'Quantidade de Etiquetas'
ClientHeight = 251
ClientWidth = 365
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnActivate = FormActivate
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Panel2: TPanel
Left = 0
Top = 203
Width = 365
Height = 48
Align = alBottom
TabOrder = 1
object sbReceber: TSpeedButton
Left = 195
Top = 10
Width = 75
Height = 28
Cursor = crHandPoint
Hint = 'Imprimir'
Caption = '&Imprimir'
Flat = True
Glyph.Data = {
36050000424D3605000000000000360400002800000010000000100000000100
0800000000000001000000000000000000000001000000000000000000004000
000080000000FF000000002000004020000080200000FF200000004000004040
000080400000FF400000006000004060000080600000FF600000008000004080
000080800000FF80000000A0000040A0000080A00000FFA0000000C0000040C0
000080C00000FFC0000000FF000040FF000080FF0000FFFF0000000020004000
200080002000FF002000002020004020200080202000FF202000004020004040
200080402000FF402000006020004060200080602000FF602000008020004080
200080802000FF80200000A0200040A0200080A02000FFA0200000C0200040C0
200080C02000FFC0200000FF200040FF200080FF2000FFFF2000000040004000
400080004000FF004000002040004020400080204000FF204000004040004040
400080404000FF404000006040004060400080604000FF604000008040004080
400080804000FF80400000A0400040A0400080A04000FFA0400000C0400040C0
400080C04000FFC0400000FF400040FF400080FF4000FFFF4000000060004000
600080006000FF006000002060004020600080206000FF206000004060004040
600080406000FF406000006060004060600080606000FF606000008060004080
600080806000FF80600000A0600040A0600080A06000FFA0600000C0600040C0
600080C06000FFC0600000FF600040FF600080FF6000FFFF6000000080004000
800080008000FF008000002080004020800080208000FF208000004080004040
800080408000FF408000006080004060800080608000FF608000008080004080
800080808000FF80800000A0800040A0800080A08000FFA0800000C0800040C0
800080C08000FFC0800000FF800040FF800080FF8000FFFF80000000A0004000
A0008000A000FF00A0000020A0004020A0008020A000FF20A0000040A0004040
A0008040A000FF40A0000060A0004060A0008060A000FF60A0000080A0004080
A0008080A000FF80A00000A0A00040A0A00080A0A000FFA0A00000C0A00040C0
A00080C0A000FFC0A00000FFA00040FFA00080FFA000FFFFA0000000C0004000
C0008000C000FF00C0000020C0004020C0008020C000FF20C0000040C0004040
C0008040C000FF40C0000060C0004060C0008060C000FF60C0000080C0004080
C0008080C000FF80C00000A0C00040A0C00080A0C000FFA0C00000C0C00040C0
C00080C0C000FFC0C00000FFC00040FFC00080FFC000FFFFC0000000FF004000
FF008000FF00FF00FF000020FF004020FF008020FF00FF20FF000040FF004040
FF008040FF00FF40FF000060FF004060FF008060FF00FF60FF000080FF004080
FF008080FF00FF80FF0000A0FF0040A0FF0080A0FF00FFA0FF0000C0FF0040C0
FF0080C0FF00FFC0FF0000FFFF0040FFFF0080FFFF00FFFFFF00DBDBDBDBDBDB
DBDBDBDBDBDBDBDBDBDBDBDB0000000000000000000000DBDBDBDB00DBDBDBDB
DBDBDBDBDB00DB00DBDB00000000000000000000000000DB00DB00DBDBDBDBDB
DBFCFCFCDBDB000000DB00DBDBDBDBDBDB929292DBDB00DB00DB000000000000
00000000000000DBDB0000DBDBDBDBDBDBDBDBDBDB00DB00DB00DB0000000000
0000000000DB00DB0000DBDB00FFFFFFFFFFFFFFFF00DB00DB00DBDBDB00FF00
00000000FF00000000DBDBDBDB00FFFFFFFFFFFFFFFF00DBDBDBDBDBDBDB00FF
0000000000FF00DBDBDBDBDBDBDB00FFFFFFFFFFFFFFFF00DBDBDBDBDBDBDB00
0000000000000000DBDBDBDBDBDBDBDBDBDBDBDBDBDBDBDBDBDB}
OnClick = sbReceberClick
end
object spFechar: TSpeedButton
Left = 278
Top = 11
Width = 75
Height = 28
Cursor = crHandPoint
Hint = 'Fechar janela'
Caption = '&Fechar'
Flat = True
Glyph.Data = {
36030000424D3603000000000000360000002800000010000000100000000100
18000000000000030000120B0000120B00000000000000000000FF00FFFF00FF
FF00FFFF00FFFF00FFFF00FFFF00FF824B4B4E1E1FFF00FFFF00FFFF00FFFF00
FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF824B4B824B4BA64B4BA9
4D4D4E1E1FFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
824B4B824B4BB64F50C24F50C54D4EB24D4E4E1E1F824B4B824B4B824B4B824B
4B824B4B824B4BFF00FFFF00FFFF00FF824B4BD45859CB5556C95455C95253B7
4F524E1E1FFE8B8CFB9A9CF8AAABF7B5B6F7B5B6824B4BFF00FFFF00FFFF00FF
824B4BD75C5DD05A5BCF595ACF5758BD53564E1E1F23B54A13C14816BD480CBC
41F7B5B6824B4BFF00FFFF00FFFF00FF824B4BDD6364D75F60D55E5FD55C5DC2
575A4E1E1F2AB44D1CBF4C1EBC4C13BC45F7B5B6824B4BFF00FFFF00FFFF00FF
824B4BE36869DD6566DA6364DE6667C6595B4E1E1F26B14916BC481BBB4910BB
43F7B5B6824B4BFF00FFFF00FFFF00FF824B4BEB6D6EE26768E67E7FFAD3D4CC
6E704E1E1FA5D89750D16F42C9662DC758F7B5B6824B4BFF00FFFF00FFFF00FF
824B4BF27374E96C6DEB8182FCD1D3CF6E704E1E1FFFF2CCFFFFD7FFFFD4E6FC
C7F7B5B6824B4BFF00FFFF00FFFF00FF824B4BF87879F07576EE7273F07374D1
65664E1E1FFCEFC7FFFFD5FFFFD3FFFFD7F7B5B6824B4BFF00FFFF00FFFF00FF
824B4BFE7F80F77A7BF6797AF77779D76B6B4E1E1FFCEFC7FFFFD5FFFFD3FFFF
D5F7B5B6824B4BFF00FFFF00FFFF00FF824B4BFF8384FC7F80FB7E7FFE7F80DA
6E6F4E1E1FFCEFC7FFFFD5FFFFD3FFFFD5F7B5B6824B4BFF00FFFF00FFFF00FF
824B4BFF8889FF8283FF8182FF8283E073744E1E1FFCEFC7FFFFD5FFFFD3FFFF
D5F7B5B6824B4BFF00FFFF00FFFF00FF824B4B824B4BE27576FE8182FF8687E5
76774E1E1FFAEBC5FCFBD1FCFBCFFCFBD1F7B5B6824B4BFF00FFFF00FFFF00FF
FF00FFFF00FF824B4B9C5657CB6C6DCF6E6E4E1E1F824B4B824B4B824B4B824B
4B824B4B824B4BFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF824B4B82
4B4B4E1E1FFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
OnClick = spFecharClick
end
end
object Panel1: TPanel
Left = 0
Top = 0
Width = 365
Height = 203
Align = alClient
TabOrder = 0
object Label1: TLabel
Left = 16
Top = 39
Width = 120
Height = 13
Caption = 'Quantidade de Etiquetas:'
Transparent = True
end
object Label2: TLabel
Left = 15
Top = 78
Width = 56
Height = 13
Caption = 'Linha Inicial'
Transparent = True
Visible = False
end
object Label3: TLabel
Left = 15
Top = 118
Width = 63
Height = 13
Caption = 'Coluna Inicial'
Transparent = True
Visible = False
end
object DBText1: TDBText
Left = 16
Top = 16
Width = 60
Height = 16
AutoSize = True
DataField = 'PRO_NMPROD'
DataSource = dsProduto
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
Transparent = True
end
object Label4: TLabel
Left = 232
Top = 159
Width = 114
Height = 13
Caption = 'Quantidade de Colunas:'
Transparent = True
Visible = False
end
object Label5: TLabel
Left = 16
Top = 156
Width = 41
Height = 13
Caption = 'Posi'#231#227'o:'
Transparent = True
Visible = False
end
object Image1: TImage
Left = 232
Top = 96
Width = 115
Height = 55
Stretch = True
Visible = False
end
object edtQTETIQ: TCurrencyEdit
Left = 15
Top = 54
Width = 121
Height = 21
Hint = 'Digite a quantidade de etiquetas para imprimir'
AutoSize = False
DisplayFormat = '0;-0'
TabOrder = 1
OnKeyPress = edtQTETIQKeyPress
end
object edtLINENT: TEdit
Left = 15
Top = 94
Width = 121
Height = 21
TabStop = False
ReadOnly = True
TabOrder = 3
Visible = False
OnKeyPress = edtLINENTKeyPress
end
object edtCOLENT: TEdit
Left = 15
Top = 133
Width = 121
Height = 21
TabStop = False
ReadOnly = True
TabOrder = 4
Visible = False
OnKeyPress = edtCOLENTKeyPress
end
object sedQTCOLU: TSpinEdit
Left = 232
Top = 173
Width = 121
Height = 22
Hint = 'Selecione a quantidade de colunas'
MaxValue = 4
MinValue = 3
TabOrder = 0
Value = 4
Visible = False
OnChange = sedQTCOLUChange
OnExit = sedQTCOLUExit
end
object edtPOSICAO: TSpinEdit
Left = 16
Top = 173
Width = 121
Height = 22
Hint = 'Digite a posi'#231#227'o para imprimir'
MaxValue = 80
MinValue = 1
TabOrder = 2
Value = 1
Visible = False
OnChange = edtPOSICAOChange
OnEnter = edtPOSICAOEnter
OnKeyPress = edtPOSICAOKeyPress
end
object codBarras: TCJVQRBarCode
Left = 232
Top = 40
Width = 115
Height = 55
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
145.520833333333300000
613.833333333333200000
105.833333333333300000
304.270833333333300000)
Picture.Data = {
07544269746D61705ADB0000424D5ADB0000000000003600000028000000BB00
00004B000000010020000000000024DB00000000000000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00000000000000
0000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF000000000000000000000000000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF000000000000000000000000000000
000000000000FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
000000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF0000000000000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000000000000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF000000000000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00000000000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000000000000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00000000000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF000000000000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
00000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00000000000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00000000000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF000000000000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF000000
00000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000000000000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000000000000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
000000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF0000000000000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000000000000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF000000000000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00000000000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000000000000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00000000000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF000000000000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
00000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00000000000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00000000000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF000000000000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF000000
00000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000000000000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000000000000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
000000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF0000000000000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000000000000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF000000000000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00000000000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000000000000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00000000000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF000000000000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
00000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00000000000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00000000000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF000000000000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF000000
00000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000000000000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000000000000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
000000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF0000000000000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000000000000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF000000000000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00000000000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000000000000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00000000000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF000000000000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
00000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00000000000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00000000000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF000000000000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF000000
00000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000000000000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000000000000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
000000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF0000000000000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000000000000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF000000000000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00000000000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000000000000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000000000000000FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00000000000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000000000000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF0000000000FFFF
FF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFF
FF000000000000000000FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00000000000000
000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
00000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF00000000000000
0000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000
0000FFFFFF0000000000FFFFFF000000000000000000FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00000000000000000000000000FFFFFF000000000000000000FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF000000000000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFFFF000000
00000000000000000000FFFFFF00FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF00FFFFFF000000000000000000FFFFFF0000000000FFFFFF00FFFFFF000000
0000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF00000000000000
0000FFFFFF00000000000000000000000000FFFFFF00FFFFFF0000000000FFFF
FF00000000000000000000000000FFFFFF00000000000000000000000000FFFF
FF000000000000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF0000000000FFFFFF0000000000FFFFFF000000000000000000000000000000
0000FFFFFF00FFFFFF000000000000000000FFFFFF000000000000000000FFFF
FF0000000000FFFFFF0000000000FFFFFF0000000000FFFFFF0000000000FFFF
FF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000FFFFFF00FFFF
FF0000000000FFFFFF00000000000000000000000000FFFFFF00FFFFFF000000
0000FFFFFF000000000000000000FFFFFF000000000000000000FFFFFF00FFFF
FF000000000000000000FFFFFF00FFFFFF000000000000000000FFFFFF000000
0000FFFFFF00FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF0000000000FFFF
FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000FFFFFF000000
0000FFFFFF000000000000000000FFFFFF00000000000000000000000000FFFF
FF00FFFFFF0000000000FFFFFF00000000000000000000000000FFFFFF000000
00000000000000000000FFFFFF000000000000000000FFFFFF00FFFFFF00FFFF
FF0000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000000000000000000000000000FFFFFF00FFFFFF000000000000000000FFFF
FF000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
0000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000
000000000000FFFFFF00FFFFFF0000000000FFFFFF0000000000000000000000
0000FFFFFF00FFFFFF0000000000FFFFFF000000000000000000FFFFFF000000
000000000000FFFFFF00FFFFFF000000000000000000FFFFFF00FFFFFF000000
000000000000FFFFFF0000000000FFFFFF00FFFFFF0000000000FFFFFF00FFFF
FF00FFFFFF0000000000FFFFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
FF00FFFFFF00}
Texto = '789786260021'
Tipo = btCodeEAN13
Esquerda = 10
Superior = 1
Altura = 40
Legenda = True
LegendaFont.Charset = DEFAULT_CHARSET
LegendaFont.Color = clWindowText
LegendaFont.Height = -11
LegendaFont.Name = 'MS Sans Serif'
LegendaFont.Style = []
LegendaPos = 2
end
end
object qryEtiquetas: TQuery
DatabaseName = 'InfoModa'
SQL.Strings = (
'Select * from SACEQT')
Left = 152
Top = 8
object qryEtiquetasEQT_CDPROD: TStringField
FieldName = 'EQT_CDPROD'
Origin = 'DBETIQUETA."SACEQT.DBF".EQT_CDPROD'
Size = 13
end
object qryEtiquetasEQT_NMPROD: TStringField
FieldName = 'EQT_NMPROD'
Origin = 'DBETIQUETA."SACEQT.DBF".EQT_NMPROD'
Size = 50
end
object qryEtiquetasEQT_VLVEND: TFloatField
FieldName = 'EQT_VLVEND'
Origin = 'DBETIQUETA."SACEQT.DBF".EQT_VLVEND'
end
end
object dsProduto: TDataSource
DataSet = dmInfoModa.qryProduto
Left = 192
Top = 16
end
object dsEtiquetas: TDataSource
DataSet = qryEtiquetas
Left = 168
Top = 56
end
object dsParametros: TDataSource
DataSet = dmInfoModa.tbParametros
Left = 168
Top = 88
end
end
|
๏ปฟ// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Microsoft.DotNet.Internal.Testing.DependencyInjectionCodeGen
{
internal class ConfigMethod
{
public ConfigMethod(
string name,
List<ConfigParameters> parameters,
string returnTypeSymbol,
bool configureAllParameters,
bool isConfigurationAsync,
bool isFetchAsync,
bool hasFetch)
{
Name = name;
Parameters = parameters;
if (returnTypeSymbol != null)
{
if (returnTypeSymbol.StartsWith("("))
{
ReturnTypeSymbol = returnTypeSymbol;
}
else
{
ReturnTypeSymbol = "global::" + returnTypeSymbol;
}
}
ConfigureAllParameters = configureAllParameters;
IsConfigurationAsync = isConfigurationAsync;
IsFetchAsync = isFetchAsync;
HasFetch = hasFetch;
}
public string Name { get; }
public List<ConfigParameters> Parameters { get; }
public string ReturnTypeSymbol { get; }
public bool HasFetch { get; }
public bool ConfigureAllParameters { get; }
public bool IsConfigurationAsync { get; }
public bool IsFetchAsync { get; }
public string GetItemName(TestDataClassWriter.NameFormat format)
{
string name = Name;
if (name.StartsWith("Get"))
{
name = name.Substring(3);
}
return TestDataClassWriter.FormatName(format, name);
}
}
}
|
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
#include "kudu/tablet/transactions/write_transaction.h"
#include <algorithm>
#include <cstdint>
#include <ctime>
#include <new>
#include <ostream>
#include <vector>
#include <boost/optional/optional.hpp>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include "kudu/clock/clock.h"
#include "kudu/common/common.pb.h"
#include "kudu/common/row_operations.h"
#include "kudu/common/schema.h"
#include "kudu/common/timestamp.h"
#include "kudu/common/wire_protocol.h"
#include "kudu/common/wire_protocol.pb.h"
#include "kudu/consensus/opid.pb.h"
#include "kudu/consensus/raft_consensus.h"
#include "kudu/gutil/dynamic_annotations.h"
#include "kudu/gutil/map-util.h"
#include "kudu/gutil/port.h"
#include "kudu/gutil/strings/substitute.h"
#include "kudu/gutil/walltime.h"
#include "kudu/rpc/rpc_header.pb.h"
#include "kudu/tablet/lock_manager.h"
#include "kudu/tablet/mvcc.h"
#include "kudu/tablet/row_op.h"
#include "kudu/tablet/tablet.h"
#include "kudu/tablet/tablet.pb.h"
#include "kudu/tablet/tablet_metrics.h"
#include "kudu/tablet/tablet_replica.h"
#include "kudu/tserver/tserver.pb.h"
#include "kudu/util/debug/trace_event.h"
#include "kudu/util/flag_tags.h"
#include "kudu/util/memory/arena.h"
#include "kudu/util/metrics.h"
#include "kudu/util/pb_util.h"
#include "kudu/util/rw_semaphore.h"
#include "kudu/util/trace.h"
DEFINE_int32(tablet_inject_latency_on_apply_write_txn_ms, 0,
"How much latency to inject when a write transaction is applied. "
"For testing only!");
TAG_FLAG(tablet_inject_latency_on_apply_write_txn_ms, unsafe);
TAG_FLAG(tablet_inject_latency_on_apply_write_txn_ms, runtime);
using std::string;
using std::unique_ptr;
using std::vector;
using strings::Substitute;
namespace kudu {
namespace tablet {
using pb_util::SecureShortDebugString;
using consensus::CommitMsg;
using consensus::DriverType;
using consensus::ReplicateMsg;
using consensus::WRITE_OP;
using tserver::TabletServerErrorPB;
using tserver::WriteRequestPB;
using tserver::WriteResponsePB;
string WritePrivilegeToString(const WritePrivilegeType& type) {
switch (type) {
case WritePrivilegeType::INSERT:
return "INSERT";
case WritePrivilegeType::UPDATE:
return "UPDATE";
case WritePrivilegeType::DELETE:
return "DELETE";
}
LOG(DFATAL) << "not reachable";
return "";
}
void AddWritePrivilegesForRowOperations(const RowOperationsPB::Type& op_type,
WritePrivileges* privileges) {
switch (op_type) {
case RowOperationsPB::INSERT:
InsertIfNotPresent(privileges, WritePrivilegeType::INSERT);
break;
case RowOperationsPB::UPSERT:
InsertIfNotPresent(privileges, WritePrivilegeType::INSERT);
InsertIfNotPresent(privileges, WritePrivilegeType::UPDATE);
break;
case RowOperationsPB::UPDATE:
InsertIfNotPresent(privileges, WritePrivilegeType::UPDATE);
break;
case RowOperationsPB::DELETE:
InsertIfNotPresent(privileges, WritePrivilegeType::DELETE);
break;
default:
LOG(DFATAL) << "Not a write operation: " << RowOperationsPB_Type_Name(op_type);
break;
}
}
Status WriteAuthorizationContext::CheckPrivileges() const {
WritePrivileges required_write_privileges;
for (const auto& op_type : requested_op_types) {
AddWritePrivilegesForRowOperations(op_type, &required_write_privileges);
}
for (const auto& required_write_privilege : required_write_privileges) {
if (!ContainsKey(write_privileges, required_write_privilege)) {
return Status::NotAuthorized(Substitute("not authorized to $0",
WritePrivilegeToString(required_write_privilege)));
}
}
return Status::OK();
}
WriteTransaction::WriteTransaction(unique_ptr<WriteTransactionState> state, DriverType type)
: Transaction(type, Transaction::WRITE_TXN),
state_(std::move(state)) {
start_time_ = MonoTime::Now();
}
void WriteTransaction::NewReplicateMsg(unique_ptr<ReplicateMsg>* replicate_msg) {
replicate_msg->reset(new ReplicateMsg);
(*replicate_msg)->set_op_type(WRITE_OP);
(*replicate_msg)->mutable_write_request()->CopyFrom(*state()->request());
if (state()->are_results_tracked()) {
(*replicate_msg)->mutable_request_id()->CopyFrom(state()->request_id());
}
}
Status WriteTransaction::Prepare() {
TRACE_EVENT0("txn", "WriteTransaction::Prepare");
TRACE("PREPARE: Starting.");
// Decode everything first so that we give up if something major is wrong.
Schema client_schema;
RETURN_NOT_OK_PREPEND(SchemaFromPB(state_->request()->schema(), &client_schema),
"Cannot decode client schema");
if (client_schema.has_column_ids()) {
// TODO(unknown): we have this kind of code a lot - add a new SchemaFromPB variant which
// does this check inline.
Status s = Status::InvalidArgument("User requests should not have Column IDs");
state_->completion_callback()->set_error(s, TabletServerErrorPB::INVALID_SCHEMA);
return s;
}
Tablet* tablet = state()->tablet_replica()->tablet();
Status s = tablet->DecodeWriteOperations(&client_schema, state());
if (!s.ok()) {
// TODO(unknown): is MISMATCHED_SCHEMA always right here? probably not.
state()->completion_callback()->set_error(s, TabletServerErrorPB::MISMATCHED_SCHEMA);
return s;
}
// Authorize the request if needed.
const auto& authz_context = state()->authz_context();
if (authz_context) {
Status s = authz_context->CheckPrivileges();
if (!s.ok()) {
state()->completion_callback()->set_error(s, TabletServerErrorPB::NOT_AUTHORIZED);
return s;
}
}
// Now acquire row locks and prepare everything for apply
RETURN_NOT_OK(tablet->AcquireRowLocks(state()));
TRACE("PREPARE: Finished.");
return Status::OK();
}
void WriteTransaction::AbortPrepare() {
state()->ReleaseMvccTxn(TransactionResult::ABORTED);
}
Status WriteTransaction::Start() {
TRACE_EVENT0("txn", "WriteTransaction::Start");
TRACE("Start()");
DCHECK(!state_->has_timestamp());
DCHECK(state_->consensus_round()->replicate_msg()->has_timestamp());
state_->set_timestamp(Timestamp(state_->consensus_round()->replicate_msg()->timestamp()));
state_->tablet_replica()->tablet()->StartTransaction(state_.get());
TRACE("Timestamp: $0", state_->tablet_replica()->clock()->Stringify(state_->timestamp()));
return Status::OK();
}
void WriteTransaction::UpdatePerRowErrors() {
// Add per-row errors to the result, update metrics.
for (int i = 0; i < state()->row_ops().size(); ++i) {
const RowOp* op = state()->row_ops()[i];
if (op->result->has_failed_status()) {
// Replicas disregard the per row errors, for now
// TODO(unknown): check the per-row errors against the leader's, at least in debug mode
WriteResponsePB::PerRowErrorPB* error = state()->response()->add_per_row_errors();
error->set_row_index(i);
error->mutable_error()->CopyFrom(op->result->failed_status());
}
state()->UpdateMetricsForOp(*op);
}
}
// FIXME: Since this is called as a void in a thread-pool callback,
// it seems pointless to return a Status!
Status WriteTransaction::Apply(unique_ptr<CommitMsg>* commit_msg) {
TRACE_EVENT0("txn", "WriteTransaction::Apply");
TRACE("APPLY: Starting.");
if (PREDICT_FALSE(
ANNOTATE_UNPROTECTED_READ(FLAGS_tablet_inject_latency_on_apply_write_txn_ms) > 0)) {
TRACE("Injecting $0ms of latency due to --tablet_inject_latency_on_apply_write_txn_ms",
FLAGS_tablet_inject_latency_on_apply_write_txn_ms);
SleepFor(MonoDelta::FromMilliseconds(FLAGS_tablet_inject_latency_on_apply_write_txn_ms));
}
Tablet* tablet = state()->tablet_replica()->tablet();
RETURN_NOT_OK(tablet->ApplyRowOperations(state()));
TRACE("APPLY: Finished.");
UpdatePerRowErrors();
// Create the Commit message
commit_msg->reset(new CommitMsg());
state()->ReleaseTxResultPB((*commit_msg)->mutable_result());
(*commit_msg)->set_op_type(WRITE_OP);
return Status::OK();
}
void WriteTransaction::Finish(TransactionResult result) {
TRACE_EVENT0("txn", "WriteTransaction::Finish");
state()->CommitOrAbort(result);
if (PREDICT_FALSE(result == Transaction::ABORTED)) {
TRACE("FINISH: Transaction aborted.");
return;
}
DCHECK_EQ(result, Transaction::COMMITTED);
TRACE("FINISH: Updating metrics.");
TabletMetrics* metrics = state_->tablet_replica()->tablet()->metrics();
if (metrics) {
// TODO(unknown): should we change this so it's actually incremented by the
// Tablet code itself instead of this wrapper code?
metrics->rows_inserted->IncrementBy(state_->metrics().successful_inserts);
metrics->insert_ignore_errors->IncrementBy(state_->metrics().insert_ignore_errors);
metrics->rows_upserted->IncrementBy(state_->metrics().successful_upserts);
metrics->rows_updated->IncrementBy(state_->metrics().successful_updates);
metrics->rows_deleted->IncrementBy(state_->metrics().successful_deletes);
if (type() == consensus::LEADER) {
if (state()->external_consistency_mode() == COMMIT_WAIT) {
metrics->commit_wait_duration->Increment(state_->metrics().commit_wait_duration_usec);
}
uint64_t op_duration_usec =
(MonoTime::Now() - start_time_).ToMicroseconds();
switch (state()->external_consistency_mode()) {
case CLIENT_PROPAGATED:
metrics->write_op_duration_client_propagated_consistency->Increment(op_duration_usec);
break;
case COMMIT_WAIT:
metrics->write_op_duration_commit_wait_consistency->Increment(op_duration_usec);
break;
case UNKNOWN_EXTERNAL_CONSISTENCY_MODE:
break;
}
}
}
}
string WriteTransaction::ToString() const {
MonoTime now(MonoTime::Now());
MonoDelta d = now - start_time_;
WallTime abs_time = WallTime_Now() - d.ToSeconds();
string abs_time_formatted;
StringAppendStrftime(&abs_time_formatted, "%Y-%m-%d %H:%M:%S", (time_t)abs_time, true);
return Substitute("WriteTransaction [type=$0, start_time=$1, state=$2]",
DriverType_Name(type()), abs_time_formatted, state_->ToString());
}
WriteTransactionState::WriteTransactionState(TabletReplica* tablet_replica,
const tserver::WriteRequestPB *request,
const rpc::RequestIdPB* request_id,
tserver::WriteResponsePB *response,
boost::optional<WriteAuthorizationContext> authz_ctx)
: TransactionState(tablet_replica),
request_(DCHECK_NOTNULL(request)),
response_(response),
authz_context_(std::move(authz_ctx)),
mvcc_tx_(nullptr),
schema_at_decode_time_(nullptr) {
external_consistency_mode_ = request_->external_consistency_mode();
if (!response_) {
response_ = &owned_response_;
}
if (request_id) {
request_id_ = *request_id;
}
}
void WriteTransactionState::SetMvccTx(unique_ptr<ScopedTransaction> mvcc_tx) {
DCHECK(!mvcc_tx_) << "Mvcc transaction already started/set.";
mvcc_tx_ = std::move(mvcc_tx);
}
void WriteTransactionState::set_tablet_components(
const scoped_refptr<const TabletComponents>& components) {
DCHECK(!tablet_components_) << "Already set";
DCHECK(components);
tablet_components_ = components;
}
void WriteTransactionState::AcquireSchemaLock(rw_semaphore* schema_lock) {
TRACE("Acquiring schema lock in shared mode");
shared_lock<rw_semaphore> temp(*schema_lock);
schema_lock_.swap(temp);
TRACE("Acquired schema lock");
}
void WriteTransactionState::ReleaseSchemaLock() {
shared_lock<rw_semaphore> temp;
schema_lock_.swap(temp);
TRACE("Released schema lock");
}
void WriteTransactionState::SetRowOps(vector<DecodedRowOperation> decoded_ops) {
std::lock_guard<simple_spinlock> l(txn_state_lock_);
row_ops_.clear();
row_ops_.reserve(decoded_ops.size());
Arena* arena = this->arena();
for (DecodedRowOperation& op : decoded_ops) {
if (authz_context_) {
InsertIfNotPresent(&authz_context_->requested_op_types, op.type);
}
row_ops_.emplace_back(arena->NewObject<RowOp>(std::move(op)));
}
// Allocate the ProbeStats objects from the transaction's arena, so
// they're all contiguous and we don't need to do any central allocation.
stats_array_ = static_cast<ProbeStats*>(
arena->AllocateBytesAligned(sizeof(ProbeStats) * row_ops_.size(),
alignof(ProbeStats)));
// Manually run the constructor to clear the stats to 0 before collecting them.
for (int i = 0; i < row_ops_.size(); i++) {
new (&stats_array_[i]) ProbeStats();
}
}
void WriteTransactionState::StartApplying() {
CHECK_NOTNULL(mvcc_tx_.get())->StartApplying();
}
void WriteTransactionState::CommitOrAbort(Transaction::TransactionResult result) {
ReleaseMvccTxn(result);
TRACE("Releasing row and schema locks");
ReleaseRowLocks();
ReleaseSchemaLock();
// After committing, if there is an RPC going on, the driver will respond to it.
// That will delete the RPC request and response objects. So, NULL them here
// so we don't read them again after they're deleted.
ResetRpcFields();
}
void WriteTransactionState::ReleaseMvccTxn(Transaction::TransactionResult result) {
if (mvcc_tx_.get() != nullptr) {
// Commit the transaction.
switch (result) {
case Transaction::COMMITTED:
mvcc_tx_->Commit();
break;
case Transaction::ABORTED:
mvcc_tx_->Abort();
break;
}
}
mvcc_tx_.reset();
}
void WriteTransactionState::ReleaseTxResultPB(TxResultPB* result) const {
result->Clear();
result->mutable_ops()->Reserve(row_ops_.size());
for (RowOp* op : row_ops_) {
result->mutable_ops()->AddAllocated(CHECK_NOTNULL(op->result.release()));
}
}
void WriteTransactionState::UpdateMetricsForOp(const RowOp& op) {
if (op.result->has_failed_status()) {
return;
}
switch (op.decoded_op.type) {
case RowOperationsPB::INSERT:
tx_metrics_.successful_inserts++;
break;
case RowOperationsPB::INSERT_IGNORE:
if (op.error_ignored) {
tx_metrics_.insert_ignore_errors++;
} else {
tx_metrics_.successful_inserts++;
}
break;
case RowOperationsPB::UPSERT:
tx_metrics_.successful_upserts++;
break;
case RowOperationsPB::UPDATE:
tx_metrics_.successful_updates++;
break;
case RowOperationsPB::DELETE:
tx_metrics_.successful_deletes++;
break;
case RowOperationsPB::UNKNOWN:
case RowOperationsPB::SPLIT_ROW:
case RowOperationsPB::RANGE_LOWER_BOUND:
case RowOperationsPB::RANGE_UPPER_BOUND:
case RowOperationsPB::INCLUSIVE_RANGE_UPPER_BOUND:
case RowOperationsPB::EXCLUSIVE_RANGE_LOWER_BOUND:
break;
}
}
void WriteTransactionState::ReleaseRowLocks() {
// free the row locks
for (RowOp* op : row_ops_) {
op->row_lock.Release();
}
}
WriteTransactionState::~WriteTransactionState() {
Reset();
}
void WriteTransactionState::Reset() {
CommitOrAbort(Transaction::ABORTED);
tx_metrics_.Reset();
timestamp_ = Timestamp::kInvalidTimestamp;
tablet_components_ = nullptr;
schema_at_decode_time_ = nullptr;
}
void WriteTransactionState::ResetRpcFields() {
std::lock_guard<simple_spinlock> l(txn_state_lock_);
request_ = nullptr;
response_ = nullptr;
// these are allocated from the arena, so just run the dtors.
for (RowOp* op : row_ops_) {
op->~RowOp();
}
row_ops_.clear();
}
string WriteTransactionState::ToString() const {
string ts_str;
if (has_timestamp()) {
ts_str = timestamp().ToString();
} else {
ts_str = "<unassigned>";
}
// Stringify the actual row operations (eg INSERT/UPDATE/etc)
string row_ops_str = "[";
{
std::lock_guard<simple_spinlock> l(txn_state_lock_);
const size_t kMaxToStringify = 3;
for (int i = 0; i < std::min(row_ops_.size(), kMaxToStringify); i++) {
if (i > 0) {
row_ops_str.append(", ");
}
row_ops_str.append(row_ops_[i]->ToString(*DCHECK_NOTNULL(schema_at_decode_time_)));
}
if (row_ops_.size() > kMaxToStringify) {
row_ops_str.append(", ...");
}
row_ops_str.append("]");
}
return Substitute("WriteTransactionState $0 [op_id=($1), ts=$2, rows=$3]",
this,
SecureShortDebugString(op_id()),
ts_str,
row_ops_str);
}
} // namespace tablet
} // namespace kudu
|
/**
* Node.js API Starter Kit (https://reactstarter.com/nodejs)
*
* Copyright ยฉ 2016-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
/* @flow */
import fs from 'fs';
import path from 'path';
import nodemailer from 'nodemailer';
import handlebars from 'handlebars';
// TODO: Configure email transport for the production environment
// https://nodemailer.com/smtp/
const { from, ...config } =
process.env.NODE_ENV === 'production'
? {
from: '[email protected]',
streamTransport: true,
}
: {
from: '[email protected]',
streamTransport: true,
};
const templates = new Map();
const baseDir = path.resolve(__dirname, 'emails');
const transporter = nodemailer.createTransport(config, { from });
// Register i18n translation helper, for example: {{t "Welcome, {{user}}" user="John"}}
handlebars.registerHelper('t', (key, options) =>
options.data.root.t(key, options.hash),
);
function loadTemplate(filename) {
const m = new module.constructor();
// eslint-disable-next-line no-underscore-dangle
m._compile(fs.readFileSync(filename, 'utf8'), filename);
return handlebars.template(m.exports);
}
/**
* Usage example:
*
* const message = await email.render('welcome', { name: 'John' });
* await email.send({
* to: '...',
* from: '...',
* ...message,
* });
*/
export default {
/**
* Renders email message from a template and context variables.
* @param {string} name The name of a template to render. See `src/emails`.
* @param {object} context Context variables.
*/
render(name: string, context: any = {}) {
if (!templates.size) {
fs.readdirSync(baseDir).forEach(template => {
if (fs.statSync(`${baseDir}/${template}`).isDirectory()) {
templates.set(template, {
subject: loadTemplate(`${baseDir}/${template}/subject.js`),
html: loadTemplate(`${baseDir}/${template}/html.js`),
});
}
});
}
const template = templates.get(name);
if (!template) {
throw new Error(`The email template '${name}' is missing.`);
}
return {
subject: template.subject(context),
html: template.html(context),
};
},
/**
* Sends email message via Nodemailer.
*/
send(message: any, options: any) {
return transporter.sendMail({
...message,
...options,
});
},
};
|
import {
Table,
Row,
Loader,
NoResults,
ButtonWithIcon,
Icon,
Dialog,
} from "@rtgs-global/components";
import { useState } from "react";
import { Connection } from "../../../../dtos/id-crypt/connection";
import styles from "./styles.module.css";
import { formatDateToString } from "../../../../helpers";
type ConnectionListProps = {
onRefresh: () => Promise<void>;
onDelete: (id: string) => Promise<void>;
connections: Connection[];
loading: boolean;
};
const ConnectionList = ({
connections,
loading,
onRefresh,
onDelete,
}: ConnectionListProps) => {
const [connectionToDelete, setConnectionToDelete] = useState<string>("");
const columnHeadings = [
{ name: "Label / Alias", className: styles.info },
{ name: "Public Did", className: styles.info },
{ name: "State", className: styles.info },
{ name: "Created", className: styles.info },
{ name: "Last Updated", className: styles.info },
{ name: "", className: styles.info },
];
const refreshButton = (
<ButtonWithIcon
buttonClass={styles.refreshButton}
icon="chevronRight"
iconLeft={false}
testId="refresh-btn"
loading={loading}
disabled={loading}
onClick={onRefresh}
text="Refresh"
/>
);
if (!connections.length && !loading) {
return (
<div className={styles.container}>
{refreshButton}
<NoResults
titleText="There are no connections."
bodyText="Refresh Connection to create a new connection."
/>
</div>
);
}
return (
<div className={styles.container}>
{loading ? (
<Loader testId="connections-loader" />
) : (
<>
{refreshButton}
<Table
className={styles.connectionsTable}
columnHeadings={columnHeadings}
headingClassName={styles.userHeadings}
columnHeadingsClassName={styles.columnHeadings}
>
{connections.map(
({
theirLabel,
alias,
connectionId,
createdAt,
publicDid,
state,
updatedAt,
}) => {
return (
<Row
key={connectionId}
className={styles.row}
renderColumn={[
<div className={styles.theirLabel}>
<span className={styles.label}>Label</span>
<span data-testid={`${connectionId}-theirLabel`}>
{theirLabel}
</span>
<span className={styles.label}>Alias</span>
<span data-testid={`${connectionId}-alias`}>
{alias}
</span>
</div>,
<div
className={styles.publicDid}
data-testid={`${connectionId}-publicDid`}
>
<span className={styles.label}>Public Did</span>
<span>{publicDid}</span>
</div>,
<div
className={styles.state}
data-testid={`${connectionId}-state`}
>
<span className={styles.label}>State</span>
<span>{state}</span>
</div>,
<div
className={styles.createdAt}
data-testid={`${connectionId}-createdAt`}
>
<span className={styles.label}>Created</span>
<span>{formatDateToString(createdAt)}</span>
</div>,
<div
className={styles.updatedAt}
data-testid={`${connectionId}-updatedAt`}
>
<span className={styles.label}>Last Updated</span>
<span>{formatDateToString(updatedAt)}</span>
</div>,
<div
data-testid={`${connectionId}-delete`}
className={styles.bankIcon}
onClick={() => setConnectionToDelete(connectionId)}
onKeyPress={() => setConnectionToDelete(connectionId)}
role="button"
tabIndex={0}
>
<Icon
testId={`${connectionId}-icon-delete`}
icon="trash"
iconSize={14}
/>
</div>,
]}
/>
);
}
)}
</Table>
<Dialog
show={!!connectionToDelete}
bodyText="Are you sure you want to delete the connection?"
okButtonText="Yes"
cancelButtonText="No"
testId="connection-delete-dialog"
onClick={() => {
onDelete(connectionToDelete);
setConnectionToDelete(undefined);
}}
onClickClose={() => {
setConnectionToDelete(undefined);
}}
/>
</>
)}
</div>
);
};
export default ConnectionList;
|
import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm";
@Index("IXFK_reserva_sucursal", ["idSucursal"], {})
@Index("IXFK_reserva_usuario", ["idUsuario"], {})
@Entity("reserva", { schema: "lhwzrcxi_try_bolivia" })
export class Reserva {
@PrimaryGeneratedColumn({ type: "bigint", name: "id" })
id: string;
@Column("bigint", { name: "id_sucursal" })
idSucursal: string;
@Column("bigint", { name: "id_usuario" })
idUsuario: string;
@Column("date", { name: "fecha" })
fecha: string;
@Column("time", { name: "hora" })
hora: string;
@Column("varchar", { name: "dia", length: 50 })
dia: string;
@Column("int", { name: "cantidad_personas" })
cantidadPersonas: number;
@Column("datetime", { name: "fecha_registro" })
fechaRegistro: Date;
@Column("int", { name: "estado" })
estado: number;
}
|
# =============================================================================
#
# MODULE : lib/dispatch_queue_rb/internal/heap.rb
# PROJECT : DispatchQueue
# DESCRIPTION :
#
# Copyright (c) 2016, Marc-Antoine Argenton. All rights reserved.
# =============================================================================
module DispatchQueue
class Heap
def initialize( &compare )
@heap = []
@compare = compare
end
def push( elt )
@heap.push( elt )
_sift_up( @heap.count - 1 )
end
def pop()
head = @heap.first
tail = @heap.pop()
@heap[0] = tail if [email protected]?
_sift_down( 0 )
head
end
def head()
@heap.first
end
def count
@heap.count
end
alias_method :size, :count
alias_method :length, :count
def empty?
@heap.empty?
end
def elements
@heap
end
private
def _ordered?( i, j )
a = @heap[i]
b = @heap[j]
return @compare.call( a, b ) if @compare
return a < b
end
def _swap( i, j )
@heap[i], @heap[j] = @heap[j], @heap[i]
end
def _sift_up( i )
loop do
parent = (i-1) / 2
break if parent < 0
break if _ordered?( parent, i )
_swap( parent, i )
i = parent
end
end
def _sift_down( i )
size = @heap.size
loop do
left = i*2 + 1
right = left + 1
largest = i
largest = left if left < size && _ordered?( left, largest )
largest = right if right < size && _ordered?( right, largest )
break if largest == i
_swap( i, largest )
i = largest
end
end
end # class Heap
end # module DispatchQueue
|
# encoding: utf-8
module ThemesForRails
class Config
attr_writer :base_dir, :themes_dir, :assets_dir, :views_dir, :themes_routes_dir
attr_accessor :use_sass, :default_theme
include Interpolation
def initialize(&block)
@use_sass = true
@default_theme = 'default'
yield if block_given?
end
def base_dir
@base_dir ||= Rails.root.to_s
end
# relative assets dir for view overloading support
# used for theme_view_path_for method to get theme path and add to view paths.
# Defaults to themes_dir for non asset pipeline users
#
# If you are using the Rails Asset Pipeline, this should be changed to the
# path of your assets in your app. For example, if you store your themes
# under /app/assets/themes - {Rails.root}/app/assets/themes
# you would need to set this to 'app/assets/themes' in your initializer config
def assets_dir
@assets_dir ||= ":root/themes/:name"
end
# relative views directory for theme views to be separated from assets
# used for Asset Pipeline support. Defaults to match {assets_dir}/views
def views_dir
@views_dir ||= ":root/themes/:name/views"
end
def themes_dir
@themes_dir ||= ":root/themes"
end
# Full path to themes
def themes_path
interpolate(themes_dir)
end
# This is the base themes dir that is used for mapping URL paths.
#
# If you are using the Rails Asset Pipeline, this should be changed to the
# prefix dir of your assets path. For example, if you store your themes
# under /app/assets/themes - {Rails.root}/app/assets/themes
# you would need to set this value to 'assets' to match up with the Sprockets
# path resolution process.
def themes_routes_dir
@themes_routes_dir ||= "themes"
end
def clear
@base_dir = nil
@themes_dir = nil
@assets_dir = nil
@views_dir = nil
end
def use_sass?
@use_sass and sass_is_available?
end
def sass_is_available?
!!defined?Sass::Plugin
end
end
end |
#!/bin/bash
yum install -y autoconf automake libtool
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.7.0 # the latest stable release
./autogen.sh
./configure
make
sudo make install
cd /usr/bin
sudo ln -s /usr/local/bin/watchman watchman
|
#!/bin/bash
# Variables
DEPLOY_DIR="trash"
SERVICE_NAME=""
# Find deploy target and service name
case $GITHUB_REF in
"refs/heads/develop")
DEPLOY_DIR="dev.fuelrats.com"
SERVICE_NAME="fr-web_dev"
;;
"refs/heads/release")
DEPLOY_DIR="fuelrats.com"
SERVICE_NAME="fr-web"
;;
*)
echo "Current branch is not configured for auto-deploy. skipping deployment..."
exit 1
;;
esac
# Move built project files to server
rsync -rlz --delete-after ./ [email protected]:/var/www/$DEPLOY_DIR/
# restart service
ssh -t [email protected] "sudo systemctl restart $SERVICE_NAME.service"
|
const CHARSET = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
export const generateID = (length = 10) => {
let retVal = '';
for (let i = 0, n = CHARSET.length; i < length; ++i) {
retVal += CHARSET.charAt(Math.floor(Math.random() * n));
}
return retVal;
};
|
import * as Koa from 'koa'
import * as logger from 'koa-logger'
import * as views from 'koa-views'
/** ไบง็ไธไธช Koa ๅฎไพ */
export const createServer = ():Koa => {
var app = new Koa()
app.use(logger())
app.use(views("views",{
extension:'pug'
}))
return app;
}
|
ShopifyUtil.configure do |config|
config.test_variable = :initialized_value
creds = Rails.application.credentials[:shopify]
config.shop_name = creds[:shop_name] # https://{shop_name}.myshopify.com
config.api_key = creds[:api_key] # API key
config.api_password = creds[:api_password] # API password
config.api_version = creds[:api_version] # Shopify API version
end
|
require "topological_inventory/providers/common/operations/processor"
RSpec.describe TopologicalInventory::Providers::Common::Operations::Processor do
let(:operation_name) { 'Source.availability_check' }
let(:params) { {'source_id' => 1, 'external_tenant' => '12345'} }
let(:payload) { {"params" => params, "request_context" => double('request_context')} }
let(:message) { double("ManageIQ::Messaging::ReceivedMessage", :message => operation_name, :payload => payload) }
subject { described_class.new(message, nil) }
describe "#process" do
it "starts the operation if class and method exists" do
result = double('result')
klass = TopologicalInventory::Providers::Common::Operations::Source
allow(subject).to receive(:operation_class).and_return(klass)
source = klass.new(params, payload['request_context'], nil)
expect(klass).to receive(:new).with(params, payload['request_context'], nil).and_return(source)
expect(source).to receive(:availability_check).and_return(result)
expect(subject.process).to eq(result)
end
it "returns 'not_implemented' if class of method doesn't exist" do
allow(subject).to receive(:operation_class).and_return(nil)
allow(subject).to receive(:method).and_return('awesome')
expect(subject.process).to eq(subject.operation_status[:not_implemented])
end
it "updates task if not_implemented" do
allow(subject).to receive(:operation_class).and_return(nil)
allow(subject).to receive(:method).and_return('awesome')
subject.send(:params)['task_id'] = '1'
expect(subject).to(receive(:update_task).with('1',
:state => "completed",
:status => "error",
:context => anything))
subject.process
end
it "updates task if exception raised" do
subject.send(:params)['task_id'] = '1'
expect(subject).to(receive(:update_task).with('1',
:state => "completed",
:status => "error",
:context => anything))
expect { subject.process }.to raise_exception(NotImplementedError)
end
end
describe "#with_time_measure" do
let(:metrics) { double("Metrics") }
it "records time and yields if metrics provided" do
allow(subject).to receive(:metrics).and_return(metrics)
expect(metrics).to receive(:record_operation_time).with(operation_name).and_yield
expect(subject.send(:with_time_measure) { 42 }).to eq(42)
end
it "only yields if metrics not present" do
expect(metrics).not_to receive(:record_operation_time)
expect(subject.send(:with_time_measure) { 42 }).to eq(42)
end
end
end
|
// Put this line before #include's to eliminate warnings about fopen():
#define _CRT_SECURE_NO_WARNINGS
#include "KTX.h"
#include "pxfmt.h"
// The purpose of this function is to read a shader file, based on a filename,
// and return a pointer to malloc'd memory that contains the "char*" contents
// of the file.
static GLchar *readShaderFile(const char *filename)
{
FILE *fp = fopen(filename, "rb");
long len;
char *buf;
if (!fp) {
printf("failed to open %s\n", filename);
exit(1);
}
fseek(fp, 0, SEEK_END);
len = ftell(fp);
fseek(fp, 0, SEEK_SET);
buf = (char *) malloc(len + 1);
if (fread(buf, 1, len, fp) !=len) {
printf("read error\n");
exit(1);
}
buf[len] = '\0';
fclose(fp);
return (GLchar *) buf;
} // readShaderFile()
// The purpose of this function is to read 2 shader files, based on a filename,
// create a GLSL program, compile and link each shader, and attach those
// shaders to the GLSL program.
static void createCompileAndLinkProgramFromFiles(const char *vsFilename,
const char *fsFilename,
GLuint &prog)
{
GLuint sh;
GLchar *source, buf[100000];
GLsizei len;
GLint val;
sh = glCreateShader(GL_VERTEX_SHADER);
source = readShaderFile(vsFilename);
glShaderSource(sh, 1, (const GLchar **) &source, NULL);
free(source);
glCompileShader(sh);
glGetShaderiv(sh, GL_COMPILE_STATUS, &val);
if (!val) {
glGetShaderInfoLog(sh, sizeof(buf), &len, buf);
printf("failed to compile Vertex Shader:\n%s\n", buf);
exit(1);
}
prog = glCreateProgram();
glAttachShader(prog, sh);
sh = glCreateShader(GL_FRAGMENT_SHADER);
source = readShaderFile(fsFilename);
glShaderSource(sh, 1, (const GLchar **) &source, NULL);
free(source);
glCompileShader(sh);
glGetShaderiv(sh, GL_COMPILE_STATUS, &val);
if (!val) {
glGetShaderInfoLog(sh, sizeof(buf), &len, buf);
printf("failed to compile Fragment Shader:\n%s\n", buf);
exit(1);
}
glAttachShader(prog, sh);
glLinkProgram(prog);
glGetProgramiv(prog, GL_LINK_STATUS, &val);
if (!val) {
glGetProgramInfoLog(prog, sizeof(buf), &len, buf);
printf("failed to link program: %s\n", buf);
exit(1);
}
} // createCompileAndLinkProgramFromFiles()
#ifdef WIN32
struct timezone {int dummy;};
int gettimeofday(struct timeval* tp, void* tzp)
{
LARGE_INTEGER t, f;
QueryPerformanceCounter(&t);
QueryPerformanceFrequency(&f);
tp->tv_sec = t.QuadPart/f.QuadPart;
tp->tv_usec = (t.QuadPart-(f.QuadPart*tp->tv_sec))*1000*1000/f.QuadPart;
return 0;
}
#endif // WIN32
/**
* Repeatedly calls the DoDrawPixels() method, while timing how long it takes.
*/
float PixelOps::BenchmarkDrawPixels(int nFrames, bool swapBuffersBetweenDraws)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
struct timeval start, end;
struct timezone tz;
gettimeofday(&start, &tz); /* start timing */
int distance = 1;
GLint leftEdge = 0;
GLint rightEdge = imgWidth - 1;
int i = 0, frame = 0;
float rate = 0.0;
for (frame = 0 ; frame < nFrames ; i++, frame++) {
// Draw the read-image on the right-half of the window:
DoDrawPixels(leftEdge, 0);
if (swapBuffersBetweenDraws) {
glutSwapBuffers();
glFinish();
}
if (i < 128) {
leftEdge += distance;
rightEdge += distance;
} else if (i <= 256) {
leftEdge -= distance;
rightEdge -= distance;
if (i == 256) {
i = -1;
}
}
}
// Calculate the rate of frames/glDrawPixels() per second:
if (!swapBuffersBetweenDraws) {
glFinish();
}
gettimeofday(&end, &tz); /* finish timing */
rate = frame / ((end.tv_sec-start.tv_sec) +
(end.tv_usec-start.tv_usec)/1000000.0);
// Do a final buffer-swap if we weren't doing them in the loop above:
if (!swapBuffersBetweenDraws) {
glutSwapBuffers();
glFinish();
}
return rate;
} // PixelOps::BenchmarkDrawPixels()
/**
* Draw a square test-image on the left-half of the window.
*/
void PixelOps::DrawTestImageOnLeftSideOfWindow()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (drawTestImageProgram == 0)
{
createCompileAndLinkProgramFromFiles(VERTEX_SHADER_FILE,
FRAGMENT_SHADER_FILE,
drawTestImageProgram);
}
glViewport(0, 0, width, height);
glUseProgram(drawTestImageProgram);
getProg1UniformLocations();
glUniform1i(uniformLocation_passThru, GL_FALSE);
glUniform1i(uniformLocation_leftHalf, GL_TRUE);
glBegin(GL_TRIANGLES);
glVertex3f(-1.0f, -1.0f, 0.0f);
glVertex3f(-1.0f, 1.0f, 0.5f);
glVertex3f(0.0f, 1.0f, 0.25f);
glVertex3f(-1.0f, -1.0f, 0.0f);
glVertex3f(0.0f, 1.0f, 0.25f);
glVertex3f(0.0f, -1.0f, 0.5f);
glEnd();
glutSwapBuffers();
glFinish();
glUseProgram(0);
} // PixelOps::DrawTestImageOnLeftSideOfWindow()
/**
* Common part of preparing for glDrawPixels() calls.
*
* Draw an image on the left-half of the window, then do a glReadPixels() in
* order to get a copy with the desired format and type combination.
*/
bool PixelOps::CommonDrawPixelsSetup(FormatTypeCombo *pComboToUse)
{
// Save the desired format and type info for later:
pCombo = pComboToUse;
// Allocate memory for the pixel data:
imgSize = imgWidth * imgHeight * pCombo->perPixelSizeInBytes;
pOriginalPixels = (unsigned int *) calloc(imgSize, sizeof(char));
if (pOriginalPixels == NULL) {
return false;
}
// Draw a square image on the left-hand side of the window:
DrawTestImageOnLeftSideOfWindow();
// Now, read the left-side image.
glReadPixels(0, 0, imgWidth, imgHeight,
pCombo->format, pCombo->type, pOriginalPixels);
// Make a copy of the image:
pPixels = (unsigned int *) calloc(imgSize, sizeof(char));
if (pPixels == NULL) {
return false;
}
memcpy(pPixels, pOriginalPixels, imgSize);
if ((pCombo->format == GL_LUMINANCE) ||
(pCombo->format == GL_LUMINANCE_ALPHA)) {
// Read the left-side image again, this time as RGBA/FLOAT:
GLuint tmpImgSize = imgWidth * imgHeight * 16;
pTexSubImage2DPixels =
(unsigned int *) calloc(tmpImgSize, sizeof(char));
if (pTexSubImage2DPixels == NULL) {
return false;
}
glReadPixels(0, 0, imgWidth, imgHeight,
GL_RGBA, GL_FLOAT, pTexSubImage2DPixels);
// To help with debugging, show pOriginalPixels on the right-hand side
// of the window:
glWindowPos2i(imgWidth, 0);
glDrawPixels(imgWidth, imgHeight, pCombo->format, pCombo->type,
pOriginalPixels);
glutSwapBuffers();
glFinish();
} else {
// Simply make another copy of the image:
pTexSubImage2DPixels = (unsigned int *) calloc(imgSize, sizeof(char));
if (pTexSubImage2DPixels == NULL) {
return false;
}
memcpy(pTexSubImage2DPixels, pOriginalPixels, imgSize);
}
return true;
} // PixelOps::CommonDrawPixelsSetup()
/**
* Draw a square test-image on the left-half of the window.
*/
void PixelOps::getProg1UniformLocations()
{
uniformLocation_passThru = glGetUniformLocation(drawTestImageProgram,
"passThru");
uniformLocation_leftHalf = glGetUniformLocation(drawTestImageProgram,
"leftHalf");
} // PixelOps::getProg1UniformLocations()
/**
* Prepare for glDrawPixels() calls.
*
* Draw an image on the left-half of the window, then do a glReadPixels() in
* order to get a copy with the desired format and type combination.
*/
bool RealPixelOps::PrepareForDrawPixels(FormatTypeCombo *pComboToUse)
{
// Do the common setup:
if (!CommonDrawPixelsSetup(pComboToUse)) {
return false;
}
return true;
} // RealPixelOps::PrepareForDrawPixels()
/**
* Actually call glDrawPixels().
*
* Just before hand, call glWindowPos2i().
*/
void RealPixelOps::DoDrawPixels(GLint x, GLint y)
{
// Draw the read-image on the right-half of the window:
glWindowPos2i(x, y);
glDrawPixels(imgWidth, imgHeight, pCombo->format, pCombo->type, pPixels);
} // RealPixelOps::DoDrawPixels()
/**
* Test the call to glDrawPixels().
*/
bool RealPixelOps::TestDrawPixels()
{
// Draw the read-image on the right-half of the window:
DoDrawPixels(imgWidth, 0);
glutSwapBuffers();
glFinish();
// Now, read the image back from the window:
glReadPixels(imgWidth, 0, imgWidth, imgHeight, pCombo->format, pCombo->type,
pPixels);
// Finally, compare the read-back image with the originally-read-back image:
if (memcmp(pOriginalPixels, pPixels, imgSize) == 0) {
return true;
} else {
return false;
}
} // RealPixelOps::TestDrawPixels()
/**
* Do any cleanup after one or more calls to glDrawPixels().
*
* Just free the temporarily-allocated memory for the pixel data.
*/
void RealPixelOps::FinishDrawPixels()
{
free(pOriginalPixels);
free(pPixels);
if (pTexSubImage2DPixels) {
free(pTexSubImage2DPixels);
pTexSubImage2DPixels = NULL;
}
} // RealPixelOps::FinishDrawPixels()
/**
* Prepare for glDrawPixels() calls.
*
* Draw an image on the left-half of the window, then do a glReadPixels() in
* order to get a copy with the desired format and type combination.
*/
bool EmulatedPixelOps::PrepareForDrawPixels(FormatTypeCombo *pComboToUse)
{
// When testing INTEGER formats, work-around the fact that the framebuffer
// is non-integer by temporarily changing the format to be non-integer:
GLuint savedFormat;
bool didSaveFormat = false;
switch (pComboToUse->format) {
case GL_RED_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_RED;
didSaveFormat = true;
break;
case GL_GREEN_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_GREEN;
didSaveFormat = true;
break;
case GL_BLUE_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_BLUE;
didSaveFormat = true;
break;
case GL_ALPHA_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_ALPHA;
didSaveFormat = true;
break;
case GL_RG_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_RG;
didSaveFormat = true;
break;
case GL_RGB_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_RGB;
didSaveFormat = true;
break;
case GL_RGBA_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_RGBA;
didSaveFormat = true;
break;
case GL_BGRA_INTEGER:
savedFormat = pComboToUse->format;
pComboToUse->format = GL_BGRA;
didSaveFormat = true;
break;
default:
break;
}
// Do the common setup:
if (!CommonDrawPixelsSetup(pComboToUse)) {
return false;
}
if (didSaveFormat) {
pComboToUse->format = savedFormat;
}
return true;
} // EmulatedPixelOps::PrepareForDrawPixels()
/**
* Actually call glDrawPixels().
*
* Just before hand, call glWindowPos2i().
*/
void EmulatedPixelOps::DoDrawPixels(GLint x, GLint y)
{
// When testing INTEGER formats, work-around the fact that the framebuffer
// is non-integer by temporarily changing the format to be non-integer:
GLuint savedFormat;
bool didSaveFormat = false;
switch (pCombo->format) {
case GL_RED_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_RED;
didSaveFormat = true;
break;
case GL_GREEN_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_GREEN;
didSaveFormat = true;
break;
case GL_BLUE_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_BLUE;
didSaveFormat = true;
break;
case GL_ALPHA_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_ALPHA;
didSaveFormat = true;
break;
case GL_RG_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_RG;
didSaveFormat = true;
break;
case GL_RGB_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_RGB;
didSaveFormat = true;
break;
case GL_RGBA_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_RGBA;
didSaveFormat = true;
break;
case GL_BGRA_INTEGER:
savedFormat = pCombo->format;
pCombo->format = GL_BGRA;
didSaveFormat = true;
break;
default:
break;
}
// Draw the read-image on the right-half of the window:
glWindowPos2i(x, y);
glDrawPixels(imgWidth, imgHeight, pCombo->format, pCombo->type, pPixels);
if (didSaveFormat) {
pCombo->format = savedFormat;
}
} // EmulatedPixelOps::DoDrawPixels()
/**
* Test the call to glDrawPixels().
*/
bool EmulatedPixelOps::TestDrawPixels()
{
pxfmt_sized_format fmt = validate_format_type_combo(pCombo->format,
pCombo->type);
if (fmt != PXFMT_INVALID) {
if (((pCombo->format == GL_RGBA) || (pCombo->format == GL_BGRA)) &&
(pCombo->testSwizzleType != TestSwizzle_NONE))
{
pxfmt_sized_format alt_fmt =
validate_format_type_combo(((pCombo->format == GL_RGBA) ?
GL_BGRA : GL_RGBA), pCombo->type);
if (alt_fmt == PXFMT_INVALID) {
printf("\t INVALID SWIZZLING ATTEMPT\n");
fflush(stdout);
return false;
}
if (pxfmt_convert_pixels(pPixels, pOriginalPixels,
imgWidth, imgHeight,
alt_fmt, fmt, 0, 0) !=
PXFMT_CONVERSION_SUCCESS)
{
printf("CONVERSION STATUS CODE ERROR!!!\n");
fflush(stdout);
return false;
}
SwizzleRGBPartOfPixels();
}
else
{
if (pxfmt_convert_pixels(pPixels, pOriginalPixels,
imgWidth, imgHeight,
fmt, fmt, 0, 0) !=
PXFMT_CONVERSION_SUCCESS)
{
printf("CONVERSION STATUS CODE ERROR!!!\n");
fflush(stdout);
return false;
}
}
// Put the converted image on the screen, for a visual check:
DoDrawPixels(imgWidth, 0);
glutSwapBuffers();
glFinish();
} else {
// Draw the read-image on the right-half of the window:
printf("The following format/type combination is NOT YET SUPPORTED\n");
fflush(stdout);
DoDrawPixels(imgWidth, 0);
glutSwapBuffers();
glFinish();
// Now, read the image back from the window:
glReadPixels(imgWidth, 0, imgWidth, imgHeight,
pCombo->format, pCombo->type,
pPixels);
}
// Finally, compare the newly-generated image with the originally-read-back
// image:
if (memcmp(pOriginalPixels, pPixels, imgSize) == 0) {
return true;
} else {
return false;
}
} // EmulatedPixelOps::TestDrawPixels()
/**
* Repeatedly draws, while timing how long it takes. This version calls the
* generic method when we're supposed to swap buffers between draws, but only
* calls the pxfmt_convert_pixels() function when swapBuffersBetweenDraws is
* false.
*/
float EmulatedPixelOps::BenchmarkDrawPixels(int nFrames, bool swapBuffersBetweenDraws)
{
if (swapBuffersBetweenDraws) {
return PixelOps::BenchmarkDrawPixels(nFrames, swapBuffersBetweenDraws);
}
pxfmt_sized_format fmt = validate_format_type_combo(pCombo->format,
pCombo->type);
if (fmt == PXFMT_INVALID) {
printf("\t INVALID PXFMT!!!\n");
fflush(stdout);
return 0.0f;
}
// FIXME--FIGURE OUT A BETTER VALUE TO OVERRIDE nFrames TO:
nFrames = 20;
struct timeval start, end;
struct timezone tz;
gettimeofday(&start, &tz); /* start timing */
int distance = 1;
GLint leftEdge = 0;
GLint rightEdge = imgWidth - 1;
int i = 0, frame = 0;
float rate = 0.0;
for (frame = 0 ; frame < nFrames ; i++, frame++) {
pxfmt_convert_pixels(pPixels, pOriginalPixels,
imgWidth, imgHeight, fmt, fmt, 0, 0);
}
gettimeofday(&end, &tz); /* finish timing */
rate = frame / ((end.tv_sec-start.tv_sec) +
(end.tv_usec-start.tv_usec)/1000000.0);
return rate;
} // PixelOps::BenchmarkDrawPixels()
/**
* Do any cleanup after one or more calls to glDrawPixels().
*
* Just free the temporarily-allocated memory for the pixel data.
*/
void EmulatedPixelOps::FinishDrawPixels()
{
free(pOriginalPixels);
free(pPixels);
if (pTexSubImage2DPixels) {
free(pTexSubImage2DPixels);
pTexSubImage2DPixels = NULL;
}
} // EmulatedPixelOps::FinishDrawPixels()
/**
* Swizzle the RGB components between RGBA<-->BGRA values that have the same
* OpenGL "type".
*/
template <typename T>
void SwizzleRGBComponents(T *pPixels)
{
struct Components {
T red;
T green;
T blue;
T alpha;
};
Components *pComponents = (Components *) pPixels;
T tmpComponent;
GLint width = imgWidth;
GLint height = imgHeight;
for (GLint y = 0 ; y < height ; y++) {
for (GLint x = 0 ; x < width ; x++) {
tmpComponent = pComponents->red;
pComponents->red = pComponents->blue;
pComponents->blue = tmpComponent;
pComponents++;
}
}
} // RealPixelOps::FinishDrawPixels()
/**
* Swizzle the RGB components between RGBA<-->BGRA values that have the same
* OpenGL "type".
*/
void EmulatedPixelOps::SwizzleRGBPartOfPixels()
{
printf("\t SWIZZLING RGBA<-->BGRA with %d bytes-per-component\n",
pCombo->testSwizzleType);
fflush(stdout);
switch (pCombo->testSwizzleType) {
case TestSwizzle_BYTE:
SwizzleRGBComponents<unsigned char>((unsigned char*) pOriginalPixels);
break;
case TestSwizzle_SHORT:
SwizzleRGBComponents<unsigned short>((unsigned short*) pOriginalPixels);
break;
case TestSwizzle_INT:
SwizzleRGBComponents<unsigned int>((unsigned int*) pOriginalPixels);
break;
default:
break;
}
} // RealPixelOps::FinishDrawPixels()
FormatTypeCombo *pCombo;
FormatTypeCombo combos[] = {
// The combinations surrounded by #ifdef SLOW_ON_NVIDIA are REALLY SLOW on
// Ian's NVIDIA card (i.e. ~2 seconds/frame). In other words, the NVIDIA card
// is so slow, the program seems hung.
#define SLOW_ON_NVIDIA
/*
* GL_RED source
*/
#ifdef SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED, "GL_RED", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_RED, "GL_RED", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_RED, "GL_RED", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
/*
* GL_RG source
*/
#ifdef SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_BYTE, "GL_BYTE", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_SHORT, "GL_SHORT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 4,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_INT, "GL_INT", 8,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG, "GL_RG", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 8,
TestSwizzle_NONE},
{GL_RG, "GL_RG", GL_HALF_FLOAT, "GL_HALF_FLOAT", 4,
TestSwizzle_NONE},
{GL_RG, "GL_RG", GL_FLOAT, "GL_FLOAT", 8,
TestSwizzle_NONE},
/*
* GL_RGB source
*/
{GL_RGB, "GL_RGB", GL_BYTE, "GL_BYTE", 3,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 3,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RGB, "GL_RGB", GL_SHORT, "GL_SHORT", 6,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RGB, "GL_RGB", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 6,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RGB, "GL_RGB", GL_INT, "GL_INT", 12,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RGB, "GL_RGB", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 12,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_HALF_FLOAT, "GL_HALF_FLOAT", 6,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_FLOAT, "GL_FLOAT", 12,
TestSwizzle_NONE},
// Packed-integer format/type combinations:
{GL_RGB, "GL_RGB", GL_UNSIGNED_BYTE_3_3_2, "GL_UNSIGNED_BYTE_3_3_2", 1,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_UNSIGNED_BYTE_2_3_3_REV, "GL_UNSIGNED_BYTE_2_3_3_REV", 1,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5", 2,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_UNSIGNED_SHORT_5_6_5_REV, "GL_UNSIGNED_SHORT_5_6_5_REV", 2,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB",
GL_UNSIGNED_INT_10F_11F_11F_REV, "GL_UNSIGNED_INT_10F_11F_11F_REV", 4,
TestSwizzle_NONE},
{GL_RGB, "GL_RGB", GL_UNSIGNED_INT_5_9_9_9_REV, "GL_UNSIGNED_INT_5_9_9_9_REV", 4,
TestSwizzle_NONE},
/*
* GL_BGR source
*/
{GL_BGR, "GL_BGR", GL_BYTE, "GL_BYTE", 3,
TestSwizzle_NONE},
{GL_BGR, "GL_BGR", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 3,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BGR, "GL_BGR", GL_SHORT, "GL_SHORT", 6,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BGR, "GL_BGR", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 6,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BGR, "GL_BGR", GL_INT, "GL_INT", 12,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BGR, "GL_BGR", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 12,
TestSwizzle_NONE},
{GL_BGR, "GL_BGR", GL_HALF_FLOAT, "GL_HALF_FLOAT", 6,
TestSwizzle_NONE},
{GL_BGR, "GL_BGR", GL_FLOAT, "GL_FLOAT", 12,
TestSwizzle_NONE},
/*
* GL_RGBA source
*/
{GL_RGBA, "GL_RGBA", GL_BYTE, "GL_BYTE", 4,
TestSwizzle_BYTE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 4,
TestSwizzle_BYTE},
#ifdef SLOW_ON_NVIDIA
{GL_RGBA, "GL_RGBA", GL_SHORT, "GL_SHORT", 8,
TestSwizzle_SHORT},
#endif // SLOW_ON_NVIDIA
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 8,
TestSwizzle_SHORT},
#ifdef SLOW_ON_NVIDIA
{GL_RGBA, "GL_RGBA", GL_INT, "GL_INT", 16,
TestSwizzle_INT},
#endif // SLOW_ON_NVIDIA
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 16,
TestSwizzle_INT},
{GL_RGBA, "GL_RGBA", GL_HALF_FLOAT, "GL_HALF_FLOAT", 8,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_FLOAT, "GL_FLOAT", 16,
TestSwizzle_INT},
// Packed-integer format/type combinations:
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4", 2,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_SHORT_4_4_4_4_REV,
"GL_UNSIGNED_SHORT_4_4_4_4_REV", 2,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1", 2,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_SHORT_1_5_5_5_REV,
"GL_UNSIGNED_SHORT_1_5_5_5_REV", 2,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_INT_8_8_8_8, "GL_UNSIGNED_INT_8_8_8_8", 4,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_INT_8_8_8_8_REV,
"GL_UNSIGNED_INT_8_8_8_8_REV", 4,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_INT_10_10_10_2,
"GL_UNSIGNED_INT_10_10_10_2", 4,
TestSwizzle_NONE},
{GL_RGBA, "GL_RGBA", GL_UNSIGNED_INT_2_10_10_10_REV,
"GL_UNSIGNED_INT_2_10_10_10_REV", 4,
TestSwizzle_NONE},
/*
* GL_BGRA source
*/
#ifdef SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_BYTE, "GL_BYTE", 4,
TestSwizzle_BYTE},
#endif // SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 4,
TestSwizzle_BYTE},
#ifdef SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_SHORT, "GL_SHORT", 8,
TestSwizzle_SHORT},
#endif // SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 8,
TestSwizzle_SHORT},
#ifdef SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_INT, "GL_INT", 16,
TestSwizzle_INT},
#endif // SLOW_ON_NVIDIA
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 16,
TestSwizzle_INT},
{GL_BGRA, "GL_BGRA", GL_HALF_FLOAT, "GL_HALF_FLOAT", 8,
TestSwizzle_SHORT},
{GL_BGRA, "GL_BGRA", GL_FLOAT, "GL_FLOAT", 16,
TestSwizzle_INT},
// Packed-integer format/type combinations:
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4", 2,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_SHORT_4_4_4_4_REV,
"GL_UNSIGNED_SHORT_4_4_4_4_REV", 2,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1", 2,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_SHORT_1_5_5_5_REV,
"GL_UNSIGNED_SHORT_1_5_5_5_REV", 2,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_INT_8_8_8_8, "GL_UNSIGNED_INT_8_8_8_8", 4,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_INT_8_8_8_8_REV,
"GL_UNSIGNED_INT_8_8_8_8_REV", 4,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_INT_10_10_10_2,
"GL_UNSIGNED_INT_10_10_10_2", 4,
TestSwizzle_NONE},
{GL_BGRA, "GL_BGRA", GL_UNSIGNED_INT_2_10_10_10_REV,
"GL_UNSIGNED_INT_2_10_10_10_REV", 4,
TestSwizzle_NONE},
#define SUPPORT_GREEN
#ifdef SUPPORT_GREEN
/*
* GL_GREEN source
*/
#ifdef SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN, "GL_GREEN", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_GREEN, "GL_GREEN", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_GREEN, "GL_GREEN", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_GREEN
#define SUPPORT_BLUE
#ifdef SUPPORT_BLUE
/*
* GL_BLUE source
*/
#ifdef SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE, "GL_BLUE", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_BLUE, "GL_BLUE", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_BLUE, "GL_BLUE", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_BLUE
#define SUPPORT_ALPHA
#ifdef SUPPORT_ALPHA
/*
* GL_ALPHA source
*/
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA, "GL_ALPHA", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_ALPHA, "GL_ALPHA", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_ALPHA, "GL_ALPHA", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_ALPHA
#define SUPPORT_LUMINANCE
#ifdef SUPPORT_LUMINANCE
/*
* GL_LUMINANCE source
*/
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE, "GL_LUMINANCE", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_LUMINANCE, "GL_LUMINANCE", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_LUMINANCE, "GL_LUMINANCE", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
/*
* GL_LUMINANCE_ALPHA source
*/
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_BYTE, "GL_BYTE", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_SHORT, "GL_SHORT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 4,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_INT, "GL_INT", 8,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 8,
TestSwizzle_NONE},
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_HALF_FLOAT, "GL_HALF_FLOAT", 4,
TestSwizzle_NONE},
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA", GL_FLOAT, "GL_FLOAT", 8,
TestSwizzle_NONE},
#endif // SUPPORT_LUMINANCE
/*
* GL_RED_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RED_INTEGER, "GL_RED_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
/*
* GL_RG_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_BYTE, "GL_BYTE", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_SHORT, "GL_SHORT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 4,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_INT, "GL_INT", 8,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RG_INTEGER, "GL_RG_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 8,
TestSwizzle_NONE},
/*
* GL_RGB_INTEGER source
*/
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_BYTE, "GL_BYTE", 3,
TestSwizzle_NONE},
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 3,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_SHORT, "GL_SHORT", 6,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 6,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_INT, "GL_INT", 12,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 12,
TestSwizzle_NONE},
// Packed-integer format/type combinations:
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_BYTE_3_3_2, "GL_UNSIGNED_BYTE_3_3_2", 1,
TestSwizzle_NONE},
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_BYTE_2_3_3_REV, "GL_UNSIGNED_BYTE_2_3_3_REV", 1,
TestSwizzle_NONE},
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5", 2,
TestSwizzle_NONE},
{GL_RGB_INTEGER, "GL_RGB_INTEGER", GL_UNSIGNED_SHORT_5_6_5_REV, "GL_UNSIGNED_SHORT_5_6_5_REV", 2,
TestSwizzle_NONE},
/*
* GL_BGR_INTEGER source
*/
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_BYTE, "GL_BYTE", 3,
TestSwizzle_NONE},
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 3,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_SHORT, "GL_SHORT", 6,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 6,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_INT, "GL_INT", 12,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BGR_INTEGER, "GL_BGR_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 12,
TestSwizzle_NONE},
/*
* GL_RGBA_INTEGER source
*/
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_BYTE, "GL_BYTE", 4,
TestSwizzle_BYTE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 4,
TestSwizzle_BYTE},
#ifdef SLOW_ON_NVIDIA
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_SHORT, "GL_SHORT", 8,
TestSwizzle_SHORT},
#endif // SLOW_ON_NVIDIA
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 8,
TestSwizzle_SHORT},
#ifdef SLOW_ON_NVIDIA
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_INT, "GL_INT", 16,
TestSwizzle_INT},
#endif // SLOW_ON_NVIDIA
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 16,
TestSwizzle_INT},
// Packed-integer format/type combinations:
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4", 2,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_SHORT_4_4_4_4_REV,
"GL_UNSIGNED_SHORT_4_4_4_4_REV", 2,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1", 2,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_SHORT_1_5_5_5_REV,
"GL_UNSIGNED_SHORT_1_5_5_5_REV", 2,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_INT_8_8_8_8, "GL_UNSIGNED_INT_8_8_8_8", 4,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_INT_8_8_8_8_REV,
"GL_UNSIGNED_INT_8_8_8_8_REV", 4,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_INT_10_10_10_2,
"GL_UNSIGNED_INT_10_10_10_2", 4,
TestSwizzle_NONE},
{GL_RGBA_INTEGER, "GL_RGBA_INTEGER", GL_UNSIGNED_INT_2_10_10_10_REV,
"GL_UNSIGNED_INT_2_10_10_10_REV", 4,
TestSwizzle_NONE},
/*
* GL_BGRA_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_BYTE, "GL_BYTE", 4,
TestSwizzle_BYTE},
#endif // SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 4,
TestSwizzle_BYTE},
#ifdef SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_SHORT, "GL_SHORT", 8,
TestSwizzle_SHORT},
#endif // SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 8,
TestSwizzle_SHORT},
#ifdef SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_INT, "GL_INT", 16,
TestSwizzle_INT},
#endif // SLOW_ON_NVIDIA
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 16,
TestSwizzle_INT},
// Packed-integer format/type combinations:
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4", 2,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_SHORT_4_4_4_4_REV,
"GL_UNSIGNED_SHORT_4_4_4_4_REV", 2,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1", 2,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_SHORT_1_5_5_5_REV,
"GL_UNSIGNED_SHORT_1_5_5_5_REV", 2,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_INT_8_8_8_8, "GL_UNSIGNED_INT_8_8_8_8", 4,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_INT_8_8_8_8_REV,
"GL_UNSIGNED_INT_8_8_8_8_REV", 4,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_INT_10_10_10_2,
"GL_UNSIGNED_INT_10_10_10_2", 4,
TestSwizzle_NONE},
{GL_BGRA_INTEGER, "GL_BGRA_INTEGER", GL_UNSIGNED_INT_2_10_10_10_REV,
"GL_UNSIGNED_INT_2_10_10_10_REV", 4,
TestSwizzle_NONE},
#define SUPPORT_GREEN
#ifdef SUPPORT_GREEN
/*
* GL_GREEN_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_GREEN_INTEGER, "GL_GREEN_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_GREEN
#define SUPPORT_BLUE
#ifdef SUPPORT_BLUE
/*
* GL_BLUE_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_BLUE_INTEGER, "GL_BLUE_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_BLUE
#define SUPPORT_ALPHA
#ifdef SUPPORT_ALPHA
/*
* GL_ALPHA_INTEGER source
*/
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_ALPHA_INTEGER, "GL_ALPHA_INTEGER", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
#endif // SUPPORT_ALPHA
/*
* GL_DEPTH_COMPONENT
*/
#ifdef SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_DEPTH_COMPONENT, "GL_DEPTH_COMPONENT", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
/*
* GL_STENCIL_INDEX
*/
#ifdef SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_BYTE, "GL_BYTE", 1,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE", 1,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_SHORT, "GL_SHORT", 2,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT", 2,
TestSwizzle_NONE},
#ifdef SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_INT, "GL_INT", 4,
TestSwizzle_NONE},
#endif // SLOW_ON_NVIDIA
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_UNSIGNED_INT, "GL_UNSIGNED_INT", 4,
TestSwizzle_NONE},
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_HALF_FLOAT, "GL_HALF_FLOAT", 2,
TestSwizzle_NONE},
{GL_STENCIL_INDEX, "GL_STENCIL_INDEX", GL_FLOAT, "GL_FLOAT", 4,
TestSwizzle_NONE},
/*
* GL_DEPTH_STENCIL
*/
{GL_DEPTH_STENCIL, "GL_DEPTH_STENCIL",
GL_UNSIGNED_INT_24_8, "GL_UNSIGNED_INT_24_8", 4,
TestSwizzle_NONE},
{GL_DEPTH_STENCIL, "GL_DEPTH_STENCIL",
GL_FLOAT_32_UNSIGNED_INT_24_8_REV, "GL_FLOAT_32_UNSIGNED_INT_24_8_REV", 8,
TestSwizzle_NONE},
};
/*****************************************************************************\
Description:
Initialize the static instance of this singleton class.
\*****************************************************************************/
IGFXgpuPxAllPackedIntVals* IGFXgpuPxAllPackedIntVals::mpInstance = NULL;
/*****************************************************************************\
Description:
Return (after potentially instantiating) a pointer to the instance of this
singleton class.
\*****************************************************************************/
IGFXgpuPxAllPackedIntVals* IGFXgpuPxAllPackedIntVals::GetInstance()
{
if (!mpInstance)
{
mpInstance = new IGFXgpuPxAllPackedIntVals;
}
return mpInstance;
}
/*****************************************************************************\
Description:
Return a pointer to the values for a given format/type combination.
\*****************************************************************************/
IGFXgpuPxPackedIntVals *IGFXgpuPxAllPackedIntVals::GetPackedIntVals(
GLuint index)
{
return &mpPackedIntVals[index];
}
/*****************************************************************************\
Description:
Construct this singleton class, with the values to mask, shift, and
divide/multiply packed integer values by. This is "private" so that only
the GetInstance() method may instantiate the one (singleton) copy of this
class.
\*****************************************************************************/
IGFXgpuPxAllPackedIntVals::IGFXgpuPxAllPackedIntVals()
{
// Notice that the following values are ordered so that we can always pull
// out the RBGA values in an RGBA order. Also notice that there are some
// "placeholders" values (to keep indexing into this array simple) for
// entries that make no sense for algorithms 5 and 6 (e.g. the
// 10F_11F_11F and 5_9_9_9 types).
static IGFXgpuPxPackedIntVals packedIntVals[] =
{
// The following entries are for GL_RGB[A][_INTEGER] formats (i.e. the
// values for the "red" component really are for the red component):
{GL_FALSE, 5, 2, 0, 0, // __GL_UNSIGNED_BYTE_3_3_2
0xE0, 0x1C, 0x03, 0x00,
8.0, 8.0, 4.0, 1.0},
{GL_FALSE, 11, 5, 0, 0, // __GL_UNSIGNED_SHORT_5_6_5
0xF800, 0x07E0, 0x001F, 0x0000,
31.0, 63.0, 31.0, 1.0},
{GL_TRUE, 12, 8, 4, 0, // __GL_UNSIGNED_SHORT_4_4_4_4
0xF000, 0x0F00, 0x00F0, 0x000F,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 11, 6, 1, 0, // __GL_UNSIGNED_SHORT_5_5_5_1
0xF800, 0x07C0, 0x003E, 0x0001,
31.0, 31.0, 31.0, 1.0},
{GL_TRUE, 24, 16, 8, 0, // __GL_UNSIGNED_INT_8_8_8_8
0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF,
255.0, 255.0, 255.0, 255.0},
{GL_TRUE, 22, 12, 2, 0, // __GL_UNSIGNED_INT_10_10_10_2
0xFFC00000, 0x003FF000, 0x00000FFC, 0x00000003,
1023.0, 1023.0, 1023.0, 3.0},
{GL_FALSE, 0, 3, 6, 0, // __GL_UNSIGNED_BYTE_2_3_3_REV
0x07, 0x38, 0xC0, 0x00,
8.0, 8.0, 4.0, 1.0},
{GL_FALSE, 0, 5, 11, 0, // __GL_UNSIGNED_SHORT_5_6_5_REV
0x001F, 0x07E0, 0xF800, 0x0000,
31.0, 63.0, 31.0, 1.0},
{GL_TRUE, 0, 4, 8, 12, // __GL_UNSIGNED_SHORT_4_4_4_4_REV
0x000F, 0x00F0, 0x0F00, 0xF000,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 0, 5, 10, 15, // __GL_UNSIGNED_SHORT_1_5_5_5_REV
0x001F, 0x03E0, 0x7C00, 0x8000,
31.0, 31.0, 31.0, 1.0},
{GL_TRUE, 0, 8, 16, 24, // __GL_UNSIGNED_INT_8_8_8_8_REV
0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000,
255.0, 255.0, 255.0, 255.0},
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_10F_11F_11F_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_5_9_9_9_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 0, 10, 20, 30, // __GL_UNSIGNED_INT_2_10_10_10_REV
0x000003FF, 0x000FFC00, 0x3FF00000, 0xC0000000,
1023.0, 1023.0, 1023.0, 3.0},
// The following entries are for GL_BGR[A][_INTEGER] formats (i.e. the
// values for the "red" and "blue" components are reversed):
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_BYTE_3_3_2
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_SHORT_5_6_5
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 4, 8, 12, 0, // __GL_UNSIGNED_SHORT_4_4_4_4
0x00F0, 0x0F00, 0xF000, 0x000F,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 1, 6, 11, 0, // __GL_UNSIGNED_SHORT_5_5_5_1
0x003E, 0x07C0, 0xF800, 0x0001,
31.0, 31.0, 31.0, 1.0},
{GL_TRUE, 8, 16, 24, 0, // __GL_UNSIGNED_INT_8_8_8_8
0x0000FF00, 0x00FF0000, 0xFF000000, 0x000000FF,
255.0, 255.0, 255.0, 255.0},
{GL_TRUE, 2, 12, 22, 0, // __GL_UNSIGNED_INT_10_10_10_2
0x00000FFC, 0x003FF000, 0xFFC00000, 0x00000003,
1023.0, 1023.0, 1023.0, 3.0},
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_BYTE_2_3_3_REV
0x00, 0x00, 0x00, 0x00,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_SHORT_5_6_5_REV
0x00, 0x00, 0x00, 0x00,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 8, 4, 0, 12, // __GL_UNSIGNED_SHORT_4_4_4_4_REV
0x0F00, 0x00F0, 0x000F, 0xF000,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 10, 5, 0, 15, // __GL_UNSIGNED_SHORT_1_5_5_5_REV
0x7C00, 0x03E0, 0x001F, 0x8000,
31.0, 31.0, 31.0, 1.0},
{GL_TRUE, 16, 8, 0, 24, // __GL_UNSIGNED_INT_8_8_8_8_REV
0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,
255.0, 255.0, 255.0, 255.0},
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_10F_11F_11F_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_5_9_9_9_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 20, 10, 0, 30, // __GL_UNSIGNED_INT_2_10_10_10_REV
0x3FF00000, 0x000FFC00, 0x000003FF, 0xC0000000,
1023.0, 1023.0, 1023.0, 3.0},
// The following entries are for the ABGR format (i.e. the values for
// the "red" and "alpha" components are reversed, and the values for
// the "green" and "blue" components are reversed):
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_BYTE_3_3_2
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_SHORT_5_6_5
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 0, 4, 8, 12, // __GL_UNSIGNED_SHORT_4_4_4_4
0x000F, 0x00F0, 0x0F00, 0xF000,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 0, 1, 6, 11, // __GL_UNSIGNED_SHORT_5_5_5_1
0x0001, 0x003E, 0x07C0, 0xF800,
1.0, 31.0, 31.0, 31.0},
{GL_TRUE, 0, 8, 16, 24, // __GL_UNSIGNED_INT_8_8_8_8
0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000,
255.0, 255.0, 255.0, 255.0},
{GL_TRUE, 0, 2, 12, 22, // __GL_UNSIGNED_INT_10_10_10_2
0x00000003, 0x00000FFC, 0x003FF000, 0xFFC00000,
3.0, 1023.0, 1023.0, 1023.0},
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_BYTE_2_3_3_REV
0x00, 0x00, 0x00, 0x00,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_SHORT_5_6_5_REV
0x00, 0x00, 0x00, 0x00,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 12, 8, 4, 0, // __GL_UNSIGNED_SHORT_4_4_4_4_REV
0xF000, 0x0F00, 0x00F0, 0x000F,
15.0, 15.0, 15.0, 15.0},
{GL_TRUE, 15, 10, 5, 0, // __GL_UNSIGNED_SHORT_1_5_5_5_REV
0x8000, 0x7C00, 0x03E0, 0x001F,
1.0, 31.0, 31.0, 31.0},
{GL_TRUE, 24, 16, 8, 0, // __GL_UNSIGNED_INT_8_8_8_8_REV
0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF,
255.0, 255.0, 255.0, 255.0},
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_10F_11F_11F_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_FALSE, 0, 0, 0, 0, // __GL_UNSIGNED_INT_5_9_9_9_REV
0x00000000, 0x00000000, 0x00000000, 0x00000000,
1.0, 1.0, 1.0, 1.0}, // placeholder
{GL_TRUE, 30, 20, 10, 0, // __GL_UNSIGNED_INT_2_10_10_10_REV
0xC0000000, 0x3FF00000, 0x000FFC00, 0x000003FF,
3.0, 1023.0, 1023.0, 1023.0},
};
// Point at the just-initialized array:
mpPackedIntVals = packedIntVals;
}
/*****************************************************************************\
Description:
The copy constructor is also "private" so that this class can't be copied.
\*****************************************************************************/
IGFXgpuPxAllPackedIntVals::IGFXgpuPxAllPackedIntVals(
IGFXgpuPxAllPackedIntVals const&)
{
}
// This is the buffer that the auto-generated source is placed into:
char generatedShaderSrc[4096];
static int win;
// The purpose of this function is to perform drawing everytime GLUT requests
// drawing.
//
// - The first time this function is called, it will call renderReadAndDraw()
// in order to show that the program is working for at least one format/type
// combination.
//
// - The second time (and nth times) this function is called, it will call
// drawAndReturnRate() in order to benchmark all of the desired format/type
// combinations, and report the performance numbers.
//
// - Note: this function will be be called a 2nd/nth time by pressing the space
// bar when the image window has focus. Resizing that window will also cause
// this function to be called.
static void display(void)
{
PixelOps *px;
int nCombos = sizeof(combos) / sizeof(FormatTypeCombo);
int i = 0;
switch ((int) unpackShaderType)
{
case RealCommands:
px = new RealPixelOps(width, height, height, height);
break;
case Emulated:
px = new EmulatedPixelOps(width, height, height, height);
break;
default:
printf("The algorithm %d is not yet supported\n", unpackShaderType);
fflush(stdout);
exit(1);
}
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (comboNumberToRun >= 0) {
i = comboNumberToRun;
nCombos = comboNumberToRun + 1;
}
for ( ; i < nCombos ; i++) {
float rate1, rate2;
// Initially try a small number of frames in case it's WAY TOO SLOW:
int nFrames = INITIAL_NUM_FRAMES_TO_DRAW;
pCombo = &combos[i];
#if 0
// Change the previous line to "#if 1" if wanting to benchmark with
// byte-swapping turned on.
glPixelStorei(GL_PACK_SWAP_BYTES, GL_TRUE);
glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_TRUE);
#endif
//
// PREPARE for a test or benchmark:
//
switch (command) {
case DrawPixelsCommand:
if (!px->PrepareForDrawPixels(pCombo)) {
printf("%7s/%30s (0x%04x/0x%04x) is not supported\n",
pCombo->formatStr, pCombo->typeStr,
pCombo->format, pCombo->type);
fflush(stdout);
continue;
}
break;
default:
printf("ERROR: Unsupported command type!!!\n");
fflush(stdout);
exit(1);
} // switch (command)
//
// TEST, if that's what was chosen to do:
//
if (testOrBenchmark == DoATest) {
switch (command) {
case DrawPixelsCommand:
if (px->TestDrawPixels()) {
printf("%7s/%30s (0x%04x/0x%04x) passes\n",
pCombo->formatStr, pCombo->typeStr,
pCombo->format, pCombo->type);
fflush(stdout);
} else {
printf("%7s/%30s (0x%04x/0x%04x) FAILS!!!\n",
pCombo->formatStr, pCombo->typeStr,
pCombo->format, pCombo->type);
fflush(stdout);
}
break;
} // switch (command)
} else {
//
// BENCHMARK, if that's what was chosen to do:
//
// Do a very-minimal amount of frames, in case it's very slow:
switch (command) {
case DrawPixelsCommand:
rate1 = px->BenchmarkDrawPixels(nFrames, true);
break;
} // switch (command)
if ((int) rate1 > MINIMUM_FRAME_RATE) {
// The rate was fast enough to try drawing more frames:
nFrames = MORE_FRAMES_TO_DRAW;
switch (command) {
case DrawPixelsCommand:
rate1 = px->BenchmarkDrawPixels(nFrames, true);
if ((int) rate1 > (nFrames / 2)) {
// Increase the number of frames to draw, so that
// drawAndReturnRate() runs for at least 2 seconds:
nFrames = (((int) rate1) * 4) & ~NUM_FRAMES_ROUNDING;
// Try drawing again with the increased number of
// frames:
rate1 = px->BenchmarkDrawPixels(nFrames, true);
}
break;
} // switch (command)
}
// Now, draw repeatedly without buffer swaps & print results:
switch (command) {
case DrawPixelsCommand:
rate2 = px->BenchmarkDrawPixels(nFrames, false);
printf("%7s/%30s: %.3f FPS, %.3f DPS (%d frames)\n",
pCombo->formatStr, pCombo->typeStr, rate1, rate2,
nFrames);
fflush(stdout);
break;
} // switch (command)
}
// FINISH the primitive:
switch (command) {
case DrawPixelsCommand:
px->FinishDrawPixels();
break;
} // switch (command)
}
if (testOrBenchmark == DoATest) {
exit(0);
}
}
static void reshape(int width, int height)
{
glViewport(0, 0, (GLint) width, (GLint) height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(-1.0, 1.0, -1.0, 1.0, -0.5, 0.5);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
static void keyboard(unsigned char key, int x, int y)
{
switch (key) {
case 27:
glutDestroyWindow(win);
exit(0);
break;
case ' ':
display();
break;
default:
glutPostRedisplay();
return;
}
}
static void init(int argc, char **argv)
{
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glPixelStorei(GL_PACK_ALIGNMENT, 1);
}
void printUsage(char *programName)
{
printf("Usage:\n %s\n"
"\t{test|benchmark}\n"
"\t[-c <combo num>] [-l] [-o {loopOptimizationLevel}]\n"
"\t[-s <image size>]\n"
"\t[-t {real|emulated}]\n\n",
programName);
}
int main(int argc, char **argv)
{
// printf("argc = %d\n", argc);
for (int i = 1 ; i < argc ; i++) {
// printf("argv[%d] = \"%s\"\n", i, argv[i]);
if (strcmp(argv[i], "test") == 0) {
testOrBenchmark = DoATest;
}
else if (strcmp(argv[i], "benchmark") == 0) {
testOrBenchmark = DoABenchmark;
}
else if ((strcmp(argv[i], "help") == 0) ||
(strcmp(argv[i], "-help") == 0) ||
(strcmp(argv[i], "--help") == 0)) {
printUsage(argv[0]);
return 0;
}
else if (strcmp(argv[i], "-l") == 0) {
int nCombos = sizeof(combos) / sizeof(FormatTypeCombo);
FormatTypeCombo *pCombo;
printf("Num Format Type\n");
printf("---------------------------------------------\n");
for (int j = 0 ; j < nCombos ; j++) {
pCombo = &combos[j];
printf("[%2d] = %7s/%30s\n", j,
pCombo->formatStr, pCombo->typeStr);
}
return 0;
}
else if (strcmp(argv[i], "-c") == 0) {
if (++i < argc) {
comboNumberToRun = atoi(argv[i]);
} else {
printf("Argument missing to the \"-%s\" option\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
}
else if (strcmp(argv[i], "-o") == 0) {
if (++i < argc) {
loopOptimizationLevel = atoi(argv[i]);
} else {
printf("Argument missing to the \"-%s\" option\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
}
else if (strcmp(argv[i], "-s") == 0) {
if (++i < argc) {
height = atoi(argv[i]);
width = height * 2;
} else {
printf("Argument missing to the \"-%s\" option\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
}
else if (strcmp(argv[i], "-t") == 0) {
if (++i < argc) {
if (strcmp(argv[i], "real") == 0) {
unpackShaderType = RealCommands;
} else if (strcmp(argv[i], "emulated") == 0) {
unpackShaderType = Emulated;
} else {
printf("\"-%s\" is not a recognized argument\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
} else {
printf("Argument missing to the \"-%s\" option\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
} else {
printf("Unknown option: \"%s\"\n\n", argv[i]);
printUsage(argv[0]);
return 1;
}
}
imgWidth = imgHeight = height;
pCombo = &combos[0];
glutInit(&argc, argv);
glutInitWindowPosition(0, 0);
glutInitWindowSize(width, height);
glutInitDisplayMode(GLUT_RGBA);
win = glutCreateWindow(argv[0]);
if (!win) {
printf("failed to create a window\n");
exit(1);
}
if (glewInit() != GLEW_OK) {
printf("failed to initialize GLEW\n");
exit(1);
}
init(argc, argv);
glutReshapeFunc(reshape);
glutKeyboardFunc(keyboard);
glutDisplayFunc(display);
glutMainLoop();
return 0;
}
|
# @datafire/azure_azsadmin_farms
Client library for StorageManagementClient
## Installation and Usage
```bash
npm install --save @datafire/azure_azsadmin_farms
```
```js
let azure_azsadmin_farms = require('@datafire/azure_azsadmin_farms').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
```
## Description
The Admin Storage Management Client.
## Actions
### Farms_List
Returns a list of all storage farms.
```js
azure_azsadmin_farms.Farms_List({
"subscriptionId": "",
"resourceGroupName": "",
"api-version": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* api-version **required** `string`: REST Api Version.
#### Output
* output [FarmList](#farmlist)
### Farms_Get
Returns the Storage properties and settings for a specified storage farm.
```js
azure_azsadmin_farms.Farms_Get({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
#### Output
* output [Farm](#farm)
### Farms_Update
Update an existing storage farm.
```js
azure_azsadmin_farms.Farms_Update({
"subscriptionId": "",
"api-version": "",
"resourceGroupName": "",
"farmId": "",
"farmObject": {}
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* api-version **required** `string`: REST Api Version.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* farmObject **required** [Farm](#farm)
#### Output
* output [Farm](#farm)
### Farms_Create
Create a new storage farm.
```js
azure_azsadmin_farms.Farms_Create({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": "",
"farmObject": {}
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
* farmObject **required** [FarmCreationProperties](#farmcreationproperties)
#### Output
* output [Farm](#farm)
### Farms_ListMetricDefinitions
Returns a list of metric definitions for a storage farm.
```js
azure_azsadmin_farms.Farms_ListMetricDefinitions({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
#### Output
* output `object`: Pageable list of metric definitions.
* nextLink `string`: URI to the next page.
* value `array`: List of metric definitions.
* items `object`: Metric definition.
* metricAvailabilities `array`: Metric availabilities.
* items `object`: Metric availability.
* retention `string`: Retention of metric.
* timeGrain `string`: Time grain.
* name `object`: Localizable string.
* localizedValue `string`: Localized value of the string.
* value `string`: Value of the string.
* primaryAggregationType `string` (values: None, Average, Total, Minimum, Maximum, Last): Aggregate type.
* unit `string` (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): Metric unit.
### Farms_ListMetrics
Returns a list of storage farm metrics.
```js
azure_azsadmin_farms.Farms_ListMetrics({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
#### Output
* output `object`: Pageable list of metrics.
* nextLink `string`: URI to the next page.
* value `array`: List of metrics.
* items `object`: Metric information.
* endTime `string`: Metric end time.
* metricUnit `string` (values: Count, Bytes, Seconds, CountPerSecond, BytesPerSecond): Metric unit.
* metricValues `array`: List of metric values.
* items `object`: Metric value.
* average `number`: Average value of metric.
* count `integer`: Count of metric values.
* maximum `number`: Maximum value of metric.
* minimum `number`: Minimum value of metric.
* properties `string`: Metric value properties.
* timeStamp `string`: Timestamp of metric value.
* total `number`: Total value of metric.
* name `object`: Localizable string.
* localizedValue `string`: Localized value of the string.
* value `string`: Value of the string.
* startTime `string`: Metric start time.
* timeGrain `string`: Metric time grain.
### Farms_StartGarbageCollection
Start garbage collection on deleted storage objects.
```js
azure_azsadmin_farms.Farms_StartGarbageCollection({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
#### Output
*Output schema unknown*
### Farms_GetGarbageCollectionState
Returns the state of the garbage collection job.
```js
azure_azsadmin_farms.Farms_GetGarbageCollectionState({
"subscriptionId": "",
"resourceGroupName": "",
"farmId": "",
"api-version": "",
"operationId": ""
}, context)
```
#### Input
* input `object`
* subscriptionId **required** `string`: Subscription Id.
* resourceGroupName **required** `string`: Resource group name.
* farmId **required** `string`: Farm Id.
* api-version **required** `string`: REST Api Version.
* operationId **required** `string`: Operation Id.
#### Output
* output `string`
## Definitions
### Farm
* Farm `object`: Storage farm.
* properties [FarmProperties](#farmproperties)
* id `string`: Resource ID.
* location `string`: Resource location.
* name `string`: Resource Name.
* tags `object`: Resource tags.
* type `string`: Resource type.
### FarmCreationProperties
* FarmCreationProperties `object`: Storage farm properties.
* properties [SettingAccessString](#settingaccessstring)
* id `string`: Resource ID.
* location `string`: Resource location.
* name `string`: Resource Name.
* tags `object`: Resource tags.
* type `string`: Resource type.
### FarmList
* FarmList `object`: Pageable list of storage farms.
* nextLink `string`: URI to the next page.
* value `array`: List of storage farms.
* items [Farm](#farm)
### FarmProperties
* FarmProperties `object`: The properties of storage farm.
* farmId `string`: Farm identifier.
* settings [FarmSettings](#farmsettings)
* settingsStore `string`: The settings of storage farm.
* version `string`: Resource version.
### FarmSettings
* FarmSettings `object`: Storage farm settings.
* bandwidthThrottleIsEnabled `boolean`: Switch of bandwidth throttle enablement.
* corsAllowedOriginsList `string`: The list of allowed origins.
* dataCenterUriHostSuffixes `string`: The suffixes of URI of hosts in data center.
* defaultEgressThresholdInGbps `number`: Default egress threshold (in Gbps).
* defaultIngressThresholdInGbps `number`: Default ingress threshold (in Gbps).
* defaultIntranetEgressThresholdInGbps `number`: Default Intranet egress threshold (in Gbps).
* defaultIntranetIngressThresholdInGbps `number`: Default Intranet ingress threshold (in Gbps).
* defaultRequestThresholdInTps `number`: Default request threshold (in TPS).
* defaultThrottleProbabilityDecayIntervalInSeconds `integer`: Interval (in seconds) of default throttle probability decay.
* defaultTotalEgressThresholdInGbps `number`: Default total egress threshold (in Gbps).
* defaultTotalIngressThresholdInGbps `number`: Default total ingress threshold (in Gbps).
* feedbackRefreshIntervalInSeconds `integer`: Interval (in seconds) of feedback refresh.
* gracePeriodForFullThrottlingInRefreshIntervals `integer`: Grace period for full throttling in refresh intervals.
* gracePeriodMaxThrottleProbability `number`: Maximum probability of throttle in grace period.
* hostStyleHttpPort `integer`: Host style HTTP port.
* hostStyleHttpsPort `integer`: Host style HTTPs port.
* minimumEgressThresholdInGbps `number`: Minimum egress threshold (in Gbps).
* minimumIngressThresholdInGbps `number`: Minimum ingress threshold (in Gbps).
* minimumIntranetEgressThresholdInGbps `number`: Minimum Intranet egress threshold (in Gbps).
* minimumIntranetIngressThresholdInGbps `number`: Minimum Intranet ingress threshold (in Gbps).
* minimumRequestThresholdInTps `number`: Minimum request threshold (in TPS).
* minimumTotalEgressThresholdInGbps `number`: Minimum total egress threshold (in Gbp
* minimumTotalIngressThresholdInGbps `number`: Minimum total ingress threshold (in Gbps).
* numberOfAccountsToSync `integer`: Number of accounts to sync.
* overallEgressThresholdInGbps `number`: Overall egress threshold (in Gbps).
* overallIngressThresholdInGbps `number`: Overall ingress threshold (in Gbps)
* overallIntranetEgressThresholdInGbps `number`: Overall Intranet egress threshold (in Gbps).
* overallIntranetIngressThresholdInGbps `number`: Overall Intranet ingress threshold (in Gbps).
* overallRequestThresholdInTps `number`: Overall request threshold (in TPS).
* overallTotalEgressThresholdInGbps `number`: Overall total egress threshold (in Gbps).
* overallTotalIngressThresholdInGbps `number`: Overall total ingress threshold (in Gbps).
* retentionPeriodForDeletedStorageAccountsInDays `integer`: The retention period (in days) for deleted storage account.
* settingsPollingIntervalInSecond `integer`: The polling interval (in second).
* toleranceFactorForEgress `number`: Tolerance factor for egress.
* toleranceFactorForIngress `number`: Tolerance factor for ingress.
* toleranceFactorForIntranetEgress `number`: Tolerance factor for Intranet egress.
* toleranceFactorForIntranetIngress `number`: Tolerance factor for Intranet ingress.
* toleranceFactorForTotalEgress `number`: Tolerance factor for total egress.
* toleranceFactorForTotalIngress `number`: Tolerance factor for total ingress.
* toleranceFactorForTps `number`: Tolerance factor for TPS.
* usageCollectionIntervalInSeconds `integer`: Interval (in seconds) of storage usage collection.
### SettingAccessString
* SettingAccessString `object`: Setting access string.
* settingAccessString `string`: Setting access string.
|
<?php
namespace YaSdelyal\LaravelVault\Facades;
use Closure;
use Illuminate\Support\Facades\Facade;
use YaSdelyal\LaravelVault\Contracts\Driver;
use YaSdelyal\LaravelVault\Contracts\Variables;
/**
* @method static Driver connection(string $name = null)
* @method static void extend(string $name, Closure $closure)
* @method static Variables get(string $connection = null)
* @method static Variables patch(string $patch)
* @method static Variables patches(array $patches)
*/
class Vault extends Facade
{
protected static function getFacadeAccessor(): string
{
return 'vault';
}
}
|
//! read & write TLB items
#![allow(deprecated)]
use crate::instructions;
use crate::registers::cp0;
/// refers to one TLB entry
pub struct TLBEntry {
pub entry_lo0: cp0::entry_lo::EntryLo,
pub entry_lo1: cp0::entry_lo::EntryLo,
pub entry_hi: cp0::entry_hi::EntryHi,
pub page_mask: cp0::page_mask::PageMask,
}
#[deprecated(since = "0.2.0", note = "please use implementations in `TLBEntry`")]
pub fn clear_all_tlb() {
let mmu_size = cp0::config::mmu_size();
if mmu_size != 0 {
clear_tlb(0, mmu_size);
} else {
clear_tlb(0, 63);
}
}
#[deprecated(since = "0.2.0", note = "please use implementations in `TLBEntry`")]
pub fn clear_tlb(start: u32, end: u32) {
cp0::entry_lo::write0_u32(0);
cp0::entry_lo::write1_u32(0);
cp0::entry_hi::write_u32(0);
cp0::page_mask::write_u32(0);
for i in start..end + 1 {
cp0::index::write_u32(i);
unsafe { instructions::tlbwi() };
}
}
#[deprecated(since = "0.2.0", note = "please use implementations in `TLBEntry`")]
pub fn read_tlb(index: u32) -> TLBEntry {
cp0::index::write_u32(index);
unsafe { instructions::tlbr() };
TLBEntry {
entry_lo0: cp0::entry_lo::read0(),
entry_lo1: cp0::entry_lo::read1(),
entry_hi: cp0::entry_hi::read(),
page_mask: cp0::page_mask::read(),
}
}
#[deprecated(since = "0.2.0", note = "please use implementations in `TLBEntry`")]
pub fn write_tlb(entry: TLBEntry, index: u32) {
cp0::entry_lo::write0(entry.entry_lo0);
cp0::entry_lo::write1(entry.entry_lo1);
cp0::entry_hi::write(entry.entry_hi);
cp0::page_mask::write(entry.page_mask);
cp0::index::write_u32(index);
unsafe { instructions::tlbwi() };
}
#[deprecated(since = "0.2.0", note = "please use implementations in `TLBEntry`")]
pub fn write_tlb_random(entry: TLBEntry) {
cp0::entry_lo::write0(entry.entry_lo0);
cp0::entry_lo::write1(entry.entry_lo1);
cp0::entry_hi::write(entry.entry_hi);
cp0::page_mask::write(entry.page_mask);
unsafe { instructions::tlbwr() };
}
impl TLBEntry {
pub fn clear(start: u32, end: u32) {
clear_tlb(start, end);
}
pub fn clear_all() {
clear_all_tlb();
}
pub fn read(index: u32) -> TLBEntry {
read_tlb(index)
}
pub fn write(self, index: u32) {
write_tlb(self, index);
}
pub fn write_random(self) {
write_tlb_random(self);
}
}
|
package com.sayee.sxsy.newModules.sysarea.web;
import com.alibaba.fastjson.JSONObject;
import com.sayee.sxsy.newModules.sysarea.entity.SysArea;
import com.sayee.sxsy.newModules.sysarea.service.SysAreaService;
import com.sayee.sxsy.newModules.utils.ResponsesUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
@Controller
public class sysAreaController {
@Autowired
SysAreaService service;
@ResponseBody
@RequestMapping(value = "ysj/cityList", method = RequestMethod.POST)
public ResponsesUtils cityList(@RequestBody JSONObject jsonObject) {
SysArea sysArea = jsonObject.toJavaObject(SysArea.class);
return ResponsesUtils.ok(service.fandByType(sysArea));
}
}
|
import pytest
from pg_grant import NoSuchObjectError
from pg_grant.query import get_all_sequence_acls, get_sequence_acl
expected_acls = {
'public': {
# seq1 has default privileges, so None is returned.
'seq1': None,
# alice is owner, bob was granted all
'seq2': ['alice=rwU/alice', 'bob=rwU/alice'],
},
'schema1': {
'seq3': None,
}
}
@pytest.mark.parametrize('name, acls', expected_acls['public'].items())
def test_get_sequence_acl_visible(connection, name, acls):
"""Find visible (i.e. in search path) sequences matching ``name``."""
sequence = get_sequence_acl(connection, name)
assert sequence.acl == acls
@pytest.mark.parametrize('schema, name, acls', [
(schema, seq, acl)
for schema, d in expected_acls.items()
for seq, acl in d.items()
])
def test_get_sequence_acl_schema(connection, schema, name, acls):
"""Find sequences from ``schema`` matching ``name``."""
sequence = get_sequence_acl(connection, name, schema)
assert sequence.acl == acls
def test_get_all_sequence_acls(connection):
"""Get all sequences in all schemas."""
sequences = get_all_sequence_acls(connection)
assert {x.schema for x in sequences} == {'public', 'schema1'}
tested = 0
for sequence in sequences:
if sequence.schema not in expected_acls:
continue
if sequence.name not in expected_acls[sequence.schema]:
continue
assert sequence.acl == expected_acls[sequence.schema][sequence.name]
tested += 1
assert tested == sum(len(v) for v in expected_acls.values())
def test_no_such_object(connection):
with pytest.raises(NoSuchObjectError):
get_sequence_acl(connection, 'seq3')
|
package main
import (
"log"
"github.com/nobonobo/spago/jsutil"
)
func main() {
resp, err := jsutil.Fetch("https://jsonplaceholder.typicode.com/users/1", nil)
if err != nil {
log.Print(err)
return
}
json, err := jsutil.Await(resp.Call("json"))
if err != nil {
log.Print(err)
return
}
obj := jsutil.JS2Go(json)
for k, v := range obj.(map[string]interface{}) {
log.Printf("key: %s, val:%v", k, v)
}
}
|
module Ggclient
class GithubGemBuilder
def initialize(gem_installer)
@gem_installer = gem_installer
end
def gemspec_name
File.basename(Dir.glob(File.join(@gem_installer.gem_dir, "*.gemspec")).first)
end
def generated_gem
unless Dir.glob(File.join(@gem_installer.gem_dir, "*.gem")).first
`cd #{@gem_installer.gem_dir} && gem build #{gemspec_name}`
end
Dir.glob(File.join(@gem_installer.gem_dir, "*.gem")).first
end
end
end
|
const { MessageEmbed } = require("discord.js");
const { players } = require("erela.js");
exports.run = async (client, message, args) => {
const player = message.client.manager.get(message.guild.id);
if (!player) return message.reply("There is no player for this guild.");
const { channel } = message.member.voice;
if (!channel) return message.reply("you need to join a voice channel.");
if (channel.id !== player.voiceChannel) return message.reply("You're not in the same voice channel.");
if (!player.queue.current) return message.reply("There is no music playing.")
const { title } = player.queue.current;
player.stop();
const e = new MessageEmbed()
.setDescription(`${client.emojis.cache.find(x => x.name === 'skip')} **${title} was skipped.**`)
.setColor('#010030')
return message.reply(e);
}
exports.help = {
name:"skip"
} |
#!/bin/sh
set -eu
ARGS=${@:-'./...'}
mkdir -p ./_testing
./test.sh -coverprofile ./_testing/coverage.out ${ARGS}
exec go tool cover -html ./_testing/coverage.out -o ./_testing/coverage.html
|
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Evento extends Model
{
protected $table = "eventos";
protected $fillable = ['usuario_id',
'rol_id',
'usuario_r_id',
'formularios_id',
'identificacion_id'];
protected $guarded = ['id'];
public function identificacion(){
return $this->hasOne(DatosIdentificacion::class);
}
public function formularios(){
return $this->belongsTo(Formularios::class);
}
public function historiaBlanco(){
return $this->hasOne(HistoriaBlanco::class);
}
public function formatosBase(){
return $this->hasOne(FormatoBase::class);
}
public function demografico(){
return $this->hasOne(DatosDemograficos::class);
}
public function consultorios(){
return $this->hasMany(DatosConsultorios::class);
}
public function academicos(){
return $this->hasMany(DatosAcademicos::class);
}
public function afiliacion(){
return $this->hasOne(DatosAfiliacion::class);
}
public function telefonos(){
return $this->hasMany(Telefono::class);
}
public function correosElectronicos(){
return $this->hasMany(CorreoElectronico::class);
}
public function antecedentes(){
return $this->hasOne(Antecedente::class);
}
public function formulas(){
return $this->hasMany(FormulaPaciente::class);
}
public function recomendaciones(){
return $this->hasMany(RecomendacionPaciente::class);
}
public function consulta(){
return $this->hasOne(Consulta::class);
}
public function examenFisico(){
return $this->hasOne(ExamenFisico::class);
}
public function revisionSistema(){
return $this->hasOne(RevisionSistema::class);
}
public function archivosAdjuntos(){
return $this->hasMany(ArchivosAdjuntos::class);
}
public function diagnosticos(){
return $this->hasMany(Diagnostico::class);
}
public function sintomasGenerales(){
return $this->hasOne(SintomasGenerales::class);
}
public function sintomasMentales(){
return $this->hasOne(SintomasMentales::class);
}
public function entornoSocial(){
return $this->hasOne(EntornoSocial::class);
}
public function procedimientosEnfermeria(){
return $this->hasOne(ProcedimientosEnfermeria::class);
}
public function notas(){
return $this->hasOne(Notas::class);
}
public function scopeConsultaTerapeuta($query){
return $query ->where('usuario_id', auth()->id())
->where('rol_id', 2)
->where('formularios_id', 1);
}
public function scopeConsultaTerapeutas($query){
return $query ->where('rol_id', 2)
->where('formularios_id', 1);
}
public function scopeInfoTerapeuta($query, $id){
return $query ->where('usuario_id', $id)
->where('rol_id', 2)
->where('formularios_id', 1);
}
public function scopeConsultaNotas($query){
return $query ->where('usuario_id', $id = auth()->id())
->where('rol_id', 2)
->where('formularios_id', 7);
}
public function scopeConsultaPacientes($query){
return $query ->where('usuario_id', auth()->id())
->where('rol_id', 2)
->where('formularios_id', 2);
}
public function scopeConsultaEvento($query, $formulario, $identificacion)
{
return $query ->where('identificacion_id', $identificacion)
->where('formularios_id', $formulario);
}
public function scopeConsultaFormatosBase($query, $identificacion){
return $query /* ->where('usuario_id', $id = auth()->id()) */
->where('rol_id', 2)
->where('identificacion_id', $identificacion);
}
public function scopeAuxiliarPaciente($query, $id){
return $query ->where('usuario_id', $id)
->where('rol_id', 2)
->where('usuario_r_id', auth()->id())
->where('formularios_id', 2);
}
public function scopeConsultaProcedimientosEnfermeria($query, $id){
return $query ->where('usuario_id', $id)
->where('rol_id', 2)
->where('formularios_id', 2);
}
public function scopeEntreFechas($query, $f1, $f2){
return $query ->where('usuario_id', auth()->id())
->where('rol_id', 2)
->whereIn('formularios_id', [3, 4])
->whereBetween('created_at', [$f1, $f2]);
}
}
|
<?php
use App\Models\MlModelStateScore;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;
/** @var Factory $factory */
$factory->define(MlModelStateScore::class, function (Faker $faker) {
$params = json_encode([
$faker->word => $faker->word,
$faker->word => $faker->word,
$faker->word => $faker->word,
]);
return [
'ml_model_state_id' => null,
'params' => $params,
'results' => $params,
'kappa' => $faker->randomFloat(5, 1, 100),
'accuracy' => $faker->randomFloat(5, 1, 100),
'confusion_matrix' => $params,
'sensitivity' => $faker->randomFloat(5, 1, 100),
'specificity' => $faker->randomFloat(5, 1, 100),
'precision' => $faker->randomFloat(5, 1, 100),
'recall' => $faker->randomFloat(5, 1, 100),
];
});
|
package config
import (
"errors"
"github.com/prometheus/common/model"
"testing"
"time"
)
func TestParseCfgFile(t *testing.T) {
cases := []struct {
name string
fileName string
err error
mrc []*RelabelConfig
timeout time.Duration
}{
{
name: "valid yaml file",
fileName: "testdata/valid.yaml",
},
{
name: "valid yaml with default timeout",
fileName: "testdata/default_timeout.yaml",
timeout: defaultTimeout,
},
{
name: "valid yaml with explicit timeout",
fileName: "testdata/explicit_timeout.yaml",
timeout: 10 * time.Second,
},
{
name: "no config file provided",
err: errors.New("no config file provided"),
},
{
name: "non existing file",
fileName: "i-dont-exist.yaml",
err: errors.New("valid file not found"),
},
{
name: "invalid yaml file",
fileName: "testdata/invalid_yaml.yaml",
err: errors.New("yaml: line 2: mapping values are not allowed in this context"),
},
{
name: "empty file",
fileName: "testdata/empty_file.yaml",
err: errors.New("valid file not found"),
},
{
name: "directory instead of file",
fileName: "testdata",
err: errors.New("valid file not found"),
},
{
name: "file with no regex in metricrelabelconfig",
fileName: "testdata/no_regex.yaml",
err: nil,
},
{
name: "file with no sourcelabels in metricrelabelconfig",
fileName: "testdata/no_sourcelabels.yaml",
err: nil,
},
{
name: "invalid regex in metricrelabelconfig",
fileName: "testdata/invalid_regex.yaml",
err: errors.New("error parsing regexp: missing closing ): `$^*(`"),
},
{
name: "file with action 'addprefix' but no prefix in metricrelabelconfig",
fileName: "testdata/no_prefix.yaml",
err: errors.New("addprefix action requires prefix"),
},
{
name: "file with action 'labeldrop' and have sourcelabels defined",
fileName: "testdata/relabel_drop_sourcelabels.yaml",
err: errors.New("with action==labeldrop only regex is needed"),
},
{
name: "file with action 'addprefix' and toplevel prefix",
fileName: "testdata/with_mrc_and_prefix.yaml",
err: nil,
mrc: []*RelabelConfig{
{
SourceLabels: model.LabelNames{model.MetricNameLabel},
Regex: MustNewRegexp("my_too_large_metric"),
Action: RelabelDrop,
},
{
SourceLabels: model.LabelNames{model.MetricNameLabel},
Regex: MustNewRegexp(".*"),
Action: RelabelAddPrefix,
Prefix: "my-prefix",
},
},
},
{
name: "file with only toplevel prefix",
fileName: "testdata/with_only_prefix.yaml",
err: nil,
mrc: []*RelabelConfig{
{
SourceLabels: model.LabelNames{model.MetricNameLabel},
Regex: MustNewRegexp(".*"),
Action: RelabelAddPrefix,
Prefix: "my-prefix",
},
},
},
}
for _, c := range cases {
cfg, err := ParseCfgFile(c.fileName)
if c.err != nil && err == nil {
t.Errorf("case '%s'. Expected %+v, Got no error", c.name, c.err)
continue
}
if c.err != nil && c.err.Error() != err.Error() {
t.Errorf("case '%s'. Expected %+v, Got %+v", c.name, c.err, err)
}
if c.err == nil && err != nil {
t.Errorf("case '%s'. Expected no error, got: %+v", c.name, err)
}
if c.mrc != nil {
if len(cfg.MetricRelabelConfigs) <= 0 {
t.Errorf("case '%s'. Expected atleast one MetricRelabelConfig", c.name)
}
last := cfg.MetricRelabelConfigs[len(cfg.MetricRelabelConfigs)-1]
if last.Prefix != "my-prefix" {
t.Errorf("case '%s'. Expected prefix: %s, got %s", c.name, "my-prefix", last.Prefix)
}
}
if c.timeout != 0*time.Second && c.timeout != cfg.Timeout {
t.Errorf("case '%s'. Expected timeout: %v, got %v", c.name, c.timeout, cfg.Timeout)
}
}
}
|
package cn.sxl.toolbox.enums;
/**
* @author SxL
* @since 1.6.1
* 2019-11-07 12:35
*/
public enum MonthEnum {
/**
* ๆไปฝ
*/
January(1, 31), February(2, 28), March(3, 31), April(4, 30),
May(5, 31), June(6, 30), July(7, 31), August(8, 31),
September(9, 30), October(10, 31), November(11, 30), December(12, 31);
private int number;
private int day;
MonthEnum(int number, int day) {
this.number = number;
this.day = day;
}
public static int getDayOfMonth(int month) {
for (MonthEnum monthEnum : values()) {
if (monthEnum.getNumber() == month) {
return monthEnum.getDay();
}
}
return 0;
}
public int getNumber() {
return number;
}
public int getDay() {
return day;
}
}
|
require "test_helper"
module Cogy
class BuiltinHelpersTest < ActionDispatch::IntegrationTest
include Engine.routes.url_helpers
def test_args_helper_overrides_predefined_helpers
cmd :args_overrides, COG_ARGV_1: "hu", COG_ARGV_0: "haha"
assert_equal "hahahu", response.body
end
def test_args_with_empty_arguments
cmd :empty_args
assert_equal "true", response.body
end
def test_args
cmd :add, COG_ARGV_0: 1, COG_ARGV_1: 2
assert_equal "3", response.body
end
end
end
|
---
last_revision: 2020-10-14T10:25:00Z
---
# Callbacks and Overrides
This document provides a high-level overview of the mechanisms used by _jsii_ to allow _foreign_ code to override
**JavaScript** methods. It details the responsibilities of the _jsii kernel_ and of the _foreign library_, and provides
implementation guidelines.
## Identifying Overrides
The _jsii kernel_ allows _foreign_ code to register overrides for the following use-cases:
- Overriding a class' non-static member
- Implementing an abstract member (including interface members)
!!! info
It is possible for _foreign_ code to override a class' constructor, but those cannot be registered in the _jsii
kernel_ as it cannot trigger instantiation of a _foreign_ class directly. _Foreign_ constructors always delegate to
the **JavaScript** constructor, which is happens via the [`create`][kernel.create] operation, during which overrides
are registered.
All cases where _foreign_ code should be executed in lieu of **JavaScript** code must be identified and declared
properly, as the _jsii kernel_ otherwise has no way to determine a _foreign_ implementation exists.
Where possible, the _jsii runtime library_ for the _foreign_ language will use reflection APIs to transparently discover
which API elements are overridden or implemented. In cases where reflection is expensive, the _jsii runtime library_
will try to cache findings as appropriate in order to avoid duplication of this effort.
In case the _foreign_ language does not have direct support for overriding (e.g: **Go**), or lacks the necessary
reflection tools to allow automatic identification of overrides, the _jsii runtime library_ may expose APIs allowing
users to register implementation overrides manually.
## Declaring Overrides
The foreign library is responsible for declaring overrides to the _jsii kernel_. Those are declared for every object
instance using the [`overrides`][kernel.create.overrides] property of the [`kernel.create` request][kernel.create]. Each
entry in the [`overrides`][kernel.create.overrides] list declares an overriden property or method.
Each override declaration may optionally include a `cookie`: this string will not be interpreted by the _jsii kernel_ in
any way, and will simply be passed back passed back with any request to invoke the overridden member's foreign
implementation.
!!! info
It is possible to register overrides to members that do not formally exist on a type. Since the _jsii kernel_ has no
type information available for those, it will handle them as follows:
- Method overrides are assumed to have the following signature:
```ts
overridden(...args: any[]): any
```
- Property overrides are assumed to be `any`-valued and mutable
!!! danger
This should generally be avoided as it can result in incoherent data serialization happening when the _jsii
kernel_ receives and returns values.
[kernel.create]: ../../specification/3-kernel-api.md#creating-objects
[kernel.create.overrides]: ../../specification/3-kernel-api.md#overrides
## Invoking Overrides
Once object instances have been created in the _jsii kernel_ with overrides, execution of **JavaScript** code may
require executing _foreign_ code. The _jsii kernel_ signals this to the _jsii runtime library_ by responding with a
[`callback` request][kernel.callback] instead of the typical response type for the original request (i.e:
`InvokeResponse`, `GetResponse` or `SetResponse`). Several such [callbacks][kernel.callback] may be necessary in order
to complete the original request. When the original request is finally able to complete, its response is returned.
The _jsii runtime library_ must respond to each [`callback` request][kernel.callback] with a `complete` response,
allowing the _jsii kernel_ to resume fulfilling the original request. In order to do this, the _jsii runtime library_
obtains the _foreign_ object corresponding to the [`callback` request][kernel.callback]'s receiver, then invokes the
corresponding implementation (for example, using reflection).
When needed, the _original_ **JavaScript** implementation can be delegated to (many languages refer to this as
`super(...)` or some similar idiom).
[kernel.callback]: ../../specification/3-kernel-api.md#a-note-about-callbacks
### Example
Assuming we have the following **TypeScript** types defined:
```ts
export abstract class FooClass {
protected abstract baz: string;
public bar(): string {
return this.reverse() ? Array.from(this.baz).reverse().join('') : this.baz;
}
protected reverse(): boolean {
return false;
}
}
```
And we have the following _Foreign_ application (assuming **Java**):
```java
public final class Main extends FooClass {
public static final void main(final String[] args) {
final FooClass self = new Main();
System.out.println(self.bar());
}
@Override
public String getBaz() {
return "baz";
}
@Override
public boolean reverse() {
return true;
}
}
```
The schematized exchange between the _jsii runtime library_ and the _jsii kernem_ is the following:
<!-- Original in `callbacks.monopic`, authored using Monodraw (https://monodraw.helftone.com) -->
```
โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โ Kernel โ โRuntime Libraryโ
โโโโโโโณโโโโโโ โโโโโโโโโณโโโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค Create(FQN: "FooClass", Overrides=["baz", "reverse"]) โโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค OK(ObjID: "Foo") โโโถโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค InvokeRequest(ObjID: "Foo", Method: "bar") โโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค CallbackRequest(ID: 1, ObjID: "Foo", Invoke: "reverse") โโโถโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โcall
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โobj("Foo").reverse()
โโโโค Complete(CallbackID: 1, OK: true) โโโโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค CallbackRequest(ID: 2, ObjID: "Foo", Get: "baz") โโโถโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โget
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โobj("Foo").baz
โโโโค Complete(CallbackID: 2, OK: "baz") โโโโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโค InvokeResponse(OK: "zab") โโโถโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
```
## See Also
- [The _jsii_ runtime architecture](../../overview/runtime-architecture.md)
- [The _jsii_ kernel API](../../specification/3-kernel-api.md)
|
<?php
namespace App\Models;
use Elasticquent\ElasticquentTrait;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\Song
*
* @property int $id
* @property string $name
* @property int $album_is
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereAlbumIs($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereUpdatedAt($value)
* @mixin \Eloquent
* @property int $album_id
* @property string $download_url
* @property string|null $size
* @property string|null $duration
* @property int $number
* @property-read \App\Models\Album $album
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereAlbumId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereDownloadUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereDuration($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereNumber($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Song whereSize($value)
*/
class Song extends Model
{
use ElasticquentTrait;
protected $mappingProperties = [
'id' => [
'type' => 'integer'
],
'song' => [
'type' => 'string',
],
'album' => [
'type' => 'string',
],
'band' => [
'type' => 'string',
],
'year' => [
'type' => 'string',
],
];
function getIndexDocumentData()
{
return array(
'id' => $this->id,
'song' => $this->name,
'album' => $this->album->name,
'band' => $this->album->band->name,
'year' => $this->album->year
);
}
public function album()
{
return $this->belongsTo(Album::class);
}
}
|
# cardboard
[](https://travis-ci.org/machisuji/cardboard)
`cardboard` is a decentralized, kanban-style collaboration tool which lets you organize tasks
into customizable cards based on plain, versioned text files.

## Usage
When running `cardboard` for the first time it will initialize a data
repository with example data in `./.cardboard`.
Some notes:
* Cards' content has to start with a markdown title (`# Some title`).
* A card's title will be used to derive a file name for it (`some_title.md`).
Cardboard is for developers and with that as an excuse it leaves a lot of the dirty
work to the users. Here's a bunch of things you will have to do yourself.
### Configuring boards
Edit `.cardboard/config.yml` to configure the existing boards.
### Adding a remote
If you actually want to share your work with others you will have to add a remote.
```
cd .cardboard
git add remote origin [email protected]:machisuji/cardboard-example.git
```
## Development
1. Install `rust` including `cargo` as described [here](https://www.rust-lang.org/en-US/install.html).
2. Run it using `cargo run`. You can suppress the opening of a browser through
`cargo run -- -q`.
### Build
Built using cargo.
```
cargo build --release
```
Whereupon the executable will be created at `target/release/cardboard`.
### Building on Windows
On Windows the build has the following prerequisites:
* [OpenSSL](https://github.com/sfackler/rust-openssl#windows)
* [cmake](https://cmake.org/download/)
## DISCLAIMER
I don't know what I'm doing. This is an exercise in learning both Rust and about
the internals of git. Also you may have noticed that I'm not much of a web
designer.
|
using OrdinaryDiffEq, DiffEqSensitivity, LinearAlgebra, Optimization, OptimizationFlux, Flux
nn = Chain(Dense(1,16),Dense(16,16,tanh),Dense(16,2))
initial,re = Flux.destructure(nn)
function ode2!(u, p, t)
f1, f2 = re(p)([t])
[-f1^2; f2]
end
tspan = (0.0, 10.0)
prob = ODEProblem(ode2!, Complex{Float64}[0;0], tspan, initial)
function loss(p)
sol = last(solve(prob, Tsit5(), p=p, sensealg=BacksolveAdjoint(autojacvec=ZygoteVJP())))
return norm(sol)
end
optf = Optimization.OptimizationFunction((x,p) -> loss(x), Optimization.AutoZygote())
optprob = Optimization.OptimizationProblem(optf, initial)
res = Optimization.solve(optprob, ADAM(0.1), maxiters = 100)
|
package com.konkuk.boost.persistence
import androidx.test.core.app.ApplicationProvider
import com.konkuk.boost.di.injectTestFeature
import com.konkuk.boost.persistence.grade.GradeContract
import com.konkuk.boost.persistence.grade.GradeDao
import com.konkuk.boost.persistence.grade.GradeEntity
import junit.framework.Assert.assertEquals
import kotlinx.coroutines.runBlocking
import org.junit.After
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.startKoin
import org.koin.core.context.stopKoin
import org.koin.test.KoinTest
import org.koin.test.inject
import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::class)
class GradeDaoTest : KoinTest {
private val database: AppDatabase by inject()
private val gradeDao: GradeDao by inject()
@Before
fun setup() {
stopKoin()
startKoin {
androidContext(ApplicationProvider.getApplicationContext())
injectTestFeature()
}
}
@Test
fun testIfGradeIsPassedInCurrentSemester() {
val passedCurrentGrade = GradeEntity(
"test",
"",
2021,
1,
"",
"P",
0f,
"",
"1111",
"๋ํ์์ด",
"ABCD12345",
3,
"",
GradeContract.Type.VALID.value
)
val normalCurrentGrade = GradeEntity(
"test",
"",
2021,
1,
"",
"A+",
4.5f,
"",
"1112",
"๋ถ์ฐ์์คํ
๋ฐ์ปดํจํ
",
"ZZZZ12345",
3,
"",
GradeContract.Type.PENDING.value
)
val normalNextGrade = GradeEntity(
"test",
"",
2021,
3,
"",
"",
0.0f,
"",
"1112",
"์กธ์
ํ๋ก์ ํธ",
"ZZZZ12345",
3,
"",
GradeContract.Type.PENDING.value
)
println("Passed grade : $passedCurrentGrade")
println("Normal grade : $normalCurrentGrade")
println("Normal grade : $normalNextGrade")
runBlocking {
gradeDao.insertGrade(passedCurrentGrade)
gradeDao.insertGrade(normalCurrentGrade)
gradeDao.insertGrade(normalNextGrade)
val grades = gradeDao.getPendingGrades("test")
val grade = grades.first()
val year = grade.year
val semester = grade.semester
assertEquals(2021, year)
assertEquals(1, semester)
val currentGrades = gradeDao.getAllGrades("test", year, semester)
assertEquals(2, currentGrades.size)
for (currentGrade in currentGrades) {
assertEquals(2021, currentGrade.year)
assertEquals(1, currentGrade.semester)
}
}
}
@After
fun tearDown() {
database.close()
stopKoin()
}
} |
# mpu9250
MPU-9250 and EKF package on Raspberry Pi3 + Ubuntu16.04.3LTS + ROS Kinetic with PIGPIO
|
delete from dbo.Price;
delete from dbo.Company;
declare @unique_constraint_name nvarchar(100);
select top 1 @unique_constraint_name = c.constraint_name
from INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE col
join INFORMATION_SCHEMA.TABLE_CONSTRAINTS c on c.constraint_name = col.constraint_name
where c.table_name = 'Company'
and c.constraint_type = 'unique';
EXEC('alter table [dbo].[Company] drop constraint ' + @unique_constraint_name);
alter table dbo.Company
alter column Code nvarchar(20) not null;
alter table dbo.Company
add constraint UQ_Company_Code unique (Code);
alter table dbo.Company
alter column Name nvarchar(50) null; |
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Scrapbook do
routes { Scrapbook::Engine.routes }
describe 'Routes to root / Pages#index' do
context 'with the short route to route' do
subject { {get: '/'} }
it { is_expected.to route_to(controller: 'scrapbook/pages', action: 'index') }
end
context 'with the pages prefix' do
subject { {get: '/pages'} }
it { is_expected.to route_to(controller: 'scrapbook/pages', action: 'index') }
end
context 'with the book prefix' do
subject { {get: '/scrapbook'} }
it { is_expected.to route_to(controller: 'scrapbook/pages', action: 'index', book: 'scrapbook') }
end
context 'with both the book and pages prefix' do
subject { {get: '/scrapbook/pages'} }
it { is_expected.to route_to(controller: 'scrapbook/pages', action: 'index', book: 'scrapbook') }
end
end
describe 'Direct routes to pages' do
context 'without the pages prefix' do
it 'correctly routes viewing a long path' do
expect(get: '/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'show',
id: 'area/subject/item'
)
end
it 'correctly routes viewing a long file' do
expect(get: '/area/subject/item.xml').to route_to(
controller: 'scrapbook/pages',
action: 'show',
id: 'area/subject/item.xml'
)
end
end
context 'with the pages prefix' do
it 'correctly routes indexing the pages' do
expect(get: '/pages').to route_to('scrapbook/pages#index')
end
it 'correctly routes viewing a long path' do
expect(get: '/pages/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'show',
id: 'area/subject/item'
)
end
it 'correctly routes viewing a long file' do
expect(get: '/pages/area/subject/item.xml').to route_to(
controller: 'scrapbook/pages',
action: 'show',
id: 'area/subject/item.xml'
)
end
it 'correctly routes viewing a page named pages' do
expect(get: '/pages/pages').to route_to(
controller: 'scrapbook/pages',
action: 'show',
id: 'pages'
)
end
it 'correctly routes editing a long path' do
expect(get: '/pages/area/subject/item/edit').to route_to(
controller: 'scrapbook/pages',
action: 'edit',
id: 'area/subject/item'
)
end
it 'correctly routes updating a long path' do
expect(put: '/pages/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'update',
id: 'area/subject/item'
)
end
it 'correctly routes the new page path' do
expect(get: '/pages/new').to route_to('scrapbook/pages#new')
end
it 'correctly routes creating a new page' do
expect(post: '/pages').to route_to('scrapbook/pages#create')
end
end
end
# Since the default book is "scrapbook", that's the prefix we will use. This
# means that mounted under "scrapbook" in an application, the URLs would be
# in the form "/scrapbook/scrapbook/..."
describe 'Book-prefixed routes to pages' do
context 'without the pages prefix' do
it 'correctly routes viewing a long path' do
expect(get: '/scrapbook/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'show',
book: 'scrapbook',
id: 'area/subject/item'
)
end
end
context 'with the pages prefix' do
it 'correctly routes indexing the pages' do
expect(get: '/scrapbook/pages').to route_to(
controller: 'scrapbook/pages',
action: 'index',
book: 'scrapbook'
)
end
it 'correctly routes viewing a long path' do
expect(get: '/scrapbook/pages/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'show',
book: 'scrapbook',
id: 'area/subject/item'
)
end
it 'correctly routes viewing a long file' do
expect(get: '/scrapbook/pages/area/subject/item.xml').to route_to(
controller: 'scrapbook/pages',
action: 'show',
book: 'scrapbook',
id: 'area/subject/item.xml'
)
end
it 'correctly routes viewing a page named pages' do
expect(get: '/scrapbook/pages/pages').to route_to(
controller: 'scrapbook/pages',
action: 'show',
book: 'scrapbook',
id: 'pages'
)
end
it 'correctly routes editing a long path' do
expect(get: '/scrapbook/pages/area/subject/item/edit').to route_to(
controller: 'scrapbook/pages',
action: 'edit',
book: 'scrapbook',
id: 'area/subject/item'
)
end
it 'correctly routes updating a long path' do
expect(put: '/scrapbook/pages/area/subject/item').to route_to(
controller: 'scrapbook/pages',
action: 'update',
book: 'scrapbook',
id: 'area/subject/item'
)
end
it 'correctly routes the new page path' do
expect(get: '/scrapbook/pages/new').to route_to(
controller: 'scrapbook/pages',
action: 'new',
book: 'scrapbook'
)
end
it 'correctly routes creating a new page' do
expect(post: '/scrapbook/pages').to route_to(
controller: 'scrapbook/pages',
action: 'create',
book: 'scrapbook'
)
end
end
end
describe 'Raw routes to pages' do
it 'correctly routes to the show page path' do
expect(get: '/.raw/scrapbook/pages/area/subject/item.xml').to route_to(
controller: 'scrapbook/pages',
action: 'raw',
book: 'scrapbook',
id: 'area/subject/item.xml',
raw: true
)
end
end
end
|
import 'phaser';
import 'lodash';
import 'webfontloader';
import gameConfig from './config/game';
require('./index.html'); // so we get it in the dist
// import scenes
import LoadingScene from './scenes/loading';
import MainMenuScene from './scenes/main-menu';
import TutorialScene from './scenes/stage/tutorial';
import TutorialUIScene from './scenes/stage/tutorial-ui';
import CauldronUIScene from './scenes/cauldron-ui';
var phaserGameConfig = {
type: Phaser.WEBGL,
width: gameConfig.screen.width,
height: gameConfig.screen.height,
backgroundColor: '#000000',
physics: {
default: 'arcade',
arcade: {
//debug: true, // enable to see physics bodies outlined
}
},
scene: [LoadingScene, MainMenuScene, TutorialScene, TutorialUIScene, CauldronUIScene]
}
let game = new Phaser.Game(phaserGameConfig);
|
package com.amadeus.android.domain.resources
import android.os.Parcelable
import com.squareup.moshi.JsonClass
import kotlinx.android.parcel.Parcelize
/**
* An Traveler object used in the body of Flight Create Orders.
* @see com.amadeus.booking.flightOrder.get
*/
@Parcelize
@JsonClass(generateAdapter = true)
data class Traveler(
var id: String? = null,
var dateOfBirth: String? = null,
var name: Name? = null,
var contact: Contact? = null,
var documents: List<Document>? = null
) : Parcelable {
@Parcelize
@JsonClass(generateAdapter = true)
data class Name(
var firstName: String,
var lastName: String
) : Parcelable
@Parcelize
@JsonClass(generateAdapter = true)
data class Contact(
val phones: List<Phone>? = null
) : Parcelable
@Parcelize
@JsonClass(generateAdapter = true)
data class Document(
var documentType: String? = null,
var number: String? = null,
var expiryDate: String? = null,
var issuanceCountry: String? = null,
var nationality: String? = null,
var holder: Boolean = false
) : Parcelable
@Parcelize
@JsonClass(generateAdapter = true)
data class Phone(
var countryCallingCode: String? = null,
var number: String? = null,
var deviceType: String? = null
) : Parcelable
} |
## 1.0.1+4
* Formatting
## 1.0.1+3
* Downgraded background_locator to 1.1.10+1
## 1.0.1+2
* Addressed static analysis error
* Recreated example with a new name
## 1.0.1+1
* Addressed a static analysis error
## 1.0.0
* Initial release |
@file:Suppress("DEPRECATION")
// todo use new api?
package com.avito.impact.configuration
import com.android.build.gradle.api.AndroidSourceSet
import com.avito.android.Result
import com.avito.android.androidBaseExtension
import com.avito.android.isAndroid
import com.avito.impact.changes.ChangedFile
import com.avito.impact.util.Equality
import com.avito.module.configurations.ConfigurationType
import com.avito.module.dependencies.dependenciesOnProjects
import java.io.File
/**
* Wrapper above [org.gradle.api.artifacts.Configuration] to reduce an amount of configurations
*/
abstract class BaseConfiguration(
val module: InternalModule,
val types: Set<Class<out ConfigurationType>>
) : Equality {
abstract val isModified: Boolean
protected val project = module.project
protected val changesDetector = module.changesDetector
val path: String = project.path
open val hasChangedFiles: Boolean by lazy {
changedFiles()
.map { it.isNotEmpty() }
.onFailure {
project.logger.error("Can't find changes", it)
}
.getOrElse { true }
}
open val dependencies: Set<MainConfiguration> by lazy {
module.project.dependenciesOnProjects(types)
.map {
it.dependencyProject
.internalModule
.mainConfiguration
}
.toSet()
}
fun allDependencies(includeSelf: Boolean = true): Set<BaseConfiguration> {
val dependencies = this.dependencies
.flatMap {
it.allDependencies(includeSelf = true)
}
.toSet()
return if (includeSelf) {
dependencies.plus(this)
} else {
dependencies
}
}
fun sourceSets(): Set<File> {
return if (project.isAndroid()) {
project.androidBaseExtension.sourceSets
.filter { containsSources(it) }
.flatMap { it.java.srcDirs }
.map { File(it.canonicalPath.substringBeforeLast("java")) }
.filter { it.exists() }
.toSet()
} else {
setOf(project.projectDir) // TODO find source sets
}
}
open fun changedFiles(): Result<List<ChangedFile>> {
return sourceSets()
.map { sourceDir -> changesDetector.computeChanges(sourceDir) }
.fold(Result.tryCatch { listOf() }) { accumulator, element ->
Result.tryCatch { accumulator.getOrThrow() + element.getOrThrow() }
}
}
protected abstract fun containsSources(sourceSet: AndroidSourceSet): Boolean
}
|
import logging
from typing import Iterable, Tuple, Any
from .. import MemoryMixin
l = logging.getLogger(name=__name__)
class AbstractMergerMixin(MemoryMixin):
def _merge_values(self, values: Iterable[Tuple[Any,Any]], merged_size: int, **kwargs):
# if self.category == 'reg' and self.state.arch.register_endness == 'Iend_LE':
# should_reverse = True
# elif self.state.arch.memory_endness == 'Iend_LE':
# should_reverse = True
# else:
# should_reverse = False
values = list(values)
merged_val = values[0][0]
# if should_reverse: merged_val = merged_val.reversed
for tm, _ in values[1:]:
# if should_reverse: tm = tm.reversed
if self._is_uninitialized(tm):
continue
l.info("Merging %s %s...", merged_val, tm)
merged_val = merged_val.union(tm)
l.info("... Merged to %s", merged_val)
# if should_reverse:
# merged_val = merged_val.reversed
if not values[0][0].uninitialized and self.state.solver.backends.vsa.identical(merged_val, values[0][0]):
return None
return merged_val
@staticmethod
def _is_uninitialized(a):
return getattr(a._model_vsa, 'uninitialized', False)
|
#!/bin/bash
DIFFDIR=build/diff
REFDIR=references
mkdir -p "$DIFFDIR"
add-chws -g="$DIFFDIR" -p "$@" |
east-asian-spacing dump -o="$DIFFDIR" -r="$REFDIR" -
|
<?php
namespace App\Http\Controllers;
use App\Models\Horario;
use App\Utils\Res;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use DateTime;
use DateTimeZone;
class HorarioController extends Controller
{
public function obtener()
{
try {
$horarios = Horario::all();
$todayUser = new DateTime("now", new DateTimeZone(config("app.timezone")));
$todayUser = $todayUser->format("Y-m-d H:i:s");
$today = new Carbon();
$valido = false;
switch ($today->dayOfWeek) {
case Carbon::SATURDAY:
if ($horarios[1]["startTime"] < $todayUser && $todayUser < $horarios[1]["endTime"]) {
$valido = true;
}
break;
case Carbon::SUNDAY:
if ($horarios[1]["startTime"] < $todayUser && $todayUser < $horarios[1]["endTime"]) {
$valido = true;
}
break;
default:
if ($horarios[0]["startTime"] < $todayUser && $todayUser < $horarios[0]["endTime"]) {
$valido = true;
}
break;
}
$respuesta = [
"valido" => $valido,
"horarios" => $horarios
];
return Res::withData($respuesta, __("respuestas.encontrado"), Response::HTTP_OK);
} catch (\Throwable $th) {
error_log($th);
return Res::withoutData(__("respuestas.error"), Response::HTTP_BAD_REQUEST);
}
}
public function editar($horario_id, Request $request)
{
try {
$horario = Horario::find($horario_id);
$horario->update($request->all());
return Res::withData($horario, "Horario cambiado", Response::HTTP_OK);
} catch (\Throwable $th) {
error_log($th);
return Res::withoutData(__("respuestas.error"), Response::HTTP_BAD_REQUEST);
}
}
}
|
class FormsController < ApplicationController
def general
@page_title = 'Forms_General'
end
def advanced
@page_title = 'Forms_Advanced'
end
def editors
@page_title = 'Forms_Editors'
end
end
|
Copyright 2017 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
## gfe/http2/hpack/decoder
These are the most popular C++ files defined in this directory.
* [hpack_entry_decoder_listener.h]
(http://google3/gfe/http2/hpack/decoder/hpack_entry_decoder_listener.h) (1
imports): Defines HpackEntryDecoderListener, the base class of listeners
that HpackEntryDecoder calls.
* [hpack_decoder_string_buffer.h]
(http://google3/gfe/http2/hpack/decoder/hpack_decoder_string_buffer.h) (1
imports): HpackDecoderStringBuffer helps an HPACK decoder to avoid copies of
a string literal (name or value) except when necessary (e.g.
* [hpack_block_decoder.h]
(http://google3/gfe/http2/hpack/decoder/hpack_block_decoder.h) (1 imports):
HpackBlockDecoder decodes an entire HPACK block (or the available portion
thereof in the DecodeBuffer) into entries, but doesn't include HPACK static
or dynamic table support, so table indices remain indices at this level.
* [hpack_varint_decoder.h]
(http://google3/gfe/http2/hpack/decoder/hpack_varint_decoder.h) (zero
imports): HpackVarintDecoder decodes HPACK variable length unsigned
integers.
* [hpack_entry_collector.h]
(http://google3/gfe/http2/hpack/decoder/hpack_entry_collector.h) (zero
imports): HpackEntryCollector records calls to HpackEntryDecoderListener in
support of tests of HpackEntryDecoder, or which use it.
* [hpack_string_collector.h]
(http://google3/gfe/http2/hpack/decoder/hpack_string_collector.h) (zero
imports): Supports tests of decoding HPACK strings.
* [hpack_string_decoder.h]
(http://google3/gfe/http2/hpack/decoder/hpack_string_decoder.h) (zero
imports): HpackStringDecoder decodes strings encoded per the HPACK spec;
this does not mean decompressing Huffman encoded strings, just identifying
the length, encoding and contents for a listener.
* [hpack_block_collector.h]
(http://google3/gfe/http2/hpack/decoder/hpack_block_collector.h) (zero
imports): HpackBlockCollector implements HpackEntryDecoderListener in order
to record the calls using HpackEntryCollector instances (one per HPACK
entry).
* [hpack_entry_decoder.h]
(http://google3/gfe/http2/hpack/decoder/hpack_entry_decoder.h) (zero
imports): HpackEntryDecoder decodes a single HPACK entry (i.e.
* [hpack_entry_type_decoder.h]
(http://google3/gfe/http2/hpack/decoder/hpack_entry_type_decoder.h) (zero
imports): Decodes the type of an HPACK entry, and the variable length
integer whose prefix is in the low-order bits of the same byte, "below" the
type bits.
|
# Wave Pattern
Demo of the colours, and the little flicker.

|
import 'package:flutter/material.dart';
import 'health.dart';
// import 'mock.dart';
import 'generic1.dart';
import 'query.dart';
import 'queryBrand.dart';
import 'productDetails.dart';
import 'detailsOnBrand.dart';
import 'globals.dart' as globals;
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'MProbe',
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home: Home(),
routes: {
'health': (BuildContext context) {
// print(globals.Util.get("id") ?? 0);
return (Health());
},
'sales': (BuildContext context) {
return (Generic1(
"sales",
"tunnel:get:todays:sale",
{"mdate": globals.Util.get('mdate') ?? globals.Util.getDate()},
"Sales"));
},
'saleDetails1': (BuildContext context) {
return (Generic1(
"saleDetails1",
"tunnel:get:sale:details1",
{
"mdate": globals.Util.get('mdate') ?? globals.Util.getDate(),
"master_id": globals.Util.get('id')
},
"Sale details"));
},
'saleDetails2': (BuildContext context) {
return (Generic1(
"saleDetails2",
"tunnel:get:sale:details2",
{
"mdate": globals.Util.get('mdate') ?? globals.Util.getDate(),
"bill_memo_id": globals.Util.get('id')
},
"Sale details further"));
},
'detailedSales': (BuildContext context) {
return (Generic1(
"detailedSales",
"tunnel:get:sale:details:product",
{"mdate": globals.Util.get('mdate') ?? globals.Util.getDate()},
"Detailed sales"));
},
'orders': (BuildContext context) {
return (Generic1("orders", "tunnel:get:orders", {}, "Orders"));
},
'orderDetails': (BuildContext context) {
return (Generic1("orderDetails", "tunnel:get:order:details",
{"counter": globals.Util.get('id')}, "Details"));
},
'chequePayments': (BuildContext context) {
return (Generic1("chequePayments", "tunnel:get:cheque:payments", {},
"Cheq payments"));
},
'cashPayments': (BuildContext context) {
return (Generic1(
"cashPayments", "tunnel:get:cash:payments", {}, "Cash payments"));
},
'debitNotes': (BuildContext context) {
return (Generic1(
"debitNotes",
"tunnel:get:debit:credit:notes",
{"class_db": '%', "class_cr": "PURCHASE", "tempid": 0},
"Db notes"));
},
'creditNotes': (BuildContext context) {
return (Generic1("creditNotes", "tunnel:get:debit:credit:notes",
{"class_db": 'SALE', "class_cr": "%", "tempid": 0}, "Cr notes"));
},
'banks': (BuildContext context) {
return (Generic1("banks", "tunnel:get:banks", {}, "Banks"));
},
'bankDetails': (BuildContext context) {
return (Generic1("bankDetails", "tunnel:get:bank:recon:details",
{"accIdbank": globals.Util.get('id')}, "Details"));
},
'jakar': (BuildContext context) {
return (Generic1(
"jakar", "tunnel:get:jakar:on:days", {"mdays": 360}, "Jakar"));
},
'jakarDetails': (BuildContext context) {
return (Generic1(
"jakarDetails",
"tunnel:get:jakar:details",
{"counter_code": globals.Util.get('id'), "mdays": 360},
"Jakar details"));
},
'query':(BuildContext context){
return(Query());
},
'queryBrands':(BuildContext context){
return(QueryBrand());
},
'itemsOnBrand':(BuildContext context){
final brand = globals.Util.get('id1');
return Generic1(
'itemsOnBrand',
'tunnel:get:items:on:brand',
{'brand':brand},
'$brand items'
);
},
'detailsOnBrand':(BuildContext context){
return(DetailsOnBrand());
},
'detailsOnItemBrand':(BuildContext context){
final item = globals.Util.get('id');
final brand = globals.Util.get('id1');
return Generic1(
'detailsOnItemBrand',
'tunnel:get:details:on:item:brand',
{'item': item, 'brand': brand},
'$item $brand details'
);
},
'productDetails':(BuildContext context){
final prId = globals.Util.get('id');
return(ProductDetails(prId));
},
// 'mock':(BuildContext context){
// return(Mock());
// }
},
);
}
}
class EntryItem extends StatelessWidget {
EntryItem(this.entry);
final Entry entry;
BuildContext _context;
Widget _buildTiles(Entry root) {
if (root.children.isEmpty)
return ListTile(
title: Text(root.title),
onTap: () {
Navigator.of(_context).pushNamed(root.routeName);
},
);
return ExpansionTile(
key: PageStorageKey<Entry>(root),
title: Text(root.title),
children: root.children.map<Widget>(_buildTiles).toList(),
);
}
@override
Widget build(BuildContext context) {
this._context = context;
return _buildTiles(entry);
}
}
class Home extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
drawer: Drawer(
child: ListView(
padding: EdgeInsets.zero,
children: <Widget>[
DrawerHeader(
child: Text('Main menu'),
decoration: BoxDecoration(color: Colors.blue)),
ListTile(
title: Text('Login'),leading: Icon(Icons.account_circle),
onTap: () {
Navigator.pop(context);
},
),ListTile(
title: Text('Query builder'), leading:Icon(Icons.query_builder),
onTap: () {
Navigator.pop(context);
},
)
],
),
),
appBar: AppBar(
title: Text('Home'),
),
body: ListView.builder(
itemBuilder: (BuildContext context, int index) =>
EntryItem(data[index]),
itemCount: data.length,
));
}
}
class Entry {
Entry(this.title, this.routeName, [this.children = const <Entry>[]]);
final String title;
final routeName;
final List<Entry> children;
}
final List<Entry> data = <Entry>[
Entry('Accounts', null, <Entry>[
// Entry('Balance Sheet', 'balanceSheet'),
Entry('Cheque Payments', 'chequePayments'),
Entry('Cash payments', 'cashPayments'),
Entry('Debit Notes', 'debitNotes'),
Entry('Credit Notes', 'creditNotes'),
Entry('Banks', 'banks')
]),
Entry('Business', null, <Entry>[
// Entry('Mock', 'mock'),
Entry('Health', 'health'),
Entry('Sales', 'sales'),
Entry('Detailed sales', 'detailedSales'),
Entry('Query', 'query'),
Entry('Orders', 'orders'),
Entry('Jakar', 'jakar')
])
];
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.