content
stringlengths 0
181M
| language
stringclasses 54
values |
|---|---|
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Foundation
class ProxyApiTestClass: ProxyApiSuperClass, ProxyApiInterface {}
open class ProxyApiSuperClass {}
protocol ProxyApiInterface {}
@available(iOS 15, macOS 10, *)
class ClassWithApiRequirement {}
|
Swift
|
//>>built
define(
//begin v1.x content
({
singleSort: "Einzelne Sortierung",
nestedSort: "Verschachtelte Sortierung",
ascending: "Aufsteigend",
descending: "Absteigend",
sortingState: "${0} - ${1}",
unsorted: "Diese Spalte nicht sortieren",
indirectSelectionRadio: "Zeile ${0}, einzelne Auswahl, Optionsfeld",
indirectSelectionCheckBox: "Zeile ${0}, Mehrfachauswahl, Kontrollkästchen",
selectAll: "Alles auswählen"
})
//end v1.x content
);
|
JavaScript
|
%-------------------------------------------------------------------------------------------------------------------------------------------------------------------
\chapter{Distance d'édition}
%-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
TeX
|
-- layer_at1 --
CREATE TABLE `layer_at1` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Rock_Typ` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Rock_Spe` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Orig_Descr` varchar(254) DEFAULT NULL,
`Protected` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at2 --
CREATE TABLE `layer_at2` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Orig_Descr` varchar(254) DEFAULT NULL,
`Buried_Out` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Composit` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Admixtur` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Structur` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Charact` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Morpholo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Glac_Typ` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Ref_Year` varchar(254) DEFAULT NULL,
`Thin_Cov` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at3 --
CREATE TABLE `layer_at3` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Fm_Homog` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Orig_Descr` varchar(254) DEFAULT NULL,
`Buried_Out` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Exotic_Ele` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Colour` varchar(254) DEFAULT NULL,
`Sedi_Main_Com` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Sedi_Seco_Com` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Sedi_Bond_Mat` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Sedi_Bedding` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Sedi_Str` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Sedi_Tex` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Igne_Tex` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Igne_Grain_Si` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Igne_Affinity` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Full_Name` varchar(254) DEFAULT NULL,
`Meta_Mineral` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Meta_Str` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at7 --
CREATE TABLE `layer_at7` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Main_Mov` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at9 --
CREATE TABLE `layer_at9` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Morai_Mo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Glac_Typ` varchar(254) DEFAULT NULL,
`Ice_M_P` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Quat_Str` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Ref_Year` int(11) DEFAULT NULL,
`Source` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at13 --
CREATE TABLE `layer_at13` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Ice_Cave` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at15 --
CREATE TABLE `layer_at15` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Age` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at16 --
CREATE TABLE `layer_at16` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Azimuth` int(11) DEFAULT NULL,
`Plunge` int(11) DEFAULT NULL,
`Fold_Typ` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Fold_For` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at18 --
CREATE TABLE `layer_at18` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Gen_Rela` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at19 --
CREATE TABLE `layer_at19` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Fault_Mo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Verti_Mo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Horiz_Mo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Lim_Tect_B` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Activity` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Meta_Sta` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Name` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at20 --
CREATE TABLE `layer_at20` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Fold_Typ` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Fold_For` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Phase` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Phase_Ref` varchar(254) DEFAULT NULL,
`Plunge_Dir` int(11) DEFAULT NULL,
`Plunge` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at21 --
CREATE TABLE `layer_at21` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Plunge_Dir` int(11) DEFAULT NULL,
`Plunge` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at22 --
CREATE TABLE `layer_at22` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Polarity` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Phase` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Phase_Ref` varchar(254) DEFAULT NULL,
`Ob_Dip_Slo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Dip_Direct` int(11) DEFAULT NULL,
`Dip` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at23 --
CREATE TABLE `layer_at23` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at24 --
CREATE TABLE `layer_at24` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Division` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`System` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Dat_Meth` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Protected` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at25 --
CREATE TABLE `layer_at25` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Material` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Chemistry` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at26 --
CREATE TABLE `layer_at26` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Chemistry` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at27 --
CREATE TABLE `layer_at27` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Orient` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at28 --
CREATE TABLE `layer_at28` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Strati` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Name` varchar(254) DEFAULT NULL,
`Accessibil` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Protected` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at29 --
CREATE TABLE `layer_at29` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Cong_Spe` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Name_Horiz` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Orig_Descr` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at31 --
CREATE TABLE `layer_at31` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at32 --
CREATE TABLE `layer_at32` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Dip_Direct` int(11) DEFAULT NULL,
`Dip` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at33 --
CREATE TABLE `layer_at33` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Altitude` decimal (6,2) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at34 --
CREATE TABLE `layer_at34` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Dip_Direct` int(11) DEFAULT NULL,
`Dip` int(11) DEFAULT NULL,
`Height` decimal (6,2) DEFAULT NULL,
`Mea_Period` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at35 --
CREATE TABLE `layer_at35` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Confine` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Altitude` decimal (6,2) DEFAULT NULL,
`Wa_Table` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at36 --
CREATE TABLE `layer_at36` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Epoch` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Period` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Age` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at37 --
CREATE TABLE `layer_at37` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Epoch` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Period` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Age` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at38 --
CREATE TABLE `layer_at38` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Epoch` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Period` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Age` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at39 --
CREATE TABLE `layer_at39` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Depth_Tot` decimal (6,2) DEFAULT NULL,
`Targ_Mat` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at40 --
CREATE TABLE `layer_at40` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at41 --
CREATE TABLE `layer_at41` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Targ_Mat` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at42 --
CREATE TABLE `layer_at42` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Drill_Mo` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Depth_Bedr` decimal (6,2) DEFAULT NULL,
`D_C_Underg` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Main_Tar` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Targ_Mat` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Depth_Tot` decimal (6,2) DEFAULT NULL,
`Depth_Fm_A` decimal (6,2) DEFAULT NULL,
`Depth_Fm_B` decimal (6,2) DEFAULT NULL,
`Depth_WT` decimal (5,2) DEFAULT NULL,
`Plunge_Dir` int(11) DEFAULT NULL,
`Plunge` int(11) DEFAULT NULL,
`Ref_Number` int(11) DEFAULT NULL,
`Link` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at44 --
CREATE TABLE `layer_at44` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Epoch` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Depth` decimal (5,2) DEFAULT NULL,
`Depth_WT` decimal (5,2) DEFAULT NULL,
`Mea_Period` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at45 --
CREATE TABLE `layer_at45` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Combi` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at46 --
CREATE TABLE `layer_at46` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Rel_Age` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Ref_Year` int(11) DEFAULT NULL,
`Source` varchar(254) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at47 --
CREATE TABLE `layer_at47` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Combi` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- layer_at48 --
CREATE TABLE `layer_at48` (
`OBJECT_ID` int(10) unsigned NOT NULL,
`Status` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Flow_Con` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Type` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Dis_Loca` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Combi` int(11) DEFAULT NULL COMMENT 'ENUMERATION',
`Temp` int(11) DEFAULT NULL,
`Chemistry` varchar(254) DEFAULT NULL,
`Azimuth` int(11) DEFAULT NULL,
PRIMARY KEY (`OBJECT_ID`),
KEY `LAYER_ATX_FKIndex1` (`OBJECT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
PLSQL
|
local func = require('func')
local function get_actions(state, role_name)
return func.filter(
function (a) return a.button.role == role_name end,
state.actions)
end
local function get_states(state, role_name)
local curstates = {}
for _, par in pairs(state.parents) do
if par.state ~= nil and par.state[role_name] ~= nil then
curstates[#curstates+1] = par.state[role_name]
end
end
return curstates
end
local function get_metrics(state, role_name)
local pattern = "^" .. role_name:gsub("-", "%%-") .. "%.(.+)$"
local metrics = {}
local trace = require('trace')
if state.metrics then
metrics = func.filter_pairs(
function (node_id, node_metrics)
local peer = state.peers[node_id]
if peer == nil then
return nil, nil
end
return peer.hostname, func.filter_pairs(
function (k, v)
local localk = k:match(pattern)
if localk ~= nil then
return localk, v
end
end,
node_metrics)
end,
state.metrics)
end
return metrics
end
return {
actions=get_actions,
states=get_states,
metrics=get_metrics,
}
|
Lua
|
/*
* Copyright 2024 the original author or authors.
*
* 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.
*/
package org.gradle.internal.declarativedsl.evaluator.defaults
import org.gradle.declarative.dsl.evaluation.InterpretationStepFeature
import org.gradle.internal.declarativedsl.analysis.ResolutionResult
import org.gradle.internal.declarativedsl.evaluator.features.ResolutionResultHandler
import java.io.Serializable
class DefineModelDefaults : InterpretationStepFeature.ResolutionResultPostprocessing.DefineModelDefaults, Serializable
class ModelDefaultsDefinitionCollector(private val defaultsRegistrar: ModelDefaultsDefinitionRegistrar) : ResolutionResultHandler {
override fun shouldHandleFeature(feature: InterpretationStepFeature.ResolutionResultPostprocessing) =
feature is InterpretationStepFeature.ResolutionResultPostprocessing.DefineModelDefaults
override fun processResolutionResult(resolutionResult: ResolutionResult): ResolutionResult {
defaultsRegistrar.registerDefaults(ModelDefaultsResolutionProcessor.process(resolutionResult))
return resolutionResult
}
}
interface ModelDefaultsDefinitionRegistrar {
fun registerDefaults(modelDefaultsBySoftwareType: Map<String, ModelDefaultsResolutionResults>)
}
|
Kotlin
|
import { reducer, initialState } from '../../js/pages/pending_transactions'
test('CHANNEL_DISCONNECTED', () => {
const state = initialState
const action = {
type: 'CHANNEL_DISCONNECTED'
}
const output = reducer(state, action)
expect(output.channelDisconnected).toBe(true)
})
describe('RECEIVED_NEW_PENDING_TRANSACTION_BATCH', () => {
test('single transaction', () => {
const state = Object.assign({}, initialState, {items:[]})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x00',
transactionHtml: 'test'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual(['test'])
expect(output.pendingTransactionsBatch.length).toEqual(0)
expect(output.pendingTransactionCount).toEqual(1)
})
test('large batch of transactions', () => {
const state = Object.assign({}, initialState, {items:[]})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x01',
transactionHtml: 'test 1'
},{
transactionHash: '0x02',
transactionHtml: 'test 2'
},{
transactionHash: '0x03',
transactionHtml: 'test 3'
},{
transactionHash: '0x04',
transactionHtml: 'test 4'
},{
transactionHash: '0x05',
transactionHtml: 'test 5'
},{
transactionHash: '0x06',
transactionHtml: 'test 6'
},{
transactionHash: '0x07',
transactionHtml: 'test 7'
},{
transactionHash: '0x08',
transactionHtml: 'test 8'
},{
transactionHash: '0x09',
transactionHtml: 'test 9'
},{
transactionHash: '0x10',
transactionHtml: 'test 10'
},{
transactionHash: '0x11',
transactionHtml: 'test 11'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual([])
expect(output.pendingTransactionsBatch.length).toEqual(11)
expect(output.pendingTransactionCount).toEqual(11)
})
test('single transaction after single transaction', () => {
const state = Object.assign({}, initialState, {
items: ['test 0x01'],
pendingTransactionCount: 1
})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x02',
transactionHtml: 'test 0x02'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual(['test 0x02', 'test 0x01'])
expect(output.pendingTransactionsBatch.length).toEqual(0)
expect(output.pendingTransactionCount).toEqual(2)
})
test('single transaction after large batch of transactions', () => {
const state = Object.assign({}, initialState, {
pendingTransactionsBatch: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'],
items: []
})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x12',
transactionHtml: 'test 12'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual([])
expect(output.pendingTransactionsBatch.length).toEqual(12)
})
test('large batch of transactions after large batch of transactions', () => {
const state = Object.assign({}, initialState, {
pendingTransactionsBatch: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'],
items: []
})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x12',
transactionHtml: 'test 12'
},{
transactionHash: '0x13',
transactionHtml: 'test 13'
},{
transactionHash: '0x14',
transactionHtml: 'test 14'
},{
transactionHash: '0x15',
transactionHtml: 'test 15'
},{
transactionHash: '0x16',
transactionHtml: 'test 16'
},{
transactionHash: '0x17',
transactionHtml: 'test 17'
},{
transactionHash: '0x18',
transactionHtml: 'test 18'
},{
transactionHash: '0x19',
transactionHtml: 'test 19'
},{
transactionHash: '0x20',
transactionHtml: 'test 20'
},{
transactionHash: '0x21',
transactionHtml: 'test 21'
},{
transactionHash: '0x22',
transactionHtml: 'test 22'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual([])
expect(output.pendingTransactionsBatch.length).toEqual(22)
})
test('after disconnection', () => {
const state = Object.assign({}, initialState, {
channelDisconnected: true,
items: []
})
const action = {
type: 'RECEIVED_NEW_PENDING_TRANSACTION_BATCH',
msgs: [{
transactionHash: '0x00',
transactionHtml: 'test'
}]
}
const output = reducer(state, action)
expect(output.items).toEqual([])
})
})
describe('RECEIVED_NEW_TRANSACTION', () => {
test('single transaction collated', () => {
const state = Object.assign({}, initialState, {
pendingTransactionCount: 2,
items: ['old 0x00']
})
const action = {
type: 'RECEIVED_NEW_TRANSACTION',
msg: {
transactionHash: '0x00',
transactionHtml: 'new 0x00'
}
}
const output = reducer(state, action)
expect(output.pendingTransactionCount).toBe(1)
expect(output.items).toEqual(['new 0x00'])
})
test('single transaction collated after batch', () => {
const state = Object.assign({}, initialState, {
pendingTransactionsBatch: ['0x01', '0x02', '0x03', '0x04', '0x05', '0x06', '0x07', '0x08', '0x09', '0x0a', '0x0b'],
items: []
})
const action = {
type: 'RECEIVED_NEW_TRANSACTION',
msg: {
transactionHash: '0x01'
}
}
const output = reducer(state, action)
expect(output.pendingTransactionsBatch.length).toEqual(10)
expect(output.pendingTransactionsBatch).not.toContain('0x01')
})
})
|
JavaScript
|
/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#include <pthread-errnos.h>
#include <kernel-features.h>
#include <lowlevellock.h>
#include <stap-probe.h>
.text
#define LOAD_PRIVATE_FUTEX_WAIT(reg) \
movl $(FUTEX_WAIT | FUTEX_PRIVATE_FLAG), reg
#define LOAD_PRIVATE_FUTEX_WAKE(reg) \
movl $(FUTEX_WAKE | FUTEX_PRIVATE_FLAG), reg
#define LOAD_FUTEX_WAIT(reg) \
xorl $(FUTEX_WAIT | FUTEX_PRIVATE_FLAG), reg
#define LOAD_FUTEX_WAIT_ABS(reg) \
xorl $(FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME), reg
#define LOAD_FUTEX_WAKE(reg) \
xorl $(FUTEX_WAKE | FUTEX_PRIVATE_FLAG), reg
.globl __lll_lock_wait_private
.type __lll_lock_wait_private,@function
.hidden __lll_lock_wait_private
.align 16
__lll_lock_wait_private:
cfi_startproc
pushq %r10
cfi_adjust_cfa_offset(8)
pushq %rdx
cfi_adjust_cfa_offset(8)
cfi_offset(%r10, -16)
cfi_offset(%rdx, -24)
xorq %r10, %r10 /* No timeout. */
movl $2, %edx
LOAD_PRIVATE_FUTEX_WAIT (%esi)
cmpl %edx, %eax /* NB: %edx == 2 */
jne 2f
1: LIBC_PROBE (lll_lock_wait_private, 1, %rdi)
movl $SYS_futex, %eax
syscall
2: movl %edx, %eax
xchgl %eax, (%rdi) /* NB: lock is implied */
testl %eax, %eax
jnz 1b
popq %rdx
cfi_adjust_cfa_offset(-8)
cfi_restore(%rdx)
popq %r10
cfi_adjust_cfa_offset(-8)
cfi_restore(%r10)
retq
cfi_endproc
.size __lll_lock_wait_private,.-__lll_lock_wait_private
#if !IS_IN (libc)
.globl __lll_lock_wait
.type __lll_lock_wait,@function
.hidden __lll_lock_wait
.align 16
__lll_lock_wait:
cfi_startproc
pushq %r10
cfi_adjust_cfa_offset(8)
pushq %rdx
cfi_adjust_cfa_offset(8)
cfi_offset(%r10, -16)
cfi_offset(%rdx, -24)
xorq %r10, %r10 /* No timeout. */
movl $2, %edx
LOAD_FUTEX_WAIT (%esi)
cmpl %edx, %eax /* NB: %edx == 2 */
jne 2f
1: LIBC_PROBE (lll_lock_wait, 2, %rdi, %rsi)
movl $SYS_futex, %eax
syscall
2: movl %edx, %eax
xchgl %eax, (%rdi) /* NB: lock is implied */
testl %eax, %eax
jnz 1b
popq %rdx
cfi_adjust_cfa_offset(-8)
cfi_restore(%rdx)
popq %r10
cfi_adjust_cfa_offset(-8)
cfi_restore(%r10)
retq
cfi_endproc
.size __lll_lock_wait,.-__lll_lock_wait
/* %rdi: futex
%rsi: flags
%rdx: timeout
%eax: futex value
*/
.globl __lll_timedlock_wait
.type __lll_timedlock_wait,@function
.hidden __lll_timedlock_wait
.align 16
__lll_timedlock_wait:
cfi_startproc
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
# ifdef PIC
cmpl $0, __have_futex_clock_realtime(%rip)
# else
cmpl $0, __have_futex_clock_realtime
# endif
je .Lreltmo
# endif
cmpq $0, (%rdx)
js 5f
pushq %r9
cfi_adjust_cfa_offset(8)
cfi_rel_offset(%r9, 0)
movq %rdx, %r10
movl $0xffffffff, %r9d
LOAD_FUTEX_WAIT_ABS (%esi)
movl $2, %edx
cmpl %edx, %eax
jne 2f
1: movl $SYS_futex, %eax
movl $2, %edx
syscall
2: xchgl %edx, (%rdi) /* NB: lock is implied */
testl %edx, %edx
jz 3f
cmpl $-ETIMEDOUT, %eax
je 4f
cmpl $-EINVAL, %eax
jne 1b
4: movl %eax, %edx
negl %edx
3: movl %edx, %eax
popq %r9
cfi_adjust_cfa_offset(-8)
cfi_restore(%r9)
retq
5: movl $ETIMEDOUT, %eax
retq
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
/* Check for a valid timeout value. */
cmpq $1000000000, 8(%rdx)
jae 3f
pushq %r8
cfi_adjust_cfa_offset(8)
pushq %r9
cfi_adjust_cfa_offset(8)
pushq %r12
cfi_adjust_cfa_offset(8)
pushq %r13
cfi_adjust_cfa_offset(8)
pushq %r14
cfi_adjust_cfa_offset(8)
cfi_offset(%r8, -16)
cfi_offset(%r9, -24)
cfi_offset(%r12, -32)
cfi_offset(%r13, -40)
cfi_offset(%r14, -48)
pushq %rsi
cfi_adjust_cfa_offset(8)
/* Stack frame for the timespec and timeval structs. */
subq $24, %rsp
cfi_adjust_cfa_offset(24)
movq %rdi, %r12
movq %rdx, %r13
movl $2, %edx
xchgl %edx, (%r12)
testl %edx, %edx
je 6f
1:
/* Get current time. */
movq %rsp, %rdi
xorl %esi, %esi
/* This call works because we directly jump to a system call entry
which preserves all the registers. */
call JUMPTARGET(__gettimeofday)
/* Compute relative timeout. */
movq 8(%rsp), %rax
movl $1000, %edi
mul %rdi /* Milli seconds to nano seconds. */
movq (%r13), %rdi
movq 8(%r13), %rsi
subq (%rsp), %rdi
subq %rax, %rsi
jns 4f
addq $1000000000, %rsi
decq %rdi
4: testq %rdi, %rdi
js 2f /* Time is already up. */
/* Store relative timeout. */
movq %rdi, (%rsp)
movq %rsi, 8(%rsp)
/* Futex call. */
movl $2, %edx
movl $1, %eax
movq %rsp, %r10
movl 24(%rsp), %esi
LOAD_FUTEX_WAIT (%esi)
movq %r12, %rdi
movl $SYS_futex, %eax
syscall
/* NB: %edx == 2 */
xchgl %edx, (%r12)
testl %edx, %edx
je 6f
cmpl $-ETIMEDOUT, %eax
jne 1b
2: movl $ETIMEDOUT, %edx
6: addq $32, %rsp
cfi_adjust_cfa_offset(-32)
popq %r14
cfi_adjust_cfa_offset(-8)
cfi_restore(%r14)
popq %r13
cfi_adjust_cfa_offset(-8)
cfi_restore(%r13)
popq %r12
cfi_adjust_cfa_offset(-8)
cfi_restore(%r12)
popq %r9
cfi_adjust_cfa_offset(-8)
cfi_restore(%r9)
popq %r8
cfi_adjust_cfa_offset(-8)
cfi_restore(%r8)
movl %edx, %eax
retq
3: movl $EINVAL, %eax
retq
# endif
cfi_endproc
.size __lll_timedlock_wait,.-__lll_timedlock_wait
#endif
.globl __lll_unlock_wake_private
.type __lll_unlock_wake_private,@function
.hidden __lll_unlock_wake_private
.align 16
__lll_unlock_wake_private:
cfi_startproc
pushq %rsi
cfi_adjust_cfa_offset(8)
pushq %rdx
cfi_adjust_cfa_offset(8)
cfi_offset(%rsi, -16)
cfi_offset(%rdx, -24)
movl $0, (%rdi)
LOAD_PRIVATE_FUTEX_WAKE (%esi)
movl $1, %edx /* Wake one thread. */
movl $SYS_futex, %eax
syscall
popq %rdx
cfi_adjust_cfa_offset(-8)
cfi_restore(%rdx)
popq %rsi
cfi_adjust_cfa_offset(-8)
cfi_restore(%rsi)
retq
cfi_endproc
.size __lll_unlock_wake_private,.-__lll_unlock_wake_private
#if !IS_IN (libc)
.globl __lll_unlock_wake
.type __lll_unlock_wake,@function
.hidden __lll_unlock_wake
.align 16
__lll_unlock_wake:
cfi_startproc
pushq %rsi
cfi_adjust_cfa_offset(8)
pushq %rdx
cfi_adjust_cfa_offset(8)
cfi_offset(%rsi, -16)
cfi_offset(%rdx, -24)
movl $0, (%rdi)
LOAD_FUTEX_WAKE (%esi)
movl $1, %edx /* Wake one thread. */
movl $SYS_futex, %eax
syscall
popq %rdx
cfi_adjust_cfa_offset(-8)
cfi_restore(%rdx)
popq %rsi
cfi_adjust_cfa_offset(-8)
cfi_restore(%rsi)
retq
cfi_endproc
.size __lll_unlock_wake,.-__lll_unlock_wake
.globl __lll_timedwait_tid
.type __lll_timedwait_tid,@function
.hidden __lll_timedwait_tid
.align 16
__lll_timedwait_tid:
cfi_startproc
pushq %r12
cfi_adjust_cfa_offset(8)
pushq %r13
cfi_adjust_cfa_offset(8)
cfi_offset(%r12, -16)
cfi_offset(%r13, -24)
movq %rdi, %r12
movq %rsi, %r13
/* Align stack to 16 bytes when calling __gettimeofday. */
subq $24, %rsp
cfi_adjust_cfa_offset(24)
/* Get current time. */
2: movq %rsp, %rdi
xorl %esi, %esi
/* This call works because we directly jump to a system call entry
which preserves all the registers. */
call JUMPTARGET(__gettimeofday)
/* Compute relative timeout. */
movq 8(%rsp), %rax
movl $1000, %edi
mul %rdi /* Milli seconds to nano seconds. */
movq (%r13), %rdi
movq 8(%r13), %rsi
subq (%rsp), %rdi
subq %rax, %rsi
jns 5f
addq $1000000000, %rsi
decq %rdi
5: testq %rdi, %rdi
js 6f /* Time is already up. */
movq %rdi, (%rsp) /* Store relative timeout. */
movq %rsi, 8(%rsp)
movl (%r12), %edx
testl %edx, %edx
jz 4f
movq %rsp, %r10
/* XXX The kernel so far uses global futex for the wakeup at
all times. */
#if FUTEX_WAIT == 0
xorl %esi, %esi
#else
movl $FUTEX_WAIT, %esi
#endif
movq %r12, %rdi
movl $SYS_futex, %eax
syscall
cmpl $0, (%rdi)
jne 1f
4: xorl %eax, %eax
8: addq $24, %rsp
cfi_adjust_cfa_offset(-24)
popq %r13
cfi_adjust_cfa_offset(-8)
cfi_restore(%r13)
popq %r12
cfi_adjust_cfa_offset(-8)
cfi_restore(%r12)
retq
cfi_adjust_cfa_offset(32)
1: cmpq $-ETIMEDOUT, %rax
jne 2b
6: movl $ETIMEDOUT, %eax
jmp 8b
cfi_endproc
.size __lll_timedwait_tid,.-__lll_timedwait_tid
#endif
|
Assembly
|
package com.generated.sample.package_6
class Foo466 {
fun foo0(){
Foo465().foo10()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
fun foo6(){
foo5()
}
fun foo7(){
foo6()
}
fun foo8(){
foo7()
}
fun foo9(){
foo8()
}
fun foo10(){
foo9()
}
}
|
Kotlin
|
USE `s1_referees`;
SET @id = 0;
SELECT *,
@rank := IF(@id = `AYSO Volunteer ID`, @rank + 1, 1) AS rank,
@id := `AYSO Volunteer ID`
FROM (
SELECT * FROM `20171031.s1refs`
WHERE
`AYSO Certifications` LIKE '%Referee%' AND
NOT `AYSO Certifications` LIKE '%Assessor%' AND
NOT `AYSO Certifications` LIKE '%Instructor%' AND
NOT `AYSO Certifications` LIKE '%Administrator%' AND
NOT `AYSO Certifications` LIKE '%VIP%' AND
NOT `AYSO Certifications` LIKE '%Course%'
GROUP BY `AYSO Volunteer ID`, FIELD(`AYSO Certifications`,
'National Referee',
'National 2 Referee',
'Advanced Referee',
'Intermediate Referee',
'Regional Referee',
'Regional Referee & Safe Haven Referee',
'z-Online Regional Referee without Safe Haven',
'Z-Online Safe Haven Referee',
'Assistant Referee',
'Assistant Referee & Safe Haven Referee',
'U-8 Official',
'U-8 Official & Safe Haven Referee',
'Safe Haven Referee'
)
) ordered
|
PLSQL
|
#Region "Microsoft.VisualBasic::7eea72b2e1bc2828b2b08092b5eae78f, visualize\Cytoscape\Cytoscape\Graph\Xgmml\File\network\Edge.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.
' /********************************************************************************/
' Summaries:
' Class XGMMLedge
'
' Properties: __internalUID, graphics, id, label, source
' target
'
' Function: ContainsNode, ContainsOneOfNode, ToString
'
' Sub: Assign
'
'
' /********************************************************************************/
#End Region
Imports System.Xml.Serialization
Imports Microsoft.VisualBasic.ComponentModel
Namespace CytoscapeGraphView.XGMML.File
<XmlType("edge")>
Public Class XGMMLedge : Inherits AttributeDictionary
Implements IAddressOf
<XmlAttribute("id")> Public Property id As Integer Implements IAddressOf.Address
<XmlAttribute("label")> Public Property label As String
<XmlElement("graphics")> Public Property graphics As EdgeGraphics
<XmlAttribute("source")> Public Property source As Long
<XmlAttribute("target")> Public Property target As Long
Public Function ContainsNode(id As Long) As Boolean
Return source = id OrElse target = id
End Function
Private Sub Assign(address As Integer) Implements IAddress(Of Integer).Assign
Me.Id = address
End Sub
Public Function ContainsOneOfNode(Id As Integer()) As Boolean
For Each handle In Id
If source = handle OrElse target = handle Then
Return True
End If
Next
Return False
End Function
Public Overrides Function ToString() As String
Return String.Format("{0} ""{1}""", Id, Label)
End Function
''' <summary>
''' 应用于节点的去重
''' </summary>
''' <returns></returns>
Protected Friend ReadOnly Property __internalUID As Long
Get
Dim dt = {source, target}
Return dt.Max * 1000000 + dt.Min
End Get
End Property
End Class
End Namespace
|
VBA
|
import 'package:example/app/locale/i18n.dart';
import 'package:example/features/book/add/view/app_text_field.dart';
import 'package:example/features/public/data/model.dart';
import 'package:example/features/public/data/view_model.dart';
import 'package:flutter/material.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:routex/routex.dart';
import 'package:kohana/kohana.dart';
// ignore: must_be_immutable
class CreateUserView extends BaseView {
final PublicViewModel model;
final CreateUserSink sink;
CreateUserView(this.model, this.sink);
@override
Widget buildWidget(BuildContext context) => PlatformScaffold(
iosContentPadding: true,
appBar: PlatformAppBar(
ios: (context) => CupertinoNavigationBarData(
transitionBetweenRoutes: false,
),
trailingActions: <Widget>[
buildSaveButton(),
],
title: PlatformText(Messages.current.createUser),
),
body: Padding(
padding: const EdgeInsets.all(8.0),
child: Card(
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 20, horizontal: 8),
child: ListTile(
title: AppTextField(
stream: model.usernameUI,
onChanged: sink.addUsername,
labelText: Messages.current.username,
),
),
),
),
),
);
Widget buildSaveButton() => Observer<bool>(
stream: model.isValid,
onSuccess: (_, isValid) => isValid
? FlatButton(
child: Text(Messages.current.createUser),
onPressed: sink.addSaveUserTap,
)
: FlatButton(
child: Text(Messages.current.createUser),
));
@override
void componentDidMount() {
disposeBag.addAll([
model.userSaved.listen(Navigator.of(context).pop),
]);
}
}
|
Dart
|
% This allows you to load the program read_line.pl
% This will allow you to use the read_line predicate in your source file.
:- [read_line].
% This is the top-level term for this toy grammar.
% Note that the the period is also captured when using read_line so
% we account for this by capturing the period in the grammar using the
% end term.
% This rule also introduces the capture of input through our X variable.
word(X) --> noun(X),end.
% This is an example of adding extra info to the captured input.
% In this case, we are adding the extra info that this word is a noun by
% using the n predicate.
noun(n(toy)) --> [toy].
noun(n(car)) --> [car].
end --> ['.'].
% Below are two ways of parsing input using your grammar.
% The first way exposes what Prolog does behind the scenes when you
% use the Definite Clause Grammar (DCG) syntax.
% Full understanding of how DCG syntax is converted into Prolog requires
% understanding of accumulators and difference lists, but full understanding
% is not required to solve this homework.
% parse(Tree,Sentence) :- word(Tree,Sentence,[]).
% This second rule relies on a built in predicate 'phrase' to work with
% the DCG syntax. The phrase predicate hides the details of how DCG is
% converted into Prolog.
parse(Tree,Sentence) :- phrase(word(Tree),Sentence).
% This predicate reads the user input, parses it to see if it is accepted
% by the grammar, and outputs the resulting parse tree if the grammar is
% accepted.
check_input :- read_line(Sent),parse(Tree,Sent),write(Tree).
|
Prolog
|
#!/usr/bin/env bats
setup() {
. "${BATS_TEST_DIRNAME}/../scripts/skip_e2e_check.sh"
load stub
stub git
}
teardown() {
rm_stubs
}
@test "check-skip-e2e : no description given" {
COMMIT_DESCRIPTION=""
run check-skip-e2e
[ "${status}" -eq 0 ]
[ "${output}" == "" ]
}
@test "check-skip-e2e : description with no 'skip e2e'" {
COMMIT_DESCRIPTION="\
Just a regular PR here
Want to run e2e for sure
"
run check-skip-e2e
[ "${status}" -eq 0 ]
[ "${output}" == "" ]
}
@test "check-skip-e2e : description with 'skip e2e'" {
COMMIT_DESCRIPTION="\
Just a regular PR here
[skip e2e]
"
run check-skip-e2e
[ "${status}" -eq 0 ]
[ "${output}" == "SKIP_E2E=true" ]
}
|
Shell
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/input"
"${CMAKE_CURRENT_BINARY_DIR}/input" COPYONLY )
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape31"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape31" COPYONLY )
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape34"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape34" COPYONLY )
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape37"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape37" COPYONLY )
configure_file("${RESOURCES}/g-094-Pu-239-IAEA.endf"
"${CMAKE_CURRENT_BINARY_DIR}/tape20" COPYONLY )
add_test( NAME "Test66"
COMMAND ${Python3_EXECUTABLE} "../execute.py"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" )
|
CMake
|
{-# LANGUAGE FlexibleContexts #-}
module SyntaxLinearizer
( linearize
) where
import Control.Monad.State (MonadState, State, runState)
import qualified Control.Monad.State as State
import Control.Monad.Writer (WriterT, execWriterT)
import qualified Control.Monad.Writer as Writer
import Data.IntMap (IntMap)
import qualified Data.IntMap as IntMap
import qualified LinearSyntax
import qualified SimplifiedSyntax
linearize :: SimplifiedSyntax.Program -> LinearSyntax.Program
linearize p =
LinearSyntax.Program
{ LinearSyntax.programFunctions = fs
, LinearSyntax.programLibraries = SimplifiedSyntax.programLibraries p
, LinearSyntax.programForeignFunctions =
SimplifiedSyntax.programForeignFunctions p
, LinearSyntax.programStrings = SimplifiedSyntax.programStrings p
, LinearSyntax.programVariables = vars finalEnv
, LinearSyntax.programLastFunID = SimplifiedSyntax.programLastFunID p
, LinearSyntax.programLastVarID = lastVarID finalEnv
, LinearSyntax.programLastStringID = SimplifiedSyntax.programLastStringID p
, LinearSyntax.programLastLabelID = lastLabelID finalEnv
}
where
(fs, finalEnv) =
runState (mapM linearizeFunctionDef $ SimplifiedSyntax.programFunctions p) $
Env
{ lastLabelID = LinearSyntax.LabelID 0
, foundVariables = []
, lastVarID = SimplifiedSyntax.programLastVarID p
, vars = SimplifiedSyntax.programVariables p
}
data Env = Env
{ lastLabelID :: LinearSyntax.LabelID
, foundVariables :: [LinearSyntax.Var]
, lastVarID :: LinearSyntax.VarID
, vars :: IntMap LinearSyntax.VarType
}
getVarType :: MonadState Env m => LinearSyntax.VarID -> m LinearSyntax.VarType
getVarType (LinearSyntax.VarID vid) = State.gets ((IntMap.! vid) . vars)
type Linearizer = State Env
linearizeFunctionDef ::
SimplifiedSyntax.FunctionDef -> Linearizer LinearSyntax.FunctionDef
linearizeFunctionDef f = do
State.modify $ \env -> env {foundVariables = []}
body <- execWriterT $ linearizeBlock $ SimplifiedSyntax.funDefBody f
locals <- State.gets foundVariables
pure $
LinearSyntax.FunctionDef
{ LinearSyntax.funDefRetType = SimplifiedSyntax.funDefRetType f
, LinearSyntax.funDefName = SimplifiedSyntax.funDefName f
, LinearSyntax.funDefParams =
map varDeclToVar $ SimplifiedSyntax.funDefParams f
, LinearSyntax.funDefLocals = locals
, LinearSyntax.funDefBody = body
}
where
varDeclToVar (SimplifiedSyntax.VarDecl t v) = LinearSyntax.Var v t
linearizeBlock :: SimplifiedSyntax.Block -> StatementLinearizer ()
linearizeBlock = mapM_ linearizeStatement . SimplifiedSyntax.blockStatements
type StatementLinearizer = WriterT [LinearSyntax.Statement] Linearizer
addStatement :: LinearSyntax.Statement -> StatementLinearizer ()
addStatement s = Writer.tell [s]
newLabel :: StatementLinearizer LinearSyntax.LabelID
newLabel = do
nextLabelID <- State.gets (inc . lastLabelID)
State.modify $ \env -> env {lastLabelID = nextLabelID}
pure nextLabelID
where
inc (LinearSyntax.LabelID lid) = LinearSyntax.LabelID (lid + 1)
linearizeStatement :: SimplifiedSyntax.Statement -> StatementLinearizer ()
linearizeStatement (SimplifiedSyntax.StatementBlock b) = linearizeBlock b
linearizeStatement (SimplifiedSyntax.StatementVarAlloc v) = do
t <- getVarType v
State.modify $ \env ->
env
{ foundVariables =
LinearSyntax.Var {LinearSyntax.varName = v, LinearSyntax.varType = t} :
foundVariables env
}
linearizeStatement (SimplifiedSyntax.StatementFunctionCall fcall) = do
fcall' <- linearizeFunctionCall fcall
addStatement $ LinearSyntax.StatementFunctionCall fcall'
linearizeStatement (SimplifiedSyntax.StatementWhile e b) = do
loopBegin <- newLabel
loopEnd <- newLabel
addStatement $ LinearSyntax.StatementLabel loopBegin
v <- linearizeExpr e
addStatement $ LinearSyntax.StatementJumpIfZero v loopEnd
linearizeBlock b
addStatement $ LinearSyntax.StatementJump loopBegin
addStatement $ LinearSyntax.StatementLabel loopEnd
linearizeStatement (SimplifiedSyntax.StatementAssign v e) = do
t <- getVarType v
e' <- linearizeExprImpl e
addStatement $ LinearSyntax.StatementAssign (LinearSyntax.Var v t) e'
linearizeStatement (SimplifiedSyntax.StatementAssignToPtr p e) = do
t <- getVarType p
v <- linearizeExpr e
addStatement $ LinearSyntax.StatementAssignToPtr (LinearSyntax.Var p t) v
linearizeStatement (SimplifiedSyntax.StatementIfElse e tb fb) = do
v <- linearizeExpr e
elseLabel <- newLabel
endLabel <- newLabel
addStatement $ LinearSyntax.StatementJumpIfZero v elseLabel
linearizeBlock tb
addStatement $ LinearSyntax.StatementJump endLabel
addStatement $ LinearSyntax.StatementLabel elseLabel
linearizeBlock fb
addStatement $ LinearSyntax.StatementLabel endLabel
linearizeStatement (SimplifiedSyntax.StatementReturn Nothing) =
addStatement $ LinearSyntax.StatementReturn Nothing
linearizeStatement (SimplifiedSyntax.StatementReturn (Just e)) = do
v <- linearizeExpr e
addStatement $ LinearSyntax.StatementReturn (Just v)
linearizeFunctionCall ::
SimplifiedSyntax.FunctionCall
-> StatementLinearizer LinearSyntax.FunctionCall
linearizeFunctionCall fcall@SimplifiedSyntax.NativeFunctionCall {} = do
args <- mapM linearizeExpr $ SimplifiedSyntax.nativeFunCallArgs fcall
pure $
LinearSyntax.NativeFunctionCall
{ LinearSyntax.nativeFunCallName =
SimplifiedSyntax.nativeFunCallName fcall
, LinearSyntax.nativeFunCallRetType =
SimplifiedSyntax.nativeFunCallRetType fcall
, LinearSyntax.nativeFunCallArgs = args
}
linearizeFunctionCall fcall@SimplifiedSyntax.ForeignFunctionCall {} = do
args <- mapM linearizeExpr $ SimplifiedSyntax.foreignFunCallArgs fcall
pure $
LinearSyntax.ForeignFunctionCall
{ LinearSyntax.foreignFunCallName =
SimplifiedSyntax.foreignFunCallName fcall
, LinearSyntax.foreignFunCallRetType =
SimplifiedSyntax.foreignFunCallRetType fcall
, LinearSyntax.foreignFunCallArgs = args
}
introduceVariable ::
LinearSyntax.VarType -> StatementLinearizer LinearSyntax.Var
introduceVariable vtype = do
newVarID@(LinearSyntax.VarID vid) <- State.gets (inc . lastVarID)
State.modify $ \env ->
env
{ vars = IntMap.insert vid vtype $ vars env
, lastVarID = newVarID
, foundVariables =
LinearSyntax.Var
{LinearSyntax.varName = newVarID, LinearSyntax.varType = vtype} :
foundVariables env
}
pure $
LinearSyntax.Var
{LinearSyntax.varType = vtype, LinearSyntax.varName = newVarID}
where
inc (LinearSyntax.VarID v) = LinearSyntax.VarID (v + 1)
linearizeExprImpl ::
SimplifiedSyntax.Expr -> StatementLinearizer LinearSyntax.Expr
linearizeExprImpl (SimplifiedSyntax.ExprFunctionCall fcall) =
LinearSyntax.ExprFunctionCall <$> linearizeFunctionCall fcall
linearizeExprImpl (SimplifiedSyntax.ExprVar t v) =
pure $ LinearSyntax.ExprVar (LinearSyntax.Var v t)
linearizeExprImpl (SimplifiedSyntax.ExprDereference t v) =
pure $
LinearSyntax.ExprDereference (LinearSyntax.Var v (LinearSyntax.VarTypePtr t))
linearizeExprImpl (SimplifiedSyntax.ExprAddressOf (LinearSyntax.VarTypePtr t) v) =
pure $ LinearSyntax.ExprAddressOf (LinearSyntax.Var v t)
linearizeExprImpl (SimplifiedSyntax.ExprAddressOf _ _) = error "Type mismatch"
linearizeExprImpl (SimplifiedSyntax.ExprConst c) =
pure $ LinearSyntax.ExprConst c
linearizeExprImpl (SimplifiedSyntax.ExprBinOp op lhs rhs) = do
lhsV <- linearizeExpr lhs
rhsV <- linearizeExpr rhs
pure $ LinearSyntax.ExprBinOp op lhsV rhsV
linearizeExprImpl (SimplifiedSyntax.ExprUnOp op e) = do
v <- linearizeExpr e
pure $ LinearSyntax.ExprUnOp op v
linearizeExpr :: SimplifiedSyntax.Expr -> StatementLinearizer LinearSyntax.Var
linearizeExpr e = do
e' <- linearizeExprImpl e
v <- introduceVariable (LinearSyntax.exprType e')
addStatement $ LinearSyntax.StatementAssign v e'
pure v
|
Haskell
|
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
*/
/**
* Gets URI that identifies the test.
* @return uri identifier of test
*/
function getTargetURI() {
return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodereplacechildnewchilddiffdocument";
}
var docsLoaded = -1000000;
var builder = null;
//
// This function is called by the testing framework before
// running the test suite.
//
// If there are no configuration exceptions, asynchronous
// document loading is started. Otherwise, the status
// is set to complete and the exception is immediately
// raised when entering the body of the test.
//
function setUpPage() {
setUpPageStatus = 'running';
try {
//
// creates test document builder, may throw exception
//
builder = createConfiguredBuilder();
docsLoaded = 0;
var doc1Ref = null;
if (typeof(this.doc1) != 'undefined') {
doc1Ref = this.doc1;
}
docsLoaded += preload(doc1Ref, "doc1", "hc_staff");
var doc2Ref = null;
if (typeof(this.doc2) != 'undefined') {
doc2Ref = this.doc2;
}
docsLoaded += preload(doc2Ref, "doc2", "hc_staff");
if (docsLoaded == 2) {
setUpPageStatus = 'complete';
}
} catch(ex) {
catchInitializationError(builder, ex);
setUpPageStatus = 'complete';
}
}
//
// This method is called on the completion of
// each asychronous load started in setUpTests.
//
// When every synchronous loaded document has completed,
// the page status is changed which allows the
// body of the test to be executed.
function loadComplete() {
if (++docsLoaded == 2) {
setUpPageStatus = 'complete';
}
}
/**
*
The "replaceChild(newChild,oldChild)" method raises a
WRONG_DOCUMENT_ERR DOMException if the "newChild" was
created from a different document than the one that
created this node.
Retrieve the second employee and attempt to replace one
of its children with a node created from a different
document. An attempt to make such a replacement
should raise the desired exception.
* @author Curt Arnold
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NOT_FOUND_ERR'])
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-785887307
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-785887307')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NOT_FOUND_ERR'])
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-785887307
* @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=247
*/
function hc_nodereplacechildnewchilddiffdocument() {
var success;
if(checkInitialization(builder, "hc_nodereplacechildnewchilddiffdocument") != null) return;
var doc1;
var doc2;
var oldChild;
var newChild;
var elementList;
var elementNode;
var replacedChild;
var doc1Ref = null;
if (typeof(this.doc1) != 'undefined') {
doc1Ref = this.doc1;
}
doc1 = load(doc1Ref, "doc1", "hc_staff");
var doc2Ref = null;
if (typeof(this.doc2) != 'undefined') {
doc2Ref = this.doc2;
}
doc2 = load(doc2Ref, "doc2", "hc_staff");
newChild = doc1.createElement("br");
elementList = doc2.getElementsByTagName("p");
elementNode = elementList.item(1);
oldChild = elementNode.firstChild;
{
success = false;
try {
replacedChild = elementNode.replaceChild(newChild,oldChild);
}
catch(ex) {
success = (typeof(ex.code) != 'undefined' && ex.code == 4);
}
assertTrue("throw_WRONG_DOCUMENT_ERR",success);
}
}
function runTest() {
hc_nodereplacechildnewchilddiffdocument();
}
|
JavaScript
|
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2016-2017 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/
#include "rigidBodyMotion.H"
#include "rigidBodySolver.H"
#include "septernion.H"
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
void Foam::RBD::rigidBodyMotion::initialize()
{
// Calculate the initial body-state
forwardDynamicsCorrection(rigidBodyModelState(*this));
X00_ = X0_;
// Update the body-state to correspond to the current joint-state
forwardDynamicsCorrection(motionState_);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::RBD::rigidBodyMotion::rigidBodyMotion(const Time& time)
:
rigidBodyModel(time),
motionState_(*this),
motionState0_(*this),
aRelax_(1.0),
aDamp_(1.0),
report_(false),
solver_(nullptr),
rigidBodyIterations_(1)
{}
Foam::RBD::rigidBodyMotion::rigidBodyMotion
(
const Time& time,
const dictionary& dict
)
:
rigidBodyModel(time, dict),
motionState_(*this, dict),
motionState0_(motionState_),
X00_(X0_.size()),
aRelax_(dict.lookupOrDefault<scalar>("accelerationRelaxation", 1.0)),
aDamp_(dict.lookupOrDefault<scalar>("accelerationDamping", 1.0)),
report_(dict.lookupOrDefault<Switch>("report", false)),
solver_(rigidBodySolver::New(*this, dict.subDict("solver"))),
rigidBodyIterations_(dict.lookupOrDefault<label>("rigidBodyIterations",1)) // JP addition
{
if (dict.found("g"))
{
g() = dict.get<vector>("g");
}
initialize();
}
Foam::RBD::rigidBodyMotion::rigidBodyMotion
(
const Time& time,
const dictionary& dict,
const dictionary& stateDict
)
:
rigidBodyModel(time, dict),
motionState_(*this, stateDict),
motionState0_(motionState_),
X00_(X0_.size()),
aRelax_(dict.lookupOrDefault<scalar>("accelerationRelaxation", 1.0)),
aDamp_(dict.lookupOrDefault<scalar>("accelerationDamping", 1.0)),
report_(dict.lookupOrDefault<Switch>("report", false)),
solver_(rigidBodySolver::New(*this, dict.subDict("solver"))),
rigidBodyIterations_(dict.lookupOrDefault<label>("rigidBodyIterations",1)) // JP addition
{
if (dict.found("g"))
{
g() = dict.get<vector>("g");
}
initialize();
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::RBD::rigidBodyMotion::~rigidBodyMotion()
{}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
Foam::spatialTransform Foam::RBD::rigidBodyMotion::X00
(
const label bodyId
) const
{
if (merged(bodyId))
{
const subBody& mBody = mergedBody(bodyId);
return mBody.masterXT() & X00_[mBody.masterID()];
}
else
{
return X00_[bodyId];
}
}
void Foam::RBD::rigidBodyMotion::forwardDynamics
(
rigidBodyModelState& state,
const scalarField& tau,
const Field<spatialVector>& fx
) const
{
scalarField qDdotPrev = state.qDdot();
rigidBodyModel::forwardDynamics(state, tau, fx);
state.qDdot() = aDamp_*(aRelax_*state.qDdot() + (1 - aRelax_)*qDdotPrev);
}
void Foam::RBD::rigidBodyMotion::solve
(
const scalar t,
const scalar deltaT,
const scalarField& tau,
const Field<spatialVector>& fx
)
{
motionState_.t() = t;
motionState_.deltaT() = deltaT;
if (motionState0_.deltaT() < SMALL)
{
motionState0_.t() = t;
motionState0_.deltaT() = deltaT;
}
if (Pstream::master())
{
//- JP: Added the rigidBodyIterations_ inner loop to converge motion with mooring force at each time.
for ( int ii=0; ii<rigidBodyIterations_; ++ii)
solver_->solve(tau, fx);
}
Pstream::scatter(motionState_);
// Update the body-state to correspond to the current joint-state
forwardDynamicsCorrection(motionState_);
}
void Foam::RBD::rigidBodyMotion::status(const label bodyID) const
{
const spatialTransform CofR(X0(bodyID));
const spatialVector vCofR(v(bodyID, Zero));
Info<< "Rigid-body motion of the " << name(bodyID) << nl
<< " Centre of rotation: " << CofR.r() << nl
<< " Orientation: " << CofR.E() << nl
<< " Linear velocity: " << vCofR.l() << nl
<< " Angular velocity: " << vCofR.w()
<< endl;
}
Foam::tmp<Foam::pointField> Foam::RBD::rigidBodyMotion::transformPoints
(
const label bodyID,
const pointField& initialPoints
) const
{
// Calculate the transform from the initial state in the global frame
// to the current state in the global frame
spatialTransform X(X0(bodyID).inv() & X00(bodyID));
tmp<pointField> tpoints(new pointField(initialPoints.size()));
pointField& points = tpoints.ref();
forAll(points, i)
{
points[i] = X.transformPoint(initialPoints[i]);
}
return tpoints;
}
Foam::tmp<Foam::pointField> Foam::RBD::rigidBodyMotion::transformPoints
(
const label bodyID,
const scalarField& weight,
const pointField& initialPoints
) const
{
// Calculate the transform from the initial state in the global frame
// to the current state in the global frame
spatialTransform X(X0(bodyID).inv() & X00(bodyID));
// Calculate the septernion equivalent of the transformation for 'slerp'
// interpolation
septernion s(X);
tmp<pointField> tpoints(new pointField(initialPoints));
pointField& points = tpoints.ref();
forAll(points, i)
{
// Move non-stationary points
if (weight[i] > SMALL)
{
// Use solid-body motion where weight = 1
if (weight[i] > 1 - SMALL)
{
points[i] = X.transformPoint(initialPoints[i]);
}
// Slerp septernion interpolation
else
{
points[i] =
slerp(septernion::I, s, weight[i])
.transformPoint(initialPoints[i]);
}
}
}
return tpoints;
}
Foam::tmp<Foam::pointField> Foam::RBD::rigidBodyMotion::transformPoints
(
const labelList& bodyIDs,
const List<const scalarField*>& weights,
const pointField& initialPoints
) const
{
List<septernion> ss(bodyIDs.size() + 1);
ss[bodyIDs.size()] = septernion::I;
forAll(bodyIDs, bi)
{
const label bodyID = bodyIDs[bi];
// Calculate the transform from the initial state in the global frame
// to the current state in the global frame
spatialTransform X(X0(bodyID).inv() & X00(bodyID));
// Calculate the septernion equivalent of the transformation
ss[bi] = septernion(X);
}
tmp<pointField> tpoints(new pointField(initialPoints));
pointField& points = tpoints.ref();
List<scalar> w(ss.size());
forAll(points, i)
{
// Initialize to 1 for the far-field weight
scalar sum1mw = 1;
forAll(bodyIDs, bi)
{
w[bi] = (*(weights[bi]))[i];
sum1mw += w[bi]/(1 + SMALL - w[bi]);
}
// Calculate the limiter for wi/(1 - wi) to ensure the sum(wi) = 1
scalar lambda = 1/sum1mw;
// Limit wi/(1 - wi) and sum the resulting wi
scalar sumw = 0;
forAll(bodyIDs, bi)
{
w[bi] = lambda*w[bi]/(1 + SMALL - w[bi]);
sumw += w[bi];
}
// Calculate the weight for the stationary far-field
w[bodyIDs.size()] = 1 - sumw;
points[i] = average(ss, w).transformPoint(initialPoints[i]);
}
return tpoints;
}
// ************************************************************************* //
|
C
|
# Registry.pm
# A perl module provided easy Windows Registry access
#
# Author: Shu-Min Chang
#
# Copyright(c) 2002 Intel Corporation. All rights reserved
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution
# 3. Neither the name of Intel Corporation nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE INTEL CORPORATION AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE INTEL CORPORATION OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVICED OF THE POSSIBILITY OF SUCH
# DAMAGE.
package Registry;
use strict;
use Win32API::Registry 0.21 qw( :ALL );
###############################################################################
#-----------------------------------------
sub GetRegKeyVal($*) {
my ($FullRegPath, $value) = @_;
#-----------------------------------------
# Purpose: uses Win32API to get registry information from a given server
#
# WARNING: this procedure is VERY Win32 specific, you'll need a Win32 manual
# to figure out why something is done.
# input: $FullRegPath: a MS specific way of fully qualifying a registry path
# \\Server\RootKey\Path\ValueName
# output: *value: the value of the registry key of $FullRegPath
#
my ($RemoteMachine, $RootKey, $RegPath, $KeyName, $i);
#print "in sub:GetRegKeyVal:Parameters:", @_, "\n";
# Check the for valid fully qualified registry path
return -1 if (! ($FullRegPath =~ /\\.+\\.+/)) && (!($FullRegPath =~ /\\\\.+\\.+\\.+/));
$RemoteMachine = (index($FullRegPath, "\\\\") == $[ ? substr($FullRegPath, $[+2, index($FullRegPath, "\\", $[+2)-2):0);
#print "RemoteMachine = $RemoteMachine\n";
$i = $RemoteMachine ? $[+3+length($RemoteMachine) : $[+1;
$RootKey = substr ($FullRegPath, $i, index($FullRegPath, "\\", $i)-$i);
$KeyName = $FullRegPath;
$KeyName =~ s/.*\\(.+)/$1/;
#print "KeyName = $KeyName\n";
$i = index($FullRegPath, $RootKey, $[+length($RemoteMachine)) + $[ + length($RootKey)+1;
$RegPath = substr ($FullRegPath, $i, length($FullRegPath) - length($KeyName) -$i - 1);
#print "RegPath = $RegPath\n";
my ($RootKeyHandle, $handle, $key, $type);
if ($RemoteMachine) {
$RootKeyHandle = regConstant($RootKey);
if (!RegConnectRegistry ($RemoteMachine, $RootKeyHandle, $handle)) {
$$value = regLastError();
return -2;
}
} else { # not valid actually because I can't find the mapping table of default
# local handle mapping. Should always pass in the Machine name to use for now
$handle = $RootKey;
}
if (!RegOpenKeyEx ($handle, $RegPath, 0, KEY_READ, $key)) {
$$value = regLastError();
#print "regLastError = $$value\n";
return -3;
}
if (!RegQueryValueEx( $key, $KeyName, [], $type, $$value, [] )) {
$$value = regLastError();
#print "regLastError = $$value\n";
return -4;
}
#print "RegType=$type\n"; # Perl doesn't fetch type, at this in this
# ActiveState 5.6.0 that I'm using
#print "RegValue=$$value\n";
RegCloseKey ($key);
RegCloseKey ($handle);
return 0;
}
###############################################################################
#-----------------------------------------
sub GetRegSubkeyList($*) {
my ($FullKeyRegPath, $Subkeys) = @_;
#-----------------------------------------
# Purpose: uses Win32API to get registry subkey list from a given server
#
# WARNING: this procedure is VERY Win32 specific, you'll need a Win32 manual
# to figure out why something is done.
# input: $FullKeyRegPath: a MS specific way of fully qualifying a registry path
# \\Server\RootKey\Path\KeyName
# output: *Subkeys: the list of subkeys in array of the registry key of
# $FullKeyRegPath
#
my ($RemoteMachine, $RootKey, $RegPath, $KeyName, $i);
#print "in sub:GetRegSubkeyList:Parameters:", @_, "\n";
# Check the for valid registry key path
return -1 if (! ($FullKeyRegPath =~ /\\.+\\.+/)) && (!($FullKeyRegPath =~ /\\\\.+\\.+\\.+/));
$RemoteMachine = (index($FullKeyRegPath, "\\\\") == $[ ? substr($FullKeyRegPath, $[+2, index($FullKeyRegPath, "\\", $[+2)-2):0);
#print "RemoteMachine = $RemoteMachine\n";
$i = $RemoteMachine ? $[+3+length($RemoteMachine) : $[+1;
$RootKey = substr ($FullKeyRegPath, $i, index($FullKeyRegPath, "\\", $i)-$i);
$i = index($FullKeyRegPath, $RootKey, $[+length($RemoteMachine)) + $[ + length($RootKey)+1;
$RegPath = substr ($FullKeyRegPath, $i);
#print "RegPath = $RegPath\n";
my ($RootKeyHandle, $handle, $key, $type);
if ($RemoteMachine) {
$RootKeyHandle = regConstant($RootKey);
if (!RegConnectRegistry ($RemoteMachine, $RootKeyHandle, $handle)) {
@$Subkeys[0]= regLastError();
return -2;
}
} else { # not valid actually because I can't find the mapping table of default
# local handle mapping. Should always pass in the Machine name to use for now
$handle = $RootKey;
}
if (!RegOpenKeyEx ($handle, $RegPath, 0, KEY_READ, $key)) {
@$Subkeys[0] = regLastError();
#print "regLastError = @$Subkeys[0]\n";
return -3;
}
my $tmp;
# For some reason, the regLastError() stays at ERROR_NO_MORE_ITEMS
# in occasional call sequence, so I'm resetting the error code
# before entering the loop
regLastError(0);
for ($i=0; regLastError()==regConstant("ERROR_NO_MORE_ITEMS"); $i++) {
#print "\nERROR: error enumumerating reg\n";
if (RegEnumKeyEx ($key, $i, $tmp, [], [], [], [], [])) {
@$Subkeys[$i] = $tmp;
}
}
#print "RegType=$type\n";
#print "RegValue=@$Subkeys\n";
RegCloseKey ($key);
RegCloseKey ($handle);
return 0;
}
#####################################################
sub ExtractOptionIps ($) {
my ($MSDHCPOption6Value) = @_;
my @ip;
# purpose: DHCP registry specific; to return the extracted IP addresses from
# the input variable
# input:
# $MSDHCPOption6Value: Option 6 was used to develop, but it works for any
# other options of the same datatype.
# output: none
# return:
# @ip: an arry of IP addresses in human readable format.
# First extract the size of the option
my ($byte, $size, $ind1, $ind2, @octet) = unpack("VVVV", $MSDHCPOption6Value);
# print "byte = $byte\nsize=$size\nind1=$ind1\nind2=$ind2\n";
# Calculate total number of bytes that IP addresses occupy
my $number = $size * $ind1;
($byte, $size, $ind1, $ind2, @octet) = unpack("VVVVC$number", $MSDHCPOption6Value);
for (my $i=0; $i<$#octet; $i=$i+4) {
$ip[$i/4] = "$octet[$i+3]\.$octet[$i+2]\.$octet[$i+1]\.$octet[$i]";
}
return @ip;
}
#####################################################
sub ExtractOptionStrings ($) {
my ($MSDHCPOption15Value) = @_;
my @string;
# purpose: DHCP registry specific; to return the extracted string from
# the input variable
# input:
# $MSDHCPOption15Value: Option 15 was used to develop, but it works for any
# other options of the same datatype.
# output: none
# return:
# @string: an arry of strings in human readable format.
# First extract the size of the option
my ($byte, $start, $ind1, $ind2, $size, @data) = unpack("VVVVV", $MSDHCPOption15Value);
# print "byte = $byte\nstart=$start\nind1=$ind1\nind2=$ind2\nsize=$size\n";
# Calculate total number of bytes that IP addresses occupy
my $number = $size * $ind1;
($byte, $start, $ind1, $ind2, $size, @data) = unpack("VVVVVC$number", $MSDHCPOption15Value);
for (my $i=0; $i<$ind1; $i++) {
# actually this is only programmed to do one string, until I see
# example of how the multiple strings are represented, I don't have a
# guess to how to program them properly.
for (my $j=0; $j<$#data & $data[$j]!=0; $j+=2) {
$string[$i] = $string[$i].chr($data[$j]);
}
}
return @string;
}
#####################################################
sub ExtractOptionHex ($) {
my ($MSDHCPOption46Value) = @_;
my @Hex;
# purpose: DHCP registry specific; to return the extracted hex from the input
# variable
# input:
# $MSDHCPOption46Value: Option 46 was used to develop, but it works for any
# other options of the same datatype.
# output: none
# return:
# @Hex: an arry of hex strings in human readable format.
my $Temp;
# First extract the size of the option
my ($byte, $unknown, $ind1, $ind2, @data) = unpack("VVVV", $MSDHCPOption46Value);
# print "byte=$byte\nunknown=$unknown\nind1=$ind1\nind2=$ind2\n";
# Calculate total number of bytes that IP addresses occupy
my $number = $byte - 15;
($byte, $unknown, $ind1, $ind2, @data) = unpack("VVVVC$number", $MSDHCPOption46Value);
# printf "data=%4x\n", $data[0];
for (my $i=0; $i<$ind1; $i++) {
# actually this is only programmed to do one Hex, until I see
# example of how the multiple Hexes are represented, I don't have a
# guess to how to program them properly.
for (my $j=3; $j>=0; $j--) {
$Hex[$i] = $Hex[$i].sprintf ("%x", $data[$j+$i*4]);
}
}
return @Hex;
}
#####################################################
sub ExtractExclusionRanges ($) {
my ($MSDHCPExclusionRanges) = @_;
my @RangeList;
# purpose: DHCP registry specific; to return the extracted exclusion ranges
# from the input variable
# input:
# $MSDHCPExclusionRanges: Exclusion range as DHCP server returns them
# output: none
# return:
# @RangeList: an arry of paird IP addresses strings in human readable format.
# First extract the size of the option
my ($paircount, @data) = unpack("V", $MSDHCPExclusionRanges);
# print "paircount = $paircount\n";
# Calculate total number of bytes that IP addresses occupy
# my $number = $paircount * 4*2;
# ($paircount, @data) = unpack("VC$number", $MSDHCPExclusionRanges);
#
# for (my $i=0; $i<$#data; $i=$i+4) {
# $ip[$i/4] = "$data[$i+3]\.$data[$i+2]\.$data[$i+1]\.$data[$i]";
# }
#
my $number = $paircount * 2;
($paircount, @data) = unpack("VL$number", $MSDHCPExclusionRanges);
for (my $i=0; $i<=$#data; $i++) {
$RangeList[$i] = pack ("L", $data[$i]);
# print "extracted", ExtractIp ($RangeList[$i]), "\n";
}
return @RangeList;
}
#####################################################
sub ExtractIp ($) {
my ($octet) = @_;
# purpose: to return the registry saved IP address in a readable form
# input:
# $octet: a 4 byte data storing the IP address as the registry save it as
# output: none
# return: anonymous variable of a string of IP address
my (@data) = unpack ("C4", $octet);
return "$data[3]\.$data[2]\.$data[1]\.$data[0]";
}
#####################################################
sub ExtractHex ($) {
my ($HexVal) = @_;
my @Hex;
# purpose: to return the registry saved hex number in a readable form
# input:
# $octet: a 4 byte data storing the hex number as the registry save it as
# output: none
# return:
# $Hex: string of hex digit
# First extract the size of the option
my (@data) = unpack("C4", $HexVal);
for (my $i=3; $i>=0; $i--) {
$Hex[0] = $Hex[0] . sprintf ("%x", $data[$i]);
}
return @Hex;
}
1;
|
Perl
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>segment_view</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
<link rel="up" href="../views.html" title="Views">
<link rel="prev" href="box_view.html" title="box_view">
<link rel="next" href="closeable_view.html" title="closeable_view">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="box_view.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../views.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="closeable_view.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="geometry.reference.views.segment_view"></a><a class="link" href="segment_view.html" title="segment_view">segment_view</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="idp123898288"></a>
Makes a segment behave like a linestring or a range.
</p>
<h6>
<a name="geometry.reference.views.segment_view.h0"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.description"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.description">Description</a>
</h6>
<p>
Adapts a segment to the Boost.Range concept, enabling the user to iterate
the two segment points. The segment_view is registered as a LineString
Concept
</p>
<h6>
<a name="geometry.reference.views.segment_view.h1"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.model_of"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.model_of">Model
of</a>
</h6>
<p>
<a class="link" href="../concepts/concept_linestring.html" title="Linestring Concept">LineString
Concept</a>
</p>
<h6>
<a name="geometry.reference.views.segment_view.h2"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.synopsis"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.synopsis">Synopsis</a>
</h6>
<p>
</p>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Segment</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">segment_view</span>
<span class="special">:</span> <span class="keyword">public</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">points_view</span><span class="special"><</span> <span class="identifier">geometry</span><span class="special">::</span><span class="identifier">point_type</span><span class="special"><</span> <span class="identifier">Segment</span> <span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="number">2</span> <span class="special">></span>
<span class="special">{</span>
<span class="comment">// ...</span>
<span class="special">};</span>
</pre>
<p>
</p>
<h6>
<a name="geometry.reference.views.segment_view.h3"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.template_parameter_s_"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.template_parameter_s_">Template
parameter(s)</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Parameter
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody><tr>
<td>
<p>
typename Segment
</p>
</td>
<td>
<p>
A type fulfilling the Segment Concept
</p>
</td>
</tr></tbody>
</table></div>
<h6>
<a name="geometry.reference.views.segment_view.h4"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.constructor_s_"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.constructor_s_">Constructor(s)</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Function
</p>
</th>
<th>
<p>
Description
</p>
</th>
<th>
<p>
Parameters
</p>
</th>
</tr></thead>
<tbody><tr>
<td>
<p>
</p>
<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">segment_view</span><span class="special">(</span><span class="identifier">Segment</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">segment</span><span class="special">)</span></pre>
<p>
</p>
</td>
<td>
<p>
Constructor accepting the segment to adapt.
</p>
</td>
<td>
<p>
<span class="bold"><strong>Segment const &</strong></span>: <span class="emphasis"><em>segment</em></span>:
</p>
</td>
</tr></tbody>
</table></div>
<h6>
<a name="geometry.reference.views.segment_view.h5"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.header"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.header">Header</a>
</h6>
<p>
Either
</p>
<p>
<code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<p>
Or
</p>
<p>
<code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">views</span><span class="special">/</span><span class="identifier">segment_view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
</p>
<h6>
<a name="geometry.reference.views.segment_view.h6"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.complexity"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.complexity">Complexity</a>
</h6>
<p>
Compile time
</p>
<h6>
<a name="geometry.reference.views.segment_view.h7"></a>
<span class="phrase"><a name="geometry.reference.views.segment_view.example"></a></span><a class="link" href="segment_view.html#geometry.reference.views.segment_view.example">Example</a>
</h6>
<p>
Shows usage of the Boost.Range compatible view on a box
</p>
<p>
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">model</span><span class="special">::</span><span class="identifier">segment</span>
<span class="special"><</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">model</span><span class="special">::</span><span class="identifier">point</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">cs</span><span class="special">::</span><span class="identifier">cartesian</span><span class="special">></span>
<span class="special">></span> <span class="identifier">segment_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">segment_view</span><span class="special"><</span><span class="identifier">segment_type</span><span class="special">></span> <span class="identifier">segment_view</span><span class="special">;</span>
<span class="identifier">segment_type</span> <span class="identifier">segment</span><span class="special">;</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">assign_values</span><span class="special">(</span><span class="identifier">segment</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="number">1</span><span class="special">);</span>
<span class="identifier">segment_view</span> <span class="identifier">view</span><span class="special">(</span><span class="identifier">segment</span><span class="special">);</span>
<span class="comment">// Iterating over the points of this segment</span>
<span class="keyword">for</span> <span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">range_iterator</span><span class="special"><</span><span class="identifier">segment_view</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">view</span><span class="special">);</span>
<span class="identifier">it</span> <span class="special">!=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span><span class="identifier">view</span><span class="special">);</span> <span class="special">++</span><span class="identifier">it</span><span class="special">)</span>
<span class="special">{</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" "</span> <span class="special"><<</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">dsv</span><span class="special">(*</span><span class="identifier">it</span><span class="special">);</span>
<span class="special">}</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// Note that a segment_view is tagged as a linestring, so supports length etc.</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Length: "</span> <span class="special"><<</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">geometry</span><span class="special">::</span><span class="identifier">length</span><span class="special">(</span><span class="identifier">view</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>
</pre>
<p>
</p>
<p>
Output:
</p>
<pre class="programlisting">(0, 0) (0, 4) (4, 4) (4, 0) (0, 0)
Area: 16
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2009-2017 Barend
Gehrels, Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its
affiliates<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="box_view.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../views.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="closeable_view.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
|
HTML
|
mutable struct ma57_control{T}
f_arrays::Cint
multiplier::T
reduce::T
u::T
static_tolerance::T
static_level::T
tolerance::T
convergence::T
consist::T
lp::Cint
wp::Cint
mp::Cint
sp::Cint
ldiag::Cint
nemin::Cint
factorblocking::Cint
solveblocking::Cint
la::Cint
liw::Cint
maxla::Cint
maxliw::Cint
pivoting::Cint
thresh::Cint
ordering::Cint
scaling::Cint
rank_deficient::Cint
ispare::NTuple{5, Cint}
rspare::NTuple{10, T}
ma57_control{T}() where {T} = new{T}()
function ma57_control{T}(f_arrays, multiplier, reduce, u, static_tolerance, static_level,
tolerance, convergence, consist, lp, wp, mp, sp, ldiag, nemin,
factorblocking, solveblocking, la, liw, maxla, maxliw, pivoting, thresh,
ordering, scaling, rank_deficient, ispare, rspare) where {T}
return new{T}(f_arrays, multiplier, reduce, u, static_tolerance, static_level, tolerance,
convergence, consist, lp, wp, mp, sp, ldiag, nemin, factorblocking, solveblocking,
la, liw, maxla, maxliw, pivoting, thresh, ordering, scaling, rank_deficient,
ispare, rspare)
end
end
function ma57_default_control_s(control)
@ccall libhsl.ma57_default_control_s(control::Ref{ma57_control{Float32}})::Cvoid
end
function ma57_init_factors_s(factors)
@ccall libhsl.ma57_init_factors_s(factors::Ptr{Ptr{Cvoid}})::Cvoid
end
mutable struct ma57_ainfo{T}
opsa::T
opse::T
flag::Cint
more::Cint
nsteps::Cint
nrltot::Cint
nirtot::Cint
nrlnec::Cint
nirnec::Cint
nrladu::Cint
niradu::Cint
ncmpa::Cint
ordering::Cint
oor::Cint
dup::Cint
maxfrt::Cint
stat::Cint
ispare::NTuple{5, Cint}
rspare::NTuple{10, T}
ma57_ainfo{T}() where {T} = new{T}()
function ma57_ainfo{T}(opsa, opse, flag, more, nsteps, nrltot, nirtot, nrlnec, nirnec, nrladu,
niradu, ncmpa, ordering, oor, dup, maxfrt, stat, ispare, rspare) where {T}
return new{T}(opsa, opse, flag, more, nsteps, nrltot, nirtot, nrlnec, nirnec, nrladu, niradu,
ncmpa, ordering, oor, dup, maxfrt, stat, ispare, rspare)
end
end
function ma57_analyse_s(n, ne, row, col, factors, control, ainfo, perm)
@ccall libhsl.ma57_analyse_s(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
ainfo::Ref{ma57_ainfo{Float32}}, perm::Ptr{Cint})::Cvoid
end
mutable struct ma57_finfo{T}
opsa::T
opse::T
opsb::T
maxchange::T
smin::T
smax::T
flag::Cint
more::Cint
maxfrt::Cint
nebdu::Cint
nrlbdu::Cint
nirbdu::Cint
nrltot::Cint
nirtot::Cint
nrlnec::Cint
nirnec::Cint
ncmpbr::Cint
ncmpbi::Cint
ntwo::Cint
neig::Cint
delay::Cint
signc::Cint
static_::Cint
modstep::Cint
rank::Cint
stat::Cint
ispare::NTuple{5, Cint}
rspare::NTuple{10, T}
ma57_finfo{T}() where {T} = new{T}()
function ma57_finfo{T}(opsa, opse, opsb, maxchange, smin, smax, flag, more, maxfrt, nebdu, nrlbdu,
nirbdu, nrltot, nirtot, nrlnec, nirnec, ncmpbr, ncmpbi, ntwo, neig, delay,
signc, static_, modstep, rank, stat, ispare, rspare) where {T}
return new{T}(opsa, opse, opsb, maxchange, smin, smax, flag, more, maxfrt, nebdu, nrlbdu,
nirbdu, nrltot, nirtot, nrlnec, nirnec, ncmpbr, ncmpbi, ntwo, neig, delay, signc,
static_, modstep, rank, stat, ispare, rspare)
end
end
function ma57_factorize_s(n, ne, row, col, val, factors, control, finfo)
@ccall libhsl.ma57_factorize_s(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
val::Ptr{Float32}, factors::Ptr{Ptr{Cvoid}},
control::Ref{ma57_control{Float32}},
finfo::Ref{ma57_finfo{Float32}})::Cvoid
end
mutable struct ma57_sinfo{T}
cond::T
cond2::T
berr::T
berr2::T
error::T
flag::Cint
stat::Cint
ispare::NTuple{5, Cint}
rspare::NTuple{10, T}
ma57_sinfo{T}() where {T} = new{T}()
function ma57_sinfo{T}(cond, cond2, berr, berr2, error, flag, stat, ispare, rspare) where {T}
return new{T}(cond, cond2, berr, berr2, error, flag, stat, ispare, rspare)
end
end
function ma57_solve_s(n, ne, row, col, val, factors, nrhs, x, control, sinfo, rhs, iter, cond)
@ccall libhsl.ma57_solve_s(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
val::Ptr{Float32}, factors::Ptr{Ptr{Cvoid}}, nrhs::Cint,
x::Ptr{Float32}, control::Ref{ma57_control{Float32}},
sinfo::Ref{ma57_sinfo{Float32}}, rhs::Ptr{Float32}, iter::Cint,
cond::Cint)::Cvoid
end
function ma57_finalize_s(factors, control, info)
@ccall libhsl.ma57_finalize_s(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
info::Ptr{Cint})::Cvoid
end
function ma57_enquire_perm_s(control, factors, perm)
@ccall libhsl.ma57_enquire_perm_s(control::Ref{ma57_control{Float32}}, factors::Ptr{Ptr{Cvoid}},
perm::Ptr{Cint})::Cvoid
end
function ma57_enquire_pivots_s(control, factors, pivots)
@ccall libhsl.ma57_enquire_pivots_s(control::Ref{ma57_control{Float32}}, factors::Ptr{Ptr{Cvoid}},
pivots::Ptr{Cint})::Cvoid
end
function ma57_enquire_d_s(factors, d)
@ccall libhsl.ma57_enquire_d_s(factors::Ptr{Ptr{Cvoid}}, d::Ptr{Float32})::Cvoid
end
function ma57_enquire_perturbation_s(factors, perturbation)
@ccall libhsl.ma57_enquire_perturbation_s(factors::Ptr{Ptr{Cvoid}},
perturbation::Ptr{Float32})::Cvoid
end
function ma57_enquire_scaling_s(factors, scaling)
@ccall libhsl.ma57_enquire_scaling_s(factors::Ptr{Ptr{Cvoid}},
scaling::Ptr{Float32})::Cvoid
end
function ma57_alter_d_s(factors, d, info)
@ccall libhsl.ma57_alter_d_s(factors::Ptr{Ptr{Cvoid}}, d::Ptr{Float32},
info::Ptr{Cint})::Cvoid
end
function ma57_part_solve_s(factors, control, part, nrhs, x, info)
@ccall libhsl.ma57_part_solve_s(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
part::Cchar, nrhs::Cint, x::Ptr{Float32},
info::Ptr{Cint})::Cvoid
end
function ma57_sparse_lsolve_s(factors, control, nzrhs, irhs, nzsoln, isoln, x, sinfo)
@ccall libhsl.ma57_sparse_lsolve_s(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
nzrhs::Cint, irhs::Ptr{Cint}, nzsoln::Ptr{Cint},
isoln::Ptr{Cint}, x::Ptr{Float32},
sinfo::Ref{ma57_sinfo{Float32}})::Cvoid
end
function ma57_fredholm_alternative_s(factors, control, x, fredx, sinfo)
@ccall libhsl.ma57_fredholm_alternative_s(factors::Ptr{Ptr{Cvoid}},
control::Ref{ma57_control{Float32}},
x::Ptr{Float32}, fredx::Ptr{Float32},
sinfo::Ref{ma57_sinfo{Float32}})::Cvoid
end
function ma57_lmultiply_s(factors, control, trans, x, y, sinfo)
@ccall libhsl.ma57_lmultiply_s(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
trans::Cchar, x::Ptr{Float32}, y::Ptr{Float32},
sinfo::Ref{ma57_sinfo{Float32}})::Cvoid
end
function ma57_get_factors_s(factors, control, nzl, iptrl, lrows, lvals, nzd, iptrd, drows, dvals,
perm, invperm, scale, sinfo)
@ccall libhsl.ma57_get_factors_s(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float32}},
nzl::Ptr{Cint}, iptrl::Ptr{Cint}, lrows::Ptr{Cint},
lvals::Ptr{Float32}, nzd::Ptr{Cint}, iptrd::Ptr{Cint},
drows::Ptr{Cint}, dvals::Ptr{Float32}, perm::Ptr{Cint},
invperm::Ptr{Cint}, scale::Ptr{Float32},
sinfo::Ref{ma57_sinfo{Float32}})::Cvoid
end
function ma57_default_control_d(control)
@ccall libhsl.ma57_default_control_d(control::Ref{ma57_control{Float64}})::Cvoid
end
function ma57_init_factors_d(factors)
@ccall libhsl.ma57_init_factors_d(factors::Ptr{Ptr{Cvoid}})::Cvoid
end
function ma57_analyse_d(n, ne, row, col, factors, control, ainfo, perm)
@ccall libhsl.ma57_analyse_d(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
ainfo::Ref{ma57_ainfo{Float64}}, perm::Ptr{Cint})::Cvoid
end
function ma57_factorize_d(n, ne, row, col, val, factors, control, finfo)
@ccall libhsl.ma57_factorize_d(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
val::Ptr{Float64}, factors::Ptr{Ptr{Cvoid}},
control::Ref{ma57_control{Float64}},
finfo::Ref{ma57_finfo{Float64}})::Cvoid
end
function ma57_solve_d(n, ne, row, col, val, factors, nrhs, x, control, sinfo, rhs, iter, cond)
@ccall libhsl.ma57_solve_d(n::Cint, ne::Cint, row::Ptr{Cint}, col::Ptr{Cint},
val::Ptr{Float64}, factors::Ptr{Ptr{Cvoid}}, nrhs::Cint,
x::Ptr{Float64}, control::Ref{ma57_control{Float64}},
sinfo::Ref{ma57_sinfo{Float64}}, rhs::Ptr{Float64}, iter::Cint,
cond::Cint)::Cvoid
end
function ma57_finalize_d(factors, control, info)
@ccall libhsl.ma57_finalize_d(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
info::Ptr{Cint})::Cvoid
end
function ma57_enquire_perm_d(control, factors, perm)
@ccall libhsl.ma57_enquire_perm_d(control::Ref{ma57_control{Float64}}, factors::Ptr{Ptr{Cvoid}},
perm::Ptr{Cint})::Cvoid
end
function ma57_enquire_pivots_d(control, factors, pivots)
@ccall libhsl.ma57_enquire_pivots_d(control::Ref{ma57_control{Float64}}, factors::Ptr{Ptr{Cvoid}},
pivots::Ptr{Cint})::Cvoid
end
function ma57_enquire_d_d(factors, d)
@ccall libhsl.ma57_enquire_d_d(factors::Ptr{Ptr{Cvoid}}, d::Ptr{Float64})::Cvoid
end
function ma57_enquire_perturbation_d(factors, perturbation)
@ccall libhsl.ma57_enquire_perturbation_d(factors::Ptr{Ptr{Cvoid}},
perturbation::Ptr{Float64})::Cvoid
end
function ma57_enquire_scaling_d(factors, scaling)
@ccall libhsl.ma57_enquire_scaling_d(factors::Ptr{Ptr{Cvoid}},
scaling::Ptr{Float64})::Cvoid
end
function ma57_alter_d_d(factors, d, info)
@ccall libhsl.ma57_alter_d_d(factors::Ptr{Ptr{Cvoid}}, d::Ptr{Float64},
info::Ptr{Cint})::Cvoid
end
function ma57_part_solve_d(factors, control, part, nrhs, x, info)
@ccall libhsl.ma57_part_solve_d(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
part::Cchar, nrhs::Cint, x::Ptr{Float64},
info::Ptr{Cint})::Cvoid
end
function ma57_sparse_lsolve_d(factors, control, nzrhs, irhs, nzsoln, isoln, x, sinfo)
@ccall libhsl.ma57_sparse_lsolve_d(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
nzrhs::Cint, irhs::Ptr{Cint}, nzsoln::Ptr{Cint},
isoln::Ptr{Cint}, x::Ptr{Float64},
sinfo::Ref{ma57_sinfo{Float64}})::Cvoid
end
function ma57_fredholm_alternative_d(factors, control, x, fredx, sinfo)
@ccall libhsl.ma57_fredholm_alternative_d(factors::Ptr{Ptr{Cvoid}},
control::Ref{ma57_control{Float64}},
x::Ptr{Float64}, fredx::Ptr{Float64},
sinfo::Ref{ma57_sinfo{Float64}})::Cvoid
end
function ma57_lmultiply_d(factors, control, trans, x, y, sinfo)
@ccall libhsl.ma57_lmultiply_d(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
trans::Cchar, x::Ptr{Float64}, y::Ptr{Float64},
sinfo::Ref{ma57_sinfo{Float64}})::Cvoid
end
function ma57_get_factors_d(factors, control, nzl, iptrl, lrows, lvals, nzd, iptrd, drows, dvals,
perm, invperm, scale, sinfo)
@ccall libhsl.ma57_get_factors_d(factors::Ptr{Ptr{Cvoid}}, control::Ref{ma57_control{Float64}},
nzl::Ptr{Cint}, iptrl::Ptr{Cint}, lrows::Ptr{Cint},
lvals::Ptr{Float64}, nzd::Ptr{Cint}, iptrd::Ptr{Cint},
drows::Ptr{Cint}, dvals::Ptr{Float64}, perm::Ptr{Cint},
invperm::Ptr{Cint}, scale::Ptr{Float64},
sinfo::Ref{ma57_sinfo{Float64}})::Cvoid
end
|
Julia
|
package rateLog
import (
"fmt"
)
// 日志中的前缀标题
const (
titleDebug = "[DEBUG]"
titleInfo = "[INFO]"
titleWarn = "[WARN]"
titleError = "[ERROR]"
titleFatal = "[FATAL]"
)
// 日志优先级
type Priority int
type LevelLog struct {
log ILogger
level Priority
}
const (
LevelAll Priority = iota
LevelDebug
LevelInfo
LevelWarn
LevelError
LevelFatal
LevelOff
)
// NewLevelLog 写入等级日志
// 级别高于logLevel才会被写入
func NewLevelLog(log ILogger, logLevel Priority) *LevelLog {
return &LevelLog{
log: log,
level: logLevel,
}
}
func (l *LevelLog) SetLevel(logLevel Priority) {
l.level = logLevel
}
func (l *LevelLog) Debug(v ...interface{}) error {
return l.output(LevelDebug, titleDebug, v...)
}
func (l *LevelLog) Info(v ...interface{}) error {
return l.output(LevelInfo, titleInfo, v...)
}
func (l *LevelLog) Warn(v ...interface{}) error {
return l.output(LevelWarn, titleWarn, v...)
}
func (l *LevelLog) Error(v ...interface{}) error {
return l.output(LevelError, titleError, v...)
}
func (l *LevelLog) Fatal(v ...interface{}) error {
return l.output(LevelFatal, titleFatal, v...)
}
func (l *LevelLog) Output(s string) error {
return l.log.Output(s)
}
//************************** Private ********************
func (l *LevelLog) output(level Priority, title string, v ...interface{}) error {
if level >= l.level {
return l.log.Output(title + " " + fmt.Sprint(v...))
}
return nil
}
|
Go
|
!***********************************************************************
! *
PROGRAM BIOSCL
! *
! This program calculates the transition parameters for a *
! transition between an initial and a final state *
! The program assumes that the radial orbitals of the initial *
! and final state have been transformed by the BIOTRA program *
! as to become biorthonormal, in which case the normal Racah *
! algebra can be used. *
! *
! Written by Per Jonsson, Department of Computer Science *
! Vanderbilt University, USA *
! *
! Modified by Gediminas Gaigalas for new spin-angular integration *
! and for reducing usage of CPU memory. NIST, October 2017 *
! *
!***********************************************************************
!...Translated by Pacific-Sierra Research 77to90 4.3E 13:35:54 1/ 3/07
!...Modified by Charlotte Froese Fischer
! Gediminas Gaigalas 10/05/17
!-----------------------------------------------
! M o d u l e s
!-----------------------------------------------
USE vast_kind_param, ONLY: DOUBLE
USE default_C
USE debug_C, ONLY: LDBPR, CUTOFF
!-----------------------------------------------
! I n t e r f a c e B l o c k s
!-----------------------------------------------
USE getyn_I
USE setmc_I
USE setcon_I
USE fname_I
USE mrgcsl_I
USE setcslm_I
USE getosd_I
USE strsum_I
USE factt_I
USE oscl_I
USE mpi_C
IMPLICIT NONE
!-----------------------------------------------
! L o c a l V a r i a b l e s
!-----------------------------------------------
INTEGER :: NTEST,NCOUNT1,ILBL,lenperm,lentmp, iii
LOGICAL :: YES
CHARACTER, DIMENSION(2) :: NAME*24
CHARACTER, DIMENSION(2) :: FULLNAME*128
CHARACTER(LEN=3) :: idstring
CHARACTER(LEN=128) :: ISOFILE,startdir,permdir,tmpdir
!-----------------------------------------------
!
!=======================================================================
! Start mpi --- get processor info: myid, nprocs, host name; and print
!=======================================================================
CALL startmpi2 (myid, nprocs, host, lenhost, ncount1, &
startdir, permdir, tmpdir, 'RTRANSITION_MPI')
WRITE (idstring, '(I3.3)') myid
print*, tmpdir , ' = tmpdir'
lenperm = LEN_TRIM (permdir)
lentmp = LEN_TRIM (tmpdir)
!=======================================================================
ISOFILE = trim(startdir)//'/isodata'
NTEST = 1001
IF (myid .EQ. 0) THEN
WRITE (6, *)
WRITE (6, *) ' Default settings?'
YES = GETYN()
WRITE (6, *)
IF (YES) THEN
NDEF = 0
NDUMP = 1
ELSE
NDEF = 1
WRITE (6, *) ' Dump angular data to file?'
YES = GETYN()
IF (YES) THEN
NDUMP = 1
ELSE
NDUMP = 0
ENDIF
ENDIF
WRITE (6, *)
WRITE (6, *) ' Input from a CI calculation?'
YES = GETYN()
WRITE (6, *)
IF (YES) THEN
INPCI = 0
ELSE
INPCI = 1
ENDIF
ENDIF !myid=0
CALL MPI_Bcast (NDEF,1,MPI_INTEGER,0,MPI_COMM_WORLD,ierr)
CALL MPI_Bcast (NDUMP,1,MPI_INTEGER,0,MPI_COMM_WORLD,ierr)
CALL MPI_Bcast (INPCI,1,MPI_INTEGER,0,MPI_COMM_WORLD,ierr)
!Rasa -- start
!GG LDBPR = .FALSE.
! WRITE (6, *) ' Generate debug output?'
! YES = GETYN()
! WRITE (6, *)
! IF (YES) THEN
! LDBPR(18) = .TRUE.
! WRITE (6, *) ' Enter the cutoff'
! READ (5, *) CUTOFF
! ENDIF
!Rasa -- end
!
! Perform machine- and installation-dependent setup
!
CALL SETMC
!
! Set up the physical constants
!
CALL SETCON
!
! Obtain the names of the initial and final state files
!
IF (myid .EQ. 0) CALL FNAME(NAME)
CALL MPI_Bcast (NAME,48,MPI_CHARACTER,0,MPI_COMM_WORLD,ierr)
FULLNAME(1) = TRIM(startdir) // '/' // TRIM(NAME(1))
FULLNAME(2) = TRIM(startdir) // '/' // TRIM(NAME(2))
!
! Open, check, load data from, and close, the initial and final state
! .csl files. These files are then merged to one file.
!
!cjb print FULLNAME1= FULLNAME2=
IF (myid .EQ. 0) then
print*,"FULLNAME1=",FULLNAME(1)
print*,"FULLNAME2=",FULLNAME(2)
end if
CALL MRGCSL (FULLNAME)
!
! Open, check, load data from, and close, the merged .csl file
!
CALL SETCSLM
!
! Read mixing coefficients
!
! CALL READMIX(NAME,INPCI)
!
! Test mixing coefficients
!
! IF (NTEST.GT.1000) CALL TESTMIX
!
! Open, check, load data from, and close the .iso file
!
CALL SETISO(ISOFILE)
!
! Get the remaining information
!
CALL GETOSD (FULLNAME)
!
! Open and append a summary of the inputs to the .sum file
!
if (myid == 0) then
iii = len_trim(startdir)
call sys_chdir(trim(startdir),iii,ierr)
if (ierr.ne.0) then
print *, "error changing dir!"
call exit(1)
endif
CALL STRSUM(NAME,INPCI,ILBL)
iii = len_trim(tmpdir)
call sys_chdir(trim(tmpdir)//'/'//idstring,iii+4,ierr)
if (ierr.ne.0) then
print *, "Error changing dir!"
call exit(1)
endif
endif !myid = 0
!
! Set up the table of logarithms of factorials
!
CALL FACTT
!
! Proceed with the transition calculation
!
CALL OSCL (NAME,FULLNAME,tmpdir,startdir,idstring)
!
! Print completion message
!
IF (myid .EQ. 0) THEN
PRINT *
PRINT *, 'RTRANSITION_MPI: Execution complete.'
ENDIF
!=======================================================================
! Execution finished; Statistics output
!=======================================================================
CALL stopmpi2 (myid, nprocs, host, lenhost, &
ncount1, 'RTRANSITION_MPI')
!=======================================================================
!
STOP
END PROGRAM BIOSCL
|
Fortran Free Form
|
(ns integration.web_service
(:import [java.lang.String])
(:require [clojure.test :refer :all]
[ring.mock.request :as mock]
[wspsql.handler :refer :all]
[wspsql.models.graph :as graph]
[wspsql.models.fraud :as fraud]
[wspsql.models.edges :as edges]
[wspsql.models.migration :as migration]
[clojure.data.json :as json]))
(deftest test-endpoints
;Testes /
(testing "GET main"
(let [response (app (mock/request :get "/"))]
(is (= (:status response) 200))
(is (not (nil? (response :body))))
(is (.contains (response :body) "Web Service - Analise Grafos"))))
(testing "OPTIONS main"
(let [response (app (mock/request :options "/"))]
(is (= (response :status) 200))
(is (.contains (response :body) "version"))))
(testing "HEAD main"
(let [response (app (mock/request :head "/"))]
(is (= (response :status) 200))
(is (nil? (response :body)))))
(testing "Not Found main"
(let [response (app (mock/request :get "/invalid"))]
(is (= (:status response) 404))))
;testes /edges
(testing "GET edges"
(let [response (app (mock/request :get "/edges"))]
(is (= (:status response) 200))
(is (not (nil? (response :body))))
(is (.contains (response :body) "Web Service - Analise Grafos"))))
(testing "OPTIONS edges"
(let [response (app (mock/request :options "/edges"))]
(is (= (response :status) 200))
(is (.contains (response :body) "Mostra todas as"))))
(testing "HEAD edges"
(let [response (app (mock/request :head "/edges"))]
(is (= (response :status) 200))
(is (nil? (response :body)))))
(testing "Not Found edges"
(let [response (app (mock/request :get "/edges/invalid"))]
(is (= (:status response) 404))))
;testes /graph
(testing "GET graph"
(let [response (app (mock/request :get "/graph"))]
(is (= (:status response) 200))
(is (not (nil? (response :body))))
(is (.contains (response :body) "Web Service - Analise Grafos"))))
(testing "OPTIONS graph"
(let [response (app (mock/request :options "/graph"))]
(is (= (response :status) 200))
(is (.contains (response :body) "tabela com os nos"))))
(testing "HEAD graph"
(let [response (app (mock/request :head "/graph"))]
(is (= (response :status) 200))
(is (nil? (response :body)))))
(testing "Not Found graph"
(let [response (app (mock/request :get "/graph/invalid"))]
(is (= (:status response) 404))))
;testes /fraud
(testing "GET fraud"
(let [response (app (mock/request :get "/fraud"))]
(is (= (:status response) 200))
(is (not (nil? (response :body))))
(is (.contains (response :body) "Web Service - Analise Grafos"))))
(testing "OPTIONS fraud"
(let [response (app (mock/request :options "/fraud"))]
(is (= (response :status) 200))
(is (.contains (response :body) "possuem fraude"))))
(testing "HEAD fraud"
(let [response (app (mock/request :head "/fraud"))]
(is (= (response :status) 200))
(is (nil? (response :body)))))
(testing "Not Found fraud"
(let [response (app (mock/request :get "/fraud/invalid"))]
(is (= (:status response) 404)))))
(deftest test-managing-edges
;;Insercao de edge por put e deleao
(testing "Put-Delete edges"
(migration/remove-all-data)
(app (mock/request :put "/edges/1/2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 1.0)))
(app (mock/request :delete "/edges/1/2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 404))
(def body (json/read-json (response :body)))
(is (not (contains? body :no)))
(is (= body nil))))
;;Insercao de edge por post e deleao
(testing "Post-Delete edges"
(migration/remove-all-data)
(app (mock/request :post "/edges/" {:no_a 1, :no_b 2} ))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 1.0)))
(app (mock/request :delete "/edges/1/2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 404))
(def body (json/read-json (response :body)))
(is (not (contains? body :no)))
(is (= body nil)))
(app (mock/request :post "/edges/?no_a=1&no_b=2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 1.0)))
(app (mock/request :delete "/edges/1/2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 404))
(def body (json/read-json (response :body)))
(is (not (contains? body :no)))
(is (= body nil))))
;;Teste que verifica de uma forma geral o controle de edges, simula 4 grafos e calcula a centralidade dos nós de cada uma
(testing "Managing Edges"
(migration/remove-all-data)
;PRIMEIRA grafo - EDGES: 1-2 - FARNESS 1=1 2=1
(app (mock/request :put "/edges/1/2"))
;Confere o valor do closeness do no 1
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 1.0)))
;Confere o valor do closeness do no 1
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 1.0)))
;SEGUNDA grafo - EDGES: 1-2, 2-3, 2-4 - FARNESS 1=5 2=3 3=5 4=5
(app (mock/request :post "/edges/" {:no_a 2, :no_b 3} ))
(app (mock/request :post "/edges/?no_a=2&no_b=4" ))
(def nodesFarness [5 3 5 5])
;Confere o valor do closeness do no 1
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 0)) ; 5 é o farness do no 1 na segunda grafo, 1/5 é o closeness do no
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Confere o valor do closeness do no 2
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Confere o valor do closeness do no 3
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Confere o valor do closeness do no 4
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;TERCEIRA grafo - EDGES: 1-2, 1-3, 2-4, 3-5, 3-6 - FARNESS 1=8 2=10 3=8 4=14 5=12 6=12
(app (mock/request :delete "/edges/3/2"))
(app (mock/request :put "/edges/1/3"))
(app (mock/request :put "/edges/5/3"))
(app (mock/request :put "/edges/3/6"))
(def nodesFarness [8 10 8 14 12 12])
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 0))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/6"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 6))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 5))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;QUARTA grafo - EDGES: 1-2, 1-3, 2-4, 3-4, 3-6, 4-6, 4-5, 5-6 - FARNESS 1=9 2=8 3=7 4=6 5=9 6=7
(app (mock/request :delete "/edges/3/5"))
(app (mock/request :put "/edges/4/3"))
(app (mock/request :put "/edges/4/5"))
(app (mock/request :put "/edges/4/6"))
(app (mock/request :put "/edges/5/6"))
(def nodesFarness [9 8 7 6 9 7])
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 0))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/6"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 6))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 5))
double
(format "%1.8f")
read-string
(= (body :closeness)))))))
;;;;Esse teste se consite em testar o sistema de fraudes, a ideia é criar dois grafos. No primeiro fraudar dois nos, e ver se o decaimento de score ocorre corretamente.
;;;;No segundo fraudaremos nó a nó até fraudar todos.
(deftest test-fraud-edges-first-graph
;;PRIMEIRO grafo - EDGES: 1-2, 1-3, 2-4, 3-5, 3-6 - FARNESS 1=8 2=10 3=8 4=14 5=12 6=12
(testing "First Graph"
(migration/remove-all-data)
(app (mock/request :put "/edges/1/2"))
(app (mock/request :put "/edges/1/3"))
(app (mock/request :put "/edges/2/4"))
(app (mock/request :put "/edges/5/3"))
(app (mock/request :put "/edges/6/3"))
(def nodesFarness [8 10 8 14 12 12])
;Fraude no 1
(app (mock/request :put "/fraud/1"))
;testa dados do no 1
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
;testa o closeness dos outros nos
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
(* 1/2) ;fator que diminui o score baseado na distancia
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
(* 1/2) ;fator que diminui o score baseado na distancia
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
(* 3/4) ;fator que diminui o score baseado na distancia
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
(* 3/4) ;fator que diminui o score baseado na distancia
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/6"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 6))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 5))
(* 3/4) ;fator que diminui o score baseado na distancia
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Fraude no 5
(app (mock/request :put "/fraud/5"))
;testa dados do no 1
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
;testa o closeness dos outros nos
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
(* 1/2) ;fator causado pela primeira fraude (no 1)
(* 7/8) ;fator causado pela segunda fraude (no 5)
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
(* 1/2) ;fator causado pela primeira fraude (no 1)
(* 1/2) ;fator causado pela segunda fraude (no 5)
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
(* 3/4) ;fator causado pela primeira fraude (no 1)
(* 15/16) ;fator causado pela segunda fraude (no 5)
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/6"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 6))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 5))
(* 3/4) ;fator causado pela primeira fraude (no 1)
(* 3/4) ;fator causado pela segunda fraude (no 5)
double
(format "%1.8f")
read-string
(= (body :closeness))))))
;;SEGUNDO grafo - EDGES: 1-2, 2-3, 3-4, 4-5, 5-1 - FARNESS 1=8 2=10 3=8 4=14 5=12 6=12
(testing "Second Graph"
(migration/remove-all-data)
(app (mock/request :put "/edges/1/2"))
(app (mock/request :put "/edges/2/3"))
(app (mock/request :put "/edges/3/4"))
(app (mock/request :put "/edges/4/5"))
(app (mock/request :put "/edges/5/1"))
(def nodesFarness [6 6 6 6 6])
;Fraude no 1
(app (mock/request :put "/fraud/1"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 1))
(* 1/2) ;Redução - primeira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
(* 3/4) ;Redução - primeira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
(* 3/4) ;Redução - primeira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
(* 1/2) ;Redução - primeira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Fraude no 2
(app (mock/request :put "/fraud/2"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 2))
(* 3/4) ;Redução - primeira fraude
(* 1/2) ;Redução - segunda fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
(* 3/4) ;Redução - primeira fraude
(* 3/4) ;Redução - segunda fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
(* 1/2) ;Redução - primeira fraude
(* 3/4) ;Redução - segunda fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Fraude no 3
(app (mock/request :put "/fraud/3"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 3))
(* 3/4) ;Redução - primeira fraude
(* 3/4) ;Redução - segunda fraude
(* 1/2) ;Redução - terceira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
(* 1/2) ;Redução - primeira fraude
(* 3/4) ;Redução - segunda fraude
(* 3/4) ;Redução - terceira fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Fraude no 4
(app (mock/request :put "/fraud/4"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (->> (/ 1 (nodesFarness 4))
(* 1/2) ;Redução - primeira fraude
(* 3/4) ;Redução - segunda fraude
(* 3/4) ;Redução - terceira fraude
(* 1/2) ;Redução - quarta fraude
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;Fraude no 5
(app (mock/request :put "/fraud/5"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/4"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 4))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/5"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 5))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))))
(deftest test-special-cases
;;Testa um caso especifico de delecao
;;Cria um grafo simples: 1-2, 2-3. Considera como fraudulento os nos 1 e 2. Depois deleta a edge 1-2.
;;Verificar se:
;;No 1 deixou de existir
;;No 2 continua existindo
;;No 1 nao esta na lista de fraudes, ja que nao existe mais
;;No 2 continua na lista de fraudes, ja que ainda existe
(testing "Special delete"
(migration/remove-all-data)
(app (mock/request :put "/edges/1/2"))
(app (mock/request :put "/edges/2/3"))
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0.33333333)))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0.5)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (= (body :closeness) 0.33333333)))
;Fraude no 1 e no 2
(app (mock/request :put "/fraud/1"))
(app (mock/request :put "/fraud/2"))
;testa dados do no 1
(let [response (app (mock/request :get "/graph/1"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 1))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
;testa o closeness dos outros nos
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 3)
(* 1/2)
(* 3/4)
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;;chamadas diretas ao models:
(is (edges/exist? 1 2))
(is (edges/exist? 2 3))
(is (graph/node-exist? 1))
(is (graph/node-exist? 2))
(is (graph/node-exist? 3))
(is (fraud/fraudulent? 1))
(is (fraud/fraudulent? 2))
(is (not (fraud/fraudulent? 3)))
;Delete da edge 1-2
(app (mock/request :delete "/edges/1/2"))
(let [response (app (mock/request :get "/graph/2"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 2))
(is (contains? body :closeness))
(is (= (body :closeness) 0))
(is (contains? body :farness))
(is (= (body :farness) 0))
(is (contains? body :fraudulent))
(is (= (body :fraudulent) true)))
(let [response (app (mock/request :get "/graph/3"))]
(is (= (response :status) 200))
(def body (json/read-json (response :body)))
(is (contains? body :no))
(is (= (body :no) 3))
(is (contains? body :closeness))
(is (->> (/ 1 1)
(* 1/2)
double
(format "%1.8f")
read-string
(= (body :closeness)))))
;;verificacao pretendida
(is (not (edges/exist? 1 2)))
(is (edges/exist? 2 3))
(is (not (graph/node-exist? 1)))
(is (graph/node-exist? 2))
(is (graph/node-exist? 3))
(is (not (fraud/fraudulent? 1)))
(is (fraud/fraudulent? 2))
(is (not (fraud/fraudulent? 3)))))
|
Clojure
|
@echo off
@title Portable Jekyll
SET PATH=%~dp0ruby\bin;%~dp0devkit\bin;%~dp0git\bin;%~dp0devkit\mingw\bin;%~dp0curl\bin;%~dp0winscp;%PATH%;
SET SSL_CERT_FILE=%~dp0curl\bin\cacert.pem
:: Header
echo Welcome to Portable Jekyll
echo.
:: now bring current sessions to cmd with /k args (stay)
call cmd /k
|
Batchfile
|
// GENERATED CODE - DO NOT MODIFY BY HAND
part of nx_current_selection_item;
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
// ignore_for_file: always_put_control_body_on_new_line
// ignore_for_file: annotate_overrides
// ignore_for_file: avoid_annotating_with_dynamic
// ignore_for_file: avoid_catches_without_on_clauses
// ignore_for_file: avoid_returning_this
// ignore_for_file: lines_longer_than_80_chars
// ignore_for_file: omit_local_variable_types
// ignore_for_file: prefer_expression_function_bodies
// ignore_for_file: sort_constructors_first
Serializer<NxCurrentSelectionItem> _$nxCurrentSelectionItemSerializer =
new _$NxCurrentSelectionItemSerializer();
class _$NxCurrentSelectionItemSerializer
implements StructuredSerializer<NxCurrentSelectionItem> {
@override
final Iterable<Type> types = const [
NxCurrentSelectionItem,
_$NxCurrentSelectionItem
];
@override
final String wireName = 'NxCurrentSelectionItem';
@override
Iterable serialize(Serializers serializers, NxCurrentSelectionItem object,
{FullType specifiedType = FullType.unspecified}) {
final result = <Object>[];
if (object.total != null) {
result
..add('qTotal')
..add(serializers.serialize(object.total,
specifiedType: const FullType(int)));
}
if (object.isNum != null) {
result
..add('qIsNum')
..add(serializers.serialize(object.isNum,
specifiedType: const FullType(bool)));
}
if (object.field != null) {
result
..add('qField')
..add(serializers.serialize(object.field,
specifiedType: const FullType(String)));
}
if (object.locked != null) {
result
..add('qLocked')
..add(serializers.serialize(object.locked,
specifiedType: const FullType(bool)));
}
if (object.oneAndOnlyOne != null) {
result
..add('qOneAndOnlyOne')
..add(serializers.serialize(object.oneAndOnlyOne,
specifiedType: const FullType(bool)));
}
if (object.textSearch != null) {
result
..add('qTextSearch')
..add(serializers.serialize(object.textSearch,
specifiedType: const FullType(String)));
}
if (object.selectedCount != null) {
result
..add('qSelectedCount')
..add(serializers.serialize(object.selectedCount,
specifiedType: const FullType(int)));
}
if (object.selected != null) {
result
..add('qSelected')
..add(serializers.serialize(object.selected,
specifiedType: const FullType(String)));
}
if (object.rangeInfo != null) {
result
..add('qRangeInfo')
..add(serializers.serialize(object.rangeInfo,
specifiedType: const FullType(
BuiltList, const [const FullType(RangeSelectInfo)])));
}
if (object.sortIndex != null) {
result
..add('qSortIndex')
..add(serializers.serialize(object.sortIndex,
specifiedType: const FullType(int)));
}
if (object.stateCounts != null) {
result
..add('qStateCounts')
..add(serializers.serialize(object.stateCounts,
specifiedType: const FullType(NxStateCounts)));
}
if (object.selectedFieldSelectionInfo != null) {
result
..add('qSelectedFieldSelectionInfo')
..add(serializers.serialize(object.selectedFieldSelectionInfo,
specifiedType: const FullType(
BuiltList, const [const FullType(NxFieldSelectionInfo)])));
}
if (object.notSelectedFieldSelectionInfo != null) {
result
..add('qNotSelectedFieldSelectionInfo')
..add(serializers.serialize(object.notSelectedFieldSelectionInfo,
specifiedType: const FullType(
BuiltList, const [const FullType(NxFieldSelectionInfo)])));
}
if (object.selectionThreshold != null) {
result
..add('qSelectionThreshold')
..add(serializers.serialize(object.selectionThreshold,
specifiedType: const FullType(int)));
}
if (object.readableName != null) {
result
..add('qReadableName')
..add(serializers.serialize(object.readableName,
specifiedType: const FullType(String)));
}
if (object.isHidden != null) {
result
..add('qIsHidden')
..add(serializers.serialize(object.isHidden,
specifiedType: const FullType(bool)));
}
return result;
}
@override
NxCurrentSelectionItem deserialize(
Serializers serializers, Iterable serialized,
{FullType specifiedType = FullType.unspecified}) {
final result = new NxCurrentSelectionItemBuilder();
final iterator = serialized.iterator;
while (iterator.moveNext()) {
final key = iterator.current as String;
iterator.moveNext();
final dynamic value = iterator.current;
switch (key) {
case 'qTotal':
result.total = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
break;
case 'qIsNum':
result.isNum = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'qField':
result.field = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'qLocked':
result.locked = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'qOneAndOnlyOne':
result.oneAndOnlyOne = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'qTextSearch':
result.textSearch = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'qSelectedCount':
result.selectedCount = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
break;
case 'qSelected':
result.selected = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'qRangeInfo':
result.rangeInfo.replace(serializers.deserialize(value,
specifiedType: const FullType(
BuiltList, const [const FullType(RangeSelectInfo)]))
as BuiltList);
break;
case 'qSortIndex':
result.sortIndex = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
break;
case 'qStateCounts':
result.stateCounts.replace(serializers.deserialize(value,
specifiedType: const FullType(NxStateCounts)) as NxStateCounts);
break;
case 'qSelectedFieldSelectionInfo':
result.selectedFieldSelectionInfo.replace(serializers.deserialize(
value,
specifiedType: const FullType(
BuiltList, const [const FullType(NxFieldSelectionInfo)]))
as BuiltList);
break;
case 'qNotSelectedFieldSelectionInfo':
result.notSelectedFieldSelectionInfo.replace(serializers.deserialize(
value,
specifiedType: const FullType(
BuiltList, const [const FullType(NxFieldSelectionInfo)]))
as BuiltList);
break;
case 'qSelectionThreshold':
result.selectionThreshold = serializers.deserialize(value,
specifiedType: const FullType(int)) as int;
break;
case 'qReadableName':
result.readableName = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
break;
case 'qIsHidden':
result.isHidden = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
}
}
return result.build();
}
}
class _$NxCurrentSelectionItem extends NxCurrentSelectionItem {
@override
final int total;
@override
final bool isNum;
@override
final String field;
@override
final bool locked;
@override
final bool oneAndOnlyOne;
@override
final String textSearch;
@override
final int selectedCount;
@override
final String selected;
@override
final BuiltList<RangeSelectInfo> rangeInfo;
@override
final int sortIndex;
@override
final NxStateCounts stateCounts;
@override
final BuiltList<NxFieldSelectionInfo> selectedFieldSelectionInfo;
@override
final BuiltList<NxFieldSelectionInfo> notSelectedFieldSelectionInfo;
@override
final int selectionThreshold;
@override
final String readableName;
@override
final bool isHidden;
factory _$NxCurrentSelectionItem(
[void updates(NxCurrentSelectionItemBuilder b)]) =>
(new NxCurrentSelectionItemBuilder()..update(updates)).build();
_$NxCurrentSelectionItem._(
{this.total,
this.isNum,
this.field,
this.locked,
this.oneAndOnlyOne,
this.textSearch,
this.selectedCount,
this.selected,
this.rangeInfo,
this.sortIndex,
this.stateCounts,
this.selectedFieldSelectionInfo,
this.notSelectedFieldSelectionInfo,
this.selectionThreshold,
this.readableName,
this.isHidden})
: super._();
@override
NxCurrentSelectionItem rebuild(
void updates(NxCurrentSelectionItemBuilder b)) =>
(toBuilder()..update(updates)).build();
@override
NxCurrentSelectionItemBuilder toBuilder() =>
new NxCurrentSelectionItemBuilder()..replace(this);
@override
bool operator ==(dynamic other) {
if (identical(other, this)) return true;
if (other is! NxCurrentSelectionItem) return false;
return total == other.total &&
isNum == other.isNum &&
field == other.field &&
locked == other.locked &&
oneAndOnlyOne == other.oneAndOnlyOne &&
textSearch == other.textSearch &&
selectedCount == other.selectedCount &&
selected == other.selected &&
rangeInfo == other.rangeInfo &&
sortIndex == other.sortIndex &&
stateCounts == other.stateCounts &&
selectedFieldSelectionInfo == other.selectedFieldSelectionInfo &&
notSelectedFieldSelectionInfo == other.notSelectedFieldSelectionInfo &&
selectionThreshold == other.selectionThreshold &&
readableName == other.readableName &&
isHidden == other.isHidden;
}
@override
int get hashCode {
return $jf($jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
0,
total
.hashCode),
isNum.hashCode),
field.hashCode),
locked.hashCode),
oneAndOnlyOne.hashCode),
textSearch.hashCode),
selectedCount.hashCode),
selected.hashCode),
rangeInfo.hashCode),
sortIndex.hashCode),
stateCounts.hashCode),
selectedFieldSelectionInfo.hashCode),
notSelectedFieldSelectionInfo.hashCode),
selectionThreshold.hashCode),
readableName.hashCode),
isHidden.hashCode));
}
@override
String toString() {
return (newBuiltValueToStringHelper('NxCurrentSelectionItem')
..add('total', total)
..add('isNum', isNum)
..add('field', field)
..add('locked', locked)
..add('oneAndOnlyOne', oneAndOnlyOne)
..add('textSearch', textSearch)
..add('selectedCount', selectedCount)
..add('selected', selected)
..add('rangeInfo', rangeInfo)
..add('sortIndex', sortIndex)
..add('stateCounts', stateCounts)
..add('selectedFieldSelectionInfo', selectedFieldSelectionInfo)
..add('notSelectedFieldSelectionInfo', notSelectedFieldSelectionInfo)
..add('selectionThreshold', selectionThreshold)
..add('readableName', readableName)
..add('isHidden', isHidden))
.toString();
}
}
class NxCurrentSelectionItemBuilder
implements Builder<NxCurrentSelectionItem, NxCurrentSelectionItemBuilder> {
_$NxCurrentSelectionItem _$v;
int _total;
int get total => _$this._total;
set total(int total) => _$this._total = total;
bool _isNum;
bool get isNum => _$this._isNum;
set isNum(bool isNum) => _$this._isNum = isNum;
String _field;
String get field => _$this._field;
set field(String field) => _$this._field = field;
bool _locked;
bool get locked => _$this._locked;
set locked(bool locked) => _$this._locked = locked;
bool _oneAndOnlyOne;
bool get oneAndOnlyOne => _$this._oneAndOnlyOne;
set oneAndOnlyOne(bool oneAndOnlyOne) =>
_$this._oneAndOnlyOne = oneAndOnlyOne;
String _textSearch;
String get textSearch => _$this._textSearch;
set textSearch(String textSearch) => _$this._textSearch = textSearch;
int _selectedCount;
int get selectedCount => _$this._selectedCount;
set selectedCount(int selectedCount) => _$this._selectedCount = selectedCount;
String _selected;
String get selected => _$this._selected;
set selected(String selected) => _$this._selected = selected;
ListBuilder<RangeSelectInfo> _rangeInfo;
ListBuilder<RangeSelectInfo> get rangeInfo =>
_$this._rangeInfo ??= new ListBuilder<RangeSelectInfo>();
set rangeInfo(ListBuilder<RangeSelectInfo> rangeInfo) =>
_$this._rangeInfo = rangeInfo;
int _sortIndex;
int get sortIndex => _$this._sortIndex;
set sortIndex(int sortIndex) => _$this._sortIndex = sortIndex;
NxStateCountsBuilder _stateCounts;
NxStateCountsBuilder get stateCounts =>
_$this._stateCounts ??= new NxStateCountsBuilder();
set stateCounts(NxStateCountsBuilder stateCounts) =>
_$this._stateCounts = stateCounts;
ListBuilder<NxFieldSelectionInfo> _selectedFieldSelectionInfo;
ListBuilder<NxFieldSelectionInfo> get selectedFieldSelectionInfo =>
_$this._selectedFieldSelectionInfo ??=
new ListBuilder<NxFieldSelectionInfo>();
set selectedFieldSelectionInfo(
ListBuilder<NxFieldSelectionInfo> selectedFieldSelectionInfo) =>
_$this._selectedFieldSelectionInfo = selectedFieldSelectionInfo;
ListBuilder<NxFieldSelectionInfo> _notSelectedFieldSelectionInfo;
ListBuilder<NxFieldSelectionInfo> get notSelectedFieldSelectionInfo =>
_$this._notSelectedFieldSelectionInfo ??=
new ListBuilder<NxFieldSelectionInfo>();
set notSelectedFieldSelectionInfo(
ListBuilder<NxFieldSelectionInfo> notSelectedFieldSelectionInfo) =>
_$this._notSelectedFieldSelectionInfo = notSelectedFieldSelectionInfo;
int _selectionThreshold;
int get selectionThreshold => _$this._selectionThreshold;
set selectionThreshold(int selectionThreshold) =>
_$this._selectionThreshold = selectionThreshold;
String _readableName;
String get readableName => _$this._readableName;
set readableName(String readableName) => _$this._readableName = readableName;
bool _isHidden;
bool get isHidden => _$this._isHidden;
set isHidden(bool isHidden) => _$this._isHidden = isHidden;
NxCurrentSelectionItemBuilder();
NxCurrentSelectionItemBuilder get _$this {
if (_$v != null) {
_total = _$v.total;
_isNum = _$v.isNum;
_field = _$v.field;
_locked = _$v.locked;
_oneAndOnlyOne = _$v.oneAndOnlyOne;
_textSearch = _$v.textSearch;
_selectedCount = _$v.selectedCount;
_selected = _$v.selected;
_rangeInfo = _$v.rangeInfo?.toBuilder();
_sortIndex = _$v.sortIndex;
_stateCounts = _$v.stateCounts?.toBuilder();
_selectedFieldSelectionInfo = _$v.selectedFieldSelectionInfo?.toBuilder();
_notSelectedFieldSelectionInfo =
_$v.notSelectedFieldSelectionInfo?.toBuilder();
_selectionThreshold = _$v.selectionThreshold;
_readableName = _$v.readableName;
_isHidden = _$v.isHidden;
_$v = null;
}
return this;
}
@override
void replace(NxCurrentSelectionItem other) {
if (other == null) throw new ArgumentError.notNull('other');
_$v = other as _$NxCurrentSelectionItem;
}
@override
void update(void updates(NxCurrentSelectionItemBuilder b)) {
if (updates != null) updates(this);
}
@override
_$NxCurrentSelectionItem build() {
_$NxCurrentSelectionItem _$result;
try {
_$result = _$v ??
new _$NxCurrentSelectionItem._(
total: total,
isNum: isNum,
field: field,
locked: locked,
oneAndOnlyOne: oneAndOnlyOne,
textSearch: textSearch,
selectedCount: selectedCount,
selected: selected,
rangeInfo: _rangeInfo?.build(),
sortIndex: sortIndex,
stateCounts: _stateCounts?.build(),
selectedFieldSelectionInfo: _selectedFieldSelectionInfo?.build(),
notSelectedFieldSelectionInfo:
_notSelectedFieldSelectionInfo?.build(),
selectionThreshold: selectionThreshold,
readableName: readableName,
isHidden: isHidden);
} catch (_) {
String _$failedField;
try {
_$failedField = 'rangeInfo';
_rangeInfo?.build();
_$failedField = 'stateCounts';
_stateCounts?.build();
_$failedField = 'selectedFieldSelectionInfo';
_selectedFieldSelectionInfo?.build();
_$failedField = 'notSelectedFieldSelectionInfo';
_notSelectedFieldSelectionInfo?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'NxCurrentSelectionItem', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}
}
|
Dart
|
unit USituacionEfecto;
interface
uses Buttons, Classes, comctrls, Controls, DB, DBClient, DBCtrls, Dialogs, ExtCtrls,
Forms, Globales, Graphics, Grids, IBX.IBDatabase, IBX.IBSQL, jpeg, Mask, Messages,
StdCtrls, SysUtils, WinProcs, WinTypes;
(*Está pendiente de hacer que el ComboBox muestre los valores de la izquierda, pero guarde los de la derecha Juan C.Cilleruelo*)
(* Items.Strings = (
'PENDIENTE'#9'N'
'REMESADO'#9'B'
'COBRADO'#9'C'
'DEVUELTO'#9'D'
'PAGADO'#9'P'
'ACEPTADO'#9'A'
'VENCIDO'#9'V')*)
type
TWSituacionEfecto = class(TForm)
Datos: TGroupBox;
Shape1: TShape;
lTitulo: TLabel;
lDescripcion: TLabel;
BtnAccept: TButton;
BtnCancel: TButton;
ComboBoxSITUACION: TDBComboBox;
SFichero: TDataSource;
QFichero: TClientDataSet;
QFicheroSITUACION: TStringField;
QFicheroCHEQUE: TStringField;
EditCHEQUE: TDBEdit;
procedure BtnAcceptClick(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure BtnCancelClick(Sender: TObject);
private
public
FOperacionEfectos: TOperacionEfectos;
end;
var WSituacionEfecto: TWSituacionEfecto;
implementation
uses DM, UCarteraEfectos, Processing;
{$R *.DFM}
procedure TWSituacionEfecto.BtnAcceptClick(Sender: TObject);
begin
Perform(wm_NextDlgCtl, 0, 0);
QFichero.Post;
if FOperacionEfectos = GENERAR_ASIENTO then begin
WCarteraEfectos.FSituacion := QFicheroSITUACION.AsString;
end
else begin
WCarteraEfectos.FCheque := QFicheroCHEQUE.AsString;
end;
end;
procedure TWSituacionEfecto.FormShow(Sender: TObject);
begin
QFichero.CreateDataset;
QFichero.Open;
QFichero.Append;
if FOperacionEfectos = GENERAR_ASIENTO then begin
lDescripcion.Caption := 'Seleccione la situación del efecto seleccionado';
ComboBoxSITUACION.Visible := True;
EditCheque.Visible := False;
end
else begin
lDescripcion.Caption := 'Introduzca el número de cheque';
ComboBoxSITUACION.Visible := False;
EditCHEQUE.Visible := True;
end;
QFicheroSITUACION.AsString := 'B';
QFicheroCHEQUE.AsString := '';
end;
procedure TWSituacionEfecto.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
case Key of
VK_F9: begin
BtnAccept.Click;
end;
end;
end;
procedure TWSituacionEfecto.FormClose(Sender: TObject; var Action: TCloseAction);
begin
WCarteraEfectos.FSituacion := '';
WCarteraEfectos.FCheque := '';
end;
procedure TWSituacionEfecto.BtnCancelClick(Sender: TObject);
begin
Close;
end;
end.
|
Pascal
|
seg,year,precip(in),wetno3(lb),wetnh3(lb),dryno3(lb),drynh3(lb),wetorn(lb),wetorp(lb),wetpo4(lb)
A51111,1984, 48.7829, 2.5691, 1.2308, 7.0623, 0.7466, 0.5466, 0.5056, 0.1708
A51111,1985, 46.4091, 2.4096, 1.0374, 6.9671, 0.7537, 0.4830, 0.4468, 0.1509
A51111,1986, 34.2852, 2.5172, 1.1762, 6.8719, 0.7608, 0.3506, 0.3243, 0.1096
A51111,1987, 43.7259, 2.4623, 1.0981, 6.7768, 0.7680, 0.4945, 0.4574, 0.1545
A51111,1988, 35.4121, 2.3136, 1.0911, 6.6816, 0.7751, 0.4104, 0.3796, 0.1283
A51111,1989, 52.8703, 3.1102, 1.7737, 6.5864, 0.7822, 0.6215, 0.5748, 0.1942
A51111,1990, 42.3782, 2.2858, 1.4442, 6.4912, 0.7893, 0.4935, 0.4565, 0.1542
A51111,1991, 35.9496, 2.0025, 1.0690, 6.3960, 0.7964, 0.3855, 0.3566, 0.1205
A51111,1992, 39.0881, 2.0738, 1.1236, 6.3009, 0.8035, 0.4381, 0.4053, 0.1369
A51111,1993, 46.5800, 2.4016, 1.4234, 6.2057, 0.8106, 0.5300, 0.4903, 0.1656
A51111,1994, 44.2529, 2.3404, 1.4371, 6.1105, 0.8178, 0.4813, 0.4452, 0.1504
A51111,1995, 44.2136, 2.4456, 1.4273, 6.0153, 0.8249, 0.5323, 0.4924, 0.1663
A51111,1996, 55.1549, 2.9402, 1.7638, 5.9201, 0.8320, 0.5969, 0.5521, 0.1865
A51111,1997, 41.4750, 2.4896, 1.4941, 5.8250, 0.8391, 0.4738, 0.4382, 0.1481
A51111,1998, 47.6566, 2.6032, 1.4506, 5.7298, 0.8462, 0.5495, 0.5083, 0.1717
A51111,1999, 49.8431, 2.4575, 1.4305, 5.6346, 0.8533, 0.5352, 0.4951, 0.1673
A51111,2000, 39.9806, 2.3288, 1.4110, 5.5394, 0.8604, 0.5070, 0.4690, 0.1584
A51111,2001, 35.8358, 2.0612, 1.3544, 5.4443, 0.8676, 0.4407, 0.4076, 0.1377
A51111,2002, 48.3841, 1.9976, 1.2786, 5.3491, 0.8747, 0.5175, 0.4787, 0.1617
A51111,2003, 67.0307, 2.9755, 2.3018, 5.2539, 0.8818, 0.7978, 0.7380, 0.2493
A51111,2004, 49.9797, 2.0911, 1.5532, 5.1587, 0.8889, 0.5684, 0.5257, 0.1776
A51111,2005, 37.1270, 1.4674, 1.0919, 5.0636, 0.8960, 0.3997, 0.3697, 0.1249
|
CSV
|
use 5.006;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Devel::Declare::Evil',
VERSION_FROM => 'lib/Devel/Declare/Evil.pm',
PREREQ_PM => {
strictures => 1,
'Filter::Util::Call' => 0,
'Test::More' => 0,
},
($] >= 5.005 ?
(ABSTRACT_FROM => 'lib/Devel/Declare/Evil.pm', # retrieve abstract from module
AUTHOR => 'Robin Edwards <robin.ge@gmail.com>') : ()),
);
|
Perl
|
//
// Blackfriday Markdown Processor
// Available at http://github.com/russross/blackfriday
//
// Copyright © 2011 Russ Ross <russ@russross.com>.
// Distributed under the Simplified BSD License.
// See README.md for details.
//
//
// Unit tests for block parsing
//
package blackfriday
import (
"strings"
"testing"
)
func runMarkdownBlockWithRenderer(input string, extensions int, renderer Renderer) string {
return string(Markdown([]byte(input), renderer, extensions))
}
func runMarkdownBlock(input string, extensions int) string {
htmlFlags := 0
htmlFlags |= HTML_USE_XHTML
renderer := HtmlRenderer(htmlFlags, "", "")
return runMarkdownBlockWithRenderer(input, extensions, renderer)
}
func runnerWithRendererParameters(parameters HtmlRendererParameters) func(string, int) string {
return func(input string, extensions int) string {
htmlFlags := 0
htmlFlags |= HTML_USE_XHTML
renderer := HtmlRendererWithParameters(htmlFlags, "", "", parameters)
return runMarkdownBlockWithRenderer(input, extensions, renderer)
}
}
func doTestsBlock(t *testing.T, tests []string, extensions int) {
doTestsBlockWithRunner(t, tests, extensions, runMarkdownBlock)
}
func doTestsBlockWithRunner(t *testing.T, tests []string, extensions int, runner func(string, int) string) {
// catch and report panics
var candidate string
defer func() {
if err := recover(); err != nil {
t.Errorf("\npanic while processing [%#v]: %s\n", candidate, err)
}
}()
for i := 0; i+1 < len(tests); i += 2 {
input := tests[i]
candidate = input
expected := tests[i+1]
actual := runner(candidate, extensions)
if actual != expected {
t.Errorf("\nInput [%#v]\nExpected[%#v]\nActual [%#v]",
candidate, expected, actual)
}
// now test every substring to stress test bounds checking
if !testing.Short() {
for start := 0; start < len(input); start++ {
for end := start + 1; end <= len(input); end++ {
candidate = input[start:end]
_ = runMarkdownBlock(candidate, extensions)
}
}
}
}
}
func TestPrefixHeaderNoExtensions(t *testing.T) {
var tests = []string{
"# Header 1\n",
"<h1>Header 1</h1>\n",
"## Header 2\n",
"<h2>Header 2</h2>\n",
"### Header 3\n",
"<h3>Header 3</h3>\n",
"#### Header 4\n",
"<h4>Header 4</h4>\n",
"##### Header 5\n",
"<h5>Header 5</h5>\n",
"###### Header 6\n",
"<h6>Header 6</h6>\n",
"####### Header 7\n",
"<h6># Header 7</h6>\n",
"#Header 1\n",
"<h1>Header 1</h1>\n",
"##Header 2\n",
"<h2>Header 2</h2>\n",
"###Header 3\n",
"<h3>Header 3</h3>\n",
"####Header 4\n",
"<h4>Header 4</h4>\n",
"#####Header 5\n",
"<h5>Header 5</h5>\n",
"######Header 6\n",
"<h6>Header 6</h6>\n",
"#######Header 7\n",
"<h6>#Header 7</h6>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1>Header 1</h1>\n\n<p>Goodbye</p>\n",
"* List\n# Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1>Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1>Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n * Nested list\n # Nested header\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1>Nested header</h1></li>\n</ul></li>\n</ul>\n",
"#Header 1 \\#\n",
"<h1>Header 1 #</h1>\n",
"#Header 1 \\# foo\n",
"<h1>Header 1 # foo</h1>\n",
"#Header 1 #\\##\n",
"<h1>Header 1 ##</h1>\n",
}
doTestsBlock(t, tests, 0)
}
func TestPrefixHeaderSpaceExtension(t *testing.T) {
var tests = []string{
"# Header 1\n",
"<h1>Header 1</h1>\n",
"## Header 2\n",
"<h2>Header 2</h2>\n",
"### Header 3\n",
"<h3>Header 3</h3>\n",
"#### Header 4\n",
"<h4>Header 4</h4>\n",
"##### Header 5\n",
"<h5>Header 5</h5>\n",
"###### Header 6\n",
"<h6>Header 6</h6>\n",
"####### Header 7\n",
"<p>####### Header 7</p>\n",
"#Header 1\n",
"<p>#Header 1</p>\n",
"##Header 2\n",
"<p>##Header 2</p>\n",
"###Header 3\n",
"<p>###Header 3</p>\n",
"####Header 4\n",
"<p>####Header 4</p>\n",
"#####Header 5\n",
"<p>#####Header 5</p>\n",
"######Header 6\n",
"<p>######Header 6</p>\n",
"#######Header 7\n",
"<p>#######Header 7</p>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1>Header 1</h1>\n\n<p>Goodbye</p>\n",
"* List\n# Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1>Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header\n* List\n",
"<ul>\n<li>List\n#Header</li>\n<li>List</li>\n</ul>\n",
"* List\n * Nested list\n # Nested header\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1>Nested header</h1></li>\n</ul></li>\n</ul>\n",
}
doTestsBlock(t, tests, EXTENSION_SPACE_HEADERS)
}
func TestPrefixHeaderIdExtension(t *testing.T) {
var tests = []string{
"# Header 1 {#someid}\n",
"<h1 id=\"someid\">Header 1</h1>\n",
"# Header 1 {#someid} \n",
"<h1 id=\"someid\">Header 1</h1>\n",
"# Header 1 {#someid}\n",
"<h1 id=\"someid\">Header 1</h1>\n",
"# Header 1 {#someid\n",
"<h1>Header 1 {#someid</h1>\n",
"# Header 1 {#someid\n",
"<h1>Header 1 {#someid</h1>\n",
"# Header 1 {#someid}}\n",
"<h1 id=\"someid\">Header 1</h1>\n\n<p>}</p>\n",
"## Header 2 {#someid}\n",
"<h2 id=\"someid\">Header 2</h2>\n",
"### Header 3 {#someid}\n",
"<h3 id=\"someid\">Header 3</h3>\n",
"#### Header 4 {#someid}\n",
"<h4 id=\"someid\">Header 4</h4>\n",
"##### Header 5 {#someid}\n",
"<h5 id=\"someid\">Header 5</h5>\n",
"###### Header 6 {#someid}\n",
"<h6 id=\"someid\">Header 6</h6>\n",
"####### Header 7 {#someid}\n",
"<h6 id=\"someid\"># Header 7</h6>\n",
"# Header 1 # {#someid}\n",
"<h1 id=\"someid\">Header 1</h1>\n",
"## Header 2 ## {#someid}\n",
"<h2 id=\"someid\">Header 2</h2>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1>Header 1</h1>\n\n<p>Goodbye</p>\n",
"* List\n# Header {#someid}\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"someid\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header {#someid}\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"someid\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n * Nested list\n # Nested header {#someid}\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1 id=\"someid\">Nested header</h1></li>\n</ul></li>\n</ul>\n",
}
doTestsBlock(t, tests, EXTENSION_HEADER_IDS)
}
func TestPrefixHeaderIdExtensionWithPrefixAndSuffix(t *testing.T) {
var tests = []string{
"# header 1 {#someid}\n",
"<h1 id=\"PRE:someid:POST\">header 1</h1>\n",
"## header 2 {#someid}\n",
"<h2 id=\"PRE:someid:POST\">header 2</h2>\n",
"### header 3 {#someid}\n",
"<h3 id=\"PRE:someid:POST\">header 3</h3>\n",
"#### header 4 {#someid}\n",
"<h4 id=\"PRE:someid:POST\">header 4</h4>\n",
"##### header 5 {#someid}\n",
"<h5 id=\"PRE:someid:POST\">header 5</h5>\n",
"###### header 6 {#someid}\n",
"<h6 id=\"PRE:someid:POST\">header 6</h6>\n",
"####### header 7 {#someid}\n",
"<h6 id=\"PRE:someid:POST\"># header 7</h6>\n",
"# header 1 # {#someid}\n",
"<h1 id=\"PRE:someid:POST\">header 1</h1>\n",
"## header 2 ## {#someid}\n",
"<h2 id=\"PRE:someid:POST\">header 2</h2>\n",
"* List\n# Header {#someid}\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"PRE:someid:POST\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header {#someid}\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"PRE:someid:POST\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n * Nested list\n # Nested header {#someid}\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1 id=\"PRE:someid:POST\">Nested header</h1></li>\n</ul></li>\n</ul>\n",
}
parameters := HtmlRendererParameters{
HeaderIDPrefix: "PRE:",
HeaderIDSuffix: ":POST",
}
doTestsBlockWithRunner(t, tests, EXTENSION_HEADER_IDS, runnerWithRendererParameters(parameters))
}
func TestPrefixAutoHeaderIdExtension(t *testing.T) {
var tests = []string{
"# Header 1\n",
"<h1 id=\"header-1\">Header 1</h1>\n",
"# Header 1 \n",
"<h1 id=\"header-1\">Header 1</h1>\n",
"## Header 2\n",
"<h2 id=\"header-2\">Header 2</h2>\n",
"### Header 3\n",
"<h3 id=\"header-3\">Header 3</h3>\n",
"#### Header 4\n",
"<h4 id=\"header-4\">Header 4</h4>\n",
"##### Header 5\n",
"<h5 id=\"header-5\">Header 5</h5>\n",
"###### Header 6\n",
"<h6 id=\"header-6\">Header 6</h6>\n",
"####### Header 7\n",
"<h6 id=\"header-7\"># Header 7</h6>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1 id=\"header-1\">Header 1</h1>\n\n<p>Goodbye</p>\n",
"* List\n# Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"header\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"header\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n * Nested list\n # Nested header\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1 id=\"nested-header\">Nested header</h1></li>\n</ul></li>\n</ul>\n",
"# Header\n\n# Header\n",
"<h1 id=\"header\">Header</h1>\n\n<h1 id=\"header-1\">Header</h1>\n",
"# Header 1\n\n# Header 1",
"<h1 id=\"header-1\">Header 1</h1>\n\n<h1 id=\"header-1-1\">Header 1</h1>\n",
"# Header\n\n# Header 1\n\n# Header\n\n# Header",
"<h1 id=\"header\">Header</h1>\n\n<h1 id=\"header-1\">Header 1</h1>\n\n<h1 id=\"header-1-1\">Header</h1>\n\n<h1 id=\"header-1-2\">Header</h1>\n",
}
doTestsBlock(t, tests, EXTENSION_AUTO_HEADER_IDS)
}
func TestPrefixAutoHeaderIdExtensionWithPrefixAndSuffix(t *testing.T) {
var tests = []string{
"# Header 1\n",
"<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n",
"# Header 1 \n",
"<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n",
"## Header 2\n",
"<h2 id=\"PRE:header-2:POST\">Header 2</h2>\n",
"### Header 3\n",
"<h3 id=\"PRE:header-3:POST\">Header 3</h3>\n",
"#### Header 4\n",
"<h4 id=\"PRE:header-4:POST\">Header 4</h4>\n",
"##### Header 5\n",
"<h5 id=\"PRE:header-5:POST\">Header 5</h5>\n",
"###### Header 6\n",
"<h6 id=\"PRE:header-6:POST\">Header 6</h6>\n",
"####### Header 7\n",
"<h6 id=\"PRE:header-7:POST\"># Header 7</h6>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n\n<p>Goodbye</p>\n",
"* List\n# Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"PRE:header:POST\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n#Header\n* List\n",
"<ul>\n<li><p>List</p>\n\n<h1 id=\"PRE:header:POST\">Header</h1></li>\n\n<li><p>List</p></li>\n</ul>\n",
"* List\n * Nested list\n # Nested header\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li><p>Nested list</p>\n\n" +
"<h1 id=\"PRE:nested-header:POST\">Nested header</h1></li>\n</ul></li>\n</ul>\n",
"# Header\n\n# Header\n",
"<h1 id=\"PRE:header:POST\">Header</h1>\n\n<h1 id=\"PRE:header-1:POST\">Header</h1>\n",
"# Header 1\n\n# Header 1",
"<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n\n<h1 id=\"PRE:header-1-1:POST\">Header 1</h1>\n",
"# Header\n\n# Header 1\n\n# Header\n\n# Header",
"<h1 id=\"PRE:header:POST\">Header</h1>\n\n<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n\n<h1 id=\"PRE:header-1-1:POST\">Header</h1>\n\n<h1 id=\"PRE:header-1-2:POST\">Header</h1>\n",
}
parameters := HtmlRendererParameters{
HeaderIDPrefix: "PRE:",
HeaderIDSuffix: ":POST",
}
doTestsBlockWithRunner(t, tests, EXTENSION_AUTO_HEADER_IDS, runnerWithRendererParameters(parameters))
}
func TestPrefixMultipleHeaderExtensions(t *testing.T) {
var tests = []string{
"# Header\n\n# Header {#header}\n\n# Header 1",
"<h1 id=\"header\">Header</h1>\n\n<h1 id=\"header-1\">Header</h1>\n\n<h1 id=\"header-1-1\">Header 1</h1>\n",
}
doTestsBlock(t, tests, EXTENSION_AUTO_HEADER_IDS|EXTENSION_HEADER_IDS)
}
func TestUnderlineHeaders(t *testing.T) {
var tests = []string{
"Header 1\n========\n",
"<h1>Header 1</h1>\n",
"Header 2\n--------\n",
"<h2>Header 2</h2>\n",
"A\n=\n",
"<h1>A</h1>\n",
"B\n-\n",
"<h2>B</h2>\n",
"Paragraph\nHeader\n=\n",
"<p>Paragraph</p>\n\n<h1>Header</h1>\n",
"Header\n===\nParagraph\n",
"<h1>Header</h1>\n\n<p>Paragraph</p>\n",
"Header\n===\nAnother header\n---\n",
"<h1>Header</h1>\n\n<h2>Another header</h2>\n",
" Header\n======\n",
"<h1>Header</h1>\n",
" Code\n========\n",
"<pre><code>Code\n</code></pre>\n\n<p>========</p>\n",
"Header with *inline*\n=====\n",
"<h1>Header with <em>inline</em></h1>\n",
"* List\n * Sublist\n Not a header\n ------\n",
"<ul>\n<li>List\n\n<ul>\n<li>Sublist\nNot a header\n------</li>\n</ul></li>\n</ul>\n",
"Paragraph\n\n\n\n\nHeader\n===\n",
"<p>Paragraph</p>\n\n<h1>Header</h1>\n",
"Trailing space \n==== \n\n",
"<h1>Trailing space</h1>\n",
"Trailing spaces\n==== \n\n",
"<h1>Trailing spaces</h1>\n",
"Double underline\n=====\n=====\n",
"<h1>Double underline</h1>\n\n<p>=====</p>\n",
}
doTestsBlock(t, tests, 0)
}
func TestUnderlineHeadersAutoIDs(t *testing.T) {
var tests = []string{
"Header 1\n========\n",
"<h1 id=\"header-1\">Header 1</h1>\n",
"Header 2\n--------\n",
"<h2 id=\"header-2\">Header 2</h2>\n",
"A\n=\n",
"<h1 id=\"a\">A</h1>\n",
"B\n-\n",
"<h2 id=\"b\">B</h2>\n",
"Paragraph\nHeader\n=\n",
"<p>Paragraph</p>\n\n<h1 id=\"header\">Header</h1>\n",
"Header\n===\nParagraph\n",
"<h1 id=\"header\">Header</h1>\n\n<p>Paragraph</p>\n",
"Header\n===\nAnother header\n---\n",
"<h1 id=\"header\">Header</h1>\n\n<h2 id=\"another-header\">Another header</h2>\n",
" Header\n======\n",
"<h1 id=\"header\">Header</h1>\n",
"Header with *inline*\n=====\n",
"<h1 id=\"header-with-inline\">Header with <em>inline</em></h1>\n",
"Paragraph\n\n\n\n\nHeader\n===\n",
"<p>Paragraph</p>\n\n<h1 id=\"header\">Header</h1>\n",
"Trailing space \n==== \n\n",
"<h1 id=\"trailing-space\">Trailing space</h1>\n",
"Trailing spaces\n==== \n\n",
"<h1 id=\"trailing-spaces\">Trailing spaces</h1>\n",
"Double underline\n=====\n=====\n",
"<h1 id=\"double-underline\">Double underline</h1>\n\n<p>=====</p>\n",
"Header\n======\n\nHeader\n======\n",
"<h1 id=\"header\">Header</h1>\n\n<h1 id=\"header-1\">Header</h1>\n",
"Header 1\n========\n\nHeader 1\n========\n",
"<h1 id=\"header-1\">Header 1</h1>\n\n<h1 id=\"header-1-1\">Header 1</h1>\n",
}
doTestsBlock(t, tests, EXTENSION_AUTO_HEADER_IDS)
}
func TestHorizontalRule(t *testing.T) {
var tests = []string{
"-\n",
"<p>-</p>\n",
"--\n",
"<p>--</p>\n",
"---\n",
"<hr />\n",
"----\n",
"<hr />\n",
"*\n",
"<p>*</p>\n",
"**\n",
"<p>**</p>\n",
"***\n",
"<hr />\n",
"****\n",
"<hr />\n",
"_\n",
"<p>_</p>\n",
"__\n",
"<p>__</p>\n",
"___\n",
"<hr />\n",
"____\n",
"<hr />\n",
"-*-\n",
"<p>-*-</p>\n",
"- - -\n",
"<hr />\n",
"* * *\n",
"<hr />\n",
"_ _ _\n",
"<hr />\n",
"-----*\n",
"<p>-----*</p>\n",
" ------ \n",
"<hr />\n",
"Hello\n***\n",
"<p>Hello</p>\n\n<hr />\n",
"---\n***\n___\n",
"<hr />\n\n<hr />\n\n<hr />\n",
}
doTestsBlock(t, tests, 0)
}
func TestUnorderedList(t *testing.T) {
var tests = []string{
"* Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"* Yin\n* Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"* Ting\n* Bong\n* Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"* Yin\n\n* Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"* Ting\n\n* Bong\n* Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"+ Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"+ Yin\n+ Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"+ Ting\n+ Bong\n+ Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"+ Yin\n\n+ Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"+ Ting\n\n+ Bong\n+ Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"- Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"- Yin\n- Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"- Ting\n- Bong\n- Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"- Yin\n\n- Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"- Ting\n\n- Bong\n- Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"*Hello\n",
"<p>*Hello</p>\n",
"* Hello \n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"* Hello \n Next line \n",
"<ul>\n<li>Hello\nNext line</li>\n</ul>\n",
"Paragraph\n* No linebreak\n",
"<p>Paragraph\n* No linebreak</p>\n",
"Paragraph\n\n* Linebreak\n",
"<p>Paragraph</p>\n\n<ul>\n<li>Linebreak</li>\n</ul>\n",
"* List\n * Nested list\n",
"<ul>\n<li>List\n\n<ul>\n<li>Nested list</li>\n</ul></li>\n</ul>\n",
"* List\n\n * Nested list\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>Nested list</li>\n</ul></li>\n</ul>\n",
"* List\n Second line\n\n + Nested\n",
"<ul>\n<li><p>List\nSecond line</p>\n\n<ul>\n<li>Nested</li>\n</ul></li>\n</ul>\n",
"* List\n + Nested\n\n Continued\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>Nested</li>\n</ul>\n\n<p>Continued</p></li>\n</ul>\n",
"* List\n * shallow indent\n",
"<ul>\n<li>List\n\n<ul>\n<li>shallow indent</li>\n</ul></li>\n</ul>\n",
"* List\n" +
" * shallow indent\n" +
" * part of second list\n" +
" * still second\n" +
" * almost there\n" +
" * third level\n",
"<ul>\n" +
"<li>List\n\n" +
"<ul>\n" +
"<li>shallow indent</li>\n" +
"<li>part of second list</li>\n" +
"<li>still second</li>\n" +
"<li>almost there\n\n" +
"<ul>\n" +
"<li>third level</li>\n" +
"</ul></li>\n" +
"</ul></li>\n" +
"</ul>\n",
"* List\n extra indent, same paragraph\n",
"<ul>\n<li>List\n extra indent, same paragraph</li>\n</ul>\n",
"* List\n\n code block\n",
"<ul>\n<li><p>List</p>\n\n<pre><code>code block\n</code></pre></li>\n</ul>\n",
"* List\n\n code block with spaces\n",
"<ul>\n<li><p>List</p>\n\n<pre><code> code block with spaces\n</code></pre></li>\n</ul>\n",
"* List\n\n * sublist\n\n normal text\n\n * another sublist\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>sublist</li>\n</ul>\n\n<p>normal text</p>\n\n<ul>\n<li>another sublist</li>\n</ul></li>\n</ul>\n",
}
doTestsBlock(t, tests, 0)
}
func TestOrderedList(t *testing.T) {
var tests = []string{
"1. Hello\n",
"<ol>\n<li>Hello</li>\n</ol>\n",
"1. Yin\n2. Yang\n",
"<ol>\n<li>Yin</li>\n<li>Yang</li>\n</ol>\n",
"1. Ting\n2. Bong\n3. Goo\n",
"<ol>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ol>\n",
"1. Yin\n\n2. Yang\n",
"<ol>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ol>\n",
"1. Ting\n\n2. Bong\n3. Goo\n",
"<ol>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ol>\n",
"1 Hello\n",
"<p>1 Hello</p>\n",
"1.Hello\n",
"<p>1.Hello</p>\n",
"1. Hello \n",
"<ol>\n<li>Hello</li>\n</ol>\n",
"1. Hello \n Next line \n",
"<ol>\n<li>Hello\nNext line</li>\n</ol>\n",
"Paragraph\n1. No linebreak\n",
"<p>Paragraph\n1. No linebreak</p>\n",
"Paragraph\n\n1. Linebreak\n",
"<p>Paragraph</p>\n\n<ol>\n<li>Linebreak</li>\n</ol>\n",
"1. List\n 1. Nested list\n",
"<ol>\n<li>List\n\n<ol>\n<li>Nested list</li>\n</ol></li>\n</ol>\n",
"1. List\n\n 1. Nested list\n",
"<ol>\n<li><p>List</p>\n\n<ol>\n<li>Nested list</li>\n</ol></li>\n</ol>\n",
"1. List\n Second line\n\n 1. Nested\n",
"<ol>\n<li><p>List\nSecond line</p>\n\n<ol>\n<li>Nested</li>\n</ol></li>\n</ol>\n",
"1. List\n 1. Nested\n\n Continued\n",
"<ol>\n<li><p>List</p>\n\n<ol>\n<li>Nested</li>\n</ol>\n\n<p>Continued</p></li>\n</ol>\n",
"1. List\n 1. shallow indent\n",
"<ol>\n<li>List\n\n<ol>\n<li>shallow indent</li>\n</ol></li>\n</ol>\n",
"1. List\n" +
" 1. shallow indent\n" +
" 2. part of second list\n" +
" 3. still second\n" +
" 4. almost there\n" +
" 1. third level\n",
"<ol>\n" +
"<li>List\n\n" +
"<ol>\n" +
"<li>shallow indent</li>\n" +
"<li>part of second list</li>\n" +
"<li>still second</li>\n" +
"<li>almost there\n\n" +
"<ol>\n" +
"<li>third level</li>\n" +
"</ol></li>\n" +
"</ol></li>\n" +
"</ol>\n",
"1. List\n extra indent, same paragraph\n",
"<ol>\n<li>List\n extra indent, same paragraph</li>\n</ol>\n",
"1. List\n\n code block\n",
"<ol>\n<li><p>List</p>\n\n<pre><code>code block\n</code></pre></li>\n</ol>\n",
"1. List\n\n code block with spaces\n",
"<ol>\n<li><p>List</p>\n\n<pre><code> code block with spaces\n</code></pre></li>\n</ol>\n",
"1. List\n * Mixted list\n",
"<ol>\n<li>List\n\n<ul>\n<li>Mixted list</li>\n</ul></li>\n</ol>\n",
"1. List\n * Mixed list\n",
"<ol>\n<li>List\n\n<ul>\n<li>Mixed list</li>\n</ul></li>\n</ol>\n",
"* Start with unordered\n 1. Ordered\n",
"<ul>\n<li>Start with unordered\n\n<ol>\n<li>Ordered</li>\n</ol></li>\n</ul>\n",
"* Start with unordered\n 1. Ordered\n",
"<ul>\n<li>Start with unordered\n\n<ol>\n<li>Ordered</li>\n</ol></li>\n</ul>\n",
"1. numbers\n1. are ignored\n",
"<ol>\n<li>numbers</li>\n<li>are ignored</li>\n</ol>\n",
}
doTestsBlock(t, tests, 0)
}
func TestDefinitionList(t *testing.T) {
var tests = []string{
"Term 1\n: Definition a\n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a</dd>\n</dl>\n",
"Term 1\n: Definition a \n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a</dd>\n</dl>\n",
"Term 1\n: Definition a\n: Definition b\n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a</dd>\n<dd>Definition b</dd>\n</dl>\n",
"Term 1\n: Definition a\n\nTerm 2\n: Definition b\n",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd>Definition a</dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd>Definition b</dd>\n" +
"</dl>\n",
"Term 1\n: Definition a\n\nTerm 2\n: Definition b\n\nTerm 3\n: Definition c\n",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd>Definition a</dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd>Definition b</dd>\n" +
"<dt>Term 3</dt>\n" +
"<dd>Definition c</dd>\n" +
"</dl>\n",
"Term 1\n: Definition a\n: Definition b\n\nTerm 2\n: Definition c\n",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd>Definition a</dd>\n" +
"<dd>Definition b</dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd>Definition c</dd>\n" +
"</dl>\n",
"Term 1\n\n: Definition a\n\nTerm 2\n\n: Definition b\n",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd><p>Definition a</p></dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd><p>Definition b</p></dd>\n" +
"</dl>\n",
"Term 1\n\n: Definition a\n\n: Definition b\n\nTerm 2\n\n: Definition c\n",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd><p>Definition a</p></dd>\n" +
"<dd><p>Definition b</p></dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd><p>Definition c</p></dd>\n" +
"</dl>\n",
"Term 1\n: Definition a\nNext line\n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a\nNext line</dd>\n</dl>\n",
"Term 1\n: Definition a\n Next line\n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a\nNext line</dd>\n</dl>\n",
"Term 1\n: Definition a \n Next line \n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a\nNext line</dd>\n</dl>\n",
"Term 1\n: Definition a\nNext line\n\nTerm 2\n: Definition b",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd>Definition a\nNext line</dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd>Definition b</dd>\n" +
"</dl>\n",
"Term 1\n: Definition a\n",
"<dl>\n<dt>Term 1</dt>\n<dd>Definition a</dd>\n</dl>\n",
"Term 1\n:Definition a\n",
"<p>Term 1\n:Definition a</p>\n",
"Term 1\n\n: Definition a\n\nTerm 2\n\n: Definition b\n\nText 1",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd><p>Definition a</p></dd>\n" +
"<dt>Term 2</dt>\n" +
"<dd><p>Definition b</p></dd>\n" +
"</dl>\n" +
"\n<p>Text 1</p>\n",
"Term 1\n\n: Definition a\n\nText 1\n\nTerm 2\n\n: Definition b\n\nText 2",
"<dl>\n" +
"<dt>Term 1</dt>\n" +
"<dd><p>Definition a</p></dd>\n" +
"</dl>\n" +
"\n<p>Text 1</p>\n" +
"\n<dl>\n" +
"<dt>Term 2</dt>\n" +
"<dd><p>Definition b</p></dd>\n" +
"</dl>\n" +
"\n<p>Text 2</p>\n",
}
doTestsBlock(t, tests, EXTENSION_DEFINITION_LISTS)
}
func TestPreformattedHtml(t *testing.T) {
var tests = []string{
"<div></div>\n",
"<div></div>\n",
"<div>\n</div>\n",
"<div>\n</div>\n",
"<div>\n</div>\nParagraph\n",
"<p><div>\n</div>\nParagraph</p>\n",
"<div class=\"foo\">\n</div>\n",
"<div class=\"foo\">\n</div>\n",
"<div>\nAnything here\n</div>\n",
"<div>\nAnything here\n</div>\n",
"<div>\n Anything here\n</div>\n",
"<div>\n Anything here\n</div>\n",
"<div>\nAnything here\n </div>\n",
"<div>\nAnything here\n </div>\n",
"<div>\nThis is *not* &proceessed\n</div>\n",
"<div>\nThis is *not* &proceessed\n</div>\n",
"<faketag>\n Something\n</faketag>\n",
"<p><faketag>\n Something\n</faketag></p>\n",
"<div>\n Something here\n</divv>\n",
"<p><div>\n Something here\n</divv></p>\n",
"Paragraph\n<div>\nHere? >&<\n</div>\n",
"<p>Paragraph\n<div>\nHere? >&<\n</div></p>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\n",
"<p>Paragraph</p>\n\n<div>\nHow about here? >&<\n</div>\n",
"Paragraph\n<div>\nHere? >&<\n</div>\nAnd here?\n",
"<p>Paragraph\n<div>\nHere? >&<\n</div>\nAnd here?</p>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\nAnd here?\n",
"<p>Paragraph</p>\n\n<p><div>\nHow about here? >&<\n</div>\nAnd here?</p>\n",
"Paragraph\n<div>\nHere? >&<\n</div>\n\nAnd here?\n",
"<p>Paragraph\n<div>\nHere? >&<\n</div></p>\n\n<p>And here?</p>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\n\nAnd here?\n",
"<p>Paragraph</p>\n\n<div>\nHow about here? >&<\n</div>\n\n<p>And here?</p>\n",
}
doTestsBlock(t, tests, 0)
}
func TestPreformattedHtmlLax(t *testing.T) {
var tests = []string{
"Paragraph\n<div>\nHere? >&<\n</div>\n",
"<p>Paragraph</p>\n\n<div>\nHere? >&<\n</div>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\n",
"<p>Paragraph</p>\n\n<div>\nHow about here? >&<\n</div>\n",
"Paragraph\n<div>\nHere? >&<\n</div>\nAnd here?\n",
"<p>Paragraph</p>\n\n<div>\nHere? >&<\n</div>\n\n<p>And here?</p>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\nAnd here?\n",
"<p>Paragraph</p>\n\n<div>\nHow about here? >&<\n</div>\n\n<p>And here?</p>\n",
"Paragraph\n<div>\nHere? >&<\n</div>\n\nAnd here?\n",
"<p>Paragraph</p>\n\n<div>\nHere? >&<\n</div>\n\n<p>And here?</p>\n",
"Paragraph\n\n<div>\nHow about here? >&<\n</div>\n\nAnd here?\n",
"<p>Paragraph</p>\n\n<div>\nHow about here? >&<\n</div>\n\n<p>And here?</p>\n",
}
doTestsBlock(t, tests, EXTENSION_LAX_HTML_BLOCKS)
}
func TestFencedCodeBlock(t *testing.T) {
var tests = []string{
"``` go\nfunc foo() bool {\n\treturn true;\n}\n```\n",
"<pre><code class=\"language-go\">func foo() bool {\n\treturn true;\n}\n</code></pre>\n",
"``` c\n/* special & char < > \" escaping */\n```\n",
"<pre><code class=\"language-c\">/* special & char < > " escaping */\n</code></pre>\n",
"``` c\nno *inline* processing ~~of text~~\n```\n",
"<pre><code class=\"language-c\">no *inline* processing ~~of text~~\n</code></pre>\n",
"```\nNo language\n```\n",
"<pre><code>No language\n</code></pre>\n",
"``` {ocaml}\nlanguage in braces\n```\n",
"<pre><code class=\"language-ocaml\">language in braces\n</code></pre>\n",
"``` {ocaml} \nwith extra whitespace\n```\n",
"<pre><code class=\"language-ocaml\">with extra whitespace\n</code></pre>\n",
"```{ ocaml }\nwith extra whitespace\n```\n",
"<pre><code class=\"language-ocaml\">with extra whitespace\n</code></pre>\n",
"~ ~~ java\nWith whitespace\n~~~\n",
"<p>~ ~~ java\nWith whitespace\n~~~</p>\n",
"~~\nonly two\n~~\n",
"<p>~~\nonly two\n~~</p>\n",
"```` python\nextra\n````\n",
"<pre><code class=\"language-python\">extra\n</code></pre>\n",
"~~~ perl\nthree to start, four to end\n~~~~\n",
"<p>~~~ perl\nthree to start, four to end\n~~~~</p>\n",
"~~~~ perl\nfour to start, three to end\n~~~\n",
"<p>~~~~ perl\nfour to start, three to end\n~~~</p>\n",
"~~~ bash\ntildes\n~~~\n",
"<pre><code class=\"language-bash\">tildes\n</code></pre>\n",
"``` lisp\nno ending\n",
"<p>``` lisp\nno ending</p>\n",
"~~~ lisp\nend with language\n~~~ lisp\n",
"<p>~~~ lisp\nend with language\n~~~ lisp</p>\n",
"```\nmismatched begin and end\n~~~\n",
"<p>```\nmismatched begin and end\n~~~</p>\n",
"~~~\nmismatched begin and end\n```\n",
"<p>~~~\nmismatched begin and end\n```</p>\n",
" ``` oz\nleading spaces\n```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
"``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code>``` oz\n</code></pre>\n\n<p>leading spaces\n ```</p>\n",
"Bla bla\n\n``` oz\ncode blocks breakup paragraphs\n```\n\nBla Bla\n",
"<p>Bla bla</p>\n\n<pre><code class=\"language-oz\">code blocks breakup paragraphs\n</code></pre>\n\n<p>Bla Bla</p>\n",
"Some text before a fenced code block\n``` oz\ncode blocks breakup paragraphs\n```\nAnd some text after a fenced code block",
"<p>Some text before a fenced code block</p>\n\n<pre><code class=\"language-oz\">code blocks breakup paragraphs\n</code></pre>\n\n<p>And some text after a fenced code block</p>\n",
"`",
"<p>`</p>\n",
"Bla bla\n\n``` oz\ncode blocks breakup paragraphs\n```\n\nBla Bla\n\n``` oz\nmultiple code blocks work okay\n```\n\nBla Bla\n",
"<p>Bla bla</p>\n\n<pre><code class=\"language-oz\">code blocks breakup paragraphs\n</code></pre>\n\n<p>Bla Bla</p>\n\n<pre><code class=\"language-oz\">multiple code blocks work okay\n</code></pre>\n\n<p>Bla Bla</p>\n",
"Some text before a fenced code block\n``` oz\ncode blocks breakup paragraphs\n```\nSome text in between\n``` oz\nmultiple code blocks work okay\n```\nAnd some text after a fenced code block",
"<p>Some text before a fenced code block</p>\n\n<pre><code class=\"language-oz\">code blocks breakup paragraphs\n</code></pre>\n\n<p>Some text in between</p>\n\n<pre><code class=\"language-oz\">multiple code blocks work okay\n</code></pre>\n\n<p>And some text after a fenced code block</p>\n",
}
doTestsBlock(t, tests, EXTENSION_FENCED_CODE)
}
func TestFencedCodeInsideBlockquotes(t *testing.T) {
cat := func(s ...string) string { return strings.Join(s, "\n") }
var tests = []string{
cat("> ```go",
"package moo",
"",
"```",
""),
`<blockquote>
<pre><code class="language-go">package moo
</code></pre>
</blockquote>
`,
// -------------------------------------------
cat("> foo",
"> ",
"> ```go",
"package moo",
"```",
"> ",
"> goo.",
""),
`<blockquote>
<p>foo</p>
<pre><code class="language-go">package moo
</code></pre>
<p>goo.</p>
</blockquote>
`,
// -------------------------------------------
cat("> foo",
"> ",
"> quote",
"continues",
"```",
""),
`<blockquote>
<p>foo</p>
<p>quote
continues
` + "```" + `</p>
</blockquote>
`,
// -------------------------------------------
cat("> foo",
"> ",
"> ```go",
"package moo",
"```",
"> ",
"> goo.",
"> ",
"> ```go",
"package zoo",
"```",
"> ",
"> woo.",
""),
`<blockquote>
<p>foo</p>
<pre><code class="language-go">package moo
</code></pre>
<p>goo.</p>
<pre><code class="language-go">package zoo
</code></pre>
<p>woo.</p>
</blockquote>
`,
}
// These 2 alternative forms of blockquoted fenced code blocks should produce same output.
forms := [2]string{
cat("> plain quoted text",
"> ```fenced",
"code",
" with leading single space correctly preserved",
"okay",
"```",
"> rest of quoted text"),
cat("> plain quoted text",
"> ```fenced",
"> code",
"> with leading single space correctly preserved",
"> okay",
"> ```",
"> rest of quoted text"),
}
want := `<blockquote>
<p>plain quoted text</p>
<pre><code class="language-fenced">code
with leading single space correctly preserved
okay
</code></pre>
<p>rest of quoted text</p>
</blockquote>
`
tests = append(tests, forms[0], want)
tests = append(tests, forms[1], want)
doTestsBlock(t, tests, EXTENSION_FENCED_CODE)
}
func TestTable(t *testing.T) {
var tests = []string{
"a | b\n---|---\nc | d\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td>c</td>\n<td>d</td>\n</tr>\n</tbody>\n</table>\n",
"a | b\n---|--\nc | d\n",
"<p>a | b\n---|--\nc | d</p>\n",
"|a|b|c|d|\n|----|----|----|---|\n|e|f|g|h|\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n<th>c</th>\n<th>d</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td>e</td>\n<td>f</td>\n<td>g</td>\n<td>h</td>\n</tr>\n</tbody>\n</table>\n",
"*a*|__b__|[c](C)|d\n---|---|---|---\ne|f|g|h\n",
"<table>\n<thead>\n<tr>\n<th><em>a</em></th>\n<th><strong>b</strong></th>\n<th><a href=\"C\">c</a></th>\n<th>d</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td>e</td>\n<td>f</td>\n<td>g</td>\n<td>h</td>\n</tr>\n</tbody>\n</table>\n",
"a|b|c\n---|---|---\nd|e|f\ng|h\ni|j|k|l|m\nn|o|p\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n<th>c</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td>d</td>\n<td>e</td>\n<td>f</td>\n</tr>\n\n" +
"<tr>\n<td>g</td>\n<td>h</td>\n<td></td>\n</tr>\n\n" +
"<tr>\n<td>i</td>\n<td>j</td>\n<td>k</td>\n</tr>\n\n" +
"<tr>\n<td>n</td>\n<td>o</td>\n<td>p</td>\n</tr>\n</tbody>\n</table>\n",
"a|b|c\n---|---|---\n*d*|__e__|f\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n<th>c</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td><em>d</em></td>\n<td><strong>e</strong></td>\n<td>f</td>\n</tr>\n</tbody>\n</table>\n",
"a|b|c|d\n:--|--:|:-:|---\ne|f|g|h\n",
"<table>\n<thead>\n<tr>\n<th align=\"left\">a</th>\n<th align=\"right\">b</th>\n" +
"<th align=\"center\">c</th>\n<th>d</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td align=\"left\">e</td>\n<td align=\"right\">f</td>\n" +
"<td align=\"center\">g</td>\n<td>h</td>\n</tr>\n</tbody>\n</table>\n",
"a|b|c\n---|---|---\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n<th>c</th>\n</tr>\n</thead>\n\n<tbody>\n</tbody>\n</table>\n",
"a| b|c | d | e\n---|---|---|---|---\nf| g|h | i |j\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b</th>\n<th>c</th>\n<th>d</th>\n<th>e</th>\n</tr>\n</thead>\n\n" +
"<tbody>\n<tr>\n<td>f</td>\n<td>g</td>\n<td>h</td>\n<td>i</td>\n<td>j</td>\n</tr>\n</tbody>\n</table>\n",
"a|b\\|c|d\n---|---|---\nf|g\\|h|i\n",
"<table>\n<thead>\n<tr>\n<th>a</th>\n<th>b|c</th>\n<th>d</th>\n</tr>\n</thead>\n\n<tbody>\n<tr>\n<td>f</td>\n<td>g|h</td>\n<td>i</td>\n</tr>\n</tbody>\n</table>\n",
}
doTestsBlock(t, tests, EXTENSION_TABLES)
}
func TestUnorderedListWith_EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK(t *testing.T) {
var tests = []string{
"* Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"* Yin\n* Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"* Ting\n* Bong\n* Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"* Yin\n\n* Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"* Ting\n\n* Bong\n* Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"+ Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"+ Yin\n+ Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"+ Ting\n+ Bong\n+ Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"+ Yin\n\n+ Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"+ Ting\n\n+ Bong\n+ Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"- Hello\n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"- Yin\n- Yang\n",
"<ul>\n<li>Yin</li>\n<li>Yang</li>\n</ul>\n",
"- Ting\n- Bong\n- Goo\n",
"<ul>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ul>\n",
"- Yin\n\n- Yang\n",
"<ul>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ul>\n",
"- Ting\n\n- Bong\n- Goo\n",
"<ul>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ul>\n",
"*Hello\n",
"<p>*Hello</p>\n",
"* Hello \n",
"<ul>\n<li>Hello</li>\n</ul>\n",
"* Hello \n Next line \n",
"<ul>\n<li>Hello\nNext line</li>\n</ul>\n",
"Paragraph\n* No linebreak\n",
"<p>Paragraph</p>\n\n<ul>\n<li>No linebreak</li>\n</ul>\n",
"Paragraph\n\n* Linebreak\n",
"<p>Paragraph</p>\n\n<ul>\n<li>Linebreak</li>\n</ul>\n",
"* List\n * Nested list\n",
"<ul>\n<li>List\n\n<ul>\n<li>Nested list</li>\n</ul></li>\n</ul>\n",
"* List\n\n * Nested list\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>Nested list</li>\n</ul></li>\n</ul>\n",
"* List\n Second line\n\n + Nested\n",
"<ul>\n<li><p>List\nSecond line</p>\n\n<ul>\n<li>Nested</li>\n</ul></li>\n</ul>\n",
"* List\n + Nested\n\n Continued\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>Nested</li>\n</ul>\n\n<p>Continued</p></li>\n</ul>\n",
"* List\n * shallow indent\n",
"<ul>\n<li>List\n\n<ul>\n<li>shallow indent</li>\n</ul></li>\n</ul>\n",
"* List\n" +
" * shallow indent\n" +
" * part of second list\n" +
" * still second\n" +
" * almost there\n" +
" * third level\n",
"<ul>\n" +
"<li>List\n\n" +
"<ul>\n" +
"<li>shallow indent</li>\n" +
"<li>part of second list</li>\n" +
"<li>still second</li>\n" +
"<li>almost there\n\n" +
"<ul>\n" +
"<li>third level</li>\n" +
"</ul></li>\n" +
"</ul></li>\n" +
"</ul>\n",
"* List\n extra indent, same paragraph\n",
"<ul>\n<li>List\n extra indent, same paragraph</li>\n</ul>\n",
"* List\n\n code block\n",
"<ul>\n<li><p>List</p>\n\n<pre><code>code block\n</code></pre></li>\n</ul>\n",
"* List\n\n code block with spaces\n",
"<ul>\n<li><p>List</p>\n\n<pre><code> code block with spaces\n</code></pre></li>\n</ul>\n",
"* List\n\n * sublist\n\n normal text\n\n * another sublist\n",
"<ul>\n<li><p>List</p>\n\n<ul>\n<li>sublist</li>\n</ul>\n\n<p>normal text</p>\n\n<ul>\n<li>another sublist</li>\n</ul></li>\n</ul>\n",
}
doTestsBlock(t, tests, EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK)
}
func TestOrderedList_EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK(t *testing.T) {
var tests = []string{
"1. Hello\n",
"<ol>\n<li>Hello</li>\n</ol>\n",
"1. Yin\n2. Yang\n",
"<ol>\n<li>Yin</li>\n<li>Yang</li>\n</ol>\n",
"1. Ting\n2. Bong\n3. Goo\n",
"<ol>\n<li>Ting</li>\n<li>Bong</li>\n<li>Goo</li>\n</ol>\n",
"1. Yin\n\n2. Yang\n",
"<ol>\n<li><p>Yin</p></li>\n\n<li><p>Yang</p></li>\n</ol>\n",
"1. Ting\n\n2. Bong\n3. Goo\n",
"<ol>\n<li><p>Ting</p></li>\n\n<li><p>Bong</p></li>\n\n<li><p>Goo</p></li>\n</ol>\n",
"1 Hello\n",
"<p>1 Hello</p>\n",
"1.Hello\n",
"<p>1.Hello</p>\n",
"1. Hello \n",
"<ol>\n<li>Hello</li>\n</ol>\n",
"1. Hello \n Next line \n",
"<ol>\n<li>Hello\nNext line</li>\n</ol>\n",
"Paragraph\n1. No linebreak\n",
"<p>Paragraph</p>\n\n<ol>\n<li>No linebreak</li>\n</ol>\n",
"Paragraph\n\n1. Linebreak\n",
"<p>Paragraph</p>\n\n<ol>\n<li>Linebreak</li>\n</ol>\n",
"1. List\n 1. Nested list\n",
"<ol>\n<li>List\n\n<ol>\n<li>Nested list</li>\n</ol></li>\n</ol>\n",
"1. List\n\n 1. Nested list\n",
"<ol>\n<li><p>List</p>\n\n<ol>\n<li>Nested list</li>\n</ol></li>\n</ol>\n",
"1. List\n Second line\n\n 1. Nested\n",
"<ol>\n<li><p>List\nSecond line</p>\n\n<ol>\n<li>Nested</li>\n</ol></li>\n</ol>\n",
"1. List\n 1. Nested\n\n Continued\n",
"<ol>\n<li><p>List</p>\n\n<ol>\n<li>Nested</li>\n</ol>\n\n<p>Continued</p></li>\n</ol>\n",
"1. List\n 1. shallow indent\n",
"<ol>\n<li>List\n\n<ol>\n<li>shallow indent</li>\n</ol></li>\n</ol>\n",
"1. List\n" +
" 1. shallow indent\n" +
" 2. part of second list\n" +
" 3. still second\n" +
" 4. almost there\n" +
" 1. third level\n",
"<ol>\n" +
"<li>List\n\n" +
"<ol>\n" +
"<li>shallow indent</li>\n" +
"<li>part of second list</li>\n" +
"<li>still second</li>\n" +
"<li>almost there\n\n" +
"<ol>\n" +
"<li>third level</li>\n" +
"</ol></li>\n" +
"</ol></li>\n" +
"</ol>\n",
"1. List\n extra indent, same paragraph\n",
"<ol>\n<li>List\n extra indent, same paragraph</li>\n</ol>\n",
"1. List\n\n code block\n",
"<ol>\n<li><p>List</p>\n\n<pre><code>code block\n</code></pre></li>\n</ol>\n",
"1. List\n\n code block with spaces\n",
"<ol>\n<li><p>List</p>\n\n<pre><code> code block with spaces\n</code></pre></li>\n</ol>\n",
"1. List\n * Mixted list\n",
"<ol>\n<li>List\n\n<ul>\n<li>Mixted list</li>\n</ul></li>\n</ol>\n",
"1. List\n * Mixed list\n",
"<ol>\n<li>List\n\n<ul>\n<li>Mixed list</li>\n</ul></li>\n</ol>\n",
"* Start with unordered\n 1. Ordered\n",
"<ul>\n<li>Start with unordered\n\n<ol>\n<li>Ordered</li>\n</ol></li>\n</ul>\n",
"* Start with unordered\n 1. Ordered\n",
"<ul>\n<li>Start with unordered\n\n<ol>\n<li>Ordered</li>\n</ol></li>\n</ul>\n",
"1. numbers\n1. are ignored\n",
"<ol>\n<li>numbers</li>\n<li>are ignored</li>\n</ol>\n",
}
doTestsBlock(t, tests, EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK)
}
func TestFencedCodeBlock_EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK(t *testing.T) {
var tests = []string{
"``` go\nfunc foo() bool {\n\treturn true;\n}\n```\n",
"<pre><code class=\"language-go\">func foo() bool {\n\treturn true;\n}\n</code></pre>\n",
"``` c\n/* special & char < > \" escaping */\n```\n",
"<pre><code class=\"language-c\">/* special & char < > " escaping */\n</code></pre>\n",
"``` c\nno *inline* processing ~~of text~~\n```\n",
"<pre><code class=\"language-c\">no *inline* processing ~~of text~~\n</code></pre>\n",
"```\nNo language\n```\n",
"<pre><code>No language\n</code></pre>\n",
"``` {ocaml}\nlanguage in braces\n```\n",
"<pre><code class=\"language-ocaml\">language in braces\n</code></pre>\n",
"``` {ocaml} \nwith extra whitespace\n```\n",
"<pre><code class=\"language-ocaml\">with extra whitespace\n</code></pre>\n",
"```{ ocaml }\nwith extra whitespace\n```\n",
"<pre><code class=\"language-ocaml\">with extra whitespace\n</code></pre>\n",
"~ ~~ java\nWith whitespace\n~~~\n",
"<p>~ ~~ java\nWith whitespace\n~~~</p>\n",
"~~\nonly two\n~~\n",
"<p>~~\nonly two\n~~</p>\n",
"```` python\nextra\n````\n",
"<pre><code class=\"language-python\">extra\n</code></pre>\n",
"~~~ perl\nthree to start, four to end\n~~~~\n",
"<p>~~~ perl\nthree to start, four to end\n~~~~</p>\n",
"~~~~ perl\nfour to start, three to end\n~~~\n",
"<p>~~~~ perl\nfour to start, three to end\n~~~</p>\n",
"~~~ bash\ntildes\n~~~\n",
"<pre><code class=\"language-bash\">tildes\n</code></pre>\n",
"``` lisp\nno ending\n",
"<p>``` lisp\nno ending</p>\n",
"~~~ lisp\nend with language\n~~~ lisp\n",
"<p>~~~ lisp\nend with language\n~~~ lisp</p>\n",
"```\nmismatched begin and end\n~~~\n",
"<p>```\nmismatched begin and end\n~~~</p>\n",
"~~~\nmismatched begin and end\n```\n",
"<p>~~~\nmismatched begin and end\n```</p>\n",
" ``` oz\nleading spaces\n```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
"``` oz\nleading spaces\n ```\n",
"<pre><code class=\"language-oz\">leading spaces\n</code></pre>\n",
" ``` oz\nleading spaces\n ```\n",
"<pre><code>``` oz\n</code></pre>\n\n<p>leading spaces</p>\n\n<pre><code>```\n</code></pre>\n",
}
doTestsBlock(t, tests, EXTENSION_FENCED_CODE|EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK)
}
func TestTitleBlock_EXTENSION_TITLEBLOCK(t *testing.T) {
var tests = []string{
"% Some title\n" +
"% Another title line\n" +
"% Yep, more here too\n",
"<h1 class=\"title\">" +
"Some title\n" +
"Another title line\n" +
"Yep, more here too\n" +
"</h1>",
}
doTestsBlock(t, tests, EXTENSION_TITLEBLOCK)
}
func TestBlockComments(t *testing.T) {
var tests = []string{
"Some text\n\n<!-- comment -->\n",
"<p>Some text</p>\n\n<!-- comment -->\n",
"Some text\n\n<!--\n\nmultiline\ncomment\n-->\n",
"<p>Some text</p>\n\n<!--\n\nmultiline\ncomment\n-->\n",
"Some text\n\n<!--\n\n<div><p>Commented</p>\n<span>html</span></div>\n-->\n",
"<p>Some text</p>\n\n<!--\n\n<div><p>Commented</p>\n<span>html</span></div>\n-->\n",
}
doTestsBlock(t, tests, 0)
}
|
Go
|
// -- Sammy -- /plugins/sammy.form.js
// http://code.quirkey.com/sammy
// Version: 0.5.4
// Built: Thu Apr 29 19:30:53 -0400 2010
(function(b){Sammy=Sammy||{};function a(d,e){if(typeof e==="undefined"){return""}else{if(b.isFunction(e)){e=e.apply(d)}}return e.toString()}function c(d,e,g){var f="<";f+=d;if(typeof e!="undefined"){b.each(e,function(h,i){if(i!=null){f+=" "+h+"='";f+=a(e,i).replace(/\'/g,"'");f+="'"}})}if(g===false){f+=">"}else{if(typeof g!="undefined"){f+=">";f+=a(this,g);f+="</"+d+">"}else{f+=" />"}}return f}Sammy.FormBuilder=function(e,d){this.name=e;this.object=d};b.extend(Sammy.FormBuilder.prototype,{open:function(d){return c("form",b.extend({method:"post",action:"#/"+this.name+"s"},d),false)},close:function(){return"</form>"},label:function(e,g,d){var f={"for":this._attributesForKeyPath(e).name};return c("label",b.extend(f,d),g)},hidden:function(e,d){d=b.extend({type:"hidden"},this._attributesForKeyPath(e),d);return c("input",d)},text:function(e,d){d=b.extend({type:"text"},this._attributesForKeyPath(e),d);return c("input",d)},textarea:function(e,d){var f;d=b.extend(this._attributesForKeyPath(e),d);f=d.value;delete d.value;return c("textarea",d,f)},password:function(e,d){return this.text(e,b.extend({type:"password"},d))},select:function(e,f,d){var h="",g;d=b.extend(this._attributesForKeyPath(e),d);g=d.value;delete d.value;b.each(f,function(j,k){var l,n,m;if(b.isArray(k)){l=k[1],n=k[0]}else{l=k,n=k}m={value:a(this.object,l)};if(l===g){m.selected="selected"}h+=c("option",m,n)});return c("select",d,h)},radio:function(e,g,d){var f;d=b.extend(this._attributesForKeyPath(e),d);f=d.value;d.value=a(this.object,g);if(f==d.value){d.checked="checked"}return c("input",b.extend({type:"radio"},d))},checkbox:function(e,g,d){var f="";if(!d){d={}}if(d.hidden_element!==false){f+=this.hidden(e,{value:!g})}delete d.hidden_element;f+=this.radio(e,g,b.extend({type:"checkbox"},d));return f},submit:function(d){return c("input",b.extend({type:"submit"},d))},_attributesForKeyPath:function(e){var d=this,g=b.isArray(e)?e:e.split(/\./),f=d.name,i=d.object,h=d.name;b.each(g,function(k,j){if((typeof i==="undefined")||i==""){i=""}else{if(typeof j=="number"||j.match(/^\d+$/)){i=i[parseInt(j,10)]}else{i=i[j]}}f+="["+j+"]";h+="-"+j});return{name:f,value:a(d.object,i),"class":h}}});Sammy.Form=function(d){d.helpers({simple_element:c,formFor:function(g,f,h){var e;if(b.isFunction(f)){h=f;f=this[g]}e=new Sammy.FormBuilder(g,f),h.apply(this,[e]);return e}})}})(jQuery);
|
JavaScript
|
body{
background-color: antiquewhite;
font-family: "Rubik";
}
form{
text-align: right;
margin-right: 1100px;
margin-left:0px;
}
.star{
font-size: 14px;
}
a{
font-size: 18px;
}
|
CSS
|
<?php
namespace Goodby\CSV\Import\Standard\StreamFilter;
use php_user_filter;
use RuntimeException;
class ConvertMbstringEncoding extends php_user_filter
{
/**
* @var string
*/
const FILTER_NAMESPACE = 'convert.mbstring.encoding.';
/**
* @var bool
*/
private static $hasBeenRegistered = false;
/**
* @var string
*/
private $fromCharset;
/**
* @var string
*/
private $toCharset;
/**
* Return filter name
* @return string
*/
public static function getFilterName()
{
return self::FILTER_NAMESPACE.'*';
}
/**
* Register this class as a stream filter
* @throws \RuntimeException
*/
public static function register()
{
if ( self::$hasBeenRegistered === true ) {
return;
}
if ( stream_filter_register(self::getFilterName(), __CLASS__) === false ) {
throw new RuntimeException('Failed to register stream filter: '.self::getFilterName());
}
self::$hasBeenRegistered = true;
}
/**
* Return filter URL
* @param string $filename
* @param string $fromCharset
* @param string $toCharset
* @return string
*/
public static function getFilterURL($filename, $fromCharset, $toCharset = null)
{
if ( $toCharset === null ) {
return sprintf('php://filter/convert.mbstring.encoding.%s/resource=%s', $fromCharset, $filename);
} else {
return sprintf('php://filter/convert.mbstring.encoding.%s:%s/resource=%s', $fromCharset, $toCharset, $filename);
}
}
/**
* @return bool
*/
public function onCreate()
{
if ( strpos($this->filtername, self::FILTER_NAMESPACE) !== 0 ) {
return false;
}
$parameterString = substr($this->filtername, strlen(self::FILTER_NAMESPACE));
if ( ! preg_match('/^(?P<from>[-\w]+)(:(?P<to>[-\w]+))?$/', $parameterString, $matches) ) {
return false;
}
$this->fromCharset = isset($matches['from']) ? $matches['from'] : 'auto';
$this->toCharset = isset($matches['to']) ? $matches['to'] : mb_internal_encoding();
return true;
}
/**
* @param string $in
* @param string $out
* @param string $consumed
* @param $closing
* @return int
*/
public function filter($in, $out, &$consumed, $closing)
{
while ( $bucket = stream_bucket_make_writeable($in) ) {
$bucket->data = mb_convert_encoding($bucket->data, $this->toCharset, $this->fromCharset);
$consumed += $bucket->datalen;
stream_bucket_append($out, $bucket);
}
return PSFS_PASS_ON;
}
}
|
Hack
|
#
# fields is a package for analysis of spatial data written for
# the R software environment.
# Copyright (C) 2024 Colorado School of Mines
# 1500 Illinois St., Golden, CO 80401
# Contact: Douglas Nychka, douglasnychka@gmail.com,
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the R software environment if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# or see http://www.r-project.org/Licenses/GPL-2
##END HEADER
colorBar<- function(breaks,
smallplot,
colorTable,
horizontal = FALSE,
lab.breaks,
axis.args,
legend.lab,
legend.line = 2,
legend.args,
legend.cex = 1,
lowerTriangle = FALSE,
upperTriangle = NULL
){
# Following code draws the legend using the image function
# and a one column image.
# What might be confusing is the values of the "image" are the same
# as the locations on the legend axis.
# Moreover the image values are in the middle of each breakpoint category
# thanks to Tobias Nanu Frechen and Matthew Flickinger
# for sorting out some problems with the breaks position in the legend.
ix <- 1:2
# if triangles for end points upper or lower limits in breaks should
# be omitted and the colorTable also amended.
lowerColor<- NULL
upperColor<- NULL
if( lowerTriangle){
breaks<- breaks[-1]
lowerColor<- colorTable[1]
colorTable<- colorTable[-1]
}
if( upperTriangle){
n1<- length(breaks)
breaks<- breaks[-n1]
n2<- length(colorTable)
upperColor<- colorTable[n2]
colorTable<- colorTable[-n2]
}
iy<- breaks
N<- length(colorTable)
nBreaks<- length( breaks)
midpoints<- (breaks[1:(nBreaks-1)] + breaks[2:nBreaks] )/2
iz <- matrix(midpoints, nrow = 1, ncol = length(midpoints))
#
# next par call sets up a new plotting region just for the legend strip
# at the smallplot coordinates
par(new = TRUE, pty = "m", plt = smallplot, err = -1)
# draw color scales the two cases are horizontal/vertical
# add a label if this is passed.
if (!horizontal) {
image(ix, iy, iz, xaxt = "n", yaxt = "n", xlab = "",
ylab = "", col = colorTable, breaks=breaks)
}
else {
image(iy, ix, t(iz), xaxt = "n", yaxt = "n", xlab = "",
ylab = "", col = colorTable, breaks=breaks)
}
# add triangles at ends
addTriangle<- !( is.null(lowerColor)& is.null(upperColor))
if(addTriangle){
addColorBarTriangle(
lowerColor=lowerColor,
upperColor=upperColor,
horizontal=horizontal
)
}
# create the argument list to draw the axis
# this avoids 4 separate calls to axis and allows passing extra
# arguments.
if (!is.null(lab.breaks)) {
# axis with labels at break points
axis.args <- c(list(side = ifelse(horizontal, 1, 4),
mgp = c(3, 1, 0), las = ifelse(horizontal, 0, 2),
at = breaks, labels = lab.breaks), axis.args)
}
else {
# If lab.breaks is not specified ( with or without breaks), pretty
# tick mark locations and labels are computed internally,
# or as specified in axis.args at the function call
axis.args <- c(list(side = ifelse(horizontal, 1, 4),
mgp = c(3, 1, 0), las = ifelse(horizontal, 0, 2)),
axis.args)
}
#
# now add the axis to the legend strip.
# notice how all the information is in the list axis.args
do.call("axis", axis.args)
#
# add a label to the axis if information has been supplied
# using the mtext function. The arguments to mtext are
# passed as a list like the drill for axis (see above)
#
if (!is.null(legend.lab)) {
legend.args <- list(text = legend.lab,
side = ifelse(horizontal, 1, 4),
line = legend.line, # this may need to be tuned
cex = legend.cex)
}
# add the label using mtext function
if (!is.null(legend.args)) {
do.call(mtext, legend.args)
}
#
}
|
R
|
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-altivec.h"
#include "../common/n1fv_32.c"
|
C
|
/*
-- MAGMA (version 2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date
@precisions normal z -> c d s
@author Hartwig Anzt
*/
// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cuda_runtime.h>
// includes, project
#include "magma_v2.h"
#include "magmasparse.h"
#include "testings.h"
/* ////////////////////////////////////////////////////////////////////////////
-- testing any solver
*/
int main( int argc, char** argv )
{
magma_int_t info = 0;
TESTING_CHECK( magma_init() );
magma_print_environment();
magma_zopts zopts;
magma_queue_t queue;
magma_queue_create( 0, &queue );
magmaDoubleComplex one = MAGMA_Z_MAKE(1.0, 0.0);
magmaDoubleComplex zero = MAGMA_Z_MAKE(0.0, 0.0);
magmaDoubleComplex mone = MAGMA_Z_MAKE(-1.0, 0.0);
magma_z_matrix A={Magma_CSR}, a={Magma_CSR}, b={Magma_CSR};
magma_z_matrix c={Magma_CSR}, d={Magma_CSR};
magma_int_t dofs;
double res;
//Chronometry
real_Double_t tempo1, tempo2;
int debug = 0;
int i=1;
TESTING_CHECK( magma_zparse_opts( argc, argv, &zopts, &i, queue ));
zopts.solver_par.solver = Magma_PBICGSTAB;
TESTING_CHECK( magma_zsolverinfo_init( &zopts.solver_par, &zopts.precond_par, queue ));
while( i < argc ) {
if ( strcmp("LAPLACE2D", argv[i]) == 0 && i+1 < argc ) { // Laplace test
i++;
magma_int_t laplace_size = atoi( argv[i] );
TESTING_CHECK( magma_zm_5stencil( laplace_size, &A, queue ));
} else { // file-matrix test
TESTING_CHECK( magma_z_csr_mtx( &A, argv[i], queue ));
}
dofs = A.num_rows;
printf( "\n%% matrix info: %lld-by-%lld with %lld nonzeros\n\n",
(long long) A.num_rows, (long long) A.num_cols, (long long) A.nnz );
printf("matrixinfo = [\n");
printf("%% size (m x n) || nonzeros (nnz) || nnz/m || stored nnz\n");
printf("%%============================================================================%%\n");
printf(" %8lld %8lld %10lld %4lld %10lld\n",
(long long) A.num_rows, (long long) A.num_cols, (long long) A.true_nnz,
(long long) (A.true_nnz/A.num_rows), (long long) A.nnz );
printf("%%============================================================================%%\n");
printf("];\n");
if(debug)printf("%% --- debug mode ---");
else { printf("prec_info = [\n");
printf("%% row-wise: cuSOLVE, sync-free, BJ(1)-3, BJ(1)-5, BJ(12)-3, BJ(12)-5, BJ(24)-3, BJ(24)-5, ISAI(1)-0, ISAI(2)-0, ISAI(3)-0\n");
printf("%% col-wise: prec-setup res_L time_L res_U time_U\n");
}
// preconditioner with cusparse trisolve
printf("%% --- Now use cuSPARSE trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_CUSOLVE;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with sync-free trisolve
printf("\n%% --- Now use sync-free trisolve (under construction) ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_SYNCFREESOLVE;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 1;
zopts.precond_par.maxiter = 3;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 1;
zopts.precond_par.maxiter = 5;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 12;
zopts.precond_par.maxiter = 3;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 12;
zopts.precond_par.maxiter = 5;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 24;
zopts.precond_par.maxiter = 3;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with blcok-Jacobi trisolve
printf("\n%% --- Now use block-Jacobi trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_JACOBI;
zopts.precond_par.pattern = 24;
zopts.precond_par.maxiter = 5;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with sync-free trisolve
printf("\n%% --- Now use ISAI trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_ISAI;
zopts.precond_par.pattern = 1;
zopts.precond_par.maxiter = 0;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
// insert here a check wether we went for the fallback
if( zopts.precond_par.trisolver == Magma_ISAI ){
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
} else {
printf("NaN\tNaN\tNaN\tNaN\tNaN\n",tempo2-tempo1 );
}
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with sync-free trisolve
printf("\n%% --- Now use ISAI trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_ISAI;
zopts.precond_par.pattern = 2;
zopts.precond_par.maxiter = 0;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
// insert here a check wether we went for the fallback
if( zopts.precond_par.trisolver == Magma_ISAI ){
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
} else {
printf("NaN\tNaN\tNaN\tNaN\tNaN\n",tempo2-tempo1 );
}
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
// preconditioner with sync-free trisolve
printf("\n%% --- Now use ISAI trisolve ---\n");
zopts.precond_par.solver = Magma_ILU;
zopts.precond_par.trisolver = Magma_ISAI;
zopts.precond_par.pattern = 3;
zopts.precond_par.maxiter = 0;
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_precondsetup( A, b, &zopts.solver_par, &zopts.precond_par, queue ) );
// insert here a check wether we went for the fallback
if( zopts.precond_par.trisolver == Magma_ISAI ){
tempo2 = magma_sync_wtime( queue );
if(debug)printf("%% time_magma_z_precondsetup = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// vectors and initial guess
TESTING_CHECK( magma_zvinit( &a, Magma_DEV, A.num_rows, 1, one, queue ));
TESTING_CHECK( magma_zvinit( &b, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &c, Magma_DEV, A.num_rows, 1, zero, queue ));
TESTING_CHECK( magma_zvinit( &d, Magma_DEV, A.num_rows, 1, zero, queue ));
// b = sptrsv(L,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_left( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.L, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_L = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_L = %.6e\n",tempo2-tempo1 );
else printf("%.6e\t",tempo2-tempo1 );
// b = sptrsv(U,a)
// c = L*b
// d = a-c
// res = norm(d)
tempo1 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_applyprecond_right( MagmaNoTrans, A, a, &b, &zopts.precond_par, queue ));
cudaDeviceSynchronize();
tempo2 = magma_sync_wtime( queue );
TESTING_CHECK( magma_z_spmv( one, zopts.precond_par.U, b, zero, c, queue ));
magma_zcopy( dofs, a.dval, 1 , d.dval, 1, queue );
magma_zaxpy( dofs, mone, c.dval, 1 , d.dval, 1, queue );
res = magma_dznrm2( dofs, d.dval, 1, queue );
if(debug)printf("%% residual_U = %.6e\n", res );
else printf("%.6e\t", res );
if(debug)printf("%% time_U = %.6e\n",tempo2-tempo1 );
else printf("%.6e\n",tempo2-tempo1 );
} else {
printf("NaN\tNaN\tNaN\tNaN\tNaN\n",tempo2-tempo1 );
}
magma_zmfree(&a, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
magma_zprecondfree( &zopts.precond_par , queue );
if(debug)printf("%% --- completed ---");
else printf("];\n");
magma_zmfree(&A, queue );
magma_zmfree(&b, queue );
magma_zmfree(&c, queue );
magma_zmfree(&d, queue );
i++;
}
magma_queue_destroy( queue );
TESTING_CHECK( magma_finalize() );
return info;
}
|
C++
|
//
// MXProfileViewController.h
// MxWeibo
//
// Created by apple on 15/12/27.
// Copyright © 2015年 vizz. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MXProfileViewController : UIViewController
@end
|
Objective-C++
|
package csm
import (
"encoding/json"
"net"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
const (
// DefaultPort is used when no port is specified
DefaultPort = "31000"
)
// Reporter will gather metrics of API requests made and
// send those metrics to the CSM endpoint.
type Reporter struct {
clientID string
url string
conn net.Conn
metricsCh metricChan
done chan struct{}
}
var (
sender *Reporter
)
func connect(url string) error {
const network = "udp"
if err := sender.connect(network, url); err != nil {
return err
}
if sender.done == nil {
sender.done = make(chan struct{})
go sender.start()
}
return nil
}
func newReporter(clientID, url string) *Reporter {
return &Reporter{
clientID: clientID,
url: url,
metricsCh: newMetricChan(MetricsChannelSize),
}
}
func (rep *Reporter) sendAPICallAttemptMetric(r *request.Request) {
if rep == nil {
return
}
now := time.Now()
creds, _ := r.Config.Credentials.Get()
m := metric{
ClientID: aws.String(rep.clientID),
API: aws.String(r.Operation.Name),
Service: aws.String(r.ClientInfo.ServiceID),
Timestamp: (*metricTime)(&now),
UserAgent: aws.String(r.HTTPRequest.Header.Get("User-Agent")),
Region: r.Config.Region,
Type: aws.String("ApiCallAttempt"),
Version: aws.Int(1),
XAmzRequestID: aws.String(r.RequestID),
AttemptCount: aws.Int(r.RetryCount + 1),
AttemptLatency: aws.Int(int(now.Sub(r.AttemptTime).Nanoseconds() / int64(time.Millisecond))),
AccessKey: aws.String(creds.AccessKeyID),
}
if r.HTTPResponse != nil {
m.HTTPStatusCode = aws.Int(r.HTTPResponse.StatusCode)
}
if r.Error != nil {
if awserr, ok := r.Error.(awserr.Error); ok {
m.SetException(getMetricException(awserr))
}
}
m.TruncateFields()
rep.metricsCh.Push(m)
}
func getMetricException(err awserr.Error) metricException {
msg := err.Error()
code := err.Code()
switch code {
case "RequestError",
"SerializationError",
request.CanceledErrorCode:
return sdkException{
requestException{exception: code, message: msg},
}
default:
return awsException{
requestException{exception: code, message: msg},
}
}
}
func (rep *Reporter) sendAPICallMetric(r *request.Request) {
if rep == nil {
return
}
now := time.Now()
m := metric{
ClientID: aws.String(rep.clientID),
API: aws.String(r.Operation.Name),
Service: aws.String(r.ClientInfo.ServiceID),
Timestamp: (*metricTime)(&now),
UserAgent: aws.String(r.HTTPRequest.Header.Get("User-Agent")),
Type: aws.String("ApiCall"),
AttemptCount: aws.Int(r.RetryCount + 1),
Region: r.Config.Region,
Latency: aws.Int(int(time.Now().Sub(r.Time) / time.Millisecond)),
XAmzRequestID: aws.String(r.RequestID),
MaxRetriesExceeded: aws.Int(boolIntValue(r.RetryCount >= r.MaxRetries())),
}
if r.HTTPResponse != nil {
m.FinalHTTPStatusCode = aws.Int(r.HTTPResponse.StatusCode)
}
if r.Error != nil {
if awserr, ok := r.Error.(awserr.Error); ok {
m.SetFinalException(getMetricException(awserr))
}
}
m.TruncateFields()
// TODO: Probably want to figure something out for logging dropped
// metrics
rep.metricsCh.Push(m)
}
func (rep *Reporter) connect(network, url string) error {
if rep.conn != nil {
rep.conn.Close()
}
conn, err := net.Dial(network, url)
if err != nil {
return awserr.New("UDPError", "Could not connect", err)
}
rep.conn = conn
return nil
}
func (rep *Reporter) close() {
if rep.done != nil {
close(rep.done)
}
rep.metricsCh.Pause()
}
func (rep *Reporter) start() {
defer func() {
rep.metricsCh.Pause()
}()
for {
select {
case <-rep.done:
rep.done = nil
return
case m := <-rep.metricsCh.ch:
// TODO: What to do with this error? Probably should just log
b, err := json.Marshal(m)
if err != nil {
continue
}
rep.conn.Write(b)
}
}
}
// Pause will pause the metric channel preventing any new metrics from
// being added.
func (rep *Reporter) Pause() {
lock.Lock()
defer lock.Unlock()
if rep == nil {
return
}
rep.close()
}
// Continue will reopen the metric channel and allow for monitoring
// to be resumed.
func (rep *Reporter) Continue() {
lock.Lock()
defer lock.Unlock()
if rep == nil {
return
}
if !rep.metricsCh.IsPaused() {
return
}
rep.metricsCh.Continue()
}
// InjectHandlers will will enable client side metrics and inject the proper
// handlers to handle how metrics are sent.
//
// Example:
// // Start must be called in order to inject the correct handlers
// r, err := csm.Start("clientID", "127.0.0.1:8094")
// if err != nil {
// panic(fmt.Errorf("expected no error, but received %v", err))
// }
//
// sess := session.NewSession()
// r.InjectHandlers(&sess.Handlers)
//
// // create a new service client with our client side metric session
// svc := s3.New(sess)
func (rep *Reporter) InjectHandlers(handlers *request.Handlers) {
if rep == nil {
return
}
handlers.Complete.PushFrontNamed(request.NamedHandler{
Name: APICallMetricHandlerName,
Fn: rep.sendAPICallMetric,
})
handlers.CompleteAttempt.PushFrontNamed(request.NamedHandler{
Name: APICallAttemptMetricHandlerName,
Fn: rep.sendAPICallAttemptMetric,
})
}
// boolIntValue return 1 for true and 0 for false.
func boolIntValue(b bool) int {
if b {
return 1
}
return 0
}
|
Go
|
<#
.SYNOPSIS
PingID API Sample Powershell Script: Create-Job.ps1
.DESCRIPTION
This script will create a new reporting job in PingID using the PingID API. For more information, review the API documentation: https://developer.pingidentity.com/en/api/pingid-api.html
Note: This software is open sourced by Ping Identity but not supported commercially as such. Any questions/issues should go to the Github issues tracker or discuss on the Ping Identity developer communities. See also the DISCLAIMER file in this directory.
.PARAMETER JobType
The PingID Job Type. Currently, the only supported type is: USER_REPORTS (must be upper case with an underscore (_).
.EXAMPLE
Create-Job -JobType USER_REPORTS
.LINK
https://developer.pingidentity.com
#>
param(
[Parameter (Mandatory=$true)]
[string]$JobType
)
# Import PingID API helper functions
. .\pingid-api-helper.ps1
# Create the API request and parse the results.
$createJobEndpoint = "https://idpxnyl3m.pingidentity.com/pingid/rest/4/createjob/do"
$createJobBody = @{
"jobType" = $JobType
}
$responsePayload = Call-PingID-API $createJobBody $createJobEndpoint
Write-Output $responsePayload
|
PowerShell
|
<div class="container">
<form name="articleForm">
<div class="form-group">
<label>Название:</label>
<input type="text" class="form-control" [(ngModel)]="article.name" name="name"/>
</div>
<div class="form-group">
<label>Описание:</label>
<ckeditor
[(ngModel)]="article.content"
name="description" id="editor"
[config]="{uiColor: '#99000'}"
(change)="onChange($event)"
(ready)="onReady($event)"
debounce="500">
</ckeditor>
<!--<textarea class="form-control" [(ngModel)]="article.description" name="description" id="editor"></textarea>-->
</div>
<button type="submit" class="btn btn-default" (click)="onSubmit()">Опубликовать</button>
</form>
</div>
|
HTML
|
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************
* Contents: Native high-level C interface to LAPACK function ssyrfsx
* Author: Intel Corporation
* Generated November 2015
*****************************************************************************/
#include "lapacke_utils.h"
lapack_int LAPACKE_ssyrfsx( int matrix_layout, char uplo, char equed,
lapack_int n, lapack_int nrhs, const float* a,
lapack_int lda, const float* af, lapack_int ldaf,
const lapack_int* ipiv, const float* s,
const float* b, lapack_int ldb, float* x,
lapack_int ldx, float* rcond, float* berr,
lapack_int n_err_bnds, float* err_bnds_norm,
float* err_bnds_comp, lapack_int nparams,
float* params )
{
lapack_int info = 0;
lapack_int* iwork = NULL;
float* work = NULL;
if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_ssyrfsx", -1 );
return -1;
}
#ifndef LAPACK_DISABLE_NAN_CHECK
if( LAPACKE_get_nancheck() ) {
/* Optionally check input matrices for NaNs */
if( LAPACKE_ssy_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -6;
}
if( LAPACKE_ssy_nancheck( matrix_layout, uplo, n, af, ldaf ) ) {
return -8;
}
if( LAPACKE_sge_nancheck( matrix_layout, n, nrhs, b, ldb ) ) {
return -12;
}
if( nparams>0 ) {
if( LAPACKE_s_nancheck( nparams, params, 1 ) ) {
return -22;
}
}
if( LAPACKE_lsame( equed, 'y' ) ) {
if( LAPACKE_s_nancheck( n, s, 1 ) ) {
return -11;
}
}
if( LAPACKE_sge_nancheck( matrix_layout, n, nrhs, x, ldx ) ) {
return -14;
}
}
#endif
/* Allocate memory for working array(s) */
iwork = (lapack_int*)LAPACKE_malloc( sizeof(lapack_int) * MAX(1,n) );
if( iwork == NULL ) {
info = LAPACK_WORK_MEMORY_ERROR;
goto exit_level_0;
}
work = (float*)LAPACKE_malloc( sizeof(float) * MAX(1,4*n) );
if( work == NULL ) {
info = LAPACK_WORK_MEMORY_ERROR;
goto exit_level_1;
}
/* Call middle-level interface */
info = LAPACKE_ssyrfsx_work( matrix_layout, uplo, equed, n, nrhs, a, lda, af,
ldaf, ipiv, s, b, ldb, x, ldx, rcond, berr,
n_err_bnds, err_bnds_norm, err_bnds_comp,
nparams, params, work, iwork );
/* Release memory and exit */
LAPACKE_free( work );
exit_level_1:
LAPACKE_free( iwork );
exit_level_0:
if( info == LAPACK_WORK_MEMORY_ERROR ) {
LAPACKE_xerbla( "LAPACKE_ssyrfsx", info );
}
return info;
}
|
C
|
\subsection{Hartree term: solution of Poisson equation}
Hartree potential can be calculated by solving Poisson equation
once the charge density has been calculated.
There are several methods to solve Poisson equation.
For periodic system, the most popular method is via FFT.
In this method charge density is first transformed to
reciprocal space or $\mathbf{G}$-space. In this space,
Hartree potential can be calculated by simply dividing
charge density with magnitude of non-zero reciprocal vectors
$\mathbf{G}$.
To implement this method we need to generate reciprocal Gectors
$\mathbf{G}$. In the current implementation $\mathbf{G}$-vectors
are declared in module {\tt m\_LF3d}, namely
{\tt LF3d\_Gv} and {\tt LF3d\_Gv2} for $\mathbf{G}$-vectors and
their magnitudes, respectively.
The subroutine which
is responsible to generate $\mathbf{G}$-vectors is
{\tt init\_gvec()}.
\begin{fortrancode}
ALLOCATE( G2(Npoints) )
ALLOCATE( Gv(3,Npoints) )
ig = 0
DO k = 0, NN(3)-1
DO j = 0, NN(2)-1
DO i = 0, NN(1)-1
ig = ig + 1
ii = mm_to_nn( i, NN(1) )
jj = mm_to_nn( j, NN(2) )
kk = mm_to_nn( k, NN(3) )
Gv(1,ig) = ii * 2.d0*PI/LL(1)
Gv(2,ig) = jj * 2.d0*PI/LL(2)
Gv(3,ig) = kk * 2.d0*PI/LL(3)
G2(ig) = Gv(1,ig)**2 + Gv(2,ig)**2 + Gv(3,ig)**2
ENDDO
ENDDO
ENDDO
\end{fortrancode}
The function {\tt mm\_to\_nn} describes mapping between real space grid
and Fourier grid.
\begin{fortrancode}
FUNCTION mm_to_nn( mm, S ) RESULT(idx)
IMPLICIT NONE
INTEGER :: idx
INTEGER :: mm
INTEGER :: S
IF(mm > S/2) THEN
idx = mm - S
ELSE
idx = mm
ENDIF
END FUNCTION
\end{fortrancode}
Driver for solving Poisson equation via FFT is implemented
in subroutine {\tt Poisson\_solve\_fft()}
\begin{fortrancode}
ALLOCATE( tmp_fft(Npoints) )
DO ip = 1, Npoints
tmp_fft(ip) = cmplx( rho(ip), 0.d0, kind=8 )
ENDDO
! forward FFT
CALL fft_fftw3( tmp_fft, Nx, Ny, Nz, .false. ) ! now `tmp_fft = rho(G)`
tmp_fft(1) = (0.d0,0.d0) ! zero-G component
DO ip = 2, Npoints
tmp_fft(ip) = 4.d0*PI*tmp_fft(ip) / G2(ip)
ENDDO ! now `tmp_fft` = phi(G)
! Inverse FFT
CALL fft_fftw3( tmp_fft, Nx, Ny, Nz, .true. )
! Transform back to real space
DO ip = 1, Npoints
phi(ip) = real( tmp_fft(ip), kind=8 )
ENDDO
\end{fortrancode}
Hartree energy is calculated according to the following equation:
\begin{equation}
E_{\mathrm{Ha}} = \frac{1}{2} \int
\rho(\mathbf{r}) V_{\mathrm{Ha}}(\mathbf{r})\,\mathrm{d}\mathbf{r}
\end{equation}
This is done by simple summation over grid points:
\begin{fortrancode}
E_Hartree = 0.5d0*sum( Rhoe(:) * V_Hartree(:) )*dVol
\end{fortrancode}
|
TeX
|
package ni.edu.ucc.leon
class UrlMappings {
static mappings = {
get "/dashboard/$all?"(controller: 'dashboard', action: 'index')
get '/login'(controller: 'login', action: 'auth')
'/coordinations'(resources: 'coordination')
'/classrooms'(resources: 'classroom')
'/careers'(resources: 'career')
'/colors'(resources: 'color', excludes: ['create'])
'/devices'(resources: 'device')
'/holidays'(resources: 'holiday')
'/datashows'(resources: 'datashow', excludes: ['delete'])
'/roles'(resources: 'role', excludes: ['create'])
'/customers'(resources: 'customer')
'/guests'(resources: 'guest', excludes: ['create'])
'/coffeeShops'(resources: 'coffeeShop', excludes: ['create'])
"/activities/report/summary/$year?"(controller: 'activity', action: 'reportSummary')
"/activities/report/summary/detail/$month/$year?"(controller: 'activity', action: 'summaryReportDetail')
"/employees/$employeeId/guests/$coordination?"(controller: 'employee', action: 'guests', method: 'GET')
"/employees/$employeeId/guests"(controller: 'employee', action: 'store', method: 'POST')
// FIXED VOUHCER
get "/fixed/vouchers/since/$sinceDate/til/$tillDate"(controller: 'fixedVoucher', action: 'applyFilter')
get '/fixed/vouchers'(controller: 'fixedVoucher', action: 'index')
get "/fixed/vouchers/create/$date?"(controller: 'fixedVoucher', action: 'create')
post '/fixed/vouchers'(controller: 'fixedVoucher', action: 'save')
get "/fixed/vouchers/$id"(controller: 'fixedVoucher', action: 'show')
get "/fixed/vouchers/$id/edit"(controller: 'fixedVoucher', action: 'edit')
put "/fixed/vouchers/$id"(controller: 'fixedVoucher', action: 'update')
delete "/fixed/vouchers/$id"(controller: 'fixedVoucher', action: 'delete')
get '/fixed/vouchers/print'(controller: 'fixedVoucher', action: 'print')
get '/fixed/vouchers/filter'(controller: 'fixedVoucher', action: 'filter')
post '/fixed/vouchers/apply/filter'(controller: 'fixedVoucher', action: 'applyFilter')
get "/fixed/vouchers/report/$year?"(controller: 'fixedVoucher', action: 'report')
get "/fixed/vouchers/report/$month/summary/$year?"(controller: 'fixedVoucher', action: 'reportSummary')
get "/fixed/vouchers/send/report/$month/summary/$year?"(controller: 'fixedVoucher', action: 'sendReport')
// VOUCHER
get "/employees/$employeeId/activities/$activityId/vouchers/$type" {
controller = 'voucher'
action = 'index'
constraints {
type inList: ['employee', 'guest']
}
}
post "/employees/$employeeId/activities/$activityId/vouchers/$type"(controller: 'voucher', action: 'save')
post "/employees/$employeeId/activities/$activityId/guestvouchers/$type"(controller: 'voucher', action: 'store')
get "/employees/$employeeId/activities/$activityId/vouchers/$id"(controller: 'voucher', action: 'show')
get "/employees/$employeeId/activities/$activityId/vouchers/$id/edit"(controller: 'voucher', action: 'edit')
delete "/employees/$employeeId/activities/$activityId/vouchers/$id"(controller: 'voucher', action: 'delete')
get "/employeeList/$date/$activityId"(controller: 'voucher', action: 'employeeList')
get "/guestList/$date/$activityId"(controller: 'voucher', action: 'guestList')
get "/print/$activityId/vouchers"(controller: 'voucher', action: 'print')
'/employees'(resources: 'employee', excludes: ['delete']) {
'/updateFullName'(controller: 'employee', action: 'updateFullName', method: 'PUT')
'/employeeCoordinations'(resources: 'employeeCoordination', excludes: ['create', 'show'])
'/tickets'(resources: 'ticket') {
collection {
'/summary'(controller: 'ticket', action: 'summary', method: 'GET')
}
}
'/activities'(resources: 'activity') {
'/observations'(resources: 'observation')
// '/vouchers'(resources: 'voucher', excludes: ['create'])
"/notify/$state?"(controller: 'activity', action: 'sendNotification', method: 'PUT')
collection {
"/summary/$year?"(controller: 'activity', action: 'summary', method: 'GET')
'/requiring/attention'(controller: 'activity', action: 'requiringAttention', method: 'GET')
"/weekly/logistics/$type"(controller: 'activity', action: 'weeklyLogistics', method: 'GET')
"/print/weekly/logistics/$type"(controller: 'activity', action: 'printWeeklyLogistics', method: 'GET')
}
'/locations'(resources: 'location') {
'/clone'(controller: 'location', action: 'clone', method: 'GET')
'/showAll'(controller: 'location', action: 'showAll', method: 'GET')
'/refreshments'(resources: 'refreshment', includes: ['create', 'save', 'edit', 'update', 'delete'])
}
}
}
group '/bookmarks', {
'/' (controller: 'ticketBookmark', action: 'index', method: 'GET')
'/toggle' (controller: 'ticketBookmark', action: 'toggle', method: 'POST')
}
group '/employees', {
// USERS
"/$employeeId/user/create"(controller: 'user', action: 'create', method: 'GET')
"/$employeeId/user/$id/edit"(controller: 'user', action: 'edit', method: 'GET')
"/$employeeId/user/$id"(controller: 'user', action: 'update', method: 'PUT')
"/$employeeId/user"(controller: 'user', action: 'save', method: 'POST')
// TICKETS
"/$employeeId/tickets/summary/$year"(controller: 'ticket', action: 'summaryInYear', method: 'GET')
"/$employeeId/tickets/summary/$year/month/$month"(controller: 'ticket', action: 'summaryInYearAndMonth', method: 'GET')
}
// TICKETS
group '/tickets', {
get '/'(controller: 'ticket', action: 'tickets')
get '/filter'(controller: 'ticket', action: 'filter')
post '/filter'(controller: 'ticket', action: 'applyFilter')
get "/status/$status"(controller: 'ticket', action: 'filterByStatus')
get "/employee/$employeeId"(controller: 'ticket', action: 'filterByEmployee')
get "/device/$name"(controller: 'ticket', action: 'filterByDevice')
post "/$id/assignment"(controller: 'ticket', action: 'assignment')
post "/$id/swap/$status"(controller: 'ticket', action: 'swap')
get "/$id/resume/"(controller: 'ticket', action: 'resume')
// TASK
get "/$ticketId/tasks"(controller: 'task', action: 'index')
get "/$ticketId/tasks/create"(controller: 'task', action: 'create')
post "/$ticketId/tasks"(controller: 'task', action: 'save')
get "/$ticketId/tasks/$id"(controller: 'task', action: 'show')
get "/$ticketId/tasks/$id/edit"(controller: 'task', action: 'edit')
put "/$ticketId/tasks/$id"(controller: 'task', action: 'update')
delete "/$ticketId/tasks/$id"(controller: 'task', action: 'delete')
get "/$ticketId/tasks/$id/clone"(controller: 'task', action: 'clone')
get "/$ticketId/tasks/$id/changeState/$state"(controller: 'task', action: 'changeState')
}
// REPORTS
group '/reports', {
get '/' (controller: 'report', action: 'resume')
get "/$year" (controller: 'report', action: 'resumeInYear')
get "/month/$monthName" (controller: 'report', action: 'resumeInMonth')
get "/$monthName/$year" (controller: 'report', action: 'resumeInYearAndMonth')
get '/devices' (controller: 'report', action: 'devices')
get "/devices/$year" (controller: 'report', action: 'devicesInYear')
get '/state' (controller: 'report', action: 'state')
get "/state/$year" (controller: 'report', action: 'stateInYear')
get '/day' (controller: 'report', action: 'day')
get "/dayInYear" (controller: 'report', action: 'dayInYear')
get "/export/$monthName"(controller: 'report', action: 'export')
get "/export/$year/$monthName"(controller: 'report', action: 'export')
}
// USER
group '/user', {
get '/profile' (controller: 'user', action: 'profile')
get '/password' (controller: 'user', action: 'password')
post '/changePassword' (controller: 'user', action: 'changePassword')
}
// ACTIVITIES
// '/activities/requiring/attention'(controller: 'activity', action: 'requiringAttention', method: 'GET')
'/birthday'(controller: 'birthday', action: 'index')
'/'(controller: 'phoneBook', action: 'index')
'/login/auth'(controller: 'login', action: 'auth')
'/logout'(controller: 'logout')
'403'(view: '/forbidden')
'404'(view: '/notFound')
'500'(view: '/error')
}
}
|
Groovy
|
// 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.
couchTests.rev_stemming = function(debug) {
var db_name_orig = get_random_db_name();
var db_orig = new CouchDB(db_name_orig, {"X-CouchDB-Full-Commit": "false"});
db_orig.createDb();
var db_name = get_random_db_name();
var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
var db_name_b = get_random_db_name();
var dbB = new CouchDB(db_name_b, {"X-Couch-Full-Commit":"false"});
db.createDb();
dbB.createDb();
if (debug) debugger;
var newLimit = 5;
T(db.getDbProperty("_revs_limit") == 1000);
/*
// Make an invalid request to _revs_limit
// Should return 400
/// XXX: Currently returns 500
var xhr = CouchDB.request("PUT", "/" + db.name + "/_revs_limit", {body:"\"foo\""});
T(xhr.status == 400);
var result = JSON.parse(xhr.responseText);
T(result.error == "bad_request");
T(result.reason == "Rev limit has to be an integer");
*/
var doc = {_id:"foo",foo:0}
for( var i=0; i < newLimit + 1; i++) {
doc.foo++;
T(db.save(doc).ok);
}
var doc0 = db.open("foo", {revs:true});
T(doc0._revisions.ids.length == newLimit + 1);
var docBar = {_id:"bar",foo:0}
for( var i=0; i < newLimit + 1; i++) {
docBar.foo++;
T(db.save(docBar).ok);
}
T(db.open("bar", {revs:true})._revisions.ids.length == newLimit + 1);
T(db.setDbProperty("_revs_limit", newLimit).ok);
for( var i=0; i < newLimit + 1; i++) {
doc.foo++;
T(db.save(doc).ok);
}
doc0 = db.open("foo", {revs:true});
T(doc0._revisions.ids.length == newLimit);
// If you replicate after you make more edits than the limit, you'll
// cause a spurious edit conflict.
CouchDB.replicate(db.name, dbB.name);
var docB1 = dbB.open("foo",{conflicts:true})
T(docB1._conflicts == null);
for( var i=0; i < newLimit - 1; i++) {
doc.foo++;
T(db.save(doc).ok);
}
// one less edit than limit, no conflict
CouchDB.replicate(db.name, dbB.name);
var docB1 = dbB.open("foo",{conflicts:true})
T(docB1._conflicts == null);
//now we hit the limit
for( var i=0; i < newLimit; i++) {
doc.foo++;
T(db.save(doc).ok);
}
CouchDB.replicate(db.name, dbB.name);
var docB2 = dbB.open("foo",{conflicts:true});
// we have a conflict, but the previous replicated rev is always the losing
// conflict
T(docB2._conflicts[0] == docB1._rev)
// We having already updated bar before setting the limit, so it's still got
// a long rev history. compact to stem the revs.
T(db.open("bar", {revs:true})._revisions.ids.length == newLimit);
T(db.compact().ok);
// compaction isn't instantaneous, loop until done
while (db.info().compact_running) {};
// force reload because ETags don't honour compaction
var req = db.request("GET", "/" + db.name + "/bar?revs=true", {
headers:{"if-none-match":"pommes"}
});
var finalDoc = JSON.parse(req.responseText);
TEquals(newLimit, finalDoc._revisions.ids.length,
"should return a truncated revision list");
// cleanup
db_orig.deleteDb();
db.deleteDb();
dbB.deleteDb();
};
|
JavaScript
|
% example2D.m
%
% This code generates some plots for an example problem in probabilistic
% assembly
% Version 1.0 Initial Release - April 2013
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Copyright 2013 Matt Moses
% mmoses152 at gmail dot com
%
% This file is part of example2D.
%
% example2D is free software: you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% example2D is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU Lesser General Public License for more details.
%
% You should have received a copy of the GNU Lesser General Public License
% along with example2D. If not, see <http://www.gnu.org/licenses/>.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
close all
clear all
isOctave = exist('OCTAVE_VERSION')
if isOctave
more off
end
% set the pseudo-random number generator seed
randn('seed',42);
% parameters for target and gripped parts
rpin = 0.2; % radius of pin on target
rhol = 0.375; % radius of hole in gripped part
d = 2.75; % distance between pins
w_gr = 4; % side length of gripped part
w_ta = 5; % side length of target part
L1 = 10; % length of link 1
L2 = 7.5; % length of link 2
usingrand = 0; % flag set to 0 if not using random joint angles
q1_0 = pi/4; % "commanded" joint angle 1
q2_0 = -pi/2; % "commanded" joint angle 2
q3_0 = pi/4; % "commanded" joint angle 3
axlimits2 = [12.1 12.7 1.3 2.3];
% % randomized joint angles for testing purposes
% q1_0 = 2*pi*rand(1);
% q2_0 = 2*pi*rand(1);
% q3_0 = 2*pi*rand(1);
% usingrand = 1;
var1 = 0.001; % variance of joint angle 1
var2 = 0.001; % variance of joint angle 2
var3 = 0.001; % variance of joint angle 3
% % ----------------------
% % As a sanity check, this part will show how the two pieces are mated
% % together for one arbitrary transformation
xx = 0;
yy = 0;
phi = 0.065;
g = [cos(phi) -sin(phi) xx; sin(phi) cos(phi) yy; 0 0 1];
% alpha() will draw if draw enable is ~= 0
figure
alpha(g, rpin, rhol, d, w_gr, w_ta, 1);
axis equal
% ----------------------------
% This part draws the commanded frame and the ideal location of the parts.
% forward kinematics
c1 = cos(q1_0);
c2 = cos(q2_0);
c12 = cos(q1_0+q2_0);
s1 = sin(q1_0);
s2 = sin(q2_0);
s12 = sin(q1_0+q2_0);
x_com = L1*c1 + L2*c12;
y_com = L1*s1 + L2*s12;
phi_com = q1_0 + q2_0 + q3_0;
% draw lines to represent the SCARA robot arm
figure
hh1 = line([0 L1*c1],[0 L1*s1]);
hh2 = line([L1*c1 x_com],[L1*s1 y_com]);
set(hh1, 'Color', 'k');
set(hh2, 'Color', 'k');
hold on
% generate the gripper and target frames
g_gr = [cos(phi_com) -sin(phi_com) x_com; sin(phi_com) cos(phi_com) y_com; 0 0 1];
g_ta = g_gr;
% draw the target and gripped parts
drawCrosshair = 0;
drawParts(g_ta, g_gr, rpin, rhol, d, w_gr, w_ta, drawCrosshair);
xlabel('x')
ylabel('y')
axis equal
% ------------------------------------------------------------------------
% this next part plots 2D contours of alpha with g_gr near g_ta
% the same g_ta as defined above is used
% Note that contour uses the same index convention as surf. From the
% help entry for SURF:
% SURF(x,y,Z) and SURF(x,y,Z,C), with two vector arguments replacing
% the first two matrix arguments, must have length(x) = n and
% length(y) = m where [m,n] = size(Z). In this case, the vertices
% of the surface patches are the triples (x(j), y(i), Z(i,j)).
% Note that x corresponds to the columns of Z and y corresponds to
% the rows.
xylims = 0.3;
philims = 0.06;
nsa = 32; % number of samples along X and Y
nphi = 16; % number of angle samples
% Now make the sample grid. Coordinates are chosen for a range of g
% surrounding g_ta.
xx = x_com + linspace(-xylims,xylims,nsa);
yy = y_com + linspace(-xylims,xylims,nsa);
[XX, YY] = meshgrid(xx,yy);
phiphi = phi_com + linspace(-philims, philims, nphi);
for k = 1:nphi
k
for i = 1:nsa
for j = 1:nsa
g = [cos(phiphi(k)) -sin(phiphi(k)) xx(i); sin(phiphi(k)) cos(phiphi(k)) yy(j); 0 0 1];
asmCheck(i,j,k) = alpha(inv(g_ta)*g, rpin, rhol, d, w_gr, w_ta, 0);
% uncomment this to directly view the nonzero samples of alpha
% if (asmCheck(i,j,k)) plot(xx(i),yy(j),'k.'); end
end
end
% if desired, plot the contour of alpha. note transpose.
% [cc, hh] = contour(xx,yy,asmCheck(:,:,k)',0.5);
end
% ------------------------------------------------------------------------
% This part creates an ensemble of frames by randomly perturbing the
% commanded joint angles. A normal distribution is fit to the samples.
% Remember, for a random scalar x, var(a*x) = a^2 * var(x).
% For a random vector X, cov(A*X) = A * cov(X) * A'
% This is the commanded frame - where the robot would be if there was no
% perturbation.
frameL = 0.05;
figure
draw90s(x_com, y_com, phi_com, frameL, 3, 0);
hold on
% Now generate the random samples and fit the Gaussian.
nmansam = 1000; % number of samples for creating manipulator pdf
Cov = zeros(3,3); % initialize sample covariance matrix
% generate an ensemble of joint coordinates...
% Note: this generates joint angles that are centered around the
% commanded position defined above, which coincides with g_ta,
% loosely speaking: mean(g_gr) = g_ta. If you want to move the manipulator
% slightly off so that mean(g_gr) ~= g_ta you can do that here by changing
% q1_0, q2_0, q3_0.
for i = 1:nmansam
q1(i) = q1_0 + sqrt(var1) * randn(1);
q2(i) = q2_0 + sqrt(var2) * randn(1);
q3(i) = q3_0 + sqrt(var3) * randn(1);
end
% do forward kinematics...
for i = 1:nmansam
c1 = cos(q1(i));
c2 = cos(q2(i));
c12 = cos(q1(i)+q2(i));
s1 = sin(q1(i));
s2 = sin(q2(i));
s12 = sin(q1(i)+q2(i));
x(i) = L1*c1 + L2*c12;
y(i) = L1*s1 + L2*s12;
phi(i) = q1(i) + q2(i) + q3(i);
end
% draw the frames
draw90s3(x, y, phi, frameL, 1, 1);
xlabel('x')
ylabel('y')
axis equal
% find the sample means for each coordinate
x_sm = sum(x)/nmansam;
y_sm = sum(y)/nmansam;
phi_sm = sum(phi)/nmansam;
% draw a big frame at the sample mean for debug purposes
draw90s(x_sm, y_sm, phi_sm, frameL*5, 3, 1);
% find the sample covariance matrix. Note this is a vectorized version. Can
% do it with a for loop if you want...
Cov = Cov + [x - x_sm; y - y_sm; phi - phi_sm] * [x - x_sm; y - y_sm; phi - phi_sm]';
Cov = 1/(nmansam-1) * Cov; % note we use 1/(N-1) because we are using the sample mean
% for loop method for finding Cov
%Cov2 = 0
%for i = 1:nmansam
% Cov2 = Cov2 + [x(i) - x_sm; y(i) - y_sm; phi(i) - phi_sm] * [x(i) - x_sm; y(i) - y_sm; phi(i) - phi_sm]';
%end
%Cov2 = 1/(nmansam-1) * Cov2;
% if we want to marginalize over phi, then we have
Cov_xy = Cov(1:2,1:2);
% ok now we have a covariance matrix for the simulated end-effector data.
% we want to display this as an ellipsoid. diagonalizing Cov will give us
% the rotation matrix for rotating the ellipsoid
[Vcov, Dcov] = eig(Cov);
[Vcov_xy, Dcov_xy] = eig(Cov_xy);
% just in case Vcov is a reflection, this converts it to a plain rotation
Vcov = det(Vcov)*Vcov;
Vcov_xy = det(Vcov_xy)*Vcov_xy;
% generate an ellipsoid at the origin with radii equal to sqrt(eigenvalues) of
% Covariance matrix
Nep = 30; % dimension of X,Y,Z is Nep+1 x Nep+1
Sep = 1; % scale factor of ellipsoid
% This gives an ellipsoid centered on and aligned with the origin
[X,Y,Z]=ellipsoid(0,0,0, Sep*sqrt(Dcov(1,1)), Sep*sqrt(Dcov(2,2)), Sep*sqrt(Dcov(3,3)), Nep);
% now we reshape the X,Y,Z points, rotate and translate them, and reshape
% them back to a form surf and contour can plot.
temp = [reshape(X,(Nep+1)^2,1), reshape(Y,(Nep+1)^2,1), reshape(Z,(Nep+1)^2,1)];
temp = Vcov * temp';
X = reshape(temp(1,:)' + x_sm, Nep+1, Nep+1);
Y = reshape(temp(2,:)' + y_sm, Nep+1, Nep+1);
Z = reshape(temp(3,:)' + phi_sm, Nep+1, Nep+1);
% this shows a slice of the gaussian ellipsoid at phi_com
% for some reason contour doesn't draw well at phi_com = 0.
contour(X,Y,Z,phi_com+1E-06);
% uncomment this to see the frame coordinates marginalized over phi
drawEllipse(Sep*sqrt(Dcov_xy(1,1)), Sep*sqrt(Dcov_xy(2,2)), acos(Vcov_xy(1,1)), x_sm, y_sm);
% ------------------------------------------------------------------------
% % This is just a double check of the covariance matrix.
% % This will plot a bunch of "virtual" sample points that can be
% % compared with the generated frames above.
% % first factor the covariance matrix as: Cov = Aco * Aco'
% Aco = Vcov * Dcov.^0.5;
% % now generate an ensemble using a standard normal distribution and
% % transform with Aco
% sampFrames = Aco * randn(3,nmansam) + repmat([x_com; y_com; phi_com],1,nmansam);
% draw90s3(sampFrames(1,:), sampFrames(2,:), sampFrames(3,:), frameL, 1, 0);
% plot(sampFrames(1,:),sampFrames(2,:),'k.');
% for i = 1:nphi
% figure
% %subplot(2,2,i);
% [cc, hh] = contour(xx,yy,asmCheck(:,:,i)',0.5);
% hold on
% contour(X,Y,Z,phiphi(i))
% xlabel('x')
% ylabel('y')
% if ~usingrand
% axis equal
% axis(axlimits2);
% title(['\phi = ' num2str(phiphi(i))]);
% end
% end
% ------------------------------------------------------------------------
% This part makes a 3D plot of rho and alpha. Alpha is shown approximated
% using the merge() function (see paper). Rho is shown as an ellipsoid
% representing the level set at a distance of Sep*(std) from the mean where
% std = sqrt(variance). (The radii of the ellipsoid are the square roots of
% the eigenvalues of the covariance, and the axes are aligned with the
% eigenvectors.)
figure
colormap gray
surf(X,Y,Z,0.5*ones(size(Z)))
hold on
rxx = xx(2)-xx(1);
ryy = yy(2)-yy(1);
rphi = phiphi(2)-phiphi(1);
% CC is the scale factor for the multivariate gaussian
CC = (2*pi)^(-3/2)*det(Cov)^(-1/2);
% as a check, we integrate rho to make sure it comes out close to 1.0
% Note: In order for this summation to come out close to 1, the grid has to
% extend quite a ways out. If you are just integrating gamma, you only
% need to do the summation for alpha() that are nonzero.
% These are the parameters that yield a rho_int near 1:
% xylims = 2;
% philims = 0.2;
% nsa = 100; % number of samples along X and Y
% nphi = 32; % number of angle samples
rho_int = 0;
gamma = 0; % this is the number we have been looking for all along
iCov = inv(Cov); % inverse of covariance matrix
% this loop will draw alpha and calculate the summations
for i = 1:nsa
i
for j = 1:nsa
for k = 1:nphi
cpoint = [xx(i); yy(j); phiphi(k)] - [x_sm; y_sm; phi_sm];
rho = CC * exp( -1/2 * cpoint' * iCov * cpoint );
rho_int = rho_int + rho * rxx * ryy * rphi;
if asmCheck(i,j,k)
gamma = gamma + rho * rxx * ryy * rphi;
drawBox([xx(i), yy(j), phiphi(k)],[rxx/2.00001,ryy/2.00001,rphi/2.00001]);
end
end
end
end
[x_com; y_com; phi_com]
[x_sm; y_sm; phi_sm]
Cov
rho_int
gamma
xlabel('x')
ylabel('y')
zlabel('\phi')
axis equal
set(gca, 'DataAspectRatio', [2 2 1])
view(45,15)
if isOctave == 0
camlight left
camlight(45, 1)
end
% Note: here are the other values used to generate the figure rho_alpha_3D_1
% nsa = 32
% nphi = 16
% xx = x_com + linspace(-.3,.3,nsa);
% yy = y_com + linspace(-.3,.3,nsa);
% phiphi = phi_com + linspace(-0.06, 0.06, nphi);
% Sep = 1
% rpin = 0.2; % radius of pin on target
% rhol = 0.375; % radius of hole in gripped part
% d = 2.75; % distance between pins
% L1 = 10; % length of link 1
% L2 = 7.5; % length of link 2
% q1_0 = pi/4; % "commanded" joint angle 1
% q2_0 = -pi/2; % "commanded" joint angle 2
% q3_0 = pi/4; % "commanded" joint angle 3
% var1 = 0.001; % variance of joint angle 1
% var2 = 0.001; % variance of joint angle 2
% var3 = 0.001; % variance of joint angle 3
% x_com = 12.37436867076458
% y_com = 1.76776695296637
% phi_com = 0
% Here are the parameters used to generate the contour plots of alpha and
% rho.
% nsa = 200; % number of samples along X and Y
% nphi = 4; % number of angle samples
% xx = x_com + linspace(-.3,.3,nsa);
% yy = y_com + linspace(-.3,.3,nsa);
% phiphi = phi_com + linspace(-0.05, 0.05, nphi);
% If the pseudo-random generator seed is not set constant,
% the results will vary slightly from run to run because of the random
% samples. Cov, the sample means, rho_int, and gamma all have a little
% jitter from run to run.
% Typical values for gamma are 0.10 to 0.11
|
MATLAB
|
package controllers
import play.api.mvc.{Action, Controller}
import concurrent.{ExecutionContext, Future}
object Dashboard extends Controller {
/**
* Suspends an HTTP request while waiting for asynchronous processing.
*/
def backlog(warehouse: String) = Action {
import ExecutionContext.Implicits.global
val backlog: Future[String] = scala.concurrent.future {
models.Order.backlog(warehouse)
}
Async {
backlog.map(value => Ok(value))
}
}
}
|
Scala
|
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)
# should we use our own math functions
option(USE_MYMATH "Use tutorial provided math implementation" ON)
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
"${PROJECT_SOURCE_DIR}/TutorialConfig.h.in"
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories ("${PROJECT_BINARY_DIR}")
# add the MathFunctions library?
if (USE_MYMATH)
include_directories ("${PROJECT_SOURCE_DIR}/MathFunctions")
add_subdirectory (MathFunctions)
set (EXTRA_LIBS ${EXTRA_LIBS} MathFunctions)
endif (USE_MYMATH)
# add the executable
add_executable (Tutorial tutorial.cxx)
target_link_libraries (Tutorial ${EXTRA_LIBS})
# add the install targets
install (TARGETS Tutorial DESTINATION bin)
install (FILES "${PROJECT_BINARY_DIR}/TutorialConfig.h"
DESTINATION include)
# enable testing
enable_testing ()
# does the application run
add_test (TutorialRuns Tutorial 25)
# does it sqrt of 25
add_test (TutorialComp25 Tutorial 25)
set_tests_properties (TutorialComp25
PROPERTIES PASS_REGULAR_EXPRESSION "25 is 5"
)
# does it handle negative numbers
add_test (TutorialNegative Tutorial -25)
set_tests_properties (TutorialNegative
PROPERTIES PASS_REGULAR_EXPRESSION "-25 is 0"
)
# does it handle small numbers
add_test (TutorialSmall Tutorial 0.0001)
set_tests_properties (TutorialSmall
PROPERTIES PASS_REGULAR_EXPRESSION "0.0001 is 0.01"
)
# does the usage message work?
add_test (TutorialUsage Tutorial)
set_tests_properties (TutorialUsage
PROPERTIES
PASS_REGULAR_EXPRESSION "Usage:.*number"
)
|
CMake
|
{"flow_package_name": {"block": "options", "name": "flow_package_name", "type": "string", "reader": "urword", "optional": "true", "longname": "keyword to specify name of corresponding flow package", "description": "keyword to specify the name of the corresponding flow package. If not specified, then the corresponding flow package must have the same name as this advanced transport package (the name associated with this package in the GWT name file)."}, "auxiliary": {"block": "period", "name": "auxiliary", "type": "keyword", "in_record": "true", "reader": "urword", "description": "keyword for specifying auxiliary variable."}, "flow_package_auxiliary_name": {"block": "options", "name": "flow_package_auxiliary_name", "type": "string", "reader": "urword", "optional": "true", "longname": "keyword to specify name of concentration auxiliary variable in flow package", "description": "keyword to specify the name of an auxiliary variable in the corresponding flow package. If specified, then the simulated concentrations from this advanced transport package will be copied into the auxiliary variable specified with this name. Note that the flow package must have an auxiliary variable with this name or the program will terminate with an error. If the flows for this advanced transport package are read from a file, then this option will have no effect."}, "boundnames": {"block": "options", "name": "boundnames", "type": "keyword", "reader": "urword", "optional": "true", "description": "keyword to indicate that boundary names may be provided with the list of reach cells."}, "print_input": {"block": "options", "name": "print_input", "type": "keyword", "reader": "urword", "optional": "true", "longname": "print input to listing file", "description": "keyword to indicate that the list of reach information will be written to the listing file immediately after it is read."}, "print_concentration": {"block": "options", "name": "print_concentration", "type": "keyword", "reader": "urword", "optional": "true", "longname": "print calculated stages to listing file", "description": "keyword to indicate that the list of reach concentration will be printed to the listing file for every stress period in which \"\"CONCENTRATION PRINT\"\" is specified in Output Control. If there is no Output Control option and PRINT_CONCENTRATION is specified, then concentration are printed for the last time step of each stress period."}, "print_flows": {"block": "options", "name": "print_flows", "type": "keyword", "reader": "urword", "optional": "true", "longname": "print calculated flows to listing file", "description": "keyword to indicate that the list of reach flow rates will be printed to the listing file for every stress period time step in which \"\"BUDGET PRINT\"\" is specified in Output Control. If there is no Output Control option and \"\"PRINT_FLOWS\"\" is specified, then flow rates are printed for the last time step of each stress period."}, "save_flows": {"block": "options", "name": "save_flows", "type": "keyword", "reader": "urword", "optional": "true", "longname": "save reach flows to budget file", "description": "keyword to indicate that reach flow terms will be written to the file specified with \"\"BUDGET FILEOUT\"\" in Output Control."}, "concentration_filerecord": {"block": "options", "name": "concentration_filerecord", "type": "record concentration fileout concfile", "reader": "urword", "tagged": "true", "optional": "true"}, "concentration": {"block": "period", "name": "concentration", "type": "string", "tagged": "true", "in_record": "true", "time_series": "true", "reader": "urword", "longname": "reach concentration", "description": "real or character value that defines the concentration for the reach. The specified CONCENTRATION is only applied if the reach is a constant concentration reach. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "concfile": {"block": "options", "name": "concfile", "type": "string", "preserve_case": "true", "in_record": "true", "reader": "urword", "tagged": "false", "optional": "false", "longname": "file keyword", "description": "name of the binary output file to write concentration information."}, "budget_filerecord": {"block": "options", "name": "budget_filerecord", "type": "record budget fileout budgetfile", "reader": "urword", "tagged": "true", "optional": "true"}, "budget": {"block": "options", "name": "budget", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "budget keyword", "description": "keyword to specify that record corresponds to the budget."}, "fileout": {"block": "options", "name": "fileout", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "file keyword", "description": "keyword to specify that an output filename is expected next."}, "budgetfile": {"block": "options", "name": "budgetfile", "type": "string", "preserve_case": "true", "in_record": "true", "reader": "urword", "tagged": "false", "optional": "false", "longname": "file keyword", "description": "name of the binary output file to write budget information."}, "budgetcsv_filerecord": {"block": "options", "name": "budgetcsv_filerecord", "type": "record budgetcsv fileout budgetcsvfile", "reader": "urword", "tagged": "true", "optional": "true"}, "budgetcsv": {"block": "options", "name": "budgetcsv", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "budget keyword", "description": "keyword to specify that record corresponds to the budget CSV."}, "budgetcsvfile": {"block": "options", "name": "budgetcsvfile", "type": "string", "preserve_case": "true", "in_record": "true", "reader": "urword", "tagged": "false", "optional": "false", "longname": "file keyword", "description": "name of the comma-separated value (CSV) output file to write budget summary information. A budget summary record will be written to this file for each time step of the simulation."}, "ts_filerecord": {"block": "options", "name": "ts_filerecord", "type": "record ts6 filein ts6_filename", "reader": "urword", "tagged": "true", "optional": "true"}, "ts6": {"block": "options", "name": "ts6", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "head keyword", "description": "keyword to specify that record corresponds to a time-series file."}, "filein": {"block": "options", "name": "filein", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "file keyword", "description": "keyword to specify that an input filename is expected next."}, "ts6_filename": {"block": "options", "name": "ts6_filename", "type": "string", "preserve_case": "true", "in_record": "true", "reader": "urword", "optional": "false", "tagged": "false", "longname": "file name of time series information", "description": "defines a time-series file defining time series that can be used to assign time-varying values. See the \"\"Time-Variable Input\"\" section for instructions on using the time-series capability."}, "obs_filerecord": {"block": "options", "name": "obs_filerecord", "type": "record obs6 filein obs6_filename", "reader": "urword", "tagged": "true", "optional": "true"}, "obs6": {"block": "options", "name": "obs6", "type": "keyword", "in_record": "true", "reader": "urword", "tagged": "true", "optional": "false", "longname": "obs keyword", "description": "keyword to specify that record corresponds to an observations file."}, "obs6_filename": {"block": "options", "name": "obs6_filename", "type": "string", "preserve_case": "true", "in_record": "true", "tagged": "false", "reader": "urword", "optional": "false", "longname": "obs6 input filename", "description": "name of input file to define observations for the SFT package. See the \"\"Observation utility\"\" section for instructions for preparing observation input files. Tables \\ref{table:gwf-obstypetable} and \\ref{table:gwt-obstypetable} lists observation type(s) supported by the SFT package."}, "packagedata": {"block": "packagedata", "name": "packagedata", "type": "recarray rno strt aux boundname", "shape": "(maxbound)", "reader": "urword"}, "rno": {"block": "period", "name": "rno", "type": "integer", "tagged": "false", "in_record": "true", "reader": "urword", "longname": "reach number for this entry", "description": "integer value that defines the reach number associated with the specified PERIOD data on the line. RNO must be greater than zero and less than or equal to NREACHES.", "numeric_index": "true"}, "strt": {"block": "packagedata", "name": "strt", "type": "double precision", "tagged": "false", "in_record": "true", "reader": "urword", "longname": "starting reach concentration", "description": "real value that defines the starting concentration for the reach."}, "aux": {"block": "packagedata", "name": "aux", "type": "double precision", "in_record": "true", "tagged": "false", "shape": "(naux)", "reader": "urword", "time_series": "true", "optional": "true", "longname": "auxiliary variables", "description": "represents the values of the auxiliary variables for each reach. The values of auxiliary variables must be present for each reach. The values must be specified in the order of the auxiliary variables specified in the OPTIONS block. If the package supports time series and the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "boundname": {"block": "packagedata", "name": "boundname", "type": "string", "tagged": "false", "in_record": "true", "reader": "urword", "optional": "true", "longname": "well name", "description": "name of the reach cell. BOUNDNAME is an ASCII character variable that can contain as many as 40 characters. If BOUNDNAME contains spaces in it, then the entire name must be enclosed within single quotes."}, "iper": {"block": "period", "name": "iper", "type": "integer", "block_variable": "True", "in_record": "true", "tagged": "false", "reader": "urword", "optional": "false", "longname": "stress period number", "description": "integer value specifying the starting stress period number for which the data specified in the PERIOD block apply. IPER must be less than or equal to NPER in the TDIS Package and greater than zero. The IPER value assigned to a stress period block must be greater than the IPER value assigned for the previous PERIOD block. The information specified in the PERIOD block will continue to apply for all subsequent stress periods, unless the program encounters another PERIOD block."}, "reachperioddata": {"block": "period", "name": "reachperioddata", "type": "recarray rno reachsetting", "reader": "urword"}, "reachsetting": {"block": "period", "name": "reachsetting", "type": "keystring status concentration rainfall evaporation runoff inflow auxiliaryrecord", "tagged": "false", "in_record": "true", "reader": "urword", "description": "line of information that is parsed into a keyword and values. Keyword values that can be used to start the REACHSETTING string include: STATUS, CONCENTRATION, RAINFALL, EVAPORATION, RUNOFF, and AUXILIARY. These settings are used to assign the concentration of associated with the corresponding flow terms. Concentrations cannot be specified for all flow terms. For example, the Streamflow Package supports a \"\"DIVERSION\"\" flow term. Diversion water will be routed using the calculated concentration of the reach."}, "status": {"block": "period", "name": "status", "type": "string", "tagged": "true", "in_record": "true", "reader": "urword", "longname": "reach concentration status", "description": "keyword option to define reach status. STATUS can be ACTIVE, INACTIVE, or CONSTANT. By default, STATUS is ACTIVE, which means that concentration will be calculated for the reach. If a reach is inactive, then there will be no solute mass fluxes into or out of the reach and the inactive value will be written for the reach concentration. If a reach is constant, then the concentration for the reach will be fixed at the user specified value."}, "rainfall": {"block": "period", "name": "rainfall", "type": "string", "tagged": "true", "in_record": "true", "reader": "urword", "time_series": "true", "longname": "rainfall concentration", "description": "real or character value that defines the rainfall solute concentration $(ML^{-3})$ for the reach. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "evaporation": {"block": "period", "name": "evaporation", "type": "string", "tagged": "true", "in_record": "true", "reader": "urword", "time_series": "true", "longname": "evaporation concentration", "description": "real or character value that defines the concentration of evaporated water $(ML^{-3})$ for the reach. If this concentration value is larger than the simulated concentration in the reach, then the evaporated water will be removed at the same concentration as the reach. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "runoff": {"block": "period", "name": "runoff", "type": "string", "tagged": "true", "in_record": "true", "reader": "urword", "time_series": "true", "longname": "runoff concentration", "description": "real or character value that defines the concentration of runoff $(ML^{-3})$ for the reach. Value must be greater than or equal to zero. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "inflow": {"block": "period", "name": "inflow", "type": "string", "tagged": "true", "in_record": "true", "reader": "urword", "time_series": "true", "longname": "inflow concentration", "description": "real or character value that defines the concentration of inflow $(ML^{-3})$ for the reach. Value must be greater than or equal to zero. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}, "auxiliaryrecord": {"block": "period", "name": "auxiliaryrecord", "type": "record auxiliary auxname auxval", "in_record": "true", "reader": "urword"}, "auxname": {"block": "period", "name": "auxname", "type": "string", "tagged": "false", "in_record": "true", "reader": "urword", "description": "name for the auxiliary variable to be assigned AUXVAL. AUXNAME must match one of the auxiliary variable names defined in the OPTIONS block. If AUXNAME does not match one of the auxiliary variable names defined in the OPTIONS block the data are ignored."}, "auxval": {"block": "period", "name": "auxval", "type": "double precision", "tagged": "false", "in_record": "true", "reader": "urword", "time_series": "true", "longname": "auxiliary variable value", "description": "value for the auxiliary variable. If the Options block includes a TIMESERIESFILE entry (see the \"\"Time-Variable Input\"\" section), values can be obtained from a time series by entering the time-series name in place of a numeric value."}}
|
JSON
|
#include "cppdefs.h"
MODULE sed_bed_mod2
#if defined NONLINEAR && defined SEDIMENT && defined NONCOHESIVE_BED2
!
!svn $Id: sed_bed.F 2163 2011-06-08 03:22:34Z aretxabaleta $
!============================================== Alfredo Aretxabaleta ===
! Copyright (c) 2002-2010 The ROMS/TOMS Group Hernan G. Arango !
! Licensed under a MIT/X style license !
! See License_ROMS.txt !
!=======================================================================
! !
! This routine computes sediment bed layer stratigraphy. !
! !
! Warner, J.C., C.R. Sherwood, R.P. Signell, C.K. Harris, and H.G. !
! Arango, 2008: Development of a three-dimensional, regional, !
! coupled wave, current, and sediment-transport model, Computers !
! & Geosciences, 34, 1284-1306. !
! !
!=======================================================================
!
implicit none
PRIVATE
PUBLIC :: sed_bed2
CONTAINS
!
!***********************************************************************
SUBROUTINE sed_bed2 (ng, tile)
!***********************************************************************
!
USE mod_param
USE mod_forces
USE mod_grid
USE mod_ocean
USE mod_sedbed
USE mod_stepping
# ifdef BBL_MODEL
USE mod_bbl
# endif
!
! Imported variable declarations.
!
integer, intent(in) :: ng, tile
!
! Local variable declarations.
!
# include "tile.h"
!
# ifdef PROFILE
CALL wclock_on (ng, iNLM, 16)
# endif
CALL sed_bed_tile (ng, tile, &
& LBi, UBi, LBj, UBj, &
& IminS, ImaxS, JminS, JmaxS, &
& nstp(ng), nnew(ng), &
# ifdef WET_DRY
& GRID(ng) % rmask_wet, &
# endif
# ifdef BBL_MODEL
& BBL(ng) % bustrc, &
& BBL(ng) % bvstrc, &
& BBL(ng) % bustrw, &
& BBL(ng) % bvstrw, &
& BBL(ng) % bustrcwmax, &
& BBL(ng) % bvstrcwmax, &
# else
& FORCES(ng) % bustr, &
& FORCES(ng) % bvstr, &
# endif
& OCEAN(ng) % t, &
# ifdef SUSPLOAD
& SEDBED(ng) % ero_flux, &
& SEDBED(ng) % settling_flux, &
# endif
# if defined SED_MORPH
& SEDBED(ng) % bed_thick, &
# endif
& SEDBED(ng) % bed, &
& SEDBED(ng) % bed_frac, &
& SEDBED(ng) % bed_mass, &
& SEDBED(ng) % bottom)
# ifdef PROFILE
CALL wclock_off (ng, iNLM, 16)
# endif
RETURN
END SUBROUTINE sed_bed2
!
!***********************************************************************
SUBROUTINE sed_bed_tile (ng, tile, &
& LBi, UBi, LBj, UBj, &
& IminS, ImaxS, JminS, JmaxS, &
& nstp, nnew, &
# ifdef WET_DRY
& rmask_wet, &
# endif
# ifdef BBL_MODEL
& bustrc, bvstrc, &
& bustrw, bvstrw, &
& bustrcwmax, bvstrcwmax, &
# else
& bustr, bvstr, &
# endif
& t, &
# ifdef SUSPLOAD
& ero_flux, settling_flux, &
# endif
# if defined SED_MORPH
& bed_thick, &
# endif
& bed, bed_frac, bed_mass, &
& bottom)
!***********************************************************************
!
USE mod_param
USE mod_scalars
USE mod_sediment
!
USE bc_3d_mod, ONLY : bc_r3d_tile
USE exchange_2d_mod, ONLY : exchange_r2d_tile
# ifdef DISTRIBUTE
USE mp_exchange_mod, ONLY : mp_exchange3d, mp_exchange4d
# endif
!
! Imported variable declarations.
!
integer, intent(in) :: ng, tile
integer, intent(in) :: LBi, UBi, LBj, UBj
integer, intent(in) :: IminS, ImaxS, JminS, JmaxS
integer, intent(in) :: nstp, nnew
!
# ifdef ASSUMED_SHAPE
# ifdef WET_DRY
real(r8), intent(in) :: rmask_wet(LBi:,LBj:)
# endif
# ifdef BBL_MODEL
real(r8), intent(in) :: bustrc(LBi:,LBj:)
real(r8), intent(in) :: bvstrc(LBi:,LBj:)
real(r8), intent(in) :: bustrw(LBi:,LBj:)
real(r8), intent(in) :: bvstrw(LBi:,LBj:)
real(r8), intent(in) :: bustrcwmax(LBi:,LBj:)
real(r8), intent(in) :: bvstrcwmax(LBi:,LBj:)
# else
real(r8), intent(in) :: bustr(LBi:,LBj:)
real(r8), intent(in) :: bvstr(LBi:,LBj:)
# endif
# if defined SED_MORPH
real(r8), intent(inout):: bed_thick(LBi:,LBj:,:)
# endif
real(r8), intent(inout) :: t(LBi:,LBj:,:,:,:)
# ifdef SUSPLOAD
real(r8), intent(inout) :: ero_flux(LBi:,LBj:,:)
real(r8), intent(inout) :: settling_flux(LBi:,LBj:,:)
# endif
real(r8), intent(inout) :: bed(LBi:,LBj:,:,:)
real(r8), intent(inout) :: bed_frac(LBi:,LBj:,:,:)
real(r8), intent(inout) :: bed_mass(LBi:,LBj:,:,:,:)
real(r8), intent(inout) :: bottom(LBi:,LBj:,:)
# else
# ifdef WET_DRY
real(r8), intent(in) :: rmask_wet(LBi:UBi,LBj:UBj)
# endif
# ifdef BBL_MODEL
real(r8), intent(in) :: bustrc(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bvstrc(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bustrw(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bvstrw(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bustrcwmax(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bvstrcwmax(LBi:UBi,LBj:UBj)
# else
real(r8), intent(in) :: bustr(LBi:UBi,LBj:UBj)
real(r8), intent(in) :: bvstr(LBi:UBi,LBj:UBj)
# endif
# if defined SED_MORPH
real(r8), intent(inout):: bed_thick(LBi:UBi,LBj:UBj,2)
# endif
real(r8), intent(inout) :: t(LBi:UBi,LBj:UBj,N(ng),3,NT(ng))
# ifdef SUSPLOAD
real(r8), intent(inout) :: ero_flux(LBi:UBi,LBj:UBj,NST)
real(r8), intent(inout) :: settling_flux(LBi:UBi,LBj:UBj,NST)
# endif
real(r8), intent(inout) :: bed(LBi:UBi,LBj:UBj,Nbed,MBEDP)
real(r8), intent(inout) :: bed_frac(LBi:UBi,LBj:UBj,Nbed,NST)
real(r8), intent(inout) :: bed_mass(LBi:UBi,LBj:UBj,Nbed,1:2,NST)
real(r8), intent(inout) :: bottom(LBi:UBi,LBj:UBj,MBOTP)
# endif
!
! Local variable declarations.
!
integer :: Ksed, i, ised, j, k, ks
integer :: bnew, nnn
real(r8), parameter :: eps = 1.0E-14_r8
real(r8) :: cff, cff1, cff2, cff3
real(r8) :: thck_avail, thck_to_add
real(r8), dimension(NST) :: nlysm
real(r8), dimension(IminS:ImaxS,NST) :: dep_mass
real(r8), dimension(IminS:ImaxS,JminS:JmaxS) :: tau_w
# include "set_bounds.h"
# ifdef BEDLOAD
bnew=nnew
# else
bnew=nstp
# endif
! KLUDGE alert
! minlayer_thick(ng) = 0.0005
minlayer_thick(ng) = newlayer_thick(ng)
!
!-----------------------------------------------------------------------
! Compute sediment bed layer stratigraphy.
!-----------------------------------------------------------------------
!
# if defined BEDLOAD_MPM || defined SUSPLOAD
# ifdef BBL_MODEL
DO j=Jstr-1,Jend+1
DO i=Istr-1,Iend+1
tau_w(i,j)=SQRT(bustrcwmax(i,j)*bustrcwmax(i,j)+ &
& bvstrcwmax(i,j)*bvstrcwmax(i,j))
# ifdef WET_DRY
tau_w(i,j)=tau_w(i,j)*rmask_wet(i,j)
# endif
END DO
END DO
# else
DO j=Jstrm1,Jendp1
DO i=Istrm1,Iendp1
tau_w(i,j)=0.5_r8*SQRT((bustr(i,j)+bustr(i+1,j))* &
& (bustr(i,j)+bustr(i+1,j))+ &
& (bvstr(i,j)+bvstr(i,j+1))* &
& (bvstr(i,j)+bvstr(i,j+1)))
# ifdef WET_DRY
tau_w(i,j)=tau_w(i,j)*rmask_wet(i,j)
# endif
END DO
END DO
# endif
# endif
!
!-----------------------------------------------------------------------
! Update bed properties according to ero_flux and dep_flux.
!-----------------------------------------------------------------------
!
# ifdef SUSPLOAD
J_LOOP : DO j=Jstr,Jend
!
! The deposition and resuspension of sediment on the bottom "bed"
! is due to precipitation flux FC(:,0), already computed, and the
! resuspension (erosion, hence called ero_flux). The resuspension is
! applied to the bottom-most grid box value qc(:,1) so the total mass
! is conserved. Restrict "ero_flux" so that "bed" cannot go negative
! after both fluxes are applied.
!
DO i=Istr,Iend
SED_LOOP: DO ised=1,NST
dep_mass(i,ised)=0.0_r8
# ifdef SED_MORPH
! Apply morphology factor.
ero_flux(i,j,ised)=ero_flux(i,j,ised)*morph_fac(ised,ng)
settling_flux(i,j,ised)=settling_flux(i,j,ised)* &
& morph_fac(ised,ng)
# endif
! Update bed mass arrays.
bed_mass(i,j,1,nnew,ised)=MAX(bed_mass(i,j,1,bnew,ised)- &
& (ero_flux(i,j,ised)- &
& settling_flux(i,j,ised)), &
& 0.0_r8)
DO k=2,Nbed
bed_mass(i,j,k,nnew,ised)=bed_mass(i,j,k,nstp,ised)
END DO
END DO SED_LOOP
cff3=0.0_r8
DO ised=1,NST
cff3=cff3+bed_mass(i,j,1,nnew,ised)
END DO
IF (cff3.eq.0.0_r8) THEN
cff3=eps
END IF
bed(i,j,1,ithck)=0.0_r8
DO ised=1,NST
bed_frac(i,j,1,ised)=bed_mass(i,j,1,nnew,ised)/cff3
bed(i,j,1,ithck)=MAX(bed(i,j,1,ithck)+ &
& bed_mass(i,j,1,nnew,ised)/ &
& (Srho(ised,ng)* &
& (1.0_r8-bed(i,j,1,iporo))),0.0_r8)
END DO
END DO
END DO J_LOOP
# endif /* SUSPLOAD section */
!
!-----------------------------------------------------------------------
! At this point, all deposition or erosion is complete, and
! has been added/subtracted to top layer. Thickness has NOT been corrected.
!-----------------------------------------------------------------------
!
J_LOOP2 : DO j=Jstr,Jend
DO i=Istr,Iend
! Calculate active layer thickness, bottom(i,j,iactv).
! (trunk version allows this to be zero...this has minimum of 6*D50)
bottom(i,j,iactv)=MAX(0.0_r8, &
& 0.007_r8* &
& (tau_w(i,j)-bottom(i,j,itauc))*rho0)+ &
& 6.0_r8*bottom(i,j,isd50)
# ifdef SED_MORPH
! Apply morphology factor.
bottom(i,j,iactv)=MAX(bottom(i,j,iactv)*morph_fac(1,ng), &
& bottom(i,j,iactv))
# endif
!
! Calculate net deposition and erosion
cff=0.0_r8
cff2=0.0_r8
DO ised=1,NST
cff=cff+settling_flux(i,j,ised)
cff2=cff2+ero_flux(i,j,ised)
dep_mass(i,ised)=0.0_r8
IF ((ero_flux(i,j,ised)-settling_flux(i,j,ised)).lt. &
& 0.0_r8) THEN
dep_mass(i,ised)=settling_flux(i,j,ised)- &
& ero_flux(i,j,ised)
END IF
END DO
IF ( cff-cff2.GT.0.0_r8) THEN ! NET depostion
! Deposition. Determine if we need to create a new bed layer
! (no test for age here)
bed(i,j,1,iaged)=time(ng)
IF(bed(i,j,1,ithck).gt. &
& MAX(bottom(i,j,iactv),newlayer_thick(ng))) THEN
! Top layer is too thick
IF (Nbed.gt.2) THEN
IF(bed(i,j,2,ithck).lt.minlayer_thick(ng)) THEN
! Layer 2 is smaller than minimum size
! Instead of pushing down all layers, just combine top 2 layers
cff=0.0_r8
cff1=0.0_r8
cff2=0.0_r8
DO ised=1,NST
cff =cff +dep_mass(i,ised)
cff1=cff1+bed_mass(i,j,1,nnew,ised)
cff2=cff2+bed_mass(i,j,2,nnew,ised)
END DO
! Update bed mass
DO ised=1,NST
bed_mass(i,j,2,nnew,ised)= &
& MAX(bed_mass(i,j,2,nnew,ised)+ &
& bed_mass(i,j,1,nnew,ised)- &
& dep_mass(i,ised),0.0_r8)
bed_mass(i,j,1,nnew,ised)=dep_mass(i,ised)
END DO
! ALA - average time and porosity
! ALA CHECK WITH CRS cff1 or cff1-cff for first layer
bed(i,j,2,iaged)=(bed(i,j,1,iaged)*cff1+ &
& bed(i,j,2,iaged)*cff2)/(cff1+cff2)
bed(i,j,1,iaged)=time(ng)
bed(i,j,2,iporo)=(bed(i,j,1,iporo)*cff1+ &
& bed(i,j,2,iporo)*cff2)/(cff1+cff2)
! ALA CHECK WITH CRS POROSITY OF 1ST LAYER
bed(i,j,1,iporo)=bed(i,j,1,iporo)
ELSE
! Layer 2 is > minlayer thick, need another layer
! Combine bottom layers.
cff1=0.0_r8
cff2=0.0_r8
DO ised=1,NST
cff1=cff1+bed_mass(i,j,Nbed-1,nnew,ised)
cff2=cff2+bed_mass(i,j,Nbed,nnew,ised)
END DO
bed(i,j,Nbed,iporo)= &
& (bed(i,j,Nbed-1,iporo)*cff1+ &
& bed(i,j,Nbed,iporo)*cff2)/(cff1+cff2)
bed(i,j,Nbed,iaged)= &
& (bed(i,j,Nbed-1,iaged)*cff1+ &
& bed(i,j,Nbed,iaged)*cff2)/(cff1+cff2)
DO ised=1,NST
bed_mass(i,j,Nbed,nnew,ised)= &
& bed_mass(i,j,Nbed-1,nnew,ised)+ &
& bed_mass(i,j,Nbed ,nnew,ised)
END DO
!
! Push layers down.
DO k=Nbed-1,2,-1
bed(i,j,k,iporo)=bed(i,j,k-1,iporo)
bed(i,j,k,iaged)=bed(i,j,k-1,iaged)
DO ised =1,NST
bed_mass(i,j,k,nnew,ised)= &
& bed_mass(i,j,k-1,nnew,ised)
END DO
END DO
! Set new top parameters for top 2 layers
DO ised=1,NST
bed_mass(i,j,2,nnew,ised)= &
& MAX(bed_mass(i,j,2,nnew,ised)- &
& dep_mass(i,ised),0.0_r8)
bed_mass(i,j,1,nnew,ised)=dep_mass(i,ised)
END DO
END IF
ELSEIF (Nbed.eq.2) THEN
! NBED=2
cff1=0.0_r8
cff2=0.0_r8
DO ised=1,NST
cff1=cff1+bed_mass(i,j,1,nnew,ised)
cff2=cff2+bed_mass(i,j,2,nnew,ised)
END DO
DO ised=1,NST
bed_mass(i,j,2,nnew,ised)= &
& MAX(bed_mass(i,j,2,nnew,ised)+ &
& bed_mass(i,j,1,nnew,ised)- &
& dep_mass(i,ised),0.0_r8)
bed_mass(i,j,1,nnew,ised)=dep_mass(i,ised)
END DO
! ALA - average time and porosity
bed(i,j,2,iaged)=(bed(i,j,1,iaged)*cff1+ &
& bed(i,j,2,iaged)*cff2)/(cff1+cff2)
bed(i,j,1,iaged)=time(ng)
bed(i,j,2,iporo)=(bed(i,j,1,iporo)*cff1+ &
& bed(i,j,2,iporo)*cff2)/(cff1+cff2)
! ALA CHECK WITH CRS POROSITY OF 1ST LAYER
bed(i,j,1,iporo)=bed(i,j,1,iporo)
ELSE
! NBED=1
END IF
ELSE
! Net deposition has occured, but no new bed layer was created
END IF
ELSE
! Net erosion occurred
bed(i,j,1,iaged)=time(ng)
IF (Nbed.eq.2) THEN
! NBED=2
DO ised=1,NST
bed_mass(i,j,2,nnew,ised)= &
& MAX(bed_mass(i,j,2,nnew,ised)+ &
& bed_mass(i,j,1,nnew,ised)- &
& dep_mass(i,ised),0.0_r8)
bed_mass(i,j,1,nnew,ised)=dep_mass(i,ised)
END DO
ELSEIF (Nbed.eq.1) THEN
! ALF NO NEED TO DO ANYTHING
ELSE
END IF
END IF
! Recalculate thickness and fractions for all layers.
DO k=1,Nbed
cff3=0.0_r8
DO ised=1,NST
cff3=cff3+bed_mass(i,j,k,nnew,ised)
END DO
IF (cff3.eq.0.0_r8) THEN
cff3=eps
END IF
bed(i,j,k,ithck)=0.0_r8
DO ised=1,NST
bed_frac(i,j,k,ised)=bed_mass(i,j,k,nnew,ised)/cff3
bed(i,j,k,ithck)=MAX(bed(i,j,k,ithck)+ &
& bed_mass(i,j,k,nnew,ised)/ &
& (Srho(ised,ng)* &
& (1.0_r8-bed(i,j,k,iporo))),0.0_r8)
END DO
END DO
END DO
END DO J_LOOP2
J_LOOP3 : DO j=Jstr,Jend
DO i=Istr,Iend
IF (bottom(i,j,iactv).gt.bed(i,j,1,ithck)) THEN
IF (Nbed.eq.1) THEN
bottom(i,j,iactv)=bed(i,j,1,ithck)
ELSE
thck_to_add=bottom(i,j,iactv)-bed(i,j,1,ithck)
thck_avail=0.0_r8
Ksed=1 ! initialize
DO k=2,Nbed
IF (thck_avail.lt.thck_to_add) THEN
thck_avail=thck_avail+bed(i,j,k,ithck)
Ksed=k
END IF
END DO
!
! Catch here if there was not enough bed material.
!
IF (thck_avail.lt.thck_to_add) THEN
bottom(i,j,iactv)=bed(i,j,1,ithck)+thck_avail
thck_to_add=thck_avail
END IF
!
! Update bed mass of top layer and fractional layer.
!
cff2=MAX(thck_avail-thck_to_add,0.0_r8)/ &
& MAX(bed(i,j,Ksed,ithck),eps)
DO ised=1,NST
cff1=0.0_r8
DO k=1,Ksed
cff1=cff1+bed_mass(i,j,k,nnew,ised)
END DO
cff3=cff2*bed_mass(i,j,Ksed,nnew,ised)
bed_mass(i,j,1 ,nnew,ised)=cff1-cff3
bed_mass(i,j,Ksed,nnew,ised)=cff3
END DO
!
! Update thickness of fractional layer ksource_sed.
!
bed(i,j,Ksed,ithck)=MAX(thck_avail-thck_to_add,0.0_r8)
!
! Update bed fraction of top layer.
!
cff3=0.0_r8
DO ised=1,NST
cff3=cff3+bed_mass(i,j,1,nnew,ised)
END DO
IF (cff3.eq.0.0_r8) THEN
cff3=eps
END IF
DO ised=1,NST
bed_frac(i,j,1,ised)=bed_mass(i,j,1,nnew,ised)/cff3
END DO
!
! Upate bed thickness of top layer.
!
bed(i,j,1,ithck)=bottom(i,j,iactv)
!
! Pull all layers closer to the surface.
!
DO k=Ksed,Nbed
ks=Ksed-2
bed(i,j,k-ks,ithck)=bed(i,j,k,ithck)
bed(i,j,k-ks,iporo)=bed(i,j,k,iporo)
bed(i,j,k-ks,iaged)=bed(i,j,k,iaged)
DO ised=1,NST
bed_frac(i,j,k-ks,ised)=bed_frac(i,j,k,ised)
bed_mass(i,j,k-ks,nnew,ised)=bed_mass(i,j,k,nnew,ised)
END DO
END DO
!
! Add new layers onto the bottom. Split what was in the bottom layer to
! fill these new empty cells. ("ks" is the number of new layers).
!
ks=Ksed-2
! ALA CHECK WITH CRS about bed_frac
nnn=0
DO ised=1,NST
nlysm(ised)=newlayer_thick(ng)*REAL(ks+1,r8)* &
& (Srho(ised,ng)* &
& (1.0_r8-bed(i,j,Nbed-ks,iporo)))* &
& bed_frac(i,j,Nbed-ks,ised)
IF (ks.gt.0) THEN
IF (bed_mass(i,j,Nbed-ks,nnew,ised).gt. &
& nlysm(ised)) THEN
nnn=nnn+1
nlysm(ised)= &
& newlayer_thick(ng)*REAL(ks,r8)* &
& (Srho(ised,ng)* &
& (1.0_r8-bed(i,j,Nbed-ks,iporo)))* &
& bed_frac(i,j,Nbed-ks,ised)
END IF
END IF
END DO
IF (nnn.eq.NST) THEN
bed(i,j,Nbed,ithck)=bed(i,j,Nbed-ks,ithck)- &
& newlayer_thick(ng)*REAL(ks,r8)
DO ised=1,NST
bed_mass(i,j,Nbed,nnew,ised)= &
& bed_mass(i,j,Nbed-ks,nnew,ised)-nlysm(ised)
END DO
DO k=Nbed-1,Nbed-ks,-1
bed(i,j,k,ithck)=newlayer_thick(ng)
bed(i,j,k,iaged)=bed(i,j,Nbed-ks,iaged)
DO ised=1,NST
bed_frac(i,j,k,ised)=bed_frac(i,j,Nbed-ks,ised)
bed_mass(i,j,k,nnew,ised)= &
& nlysm(ised)/REAL(ks,r8)
END DO
END DO
ELSE
cff=1.0_r8/REAL(ks+1,r8)
DO k=Nbed,Nbed-ks,-1
bed(i,j,k,ithck)=bed(i,j,Nbed-ks,ithck)*cff
bed(i,j,k,iaged)=bed(i,j,Nbed-ks,iaged)
DO ised=1,NST
bed_frac(i,j,k,ised)=bed_frac(i,j,Nbed-ks,ised)
bed_mass(i,j,k,nnew,ised)= &
& bed_mass(i,j,Nbed-ks,nnew,ised)*cff
END DO
END DO
END IF
END IF ! Nbed > 1
END IF ! increase top bed layer
END DO
END DO J_LOOP3
!
!-----------------------------------------------------------------------
! Store old bed thickness.
!-----------------------------------------------------------------------
!
# if defined SED_MORPH
DO j=JstrR,JendR
DO i=IstrR,IendR
bed_thick(i,j,nnew)=0.0_r8
DO k=1,Nbed
bed_thick(i,j,nnew)=bed_thick(i,j,nnew)+ &
& bed(i,j,k,ithck)
END DO
END DO
END DO
IF (EWperiodic(ng).or.NSperiodic(ng)) THEN
CALL exchange_r2d_tile (ng, tile, &
& LBi, UBi, LBj, UBj, &
& bed_thick(:,:,nnew))
END IF
# endif
!
!-----------------------------------------------------------------------
! Apply periodic or gradient boundary conditions to property arrays.
!-----------------------------------------------------------------------
!
DO ised=1,NST
CALL bc_r3d_tile (ng, tile, &
& LBi, UBi, LBj, UBj, 1, Nbed, &
& bed_frac(:,:,:,ised))
CALL bc_r3d_tile (ng, tile, &
& LBi, UBi, LBj, UBj, 1, Nbed, &
& bed_mass(:,:,:,nnew,ised))
END DO
# ifdef DISTRIBUTE
CALL mp_exchange4d (ng, tile, iNLM, 2, &
& LBi, UBi, LBj, UBj, 1, Nbed, 1, NST, &
& NghostPoints, &
& EWperiodic(ng), NSperiodic(ng), &
& bed_frac, &
& bed_mass(:,:,:,nnew,:))
# endif
DO i=1,MBEDP
CALL bc_r3d_tile (ng, tile, &
& LBi, UBi, LBj, UBj, 1, Nbed, &
& bed(:,:,:,i))
END DO
# ifdef DISTRIBUTE
CALL mp_exchange4d (ng, tile, iNLM, 1, &
& LBi, UBi, LBj, UBj, 1, Nbed, 1, MBEDP, &
& NghostPoints, &
& EWperiodic(ng), NSperiodic(ng), &
& bed)
# endif
RETURN
END SUBROUTINE sed_bed_tile
#endif
END MODULE sed_bed_mod2
|
Fortran Free Form
|
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Define array of pits
Dim PlayerX(15) As Label
Dim PlayerY(15) As Label
'Some Pit Properties
Dim xBottomPos As New Point(32, 28)
Dim xTopPos As New Point(32, 58)
Dim yTopPos As New Point(32, 200)
Dim yBottomPos As New Point(32, 230)
Dim labelSize As New Size(45, 13)
'Player X's pits
placePits(PlayerX, xBottomPos, labelSize, 0, 7)
placePits(PlayerX, xTopPos, labelSize, 8, 15)
'Player Y's pits
placePits(PlayerY, yTopPos, labelSize, 0, 7)
placePits(PlayerY, yBottomPos, labelSize, 8, 15)
End Sub
Private Sub placePits(ByVal playerPitArray, ByVal loc, ByVal size, ByVal start, ByVal fin)
For a As Integer = 0 To 7
playerPitArray(a) = New Label
playerPitArray(a).Location = loc
playerPitArray(a).Size = size
playerPitArray(a).Text = 0
Me.Controls.Add(playerPitArray(a))
loc.X = loc.X + 80
Next
End Sub
End Class
|
VBA
|
(define-package "quickrun" "20160307.318" "Run commands quickly" '((emacs "24") (cl-lib "0.5")) :url "https://github.com/syohex/emacs-quickrun")
|
Common Lisp
|
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * Copyright INRIA, CNRS and contributors *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
open Names
open Environ
exception InductiveMismatch of MutInd.t * string
(** Some field of the inductive is different from what the kernel infers. *)
(*s The following function does checks on inductive declarations. *)
val check_inductive : env -> MutInd.t -> Declarations.mutual_inductive_body -> env
|
OCaml
|
program ListaControlli;
uses
Forms,
UfmListaControlli in 'UfmListaControlli.pas' {fmListaControlli},
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {Form2};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(TfmListaControlli, fmListaControlli);
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.Run;
end.
|
Pascal
|
require "numru/ggraph"
include NumRu
module ConstUtil_INTH07
GasRUniv = UNumeric[8.3144621, "J.K-1.mol-1"]
PI = UNumeric[Math::acos(-1.0), "1"]
StB = UNumeric[5.67e-8, "W.m-2.K-4"]
module Earth
RPlanet = UNumeric[6370e3, "m"]
Grav = UNumeric[9.8, "m.s-2"]
Omega = UNumeric[2.0*Math::acos(-1.0)/(60.0*60.0*23.9345), "s-1"]
LatentHeatV = UNumeric[2.4253e6, "J.kg-1"]
LatentHeatS = UNumeric[2.7593e6, "J.kg-1"]
LatentHeatF = UNumeric[334e3, "J.kg-1"]
WaterDens = UNumeric[1e3, "kg.m-3"]
module Atm
MolWtWet = UNumeric[18.0e-3, "kg.mol-1"]
MolWtDry = UNumeric[18.0e-3, "kg.mol-1"]
GasRDry = GasRUniv / MolWtDry
GasRWat = GasRUniv / MolWtWet
EpsV = MolWtWet/MolWtDry
CpDry = UNumeric[1616.6e0, "J.kg-1.K-1"]
CpWet = UNumeric[1616.60e0, "J.kg-1.K-1"]
end
module Ocn
Dens0 = UNumeric[1.030e3, "kg.m-3"]
Cp0 = UNumeric[3986e0, "J.kg-1.K-1"]
end
end
end
|
Ruby
|
package com.geowarin.task
import org.springframework.data.mongodb.repository.MongoRepository
import org.springframework.stereotype.Repository
/**
*
* Date: 04/05/2014
* Time: 17:24
* @author Geoffroy Warin (http://geowarin.github.io)
*/
@Repository
interface TaskRepository extends MongoRepository<Task, Long> {}
|
Groovy
|
-- SetupConfig: { }
create procedure CK.sAclTypeGrantLevelSet
(
@ActorId int,
@AclTypeId int,
@GrantLevel tinyint,
@Set bit
)
as
begin
if @ActorId <= 0 throw 50000, 'Security.AnonymousNotAllowed', 1;
if @GrantLevel > 127 throw 50000, 'Security.GrantLevelMustBeAtMost127', 1;
if @Set = 0 and (@GrantLevel = 0 or @GrantLevel = 127) throw 50000, 'Security.GrantLevel0And127CanNotBeRemoved', 1;
--[beginsp]
if @Set = 0
begin
declare @GrantLevelDeny tinyint = 255 - @GrantLevel;
--<PreRemoveLevel revert />
-- When removing a level, we must ensure that, if the AclType is constrained, the
-- removed level does not appear in any Acl current configuration.
if exists( select *
from CK.tAcl a
inner join CK.tAclType t on t.AclTypeId = a.AclTypeId
inner join CK.tAclConfigMemory m on m.AclId = a.AclId
where a.AclTypeId = @AclTypeId
and t.ConstrainedGrantLevel = 1
and (m.GrantLevel = @GrantLevel or m.GrantLevel = @GrantLevelDeny))
begin
;throw 50000, 'Security.AclTypeConstrainedLevelIsUsed', 1;
end
delete l from CK.tAclTypeGrantLevel l where l.AclTypeId = @AclTypeId and l.GrantLevel = @GrantLevel;
--<PostRemoveLevel />
end
else
begin
--<PreAddLevel revert />
-- One can always add a level.
merge CK.tAclTypeGrantLevel as target
using ( select AclTypeId = @AclTypeId, GrantLevel = @GrantLevel )
as source on source.AclTypeId = target.AclTypeId and source.GrantLevel = target.GrantLevel
when not matched by target then insert ( AclTypeId, GrantLevel ) values( source.AclTypeId, source.GrantLevel );
--<PostAddLevel />
end
--[endsp]
end
|
PLSQL
|
USE [msdb]
GO
/****** Object: Job [Script_databases_group_1] Script Date: 12/23/2013 07:57:03 ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object: JobCategory [[Uncategorized (Local)]]] Script Date: 12/23/2013 07:57:03 ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
EXEC @ReturnCode = msdb.dbo.sp_add_category @class=N'JOB', @type=N'LOCAL', @name=N'[Uncategorized (Local)]'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
END
DECLARE @jobId BINARY(16)
EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name=N'Script_databases_group_1',
@enabled=0,
@notify_level_eventlog=0,
@notify_level_email=0,
@notify_level_netsend=0,
@notify_level_page=0,
@delete_level=0,
@description=N'No description available.',
@category_name=N'[Uncategorized (Local)]',
@owner_login_name=N'IP001\jmaass', @job_id = @jobId OUTPUT
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
/****** Object: Step [Script em] Script Date: 12/23/2013 07:57:03 ******/
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'Script em',
@step_id=1,
@cmdexec_success_code=0,
@on_success_action=1,
@on_success_step_id=0,
@on_fail_action=2,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0, @subsystem=N'TSQL',
@command=N'execute NGDBATools.[db_scripting].[script_all_databases_in_parts]
@total_parts = 4
, @what_part = 1',
@database_name=N'master',
@output_file_name=N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\agent_job_script_all_dbs_0_of_4.log',
@flags=4
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id=@jobId, @name=N'asap',
@enabled=1,
@freq_type=4,
@freq_interval=1,
@freq_subday_type=2,
@freq_subday_interval=10,
@freq_relative_interval=0,
@freq_recurrence_factor=0,
@active_start_date=20131220,
@active_end_date=99991231,
@active_start_time=0,
@active_end_time=235959,
@schedule_uid=N'2e6a7d6b-e052-4518-b930-ac702e7cf84a'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @jobId, @server_name = N'(local)'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTION
EndSave:
GO
|
PLSQL
|
import 'dart:async';
main() async {
var a = f();
try {
await a;
} catch (e) {
print(s);
}
}
f() async {
try {
await g('A');
} catch(e) {
await g('B');
} finally {
await g('C');
}
}
g(n) async {
print(n);
throw n;
}
|
Dart
|
//Handles how much the temperature changes on power use. (Joules/Kelvin)
//Equates to as much heat energy per kelvin as a quarter tile of air.
#define XENOARCH_HEAT_CAPACITY 5000
//Handles heat transfer to the air. (In watts)
//Can heat a single tile 2 degrees per tick.
#define XENOARCH_MAX_ENERGY_TRANSFER 4000
//How many joules of electrical energy produce how many joules of heat energy?
#define XENOARCH_HEAT_COEFFICIENT 3
/obj/machinery/anomaly
name = "Analysis machine"
desc = "A specialised, complex analysis machine."
anchored = 1
density = 1
icon = 'icons/obj/virology.dmi'
icon_state = "analyser"
idle_power_usage = 20 //watts
active_power_usage = 300 //Because I need to make up numbers~
var/obj/item/weapon/reagent_containers/glass/held_container
var/obj/item/weapon/tank/fuel_container
var/target_scan_ticks = 30
var/report_num = 0
var/scan_process = 0
var/temperature = 273 //measured in kelvin, if this exceeds 1200, the machine is damaged and requires repairs
//if this exceeds 600 and safety is enabled it will shutdown
//temp greater than 600 also requires a safety prompt to initiate scanning
var/max_temp = 450
/obj/machinery/anomaly/New()
..()
//for analysis debugging
/*var/obj/item/weapon/reagent_containers/glass/solution_tray/S = new(src.loc)
var/turf/simulated/mineral/diamond/D
for(var/turf/simulated/mineral/diamond/M in world)
D = M
break
S.reagents.add_reagent("analysis_sample", 1, D.geological_data)
S.reagents.add_reagent("chlorine", 1, null)*/
/obj/machinery/anomaly/process()
//not sure if everything needs to heat up, or just the GLPC
var/datum/gas_mixture/env = loc.return_air()
var/environmental_temp = env.temperature
if(scan_process)
if(scan_process++ > target_scan_ticks)
FinishScan()
else if(temperature > 400)
src.visible_message("\blue \icon[src] shuts down from the heat!", 2)
scan_process = 0
else if(temperature > 350 && prob(10))
src.visible_message("\blue \icon[src] bleets plaintively.", 2)
if(temperature > 400)
scan_process = 0
//show we're busy
if(prob(5))
src.visible_message("\blue \icon[src] [pick("whirrs","chuffs","clicks")][pick(" quietly"," softly"," sadly"," excitedly"," energetically"," angrily"," plaintively")].", 2)
use_power = 2
else
use_power = 1
auto_use_power()
//Add 3000 joules when active. This is about 0.6 degrees per tick.
//May need adjustment
if(use_power == 1)
var/heat_added = active_power_usage *XENOARCH_HEAT_COEFFICIENT
if(temperature < max_temp)
temperature += heat_added/XENOARCH_HEAT_CAPACITY
var/temperature_difference = abs(environmental_temp-temperature)
var/datum/gas_mixture/removed = loc.remove_air(env.total_moles*0.25)
var/heat_capacity = removed.heat_capacity()
heat_added = max(temperature_difference*heat_capacity, XENOARCH_MAX_ENERGY_TRANSFER)
if(temperature > environmental_temp)
//cool down to match the air
temperature = max(TCMB, temperature - heat_added/XENOARCH_HEAT_CAPACITY)
removed.temperature = max(TCMB, removed.temperature + heat_added/heat_capacity)
if(temperature_difference > 10 && prob(5))
src.visible_message("\blue \icon[src] hisses softly.", 2)
else
//heat up to match the air
temperature = max(TCMB, temperature + heat_added/XENOARCH_HEAT_CAPACITY)
removed.temperature = max(TCMB, removed.temperature - heat_added/heat_capacity)
if(temperature_difference > 10 && prob(5))
src.visible_message("\blue \icon[src] plinks quietly.", 2)
env.merge(removed)
//this proc should be overriden by each individual machine
/obj/machinery/anomaly/attack_hand(var/mob/user as mob)
if(stat & (NOPOWER|BROKEN))
return
user.machine = src
var/dat = "<B>[src.name]</B><BR>"
// AUTOFIXED BY fix_string_idiocy.py
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\research\xenoarchaeology\machinery\analysis_base.dm:111: dat += "Module heat level: [temperature] kelvin<br>"
dat += {"Module heat level: [temperature] kelvin<br>
Safeties set at 350k, shielding failure at 400k. Failure to maintain safe heat levels may result in equipment damage.<br>
<hr>"}
// END AUTOFIX
if(scan_process)
dat += "Scan in progress<br><br><br>"
else
dat += "[held_container ? "<A href='?src=\ref[src];eject_beaker=1'>Eject beaker</a>" : "No beaker inserted."]<br>"
//dat += "[fuel_container ? "<A href='?src=\ref[src];eject_fuel=1'>Eject fuel tank</a>" : "No fuel tank inserted."]<br>"
dat += "[held_container ? "<A href='?src=\ref[src];begin=1'>Begin scanning</a>" : ""]"
// AUTOFIXED BY fix_string_idiocy.py
// C:\Users\Rob\Documents\Projects\vgstation13\code\modules\research\xenoarchaeology\machinery\analysis_base.dm:120: dat += "<hr>"
dat += {"<hr>
<A href='?src=\ref[src];refresh=1'>Refresh</a><BR>
<A href='?src=\ref[src];close=1'>Close</a><BR>"}
// END AUTOFIX
user << browse(dat, "window=anomaly;size=450x500")
onclose(user, "anomaly")
obj/machinery/anomaly/attackby(obj/item/weapon/W as obj, mob/living/user as mob)
if(istype(W, /obj/item/weapon/reagent_containers/glass))
//var/obj/item/weapon/reagent_containers/glass/G = W
if(held_container)
user << "\red You must remove the [held_container] first."
else
user << "\blue You put the [W] into the [src]."
user.drop_item(W)
held_container = W
held_container.loc = src
updateDialog()
/*else if(istype(W, /obj/item/weapon/tank))
//var/obj/item/weapon/reagent_containers/glass/G = W
if(fuel_container)
user << "\red You must remove the [fuel_container] first."
else
user << "\blue You put the [fuel_container] into the [src]."
user.drop_item(W)
fuel_container.loc = src
fuel_container = W
updateDialog()*/
else
return ..()
obj/machinery/anomaly/proc/ScanResults()
//instantiate in children to produce unique scan behaviour
return "\red Error initialising scanning components."
obj/machinery/anomaly/proc/FinishScan()
scan_process = 0
updateDialog()
//determine the results and print a report
if(held_container)
src.visible_message("\blue \icon[src] makes an insistent chime.", 2)
var/obj/item/weapon/paper/P = new(src.loc)
P.name = "[src] report #[++report_num]"
P.info = "<b>[src] analysis report #[report_num]</b><br><br>" + ScanResults()
P.stamped = list(/obj/item/weapon/stamp)
P.overlays = list("paper_stamped")
else
src.visible_message("\blue \icon[src] makes a low buzzing noise.", 2)
obj/machinery/anomaly/Topic(href, href_list)
..()
usr.set_machine(src)
if(href_list["close"])
usr << browse(null, "window=anomaly")
usr.machine = null
if(href_list["eject_beaker"])
held_container.loc = src.loc
held_container = null
if(href_list["eject_fuel"])
fuel_container.loc = src.loc
fuel_container = null
if(href_list["begin"])
if(temperature >= 350)
var/proceed = input("Unsafe internal temperature detected, enter YES below to continue.","Warning")
if(proceed == "YES" && get_dist(src, usr) <= 1)
scan_process = 1
else
scan_process = 1
updateUsrDialog()
//whether the carrier sample matches the possible finds
//results greater than a threshold of 0.6 means a positive result
obj/machinery/anomaly/proc/GetResultSpecifity(var/datum/geosample/scanned_sample, var/carrier_name)
var/specifity = 0
if(scanned_sample && carrier_name)
if(scanned_sample.find_presence.Find(carrier_name))
specifity = 0.75 * (scanned_sample.find_presence[carrier_name] / scanned_sample.total_spread) + 0.25
else
specifity = rand(0, 0.5)
return specifity
|
DM
|
pos(f([],0)).
pos(f([3,3,1],3)).
pos(f([4],1)).
pos(f([4,3],2)).
pos(f([4,3,2,2,3,5,2,7],8)).
neg(f([3,3,1],2)).
neg(f([4],0)).
neg(f([4],2)).
|
Prolog
|
//
// AdidasUser.swift
// SportShop
//
// Created by Tejas on 2/1/17.
// Copyright © 2017 Kinvey. All rights reserved.
//
import Foundation
import Kinvey
import ObjectMapper
class HealthUser: User {
//var sport: String?
var imageSource:String?
var firstname: String?
var lastname: String?
var pcp: String?
var sfId:String?
var redoxId:String?
var phone: String?
var fullName:String? {
if let firstname = firstname, let lastname = lastname {
return "\(firstname) \(lastname)"
}
return self.username
}
override func mapping(map: Map) {
super.mapping(map: map)
//sport <- map["sport"]
imageSource <- map["imageSource"]
firstname <- map["first_name"]
lastname <- map["last_name"]
pcp <- map["pcp"]
sfId <- map["sf_id"]
redoxId <- map["redox_id"]
phone <- map["phone"]
}
}
|
Swift
|
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 18:00:40 12/22/2015
// Design Name:
// Module Name: ps2_rx
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module ps2_rx(
input wire clk,reset,
input wire ps2d, ps2c, rx_en,
output reg rx_done_tick,
output wire [7:0] dout);
//symbolic state declaration
localparam [1:0]
idle = 2'b00,
dps = 2'b01,
load = 2'b10;
//signal declaration
reg [1:0] state_reg, state_next;
reg [7:0] filter_reg;
wire [7:0] filter_next;
reg f_ps2c_reg;
wire f_ps2c_next;
reg [3:0] n_reg, n_next;
reg [10:0] b_reg, b_next;
wire fall_edge;
//body
//===================================================================
//filter and falling-edge tick generation for ps2c
//===================================================================
always @(posedge clk, posedge reset)
if (reset)
begin
filter_reg <= 0;
f_ps2c_reg <= 0;
end
else
begin
filter_reg <= filter_next;
f_ps2c_reg <= f_ps2c_next;
end
assign filter_next = {ps2c, filter_reg[7:1]};
assign f_ps2c_next = (filter_reg == 8'b11111111) ? 1'b1 :
(filter_reg == 8'b00000000) ? 1'b0:
f_ps2c_reg;
assign fall_edge = f_ps2c_reg & ~f_ps2c_next;
//====================================================================
//FSMD
//====================================================================
//FSMD state & data registers
always @ (posedge clk, posedge reset)
if (reset)
begin
state_reg <= idle;
n_reg <= 0;
b_reg <= 0;
end
else
begin
state_reg <= state_next;
n_reg <= n_next;
b_reg <= b_next;
end
//FSMD next-state logic
always @ *
begin
state_next = state_reg;
rx_done_tick = 1'b0;
n_next = n_reg;
b_next = b_reg;
case (state_reg)
idle :
if (fall_edge & rx_en)
begin
// shift in start bit
b_next = {ps2d, b_reg [10:1]};
n_next = 4'b1001;
state_next = dps;
end
dps://8data+ 1 parity +1 stop
if (fall_edge)
begin
b_next = {ps2d, b_reg[10:1]};
if (n_reg == 0)
state_next = load;
else
n_next = n_reg-1;
end
load:// 1 extra clock to complete the last shift
begin
state_next = idle;
rx_done_tick = 1'b1;
end
endcase
end
//output
assign dout = b_reg[8:1]; //data bits
endmodule
|
Coq
|
%usage:
% with_pump : boolean
% ca_clamp: double (0 if no clamping) otherwise 1e-6 M is a clamping value
% path:the path to save outputs (if no save needed leave empty string)
function sim_erk(with_pump, ca_clamp,saving)
%addpath('rre') %integration functions for each specie
% used when clamping is applied
global T_CLAMP_START T_CLAMP_END CA_BASE CONST
T_SIM = 20; %s
ca_clamp = 1e-6;
with_pump = true;
saving = true;
CONST = load('modelconst.mat');
%decalre reaction rates
setup_erk_parameters();
%init each specie
species = init_erk_variables(with_pump, ca_clamp);
%if we clamp let's fix CA
if ca_clamp>0
CA_BASE = species(1);
T_CLAMP_START = 1; %s
T_CLAMP_END = 5; %s
species = species(2:end);
end
%init the solver
% solver = @RK4;
%solver = @CrankNicSimp;
solver = @ode15s;
tic
%[TOUTi YOUTi] = solver(...
% @ode_erk,[0 T_SIM],species,options, rates,eq_refs,ca_clamp, 0);
%specify MaxStep in order not to jump over the clamping interval
options = odeset('Reltol',1e-10,'Abstol',1e-12, 'MaxStep', 1, ...
'Stats','on' );
% %simulate
[t y] = ode15s(...
@ode_erk,[0 T_SIM],species,options,ca_clamp, 0);
% %plot Ca P_MAPK KA
% y = deval(sol,TOUTi);
toc
if (saving)
mkdir(date);
filename = sprintf('%s/%sCa=%f.mat',date,func2str(solver),ca_clamp);
save(filename)
end
figure(1); clf;hold on; grid on;
%plot Ca P_MAPK KA
%plot_results(t, y,ca_clamp);
plot(t,y(:,8))
% plot_results(TOUTi, y', ca_clamp);
%plot_results(TOUTi, YOUTi, ca_clamp);
end
|
MATLAB
|
//
// LoginViewController.h
// LondonTalks
//
// Created by Vladimir on 10/1/15.
// Copyright (c) 2015 Dario Banno. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LoginViewController : UIViewController
@property(nonatomic, copy) void (^onSkipButtonTapBlock)(void);
@property(nonatomic, copy) void (^didLoginBlock)(NSString *login, NSString *password);
@end
|
Objective-C++
|
include ':library', ':sample'
|
Groovy
|
/*
* Copyright © 2024 Rémi Denis-Courmont.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define VILL -0x8000
.data
ff_vtype_e8:
ff_vtype_e8_1:
.half VILL
ff_vtype_e8_2:
.half VILL
ff_vtype_e8_4:
.half VILL
ff_vtype_e8_8:
.half VILL
ff_vtype_e8_16:
.half VILL
ff_vtype_e8_32:
.half VILL
ff_vtype_e16:
ff_vtype_e16_1:
.half VILL
ff_vtype_e16_2:
.half VILL
ff_vtype_e16_4:
.half VILL
ff_vtype_e16_8:
.half VILL
ff_vtype_e16_16:
.half VILL
|
Assembly
|
(ns cortex.verify.nn.gradient
(:require [clojure.test :refer :all]
[clojure.core.matrix :as m]
[cortex.optimize :as opt]
[cortex.nn.execute :as execute]
[cortex.nn.layers :as layers]
[cortex.nn.network :as network]
[cortex.nn.traverse :as traverse]
[cortex.verify.utils :as utils]
[cortex.verify.nn.layers :as verify-layers]
[cortex.verify.nn.data :as verify-data]
[cortex.loss.core :as loss]
[cortex.gaussian :as gaussian]
[cortex.util :as cortex-util]
[cortex.loss.yolo2 :as yolo2]))
(defn close-enough?
[lhs-vec rhs-vec]
(empty? (remove #(utils/sig-fig-equal? (first %) (second %))
(map vector lhs-vec rhs-vec))))
(defn check-gradients
[gradient-vector]
(doseq [{:keys [gradient numeric-gradient buffer-id]} gradient-vector]
(let [mae (utils/mean-absolute-error (m/as-vector gradient) (m/as-vector numeric-gradient))]
(is (< mae 1e-6)
;;Only build expensive message if we have to.
(format "Gradient %s failed gradient check (MAE: %s) :\n%s." (name buffer-id) mae
(with-out-str
(clojure.pprint/pprint
(mapv vector
(m/eseq gradient)
(m/eseq numeric-gradient)))))))))
(defn add-id-to-desc-list
[network]
(let [network (-> network flatten vec)]
(-> network
(assoc-in [0 :id] :input)
(assoc-in [(- (count network) 1) :id] :test))))
(defn generate-gradients
[context description dataset epsilon batch-size labels-key]
(execute/with-compute-context context
(-> (network/linear-network description)
(execute/generate-numeric-gradients context batch-size dataset epsilon)
(verify-layers/unpack-network :test))))
(defn get-gradients
[& args]
(let [{:keys [input-gradient numeric-input-gradient parameters] :as gen-result}
(apply generate-gradients args)]
(concat [{:buffer-id :input
:gradient input-gradient
:numeric-gradient numeric-input-gradient}]
(->> parameters
(map second)
(filter #(get-in % [:description :gradients?]))
(map (fn [{:keys [description parameter buffer] :as entry}]
(merge parameter buffer)))))))
(defn- data->dataset
[input output batch-size & {:keys [input-name output-name]
:or {input-name :data
output-name :test}}]
(->> (map (fn [data label]
{:data data
:test label})
input
output)
(take batch-size)))
(defn corn-gradient
[context]
(let [batch-size 2]
(-> (get-gradients context
[(layers/input 1 1 2 :id :data)
(layers/linear 1 :id :test)]
(data->dataset verify-data/CORN-DATA verify-data/CORN-LABELS batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn batch-normalization-gradient
[context]
(let [batch-size 10
input-size 20
input (repeatedly batch-size
#(-> (repeatedly input-size gaussian/rand-gaussian)
double-array
(gaussian/ensure-gaussian! 5 20)))
output input]
(-> (get-gradients context
[(layers/input 1 1 input-size :id :data)
(layers/batch-normalization :ave-factor 1.0 :id :test)]
(data->dataset input output batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn lrn-gradient
[context]
(let [batch-size 2
input-dim 2
input-num-pixels (* input-dim input-dim)
num-input-channels 3
lrn-n 3
n-input (* num-input-channels input-num-pixels)
input (repeat batch-size (range n-input))
output input]
(-> (get-gradients context
[(layers/input input-dim input-dim num-input-channels :id :data)
(layers/local-response-normalization :k 1 :n lrn-n
:alpha 1.0 :beta 0.75
:id :test)]
(data->dataset input output batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn prelu-gradient
[context]
(let [batch-size 10
input-dim 3
n-channels 4
input-num-pixels (* input-dim input-dim)
n-input (* input-num-pixels n-channels)
input (repeat batch-size (repeat (quot n-input 2) [-1 1]))
output input]
(-> (get-gradients context
[(layers/input input-dim input-dim n-channels :id :data)
(layers/prelu :id :test)]
(data->dataset input output batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn concat-gradient
[context]
(let [batch-size 4
item-count 5
num-inputs 2
inputs (->> (range (* batch-size item-count num-inputs))
;;Input-count length vectors
(partition item-count)
;;Groups of 2
(partition num-inputs)
;;destructure and make into maps.
(map (fn [[right-input left-input]]
{:right right-input
:left left-input})))
outputs (repeat batch-size {:test (repeat (* num-inputs item-count) 1)})
dataset (map merge inputs outputs)]
(-> (get-gradients context
[(layers/input item-count 1 1 :id :right)
(layers/input item-count 1 1 :parents [] :id :left)
(layers/concatenate :parents [:left :right]
:id :test)]
dataset
1e-4 batch-size :test)
check-gradients)))
(defn split-gradient
[context]
(let [batch-size 4
input-size 5
num-outputs 2
inputs (->> (range (* batch-size input-size))
(partition input-size)
(map (fn [input]
{:data input})))
outputs (repeat batch-size
{:output-1 (repeat input-size 1)
:output-2 (repeat input-size 1)})
dataset (map merge inputs outputs)]
(-> (get-gradients context
[(layers/input input-size 1 1 :id :data)
(layers/split :id :test)
(layers/split :id :output-1)
(layers/split :parents [:test] :id :output-2)]
dataset
1e-4 batch-size :test)
check-gradients)))
(defn- join-dataset
[batch-size]
(let [input-counts [3 4 5]
num-inputs (count input-counts)
inputs (->> (repeat [-1 -2 1 4])
flatten
(take (* batch-size (apply + input-counts)))
(cortex-util/super-partition (->> (repeat batch-size input-counts)
flatten))
(partition num-inputs)
(map (fn [[left middle third]]
{:left left
:middle middle
:third third})))
output-count (apply max input-counts)
outputs (->> (repeat (* batch-size output-count) 1)
(partition output-count)
(map #(hash-map :test %)))]
(map merge inputs outputs)))
(defn join-+-gradient
[context]
(let [batch-size 4]
(-> (get-gradients context
[(layers/input 3 1 1 :id :left)
(layers/input 4 1 1 :parents [] :id :middle)
(layers/input 5 1 1 :parents [] :id :right)
(layers/join :parents [:left :middle :right]
:id :test)]
(join-dataset batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn join-*-gradient
[context]
(let [batch-size 4]
(-> (get-gradients context
[(layers/input 3 1 1 :id :left)
(layers/input 4 1 1 :parents [] :id :middle)
(layers/input 5 1 1 :parents [] :id :right)
(layers/join :parents [:left :middle :right]
:operation :*
:id :test)]
(join-dataset batch-size)
1e-4 batch-size :test)
check-gradients)))
(defn censor-gradient
[context]
(let [batch-size 1
inputs [4.0 6.0]
outputs [-0.5 Double/NaN]
input-dim (count inputs)
output-dim (count outputs)]
(-> (get-gradients context
[(layers/input input-dim 1 1 :id :data)
(layers/linear output-dim
:id :test
:censor-loss {:labels {:type :stream
:stream :test}
:nan-zero-labels {:stream :test}
:gradient-masks {:stream :test}})]
[{:data inputs
:test outputs}]
1e-4
batch-size
:test)
check-gradients)))
(defn yolo-gradient
[context]
(let [batch-size 2
grid-x 3
grid-y 3
n-classes 4
anchors (partition 2 [9.42 5.11 16.62 10.52])
anchor-count (first (m/shape anchors))
truth (-> (yolo2/realize-label {:filename "2012_004196.png", :width 500, :height 375,
:segmented? false, :objects [{:class "person", :bounding-box [143 7 387 375]}]}
{:grid-x 3 :grid-y 3 :anchor-count anchor-count :class-count 4
:class-name->label (constantly [0 0 1 0])})
:label)
input-size (* grid-x grid-y anchor-count (+ 5 n-classes))
input (partition input-size (vec (repeatedly (* input-size batch-size) rand)))
output (repeat batch-size (m/to-double-array truth))]
(-> (get-gradients context
[(layers/input input-size 1 1 :id :data)
(layers/relu :id :test
:yolo2 {:grid-x 3
:grid-y 3
:anchors anchors
:labels {:type :stream
:stream :test}})]
(data->dataset input output batch-size)
1e-4 batch-size :test)
(check-gradients))))
|
Clojure
|
INSERT INTO studies (id,version,short_title,long_title,description,multi_institution_indicator,primary_sponsor_code,phase_code,blinded_indicator,randomized_indicator,precis,disease_code,monitor_code,status,target_accrual_number,grid_id,load_status,adeers_reporting,design_code,other_meddra_id,data_entry_status,type,external_id) VALUES (-1,2,'Smoke Test','Smoke Test long title',null,false,null,'Phase II Trial',null,null,null,null,null,'Active - Trial is open to accrual',null,'91ce04ed-5d10-43ab-b201-b43194d23d4f',1,true,1,null,true,'LOCAL',null);
INSERT INTO identifiers (id,value,type,system_name,participant_id,version,primary_indicator,stu_id,grid_id,organization_id,discriminator_column) VALUES (-1,'SMOKE_TEST','Protocol Authority Identifier',null,null,0,false,-1,'ba23895e-5dfa-4bcf-a098-d2dfb5a785f6',2,1);
INSERT INTO identifiers (id,value,type,system_name,participant_id,version,primary_indicator,stu_id,grid_id,organization_id,discriminator_column) VALUES (-2,'SMOKE_TEST','Coordinating Center Identifier',null,null,0,true,-1,'b6a1d805-f10d-4945-a199-09335ce30754',2,1);
INSERT INTO disease_terminologies (id,term_code,study_id,version,grid_id,meddra_version_id) VALUES (-1,1,-1,0,'539def8f-a9a5-478d-be7b-d34366d19554',null);
INSERT INTO epochs (id,version,name,description,study_id,order_no,grid_id,retired_indicator) VALUES (-1,0,'Baseline','',-1,0,'574b4439-d2db-47a3-9002-d394fcd4e3ed',false);
INSERT INTO epochs (id,version,name,description,study_id,order_no,grid_id,retired_indicator) VALUES (-2,0,'Treatment','',-1,1,'66587f58-792f-4093-962a-4f632a627dfb',false);
INSERT INTO epochs (id,version,name,description,study_id,order_no,grid_id,retired_indicator) VALUES (-3,0,'Post-treatment','',-1,2,'0a17f896-6fa2-45dd-88a8-ad081fcfb37e',false);
INSERT INTO investigators (id,first_name,last_name,nci_identifier,grid_id,version,middle_name,email_address,phone_number,fax_number,salt,login_id,token,token_time,password_last_set,num_failed_logins,type,external_id,allowed_to_login,last_login) VALUES (-1,'John','Doe','SMOKE_TEST','8ff6c7ff-0ad9-4446-93d6-340207226193',0,null,'johndoe@email.com','0000000000','0000000000',null,null,null,null,'2010-02-18',0,'LOCAL',null,false,null);
INSERT INTO site_investigators (id,site_id,investigator_id,grid_id,version,email_address,start_date,end_date) VALUES (-1,2,-1,'ab19c10f-5d71-4710-8636-acc4149f0cf7',0,null,'2010-02-18',null);
INSERT INTO study_organizations (id,site_id,study_id,study_identifier,version,role_code,irb_approval_date,start_date,end_date,grid_id,type,retired_indicator) VALUES (-1,2,-1,null,1,null,null,null,null,'33bc96cb-c82c-4650-ac7d-4065d338a1ff','SFS',false);
INSERT INTO study_organizations (id,site_id,study_id,study_identifier,version,role_code,irb_approval_date,start_date,end_date,grid_id,type,retired_indicator) VALUES (-2,2,-1,null,0,null,null,null,null,'6a0f91b6-a95c-46a4-b184-779543fa7b95','SCC',false);
INSERT INTO study_organizations (id,site_id,study_id,study_identifier,version,role_code,irb_approval_date,start_date,end_date,grid_id,type,retired_indicator) VALUES (-3,2,-1,null,0,null,null,null,null,'84bf65bd-a581-4ed7-99a2-1cc1b5cd9280','SST',false);
INSERT INTO study_investigators (id,signature_text,study_sites_id,site_investigators_id,grid_id,version,role_code,retired_indicator,start_date,end_date) VALUES (-1,null,-1,-1,'e1c48e88-03ed-4a23-b82a-ce0de2ae1f80',0,'PI',false,'2010-02-18',null);
INSERT INTO terminologies (id,term_code,ctc_id,study_id,version,grid_id,meddra_version_id) VALUES (-1,1,3,-1,0,'ca6ca5ab-9a2c-4b85-b6b3-2e30abebfd81',null);
|
PLSQL
|
DROP TABLE Exemplaar;
DROP TABLE Book;
CREATE TABLE Book (
isbn serial PRIMARY KEY,
titel varchar,
auteur varchar
);
CREATE TABLE Exemplaar (
volgnummer serial PRIMARY KEY,
isbn int,
gewicht real,
kast varchar,
FOREIGN KEY ("isbn") REFERENCES Book("isbn")
ON UPDATE CASCADE
ON DELETE CASCADE
);
INSERT INTO Book VALUES (1,'Dit is een boek', 'Martijn');
INSERT INTO Exemplaar VALUES (1,1, 20.0, '3a');
UPDATE Book SET isbn=20 WHERE isbn=1;
DELETE FROM Book WHERE isbn=20;
SELECT * FROM Exemplaar;
|
PLSQL
|
2.324699999999999545e+00 -1.255799999999999798e-02
2.255099999999999660e+00 2.719149999999999692e-02
2.300849999999999618e+00 2.005299999999999860e-01
2.568349999999999245e+00 2.391849999999999532e-01
2.597449999999999815e+00 1.105449999999999766e-01
2.597449999999999815e+00 1.105449999999999766e-01
2.552699999999999747e+00 4.796249999999999299e-03
2.437899999999999956e+00 -1.204899999999999895e-02
2.424199999999999910e+00 8.256499999999999950e-02
2.456399999999999917e+00 5.972999999999999143e-02
2.456399999999999917e+00 5.972999999999999143e-02
2.425100000000000033e+00 -5.527499999999999428e-03
2.337999999999999634e+00 7.118999999999998940e-02
2.447649999999999881e+00 1.952349999999999919e-01
2.440399999999999903e+00 8.347999999999998477e-02
2.440399999999999903e+00 8.347999999999998477e-02
2.384049999999999780e+00 -2.929399999999999366e-02
2.345749999999999780e+00 -9.614999999999999936e-02
2.335249999999999826e+00 -1.526649999999999952e-01
2.331099999999999728e+00 -1.572899999999999854e-01
2.331099999999999728e+00 -1.572899999999999854e-01
2.291549999999999976e+00 -1.431099999999999872e-01
2.314199999999999591e+00 2.050049999999999789e-02
2.568900000000000183e+00 1.348149999999999904e-01
2.607799999999999674e+00 4.968799999999998912e-02
2.607799999999999674e+00 4.968799999999998912e-02
2.570999999999999730e+00 -2.107399999999999898e-02
2.477549999999999919e+00 -3.203949999999999854e-02
2.475099999999999856e+00 -6.343499999999999139e-02
2.505999999999999339e+00 -8.192999999999998895e-02
2.505999999999999339e+00 -8.192999999999998895e-02
2.486050000000000093e+00 -5.593000000000000055e-02
2.495899999999999785e+00 1.186849999999999988e-01
2.758049999999999891e+00 1.966849999999999710e-01
2.796849999999999614e+00 7.949499999999998234e-02
2.796849999999999614e+00 7.949499999999998234e-02
2.727899999999999991e+00 -2.862450000000000064e-02
2.548049999999999926e+00 -6.258500000000000174e-02
2.526299999999999546e+00 -4.746199999999999725e-02
2.534249999999999670e+00 -5.088999999999999774e-02
2.534249999999999670e+00 -5.088999999999999774e-02
2.488499999999999712e+00 -2.615599999999999870e-02
2.416849999999999721e+00 1.070799999999999946e-01
2.626649999999999263e+00 1.045699999999999824e-01
2.713499999999999801e+00 -1.107499999999999804e-02
2.713499999999999801e+00 -1.107499999999999804e-02
2.716599999999999682e+00 -1.278700000000000114e-01
2.677799999999999514e+00 -2.165499999999999925e-01
2.728849999999999998e+00 -2.276849999999999985e-01
2.754599999999999937e+00 -2.344549999999999967e-01
2.754599999999999937e+00 -2.344549999999999967e-01
2.726149999999999629e+00 -2.258649999999999547e-01
2.653599999999999515e+00 -1.444499999999999951e-02
2.826649999999999441e+00 1.628249999999999975e-01
2.836400000000000254e+00 5.793999999999999151e-02
2.836400000000000254e+00 5.793999999999999151e-02
2.753099999999999437e+00 -6.437499999999998779e-02
2.584550000000000125e+00 -1.524749999999999994e-01
2.606749999999999901e+00 -1.615649999999999864e-01
2.654349999999999987e+00 -1.773499999999999799e-01
2.654349999999999987e+00 -1.773499999999999799e-01
2.636249999999999538e+00 -1.952899999999999914e-01
2.588899999999999757e+00 -7.922999999999999488e-02
2.856799999999999784e+00 9.447999999999998066e-02
2.926299999999999901e+00 4.936299999999999369e-03
2.926299999999999901e+00 4.936299999999999369e-03
2.903450000000000308e+00 -8.677999999999999603e-02
2.860799999999999343e+00 -1.154199999999999948e-01
2.789699999999999847e+00 -8.343999999999998640e-02
2.754799999999999471e+00 -2.549899999999999736e-02
2.754799999999999471e+00 -2.549899999999999736e-02
2.728699999999999459e+00 6.264999999999999736e-02
2.796949999999999825e+00 2.771000000000000130e-01
2.921300000000000008e+00 2.802099999999999591e-01
2.867199999999999971e+00 1.313149999999999873e-01
2.867199999999999971e+00 1.313149999999999873e-01
2.744449999999999612e+00 -3.897799999999999442e-04
2.582999999999999741e+00 -8.325500000000000955e-02
2.545100000000000140e+00 -1.096900000000000097e-01
2.613149999999999640e+00 -1.689349999999999741e-01
2.613149999999999640e+00 -1.689349999999999741e-01
2.608149999999999746e+00 -2.219049999999999634e-01
2.589299999999999713e+00 -4.054249999999999521e-02
2.830400000000000027e+00 7.681999999999999940e-02
2.904749999999999943e+00 -2.577349999999999780e-02
2.904749999999999943e+00 -2.577349999999999780e-02
2.894749999999999712e+00 -1.303499999999999936e-01
2.824949999999999850e+00 -1.893649999999999778e-01
2.825849999999999973e+00 -1.250349999999999795e-01
2.833899999999999419e+00 -1.190199999999999730e-01
2.833899999999999419e+00 -1.190199999999999730e-01
2.778399999999999981e+00 -1.362349999999999672e-01
2.737549999999999706e+00 -8.155499999999998471e-04
3.001749999999999918e+00 1.117299999999999960e-01
3.058049999999999713e+00 -7.135999999999999115e-03
3.058049999999999713e+00 -7.135999999999999115e-03
3.019499999999999407e+00 -1.040399999999999936e-01
2.929899999999999505e+00 -1.078250000000000042e-01
2.849649999999999572e+00 -3.839599999999999957e-02
2.831350000000000033e+00 1.081749999999999899e-02
2.831350000000000033e+00 1.081749999999999899e-02
2.789249999999999563e+00 5.015999999999999626e-02
2.693999999999999950e+00 1.726250000000000007e-01
2.872399999999999842e+00 2.751199999999999757e-01
2.903149999999999675e+00 1.847899999999999820e-01
2.903149999999999675e+00 1.847899999999999820e-01
2.847299999999999276e+00 9.319499999999998618e-02
2.729549999999999699e+00 3.888650000000000440e-02
2.626849999999999685e+00 -3.583549999999999930e-02
2.560649999999999871e+00 -8.499499999999998723e-02
2.560649999999999871e+00 -8.499499999999998723e-02
2.449449999999999683e+00 -8.598000000000000087e-02
2.303899999999999615e+00 1.051549999999999985e-01
2.409549999999999415e+00 1.774449999999999916e-01
2.396449999999999747e+00 4.849749999999999894e-02
2.396449999999999747e+00 4.849749999999999894e-02
2.333149999999999835e+00 -7.623999999999998833e-02
2.246700000000000141e+00 -1.046799999999999814e-01
2.175949999999999829e+00 -1.042599999999999916e-01
2.191599999999999770e+00 -7.846499999999999309e-02
2.191599999999999770e+00 -7.846499999999999309e-02
2.213249999999999940e+00 -5.114499999999999602e-02
2.243700000000000028e+00 1.188149999999999762e-01
2.550850000000000062e+00 2.452749999999999653e-01
2.612449999999999939e+00 1.324200000000000099e-01
2.612449999999999939e+00 1.324200000000000099e-01
2.556149999999999256e+00 7.357499999999998590e-03
2.324549999999999894e+00 -7.946000000000000285e-02
2.177249999999999464e+00 3.848199999999999538e-02
2.140949999999999687e+00 1.312550000000000106e-01
2.140949999999999687e+00 1.312550000000000106e-01
2.110899999999999999e+00 2.143399999999999750e-01
2.154799999999999827e+00 3.768649999999999500e-01
2.375950000000000006e+00 2.994399999999999840e-01
2.396549999999999514e+00 1.516800000000000093e-01
2.396549999999999514e+00 1.516800000000000093e-01
2.361449999999999605e+00 1.582599999999999979e-02
2.318099999999999827e+00 -8.623999999999999722e-02
2.383950000000000014e+00 -4.739499999999999269e-02
2.443099999999999827e+00 -8.429999999999998606e-02
2.443099999999999827e+00 -8.429999999999998606e-02
2.429499999999999549e+00 -1.066549999999999859e-01
2.292799999999999727e+00 1.083000000000000108e-02
2.464049999999999851e+00 9.390999999999999348e-02
2.528899999999999704e+00 -8.751499999999998863e-03
2.528899999999999704e+00 -8.751499999999998863e-03
2.531750000000000167e+00 -1.072749999999999954e-01
2.497500000000000053e+00 -1.367150000000000032e-01
2.396399999999999419e+00 -4.744999999999999218e-02
2.324699999999999545e+00 -1.255799999999999798e-02
|
CSV
|
name = '_'.join(__name__.split('.')[-2:])
VERSION = '$Id: mcz.py,v 1.1 2009/04/07 16:35:31 kocolosk Exp $'[5:-2]
import ROOT
class_ = ROOT.TProfile
binning = {
'nbinsx': 60,
'xbins': (0.0, 15.0)
}
props = {
'SetXTitle': ('MC #pi p_{T}',),
'SetYTitle': ('<MC #pi p_{T} / particle jet p_{T}>',)
}
branches = ('mMcJets*', 'mMcTracks*')
vec = ROOT.TVector3()
def accept_event(event):
simu = isinstance(event, ROOT.StChargedPionMcEvent)
return simu
def accept_track(track):
eta_cut = abs(track.etaMc()) < 1.0
pid_cut = track.geantId() in (8,9)
return eta_cut and pid_cut
def analyze(event, **kw):
for track in filter(event.charge_filter, event.mcTracks()):
if accept_track(track):
vec.SetXYZ(track.pxMc(), track.pyMc(), track.pzMc())
jets = map(lambda j: (j, vec.DeltaR(j.Vect())), event.mcJets())
if jets:
result = reduce(lambda (j1, dR1), (j2, dR2): \
dR1 < dR2 and (j1, dR1) or (j2, dR2), jets)
yield (track.ptMc(), track.ptMc() / result[0].Pt())
|
Python
|
section .data
fizz_msg db "Fizz"
fizz_len equ $ - fizz_msg
buzz_msg db "Buzz"
buzz_len equ $ - buzz_msg
new_line db 0xA
section .text
global _start
_start:
mov ebp, esp
mov dword [ebp - 4], 1
mov byte [ebp - 5], 0
check_fizz:
mov eax, [ebp - 4]
mov ebx, 3
cdq
div ebx
test edx, edx
jne check_buzz
mov byte [ebp - 5], 1
mov eax, 4
mov ebx, 1
mov ecx, fizz_msg
mov edx, fizz_len
int 0x80
check_buzz:
mov eax, [ebp - 4]
mov ebx, 5
cdq
div ebx
test edx, edx
jne check_num
mov byte [ebp - 5], 1
mov eax, 4
mov ebx, 1
mov ecx, buzz_msg
mov edx, buzz_len
int 0x80
check_num:
cmp byte [ebp - 5], 1
jne continue
continue:
mov eax, [ebp - 4]
add eax, 1
cmp eax, 101
je exit
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, 4
mov ebx, 1
mov ecx, new_line
mov edx, 0x2
int 0x80
jmp check_fizz
exit:
mov eax, 1
mov ebx, 0
int 0x80
|
Assembly
|
"are.pargov.valid" <-
function(para,nowarn=FALSE) {
if(! is.gov(para)) return(FALSE)
if(any(is.na(para$para))) return(FALSE)
A <- para$para[2]
B <- para$para[3]
op <- options()
GO <- TRUE
if(nowarn == TRUE) options(warn=-1)
if(A <= 0) {
warning("Parameter A is not > 0, invalid")
GO <- FALSE
}
if(B <= 0) {
warning("Parameter B is not > 0, invalid")
GO <- FALSE
}
options(op)
if(GO) return(TRUE)
return(FALSE)
}
|
R
|
<div *ngIf="message" id="loginDiv">
<div>
<img src="images/loader2.gif" style="width: 100px; height: 100px;"/>
</div>
</div>
|
HTML
|
{-# LANGUAGE FlexibleContexts #-}
import Test.Hspec
import Exercise1
import Exercise2
import Exercise3
import Exercise4
import Exercise5
import Exercise6
import Exercise7
main :: IO ()
main = hspec $ do
describe "fib" $ do
it "fib 0" $
(fib 0) `shouldBe` 0
it "fib 1" $
(fib 1) `shouldBe` 1
it "fib 2" $
(fib 2) `shouldBe` 1
it "fib 3" $
(fib 3) `shouldBe` 2
it "fib 4" $
(fib 4) `shouldBe` 3
it "fib 5" $
(fib 5) `shouldBe` 5
it "fib 6" $
(fib 6) `shouldBe` 8
describe "fibs1" $ do
it "fibs1 0" $
(take 0 fibs1) `shouldBe` []
it "fibs1 1" $
(take 1 fibs1) `shouldBe` [0]
it "fibs1 5" $
(take 5 fibs1) `shouldBe` [0, 1, 1, 2, 3]
describe "fibs2" $ do
it "fibs2 0" $
(take 0 fibs2) `shouldBe` []
it "fibs2 1" $
(take 1 fibs2) `shouldBe` [0]
it "fibs2 5" $
(take 5 fibs2) `shouldBe` [0, 1, 1, 2, 3]
describe "streamRepeat" $ do
it "normal case" $
take 3 (streamToList (streamRepeat 1)) `shouldBe` [1, 1, 1]
describe "streamMap" $ do
it "applies op" $
take 3 (streamToList (streamMap (+1) (streamRepeat 1))) `shouldBe` [2, 2, 2]
describe "streamFromSeed" $ do
it "normal case" $
take 5 (streamToList (streamFromSeed (*2) 1)) `shouldBe` [1, 2, 4, 8, 16]
describe "nats" $ do
it "is correct" $
take 10 (streamToList nats) `shouldBe` [0..9]
describe "ruler" $ do
it "is correct" $
take 14 (streamToList ruler) `shouldBe` [0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1]
describe "interleaveStreams" $ do
it "is correct" $
take 8 (streamToList (interleaveStreams (streamFromSeed (*2) 1) (streamFromSeed succ 10))) `shouldBe` [1, 10, 2, 11, 4, 12, 8, 13]
describe "Stream Integer" $ do
it "fromInteger" $
take 4 (streamToList ((fromInteger 1)::(Stream Integer))) `shouldBe` [1, 0, 0, 0]
it "negate" $
take 4 (streamToList (negate (streamRepeat (1::Integer)))) `shouldBe` [(-1), (-1), (-1), (-1)]
it "+" $
take 4 (streamToList (((streamRepeat 2)::(Stream Integer)) + ((streamRepeat 5)::(Stream Integer)))) `shouldBe` [7, 7, 7, 7]
it "*" $
take 4 (streamToList (((streamFromSeed succ 1)::(Stream Integer)) * ((streamRepeat 2)::(Stream Integer)))) `shouldBe` [2, 6, 8, 10]
it "/" $
take 4 (streamToList (((streamFromSeed (+4) 2)::(Stream Integer)) / ((streamRepeat 2)::(Stream Integer)))) `shouldBe` [1, 2, 2, 4]
--describe "fibs3" $ do
-- it "correct" $
-- take 9 (streamToList fibs3) `shouldBe` [0, 1, 1, 2, 3, 5, 8, 13, 21]
describe "Matrix" $ do
it "has multiplication" $
((Matrix 5 3 3 2) * (Matrix 1 1 1 0)) `shouldBe` (Matrix 8 5 5 3)
describe "fib4" $ do
it "0" $
(fib4 0) `shouldBe` 0
it "1" $
(fib4 1) `shouldBe` 1
it "2" $
(fib4 2) `shouldBe` 1
it "3" $
(fib4 3) `shouldBe` 2
it "4" $
(fib4 4) `shouldBe` 3
it "5" $
(fib4 5) `shouldBe` 5
|
Haskell
|
package client
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
"github.com/golang-interfaces/ihttp"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/opctl/opctl/sdks/go/model"
"github.com/opctl/opctl/sdks/go/node/api/urltemplates"
)
var _ = Context("StartOp", func() {
Describe("URL is loopback", func() {
Describe("Args contain nonexistent file ref", func() {
It("should return expected result", func() {
/* arrange */
providedCtx := context.TODO()
pathDoesntExist := "path/doesnt/exist"
providedReq := model.StartOpReq{
Args: map[string]*model.Value{
"pathDoesntExist": &model.Value{
File: &pathDoesntExist,
},
},
Op: model.StartOpReqOp{},
}
objectUnderTest := apiClient{}
/* act */
_, actualErr := objectUnderTest.StartOp(providedCtx, providedReq)
/* assert */
Expect(actualErr).To(MatchError(fmt.Sprintf("stat %s: no such file or directory", pathDoesntExist)))
})
})
It("should call httpClient.Do() with expected args", func() {
/* arrange */
providedCtx := context.TODO()
providedReq := model.StartOpReq{
Args: map[string]*model.Value{},
Op: model.StartOpReqOp{
Ref: "dummyOpRef",
PullCreds: &model.Creds{
Username: "dummyUsername",
Password: "dummyPassword",
},
},
}
expectedReqURL := url.URL{Host: "opctl"}
expectedReqURL.Path = urltemplates.Ops_Starts
expectedReqBytes, _ := json.Marshal(providedReq)
expectedResult := "dummyOpID"
expectedHTTPReq, _ := http.NewRequest(
"POST",
expectedReqURL.String(),
bytes.NewBuffer(expectedReqBytes),
)
fakeHTTPClient := new(ihttp.FakeClient)
fakeHTTPClient.DoReturns(
&http.Response{
Body: io.NopCloser(bytes.NewReader([]byte(expectedResult))),
StatusCode: http.StatusCreated,
},
nil,
)
objectUnderTest := apiClient{
baseURL: url.URL{Host: expectedReqURL.Host},
httpClient: fakeHTTPClient,
}
/* act */
actualResult, _ := objectUnderTest.StartOp(providedCtx, providedReq)
/* assert */
actualHTTPReq := fakeHTTPClient.DoArgsForCall(0)
Expect(actualHTTPReq.URL).To(Equal(expectedHTTPReq.URL))
Expect(actualHTTPReq.Body).To(Equal(expectedHTTPReq.Body))
Expect(actualHTTPReq.Header).To(Equal(expectedHTTPReq.Header))
Expect(actualHTTPReq.Context()).To(Equal(providedCtx))
Expect(expectedResult).To(Equal(actualResult))
})
})
})
|
Go
|
'use strict';
function LoginCtrl($scope, auth) {
var credentials = {
username: "",
password: ""
};
$scope.credentials = credentials;
$scope.restricted = window.restrictedMode;
$scope.needpass = function(){
var val = $scope.restricted && $scope.credentials.username=="admin";
if(!val) {
$scope.credentials.password="";
}
return val;
};
$scope.login = function() {
if( $scope.needpass() && $scope.credentials.password.length<3 ) {
alert("Password required!");
return false;
}
if( $scope.credentials.username.length<1 ) {
alert("Username required!");
return false;
}
auth.login($scope.credentials.username, $scope.credentials.password, true);
};
}
|
JavaScript
|
<?php require_once "top.php";?> <!--顶部 -->
<?php require_once "header.php";?> <!--头 -->
<?php require_once "side.php";?> <!--导航 -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
分类列表
<small>在这里管理文章分类</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
<li><a href="#">分类管理</a></li>
<li class="active">分类列表</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
Start creating your amazing application!
</div>
<!-- /.box-body -->
<div class="box-footer">
Footer
</div>
<!-- /.box-footer-->
</div>
<!-- /.box -->
</section>
<!-- /.content -->
</div>
<?php require_once"footer.php"; ?>
</body>
</html>
|
Hack
|
set(CMAKE_HOST_SYSTEM "Linux-3.13.0-24-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "3.13.0-24-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-3.13.0-24-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "3.13.0-24-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
|
CMake
|
source 'https://rubygems.org'
gem 'travis'
|
Ruby
|
import UIKit
public struct PartialParagraphStyle {
public var alignment: TextAlignment.Horizontal?
public var allowsDefaultTighteningForTruncation: Bool?
public var baseWritingDirection: NSWritingDirection?
public var defaultTabInterval: CGFloat?
public var firstLineHeadIndent: CGFloat?
public var headIndent: CGFloat?
public var hyphenationFactor: Float?
public var lineBreakMode: NSLineBreakMode?
public var lineHeight: TextLineHeight?
public var lineSpacing: CGFloat?
public var maximumLineHeight: CGFloat?
public var minimumLineHeight: CGFloat?
public var paragraphSpacing: CGFloat?
public var paragraphSpacingBefore: CGFloat?
public var tabStops: [NSTextTab]?
public var tailIndent: CGFloat?
public init(
alignment: TextAlignment.Horizontal? = nil,
allowsDefaultTighteningForTruncation: Bool? = nil,
baseWritingDirection: NSWritingDirection? = nil,
defaultTabInterval: CGFloat? = nil,
firstLineHeadIndent: CGFloat? = nil,
headIndent: CGFloat? = nil,
hyphenationFactor: Float? = nil,
lineBreakMode: NSLineBreakMode? = nil,
lineHeight: TextLineHeight? = nil,
lineSpacing: CGFloat? = nil,
maximumLineHeight: CGFloat? = nil,
minimumLineHeight: CGFloat? = nil,
paragraphSpacing: CGFloat? = nil,
paragraphSpacingBefore: CGFloat? = nil,
tabStops: [NSTextTab]? = nil,
tailIndent: CGFloat? = nil
) {
self.alignment = alignment
self.allowsDefaultTighteningForTruncation = allowsDefaultTighteningForTruncation
self.baseWritingDirection = baseWritingDirection
self.defaultTabInterval = defaultTabInterval
self.firstLineHeadIndent = firstLineHeadIndent
self.headIndent = headIndent
self.hyphenationFactor = hyphenationFactor
self.lineBreakMode = lineBreakMode
self.lineHeight = lineHeight
self.lineSpacing = lineSpacing
self.maximumLineHeight = maximumLineHeight
self.minimumLineHeight = minimumLineHeight
self.paragraphSpacing = paragraphSpacing
self.paragraphSpacingBefore = paragraphSpacingBefore
self.tabStops = tabStops
self.tailIndent = tailIndent
}
mutating func apply(_ partialStyle: PartialParagraphStyle) {
if let alignment = partialStyle.alignment {
self.alignment = alignment
}
if let allowsDefaultTighteningForTruncation = partialStyle.allowsDefaultTighteningForTruncation {
self.allowsDefaultTighteningForTruncation = allowsDefaultTighteningForTruncation
}
if let baseWritingDirection = partialStyle.baseWritingDirection {
self.baseWritingDirection = baseWritingDirection
}
if let defaultTabInterval = partialStyle.defaultTabInterval {
self.defaultTabInterval = defaultTabInterval
}
if let firstLineHeadIndent = partialStyle.firstLineHeadIndent {
self.firstLineHeadIndent = firstLineHeadIndent
}
if let headIndent = partialStyle.headIndent {
self.headIndent = headIndent
}
if let hyphenationFactor = partialStyle.hyphenationFactor {
self.hyphenationFactor = hyphenationFactor
}
if let lineBreakMode = partialStyle.lineBreakMode {
self.lineBreakMode = lineBreakMode
}
if let lineHeight = partialStyle.lineHeight {
self.lineHeight = lineHeight
}
if let maximumLineHeight = partialStyle.maximumLineHeight {
self.maximumLineHeight = maximumLineHeight
}
if let minimumLineHeight = partialStyle.minimumLineHeight {
self.minimumLineHeight = minimumLineHeight
}
if let paragraphSpacing = partialStyle.paragraphSpacing {
self.paragraphSpacing = paragraphSpacing
}
if let paragraphSpacingBefore = partialStyle.paragraphSpacingBefore {
self.paragraphSpacingBefore = paragraphSpacingBefore
}
if let tabStops = partialStyle.tabStops {
self.tabStops = tabStops
}
if let tailIndent = partialStyle.tailIndent {
self.tailIndent = tailIndent
}
}
}
extension NSAttributedString.Key {
public static let partialParagraphStyle = NSAttributedString.Key("partialParagraphStyle")
}
extension NSMutableParagraphStyle {
func apply(_ partialStyle: PartialParagraphStyle, using font: UIFont) {
if let alignment = partialStyle.alignment {
self.alignment = alignment
}
if let allowsDefaultTighteningForTruncation = partialStyle.allowsDefaultTighteningForTruncation {
self.allowsDefaultTighteningForTruncation = allowsDefaultTighteningForTruncation
}
if let baseWritingDirection = partialStyle.baseWritingDirection {
self.baseWritingDirection = baseWritingDirection
}
if let defaultTabInterval = partialStyle.defaultTabInterval {
self.defaultTabInterval = defaultTabInterval
}
if let firstLineHeadIndent = partialStyle.firstLineHeadIndent {
self.firstLineHeadIndent = firstLineHeadIndent
}
if let headIndent = partialStyle.headIndent {
self.headIndent = headIndent
}
if let hyphenationFactor = partialStyle.hyphenationFactor {
self.hyphenationFactor = hyphenationFactor
}
if let lineBreakMode = partialStyle.lineBreakMode {
self.lineBreakMode = lineBreakMode
}
if let lineHeight = partialStyle.lineHeight {
if case .absolute = lineHeight {
set(lineHeight: lineHeight, with: font)
if let maximumLineHeight = partialStyle.maximumLineHeight {
self.maximumLineHeight = min(maximumLineHeight, self.maximumLineHeight)
}
if let minimumLineHeight = partialStyle.minimumLineHeight {
self.minimumLineHeight = max(minimumLineHeight, self.minimumLineHeight)
}
}
else {
set(lineHeight: lineHeight, with: font)
}
}
else {
if let maximumLineHeight = partialStyle.maximumLineHeight {
self.maximumLineHeight = maximumLineHeight
}
if let minimumLineHeight = partialStyle.minimumLineHeight {
self.minimumLineHeight = minimumLineHeight
}
}
if let paragraphSpacing = partialStyle.paragraphSpacing {
self.paragraphSpacing = paragraphSpacing
}
if let paragraphSpacingBefore = partialStyle.paragraphSpacingBefore {
self.paragraphSpacingBefore = paragraphSpacingBefore
}
if let tabStops = partialStyle.tabStops {
self.tabStops = tabStops
}
if let tailIndent = partialStyle.tailIndent {
self.tailIndent = tailIndent
}
}
}
|
Swift
|
export Conversion
abstract type Conversion{T}<:Operator{T} end
struct ConcreteConversion{S<:Space,V<:Space,T} <: Conversion{T}
domainspace::S
rangespace::V
end
ConcreteConversion(a::Space,b::Space)=ConcreteConversion{typeof(a),typeof(b),
promote_type(rangetype(a),rangetype(b))}(a,b)
function convert(::Type{Operator{T}},C::ConcreteConversion{S,V}) where {T,S,V}
if T==eltype(C)
C
else
ConcreteConversion{S,V,T}(C.domainspace,C.rangespace)
end
end
domainspace(C::ConcreteConversion)=C.domainspace
rangespace(C::ConcreteConversion)=C.rangespace
function defaultConversion(a::Space,b::Space)::Any
if a==b
Conversion(a)
elseif conversion_type(a,b)==NoSpace()
sp=canonicalspace(a)
if typeof(sp) == typeof(a)
error("Implement Conversion from " * string(typeof(sp)) * " to " * string(typeof(b)))
elseif typeof(sp) == typeof(b)
error("Implement Conversion from " * string(typeof(a)) * " to " * string(typeof(sp)))
else
Conversion(a,sp,b)
end
else
error("Implement Conversion from " * string(typeof(a)) * " to " * string(typeof(b)))
end
end
Conversion(a::Space,b::Space) = defaultConversion(a,b)
Conversion(a::Space) = ConversionWrapper(Operator(I,a))
Conversion() = ConversionWrapper(Operator(I,UnsetSpace()))
## Wrapper
# this allows for a Derivative implementation to return another operator, use a SpaceOperator containing
# the domain and range space
# but continue to know its a derivative
struct ConversionWrapper{S<:Operator,T} <: Conversion{T}
op::S
end
@wrapper ConversionWrapper
ConversionWrapper(::Type{T},op) where {T} = ConversionWrapper{typeof(op),T}(op)
ConversionWrapper(B::Operator) =
ConversionWrapper{typeof(B),eltype(B)}(B)
Conversion(A::Space,B::Space,C::Space) =
ConversionWrapper(Conversion(B,C)*Conversion(A,B))
Conversion(A::Space,B::Space,C::Space,D::Space...) =
ConversionWrapper(Conversion(C,D...)*Conversion(B,C)*Conversion(A,B))
==(A::ConversionWrapper,B::ConversionWrapper) = A.op==B.op
function convert(::Type{Operator{T}},D::ConversionWrapper) where T
if T==eltype(D)
D
else
BO=convert(Operator{T},D.op)
ConversionWrapper{typeof(BO),T}(BO)
end
end
#promotedomainspace(P::Conversion,sp::Space)=ConversionWrapper(Operator(I, sp))
|
Julia
|
package finalitymanager
import (
"errors"
"github.com/kaspanet/kaspad/domain/consensus/database"
"github.com/kaspanet/kaspad/domain/consensus/model"
"github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
)
type finalityManager struct {
databaseContext model.DBReader
dagTopologyManager model.DAGTopologyManager
finalityStore model.FinalityStore
ghostdagDataStore model.GHOSTDAGDataStore
pruningStore model.PruningStore
genesisHash *externalapi.DomainHash
finalityDepth uint64
}
// New instantiates a new FinalityManager
func New(databaseContext model.DBReader,
dagTopologyManager model.DAGTopologyManager,
finalityStore model.FinalityStore,
ghostdagDataStore model.GHOSTDAGDataStore,
pruningStore model.PruningStore,
genesisHash *externalapi.DomainHash,
finalityDepth uint64) model.FinalityManager {
return &finalityManager{
databaseContext: databaseContext,
genesisHash: genesisHash,
dagTopologyManager: dagTopologyManager,
finalityStore: finalityStore,
ghostdagDataStore: ghostdagDataStore,
pruningStore: pruningStore,
finalityDepth: finalityDepth,
}
}
func (fm *finalityManager) VirtualFinalityPoint(stagingArea *model.StagingArea) (*externalapi.DomainHash, error) {
log.Tracef("virtualFinalityPoint start")
defer log.Tracef("virtualFinalityPoint end")
virtualFinalityPoint, err := fm.calculateFinalityPoint(stagingArea, model.VirtualBlockHash, false)
if err != nil {
return nil, err
}
log.Debugf("The current virtual finality block is: %s", virtualFinalityPoint)
return virtualFinalityPoint, nil
}
func (fm *finalityManager) FinalityPoint(stagingArea *model.StagingArea, blockHash *externalapi.DomainHash, isBlockWithTrustedData bool) (*externalapi.DomainHash, error) {
log.Tracef("FinalityPoint start")
defer log.Tracef("FinalityPoint end")
if blockHash.Equal(model.VirtualBlockHash) {
return fm.VirtualFinalityPoint(stagingArea)
}
finalityPoint, err := fm.finalityStore.FinalityPoint(fm.databaseContext, stagingArea, blockHash)
if err != nil {
log.Debugf("%s finality point not found in store - calculating", blockHash)
if errors.Is(err, database.ErrNotFound) {
return fm.calculateAndStageFinalityPoint(stagingArea, blockHash, isBlockWithTrustedData)
}
return nil, err
}
return finalityPoint, nil
}
func (fm *finalityManager) calculateAndStageFinalityPoint(
stagingArea *model.StagingArea, blockHash *externalapi.DomainHash, isBlockWithTrustedData bool) (*externalapi.DomainHash, error) {
finalityPoint, err := fm.calculateFinalityPoint(stagingArea, blockHash, isBlockWithTrustedData)
if err != nil {
return nil, err
}
fm.finalityStore.StageFinalityPoint(stagingArea, blockHash, finalityPoint)
return finalityPoint, nil
}
func (fm *finalityManager) calculateFinalityPoint(stagingArea *model.StagingArea, blockHash *externalapi.DomainHash, isBlockWithTrustedData bool) (
*externalapi.DomainHash, error) {
log.Tracef("calculateFinalityPoint start")
defer log.Tracef("calculateFinalityPoint end")
if isBlockWithTrustedData {
return model.VirtualGenesisBlockHash, nil
}
ghostdagData, err := fm.ghostdagDataStore.Get(fm.databaseContext, stagingArea, blockHash, false)
if err != nil {
return nil, err
}
if ghostdagData.BlueScore() < fm.finalityDepth {
log.Debugf("%s blue score lower then finality depth - returning genesis as finality point", blockHash)
return fm.genesisHash, nil
}
pruningPoint, err := fm.pruningStore.PruningPoint(fm.databaseContext, stagingArea)
if err != nil {
return nil, err
}
pruningPointGhostdagData, err := fm.ghostdagDataStore.Get(fm.databaseContext, stagingArea, pruningPoint, false)
if err != nil {
return nil, err
}
if ghostdagData.BlueScore() < pruningPointGhostdagData.BlueScore()+fm.finalityDepth {
log.Debugf("%s blue score less than finality distance over pruning point - returning virtual genesis as finality point", blockHash)
return model.VirtualGenesisBlockHash, nil
}
isPruningPointOnChain, err := fm.dagTopologyManager.IsInSelectedParentChainOf(stagingArea, pruningPoint, blockHash)
if err != nil {
return nil, err
}
if !isPruningPointOnChain {
log.Debugf("pruning point not in selected chain of %s - returning virtual genesis as finality point", blockHash)
return model.VirtualGenesisBlockHash, nil
}
selectedParent := ghostdagData.SelectedParent()
if selectedParent.Equal(fm.genesisHash) {
return fm.genesisHash, nil
}
current, err := fm.finalityStore.FinalityPoint(fm.databaseContext, stagingArea, ghostdagData.SelectedParent())
if err != nil {
return nil, err
}
// In this case we expect the pruning point or a block above it to be the finality point.
// Note that above we already verified the chain and distance conditions for this
if current.Equal(model.VirtualGenesisBlockHash) {
current = pruningPoint
}
requiredBlueScore := ghostdagData.BlueScore() - fm.finalityDepth
log.Debugf("%s's finality point is the one having the highest blue score lower then %d", blockHash, requiredBlueScore)
var next *externalapi.DomainHash
for {
next, err = fm.dagTopologyManager.ChildInSelectedParentChainOf(stagingArea, current, blockHash)
if err != nil {
return nil, err
}
nextGHOSTDAGData, err := fm.ghostdagDataStore.Get(fm.databaseContext, stagingArea, next, false)
if err != nil {
return nil, err
}
if nextGHOSTDAGData.BlueScore() >= requiredBlueScore {
log.Debugf("%s's finality point is %s", blockHash, current)
return current, nil
}
current = next
}
}
|
Go
|
package pl.touk.nussknacker.engine.management.sample.component
import com.typesafe.config.{Config, ConfigValueFactory}
import net.ceedubs.ficus.Ficus._
import pl.touk.nussknacker.engine.api.{ContextId, MetaData}
import pl.touk.nussknacker.engine.api.component.{ComponentDefinition, ComponentProvider, NussknackerVersion}
import pl.touk.nussknacker.engine.api.definition.Parameter
import pl.touk.nussknacker.engine.api.parameter.ParameterName
import pl.touk.nussknacker.engine.api.process.{ComponentUseContext, ProcessObjectDependencies}
import pl.touk.nussknacker.engine.api.test.InvocationCollectors
import pl.touk.nussknacker.engine.api.typed.typing
import pl.touk.nussknacker.engine.api.typed.typing.Typed
import pl.touk.nussknacker.engine.util.service.EagerServiceWithStaticParametersAndReturnType
import scala.concurrent.{ExecutionContext, Future}
import scala.jdk.CollectionConverters._
//Sample showing how to achieve dynamic component count based on configuration, evaluated on NK side (e.g. discover of services from external registry)
class SampleComponentProvider extends ComponentProvider {
override def providerName: String = "dynamicTest"
override def resolveConfigForExecution(config: Config): Config = {
val number = config.getAs[Int]("valueCount").getOrElse(0)
config.withValue("values", ConfigValueFactory.fromIterable((1 to number).map(i => s"v$i").asJava))
}
override def create(config: Config, dependencies: ProcessObjectDependencies): List[ComponentDefinition] = {
config.getAs[List[String]]("values").getOrElse(Nil).map { value: String =>
ComponentDefinition(s"component-$value", SampleProvidedComponent(value))
}
}
override def isCompatible(version: NussknackerVersion): Boolean = true
}
case class SampleProvidedComponent(param: String) extends EagerServiceWithStaticParametersAndReturnType {
override def invoke(eagerParameters: Map[ParameterName, Any])(
implicit ec: ExecutionContext,
collector: InvocationCollectors.ServiceInvocationCollector,
contextId: ContextId,
metaData: MetaData,
componentUseContext: ComponentUseContext
): Future[Any] = {
Future.successful(null)
}
override def parameters: List[Parameter] = List(Parameter[String](ParameterName(s"fromConfig-$param")))
override def returnType: typing.TypingResult = Typed[Void]
}
|
Scala
|
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* Copyright (C) 2010 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "dcmfdimpl.h"
OSPD_Buffer_pool_t OSPD_Buffer_pool;
OSPD_Buffer_t* OSPDI_Get_buffer(int size, int wait_and_advance)
{
int status = OSP_SUCCESS;
OSPD_Buffer_t *ospd_buffer = NULL;
void* new_buffer;
int index;
OSPU_FUNC_ENTER();
/* Assumes sizes array is sorted in increasing order, if requested buffer is
larger than the largest buffer possible, allocate a fresh buffer and return
it */
if(size > OSPD_Buffer_pool.sizes[OSPC_BUFFER_SIZES-1])
{
status = OSPDI_Malloc((void **) &new_buffer, sizeof(OSPD_Buffer_t) + size);
OSPU_ERR_POP(status != OSP_SUCCESS,
"OSPDI_Malloc return with an error \n");
ospd_buffer = (OSPD_Buffer_t *) new_buffer;
ospd_buffer->buffer_ptr = (void *) ((size_t) new_buffer + sizeof(OSPD_Buffer_t));
ospd_buffer->pool_index = -1;
return ospd_buffer;
}
do {
for(index=0; index<OSPC_BUFFER_SIZES; index++)
{
if((size <= OSPD_Buffer_pool.sizes[index]) && OSPD_Buffer_pool.pool_heads[index] != NULL)
{
ospd_buffer = OSPD_Buffer_pool.pool_heads[index];
OSPD_Buffer_pool.pool_heads[index] = OSPD_Buffer_pool.pool_heads[index]->next;
ospd_buffer->pool_index = index;
return ospd_buffer;
}
}
OSPU_DEBUG_PRINT("Buffer pool exhausted. Looking for buffer of size: %d.\
Wait and advance is: %d \n", size, wait_and_advance);
/* If you are allowed to hit advance, do so and wait until a buffer is free. Or else,
return by allocating a new buffer */
if(wait_and_advance)
{
OSPDI_Advance();
}
else
{
void* new_buffer;
status = OSPDI_Malloc((void **) &new_buffer, sizeof(OSPD_Buffer_t) + size);
OSPU_ERR_POP(status != OSP_SUCCESS,
"OSPDI_Malloc return with an error \n");
ospd_buffer = (OSPD_Buffer_t *) new_buffer;
ospd_buffer->buffer_ptr = (void *) ((size_t) new_buffer + sizeof(OSPD_Buffer_t));
ospd_buffer->pool_index = -1;
return ospd_buffer;
}
} while(ospd_buffer == NULL);
fn_exit:
OSPU_FUNC_EXIT();
return ospd_buffer;
fn_fail:
goto fn_exit;
}
void OSPDI_Release_buffer(OSPD_Buffer_t *ospd_buffer)
{
OSPU_FUNC_ENTER();
if(ospd_buffer->pool_index == -1)
{
OSPDI_Free(ospd_buffer);
}
else
{
ospd_buffer->next = OSPD_Buffer_pool.pool_heads[ospd_buffer->pool_index];
OSPD_Buffer_pool.pool_heads[ospd_buffer->pool_index] = ospd_buffer;
}
fn_exit:
OSPU_FUNC_EXIT();
return;
fn_fail:
goto fn_exit;
}
int OSPDI_Buffer_pool_initialize()
{
int status = OSP_SUCCESS;
int i, j;
OSPD_Buffer_t *ospd_buffer = NULL;
OSPU_FUNC_ENTER();
/*TODO: We should make these assignments dynamic*/
OSPD_Buffer_pool.sizes[0] = ospd_settings.put_packetsize;
OSPD_Buffer_pool.sizes[1] = ospd_settings.get_packetsize;
OSPD_Buffer_pool.sizes[2] = ospd_settings.putacc_packetsize;
OSPD_Buffer_pool.limits[0] = ospd_settings.put_bufferpool_size;
OSPD_Buffer_pool.limits[1] = ospd_settings.get_bufferpool_size;
OSPD_Buffer_pool.limits[2] = ospd_settings.putacc_bufferpool_size;
for(i=0; i<OSPC_BUFFER_SIZES; i++)
{
/* Initializing Put and Get buffer pool */
status = OSPDI_Malloc((void **) &(OSPD_Buffer_pool.pool_region_ptrs[i]),
sizeof(OSPD_Buffer_t) * OSPD_Buffer_pool.limits[i]);
OSPU_ERR_POP(status != OSP_SUCCESS,
"OSPDI_Malloc failed while allocating request pool\
in OSPDI_Buffer_pool_initialize\n");
status = OSPDI_Malloc((void **) &(OSPD_Buffer_pool.mem_region_ptrs[i]),
OSPD_Buffer_pool.sizes[i] * OSPD_Buffer_pool.limits[i]);
OSPU_ERR_POP(status != OSP_SUCCESS,
"OSPDI_Malloc failed while allocating request pool\
in OSPDI_Buffer_pool_initialize\n");
ospd_buffer = OSPD_Buffer_pool.pool_region_ptrs[i];
OSPD_Buffer_pool.pool_heads[i] = ospd_buffer;
for (j=0; j<OSPD_Buffer_pool.limits[i]-1; j++)
{
ospd_buffer[j].next = &ospd_buffer[j+1];
ospd_buffer[j].buffer_ptr = (void *) ((size_t) OSPD_Buffer_pool.mem_region_ptrs[i] +
j * OSPD_Buffer_pool.sizes[i]);
ospd_buffer[j].pool_index == i;
}
ospd_buffer[j].next = NULL;
ospd_buffer[j].buffer_ptr = (void *) ((size_t) OSPD_Buffer_pool.mem_region_ptrs[i] +
(OSPD_Buffer_pool.limits[i]-1) * OSPD_Buffer_pool.sizes[i]);
ospd_buffer[j].pool_index == i;
}
fn_exit:
OSPU_FUNC_EXIT();
return status;
fn_fail:
goto fn_exit;
}
void OSPDI_Buffer_pool_finalize()
{
int i;
OSPU_FUNC_ENTER();
for(i=0; i<OSPC_BUFFER_SIZES; i++)
{
OSPDI_Free((void *) (OSPD_Buffer_pool.pool_region_ptrs[i]));
OSPDI_Free((void *) (OSPD_Buffer_pool.mem_region_ptrs[i]));
}
fn_exit:
OSPU_FUNC_EXIT();
return;
fn_fail:
goto fn_exit;
}
|
C
|
-module(poly_lists_map_constraints_pass).
-gradualizer([solve_constraints]).
%% This is a minimised problem from type checking `gradualizer_db:collect_specs/1'
%% with constraint solving enabled.
-export([map_many/1]).
-export([j/1]).
%% We cannot preserve the nonempty-property across calls to lists:map/2 anymore :(
%% This interferes with the clause choice when calling an intersection-typed function.
-spec map_many({_, nonempty_list()}) -> list().
map_many({_Key, Types}) ->
lists:map(fun map_elem/1,
map_specific_list(Types)).
-spec map_elem([A]) -> [A];
(a | b) -> a.
map_elem(L) when is_list(L) -> L;
map_elem(a) -> a;
map_elem(b) -> a.
-type t_list() :: [a | b].
-spec map_specific_list(t_list()) -> t_list().
map_specific_list(List) ->
lists:map(fun (E) -> E end, List).
-spec j([binary() | integer()]) -> list().
j(L) ->
lists:map(fun has_intersection_spec/1, L).
-spec has_intersection_spec(binary()) -> binary();
(integer()) -> integer().
has_intersection_spec(B) when is_binary(B) -> B;
has_intersection_spec(I) when is_integer(I) -> I.
|
Erlang
|
-- What are the types of the following expressions?
--
-- (a) \x -> (snd x, fst x)
-- (a, b) -> (b, a)
lambda1 = \x -> (snd x, fst x)
-- (b) \f x -> f x x
-- (a -> a -> b) -> a -> b
lambda2 = \f x -> f x x
-- (c) myEither
-- (a -> b) -> (a -> b) -> Either x1 x2 -> b
myEither f g x = case x of
Left y -> f y
Right z -> g z
|
Haskell
|
class VirtualEnv implements Serializable {
private String path;
private ctx;
@NonCPS
def _init() {
this.ctx.sh "test -d " + this.path + "|| virtualenv " + this.path
}
@NonCPS
def run(cmd) {
String venvCmd = ". " + this.path + "/bin/activate && " + cmd
this.ctx.echo venvCmd
this.ctx.sh venvCmd
}
def install(requirement) {
this.run 'pip install ' + requirement
}
def VirtualEnv(ctx, path) {
this.ctx = ctx
this.path = path
}
def getPath() {
return this.path
}
}
def installDevops(ctx) {
def devopsEnv = new VirtualEnv(ctx, ".fuel-devops-venv")
devopsEnv._init()
devopsEnv.install('psycopg2')
devopsEnv.install('git+https://github.com/openstack/fuel-devops.git@3.0.1 --upgrade')
return devopsEnv
}
def installCcp(ctx) {
stage('Install fuel-ccp') {
git url: 'https://git.openstack.org/openstack/fuel-ccp'
sh '''
sudo pip install ./
'''
}
}
env.GERRIT_EVENT_TYPE='patchset-created'
env.GERRIT_PROJECT="fuel-ccp-etcd"
env.GERRIT_REFSPEC="refspec/01/001/1"
node('env2.master') {
assert env.GERRIT_PROJECT
installCcp(this)
try {
switch(env.GERRIT_EVENT_TYPE) {
case 'patchset-created':
assert(env.GERRIT_REFSPEC)
stage("Repo checkout") {
sh '''
rm -rf $HOME/ccp-repos
ccp fetch
'''
}
stage('Apply patchset') {
sh '''
cd $HOME/ccp-repos/$GERRIT_PROJECT
#git fetch origin $GERRIT_REFSPEC
#git checkout FETCH_HEAD
'''
}
stage('Build image') {
sh '''
ccp build -c `echo ${GERRIT_PROJECT} | awk -F- '{print $NF}'`
'''
}
break
case 'change-merged':
/* not implemented */
break
default:
error("Unsupported event type " . env_GERRIT_EVENT_TYPE)
}
}
catch(err) {
echo "Failed: ${err}"
currentBuild.result = 'FAILURE'
}
finally {
// fix workspace owners
sh "sudo chown -R $USER:$USER ${WORKSPACE}"
}
}
|
Groovy
|
defmodule Exometer.Report.Zabbix do
@moduledoc """
Exometer reporter for Zabbix. It does batch sending every second by default.
The reason for this is that the zabbix server closes the connection after
your data is being sent.
"""
use Exometer.Report
# Zabbix protocol definitions
@zbx_header "ZBXD"
@zbx_protocol_version 1
# Default application values
@host "127.0.0.1"
@port 10051
@timestamping true
@batch_window_size 1_000
@type t :: %__MODULE__{
host: String.t(),
port: Integer.t(),
hostname: String.t(),
timestamping: boolean,
batch_window_size: Integer.t(),
data: List.t()
}
defstruct [:host, :port, :hostname, :timestamping, :batch_window_size, :data]
@doc """
Initialize a zabbix reporter for exometer
"""
@spec exometer_init(opts :: term) :: __MODULE__.t()
def exometer_init(opts) do
host = Keyword.get(opts, :host, @host)
port = Keyword.get(opts, :port, @port)
timestamping = Keyword.get(opts, :timestamping, @timestamping)
batch_window_size = Keyword.get(opts, :batch_window_size, @batch_window_size)
hostname = Keyword.get(opts, :hostname, "")
{:ok,
%__MODULE__{
host: host,
port: port,
hostname: hostname,
timestamping: timestamping,
batch_window_size: batch_window_size,
data: []
}}
end
@doc """
Exometer callback where values will be sent
"""
@spec exometer_report(
:exometer_report.metric(),
:exometer_report.datapoint(),
:exometer_report.extra(),
value :: term,
__MODULE__.t()
) :: {:ok, __MODULE__.t()}
def exometer_report(
metric,
datapoint,
_extra,
value,
%__MODULE__{batch_window_size: 0, timestamping: ts, hostname: hostname} = state
) do
key = zbx_key(metric, datapoint)
[zbx_object(hostname, key, value, ts)]
|> zbx_construct_message
|> zbx_prepend_header
|> zbx_send(state)
{:ok, state}
end
def exometer_report(
metric,
datapoint,
_extra,
value,
%__MODULE__{batch_window_size: bws, timestamping: ts, hostname: hostname, data: data} =
state
) do
key = zbx_key(metric, datapoint)
obj = zbx_object(hostname, key, value, ts)
batch_send(bws, data)
{:ok, %__MODULE__{state | data: [obj | data]}}
end
@doc """
Exometer callback for generic messages
"""
@spec exometer_info(msg :: term, __MODULE__.t()) :: {:ok, __MODULE__.t()}
def exometer_info({:zabbix, :send}, %__MODULE__{data: data} = state) do
data
|> zbx_construct_message
|> zbx_prepend_header
|> zbx_send(state)
{:ok, %__MODULE__{state | data: []}}
end
def exometer_info(_, state), do: {:noreply, state}
# send_after when batch is empty
defp batch_send(bws, []) do
Process.send_after(self(), {:zabbix, :send}, bws)
end
defp batch_send(_, _), do: :ok
# generate zabbix key from metric + datapoint
defp zbx_key(metric, dp) do
(metric ++ [dp])
|> Enum.join(".")
end
# create a zabbix entry without a timestamp
defp zbx_object(hostname, key, value, false) do
%{host: hostname, key: key, value: "#{value}"}
end
# create a zabbix entry with a timestamp
defp zbx_object(hostname, key, value, true) do
zbx_object(hostname, key, value, false)
|> Map.put(:clock, :erlang.system_time(:seconds))
end
# construct a zabbix message
defp zbx_construct_message(data) do
%{request: "sender data", data: data, clock: :erlang.system_time(:seconds)}
|> Jason.encode!()
end
# add zabbix specific header to the message
defp zbx_prepend_header(msg) do
<<@zbx_header::binary, @zbx_protocol_version, byte_size(msg)::little-integer-size(64),
msg::binary>>
end
# send a message to zabbix, we connect for each send action since the server doesn't allow
# to keep the connection open
defp zbx_send(msg, %__MODULE__{host: host, port: port}) do
{:ok, sock} = :gen_tcp.connect(~c"#{host}", port, active: false)
:ok = :gen_tcp.send(sock, msg)
# we need to add some error validation
:gen_tcp.recv(sock, 0)
|> case do
{:ok, resp} -> resp
_ = err -> err
end
:gen_tcp.close(sock)
end
end
|
Elixir
|
(ns org.apache.commons.math4.ode.ContinuousOutputModel
"This class stores all information provided by an ODE integrator
during the integration process and build a continuous model of the
solution from this.
This class act as a step handler from the integrator point of
view. It is called iteratively during the integration process and
stores a copy of all steps information in a sorted collection for
later use. Once the integration process is over, the user can use
the setInterpolatedTime and getInterpolatedState to retrieve this
information at any time. It is important to wait for the
integration to be over before attempting to call setInterpolatedTime because some internal
variables are set only once the last step has been handled.
This is useful for example if the main loop of the user
application should remain independent from the integration process
or if one needs to mimic the behaviour of an analytical model
despite a numerical model is used (i.e. one needs the ability to
get the model value at any time or to navigate through the
data).
If problem modeling is done with several separate
integration phases for contiguous intervals, the same
ContinuousOutputModel can be used as step handler for all
integration phases as long as they are performed in order and in
the same direction. As an example, one can extrapolate the
trajectory of a satellite with one model (i.e. one set of
differential equations) up to the beginning of a maneuver, use
another more complex model including thrusters modeling and
accurate attitude control during the maneuver, and revert to the
first model after the end of the maneuver. If the same continuous
output model handles the steps of all integration phases, the user
do not need to bother when the maneuver begins or ends, he has all
the data available in a transparent manner.
An important feature of this class is that it implements the
Serializable interface. This means that the result of
an integration can be serialized and reused later (if stored into a
persistent medium like a filesystem or a database) or elsewhere (if
sent to another application). Only the result of the integration is
stored, there is no reference to the integrated problem by
itself.
One should be aware that the amount of data stored in a
ContinuousOutputModel instance can be important if the state vector
is large, if the integration interval is long or if the steps are
small (which can result from small tolerance settings in adaptive
step size integrators)."
(:refer-clojure :only [require comment defn ->])
(:import [org.apache.commons.math4.ode ContinuousOutputModel]))
(defn ->continuous-output-model
"Constructor.
Simple constructor.
Build an empty continuous output model."
(^ContinuousOutputModel []
(new ContinuousOutputModel )))
(defn get-interpolated-derivatives
"Get the derivatives of the state vector of the interpolated point.
The returned vector is a reference to a reused array, so
it should not be modified and it should be copied if it needs
to be preserved across several calls to the associated
setInterpolatedTime(double) method.
returns: derivatives of the state vector at time getInterpolatedTime() - `double[]`
throws: org.apache.commons.math4.exception.MaxCountExceededException - if the number of functions evaluations is exceeded"
([^ContinuousOutputModel this]
(-> this (.getInterpolatedDerivatives))))
(defn get-final-time
"Get the final integration time.
returns: final integration time - `double`"
(^Double [^ContinuousOutputModel this]
(-> this (.getFinalTime))))
(defn get-interpolated-time
"Get the time of the interpolated point.
If setInterpolatedTime(double) has not been called, it returns
the final integration time.
returns: interpolation point time - `double`"
(^Double [^ContinuousOutputModel this]
(-> this (.getInterpolatedTime))))
(defn get-initial-time
"Get the initial integration time.
returns: initial integration time - `double`"
(^Double [^ContinuousOutputModel this]
(-> this (.getInitialTime))))
(defn set-interpolated-time
"Set the time of the interpolated point.
This method should not be called before the
integration is over because some internal variables are set only
once the last step has been handled.
Setting the time outside of the integration interval is now
allowed, but should be used with care since the accuracy of the
interpolator will probably be very poor far from this interval.
This allowance has been added to simplify implementation of search
algorithms near the interval endpoints.
Note that each time this method is called, the internal arrays
returned in getInterpolatedState(), getInterpolatedDerivatives() and getInterpolatedSecondaryState(int)
will be overwritten. So if their content must be preserved
across several calls, user must copy them.
time - time of the interpolated point - `double`"
([^ContinuousOutputModel this ^Double time]
(-> this (.setInterpolatedTime time))))
(defn get-interpolated-state
"Get the state vector of the interpolated point.
The returned vector is a reference to a reused array, so
it should not be modified and it should be copied if it needs
to be preserved across several calls to the associated
setInterpolatedTime(double) method.
returns: state vector at time getInterpolatedTime() - `double[]`
throws: org.apache.commons.math4.exception.MaxCountExceededException - if the number of functions evaluations is exceeded"
([^ContinuousOutputModel this]
(-> this (.getInterpolatedState))))
(defn get-interpolated-secondary-derivatives
"Get the interpolated secondary derivatives corresponding to the secondary equations.
The returned vector is a reference to a reused array, so
it should not be modified and it should be copied if it needs
to be preserved across several calls to the associated
setInterpolatedTime(double) method.
secondary-state-index - index of the secondary set, as returned by ExpandableStatefulODE.addSecondaryEquations(SecondaryEquations) - `int`
returns: interpolated secondary derivatives at the current interpolation date - `double[]`
throws: org.apache.commons.math4.exception.MaxCountExceededException - if the number of functions evaluations is exceeded"
([^ContinuousOutputModel this ^Integer secondary-state-index]
(-> this (.getInterpolatedSecondaryDerivatives secondary-state-index))))
(defn init
"Initialize step handler at the start of an ODE integration.
This method is called once at the start of the integration. It
may be used by the step handler to initialize some internal data
if needed.
t-0 - start value of the independent time variable - `double`
y-0 - array containing the start value of the state vector - `double[]`
t - target time for the integration - `double`"
([^ContinuousOutputModel this ^Double t-0 y-0 ^Double t]
(-> this (.init t-0 y-0 t))))
(defn append
"Append another model at the end of the instance.
model - model to add at the end of the instance - `org.apache.commons.math4.ode.ContinuousOutputModel`
throws: org.apache.commons.math4.exception.MathIllegalArgumentException - if the model to append is not compatible with the instance (dimension of the state vector, propagation direction, hole between the dates)"
([^ContinuousOutputModel this ^org.apache.commons.math4.ode.ContinuousOutputModel model]
(-> this (.append model))))
(defn handle-step
"Handle the last accepted step.
A copy of the information provided by the last step is stored in
the instance for later use.
interpolator - interpolator for the last accepted step. - `org.apache.commons.math4.ode.sampling.StepInterpolator`
is-last - true if the step is the last one - `boolean`
throws: org.apache.commons.math4.exception.MaxCountExceededException - if the number of functions evaluations is exceeded during step finalization"
([^ContinuousOutputModel this ^org.apache.commons.math4.ode.sampling.StepInterpolator interpolator ^Boolean is-last]
(-> this (.handleStep interpolator is-last))))
(defn get-interpolated-secondary-state
"Get the interpolated secondary state corresponding to the secondary equations.
The returned vector is a reference to a reused array, so
it should not be modified and it should be copied if it needs
to be preserved across several calls to the associated
setInterpolatedTime(double) method.
secondary-state-index - index of the secondary set, as returned by ExpandableStatefulODE.addSecondaryEquations(SecondaryEquations) - `int`
returns: interpolated secondary state at the current interpolation date - `double[]`
throws: org.apache.commons.math4.exception.MaxCountExceededException - if the number of functions evaluations is exceeded"
([^ContinuousOutputModel this ^Integer secondary-state-index]
(-> this (.getInterpolatedSecondaryState secondary-state-index))))
|
Clojure
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WeifenLuo.WinFormsUI.Docking {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Strings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Strings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WeifenLuo.WinFormsUI.Docking.Strings", typeof(Strings).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Docking.
/// </summary>
internal static string Category_Docking {
get {
return ResourceManager.GetString("Category_Docking", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Docking Notification.
/// </summary>
internal static string Category_DockingNotification {
get {
return ResourceManager.GetString("Category_DockingNotification", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Performance.
/// </summary>
internal static string Category_Performance {
get {
return ResourceManager.GetString("Category_Performance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property Changed.
/// </summary>
internal static string Category_PropertyChanged {
get {
return ResourceManager.GetString("Category_PropertyChanged", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (Float).
/// </summary>
internal static string DockAreaEditor_FloatCheckBoxText {
get {
return ResourceManager.GetString("DockAreaEditor_FloatCheckBoxText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines if end user drag and drop docking is allowed..
/// </summary>
internal static string DockContent_AllowEndUserDocking_Description {
get {
return ResourceManager.GetString("DockContent_AllowEndUserDocking_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The size to display the content in auto hide mode. Value < 1 to specify the size in portion; value >= 1 to specify the size in pixel..
/// </summary>
internal static string DockContent_AutoHidePortion_Description {
get {
return ResourceManager.GetString("DockContent_AutoHidePortion_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enable/Disable the close button of the content..
/// </summary>
internal static string DockContent_CloseButton_Description {
get {
return ResourceManager.GetString("DockContent_CloseButton_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Shows or hides the close button of the content. This property does not function with System MDI Document Style..
/// </summary>
internal static string DockContent_CloseButtonVisible_Description {
get {
return ResourceManager.GetString("DockContent_CloseButtonVisible_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The form must be of type IDockContent..
/// </summary>
internal static string DockContent_Constructor_InvalidForm {
get {
return ResourceManager.GetString("DockContent_Constructor_InvalidForm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Gets or sets a value indicating in which area of the DockPanel the content allowed to show..
/// </summary>
internal static string DockContent_DockAreas_Description {
get {
return ResourceManager.GetString("DockContent_DockAreas_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when the value of DockState property changed..
/// </summary>
internal static string DockContent_DockStateChanged_Description {
get {
return ResourceManager.GetString("DockContent_DockStateChanged_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indicates the content will be hidden instead of being closed..
/// </summary>
internal static string DockContent_HideOnClose_Description {
get {
return ResourceManager.GetString("DockContent_HideOnClose_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The desired docking state when first showing..
/// </summary>
internal static string DockContent_ShowHint_Description {
get {
return ResourceManager.GetString("DockContent_ShowHint_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Context menu displayed for the dock pane tab strip..
/// </summary>
internal static string DockContent_TabPageContextMenu_Description {
get {
return ResourceManager.GetString("DockContent_TabPageContextMenu_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The tab text displayed in the dock pane. If not set, the Text property will be used..
/// </summary>
internal static string DockContent_TabText_Description {
get {
return ResourceManager.GetString("DockContent_TabText_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The text displayed when mouse hovers over the tab..
/// </summary>
internal static string DockContent_ToolTipText_Description {
get {
return ResourceManager.GetString("DockContent_ToolTipText_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The provided value is out of range..
/// </summary>
internal static string DockContentHandler_AutoHidePortion_OutOfRange {
get {
return ResourceManager.GetString("DockContentHandler_AutoHidePortion_OutOfRange", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Value: The value of DockAreas conflicts with current DockState..
/// </summary>
internal static string DockContentHandler_DockAreas_InvalidValue {
get {
return ResourceManager.GetString("DockContentHandler_DockAreas_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The pane is invalid. Check the IsFloat and DockPanel properties of this dock pane..
/// </summary>
internal static string DockContentHandler_DockPane_InvalidValue {
get {
return ResourceManager.GetString("DockContentHandler_DockPane_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The pane is invalid. Check the IsFloat and DockPanel properties of this dock pane..
/// </summary>
internal static string DockContentHandler_FloatPane_InvalidValue {
get {
return ResourceManager.GetString("DockContentHandler_FloatPane_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value, conflicts with DockableAreas property..
/// </summary>
internal static string DockContentHandler_IsFloat_InvalidValue {
get {
return ResourceManager.GetString("DockContentHandler_IsFloat_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The dock state is invalid..
/// </summary>
internal static string DockContentHandler_SetDockState_InvalidState {
get {
return ResourceManager.GetString("DockContentHandler_SetDockState_InvalidState", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The dock panel is null..
/// </summary>
internal static string DockContentHandler_SetDockState_NullPanel {
get {
return ResourceManager.GetString("DockContentHandler_SetDockState_NullPanel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid beforeContent, it must be contained by the pane..
/// </summary>
internal static string DockContentHandler_Show_InvalidBeforeContent {
get {
return ResourceManager.GetString("DockContentHandler_Show_InvalidBeforeContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid DockState: Content can not be showed as "Unknown" or "Hidden"..
/// </summary>
internal static string DockContentHandler_Show_InvalidDockState {
get {
return ResourceManager.GetString("DockContentHandler_Show_InvalidDockState", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The previous pane is invalid. It can not be null, and its docking state must not be auto-hide..
/// </summary>
internal static string DockContentHandler_Show_InvalidPrevPane {
get {
return ResourceManager.GetString("DockContentHandler_Show_InvalidPrevPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to DockPanel can not be null..
/// </summary>
internal static string DockContentHandler_Show_NullDockPanel {
get {
return ResourceManager.GetString("DockContentHandler_Show_NullDockPanel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Pane can not be null..
/// </summary>
internal static string DockContentHandler_Show_NullPane {
get {
return ResourceManager.GetString("DockContentHandler_Show_NullPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value, check DockableAreas property..
/// </summary>
internal static string DockContentHandler_ShowHint_InvalidValue {
get {
return ResourceManager.GetString("DockContentHandler_ShowHint_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Context menu displayed for the dock pane tab strip..
/// </summary>
internal static string DockHandler_TabPageContextMenuStrip_Description {
get {
return ResourceManager.GetString("DockHandler_TabPageContextMenuStrip_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Press SHIFT for docking to full side..
/// </summary>
internal static string DockIndicator_ToolTipText {
get {
return ResourceManager.GetString("DockIndicator_ToolTipText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Content: ActiveContent must be one of the visible contents, or null if there is no visible content..
/// </summary>
internal static string DockPane_ActiveContent_InvalidValue {
get {
return ResourceManager.GetString("DockPane_ActiveContent_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid argument: Content can not be "null"..
/// </summary>
internal static string DockPane_Constructor_NullContent {
get {
return ResourceManager.GetString("DockPane_Constructor_NullContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid argument: The content's DockPanel can not be "null"..
/// </summary>
internal static string DockPane_Constructor_NullDockPanel {
get {
return ResourceManager.GetString("DockPane_Constructor_NullDockPanel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified container conflicts with the IsFloat property..
/// </summary>
internal static string DockPane_DockTo_InvalidContainer {
get {
return ResourceManager.GetString("DockPane_DockTo_InvalidContainer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The previous pane does not exist in the nested docking pane collection..
/// </summary>
internal static string DockPane_DockTo_NoPrevPane {
get {
return ResourceManager.GetString("DockPane_DockTo_NoPrevPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The container can not be null..
/// </summary>
internal static string DockPane_DockTo_NullContainer {
get {
return ResourceManager.GetString("DockPane_DockTo_NullContainer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The previous pane can not be null when the nested docking pane collection is not empty..
/// </summary>
internal static string DockPane_DockTo_NullPrevPane {
get {
return ResourceManager.GetString("DockPane_DockTo_NullPrevPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The previous pane can not be itself..
/// </summary>
internal static string DockPane_DockTo_SelfPrevPane {
get {
return ResourceManager.GetString("DockPane_DockTo_SelfPrevPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to FloatWindow property can not be set to "null" when DockState is DockState.Float..
/// </summary>
internal static string DockPane_FloatWindow_InvalidValue {
get {
return ResourceManager.GetString("DockPane_FloatWindow_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Content: Content not within the collection..
/// </summary>
internal static string DockPane_SetContentIndex_InvalidContent {
get {
return ResourceManager.GetString("DockPane_SetContentIndex_InvalidContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Index: The index is out of range..
/// </summary>
internal static string DockPane_SetContentIndex_InvalidIndex {
get {
return ResourceManager.GetString("DockPane_SetContentIndex_InvalidIndex", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The state for the dock pane is invalid..
/// </summary>
internal static string DockPane_SetDockState_InvalidState {
get {
return ResourceManager.GetString("DockPane_SetDockState_InvalidState", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto Hide.
/// </summary>
internal static string DockPaneCaption_ToolTipAutoHide {
get {
return ResourceManager.GetString("DockPaneCaption_ToolTipAutoHide", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Close.
/// </summary>
internal static string DockPaneCaption_ToolTipClose {
get {
return ResourceManager.GetString("DockPaneCaption_ToolTipClose", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Options.
/// </summary>
internal static string DockPaneCaption_ToolTipOptions {
get {
return ResourceManager.GetString("DockPaneCaption_ToolTipOptions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Content: The content must be auto-hide state and associates with this DockPanel..
/// </summary>
internal static string DockPanel_ActiveAutoHideContent_InvalidValue {
get {
return ResourceManager.GetString("DockPanel_ActiveAutoHideContent_InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when the value of the AutoHideWindow's ActiveContent changed..
/// </summary>
internal static string DockPanel_ActiveAutoHideContentChanged_Description {
get {
return ResourceManager.GetString("DockPanel_ActiveAutoHideContentChanged_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when the value of ActiveContentProperty changed..
/// </summary>
internal static string DockPanel_ActiveContentChanged_Description {
get {
return ResourceManager.GetString("DockPanel_ActiveContentChanged_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when the value of ActiveDocument property changed..
/// </summary>
internal static string DockPanel_ActiveDocumentChanged_Description {
get {
return ResourceManager.GetString("DockPanel_ActiveDocumentChanged_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when the value of ActivePane property changed..
/// </summary>
internal static string DockPanel_ActivePaneChanged_Description {
get {
return ResourceManager.GetString("DockPanel_ActivePaneChanged_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines if the drag and drop docking is allowed..
/// </summary>
internal static string DockPanel_AllowEndUserDocking_Description {
get {
return ResourceManager.GetString("DockPanel_AllowEndUserDocking_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines if the drag and drop nested docking is allowed..
/// </summary>
internal static string DockPanel_AllowEndUserNestedDocking_Description {
get {
return ResourceManager.GetString("DockPanel_AllowEndUserNestedDocking_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when a content added to the DockPanel..
/// </summary>
internal static string DockPanel_ContentAdded_Description {
get {
return ResourceManager.GetString("DockPanel_ContentAdded_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Occurs when a content removed from the DockPanel..
/// </summary>
internal static string DockPanel_ContentRemoved_Description {
get {
return ResourceManager.GetString("DockPanel_ContentRemoved_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The default size of float window..
/// </summary>
internal static string DockPanel_DefaultFloatWindowSize_Description {
get {
return ResourceManager.GetString("DockPanel_DefaultFloatWindowSize_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Provides Visual Studio .Net style docking..
/// </summary>
internal static string DockPanel_Description {
get {
return ResourceManager.GetString("DockPanel_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Size of the bottom docking window. Value < 1 to specify the size in portion; value > 1 to specify the size in pixels..
/// </summary>
internal static string DockPanel_DockBottomPortion_Description {
get {
return ResourceManager.GetString("DockPanel_DockBottomPortion_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Size of the left docking window. Value < 1 to specify the size in portion; value > 1 to specify the size in pixels..
/// </summary>
internal static string DockPanel_DockLeftPortion_Description {
get {
return ResourceManager.GetString("DockPanel_DockLeftPortion_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The visual skin to use when displaying the docked windows..
/// </summary>
internal static string DockPanel_DockPanelSkin {
get {
return ResourceManager.GetString("DockPanel_DockPanelSkin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The predefined style used as the base for the skin..
/// </summary>
internal static string DockPanel_DockPanelSkinStyle {
get {
return ResourceManager.GetString("DockPanel_DockPanelSkinStyle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Size of the right docking window. Value < 1 to specify the size in portion; value > 1 to specify the size in pixels..
/// </summary>
internal static string DockPanel_DockRightPortion_Description {
get {
return ResourceManager.GetString("DockPanel_DockRightPortion_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Size of the top docking window. Value < 1 to specify the size in portion; value > 1 to specify the size in pixels..
/// </summary>
internal static string DockPanel_DockTopPortion_Description {
get {
return ResourceManager.GetString("DockPanel_DockTopPortion_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The style of the document window..
/// </summary>
internal static string DockPanel_DocumentStyle_Description {
get {
return ResourceManager.GetString("DockPanel_DocumentStyle_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines where the tab strip for Document style content is drawn..
/// </summary>
internal static string DockPanel_DocumentTabStripLocation {
get {
return ResourceManager.GetString("DockPanel_DocumentTabStripLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The DockPanel has already been initialized..
/// </summary>
internal static string DockPanel_LoadFromXml_AlreadyInitialized {
get {
return ResourceManager.GetString("DockPanel_LoadFromXml_AlreadyInitialized", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The configuration file's version is invalid..
/// </summary>
internal static string DockPanel_LoadFromXml_InvalidFormatVersion {
get {
return ResourceManager.GetString("DockPanel_LoadFromXml_InvalidFormatVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The XML file format is invalid..
/// </summary>
internal static string DockPanel_LoadFromXml_InvalidXmlFormat {
get {
return ResourceManager.GetString("DockPanel_LoadFromXml_InvalidXmlFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid parent form. When using DockingMdi or SystemMdi document style, the DockPanel control must be the child control of the main MDI container form..
/// </summary>
internal static string DockPanel_ParentForm_Invalid {
get {
return ResourceManager.GetString("DockPanel_ParentForm_Invalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to DockPanel configuration file. Author: Weifen Luo, all rights reserved..
/// </summary>
internal static string DockPanel_Persistor_XmlFileComment1 {
get {
return ResourceManager.GetString("DockPanel_Persistor_XmlFileComment1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to !!! AUTOMATICALLY GENERATED FILE. DO NOT MODIFY !!!.
/// </summary>
internal static string DockPanel_Persistor_XmlFileComment2 {
get {
return ResourceManager.GetString("DockPanel_Persistor_XmlFileComment2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indicates whether the control layout is right-to-left when the RightToLeft property is set to Yes..
/// </summary>
internal static string DockPanel_RightToLeftLayout_Description {
get {
return ResourceManager.GetString("DockPanel_RightToLeftLayout_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Index: The index is out of range..
/// </summary>
internal static string DockPanel_SetPaneIndex_InvalidIndex {
get {
return ResourceManager.GetString("DockPanel_SetPaneIndex_InvalidIndex", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Pane: DockPane not within the collection..
/// </summary>
internal static string DockPanel_SetPaneIndex_InvalidPane {
get {
return ResourceManager.GetString("DockPanel_SetPaneIndex_InvalidPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Shows the hidden autohide content when hovering over the tab. When disabled, the tab must be clicked to show the content..
/// </summary>
internal static string DockPanel_ShowAutoHideContentOnHover_Description {
get {
return ResourceManager.GetString("DockPanel_ShowAutoHideContentOnHover_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Determines if the document icon will be displayed in the tab strip..
/// </summary>
internal static string DockPanel_ShowDocumentIcon_Description {
get {
return ResourceManager.GetString("DockPanel_ShowDocumentIcon_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Support deeply nested controls. Disabling this setting may improve resize performance but may cause heavily nested content not to resize..
/// </summary>
internal static string DockPanel_SupportDeeplyNestedContent_Description {
get {
return ResourceManager.GetString("DockPanel_SupportDeeplyNestedContent_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Close.
/// </summary>
internal static string DockPaneStrip_ToolTipClose {
get {
return ResourceManager.GetString("DockPaneStrip_ToolTipClose", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Window List.
/// </summary>
internal static string DockPaneStrip_ToolTipWindowList {
get {
return ResourceManager.GetString("DockPaneStrip_ToolTipWindowList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid argument: DockPanel can not be "null"..
/// </summary>
internal static string FloatWindow_Constructor_NullDockPanel {
get {
return ResourceManager.GetString("FloatWindow_Constructor_NullDockPanel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Index: The index is out of range..
/// </summary>
internal static string FloatWindow_SetPaneIndex_InvalidIndex {
get {
return ResourceManager.GetString("FloatWindow_SetPaneIndex_InvalidIndex", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid Pane: DockPane not within the collection..
/// </summary>
internal static string FloatWindow_SetPaneIndex_InvalidPane {
get {
return ResourceManager.GetString("FloatWindow_SetPaneIndex_InvalidPane", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid DockPanel..
/// </summary>
internal static string IDockDragSource_DockTo_InvalidPanel {
get {
return ResourceManager.GetString("IDockDragSource_DockTo_InvalidPanel", resourceCulture);
}
}
}
}
|
C#
|
import org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils
class LogoutController {
/**
* Index action. Redirects to the Spring security logout uri.
*/
def index = {
// TODO put any pre-logout code here
redirect uri: SpringSecurityUtils.securityConfig.logout.filterProcessesUrl // '/j_spring_security_logout'
}
}
|
Groovy
|
(ns dev.figwheel)
(defn reload-hook []
(fn []
(print "reloaded")))
|
Clojure
|
[INISystem]
BasedOn=GenericWindow.ini
[DisplayOptionsPanelExtraControls]
0=chkStretchMovies:SettingCheckBox
1=chkMEDDraw:FileSettingCheckBox
2=lblReShade:XNALabel
3=ddReShade:FileSettingDropDown
[chkMEDDraw]
Location=12,217 ;285,216
Text=Enable DDWrapper for Map Editor
ToolTip=Enables DirectDraw wrapper & emulation for map editor.@Turning this option on can help if you are encountering problems with editor viewport not displaying or being laggy.
EnabledFile0=Resources/Compatibility/DLL/ddwrapper.dll,Map Editor/ddraw32.dll,AlwaysOverwrite_LinkAsReadOnly
EnabledFile1=Resources/Compatibility/Configs/aqrit.cfg,Map Editor/aqrit.cfg,KeepChanges
[lblReShade]
Text=ReShade Shaders:
ToolTip=Use ReShade shaders to enhance graphics (Warning: GPU intensive)@Only works with TS-DDRAW, TS-DDRAW-2 and CNC-DDRAW.@DX11/OpenGL should work for most users, if no ReShade message is shown when loading game, use DX9.
Location=13,246
[ddReShade]
Location=140,246 ;161
Size=120,21 ;133,21
Items=Disabled,Enabled - DX11,Enabled - DX9,Enabled - OpenGL
ToolTip=Use ReShade shaders to enhance graphics (Warning: GPU intensive)@Only works with TS-DDRAW, TS-DDRAW-2 and CNC-DDRAW.@DX11/OpenGL should work for most users, if no ReShade message is shown when loading game, use DX9.
DefaultValue=0
CheckFilePresence=yes
ResetUnselectableItem=yes
ForceApplyUnselectableItem=no
RestartRequired=false
Item1File0=Resources/ReShade Files/dxgi.dll,dxgi.dll,AlwaysOverwrite_LinkAsReadOnly
Item1File1=Resources/ReShade Files/ReShade.ini,ReShade.ini
Item2File0=Resources/ReShade Files/d3d9.dll,d3d9.dll,AlwaysOverwrite_LinkAsReadOnly
Item2File1=Resources/ReShade Files/ReShade.ini,ReShade.ini
Item3File0=Resources/ReShade Files/opengl32.dll,opengl32.dll,AlwaysOverwrite_LinkAsReadOnly
Item3File1=Resources/ReShade Files/ReShade.ini,ReShade.ini
[lblDetailLevel]
ToolTip=Select the level of detail. Lower levels will reduce visual effects and increase performance.
[ddDetailLevel]
ToolTip=Select the level of detail. Lower levels will reduce visual effects and increase performance.
[lblRenderer]
ToolTip=Select the DDraw wrapper to use. If you experience graphical or performance issues, try a different wrapper.
[ddRenderer]
ToolTip=Select the DDraw wrapper to use. If you experience graphical or performance issues, try a different wrapper.
[chkBackBufferInVRAM]
Text=Back Buffer in Video Memory ;Here I moved the explanation to the tooltip
ToolTip=Enable back buffer in VRAM. Reduces performance, but is necessary on some systems.
[chkScrollCoasting]
ToolTip=Enable smooth scrolling.
[chkTargetLines]
ToolTip=Show lines between selected units and targets.@Green lines indicate movement, red lines attack.
[chkTooltips]
ToolTip=Enable in-game tooltips.
[chkBlackChatBackground]
Text=Dark Chat Background
ToolTip=Use black background for in-game chat messages.
[chkAltToUndeploy]
Text=Hold Alt to Undeploy
ToolTip=Undeploy units by holding the [Alt] key while giving a move command.
[chkStretchMovies]
Location=12,196
Text=Stretch Videos
SettingSection=Video
SettingKey=StretchMovies
[chkStopMusicOnMenu]
Location=12,221
[btnSave]
DistanceFromRightBorder=124
|
INI
|
Never throws(Object e) {
throw e;
}
|
Dart
|
// Copyright 2007 Altera Corporation. All rights reserved.
// Altera products are protected under numerous U.S. and foreign patents,
// maskwork rights, copyrights and other intellectual property laws.
//
// This reference design file, and your use thereof, is subject to and governed
// by the terms and conditions of the applicable Altera Reference Design
// License Agreement (either as signed by you or found at www.altera.com). By
// using this reference design file, you indicate your acceptance of such terms
// and conditions between you and Altera Corporation. In the event that you do
// not agree with such terms and conditions, you may not use the reference
// design file and please promptly destroy any copies you have made.
//
// This reference design file is being provided on an "as-is" basis and as an
// accommodation and therefore all warranties, representations or guarantees of
// any kind (whether express, implied or statutory) including, without
// limitation, warranties of merchantability, non-infringement, or fitness for
// a particular purpose, are specifically disclaimed. By making this reference
// design file available, Altera expressly does not recommend, suggest or
// require that this reference design file be used in combination with any
// other product not provided by Altera.
/////////////////////////////////////////////////////////////////////////////
module approx_fp_sqrt_tb();
reg [32*100*3-1:0] test_stim =
{
32'h3cbd2e88,32'h3e10b83c,32'h3e268164, // sqrt(0.0231) = 0.1520
32'h3fe16596,32'h3f9df721,32'h3fb5bebd, // sqrt(1.7609) = 1.3270
32'h411e97f4,32'h403b63c3,32'h40579951, // sqrt(9.9121) = 3.1483
32'h3f70e360,32'h3f66f235,32'h3f84db2a, // sqrt(0.9410) = 0.9700
32'h3eb20fc3,32'h3f0c66e4,32'h3f2189a6, // sqrt(0.3478) = 0.5897
32'h3f9471b8,32'h3f8031ce,32'h3f937e1e, // sqrt(1.1597) = 1.0769
32'h3fd18fc5,32'h3f9850bd,32'h3faf3e9d, // sqrt(1.6372) = 1.2795
32'h3f7937da,32'h3f6ae7c1,32'h3f872239, // sqrt(0.9735) = 0.9867
32'h3fa40d0e,32'h3f86c3dc,32'h3f9b0d64, // sqrt(1.2816) = 1.1321
32'h40bbf643,32'h4010409a,32'h4025f7c0, // sqrt(5.8738) = 2.4236
32'h3e3582c7,32'h3ec878e4,32'h3ee6a69e, // sqrt(0.1773) = 0.4210
32'h3f2f7ae8,32'h3f451d1d,32'h3f62c969, // sqrt(0.6855) = 0.8279
32'h3f73128b,32'h3f67fda6,32'h3f857503, // sqrt(0.9495) = 0.9744
32'h3fcd1249,32'h3f96acbd,32'h3fad5b63, // sqrt(1.6021) = 1.2657
32'h3f726959,32'h3f67acda,32'h3f854689, // sqrt(0.9469) = 0.9731
32'h403c595c,32'h3fcc36ae,32'h3feaf497, // sqrt(2.9430) = 1.7155
32'h3dcfe73f,32'h3e97b628,32'h3eae8cc2, // sqrt(0.1015) = 0.3186
32'h3f1749ff,32'h3f3705ff,32'h3f529349, // sqrt(0.5910) = 0.7687
32'h3f1fb0f5,32'h3f3c097d,32'h3f5857fe, // sqrt(0.6238) = 0.7898
32'h3f831dec,32'h3f70f616,32'h3f8a9e15, // sqrt(1.0244) = 1.0121
32'h3fee0570,32'h3fa25431,32'h3fbac3f7, // sqrt(1.8595) = 1.3636
32'h3f4e0272,32'h3f5592b9,32'h3f75b953, // sqrt(0.8047) = 0.8971
32'h40500233,32'h3fd69b5a,32'h3ff6e9ca, // sqrt(3.2501) = 1.8028
32'h405dda8d,32'h3fdda24a,32'h3ffeff8a, // sqrt(3.4665) = 1.8618
32'h3fd83c51,32'h3f9ab8c9,32'h3fb20365, // sqrt(1.6893) = 1.2997
32'h3fa7ebef,32'h3f88587b,32'h3f9cdeec, // sqrt(1.3119) = 1.1454
32'h3eeb19e5,32'h3f21547f,32'h3f399dc7, // sqrt(0.4592) = 0.6776
32'h3f7e083d,32'h3f6d29c7,32'h3f886ebe, // sqrt(0.9923) = 0.9961
32'h4055a1b7,32'h3fd97cfd,32'h3ffa3a79, // sqrt(3.3380) = 1.8270
32'h3f96360b,32'h3f80f48a,32'h3f945e2b, // sqrt(1.1735) = 1.0833
32'h3d399097,32'h3e4ab2d7,32'h3e69365d, // sqrt(0.0453) = 0.2128
32'h3f269d81,32'h3f401202,32'h3f5cfbf2, // sqrt(0.6508) = 0.8067
32'h3ec23238,32'h3f12a005,32'h3f28b29b, // sqrt(0.3793) = 0.6159
32'h3f195ac3,32'h3f3844c0,32'h3f540207, // sqrt(0.5990) = 0.7740
32'h405638c2,32'h3fd9c9d2,32'h3ffa92de, // sqrt(3.3472) = 1.8295
32'h4041433a,32'h3fcedc33,32'h3fee0019, // sqrt(3.0197) = 1.7377
32'h4020f41d,32'h3fbcc760,32'h3fd93276, // sqrt(2.5149) = 1.5858
32'h3dfa860b,32'h3ea6899f,32'h3ebf9b96, // sqrt(0.1223) = 0.3498
32'h3e820099,32'h3eefef59,32'h3f0a06f0, // sqrt(0.2539) = 0.5039
32'h3f6f12f7,32'h3f66132a,32'h3f845adb, // sqrt(0.9339) = 0.9664
32'h3f82de7e,32'h3f70bbc6,32'h3f8a7c89, // sqrt(1.0224) = 1.0111
32'h3f184a26,32'h3f37a0af,32'h3f534542, // sqrt(0.5949) = 0.7713
32'h3e59ca9a,32'h3edb986e,32'h3efca71f, // sqrt(0.2127) = 0.4612
32'h3e06eca3,32'h3eacd76f,32'h3ec6dc57, // sqrt(0.1318) = 0.3630
32'h3fa9a393,32'h3f890a83,32'h3f9dabc1, // sqrt(1.3253) = 1.1512
32'h3ff83871,32'h3fa5c533,32'h3fbeb998, // sqrt(1.9392) = 1.3926
32'h3d5a96f9,32'h3e5bff5e,32'h3e7d1d8e, // sqrt(0.0534) = 0.2310
32'h3eb3746d,32'h3f0cf33b,32'h3f222b1d, // sqrt(0.3505) = 0.5920
32'h3fa8b1f8,32'h3f88a8ca,32'h3f9d3b50, // sqrt(1.3179) = 1.1480
32'h3f2fa554,32'h3f4534ef,32'h3f62e4d1, // sqrt(0.6861) = 0.8283
32'h3e55a3bd,32'h3ed97e05,32'h3efa3ba9, // sqrt(0.2086) = 0.4568
32'h3e1254d8,32'h3eb3ffeb,32'h3ecf18ad, // sqrt(0.1429) = 0.3780
32'h3fe9eadd,32'h3fa0ec65,32'h3fb92600, // sqrt(1.8275) = 1.3518
32'h3fb3a76e,32'h3f8d0742,32'h3fa24228, // sqrt(1.4035) = 1.1847
32'h3efd47ee,32'h3f27739a,32'h3f40a8ca, // sqrt(0.4947) = 0.7033
32'h3f7d85eb,32'h3f6cecea,32'h3f884bbb, // sqrt(0.9903) = 0.9952
32'h3f92a333,32'h3f7ed2f6,32'h3f9297a3, // sqrt(1.1456) = 1.0703
32'h3fa3542a,32'h3f8677d6,32'h3f9ab5eb, // sqrt(1.2760) = 1.1296
32'h3ed7285e,32'h3f1a55f0,32'h3f3191ab, // sqrt(0.4202) = 0.6483
32'h3fb2ec1b,32'h3f8cbda8,32'h3fa1ed7a, // sqrt(1.3978) = 1.1823
32'h3ed19371,32'h3f185213,32'h3f2f4027, // sqrt(0.4093) = 0.6398
32'h3daf3735,32'h3e8b4680,32'h3ea03dd8, // sqrt(0.0856) = 0.2925
32'h3ccc2177,32'h3e16542b,32'h3e2cf57b, // sqrt(0.0249) = 0.1579
32'h3fab1701,32'h3f89a039,32'h3f9e57ff, // sqrt(1.3366) = 1.1561
32'h3e9a49b7,32'h3f02b188,32'h3f165e26, // sqrt(0.3013) = 0.5489
32'h3f95f7bc,32'h3f80d9c8,32'h3f943f62, // sqrt(1.1716) = 1.0824
32'h3f82c01e,32'h3f709fd4,32'h3f8a6c76, // sqrt(1.0215) = 1.0107
32'h3f2bce3e,32'h3f430a01,32'h3f606659, // sqrt(0.6711) = 0.8192
32'h3d64e9aa,32'h3e6121e2,32'h3e8182fa, // sqrt(0.0559) = 0.2364
32'h3f18f355,32'h3f380692,32'h3f53ba7c, // sqrt(0.5975) = 0.7730
32'h3f06741a,32'h3f2c8a29,32'h3f46836f, // sqrt(0.5252) = 0.7247
32'h3fe0c84f,32'h3f9dbffb,32'h3fb57f4a, // sqrt(1.7561) = 1.3252
32'h3fa80f68,32'h3f8866e1,32'h3f9cef7d, // sqrt(1.3130) = 1.1458
32'h3ebe8d4b,32'h3f113e28,32'h3f271b78, // sqrt(0.3722) = 0.6101
32'h3e2868be,32'h3ec11a00,32'h3ede2bad, // sqrt(0.1645) = 0.4055
32'h3f9639a4,32'h3f80f615,32'h3f945ff1, // sqrt(1.1736) = 1.0833
32'h409d04bc,32'h4003d84b,32'h4017b149, // sqrt(4.9068) = 2.2151
32'h3f6752a8,32'h3f62507e,32'h3f82310e, // sqrt(0.9036) = 0.9506
32'h3cc685de,32'h3e143fe0,32'h3e2a910f, // sqrt(0.0242) = 0.1557
32'h400cf678,32'h3fb0aab9,32'h3fcb430b, // sqrt(2.2025) = 1.4841
32'h40adcbe1,32'h400ab5ce,32'h401f975e, // sqrt(5.4311) = 2.3305
32'h4102eca1,32'h402a429c,32'h4043e408, // sqrt(8.1828) = 2.8606
32'h3f92ed70,32'h3f7f136f,32'h3f92bcba, // sqrt(1.1479) = 1.0714
32'h3f086231,32'h3f2dc60e,32'h3f47eee2, // sqrt(0.5327) = 0.7299
32'h3ed2099f,32'h3f187cff,32'h3f2f7189, // sqrt(0.4102) = 0.6405
32'h3e8fd399,32'h3efc5eae,32'h3f112e35, // sqrt(0.2809) = 0.5300
32'h3f169b28,32'h3f369c1f,32'h3f521979, // sqrt(0.5883) = 0.7670
32'h3f6c912e,32'h3f64dd8a,32'h3f83a8bc, // sqrt(0.9241) = 0.9613
32'h3fa6f39d,32'h3f87f386,32'h3f9c6ac4, // sqrt(1.3043) = 1.1421
32'h3ea8d32c,32'h3f08b63c,32'h3f1d4aca, // sqrt(0.3297) = 0.5742
32'h3f21f90f,32'h3f3d6029,32'h3f59e240, // sqrt(0.6327) = 0.7954
32'h3f294a40,32'h3f419b1e,32'h3f5ec03b, // sqrt(0.6613) = 0.8132
32'h3fba9322,32'h3f8fb814,32'h3fa55aac, // sqrt(1.4576) = 1.2073
32'h3fa7bf44,32'h3f884658,32'h3f9cca0d, // sqrt(1.3105) = 1.1448
32'h3f81d4a9,32'h3f6fc6c9,32'h3f89ef9b, // sqrt(1.0143) = 1.0071
32'h3fc8eede,32'h3f95258e,32'h3fab9951, // sqrt(1.5698) = 1.2529
32'h3fc8dec7,32'h3f951f95,32'h3fab9272, // sqrt(1.5693) = 1.2527
32'h402c699a,32'h3fc3621c,32'h3fe0cbb8, // sqrt(2.6939) = 1.6413
32'h41d9e8ca,32'h409b51c8,32'h40b2b36c, // sqrt(27.2387) = 5.2191
32'h3ed3a355,32'h3f191171,32'h3f301c53 // sqrt(0.4134) = 0.6429
};
wire [31:0] in, sqrt_in, min_err, max_err;
assign {in,min_err,max_err} = test_stim [3*32-1:0];
// DUT
approx_fp_sqrt asq (.in(in),.out(sqrt_in));
integer n;
reg fail;
initial begin
fail = 0;
for (n=0; n<100; n=n+1)
begin : tst
#5 if (sqrt_in < min_err) begin
$display ("Mismatch - less than lowest acceptable value");
fail = 1'b1;
end
if (sqrt_in > max_err) begin
$display ("Mismatch - more than highest acceptable value");
fail = 1'b1;
end
#100
test_stim = test_stim >> (3*32);
end
if (!fail) $display ("PASS");
$stop();
end
endmodule
|
Coq
|
// -----------
// This file was generated by riscv_ctg (https://github.com/riscv-software-src/riscv-ctg)
// version : 0.7.1
// timestamp : Sun Aug 7 17:43:57 2022 GMT
// usage : riscv_ctg \
// -- cgf // --cgf /home/anku/work2/bmanip/32/dataset.yaml \
// --cgf /home/anku/work2/bmanip/32/rv32ib.yaml \
\
// -- xlen 32 \
// -----------
//
// -----------
// Copyright (c) 2020. RISC-V International. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// -----------
//
// This assembly file tests the minu instruction of the RISC-V RV32Zbb extension for the minu covergroup.
//
#include "model_test.h"
#include "arch_test.h"
RVTEST_ISA("RV32IZbb")
.section .text.init
.org 0x80
.globl rvtest_entry_point
rvtest_entry_point:
RVMODEL_BOOT
RVTEST_CODE_BEGIN
#ifdef TEST_CASE_1
RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*Zbb.*);def TEST_CASE_1=True;",minu)
RVTEST_SIGBASE(x1,signature_x1_1)
inst_0:
// rs1 == rs2 == rd, rs1==x31, rs2==x31, rd==x31,
// opcode: minu ; op1:x31; op2:x31; dest:x31; op1val:0xffffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x31, x31, 0x00000000, 0xffffffff, 0xffffffff, x1, 0, x2)
inst_1:
// rs1 != rs2 and rs1 != rd and rs2 != rd, rs1==x29, rs2==x28, rd==x30,
// opcode: minu ; op1:x29; op2:x28; dest:x30; op1val:0xffffffff; op2val:0x7fffffff
TEST_RR_OP(minu, x30, x29, x28, 0x00000000, 0xffffffff, 0x7fffffff, x1, 4, x2)
inst_2:
// rs1 == rd != rs2, rs1==x28, rs2==x30, rd==x28,
// opcode: minu ; op1:x28; op2:x30; dest:x28; op1val:0xffffffff; op2val:0xbfffffff
TEST_RR_OP(minu, x28, x28, x30, 0x00000000, 0xffffffff, 0xbfffffff, x1, 8, x2)
inst_3:
// rs1 == rs2 != rd, rs1==x27, rs2==x27, rd==x29,
// opcode: minu ; op1:x27; op2:x27; dest:x29; op1val:0xffffffff; op2val:0xffffffff
TEST_RR_OP(minu, x29, x27, x27, 0x00000000, 0xffffffff, 0xffffffff, x1, 12, x2)
inst_4:
// rs2 == rd != rs1, rs1==x30, rs2==x26, rd==x26,
// opcode: minu ; op1:x30; op2:x26; dest:x26; op1val:0xffffffff; op2val:0xefffffff
TEST_RR_OP(minu, x26, x30, x26, 0x00000000, 0xffffffff, 0xefffffff, x1, 16, x2)
inst_5:
// rs1==x26, rs2==x29, rd==x27,
// opcode: minu ; op1:x26; op2:x29; dest:x27; op1val:0xffffffff; op2val:0xf7ffffff
TEST_RR_OP(minu, x27, x26, x29, 0x00000000, 0xffffffff, 0xf7ffffff, x1, 20, x2)
inst_6:
// rs1==x24, rs2==x23, rd==x25,
// opcode: minu ; op1:x24; op2:x23; dest:x25; op1val:0xffffffff; op2val:0xfbffffff
TEST_RR_OP(minu, x25, x24, x23, 0x00000000, 0xffffffff, 0xfbffffff, x1, 24, x2)
inst_7:
// rs1==x23, rs2==x25, rd==x24,
// opcode: minu ; op1:x23; op2:x25; dest:x24; op1val:0xffffffff; op2val:0xfdffffff
TEST_RR_OP(minu, x24, x23, x25, 0x00000000, 0xffffffff, 0xfdffffff, x1, 28, x2)
inst_8:
// rs1==x25, rs2==x24, rd==x23,
// opcode: minu ; op1:x25; op2:x24; dest:x23; op1val:0xffffffff; op2val:0xfeffffff
TEST_RR_OP(minu, x23, x25, x24, 0x00000000, 0xffffffff, 0xfeffffff, x1, 32, x2)
inst_9:
// rs1==x21, rs2==x20, rd==x22,
// opcode: minu ; op1:x21; op2:x20; dest:x22; op1val:0xffffffff; op2val:0xff7fffff
TEST_RR_OP(minu, x22, x21, x20, 0x00000000, 0xffffffff, 0xff7fffff, x1, 36, x2)
inst_10:
// rs1==x20, rs2==x22, rd==x21,
// opcode: minu ; op1:x20; op2:x22; dest:x21; op1val:0xffffffff; op2val:0xffbfffff
TEST_RR_OP(minu, x21, x20, x22, 0x00000000, 0xffffffff, 0xffbfffff, x1, 40, x2)
inst_11:
// rs1==x22, rs2==x21, rd==x20,
// opcode: minu ; op1:x22; op2:x21; dest:x20; op1val:0xffffffff; op2val:0xffdfffff
TEST_RR_OP(minu, x20, x22, x21, 0x00000000, 0xffffffff, 0xffdfffff, x1, 44, x2)
inst_12:
// rs1==x18, rs2==x17, rd==x19,
// opcode: minu ; op1:x18; op2:x17; dest:x19; op1val:0xffffffff; op2val:0xffefffff
TEST_RR_OP(minu, x19, x18, x17, 0x00000000, 0xffffffff, 0xffefffff, x1, 48, x2)
inst_13:
// rs1==x17, rs2==x19, rd==x18,
// opcode: minu ; op1:x17; op2:x19; dest:x18; op1val:0xffffffff; op2val:0xfff7ffff
TEST_RR_OP(minu, x18, x17, x19, 0x00000000, 0xffffffff, 0xfff7ffff, x1, 52, x2)
inst_14:
// rs1==x19, rs2==x18, rd==x17,
// opcode: minu ; op1:x19; op2:x18; dest:x17; op1val:0xffffffff; op2val:0xfffbffff
TEST_RR_OP(minu, x17, x19, x18, 0x00000000, 0xffffffff, 0xfffbffff, x1, 56, x2)
inst_15:
// rs1==x15, rs2==x14, rd==x16,
// opcode: minu ; op1:x15; op2:x14; dest:x16; op1val:0xffffffff; op2val:0xfffdffff
TEST_RR_OP(minu, x16, x15, x14, 0x00000000, 0xffffffff, 0xfffdffff, x1, 60, x2)
inst_16:
// rs1==x14, rs2==x16, rd==x15,
// opcode: minu ; op1:x14; op2:x16; dest:x15; op1val:0xffffffff; op2val:0xfffeffff
TEST_RR_OP(minu, x15, x14, x16, 0x00000000, 0xffffffff, 0xfffeffff, x1, 64, x2)
inst_17:
// rs1==x16, rs2==x15, rd==x14,
// opcode: minu ; op1:x16; op2:x15; dest:x14; op1val:0xffffffff; op2val:0xffff7fff
TEST_RR_OP(minu, x14, x16, x15, 0x00000000, 0xffffffff, 0xffff7fff, x1, 68, x2)
inst_18:
// rs1==x12, rs2==x11, rd==x13,
// opcode: minu ; op1:x12; op2:x11; dest:x13; op1val:0xffffffff; op2val:0xffffbfff
TEST_RR_OP(minu, x13, x12, x11, 0x00000000, 0xffffffff, 0xffffbfff, x1, 72, x2)
inst_19:
// rs1==x11, rs2==x13, rd==x12,
// opcode: minu ; op1:x11; op2:x13; dest:x12; op1val:0xffffffff; op2val:0xffffdfff
TEST_RR_OP(minu, x12, x11, x13, 0x00000000, 0xffffffff, 0xffffdfff, x1, 76, x2)
inst_20:
// rs1==x13, rs2==x12, rd==x11,
// opcode: minu ; op1:x13; op2:x12; dest:x11; op1val:0xffffffff; op2val:0xffffefff
TEST_RR_OP(minu, x11, x13, x12, 0x00000000, 0xffffffff, 0xffffefff, x1, 80, x2)
inst_21:
// rs1==x9, rs2==x8, rd==x10,
// opcode: minu ; op1:x9; op2:x8; dest:x10; op1val:0xffffffff; op2val:0xfffff7ff
TEST_RR_OP(minu, x10, x9, x8, 0x00000000, 0xffffffff, 0xfffff7ff, x1, 84, x2)
inst_22:
// rs1==x8, rs2==x10, rd==x9,
// opcode: minu ; op1:x8; op2:x10; dest:x9; op1val:0xffffffff; op2val:0xfffffbff
TEST_RR_OP(minu, x9, x8, x10, 0x00000000, 0xffffffff, 0xfffffbff, x1, 88, x2)
inst_23:
// rs1==x10, rs2==x9, rd==x8,
// opcode: minu ; op1:x10; op2:x9; dest:x8; op1val:0xffffffff; op2val:0xfffffdff
TEST_RR_OP(minu, x8, x10, x9, 0x00000000, 0xffffffff, 0xfffffdff, x1, 92, x2)
inst_24:
// rs1==x6, rs2==x5, rd==x7,
// opcode: minu ; op1:x6; op2:x5; dest:x7; op1val:0xffffffff; op2val:0xfffffeff
TEST_RR_OP(minu, x7, x6, x5, 0x00000000, 0xffffffff, 0xfffffeff, x1, 96, x2)
RVTEST_SIGBASE(x8,signature_x8_0)
inst_25:
// rs1==x5, rs2==x7, rd==x6,
// opcode: minu ; op1:x5; op2:x7; dest:x6; op1val:0xffffffff; op2val:0xffffff7f
TEST_RR_OP(minu, x6, x5, x7, 0x00000000, 0xffffffff, 0xffffff7f, x8, 0, x9)
inst_26:
// rs1==x7, rs2==x6, rd==x5,
// opcode: minu ; op1:x7; op2:x6; dest:x5; op1val:0xffffffff; op2val:0xffffffbf
TEST_RR_OP(minu, x5, x7, x6, 0x00000000, 0xffffffff, 0xffffffbf, x8, 4, x9)
inst_27:
// rs1==x3, rs2==x2, rd==x4,
// opcode: minu ; op1:x3; op2:x2; dest:x4; op1val:0xffffffff; op2val:0xffffffdf
TEST_RR_OP(minu, x4, x3, x2, 0x00000000, 0xffffffff, 0xffffffdf, x8, 8, x9)
inst_28:
// rs1==x2, rs2==x4, rd==x3,
// opcode: minu ; op1:x2; op2:x4; dest:x3; op1val:0xffffffff; op2val:0xffffffef
TEST_RR_OP(minu, x3, x2, x4, 0x00000000, 0xffffffff, 0xffffffef, x8, 12, x9)
inst_29:
// rs1==x4, rs2==x3, rd==x2,
// opcode: minu ; op1:x4; op2:x3; dest:x2; op1val:0xffffffff; op2val:0xfffffff7
TEST_RR_OP(minu, x2, x4, x3, 0x00000000, 0xffffffff, 0xfffffff7, x8, 16, x9)
inst_30:
// rs1==x1,
// opcode: minu ; op1:x1; op2:x30; dest:x31; op1val:0xffffffff; op2val:0xfffffffb
TEST_RR_OP(minu, x31, x1, x30, 0x00000000, 0xffffffff, 0xfffffffb, x8, 20, x9)
inst_31:
// rs1==x0,
// opcode: minu ; op1:x0; op2:x30; dest:x31; op1val:0x0; op2val:0xfffffffd
TEST_RR_OP(minu, x31, x0, x30, 0x00000000, 0x0, 0xfffffffd, x8, 24, x9)
inst_32:
// rs2==x1,
// opcode: minu ; op1:x30; op2:x1; dest:x31; op1val:0xffffffff; op2val:0xfffffffe
TEST_RR_OP(minu, x31, x30, x1, 0x00000000, 0xffffffff, 0xfffffffe, x8, 28, x9)
inst_33:
// rs2==x0,
// opcode: minu ; op1:x30; op2:x0; dest:x31; op1val:0x7fffffff; op2val:0x0
TEST_RR_OP(minu, x31, x30, x0, 0x00000000, 0x7fffffff, 0x0, x8, 32, x9)
inst_34:
// rd==x1,
// opcode: minu ; op1:x31; op2:x30; dest:x1; op1val:0xbfffffff; op2val:0xffffffff
TEST_RR_OP(minu, x1, x31, x30, 0x00000000, 0xbfffffff, 0xffffffff, x8, 36, x9)
inst_35:
// rd==x0,
// opcode: minu ; op1:x31; op2:x30; dest:x0; op1val:0xdfffffff; op2val:0xffffffff
TEST_RR_OP(minu, x0, x31, x30, 0x00000000, 0xdfffffff, 0xffffffff, x8, 40, x9)
inst_36:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xefffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xefffffff, 0xffffffff, x8, 44, x9)
inst_37:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xf7ffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xf7ffffff, 0xffffffff, x8, 48, x9)
inst_38:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfbffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfbffffff, 0xffffffff, x8, 52, x9)
inst_39:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfdffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfdffffff, 0xffffffff, x8, 56, x9)
inst_40:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfeffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfeffffff, 0xffffffff, x8, 60, x9)
inst_41:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xff7fffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xff7fffff, 0xffffffff, x8, 64, x9)
inst_42:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffbfffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffbfffff, 0xffffffff, x8, 68, x9)
inst_43:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffdfffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffdfffff, 0xffffffff, x8, 72, x9)
inst_44:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffefffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffefffff, 0xffffffff, x8, 76, x9)
inst_45:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfff7ffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfff7ffff, 0xffffffff, x8, 80, x9)
inst_46:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffbffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffbffff, 0xffffffff, x8, 84, x9)
inst_47:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffdffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffdffff, 0xffffffff, x8, 88, x9)
inst_48:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffeffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffeffff, 0xffffffff, x8, 92, x9)
inst_49:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffff7fff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffff7fff, 0xffffffff, x8, 96, x9)
inst_50:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffbfff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffbfff, 0xffffffff, x8, 100, x9)
inst_51:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffdfff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffdfff, 0xffffffff, x8, 104, x9)
inst_52:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffefff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffefff, 0xffffffff, x8, 108, x9)
inst_53:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffff7ff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffff7ff, 0xffffffff, x8, 112, x9)
inst_54:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffbff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffbff, 0xffffffff, x8, 116, x9)
inst_55:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffdff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffdff, 0xffffffff, x8, 120, x9)
inst_56:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffeff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffeff, 0xffffffff, x8, 124, x9)
inst_57:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffff7f; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffff7f, 0xffffffff, x8, 128, x9)
inst_58:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffbf; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffbf, 0xffffffff, x8, 132, x9)
inst_59:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffdf; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffdf, 0xffffffff, x8, 136, x9)
inst_60:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffef; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffef, 0xffffffff, x8, 140, x9)
inst_61:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffff7; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffff7, 0xffffffff, x8, 144, x9)
inst_62:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffb; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffffb, 0xffffffff, x8, 148, x9)
inst_63:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffd; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffffd, 0xffffffff, x8, 152, x9)
inst_64:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xfffffffe; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xfffffffe, 0xffffffff, x8, 156, x9)
inst_65:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x80000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x80000000, x8, 160, x9)
inst_66:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x40000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x40000000, x8, 164, x9)
inst_67:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x20000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x20000000, x8, 168, x9)
inst_68:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x10000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x10000000, x8, 172, x9)
inst_69:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x8000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x8000000, x8, 176, x9)
inst_70:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x4000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x4000000, x8, 180, x9)
inst_71:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x2000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x2000000, x8, 184, x9)
inst_72:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x1000000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x1000000, x8, 188, x9)
inst_73:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x800000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x800000, x8, 192, x9)
inst_74:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x400000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x400000, x8, 196, x9)
inst_75:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x200000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x200000, x8, 200, x9)
inst_76:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x100000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x100000, x8, 204, x9)
inst_77:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x80000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x80000, x8, 208, x9)
inst_78:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x40000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x40000, x8, 212, x9)
inst_79:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x20000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x20000, x8, 216, x9)
inst_80:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x10000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x10000, x8, 220, x9)
inst_81:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x8000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x8000, x8, 224, x9)
inst_82:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x4000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x4000, x8, 228, x9)
inst_83:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x2000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x2000, x8, 232, x9)
inst_84:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x1000
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x1000, x8, 236, x9)
inst_85:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x800
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x800, x8, 240, x9)
inst_86:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x400
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x400, x8, 244, x9)
inst_87:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x200
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x200, x8, 248, x9)
inst_88:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x100
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x100, x8, 252, x9)
inst_89:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x80
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x80, x8, 256, x9)
inst_90:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x40
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x40, x8, 260, x9)
inst_91:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x20
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x20, x8, 264, x9)
inst_92:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x10
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x10, x8, 268, x9)
inst_93:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x8
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x8, x8, 272, x9)
inst_94:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x4
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x4, x8, 276, x9)
inst_95:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x2
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x2, x8, 280, x9)
inst_96:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x80000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x80000000, 0xffffffff, x8, 284, x9)
inst_97:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x40000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x40000000, 0xffffffff, x8, 288, x9)
inst_98:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x20000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x20000000, 0xffffffff, x8, 292, x9)
inst_99:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x10000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x10000000, 0xffffffff, x8, 296, x9)
inst_100:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x8000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x8000000, 0xffffffff, x8, 300, x9)
inst_101:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x4000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x4000000, 0xffffffff, x8, 304, x9)
inst_102:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x2000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x2000000, 0xffffffff, x8, 308, x9)
inst_103:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1000000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1000000, 0xffffffff, x8, 312, x9)
inst_104:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x800000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x800000, 0xffffffff, x8, 316, x9)
inst_105:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x400000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x400000, 0xffffffff, x8, 320, x9)
inst_106:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x200000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x200000, 0xffffffff, x8, 324, x9)
inst_107:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x100000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x100000, 0xffffffff, x8, 328, x9)
inst_108:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x80000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x80000, 0xffffffff, x8, 332, x9)
inst_109:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x40000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x40000, 0xffffffff, x8, 336, x9)
inst_110:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x20000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x20000, 0xffffffff, x8, 340, x9)
inst_111:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x10000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x10000, 0xffffffff, x8, 344, x9)
inst_112:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x8000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x8000, 0xffffffff, x8, 348, x9)
inst_113:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x4000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x4000, 0xffffffff, x8, 352, x9)
inst_114:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x2000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x2000, 0xffffffff, x8, 356, x9)
inst_115:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1000; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1000, 0xffffffff, x8, 360, x9)
inst_116:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x800; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x800, 0xffffffff, x8, 364, x9)
inst_117:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x400; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x400, 0xffffffff, x8, 368, x9)
inst_118:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x200; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x200, 0xffffffff, x8, 372, x9)
inst_119:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x100; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x100, 0xffffffff, x8, 376, x9)
inst_120:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x80; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x80, 0xffffffff, x8, 380, x9)
inst_121:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x40; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x40, 0xffffffff, x8, 384, x9)
inst_122:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x20; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x20, 0xffffffff, x8, 388, x9)
inst_123:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x10; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x10, 0xffffffff, x8, 392, x9)
inst_124:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x8; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x8, 0xffffffff, x8, 396, x9)
inst_125:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x4; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x4, 0xffffffff, x8, 400, x9)
inst_126:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x2; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x2, 0xffffffff, x8, 404, x9)
inst_127:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xffffffff, x8, 408, x9)
inst_128:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xffffffff, x8, 412, x9)
inst_129:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x0, x8, 416, x9)
inst_130:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x9999999a, x8, 420, x9)
inst_131:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x66666667, x8, 424, x9)
inst_132:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xcccccccd, x8, 428, x9)
inst_133:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x33333334, x8, 432, x9)
inst_134:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xaaaaaaab, x8, 436, x9)
inst_135:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x55555556, x8, 440, x9)
inst_136:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x99999998, x8, 444, x9)
inst_137:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x66666665, x8, 448, x9)
inst_138:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xcccccccb, x8, 452, x9)
inst_139:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x33333332, x8, 456, x9)
inst_140:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xaaaaaaa9, x8, 460, x9)
inst_141:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x55555554, x8, 464, x9)
inst_142:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x99999999, x8, 468, x9)
inst_143:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x66666666, x8, 472, x9)
inst_144:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xcccccccc, x8, 476, x9)
inst_145:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x33333333, x8, 480, x9)
inst_146:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xaaaaaaaa, x8, 484, x9)
inst_147:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x55555555, x8, 488, x9)
inst_148:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x1, x8, 492, x9)
inst_149:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x0, x8, 496, x9)
inst_150:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x9999999a, x8, 500, x9)
inst_151:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x66666667, x8, 504, x9)
inst_152:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xcccccccd, x8, 508, x9)
inst_153:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x33333334, x8, 512, x9)
inst_154:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xaaaaaaab, x8, 516, x9)
inst_155:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x55555556, x8, 520, x9)
inst_156:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x99999998, x8, 524, x9)
inst_157:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x66666665, x8, 528, x9)
inst_158:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xcccccccb, x8, 532, x9)
inst_159:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x33333332, x8, 536, x9)
inst_160:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xaaaaaaa9, x8, 540, x9)
inst_161:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x55555554, x8, 544, x9)
inst_162:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x99999999, x8, 548, x9)
inst_163:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x66666666, x8, 552, x9)
inst_164:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xcccccccc, x8, 556, x9)
inst_165:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x33333333, x8, 560, x9)
inst_166:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0xaaaaaaaa, x8, 564, x9)
inst_167:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x1; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x1, 0x55555555, x8, 568, x9)
inst_168:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xffffffff, x8, 572, x9)
inst_169:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x1, x8, 576, x9)
inst_170:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x0, x8, 580, x9)
inst_171:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x9999999a, x8, 584, x9)
inst_172:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x66666667, x8, 588, x9)
inst_173:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xcccccccd, x8, 592, x9)
inst_174:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x33333334, x8, 596, x9)
inst_175:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xaaaaaaab, x8, 600, x9)
inst_176:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x55555556, x8, 604, x9)
inst_177:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x99999998, x8, 608, x9)
inst_178:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x66666665, x8, 612, x9)
inst_179:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xcccccccb, x8, 616, x9)
inst_180:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x33333332, x8, 620, x9)
inst_181:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xaaaaaaa9, x8, 624, x9)
inst_182:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x55555554, x8, 628, x9)
inst_183:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x99999999, x8, 632, x9)
inst_184:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x66666666, x8, 636, x9)
inst_185:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xcccccccc, x8, 640, x9)
inst_186:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x33333333, x8, 644, x9)
inst_187:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0xaaaaaaaa, x8, 648, x9)
inst_188:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x0; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x0, 0x55555555, x8, 652, x9)
inst_189:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xffffffff, x8, 656, x9)
inst_190:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x1, x8, 660, x9)
inst_191:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x0, x8, 664, x9)
inst_192:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x9999999a, x8, 668, x9)
inst_193:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x66666667, x8, 672, x9)
inst_194:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xcccccccd, x8, 676, x9)
inst_195:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x33333334, x8, 680, x9)
inst_196:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xaaaaaaab, x8, 684, x9)
inst_197:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x55555556, x8, 688, x9)
inst_198:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x99999998, x8, 692, x9)
inst_199:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x66666665, x8, 696, x9)
inst_200:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xcccccccb, x8, 700, x9)
inst_201:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x33333332, x8, 704, x9)
inst_202:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xaaaaaaa9, x8, 708, x9)
inst_203:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x55555554, x8, 712, x9)
inst_204:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x99999999, x8, 716, x9)
inst_205:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x66666666, x8, 720, x9)
inst_206:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xcccccccc, x8, 724, x9)
inst_207:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x33333333, x8, 728, x9)
inst_208:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0xaaaaaaaa, x8, 732, x9)
inst_209:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x9999999a; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x9999999a, 0x55555555, x8, 736, x9)
inst_210:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xffffffff, x8, 740, x9)
inst_211:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x1, x8, 744, x9)
inst_212:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x0, x8, 748, x9)
inst_213:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x9999999a, x8, 752, x9)
inst_214:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x66666667, x8, 756, x9)
inst_215:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xcccccccd, x8, 760, x9)
inst_216:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x33333334, x8, 764, x9)
inst_217:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xaaaaaaab, x8, 768, x9)
inst_218:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x55555556, x8, 772, x9)
inst_219:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x99999998, x8, 776, x9)
inst_220:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x66666665, x8, 780, x9)
inst_221:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xcccccccb, x8, 784, x9)
inst_222:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x33333332, x8, 788, x9)
inst_223:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xaaaaaaa9, x8, 792, x9)
inst_224:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x55555554, x8, 796, x9)
inst_225:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x99999999, x8, 800, x9)
inst_226:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x66666666, x8, 804, x9)
inst_227:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xcccccccc, x8, 808, x9)
inst_228:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x33333333, x8, 812, x9)
inst_229:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0xaaaaaaaa, x8, 816, x9)
inst_230:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666667; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666667, 0x55555555, x8, 820, x9)
inst_231:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xffffffff, x8, 824, x9)
inst_232:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x1, x8, 828, x9)
inst_233:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x0, x8, 832, x9)
inst_234:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x9999999a, x8, 836, x9)
inst_235:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x66666667, x8, 840, x9)
inst_236:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xcccccccd, x8, 844, x9)
inst_237:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x33333334, x8, 848, x9)
inst_238:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xaaaaaaab, x8, 852, x9)
inst_239:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x55555556, x8, 856, x9)
inst_240:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x99999998, x8, 860, x9)
inst_241:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x66666665, x8, 864, x9)
inst_242:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xcccccccb, x8, 868, x9)
inst_243:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x33333332, x8, 872, x9)
inst_244:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xaaaaaaa9, x8, 876, x9)
inst_245:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x55555554, x8, 880, x9)
inst_246:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x99999999, x8, 884, x9)
inst_247:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x66666666, x8, 888, x9)
inst_248:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xcccccccc, x8, 892, x9)
inst_249:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x33333333, x8, 896, x9)
inst_250:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0xaaaaaaaa, x8, 900, x9)
inst_251:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccd; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccd, 0x55555555, x8, 904, x9)
inst_252:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xffffffff, x8, 908, x9)
inst_253:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x1, x8, 912, x9)
inst_254:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x0, x8, 916, x9)
inst_255:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x9999999a, x8, 920, x9)
inst_256:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x66666667, x8, 924, x9)
inst_257:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xcccccccd, x8, 928, x9)
inst_258:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x33333334, x8, 932, x9)
inst_259:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xaaaaaaab, x8, 936, x9)
inst_260:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x55555556, x8, 940, x9)
inst_261:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x99999998, x8, 944, x9)
inst_262:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x66666665, x8, 948, x9)
inst_263:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xcccccccb, x8, 952, x9)
inst_264:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x33333332, x8, 956, x9)
inst_265:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xaaaaaaa9, x8, 960, x9)
inst_266:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x55555554, x8, 964, x9)
inst_267:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x99999999, x8, 968, x9)
inst_268:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x66666666, x8, 972, x9)
inst_269:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xcccccccc, x8, 976, x9)
inst_270:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x33333333, x8, 980, x9)
inst_271:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0xaaaaaaaa, x8, 984, x9)
inst_272:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333334; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333334, 0x55555555, x8, 988, x9)
inst_273:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xffffffff, x8, 992, x9)
inst_274:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x1, x8, 996, x9)
inst_275:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x0, x8, 1000, x9)
inst_276:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x9999999a, x8, 1004, x9)
inst_277:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x66666667, x8, 1008, x9)
inst_278:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xcccccccd, x8, 1012, x9)
inst_279:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x33333334, x8, 1016, x9)
inst_280:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xaaaaaaab, x8, 1020, x9)
inst_281:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x55555556, x8, 1024, x9)
inst_282:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x99999998, x8, 1028, x9)
inst_283:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x66666665, x8, 1032, x9)
inst_284:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xcccccccb, x8, 1036, x9)
inst_285:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x33333332, x8, 1040, x9)
inst_286:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xaaaaaaa9, x8, 1044, x9)
inst_287:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x55555554, x8, 1048, x9)
inst_288:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x99999999, x8, 1052, x9)
inst_289:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x66666666, x8, 1056, x9)
inst_290:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xcccccccc, x8, 1060, x9)
inst_291:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x33333333, x8, 1064, x9)
inst_292:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0xaaaaaaaa, x8, 1068, x9)
inst_293:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaab; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaab, 0x55555555, x8, 1072, x9)
inst_294:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xffffffff, x8, 1076, x9)
inst_295:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x1, x8, 1080, x9)
inst_296:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x0, x8, 1084, x9)
inst_297:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x9999999a, x8, 1088, x9)
inst_298:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x66666667, x8, 1092, x9)
inst_299:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xcccccccd, x8, 1096, x9)
inst_300:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x33333334, x8, 1100, x9)
inst_301:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xaaaaaaab, x8, 1104, x9)
inst_302:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x55555556, x8, 1108, x9)
inst_303:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x99999998, x8, 1112, x9)
inst_304:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x66666665, x8, 1116, x9)
inst_305:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xcccccccb, x8, 1120, x9)
inst_306:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x33333332, x8, 1124, x9)
inst_307:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xaaaaaaa9, x8, 1128, x9)
inst_308:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x55555554, x8, 1132, x9)
inst_309:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x99999999, x8, 1136, x9)
inst_310:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x66666666, x8, 1140, x9)
inst_311:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xcccccccc, x8, 1144, x9)
inst_312:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x33333333, x8, 1148, x9)
inst_313:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0xaaaaaaaa, x8, 1152, x9)
inst_314:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xcccccccd, x8, 1156, x9)
inst_315:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x33333334, x8, 1160, x9)
inst_316:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xaaaaaaab, x8, 1164, x9)
inst_317:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x55555556, x8, 1168, x9)
inst_318:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x99999998, x8, 1172, x9)
inst_319:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x66666665, x8, 1176, x9)
inst_320:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xcccccccb, x8, 1180, x9)
inst_321:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x33333332, x8, 1184, x9)
inst_322:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xaaaaaaa9, x8, 1188, x9)
inst_323:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x55555554, x8, 1192, x9)
inst_324:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x99999999, x8, 1196, x9)
inst_325:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x66666666, x8, 1200, x9)
inst_326:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xcccccccc, x8, 1204, x9)
inst_327:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x33333333, x8, 1208, x9)
inst_328:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xaaaaaaaa, x8, 1212, x9)
inst_329:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x55555555, x8, 1216, x9)
inst_330:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xffffffff, x8, 1220, x9)
inst_331:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x1, x8, 1224, x9)
inst_332:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x0, x8, 1228, x9)
inst_333:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x9999999a, x8, 1232, x9)
inst_334:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x66666667, x8, 1236, x9)
inst_335:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xcccccccd, x8, 1240, x9)
inst_336:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x33333334, x8, 1244, x9)
inst_337:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xaaaaaaab, x8, 1248, x9)
inst_338:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x55555556, x8, 1252, x9)
inst_339:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x99999998, x8, 1256, x9)
inst_340:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x66666665, x8, 1260, x9)
inst_341:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xcccccccb, x8, 1264, x9)
inst_342:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x33333332, x8, 1268, x9)
inst_343:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xaaaaaaa9, x8, 1272, x9)
inst_344:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x55555554, x8, 1276, x9)
inst_345:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x99999999, x8, 1280, x9)
inst_346:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x66666666, x8, 1284, x9)
inst_347:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xcccccccc, x8, 1288, x9)
inst_348:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x33333333, x8, 1292, x9)
inst_349:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0xaaaaaaaa, x8, 1296, x9)
inst_350:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaaa; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaaa, 0x55555555, x8, 1300, x9)
inst_351:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xffffffff, x8, 1304, x9)
inst_352:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x1, x8, 1308, x9)
inst_353:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x0, x8, 1312, x9)
inst_354:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x9999999a, x8, 1316, x9)
inst_355:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x66666667, x8, 1320, x9)
inst_356:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xcccccccd, x8, 1324, x9)
inst_357:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x33333334, x8, 1328, x9)
inst_358:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xaaaaaaab, x8, 1332, x9)
inst_359:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x55555556, x8, 1336, x9)
inst_360:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x99999998, x8, 1340, x9)
inst_361:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x66666665, x8, 1344, x9)
inst_362:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xcccccccb, x8, 1348, x9)
inst_363:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x33333332, x8, 1352, x9)
inst_364:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xaaaaaaa9, x8, 1356, x9)
inst_365:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x55555554, x8, 1360, x9)
inst_366:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x99999999, x8, 1364, x9)
inst_367:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x66666666, x8, 1368, x9)
inst_368:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xcccccccc, x8, 1372, x9)
inst_369:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x33333333, x8, 1376, x9)
inst_370:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0xaaaaaaaa, x8, 1380, x9)
inst_371:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555555; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555555, 0x55555555, x8, 1384, x9)
inst_372:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555556; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555556, 0x55555555, x8, 1388, x9)
inst_373:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xffffffff, x8, 1392, x9)
inst_374:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x1, x8, 1396, x9)
inst_375:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x0, x8, 1400, x9)
inst_376:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x9999999a, x8, 1404, x9)
inst_377:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x66666667, x8, 1408, x9)
inst_378:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xcccccccd, x8, 1412, x9)
inst_379:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x33333334, x8, 1416, x9)
inst_380:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xaaaaaaab, x8, 1420, x9)
inst_381:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x55555556, x8, 1424, x9)
inst_382:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x99999998, x8, 1428, x9)
inst_383:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x66666665, x8, 1432, x9)
inst_384:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xcccccccb, x8, 1436, x9)
inst_385:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x33333332, x8, 1440, x9)
inst_386:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xaaaaaaa9, x8, 1444, x9)
inst_387:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x55555554, x8, 1448, x9)
inst_388:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x99999999, x8, 1452, x9)
inst_389:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x66666666, x8, 1456, x9)
inst_390:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xcccccccc, x8, 1460, x9)
inst_391:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x33333333, x8, 1464, x9)
inst_392:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0xaaaaaaaa, x8, 1468, x9)
inst_393:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999998; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999998, 0x55555555, x8, 1472, x9)
inst_394:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xffffffff, x8, 1476, x9)
inst_395:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x1, x8, 1480, x9)
inst_396:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x0, x8, 1484, x9)
inst_397:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x9999999a, x8, 1488, x9)
inst_398:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x66666667, x8, 1492, x9)
inst_399:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xcccccccd, x8, 1496, x9)
inst_400:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x33333334, x8, 1500, x9)
inst_401:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xaaaaaaab, x8, 1504, x9)
inst_402:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x55555556, x8, 1508, x9)
inst_403:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x99999998, x8, 1512, x9)
inst_404:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x66666665, x8, 1516, x9)
inst_405:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xcccccccb, x8, 1520, x9)
inst_406:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x33333332, x8, 1524, x9)
inst_407:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xaaaaaaa9, x8, 1528, x9)
inst_408:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x55555554, x8, 1532, x9)
inst_409:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x99999999, x8, 1536, x9)
inst_410:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x66666666, x8, 1540, x9)
inst_411:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xcccccccc, x8, 1544, x9)
inst_412:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x33333333, x8, 1548, x9)
inst_413:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0xaaaaaaaa, x8, 1552, x9)
inst_414:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666665; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666665, 0x55555555, x8, 1556, x9)
inst_415:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xffffffff, x8, 1560, x9)
inst_416:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x1, x8, 1564, x9)
inst_417:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x0, x8, 1568, x9)
inst_418:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x9999999a, x8, 1572, x9)
inst_419:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x66666667, x8, 1576, x9)
inst_420:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xcccccccd, x8, 1580, x9)
inst_421:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x33333334, x8, 1584, x9)
inst_422:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xaaaaaaab, x8, 1588, x9)
inst_423:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x55555556, x8, 1592, x9)
inst_424:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x99999998, x8, 1596, x9)
inst_425:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x66666665, x8, 1600, x9)
inst_426:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xcccccccb, x8, 1604, x9)
inst_427:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x33333332, x8, 1608, x9)
inst_428:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xaaaaaaa9, x8, 1612, x9)
inst_429:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x55555554, x8, 1616, x9)
inst_430:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x99999999, x8, 1620, x9)
inst_431:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x66666666, x8, 1624, x9)
inst_432:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xcccccccc, x8, 1628, x9)
inst_433:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x33333333, x8, 1632, x9)
inst_434:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0xaaaaaaaa, x8, 1636, x9)
inst_435:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccb; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccb, 0x55555555, x8, 1640, x9)
inst_436:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xffffffff, x8, 1644, x9)
inst_437:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x1, x8, 1648, x9)
inst_438:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x0, x8, 1652, x9)
inst_439:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x9999999a, x8, 1656, x9)
inst_440:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x66666667, x8, 1660, x9)
inst_441:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xcccccccd, x8, 1664, x9)
inst_442:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x33333334, x8, 1668, x9)
inst_443:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xaaaaaaab, x8, 1672, x9)
inst_444:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x55555556, x8, 1676, x9)
inst_445:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x99999998, x8, 1680, x9)
inst_446:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x66666665, x8, 1684, x9)
inst_447:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xcccccccb, x8, 1688, x9)
inst_448:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x33333332, x8, 1692, x9)
inst_449:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xaaaaaaa9, x8, 1696, x9)
inst_450:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x55555554, x8, 1700, x9)
inst_451:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x99999999, x8, 1704, x9)
inst_452:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x66666666, x8, 1708, x9)
inst_453:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xcccccccc, x8, 1712, x9)
inst_454:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x33333333, x8, 1716, x9)
inst_455:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0xaaaaaaaa, x8, 1720, x9)
inst_456:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333332; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333332, 0x55555555, x8, 1724, x9)
inst_457:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xffffffff, x8, 1728, x9)
inst_458:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x1, x8, 1732, x9)
inst_459:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x0, x8, 1736, x9)
inst_460:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x9999999a, x8, 1740, x9)
inst_461:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x66666667, x8, 1744, x9)
inst_462:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xcccccccd, x8, 1748, x9)
inst_463:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x33333334, x8, 1752, x9)
inst_464:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xaaaaaaab, x8, 1756, x9)
inst_465:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x55555556, x8, 1760, x9)
inst_466:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x99999998, x8, 1764, x9)
inst_467:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x66666665, x8, 1768, x9)
inst_468:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xcccccccb, x8, 1772, x9)
inst_469:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x33333332, x8, 1776, x9)
inst_470:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xaaaaaaa9, x8, 1780, x9)
inst_471:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x55555554, x8, 1784, x9)
inst_472:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x99999999, x8, 1788, x9)
inst_473:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x66666666, x8, 1792, x9)
inst_474:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xcccccccc, x8, 1796, x9)
inst_475:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x33333333, x8, 1800, x9)
inst_476:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0xaaaaaaaa, x8, 1804, x9)
inst_477:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xaaaaaaa9; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xaaaaaaa9, 0x55555555, x8, 1808, x9)
inst_478:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xffffffff, x8, 1812, x9)
inst_479:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x1, x8, 1816, x9)
inst_480:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x0, x8, 1820, x9)
inst_481:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x9999999a, x8, 1824, x9)
inst_482:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x66666667, x8, 1828, x9)
inst_483:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xcccccccd, x8, 1832, x9)
inst_484:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x33333334, x8, 1836, x9)
inst_485:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xaaaaaaab, x8, 1840, x9)
inst_486:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x55555556, x8, 1844, x9)
inst_487:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x99999998, x8, 1848, x9)
inst_488:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x66666665, x8, 1852, x9)
inst_489:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xcccccccb, x8, 1856, x9)
inst_490:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x33333332, x8, 1860, x9)
inst_491:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xaaaaaaa9, x8, 1864, x9)
inst_492:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x55555554, x8, 1868, x9)
inst_493:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x99999999, x8, 1872, x9)
inst_494:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x66666666, x8, 1876, x9)
inst_495:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xcccccccc, x8, 1880, x9)
inst_496:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x33333333, x8, 1884, x9)
inst_497:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0xaaaaaaaa, x8, 1888, x9)
inst_498:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x55555554; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x55555554, 0x55555555, x8, 1892, x9)
inst_499:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xffffffff, x8, 1896, x9)
inst_500:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x1, x8, 1900, x9)
inst_501:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x0, x8, 1904, x9)
inst_502:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x9999999a, x8, 1908, x9)
inst_503:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x66666667, x8, 1912, x9)
inst_504:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xcccccccd, x8, 1916, x9)
inst_505:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x33333334, x8, 1920, x9)
inst_506:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xaaaaaaab, x8, 1924, x9)
inst_507:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x55555556, x8, 1928, x9)
inst_508:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x99999998, x8, 1932, x9)
inst_509:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x66666665, x8, 1936, x9)
inst_510:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xcccccccb, x8, 1940, x9)
inst_511:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x33333332, x8, 1944, x9)
inst_512:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xaaaaaaa9, x8, 1948, x9)
inst_513:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x55555554, x8, 1952, x9)
inst_514:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x99999999, x8, 1956, x9)
inst_515:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x66666666, x8, 1960, x9)
inst_516:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xcccccccc, x8, 1964, x9)
inst_517:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x33333333, x8, 1968, x9)
inst_518:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0xaaaaaaaa, x8, 1972, x9)
inst_519:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x99999999; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x99999999, 0x55555555, x8, 1976, x9)
inst_520:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xffffffff, x8, 1980, x9)
inst_521:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x1, x8, 1984, x9)
inst_522:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x0, x8, 1988, x9)
inst_523:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x9999999a, x8, 1992, x9)
inst_524:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x66666667, x8, 1996, x9)
inst_525:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xcccccccd, x8, 2000, x9)
inst_526:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x33333334, x8, 2004, x9)
inst_527:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xaaaaaaab, x8, 2008, x9)
inst_528:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x55555556, x8, 2012, x9)
inst_529:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x99999998, x8, 2016, x9)
inst_530:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x66666665, x8, 2020, x9)
inst_531:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xcccccccb, x8, 2024, x9)
inst_532:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x33333332, x8, 2028, x9)
inst_533:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xaaaaaaa9, x8, 2032, x9)
inst_534:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x55555554, x8, 2036, x9)
inst_535:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x99999999, x8, 2040, x9)
inst_536:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x66666666, x8, 2044, x9)
RVTEST_SIGBASE(x8,signature_x8_1)
inst_537:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xcccccccc, x8, 0, x9)
RVTEST_SIGBASE(x8,signature_x8_2)
inst_538:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x33333333, x8, 0, x9)
inst_539:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0xaaaaaaaa, x8, 4, x9)
inst_540:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x66666666; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x66666666, 0x55555555, x8, 8, x9)
inst_541:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xffffffff, x8, 12, x9)
inst_542:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x1, x8, 16, x9)
inst_543:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x0, x8, 20, x9)
inst_544:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x9999999a, x8, 24, x9)
inst_545:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x66666667, x8, 28, x9)
inst_546:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xcccccccd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xcccccccd, x8, 32, x9)
inst_547:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x33333334
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x33333334, x8, 36, x9)
inst_548:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xaaaaaaab
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xaaaaaaab, x8, 40, x9)
inst_549:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x55555556
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x55555556, x8, 44, x9)
inst_550:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x99999998
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x99999998, x8, 48, x9)
inst_551:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x66666665
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x66666665, x8, 52, x9)
inst_552:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xcccccccb
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xcccccccb, x8, 56, x9)
inst_553:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x33333332
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x33333332, x8, 60, x9)
inst_554:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xaaaaaaa9
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xaaaaaaa9, x8, 64, x9)
inst_555:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x55555554
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x55555554, x8, 68, x9)
inst_556:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x99999999
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x99999999, x8, 72, x9)
inst_557:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x66666666
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x66666666, x8, 76, x9)
inst_558:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xcccccccc
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xcccccccc, x8, 80, x9)
inst_559:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x33333333
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x33333333, x8, 84, x9)
inst_560:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0xaaaaaaaa
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0xaaaaaaaa, x8, 88, x9)
inst_561:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xcccccccc; op2val:0x55555555
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xcccccccc, 0x55555555, x8, 92, x9)
inst_562:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0xffffffff, x8, 96, x9)
inst_563:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x1, x8, 100, x9)
inst_564:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x0
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x0, x8, 104, x9)
inst_565:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x9999999a
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x9999999a, x8, 108, x9)
inst_566:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x33333333; op2val:0x66666667
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x33333333, 0x66666667, x8, 112, x9)
inst_567:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0x1
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0x1, x8, 116, x9)
inst_568:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xdfffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xdfffffff, x8, 120, x9)
inst_569:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xffffffff; op2val:0xfffffffd
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xffffffff, 0xfffffffd, x8, 124, x9)
inst_570:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0x7fffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0x7fffffff, 0xffffffff, x8, 128, x9)
inst_571:
//
// opcode: minu ; op1:x30; op2:x29; dest:x31; op1val:0xdfffffff; op2val:0xffffffff
TEST_RR_OP(minu, x31, x30, x29, 0x00000000, 0xdfffffff, 0xffffffff, x8, 132, x9)
#endif
RVTEST_CODE_END
RVMODEL_HALT
RVTEST_DATA_BEGIN
.align 4
rvtest_data:
.word 0xbabecafe
.word 0xabecafeb
.word 0xbecafeba
.word 0xecafebab
RVTEST_DATA_END
RVMODEL_DATA_BEGIN
rvtest_sig_begin:
sig_begin_canary:
CANARY;
signature_x1_0:
.fill 0*(XLEN/32),4,0xdeadbeef
signature_x1_1:
.fill 25*(XLEN/32),4,0xdeadbeef
signature_x8_0:
.fill 512*(XLEN/32),4,0xdeadbeef
signature_x8_1:
.fill 1*(XLEN/32),4,0xdeadbeef
signature_x8_2:
.fill 34*(XLEN/32),4,0xdeadbeef
#ifdef rvtest_mtrap_routine
tsig_begin_canary:
CANARY;
mtrap_sigptr:
.fill 64*(XLEN/32),4,0xdeadbeef
tsig_end_canary:
CANARY;
#endif
#ifdef rvtest_gpr_save
gpr_save:
.fill 32*(XLEN/32),4,0xdeadbeef
#endif
sig_end_canary:
CANARY;
rvtest_sig_end:
RVMODEL_DATA_END
|
Assembly
|
100671601,0.11214788732394367,5.868544600938967e-005,0.013761737089201878,0.33025234741784038,0.35909624413145541,0,8.8028169014084512e-005,0.00049882629107981223,0,0.18213028169014084,0.0019659624413145538,0.2188086854460094,0,0.096009389671361509,0.36816314553990609,0.27162558685446009,0,0.00082159624413145535,0.00029342723004694836,0,0.041607981220657279,0.0026701877934272302,0.12737676056338029,0.0012323943661971832,0.11431924882629108,0.27403169014084505,0.35269953051643194,0,0.001056338028169014,0.0019072769953051643,0,0.125,0.0023767605633802816,0.071185446009389669,0.0030223004694835682,0.0098591549295774655,0.65313967136150231,0.14257629107981221,0,0,0.00014671361502347418,0,0.11751760563380281,0.0025528169014084508,0.096830985915492954,0,0.096185446009389677,0.61132629107981218,0.038703051643192488,0,0.0017605633802816902,0.00058685446009389673,0,0.144806338028169,0.0098004694835680754,0.067928403755868547,0.00046948356807511736,0.11035798122065728,0.47520539906103287,0.026056338028169014,0,0.0052523474178403752,0.016226525821596244,0,0.28151408450704224,0.016989436619718312,0.13579812206572769,0.004518779342723005,0.016402582159624413,0.52896126760563378,0.21006455399061033,0,0.00032276995305164318,0.0037265258215962442,0,0.098855633802816895,0.0013497652582159625,0.22526408450704224,0.0037558685446009389,0.094190140845070422,0.50751173708920183,0.048474178403755869,0,0.0014964788732394366,0.0079518779342722997,0,0.10633802816901408,0.0050176056338028172,0.21235328638497653,0.0039612676056338027,0.17282863849765259,0.36669600938967134,0.1504988262910798,0,0.0011443661971830986,0.0099765258215962441,0,0.064642018779342725,0.017899061032863851
100671680,0.3720070422535211,0.0088908450704225355,8.8028169014084512e-005,0.2443955399061033,0.31511150234741786,0,0,0.00017605633802816902,0,0.05927230046948357,5.868544600938967e-005,0.33990610328638499,0.034330985915492961,0,0.091725352112676059,0.28735328638497654,0,2.9342723004694835e-005,0.0010269953051643193,0,0.24551056338028168,0.00011737089201877934,0.5627347417840376,0.013996478873239437,0,0.090316901408450709,0.12570422535211268,0,2.9342723004694835e-005,0.0011737089201877935,0,0.20604460093896715,0,0.2757335680751174,0.032511737089201881,0.00067488262910798123,0.23254107981220656,0.29507042253521126,0,2.9342723004694835e-005,0,0,0.16026995305164318,0.0031690140845070424,0.018749999999999999,0.036678403755868547,0.0051349765258215966,0.1414319248826291,0.16575704225352111,0.00041079812206572768,0.0083333333333333332,0,0.0015845070422535212,0.62188967136150231,2.9342723004694835e-005,0.23708920187793428,0.032423708920187796,0.0083626760563380274,0.27018779342723004,0.12822769953051644,2.9342723004694835e-005,0.00046948356807511736,0.002142018779342723,0,0.31382042253521125,0.0072476525821596246,0.39107981220657279,0.016725352112676055,0.00049882629107981223,0.32769953051643191,0.24313380281690142,0,0,0.0006161971830985916,0,0.020011737089201877,0.00023474178403755868,0.6475058685446009,0.0026701877934272302,0.0036091549295774648,0.22940140845070423,0.079430751173708916,0,0.00020539906103286384,0.00096830985915492959,0,0.034976525821596244,0.0012323943661971832,0.71402582159624417,0.0022593896713615025,0.0029929577464788732,0.11511150234741784,0.13368544600938967,0.00032276995305164318,0.0010856807511737088,0.0017018779342723004,0,0.025293427230046947,0.0035211267605633804
100671783,0.39920774647887325,0.0426056338028169,0.00029342723004694836,0.16569835680751174,0.16980633802816902,0,2.9342723004694835e-005,0.0016725352112676056,0,0.22033450704225352,0.00035211267605633805,0.47919600938967138,0.0065727699530516428,0.0033744131455399062,0.38896713615023476,0.063321596244131459,0,0,0.0014377934272300471,0,0.057130281690140845,0,0.31361502347417841,0.008509389671361502,0.0021713615023474177,0.33943661971830985,0.2898180751173709,0,0,0.0034624413145539906,0,0.042987089201877937,0,0.36989436619718308,0.0046948356807511738,8.8028169014084512e-005,0.23039906103286384,0.34471830985915491,0,0.00014671361502347418,0.00055751173708920186,0,0.048884976525821598,0.0006161971830985916,0.40927230046948354,0.0091255868544600945,2.9342723004694835e-005,0.43345070422535209,0.044923708920187794,0,0,0.00090962441314553996,0,0.1022887323943662,0,0.2612969483568075,0.013703051643192488,0.0014084507042253522,0.37881455399061031,0.29439553990610329,0,0.00011737089201877934,0.0057805164319248824,0,0.04442488262910798,5.868544600938967e-005,0.42106807511737088,0.066519953051643196,0,0.17092136150234741,0.20880281690140845,0,0,0.00011737089201877934,0,0.13257042253521126,0,0.57831572769953055,0.089524647887323949,0,0.16326291079812208,0.043163145539906106,0,0,0.00038145539906103286,0,0.12535211267605634,0,0.31889671361502347,0.069307511737089197,0.00093896713615023472,0.31637323943661971,0.16452464788732393,0,0,0.00088028169014084509,0,0.12907863849765258,0
100671850,0.49210680751173708,0.0039612676056338027,0.00032276995305164318,0.11707746478873239,0.33694248826291079,0,0,0.0019953051643192489,0,0.04727112676056338,0.00032276995305164318,0.41147300469483566,0.0091255868544600945,0.00041079812206572768,0.38884976525821596,0.14735915492957746,0,5.868544600938967e-005,0.00099765258215962446,0,0.041725352112676056,0,0.33122065727699529,0.0093603286384976534,0.0027875586854460093,0.37197769953051646,0.23459507042253522,0,0,0.0015845070422535212,0,0.048474178403755869,0,0.45143779342723006,0.0048415492957746475,0.00014671361502347418,0.22224178403755868,0.22784624413145541,0,0,0.0012910798122065727,0,0.090669014084507046,0.0015258215962441314,0.35739436619718312,0.0079225352112676055,2.9342723004694835e-005,0.44665492957746478,0.077200704225352107,0,2.9342723004694835e-005,0.00035211267605633805,0,0.11041666666666666,0,0.24457159624413147,0.018104460093896713,0.0026115023474178405,0.50930164319248827,0.16440727699530516,0,0.00011737089201877934,0.0053990610328638498,0,0.055369718309859157,0.00011737089201877934,0.52963615023474175,0.087177230046948356,0,0.13873239436619719,0.20645539906103286,0,0,0.00064553990610328636,0,0.037353286384976529,0,0.54090375586854456,0.10669014084507042,0,0.21076877934272301,0.084419014084507041,0,2.9342723004694835e-005,0.0015258215962441314,0,0.055663145539906103,0,0.4203345070422535,0.092018779342723012,0.00038145539906103286,0.28259976525821595,0.16634389671361502,0,2.9342723004694835e-005,0.0025234741784037557,0,0.035446009389671358,0.00032276995305164318
100671920,0.20953638497652582,0.031836854460093898,0.00011737089201877934,0.043309859154929575,0.63782276995305165,0,0.00041079812206572768,0.0084213615023474176,0,0.068544600938967137,0,0.17341549295774647,0.005663145539906103,0.00014671361502347418,0.30152582159624414,0.42488262910798125,0,0.00041079812206572768,0.00096830985915492959,0,0.09295774647887324,2.9342723004694835e-005,0.3011443661971831,0.015023474178403756,2.9342723004694835e-005,0.023210093896713614,0.6305164319248826,0,8.8028169014084512e-005,0.0028169014084507044,0,0.02699530516431925,0.00017605633802816902,0.13418427230046948,0.016696009389671362,0.0039612676056338027,0.046654929577464789,0.57623239436619722,8.8028169014084512e-005,0.0034624413145539906,0.0028169014084507044,0.00026408450704225349,0.19709507042253521,0.018544600938967135,0.52423708920187795,0.0023474178403755869,0.00032276995305164318,0.27470657276995303,0.18817488262910798,0,0,0.00017605633802816902,0,0.0095657276995305164,0.00046948356807511736,0.3581279342723005,0.0051936619718309859,0.00093896713615023472,0.040492957746478875,0.50977112676056335,0,0.00035211267605633805,0.00064553990610328636,0,0.081543427230046941,0.0029342723004694834,0.28720657276995304,0.00011737089201877934,0.0078345070422535211,0.0036678403755868545,0.60064553990610325,0,5.868544600938967e-005,0,0,0.078080985915492951,0.022388497652582159,0.64149061032863852,0.00035211267605633805,0.019454225352112674,0.063321596244131459,0.21766431924882629,0,0.00055751173708920186,0.00026408450704225349,0,0.037147887323943661,0.019747652582159624,0.31707746478873239,0.0028169014084507044,0.033333333333333333,0.039730046948356808,0.45492957746478874,0,0.0016431924882629107,0.0014671361502347417,0,0.11640258215962442,0.032599765258215965
1269108795,0.31335093896713617,0.025909624413145541,0.0025821596244131454,0.074530516431924876,0.01886737089201878,0,0,0.0030223004694835682,0,0.56150234741784033,0.00023474178403755868,0.44847417840375586,0.029900234741784038,0.032365023474178405,0.1051056338028169,0.034829812206572767,0,0,0.00079225352112676059,0,0.34853286384976528,0,0.2408744131455399,0.26951291079812206,0.0014377934272300471,0.048356807511737092,0.0073650234741784041,0,0,0.0019366197183098592,0,0.43051643192488265,0,0.72620305164319254,0.0082159624413145546,0.057775821596244128,0.16963028169014085,0.026555164319248828,0,0,0.0019953051643192489,0,0.0095657276995305164,5.868544600938967e-005,0.2699237089201878,0.016519953051643194,0.22453051643192487,0.42130281690140847,0.019659624413145539,0,0,0.0067194835680751174,0,0.041343896713615026,0,0.66050469483568075,0.023386150234741783,0.052611502347417842,0.11103286384976525,0.0084800469483568078,0,0,0.0025821596244131454,0,0.14140258215962442,0,0.8212147887323944,0.017752347417840375,0.037206572769953053,0.047946009389671362,0.0043427230046948354,0,0,0.009683098591549295,0,0.061854460093896717,0,0.33553403755868544,0.18879107981220658,0.036384976525821594,0.066901408450704219,0.0013497652582159625,0,8.8028169014084512e-005,0.017576291079812206,0,0.35334507042253521,2.9342723004694835e-005,0.68286384976525827,0.05217136150234742,0.0059859154929577463,0.069865023474178403,0.0046068075117370894,0,8.8028169014084512e-005,0.0093016431924882632,0,0.17508802816901409,2.9342723004694835e-005
1269129775,0.60994718309859153,0.0070715962441314558,0.13327464788732393,0.059213615023474178,0.15601525821596243,0,0.0027582159624413146,0.0067781690140845067,0.00011737089201877934,0.0054284037558685449,0.019395539906103286,0.69556924882629112,0.026379107981220656,0.0025821596244131454,0.042664319248826292,0.23221830985915493,0,0,0.00058685446009389673,0,0,0,0.42992957746478871,0.0014964788732394366,0.11778169014084507,0.19096244131455398,0.16120892018779343,0,0.0069835680751173706,0.02039319248826291,0.00014671361502347418,0.034037558685446008,0.037059859154929577,0.39348591549295775,0.45225938967136148,0.039612676056338031,0.052024647887323944,0.041930751173708918,0,0.00082159624413145535,0.010387323943661972,0,0.0023180751173708918,0.0071596244131455402,0.55583920187793423,0.34818075117370895,0.0084800469483568078,0.039642018779342723,0.032247652582159628,0,0,0.0032570422535211268,0,0.012353286384976526,0,0.35903755868544601,0.043573943661971828,0.22341549295774649,0.16848591549295774,0.083186619718309859,0,0.0091549295774647887,0.011854460093896714,5.868544600938967e-005,0.050909624413145539,0.050322769953051641,0.1563086854460094,0.33609154929577467,0.18714788732394366,0.11792840375586855,0.048532863849765261,0.00020539906103286384,0.022007042253521125,0.012265258215962442,0.00044014084507042255,0.080164319248826291,0.038908450704225349,0.040492957746478875,0.10889084507042253,0.36505281690140845,0.16296948356807511,0.021009389671361501,0.00044014084507042255,0.054166666666666669,0.011971830985915493,0.00088028169014084509,0.11484741784037558,0.1192781690140845,0.1618838028169014,0.092693661971830987,0.27511737089201876,0.19741784037558685,0.078315727699530518,2.9342723004694835e-005,0.02403169014084507,0.013409624413145541,0,0.079870892018779338,0.077230046948356806
1269165903,0.14360328638497652,0.72382629107981222,0.0086267605633802823,0.070334507042253525,0.021801643192488264,0,0.00058685446009389673,0.0061619718309859151,0,0.022271126760563382,0.0027875586854460093,0.37596830985915491,0.27221244131455397,0.014994131455399061,0.24677230046948356,0.048532863849765261,0,0.0012323943661971832,0.0107981220657277,0,0.026437793427230048,0.0030516431924882629,0.08946596244131455,0.72567488262910795,0.019278169014084506,0.084066901408450703,0.024970657276995305,0,0.0035211267605633804,0.020246478873239437,0,0.022153755868544601,0.010622065727699531,0.198943661971831,0.37884389671361501,0.045158450704225354,0.18667840375586855,0.031426056338028169,0,0.014495305164319249,0.016167840375586856,0,0.11252934272300469,0.015757042253521127,0.60102699530516435,0.1505575117370892,0.049471830985915489,0.15167253521126761,0.012676056338028169,0,0.00099765258215962446,0.0055751173708920186,0,0.027376760563380283,0.00064553990610328636,0.27391431924882631,0.15944835680751174,0.091725352112676059,0.29025821596244133,0.029870892018779342,0,0.008274647887323943,0.025440140845070423,0,0.11707746478873239,0.0039906103286384978,0.06610915492957746,0.19304577464788733,0.086619718309859151,0.26684272300469486,0.07811032863849765,0,0.036120892018779341,0.042077464788732394,2.9342723004694835e-005,0.17065727699530517,0.060387323943661975,0.33180751173708922,0.28192488262910798,0.045686619718309861,0.20674882629107982,0.0454518779342723,0,0.0078931924882629113,0.022769953051643192,0,0.05049882629107981,0.0072183098591549295,0.18119131455399062,0.045275821596244131,0.079988262910798122,0.35178990610328637,0.083920187793427234,0,0.033861502347417839,0.029958920187793427,2.9342723004694835e-005,0.16660798122065729,0.027376760563380283
1269172981,0.19677230046948357,0.78603286384976523,0.00038145539906103286,0.010357981220657278,0.0051056338028169015,0,0,0.0013204225352112676,0,2.9342723004694835e-005,0,0.3977112676056338,0.32731807511737088,0.015698356807511738,0.19744718309859155,0.02687793427230047,0,0.0026115023474178405,0.010035211267605634,0,0.021596244131455399,0.00070422535211267609,0.11898474178403756,0.84143192488262908,0.00052816901408450699,0.029636150234741785,0.0051936619718309859,0,8.8028169014084512e-005,0.0021713615023474177,0,0.0019366197183098592,2.9342723004694835e-005,0.58462441314553992,0.33893779342723007,0.00029342723004694836,0.065258215962441316,0.0050469483568075114,0,0,0.0028755868544600941,0,0.0029636150234741785,0,0.50114436619718306,0.21106220657276994,0.047300469483568072,0.15545774647887323,0.012646713615023474,0,0.0071596244131455402,0.013262910798122066,0,0.049471830985915489,0.002494131455399061,0.29460093896713613,0.54219483568075122,0.0019366197183098592,0.11681338028169014,0.0076877934272300465,0,0.0014671361502347417,0.0069542253521126763,0,0.027816901408450705,0.00052816901408450699,0.71226525821596243,0.059595070422535208,0.02171361502347418,0.10933098591549295,0.046919014084507042,0,0.0012910798122065727,0.011913145539906102,0,0.035093896713615021,0.0018779342723004694,0.18482981220657277,0.046273474178403759,0.1010856807511737,0.26223591549295777,0.096537558685446015,0,0.020892018779342724,0.068808685446009391,0,0.19333920187793427,0.025997652582159626,0.37303403755868547,0.053902582159624415,0.023092723004694837,0.20575117370892018,0.087734741784037562,0,0.010093896713615023,0.042194835680751171,2.9342723004694835e-005,0.19536384976525822,0.0088028169014084511
1269190091,0.12825704225352114,0.012705399061032864,0.18195422535211267,0.34424882629107983,0.026496478873239436,0,0.019512910798122066,0.0029342723004694834,0,0.26276408450704225,0.021126760563380281,0.34328051643192486,0.10487089201877935,0.04157863849765258,0.50454812206572774,0.0042840375586854461,0,0,0.0013204225352112676,0,5.868544600938967e-005,5.868544600938967e-005,0.5311032863849765,0.048092723004694839,0.10378521126760563,0.24662558685446009,0.0079812206572769957,0,0.011854460093896714,0.002142018779342723,2.9342723004694835e-005,0.043867370892018781,0.004518779342723005,0.064172535211267603,0.099765258215962438,0.16851525821596244,0.43127934272300472,0.01693075117370892,0,0.0072476525821596246,0.0061913145539906102,0,0.17171361502347418,0.034184272300469484,0.58280516431924878,0.25768779342723003,0.072359154929577466,0.064289906103286387,0.0075997652582159621,0,0.00046948356807511736,0.0046654929577464787,2.9342723004694835e-005,0.010064553990610329,2.9342723004694835e-005,0.35093896713615025,0.45355046948356809,0.027758215962441313,0.11229460093896713,0.0055751173708920186,0,0.0089201877934272297,0.0045481220657276993,0,0.033978873239436623,0.0024354460093896713,0.01754694835680751,0.083010563380281691,0.26654929577464787,0.24284037558685445,0.034653755868544599,0.00032276995305164318,0.022007042253521125,0.029577464788732393,0.00038145539906103286,0.22071596244131456,0.0823943661971831,0.032893192488262911,0.083333333333333329,0.21455399061032865,0.26194248826291078,0.026291079812206571,5.868544600938967e-005,0.058744131455399064,0.014935446009389671,0.0031690140845070424,0.24947183098591549,0.05460680751173709,0.054049295774647885,0.16919014084507042,0.22919600938967136,0.21434859154929578,0.023826291079812205,0.00017605633802816902,0.032511737089201881,0.0083626760563380274,2.9342723004694835e-005,0.19116784037558684,0.077142018779342722
1269200515,0.036179577464788733,0.017312206572769953,0,0.0030223004694835682,0.0010269953051643193,0,0,0.00035211267605633805,0,0.94204812206572774,5.868544600938967e-005,0.49175469483568074,0.023386150234741783,0.012558685446009389,0.0083920187793427234,0.0031396713615023473,0,0,0.00073356807511737085,0,0.45980046948356806,0.00023474178403755868,0.22051056338028169,0.63697183098591548,0,0.0058978873239436619,0.00064553990610328636,0,0,0.00029342723004694836,0,0.13568075117370892,0,0.29143192488262909,0.15161384976525821,0.0011737089201877935,0.022564553990610327,0.0015845070422535212,0,0,0.001789906103286385,0,0.52984154929577465,0,0.75968309859154926,0.02171361502347418,0.029606807511737089,0.072007042253521128,0.0086854460093896708,0,0.00023474178403755868,0.0044014084507042256,0,0.10355046948356808,0.00011737089201877934,0.99225352112676057,0,0.00035211267605633805,0.0046948356807511738,0.0018192488262910799,0,0,0,0,0.00088028169014084509,0,0.99779929577464788,0.00038145539906103286,2.9342723004694835e-005,0.0010856807511737088,0.0006161971830985916,0,0,8.8028169014084512e-005,0,0,0,0.88526995305164324,0,0.051379107981220661,0.04788732394366197,0.01431924882629108,0,0.00011737089201877934,0.00064553990610328636,0,0.00017605633802816902,0.00020539906103286384,0.99870892018779345,0,0,0,0.0012910798122065727,0,0,0,0,0,0
1269983828,0.59688967136150239,0.026789906103286385,0.22470657276995304,0.014935446009389671,0.13433098591549295,0,0,0.0020833333333333333,0,0.00026408450704225349,0,0.47068661971830988,0.059330985915492955,0.06109154929577465,0.15484154929577465,0.25258215962441316,0,0,0.0012910798122065727,0,0.00017605633802816902,0,0.22901995305164319,0.019219483568075117,0.36578638497652582,0.083714788732394366,0.10413732394366197,0.00029342723004694836,0.024471830985915492,0.0026115023474178405,0.00011737089201877934,0.067282863849765256,0.10334507042253521,0.19938380281690141,0.47297535211267605,0.11707746478873239,0.065434272300469484,0.010269953051643193,0,0.0044307511737089198,0.0052816901408450703,0,0.12253521126760564,0.0026115023474178405,0.72614436619718314,0.16464201877934273,0.04750586854460094,0.028609154929577465,0.01511150234741784,0,0,0.0019366197183098592,0,0.016050469483568076,0,0.076995305164319253,0.39847417840375587,0.32001173708920189,0.033626760563380279,0.0091842723004694829,8.8028169014084512e-005,0.03045774647887324,0.010152582159624413,2.9342723004694835e-005,0.052376760563380281,0.068603286384976522,0.023943661971830985,0.49556924882629105,0.17485328638497652,0.062881455399061037,0.0063380281690140847,0.00011737089201877934,0.036179577464788733,0.0071302816901408451,5.868544600938967e-005,0.15070422535211267,0.04222417840375587,0.34072769953051646,0.053462441314553993,0.18306924882629108,0.26338028169014083,0.062588028169014084,5.868544600938967e-005,0.015522300469483568,0.0029929577464788732,0.00014671361502347418,0.042341549295774647,0.035710093896713618,0.1561913145539906,0.25780516431924883,0.19826877934272299,0.070481220657276994,0.059301643192488263,0.00017605633802816902,0.031660798122065729,0.0085680751173708922,0,0.10123239436619719,0.11631455399061033
1269997896,0.025498826291079812,0,0.03045774647887324,0.90941901408450709,0.034595070422535214,0,0,2.9342723004694835e-005,0,0,0,0.098532863849765256,0.01663732394366197,5.868544600938967e-005,0.87051056338028165,0.013996478873239437,0,0,0.00026408450704225349,0,0,0,0.06326291079812206,0,0.086971830985915488,0.79700704225352115,0.052640845070422534,0,0,0,0,0,0.00011737089201877934,0.12265258215962441,0.065463615023474184,0.53348004694835682,0.084653755868544595,0.033010563380281688,0,8.8028169014084512e-005,0.0029636150234741785,0,0.15666079812206574,0.0010269953051643193,0.44662558685446008,0.298268779342723,0.034037558685446008,0.15704225352112677,0.0076291079812206572,0,2.9342723004694835e-005,0.00026408450704225349,0,0.056073943661971833,2.9342723004694835e-005,0.16828051643192488,0.074677230046948359,0.61960093896713619,0.09580399061032864,0.035886150234741787,0,0,0.0041079812206572773,0,0.0012910798122065727,0.00035211267605633805,0.054225352112676053,0.16654929577464789,0.0062206572769953053,0.040727699530516429,0.0023180751173708918,0,0.012910798122065728,0.0030809859154929575,0,0.71167840375586855,0.0022887323943661972,0.1476525821596244,0.091872065727699528,0.023298122065727699,0.11153169014084507,0.0056924882629107981,0,0.041343896713615026,0.0077758215962441318,0,0.554137323943662,0.016696009389671362,0.0039612676056338027,0.4516725352112676,0.029665492957746478,0.07605633802816901,0.0056338028169014088,0,0.048356807511737092,0.011238262910798122,5.868544600938967e-005,0.3552816901408451,0.01807511737089202
1270011368,0.08729460093896714,0.012235915492957746,0.63421361502347418,0.06211854460093897,0.01663732394366197,0.0051936619718309859,0.00052816901408450699,0.0083626760563380274,0.00014671361502347418,0.019278169014084506,0.15399061032863851,0.27136150234741785,0.037998826291079812,0.47197769953051644,0.10000000000000001,0.013732394366197184,0.00020539906103286384,5.868544600938967e-005,0.0097417840375586852,0,0.025000000000000001,0.069923708920187788,0.10249413145539907,0.01807511737089202,0.7586854460093897,0.016784037558685447,0.012411971830985916,0,2.9342723004694835e-005,0.0037265258215962442,2.9342723004694835e-005,0.011384976525821596,0.076379107981220662,0.018603286384976526,0.055105633802816904,0.045950704225352114,0.017634976525821595,0.00017605633802816902,0.0016138497652582161,0.0024061032863849766,0.015933098591549295,5.868544600938967e-005,0.8294894366197183,0.013028169014084507,0.36625586854460096,0.30936032863849766,0.00076291079812206572,0.2108274647887324,0.0023180751173708918,0,0.00076291079812206572,0.0078638497652582153,0,0.10184859154929578,0,0.21528755868544602,0.25302230046948354,0.22737676056338027,0.15134976525821597,0.0034037558685446009,0,0.00070422535211267609,0.010680751173708921,0,0.12728873239436619,0.010886150234741784,0,0,0.0076584507042253523,0.013262910798122066,2.9342723004694835e-005,0,0.0023180751173708918,0.00076291079812206572,0,0.97567488262910795,0.00029342723004694836,0.1959507042253521,0.15977112676056338,0.093779342723004699,0.27687793427230045,0.0060446009389671365,0,0.0053110328638497654,0.011649061032863849,0,0.24900234741784039,0.0016138497652582161,0.34967723004694834,0.12772887323943663,0.086443661971830982,0.31402582159624415,0.016989436619718312,0,0.00046948356807511736,0.011326291079812206,0,0.093192488262910794,0.00014671361502347418
1270019458,0.0058392018779342726,0.98529929577464792,0.0029929577464788732,0.0029049295774647888,0.0010269953051643193,0,8.8028169014084512e-005,0.00011737089201877934,0,0.0016431924882629107,8.8028169014084512e-005,0.13682511737089201,0.71197183098591554,0.0079812206572769957,0.10299295774647887,0.019776995305164319,0,0.00082159624413145535,0.0046654929577464787,0,0.013849765258215962,0.0011150234741784037,0.020246478873239437,0.95642605633802813,0.0014671361502347417,0.015639671361502346,0.003902582159624413,0,0.00026408450704225349,0.00058685446009389673,0,0.0011737089201877935,0.00029342723004694836,0.35944835680751175,0.29753521126760563,0.050674882629107978,0.1845950704225352,0.044190140845070419,0,0.0034037558685446009,0.012470657276995305,0,0.040316901408450706,0.0073650234741784041,0.44926643192488264,0.040287558685446007,0.093632629107981216,0.26960093896713616,0.019630281690140847,2.9342723004694835e-005,0.014172535211267606,0.014935446009389671,5.868544600938967e-005,0.088937793427230044,0.0094483568075117378,0.34439553990610328,0.26367370892018777,0.067048122065727703,0.20666079812206573,0.031279342723004692,0,0.0091549295774647887,0.021654929577464788,2.9342723004694835e-005,0.05035211267605634,0.0057511737089201882,0.30842136150234739,0.16317488262910798,0.079430751173708916,0.20991784037558686,0.056279342723004694,0,0.025352112676056339,0.024941314553990609,0,0.087147887323943657,0.045334507042253523,0.12470657276995305,0.38673708920187794,0.054958920187793428,0.2101819248826291,0.041226525821596242,0,0.020481220657276995,0.027758215962441313,2.9342723004694835e-005,0.11094483568075117,0.022975352112676057,0.24043427230046949,0.37576291079812207,0.020627934272300471,0.2244424882629108,0.053667840375586855,0,0.0087734741784037552,0.028491784037558684,0,0.041930751173708918,0.0058685446009389668
1270071472,0.027640845070422537,0.059507042253521124,0.11792840375586855,0.33914319248826291,0.42878521126760566,0,0.00029342723004694836,0.0012030516431924883,2.9342723004694835e-005,0.013673708920187794,0.011795774647887324,0.019395539906103286,0.18521126760563381,0.16883802816901408,0.43541666666666667,0.14043427230046948,0,0.00096830985915492959,0.00076291079812206572,0,0.038262910798122066,0.010710093896713615,0.024765258215962441,0.086913145539906103,0.14732981220657276,0.58465375586854462,0.12711267605633803,0,0.00049882629107981223,0.0010269953051643193,0,0.022564553990610327,0.0051349765258215966,0.013761737089201878,0.10008802816901409,0.01085680751173709,0.72077464788732393,0.11323356807511738,0,0.00017605633802816902,0.00079225352112676059,0,0.039172535211267609,0.0011443661971830986,0.01602112676056338,0.19677230046948357,0,0.7696596244131455,0.00020539906103286384,0,0,0.00070422535211267609,0,0.01663732394366197,0,0.010299295774647887,0.090962441314553985,0.0426056338028169,0.74102112676056342,0.022652582159624412,0,0.0012617370892018778,0.0032276995305164321,0,0.085827464788732391,0.002142018779342723,0.088908450704225359,0.0090669014084507043,0.014612676056338028,0.46329225352112674,0.41833920187793427,0,5.868544600938967e-005,0.0006161971830985916,0,0.0038732394366197184,0.0012323943661971832,0.031161971830985916,0.024735915492957745,0.030252347417840376,0.7757335680751174,0.12567488262910798,0,0.0006161971830985916,0.0041373239436619715,0,0.0073650234741784041,0.00032276995305164318,0.0067488262910798125,0.0087441314553990609,0.13964201877934274,0.7443955399061033,0.040962441314553989,0,0.0030809859154929575,0.017224178403755869,0,0.03345070422535211,0.0057511737089201882
1270489840,0.07321009389671361,0.77370892018779347,0.029636150234741785,0.06804577464788733,0.023855633802816901,0,0.0027875586854460093,0.012118544600938967,0,0.0093016431924882632,0.007335680751173709,0.33732394366197183,0.29055164319248827,0.084976525821596247,0.19228286384976526,0.04363262910798122,0,0.0053110328638497654,0.019307511737089202,0,0.020363849765258214,0.0062500000000000003,0.040023474178403753,0.93268779342723007,0.0012617370892018778,0.017781690140845071,0.0040786384976525822,0,0.00017605633802816902,0.0024354460093896713,0,0.0011150234741784037,0.00044014084507042255,0.1504988262910798,0.32640845070422536,0.087764084507042248,0.27693661971830985,0.055868544600938964,0,0.010123239436619719,0.012940140845070423,0,0.061502347417840372,0.01795774647887324,0.41420187793427232,0.17623239436619717,0.069571596244131451,0.24398474178403756,0.026261737089201879,0,0.0086561032863849766,0.0142018779342723,0.00044014084507042255,0.040580985915492959,0.0058685446009389668,0.061150234741784035,0.539612676056338,0.077787558685446012,0.20859741784037558,0.026408450704225352,0,0.013174882629107982,0.0091842723004694829,5.868544600938967e-005,0.057805164319248828,0.0062206572769953053,0.10000000000000001,0.0034624413145539906,0.27056924882629108,0.29903169014084507,0.067576291079812209,0,0.052024647887323944,0.022828638497652581,0.00011737089201877934,0.11411384976525822,0.070275821596244126,0.053491784037558686,5.868544600938967e-005,0.33450704225352113,0.25246478873239436,0.036003521126760564,0,0.096214788732394363,0.023415492957746479,0.00014671361502347418,0.14815140845070424,0.055545774647887326,0.15313967136150236,0.00041079812206572768,0.20701291079812206,0.44389671361502347,0.058773474178403756,0,0.030721830985915494,0.015669014084507042,0,0.062558685446009385,0.027816901408450705
142043652,0,0.99791666666666667,0,0.0019659624413145538,0.00011737089201877934,0,0,0,0,0,0,0.0036971830985915491,0.95583920187793425,0.00038145539906103286,0.034184272300469484,0.003550469483568075,0,0.0010856807511737088,0.0006161971830985916,0,0.00064553990610328636,0,0,1,0,0,0,0,0,0,0,0,0,0.0010856807511737088,0.090228873239436624,0,0.023826291079812205,0.88482981220657275,0,0,0,0,0,2.9342723004694835e-005,0.006396713615023474,0.010299295774647887,0.0010856807511737088,0.051672535211267606,0.92984154929577467,0,0.00044014084507042255,5.868544600938967e-005,0,8.8028169014084512e-005,0.00011737089201877934,0.0023767605633802816,0.052582159624413143,0.0032570422535211268,0.065815727699530521,0.87397300469483563,0,0,0,0,0.0019659624413145538,2.9342723004694835e-005,0.0022887323943661972,0.00064553990610328636,0.012764084507042254,0.019571596244131455,0.94768192488262915,8.8028169014084512e-005,0.00038145539906103286,0.00026408450704225349,5.868544600938967e-005,0.0085974178403755864,0.0076584507042253523,0.0061032863849765258,0.0013497652582159625,0.0027288732394366196,0.025586854460093896,0.93535798122065728,0.00023474178403755868,0.0012617370892018778,0.00041079812206572768,0.00029342723004694836,0.024589201877934272,0.0020833333333333333,0.010475352112676056,0.00070422535211267609,0.003433098591549296,0.033597417840375586,0.91141431924882632,0.00023474178403755868,0.00070422535211267609,0.00032276995305164318,0,0.031690140845070422,0.0074237089201877934
1438241858,7.7600589764482207e-005,0.056221627284367359,0,0.019167345671827107,0.00081480619252706325,0,0.002134016218523261,0.0015908120901718854,0,0.91999379195281883,0,0,0.063593683311993165,0,0.026772203468746363,0.00062080471811585766,0,0.00065960501299809876,0.0012028091413494742,0,0.90715089434679708,0,0.32324525666395065,0.0041128312575175567,0.12125092150700345,0.064253288324991276,0.041904318472820397,0,0.0011640088464672331,0.012765297016257324,0,0.43087727466728748,0.00042680324370465217,0.0014744112055251619,0.051449191013851703,0.00093120707717378654,0.031117836495557365,0.0025996197571101541,0,0.14674271524463586,0.2743956854072091,0.00081480619252706325,0.4904745276064098,0,0.24141543475730415,0.049586776859504134,0.058937647926124236,0.069956931672680717,0.095448725410313115,0,0.10138517052729601,0.12551895394404997,0.0019400147441120553,0.2440926551041788,0.011717689054436814,0.42738524812788575,0.00085360648740930435,0.13909905715283435,0.067279711325806082,0.25976797423660419,0.00069840530788033985,0.0014356109106429208,0.0058200442323361658,0.00097000737205602764,0.04807356535909673,0.048616769487448107,0.28025452993442751,0.0077212586815659798,0.12602335777751911,0.099871959026888599,0.073604159391611371,0.0010088076669382687,0.046637954448453811,0.144996701974935,0.0038412291933418692,0.20909478912039731,0.0069452527839211579,0.28681177976952626,0.0038412291933418692,0.16796647654522173,0.10115236875800256,0.095565126294959848,0.0084972645792108017,0.065417297171458499,0.052225196911496526,0.018856943312769176,0.19260466379544486,0.0070616536685678809,0.34714623831141117,0.00015520117952896441,0.33069491328134093,0.027664610251037908,0.13735304388313352,0.0022504171031699841,0.014356109106429208,0.0040352306677530749,0.013308501144608699,0.083226632522407168,0.039809102549179375
19303904,0.040698356807511736,0.91235328638497648,0.00017605633802816902,0.039407276995305163,0.0046361502347417836,0,2.9342723004694835e-005,0.00011737089201877934,0,0.0025821596244131454,0,0.20642605633802816,0.6421068075117371,0.00096830985915492959,0.12860915492957747,0.0093016431924882632,0,5.868544600938967e-005,0.0015845070422535212,2.9342723004694835e-005,0.010915492957746478,0,0,1,0,0,0,0,0,0,0,0,0,0.13465375586854461,0.51590375586854464,0.00085093896713615022,0.20000000000000001,0.0054284037558685449,0,0.0023474178403755869,0.00090962441314553996,2.9342723004694835e-005,0.13987676056338028,0,0.32529342723004695,0.11493544600938967,0.011150234741784037,0.45607394366197185,0.012235915492957746,0,0.0052816901408450703,0.0012323943661971832,0.00017605633802816902,0.073620892018779346,0,0.044454225352112679,0.74580399061032865,0.00023474178403755868,0.11748826291079813,0.0024354460093896713,0,8.8028169014084512e-005,0.00029342723004694836,0,0.089201877934272297,0,0.24762323943661971,0.16167840375586853,0.00085093896713615022,0.52637910798122067,0.0054577464788732391,0,0.005927230046948357,0.00026408450704225349,0,0.051819248826291082,0,0.44668427230046948,2.9342723004694835e-005,0.0014964788732394366,0.52508802816901412,0.021068075117370893,0,0.00017605633802816902,0,0,0.0054284037558685449,2.9342723004694835e-005,0.21751760563380282,0.22588028169014085,0.00099765258215962446,0.41029929577464791,0.095246478873239435,0,0.00073356807511737085,0.00023474178403755868,0,0.049002347417840375,8.8028169014084512e-005
219919735,0.0015421686746987951,0.055903614457831326,0,0.62771084337349392,0.0012530120481927711,0,0.00072289156626506026,0,0,0.31286746987951808,0,0.00086746987951807225,0.25325301204819278,0,0.6881927710843373,9.6385542168674694e-005,0,0.003469879518072289,0,0,0.054120481927710844,0,0.35257831325301203,0.042698795180722893,9.6385542168674694e-005,0.27431325301204817,0.26539759036144578,0,0.0082409638554216871,0,0,0.056674698795180722,0,0.35691566265060243,0.022024096385542168,0,0.21118072289156625,0.19387951807228915,0,0.00053012048192771087,0,0,0.21546987951807228,0,0.1015421686746988,0.049542168674698794,0.042457831325301204,0.53359036144578309,0.0699277108433735,0,0.0089638554216867478,0,0,0.19397590361445782,0,0.7677590361445783,0,0,0.0028433734939759038,0.21291566265060241,0,0.00038554216867469878,0,0,0.016096385542168676,0,0.30462650602409641,0.23012048192771084,0.0016867469879518072,0.095373493975903612,0.35542168674698793,0,0,0,0,0.012771084337349397,0,0.56525301204819278,0.00038554216867469878,0.02597590361445783,0.030313253012048194,0.32371084337349398,0,0.00024096385542168674,0,0,0.054120481927710844,0,0.79416867469879515,0,9.6385542168674694e-005,0.00014457831325301204,0.20539759036144578,0,0,0,0,0.00019277108433734939,0
2473656225,0.038749592966460439,0.58243785954629324,0.0028763703462498643,0.079561489200043412,0.0061326386627591446,0,0.0022793878215564964,0.0047215890589384565,0,0.28313253012048195,0.00010854227721697601,0.46694887658743078,0.20623032671225441,0.047270161727993053,0.20552480191034408,0.016172799305329427,0,0.0084662976229241283,0.0078693150982307603,0.00016281341582546403,0.035276240095517206,0.0060783675241506564,0.29984804081189625,0.39965266471290567,0.056441984152827529,0.14539238033213936,0.035927493758819061,0,0.0018994898512970802,0.0012482361879952242,5.4271138608488005e-005,0.030717464452404211,0.028817974601107132,0.13296428959079562,0.034245088461955932,0.15353305112341256,0.36177140996418106,0.051937479648323022,0,0.022034082275046132,0.0056984695538912404,5.4271138608488005e-005,0.2203408227504613,0.01742103549332465,0.19011179854553348,0,0.20699012265277325,0.56979268425051555,0.020460219255399977,0,0.0051014870291978725,0.00021708455443395202,0,0.0059698252469336808,0.0013567784652122002,0.55367415608379467,0.012265277325518289,0.048301313361554327,0.28671442526864216,0.092749375881906002,0,0.00021708455443395202,0.0010311516335612721,0,0.0039075219798111365,0.0011396939107782482,0.20253988928687724,0.0068381634646694891,0.13491805058070119,0.39471399109953326,0.10202974058395745,0,0.019863236730706609,0.0086833821773580813,0,0.10794529469228265,0.022468251383914034,0.16498426136980354,5.4271138608488005e-005,0.18897210463475525,0.40068381634646694,0.10729404102898078,0,0.011071312276131553,0.0077607728210137847,0,0.079995658308911324,0.039183762075328338,0.50884619559318356,0.010962769998914577,0.0094974492564854004,0.27661999348746336,0.12373819602735266,0,0.0027678280690328883,0.006621078910235537,0,0.056387713014219042,0.0045587756431129927
2473656417,0.22099207641376317,0.0013025073266037122,0.30863996526647131,0.39004667317920327,0.077499185932920878,0,0,0.0010854227721697602,0,0.00043416910886790404,0,0.1814826875067839,0.018180831433843483,0.038912406382285901,0.66601541300336486,0.093020731574948445,0,0,0.0020623032671225443,0,0.00032562683165092806,0,0.24915879735156843,0.0052100293064148489,0.14490394008466298,0.52257679366113097,0.07397156192336915,0,0,0.0023336589601649842,0,0.0018452187126885922,0,0.036958645392380335,0.038695321827851951,0.57858460870509065,0.043091284055139477,0.0040160642570281121,0,0.0018994898512970802,0.0028220992076413761,0,0.29393248670357103,0,0.28676869640725061,0.62330402691848474,0.065885162270704442,0.018777813958536851,0.0021708455443395203,0,0,0.00043416910886790404,0,0.0026592857918159123,0,0.093780527515467269,0.41701942906762185,0.39628785411917944,0.05828720286551612,0.002008032128514056,0,0.00097688049495278412,0.0074894171279713444,0,0.024150656680777163,0,0.0017366764354716162,0.062845978508629108,0,0.0094431781178769131,0.0014653207424291761,0,0,0,0,0.92450884619559315,0,0.24763920547053078,0.60126994464343864,5.4271138608488005e-005,0.11874525127537176,0.019266254206013241,0,0,0,0,0.012862259850211657,0.00016281341582546403,0.097905134049712364,0.40665364159340062,0.0071637902963204167,0.11467491587973516,0.0043959622272875289,0,0.0011939650493867362,0.0005969825246933681,0,0.36486486486486486,0.0025507435145989362
2473657671,0.035167697818300231,0.82133941170085745,0.012590904157169217,0.059209812221860413,0.00027135569304244004,0,0.002008032128514056,0.0089547378704005216,0,0.060458048409855636,0,0.402583306197764,0.50195376098990552,0.04580484098556388,0.0034733528709432323,0.0015738630196461521,0,0,0.044610875936177144,0,0,0,0.5434711820253989,0.45500922609356342,0,0.00086833821773580808,5.4271138608488005e-005,0,0,0.0005969825246933681,0,0,0,0.40963855421686746,0.35373928145012484,0.03858677955063497,0.037881254748724627,0.0061869098013676328,0,0.0037989797025941604,0.035927493758819061,0,0.11424074677086725,0,0.4560946488657332,0.26098990556821883,0.042168674698795178,0.0028763703462498643,0.0046673179203299683,0,5.4271138608488005e-005,0.23162921958102681,0.0015195918810376641,0,0,0.29735156843590577,0.55296863128188434,0,0.00081406707912732006,0,0,0.0028763703462498643,0.1367089981547813,0.0092803647020514492,0,0,0.97091066970585038,0,5.4271138608488005e-005,0,0.028980788016932595,0,0,5.4271138608488005e-005,0,0,0,0.94453489634212529,0,0.0073808748507543688,0,0.048029957668511883,0,0,5.4271138608488005e-005,0,0,0,0.95099316183653537,0.0035276240095517206,0,0.0055899272766742648,0.016335612721154889,0,0,0.013187886681862585,0,0.010365787474221209,0
2474473486,0.00075979594051883204,0.99658091826766526,0.0012482361879952242,0.0012482361879952242,0.00016281341582546403,0,0,0,0,0,0,0.060186692716813199,0.87989797025941607,0.036361662867686967,0.018289373711060458,0.0029306414848583521,0,0.00027135569304244004,0.00070552480191034403,0,0.00070552480191034403,0.00065125366330185612,0.01145121024639097,0.98822316292195811,0,0.00010854227721697601,0.00010854227721697601,0,0,0.00010854227721697601,0,0,0,0.11006186909801367,0.63991099533268203,0.17752089438836427,0.033756648214479539,0.012536633018560729,0,0.00097688049495278412,0.0005969825246933681,0,0.0016824052968631281,0.022956691631390427,0.7988711603169435,0.038098339303158583,0.066536415934006291,0.078584608705090639,0.012048192771084338,0.00010854227721697601,0.00021708455443395202,0.0030934549006838164,0,0.0010311516335612721,0.0014110496038206881,0.39498534679257569,0.50439596222728755,0.046998806034950616,0.029197872571366548,0.0065668077716270487,0.00037989797025941602,0.00037989797025941602,0.0013567784652122002,0.00021708455443395202,0.00081406707912732006,0.01470747856290025,0.16085965483555845,0.12205579073048953,0.42939324867035711,0.05253446217301639,0.16986866384456745,0.00010854227721697601,0.0020623032671225443,0.0009226093563442961,0.00054271138608488008,0.0051014870291978725,0.056550526430044504,0.31227613155323997,0.13562357538261152,0.30484098556387712,0.032237056333441878,0.20221426245522631,0,0.00016281341582546403,0.00075979594051883204,5.4271138608488005e-005,0.0015195918810376641,0.010311516335612721,0.48181916856615653,0.055248019103440793,0.18723542819928363,0.050580701183110824,0.15304461087593618,0.00021708455443395202,0.00032562683165092806,0.00043416910886790404,0,0.012645175295777706,0.058450016281341582
2474475260,0.37343970476500599,0.013404971236296538,0.53158580267014,0.0094431781178769131,0.071040920438510805,0,0,5.4271138608488005e-005,0,0.0010311516335612721,0,0.72446542928470636,0.03706718766959731,0.18034299359600564,0.013893411483772929,0.039238033213936825,0,0,0.0013025073266037122,0,0.0036904374253771844,0,0.24535981764897427,0.017529577770541625,0.66471290567676111,0.022848149354173449,0.046456094648865735,0,0.00016281341582546403,0.00010854227721697601,0,0.0024422012373819602,0.00037989797025941602,0.4086616737219147,0.3819060023879301,0.1415934006295452,0.046347552371648761,0.010528600890046673,0,0,0.0025507435145989362,0,0.0083034842070986645,0.00010854227721697601,0.73743623141213499,0.067079127320091178,0.0014653207424291761,0.084988603060892218,0.01742103549332465,0,5.4271138608488005e-005,0.00021708455443395202,0,0.091066970585042872,0.00027135569304244004,0.47802018886356235,0.17274503419081733,0.14582654944100729,0.088950396179311844,0.013947682622381418,0,0.00097688049495278412,0.0051557581678063607,0.00010854227721697601,0.082600672962118746,0.011668294800824921,0.32470422229458373,0.479756865299034,0.043851079995658307,0.045696298708346898,0.089818734397047656,0,5.4271138608488005e-005,0.00027135569304244004,0,0.013947682622381418,0.0018994898512970802,0.50824921306849014,0.0073266037121458806,0.10468902637577336,0.11212417236513622,0.2089981547812873,0,0.00032562683165092806,0,0,0.041517421035493322,0.016769781830022795,0.39590795614891999,0.018560729404102898,0.030988820145446652,0.19825246933680668,0.10843373493975904,0,0.00075979594051883204,0.0015195918810376641,0,0.20064039943558015,0.044936502767828068
2492729631,0.25986907359650863,0.50479402235006277,0.028532698538649738,0.035508827613568737,0.13820009257422469,6.6124446207763005e-005,0,0.031574423064206839,0.0014216755934669048,0,3.3062223103881503e-005,0.48535343516498047,0.32586127091185613,0.029855187462804997,0.020498578324406533,0.12375190107782848,0,0.00019837333862328903,0.013886133703630232,0.00023143556172717052,9.9186669311644515e-005,0.00026449778483105202,0.51474575150433111,0.2974608212656219,0.022350062818223899,0.004000528995569662,0.13519143027177147,0,6.6124446207763005e-005,0.025391787343780996,0.00079349335449315612,0,0,0.34338424915691329,0.12881042121272235,0.18776036500694307,0.033326720888712559,0.30248627917741189,0,0,0.0022151689479600607,0.00089268002380480066,9.9186669311644515e-005,0.0010249289162203266,0.24426370429147656,0.22095483700324009,0.081465317727964032,0.13135621239172121,0.31733121735105468,3.3062223103881503e-005,0.00019837333862328903,0.002281293394167824,6.6124446207763005e-005,0.00029756000793493357,0.0017522978245057197,0.55382529921311907,0.073596508629240234,0.031144614163856377,0.013522449249487535,0.32731600872842692,0,0,0.00046287112345434105,9.9186669311644515e-005,0,3.3062223103881503e-005,0.1363816703035112,0,0.21027573894068638,3.3062223103881503e-005,0.65307809297097141,3.3062223103881503e-005,0,0,0,0,0.00019837333862328903,0.22069033921840905,0,0.2168220591152549,0.00023143556172717052,0.56146267275011574,0.00013224889241552601,0,3.3062223103881503e-005,0.00033062223103881507,0,0.00029756000793493357,0.46816107915096211,0,0.10966739403557495,0,0.42210540236725519,0,0,3.3062223103881503e-005,0,0,3.3062223103881503e-005
2493558428,0.034682272035971698,0.0022482311710639424,0.012497520333267209,0.031541360841102956,0.022019440587185083,3.3062223103881503e-005,0.0020829200555445349,0.00033062223103881507,0.00069430668518151157,0.89297758381273562,0.00089268002380480066,0.11178337631422337,0.012795080341202143,0.19050452952456523,0.076472922039277927,0.17179131124776831,0.004529524565231766,0.016498049328836872,0.00062818223897374858,0.0017522978245057197,0.38722475699266018,0.026019969582754744,0.028268200753818688,0.62943860345169611,0.054486543675196723,0.036170072075646369,0.030483369701778746,0.00052899556966210404,0.0029425378562454542,0.0010249289162203266,0.00029756000793493357,0.20634133439132446,0.010017853600476096,0.18174304040203662,0.081300006612444617,0.046055676783706936,0.35409640944257093,0.13581961251074523,9.9186669311644515e-005,0.013324075910864246,0.0096541691463333992,0.0010910533624280897,0.17089863122396351,0.0059181379355947895,0.25031409111948688,0.0030747867486609799,0.047774912385108774,0.12196654103021887,0.52311049394961318,3.3062223103881503e-005,0.0020829200555445349,3.3062223103881503e-005,0,0.043377636712292535,0.0082324935528664944,0.096211069232295179,0.1624677643324737,0.2429412153673213,0.2872445943265225,0.12583482113337302,0.0010910533624280897,0.0043311512266084769,0.0009918666931164452,0.00013224889241552601,0.05885075712490908,0.019903458308536667,0.27428420286980099,0.0030747867486609799,0.045791178998875887,0.42326258017589102,0.23705613965483038,0,0.0042980890035045956,0.0009257422469086821,0,0.010844409178073134,0.00046287112345434105,0.053263241420353102,9.9186669311644515e-005,0.1331746346624347,0.51616742709779806,0.27316008728426899,0,0.0053230179197249223,0.00013224889241552601,3.3062223103881503e-005,0.018151160484030947,0.0004959333465582226,0.085895655623884154,0.0012894267010513786,0.10335250942273358,0.5243668584275607,0.24928916220326655,0,0.0053560801428288035,0.00029756000793493357,0.00019837333862328903,0.029590689677973948,0.00036368445414269656
2493559316,0.65003636844541424,0,0.005984262381802552,0.035641076505984262,0.30833829266679891,0,0,0,0,0,0,0.68832242279970901,0,0,0,0.31167757720029093,0,0,0,0,0,0,0.7180784235932024,0,0.00042980890035045955,0.060503868280103151,0.22098789922634399,0,0,0,0,0,0,0.59257422469086818,0.029127818554519607,0.0031739734179726245,0.035971698737023078,0.28489717648614693,0,0.00039674667724657806,3.3062223103881503e-005,0,0.053263241420353102,0.00056205779276598559,0.12943860345169608,0.018184222707134826,0.087383455663558818,0.26644845599418104,0.30437082589433312,0,0.0057528268200753817,0,0,0.14841631951332407,0.040005289955696618,0.6111221318521457,0.013919195926734114,0.0025788534021027572,0.065595450638100905,0.26152218475170269,0,0,0.00013224889241552601,0,0.045129934536798255,0,0.46855782582820871,0.073001388613370369,0.096244131455399062,0.1485485684057396,0.19764596971500364,0,0.00013224889241552601,0.0010579911393242081,0,0.01319182701844872,0.0016200489320901937,0.37409905442041924,0.0019506711631290087,0.10682404284864114,0.20240692984196257,0.28770746544997683,0,0.00016531111551940753,0,0,0.026681214044832376,0.00016531111551940753,0.4040534285525359,0.030318058586259342,0.15978972426105931,0.14292799047807975,0.16891489783773062,0,0,9.9186669311644515e-005,0,0.092607286913972089,0.0012894267010513786
253200283,0.045129934536798255,0.036864378760827876,0.002545791178998876,0.0024135422865833498,0.0094227335846062289,0.0017853600476096013,0.004000528995569662,0.019605898300601731,0.0034054089796997952,0.87399986775110761,0.00082655557759703767,0.0038682801031541363,0.46650796799576805,0.0055213912583482114,0.0011571778086358526,0.0014547378165707862,0.045890365668187529,0.01011704026978774,0.31260331944719966,0.094491833630893335,0.057594392646961583,0.00079349335449315612,0,0.45963102559016067,0,0,0,0,0,0.54036897440983933,0,0,0,0.12566951001785359,0.40656615750843089,0.0010249289162203266,0.0027111022945182834,0.010381538054618793,0,0.0066785690669840638,0.16385637770283673,3.3062223103881503e-005,0.28235138530714804,0.00072736890828539312,0.028069827415195397,0.48637836408120083,0.002545791178998876,0.002281293394167824,0.020035707200952192,0.0076043113138927459,0.0009918666931164452,0.41178998875884415,0.039046485485684054,0.0011902400317397343,6.6124446207763005e-005,0.0027772267407260463,0.66874958672221119,0.0063810090590491302,0.003008662302453217,0.0043972756728162402,0.0029094756331415725,0.00085961780070091911,0.26380347814587052,0.046485485684057394,0.00026449778483105202,0.00036368445414269656,0.27299477616874956,0.38534021027573895,0.030813991932817562,0.0039674667724657808,0.11161806519870396,0,0.0012233022548436157,0.14461416385637771,0,0.049097401309264037,0.00033062223103881507,0.33177940884745089,0.11575084308668915,0.11680883422601336,0.01229914699464392,0.37872776565496263,0.00042980890035045955,0.0027441645176221651,0.038517489916021955,0.00013224889241552601,0.00046287112345434105,0.0023474178403755869,0.035244329828737687,0.46270581233882169,0.0081333068835548507,0.0028433511869338096,0.17648614692851947,0,0.00029756000793493357,0.31419030615618593,0,6.6124446207763005e-005,3.3062223103881503e-005
2710218152,0,0.020099765258215961,0,0.036384976525821594,0.0025528169014084508,0,0.0012030516431924883,0.00085093896713615022,0,0.93884976525821595,5.868544600938967e-005,0,0.0030516431924882629,0,0,5.868544600938967e-005,0,2.9342723004694835e-005,0.00020539906103286384,0,0.99665492957746482,0,0,0.021889671361502348,0,0.0013791079812206573,0.00029342723004694836,0,0.0012030516431924883,0.0015551643192488263,0,0.97367957746478873,0,0,0,2.9342723004694835e-005,0,0.0011443661971830986,0,0.00064553990610328636,0,0,0.99633215962441313,0.0018485915492957746,0,0,0,0,0.00032276995305164318,0,0.00052816901408450699,0,0,0.99914906103286383,0,0,0,0,0,0.00035211267605633805,0,0.00076291079812206572,2.9342723004694835e-005,0,0.99879694835680755,5.868544600938967e-005,0.10155516431924883,0.039994131455399061,0.06675469483568075,0.13154342723004694,0.067693661971830979,0.00011737089201877934,0.040287558685446007,0.029900234741784038,0.0010269953051643193,0.5029636150234742,0.018163145539906105,0.13571009389671362,0.058802816901408449,0.012822769953051644,0.18661971830985916,0.061795774647887325,0,0.017517605633802818,0.031514084507042253,0.00023474178403755868,0.4915492957746479,0.003433098591549296,0.15495892018779342,0.0596537558685446,0.017869718309859155,0.14674295774647889,0.063761737089201881,2.9342723004694835e-005,0.024911971830985917,0.025704225352112677,0.00032276995305164318,0.50076291079812207,0.0052816901408450703
2735867525,0,0.0062500000000000003,0,0.00035211267605633805,0,0,0,0,0,0.99339788732394363,0,0.52907863849765258,0.0022593896713615025,8.8028169014084512e-005,0.009683098591549295,0.0016138497652582161,0,2.9342723004694835e-005,0.0011150234741784037,0,0.45613262910798125,0,0.28802816901408451,0.13042840375586853,0,0.0089495305164319257,5.868544600938967e-005,0,0,0.00011737089201877934,0,0.57241784037558685,0,0.0012323943661971832,0.082335680751173715,0,0.05255281690140845,0,0,0,0.00041079812206572768,0,0.8634683098591549,0,0.97007042253521125,0,0,0.0075117370892018778,0.00046948356807511736,0,5.868544600938967e-005,0.0014084507042253522,0,0.020481220657276995,0,0.59401408450704229,0.34598004694835682,0,0.025029342723004694,0.00014671361502347418,0,0,0,0,0.034829812206572767,0,0.30017605633802819,0.097916666666666666,0,0.015404929577464789,0.0024354460093896713,0,2.9342723004694835e-005,0.0026115023474178405,0,0.58142605633802813,0,0.98761737089201873,0,0,0.00090962441314553996,0.011473004694835681,0,0,0,0,0,0,0.7387030516431925,0.12206572769953052,0,0.023415492957746479,0.022652582159624412,0,0,2.9342723004694835e-005,0,0.093133802816901409,0
2758699073,0.10389102290510741,0,0,0.89610897709489257,0,0,0,0,0,0,0,0.091051358656992459,0,0,0.90894864134300757,0,0,0,0,0,0,0,0.085751885047659696,0,0,0.91424811495234026,0,0,0,0,0,0,0,0.052959169156352258,0,0,0.94704083084364776,0,0,0,0,0,0,0,0.17690994451557832,0,0,0.82309005548442171,0,0,0,0,0,0,0,0.10975956750604637,0,0,0.89024043249395357,0,0,0,0,0,0,0,0.011737089201877934,0,0,0.98826291079812212,0,0,0,0,0,0,0,0.08223075828709632,0,0,0.91776924171290364,0,0,0,0,0,0,0,0.065585431782614875,0,0,0.93441456821738511,0,0,0,0,0,0,0
277642245,0.0976954732510288,0.00090534979423868313,0.078106995884773656,0.20897119341563786,0.16283950617283952,0.00078189300411522636,0.044526748971193415,0.0097942386831275721,0.0051028806584362141,0.26390946502057611,0.12736625514403291,0.11674897119341564,0.0006584362139917696,0.066666666666666666,0.077860082304526748,0.20921810699588478,0.00082304526748971192,0.058106995884773666,0.0030452674897119341,0.0011111111111111111,0.21481481481481482,0.25094650205761315,0.073333333333333334,0.0013580246913580246,0.13674897119341564,0.049670781893004112,0.18279835390946503,0.003662551440329218,0.044403292181069962,0.0040740740740740737,0.00049382716049382717,0.046995884773662552,0.45646090534979422,0.15267489711934157,0.00069958847736625515,0.073991769547325101,0.073621399176954733,0.40469135802469136,0.00094650205761316868,0.001440329218106996,0.0013168724279835392,0,0.05633744855967078,0.23427983539094649,0.40144032921810702,8.23045267489712e-005,0.034650205761316874,0.1037037037037037,0.27234567901234569,0,0.0022222222222222222,0.00078189300411522636,0.001440329218106996,0.14522633744855967,0.038106995884773662,0.25037037037037035,0.00037037037037037035,0.12958847736625514,0.082057613168724286,0.25847736625514406,0.00049382716049382717,0.021810699588477367,0.00082304526748971192,0.0017283950617283952,0.052098765432098765,0.20218106995884774,0.42880658436213992,0.0001646090534979424,0.14160493827160495,0.16728395061728396,0.068436213991769551,8.23045267489712e-005,0.011193415637860082,0.0023868312757201644,0.00045267489711934157,0.05493827160493827,0.12465020576131687,0.17119341563786009,0,0.21329218106995884,0.26156378600823044,0.18670781893004115,0.0001646090534979424,0.034238683127572014,0.00094650205761316868,0.00024691358024691359,0.084444444444444447,0.047201646090534982,0.33563786008230451,4.11522633744856e-005,0.090576131687242795,0.18444444444444444,0.32185185185185183,0,0.0065843621399176953,0.00049382716049382717,0.0011522633744855968,0.031028806584362141,0.028189300411522632
3129984661,0.13154342723004694,0.036971830985915492,0.0056924882629107981,0.32294600938967138,0.49527582159624411,0,0.00011737089201877934,0.0012323943661971832,0,0.0011737089201877935,0.0050469483568075114,0.02118544600938967,0.095921361502347424,0.0073650234741784041,0.49504107981220657,0.30073356807511736,0,0.00058685446009389673,0.0013497652582159625,0,0.058392018779342726,0.019424882629107982,0.004254694835680751,0.022300469483568074,0.0025234741784037557,0.55190727699530517,0.4005575117370892,0,0.0017312206572769953,0.00064553990610328636,0,0.0069248826291079812,0.0091549295774647887,0.59052230046948362,0.003433098591549296,0.0049882629107981221,0.13133802816901408,0.23594483568075117,0,0.00038145539906103286,0.0013791079812206573,0,0.02596830985915493,0.0060446009389671365,0.10601525821596244,0.015580985915492958,0.0011150234741784037,0.64903169014084505,0.18867370892018778,0,0.00017605633802816902,0.00011737089201877934,0,0.037382629107981222,0.0019072769953051643,0.034947183098591551,0.0095070422535211262,0.00029342723004694836,0.37429577464788732,0.56009389671361498,0,5.868544600938967e-005,8.8028169014084512e-005,0,0.017987089201877936,0.0027288732394366196,0.17074530516431924,0.00041079812206572768,0.012764084507042254,0.15941901408450704,0.49606807511737089,0,2.9342723004694835e-005,0.00020539906103286384,0,0.031426056338028169,0.12893192488262911,0.0024354460093896713,8.8028169014084512e-005,0.0088028169014084511,0.72646713615023473,0.074911971830985913,0,0.00011737089201877934,8.8028169014084512e-005,0,0.044131455399061034,0.14295774647887324,0.00026408450704225349,0.00032276995305164318,0.0036678403755868545,0.3580105633802817,0.32532276995305165,0,0.00026408450704225349,5.868544600938967e-005,0,0.050293427230046948,0.26179577464788734
324944648,0.057879518072289159,0.00014457831325301204,0.23093975903614458,0.59383132530120486,0.087518072289156632,0,0.015469879518072289,0.0058795180722891567,9.6385542168674694e-005,0.0080000000000000002,0.00024096385542168674,0.10578313253012048,0.045590361445783135,0.30265060240963854,0.49604819277108436,0.0090120481927710838,0,0.019180722891566266,0.003566265060240964,0,0.018120481927710843,4.8192771084337347e-005,0.072771084337349398,0.3026987951807229,0.29440963855421687,0.22978313253012048,0.0086265060240963854,0,0.041445783132530119,0.00048192771084337347,0,0.048096385542168676,0.0016867469879518072,0.097975903614457835,0.0030361445783132529,0.20771084337349396,0.63479518072289154,0.025204819277108433,0,0.0048192771084337354,0.00072289156626506026,0,0.024433734939759037,0.0013012048192771084,0.026168674698795181,4.8192771084337347e-005,0.15773493975903616,0.61291566265060238,0.00053012048192771087,0,0.015373493975903615,0.17436144578313253,0,0.012289156626506025,0.00057831325301204817,0.091277108433734946,0.0018313253012048193,0.03272289156626506,0.42843373493975906,0.00236144578313253,0,0.11132530120481927,0.14221686746987952,0,0.18983132530120481,0,0.20539759036144578,0,0.60906024096385547,0.080819277108433729,0.086313253012048188,0,0.012144578313253012,0.00086746987951807225,4.8192771084337347e-005,0.0035180722891566267,0.0018313253012048193,0.011710843373493976,0.00028915662650602408,0.084000000000000005,0.43701204819277106,0.00057831325301204817,0.00024096385542168674,0.24612048192771085,0.13532530120481928,0,0.084433734939759031,0.00028915662650602408,0.024674698795180722,0,0.017445783132530122,0.16520481927710842,0.00057831325301204817,0,0.10216867469879518,0.00072289156626506026,0,0.68920481927710842,0
3339743854,0.84988262910798118,0.043603286384976528,0.002112676056338028,0.06883802816901409,0.015874413145539907,0.0023180751173708918,0.00026408450704225349,0.00085093896713615022,0.001789906103286385,0.013028169014084507,0.0014377934272300471,0.55534037558685445,0.15137910798122065,0.017224178403755869,0.053315727699530517,0.018368544600938966,0,0.00014671361502347418,0.00076291079812206572,0.00029342723004694836,0.20316901408450705,0,0.87670187793427234,0,0.054988262910798121,0,8.8028169014084512e-005,0.028726525821596245,5.868544600938967e-005,0.00011737089201877934,0.039319248826291078,0,0,0.74932511737089202,0.062353286384976524,0.0061326291079812209,0.12127347417840376,0.01948356807511737,0,0.0043133802816901412,0.0079812206572769957,8.8028169014084512e-005,0.028961267605633802,8.8028169014084512e-005,0.28066314553990612,0.12007042253521127,0.0093016431924882632,0.067253521126760557,0.014377934272300469,0.002846244131455399,0.0025528169014084508,0.0017605633802816902,0.0016431924882629107,0.49536384976525821,0.0041666666666666666,0.9856807511737089,2.9342723004694835e-005,0.011913145539906102,8.8028169014084512e-005,0.00011737089201877934,0,0,0.0013497652582159625,0.00082159624413145535,0,0,0.66581572769953057,0.088615023474178406,0.078403755868544603,0.060974178403755866,0.023973004694835681,0.00073356807511737085,0.014553990610328639,0.05927230046948357,0.0052816901408450703,0.0020246478873239436,0.00035211267605633805,0.19935446009389671,0.032599765258215965,0.24063967136150236,0.15044014084507043,0.021478873239436619,0.004518779342723005,0.038145539906103289,0.022036384976525821,0.0045774647887323943,0.28309859154929579,0.0031103286384976526,0.61203051643192485,0.0062206572769953053,0.30199530516431927,0.011062206572769953,0.0020246478873239436,0.010710093896713615,0.011296948356807512,0.00014671361502347418,0.0012030516431924883,0.034771126760563383,0.008538732394366198
3344187779,0.012057959266389705,0,0.31083865302124497,0.0092545681764447593,0.00016887898132198466,0.002026547775863816,0.050494815415273418,0,0.014219610227311108,0.58020062822981056,0.020738338906339717,0,0,0.13993312392339649,0.010639375823285033,0,0.00016887898132198466,0.15817205390617084,0,0.0053365758097747157,0.67392846286351205,0.011821528692538927,3.3775796264396935e-005,3.3775796264396935e-005,0.22724355726686257,0.0049988178471307458,3.3775796264396935e-005,0.00060796433275914479,0.067720471510115857,0,0.0078022089370756919,0.67683318134225012,0.014692471375012665,0.087850846083696421,0,0.21437497889012733,0.40517445198770563,0.00057418853649474782,0.00016887898132198466,0.10997399263687642,3.3775796264396935e-005,0.016448812780761306,0.14672205897254029,0.018678015334211505,0.18296348836423817,0,0.019826392407201,0.68659438646266091,0.00037153375890836628,0,0.066335663863275579,3.3775796264396935e-005,0,0.043874759347451615,0,0.16428547303002669,0,0.12780761306447799,0.4966393082716925,0.00047286114770155708,0.00054041274023035096,0.061201742831087244,6.755159252879387e-005,0.004086871347992029,0.14222987806937548,0.0026682879048873578,0.069409261323335691,0.00033775796264396931,0.28662140709967238,0.40345188637822138,0.0011146012767250988,0.00067551592528793862,0.071841118654372274,0,0.0090856891951227748,0.13490053028000135,0.022562231904617151,0.067484040936265074,6.755159252879387e-005,0.14854595197081771,0.63032390988617559,0.00057418853649474782,6.755159252879387e-005,0.025872259938528052,0,0.003546458607761678,0.11358800283716688,0.0099300841017326991,0.018948221704326678,0.00094572229540311416,0.21613132029587598,0.51359475799641974,0.0010808254804607019,0.0016212382206910528,0.025669605160941668,0,0.0063498496977066237,0.20403958523322188,0.011618873914952544
3353461781,0.028755868544600938,0.0010269953051643193,0,0.047681924882629109,0.0075410798122065728,0,2.9342723004694835e-005,0.00090962441314553996,0,0.91405516431924883,0,0.22385563380281689,0.10765845070422535,0.0012910798122065727,0.33477112676056336,0.034507042253521129,0,5.868544600938967e-005,0.00029342723004694836,0,0.29735915492957748,0.00020539906103286384,0.00070422535211267609,0.010328638497652582,0,0.0014377934272300471,0.0015845070422535212,0,0,5.868544600938967e-005,0,0.9858861502347418,0,0.035475352112676058,0.037617370892018782,8.8028169014084512e-005,0.064935446009389677,0.36123826291079814,0,8.8028169014084512e-005,0.0010856807511737088,0,0.49759389671361504,0.0018779342723004694,0.10592723004694836,0.0061326291079812209,0.0075117370892018778,0.18356807511737089,0.64149061032863852,0,8.8028169014084512e-005,0.00023474178403755868,0,0.049061032863849767,0.0059859154929577463,0.1233568075117371,0.014730046948356808,0.030575117370892017,0.15927230046948357,0.11167840375586854,0,0.00058685446009389673,0.00035211267605633805,0,0.5283157276995305,0.03113262910798122,0.10604460093896714,0.033480046948356809,0.004518779342723005,0.54964788732394365,0.22321009389671362,0.0030809859154929575,0.003902582159624413,0.0051643192488262908,0.00035211267605633805,0.066696009389671365,0.003902582159624413,0.043515258215962443,0.0014377934272300471,0.014289906103286384,0.59815140845070425,0.17772887323943662,0.00011737089201877934,0.0017605633802816902,0.0012030516431924883,0,0.14970657276995306,0.012089201877934273,0.095363849765258218,0.028227699530516431,0.016285211267605633,0.7215962441314554,0.052494131455399058,0,0.0077171361502347416,0.0057805164319248824,0.00049882629107981223,0.067224178403755872,0.0048122065727699533
3455513284,0.027934272300469482,0.15096830985915494,0.022183098591549297,0.0030809859154929575,0.033597417840375586,0,0.00049882629107981223,0.0006161971830985916,0,0.74028755868544605,0.020833333333333332,0.18814553990610328,0.067106807511737088,0.11892605633802816,0.019835680751173708,0.086825117370892019,5.868544600938967e-005,0.0012030516431924883,0.00079225352112676059,0.00026408450704225349,0.5058978873239437,0.010944835680751174,0.061414319248826288,0.46748826291079815,0.024823943661971833,0.0073943661971830983,0.02790492957746479,0,5.868544600938967e-005,0.00032276995305164318,0.00011737089201877934,0.40739436619718311,0.0030809859154929575,0.11428990610328639,0.45941901408450703,0.012500000000000001,0.0054577464788732391,0.028433098591549296,0,0.00020539906103286384,0.00073356807511737085,2.9342723004694835e-005,0.37159624413145542,0.007335680751173709,0.65299295774647892,0.017077464788732396,0.18477112676056337,0.012617370892018779,0.088761737089201875,8.8028169014084512e-005,0.0018192488262910799,0.00035211267605633805,0.00017605633802816902,0.019630281690140847,0.02171361502347418,0.18039906103286385,0.0049882629107981221,0.25451877934272299,0.014172535211267606,0.027230046948356807,0.00032276995305164318,0.0046068075117370894,0.00070422535211267609,0.0013791079812206573,0.5002053990610329,0.011473004694835681,0.038174882629107981,0.5141725352112676,0.17831572769953052,0.0037265258215962442,0.0048708920187793426,0.022271126760563382,0.0038438967136150233,0.00099765258215962446,0.00035211267605633805,0.19375000000000001,0.039524647887323947,0.11126760563380282,0.044571596244131456,0.37555751173708918,0.0070129107981220656,0.024941314553990609,0.061120892018779342,0.035152582159624413,0.00029342723004694836,0.00058685446009389673,0.12180164319248826,0.21769366197183099,0.089172535211267612,0.0029049295774647888,0.39747652582159626,0.00806924882629108,0.019395539906103286,0.037910798122065728,0.014524647887323943,0.00058685446009389673,0.0020246478873239436,0.17009976525821596,0.25783450704225352
3563999926,0.14334105901230165,0,0,0.7967255006834254,0,0,0,0,0,0.059933440304272896,0,0.41944493968027574,0,0,0.087448743091460154,0,0,0,0,0,0.49310631722826409,0,0.031199857372080586,0,0,0.66954893920484937,0,0,0,0,0,0.29925120342307004,0,0.48029951863077197,0,0,0.4077078504783978,0,0,0,0,0,0.11199263089083021,0,0.8897902181018601,0,0,0.099423545492363458,0,0,0,0,0,0.010786236405776431,0,0.23260236524633029,0,0,0.67587805312890004,0,0,0,0,0,0.091519581624769711,0,0.91861294348368694,0,0,0.08129791406667855,0,0,0,0,0,8.9142449634515962e-005,0,0.85968978427527187,0,0,0.14031021572472813,0,0,0,0,0,0,0,0.89083021334759616,0,0,0.1083972187555714,0,0,0,0,0,0.00077256789683247161,0
3664876535,0,0.85710409204385107,0,5.4271138608488005e-005,0,0,0.00010854227721697601,0,0,0.14273309454032346,0,0.20275697384131119,0.55101487029197871,0.00032562683165092806,0.041897319005752741,0.0034190817323347445,0,0.00016281341582546403,0.0009226093563442961,0,0.1995007055248019,0,0.012428090741343753,0.23955280581786606,5.4271138608488005e-005,0.0048844024747639204,0.00016281341582546403,0,0,0.00016281341582546403,0,0.74275480299576691,0,0.26484315640942147,0.20487354824704224,0.0005969825246933681,0.030934549006838164,0.070335395636600462,0,0,0.00054271138608488008,0,0.42727667426462607,0.0005969825246933681,0.68245956800173668,0.10235536741560838,5.4271138608488005e-005,0.19537609899055683,0.0067838923260610008,0,0.00048844024747639206,0.0027135569304244005,0,0.0097688049495278408,0,0.22012373819602735,0.19461630305003799,0,0.13394117008574841,0.00097688049495278412,0,0.00032562683165092806,0.00032562683165092806,0,0.44969065450993162,0,0.74655378269836103,0.014219038315423857,0.013459242374905025,0.21686746987951808,0.0053728427222403128,0,0.00048844024747639206,0.0024964723759904484,0.00037989797025941602,0.00016281341582546403,0,0.79870834690111803,0.018452187126885924,0.011885379355258874,0.1633018560729404,0.0043416910886790406,0,0.0013025073266037122,0.0015738630196461521,0,0.00043416910886790404,0,0.79176164115923153,0.027515467274503418,0.011993921632475849,0.16194507760772822,0.0042331488114620642,0,0.00054271138608488008,0.0009226093563442961,5.4271138608488005e-005,0.0010311516335612721,0
4096794064,0.00033534540576794097,0.99880233783654304,0.00057487783845932736,4.7906486538277283e-005,0.00019162594615310913,0,0,0,0,0,4.7906486538277283e-005,0,0.99372425026348565,0,0,0,0,0,0.0011018491903803775,0,0.0051739005461339466,0,0.00062278432499760471,0.64544409313020978,0,0.0052697135192105015,0,0,4.7906486538277283e-005,0.006419469196129156,0,0.34219603334291465,0,0.088339561176583314,0.45367442751748588,0.27862412570662065,0.052457602759413621,0.074302960620868067,0.0086710740634281889,0.0016288205423014275,0.006371562709590879,0.0023474178403755869,0.00067069081153588194,0.032911756251796494,0.26295870460860399,0.44715914534828016,0.13116796014180321,0.056385934655552361,0.071380664942033156,0.0024432308134521414,0.0008623167576889911,0.0038804254096004597,0.00014371945961483184,0.001533007569224873,0.022084890294145829,0.41036696368688319,0.34971735172942414,0.032911756251796494,0.020647695697997508,0.053607358436332277,4.7906486538277283e-005,9.5812973076554565e-005,0.0050301810865191147,0.00019162594615310913,0.12642521797451375,0.00095812973076554568,0.28729519977004886,0.0029702021653731916,0.30473316086998181,0.36495161444859636,0.022468142186452045,0.0037846124365239053,0.0010539427038421003,0.0014851010826865958,0.001197662163456932,9.5812973076554565e-005,0.0099645491999616753,0.41640318099070617,0.0183481843441602,0.14228226501868352,0.34693877551020408,0.05911660438823417,0,0.00095812973076554568,0.013126377311487976,0.00028743891922966368,0.0022516048672990324,0.00028743891922966368,0.49976046756730863,0.001676727028839705,0.09839992334962154,0.35853214525246718,0.033486634090255818,0,0.00081441027115071376,0.006371562709590879,0,0.00081441027115071376,0.00014371945961483184
4662595875,0,0,0,0,0,0,0,0,0,1,0,0.13340607022416187,0.00052899556966210404,0.00072736890828539312,0.010712160285657607,0.013952258149837995,0,3.3062223103881503e-005,0,0,0.84064008463929119,0,0.00026449778483105202,0.021325133902003572,0,6.6124446207763005e-005,0.00019837333862328903,0,3.3062223103881503e-005,0.0004959333465582226,0,0.97761687495867222,0,0.20961449447860875,0.00029756000793493357,0.0080671824373470865,0.02221781392580837,0.14636646168088344,0,0.00059512001586986714,3.3062223103881503e-005,0,0.61257686966871649,0.00023143556172717052,0.37770283673874233,0.00046287112345434105,0.0023474178403755869,0.16045096872313694,0.035211267605633804,0,0.00023143556172717052,0.00013224889241552601,0.00095880447001256365,0.42240296237519009,9.9186669311644515e-005,0.19982807643985981,0.00066124446207763013,0.00042980890035045955,0.019109964954043511,0.26254711366792305,0,3.3062223103881503e-005,9.9186669311644515e-005,0,0.51729154268333,0,0.41648482443959534,0.0020498578324406533,0.056867023738676185,0.38345566355881772,0.023970111750314091,0,0.0076704357601005092,0.00026449778483105202,9.9186669311644515e-005,0.10484030946240826,0.0042980890035045956,0.53140911194868745,6.6124446207763005e-005,0.11155194075249619,0.27392051841565829,0.017721351583680486,0,0.006546320174568538,0,6.6124446207763005e-005,0.039873041063281094,0.018845467169212458,0.43490048270845733,0.0014547378165707862,0.07677048204721286,0.38051312570257223,0.016795609336771804,0,0.039972227732592742,0.00019837333862328903,0.00019837333862328903,0.043807445612642992,0.0053891423659326856
4697662578,0.045493618990940954,0.93827282946505319,0.008364742445282021,0.0013224889241552603,0.0054552668121404481,0,6.6124446207763005e-005,0.00076043113138927457,0.00013224889241552601,0,0.00013224889241552601,0.07720029094756331,0.81518217284930239,0.038616676585333597,0.025986907359650861,0.018547907161277525,0.00013224889241552601,0.010447662500826555,0.0053891423659326856,0.00069430668518151157,0.0058520134893870262,0.0019506711631290087,0,0.88897705481716593,0,0.066587317331217352,0,0,0.022515373933743307,0.017456853798849436,0,0.0044634001190240035,0,0.053626925874495801,0.65582225748859357,0.12378496330093236,0.0057858890431792638,0.14372148383257291,0.00026449778483105202,0.00042980890035045955,0.0022482311710639424,0.00033062223103881507,0.00016531111551940753,0.01382000925742247,0.12834755008926801,0.45248958539972228,0.2150366990676453,0.057726641539377108,0.097996429279904776,0.00085961780070091911,0.024333796204456786,0.0055213912583482114,0.00085961780070091911,0.0088937380149441241,0.0079349335449315616,6.6124446207763005e-005,0.91684850889373803,0,0.032929974211465977,9.9186669311644515e-005,0,0.037029689876347284,0.0067777557362957083,0,0.0062487601666336044,0,0.088176949018051967,0.14256430602393705,0.19933214309330161,0.022746809495470477,0.41526152218475171,0,0.0035045956490114393,0.093665278053296303,6.6124446207763005e-005,6.6124446207763005e-005,0.034616147589763939,0.24029623751901077,0.070753157442306425,0.30000661244462079,0.087846326787013165,0.18706605832176157,0.0027111022945182834,0.01253058255637109,0.066190570653970771,0.0049923956886861074,0.00033062223103881507,0.027276334060702241,0.30225484361568472,0.086292402301130722,0.24694174436289096,0.059379752694571186,0.11710639423394829,0.0027772267407260463,0.023011307280301527,0.11961912318984329,0.019506711631290089,0.0018845467169212459,0.021225947232691927
4717922830,0.0027875586854460093,0.001789906103286385,0,0.23133802816901408,0.00020539906103286384,0,0.00044014084507042255,0.00085093896713615022,0,0.76258802816901405,0,0.011825117370892018,0.0044894366197183099,0.00064553990610328636,0.44718309859154931,0.0006161971830985916,0,2.9342723004694835e-005,0.00099765258215962446,0,0.5342136150234742,0,0.036355633802816902,0.0016431924882629107,0,0.0085974178403755864,0.11358568075117371,0,0,0,0,0.83981807511737094,0,0.49187206572769954,0.0047828638497652582,0.00014671361502347418,0.23767605633802816,0.17382629107981221,0,0.00017605633802816902,0.00049882629107981223,0,0.091021126760563384,0,0.27015845070422534,0.020305164319248826,0.00032276995305164318,0.47951877934272302,0.13169014084507041,0,2.9342723004694835e-005,8.8028169014084512e-005,0,0.097887323943661966,0,0.45868544600938965,0.00093896713615023472,0,0.012118544600938967,0.45217136150234744,0,2.9342723004694835e-005,0,0,0.07605633802816901,0,0.30560446009389669,0.00064553990610328636,0.011062206572769953,0.13213028169014085,0.54882629107981218,0,0,0.0014084507042253522,0,0.00032276995305164318,0,0.35880281690140847,0.0029636150234741785,0.0058685446009389668,0.36892605633802816,0.25809859154929576,0,0.00011737089201877934,0.0041666666666666666,0,0.0010269953051643193,2.9342723004694835e-005,0.41869131455399061,0.0055751173708920186,0.019512910798122066,0.40375586854460094,0.14624413145539905,0,0.00099765258215962446,0.0024647887323943664,0.001056338028169014,0.0016725352112676056,2.9342723004694835e-005
476046490,0.026383654036897439,0.00069430668518151157,0.0089929246842557695,0.013522449249487535,0.75190107782847315,0,0.00023143556172717052,0.00066124446207763013,0,0.063611717251868011,0.13400119024003174,0.026152218475170269,0.00016531111551940753,0.08106857105071745,0.0051907690273093965,0.76069562917410571,0,3.3062223103881503e-005,0.00013224889241552601,0,0.028764134100376908,0.097798055941281492,0.0030747867486609799,0.00062818223897374858,0.013886133703630232,0.0087284268994247179,0.5105799113932421,0,0.00026449778483105202,0.00076043113138927457,0,0.15149110626198506,0.31058652383786284,0.086722211201481186,0,0.041658401110890697,0.015935991536070886,0.80539575481055348,6.6124446207763005e-005,0.00046287112345434105,9.9186669311644515e-005,0.00019837333862328903,0.013654698141903062,0.03580638762150367,0.093665278053296303,0,0.10120346492098128,0.0081002446604509695,0.76357204258414335,0.00019837333862328903,0,3.3062223103881503e-005,6.6124446207763005e-005,0.010414600277722674,0.022746809495470477,0.076373735369966278,0,0.069066984064008463,0.012563644779474971,0.76539046485485684,0,0.00023143556172717052,0,3.3062223103881503e-005,0.013390200357072009,0.062950472789790379,0.063942339482906826,0,0.11016332738213318,0.005818951266283145,0.79686570124975198,9.9186669311644515e-005,0.00046287112345434105,0,0.00042980890035045955,0.0024135422865833498,0.019804271639225022,0.061495734973219598,0,0.13350525689347351,0.012927329233617668,0.75084308668914901,6.6124446207763005e-005,0.00036368445414269656,0,0.00029756000793493357,0.0028433511869338096,0.037657872115321032,0.016960920452291212,0,0.25279375785227798,0.045096872313694372,0.49018051973814719,0.0012233022548436157,0.014216755934669046,6.6124446207763005e-005,0.0009257422469086821,0.041063281095020832,0.13747272366593929
476047814,0.02988824968590888,0.029954374132116643,0.0011571778086358526,0.022482311710639424,0.84361568471864046,0,0.00052899556966210404,0.0021159822786484162,0,0.058420948224558622,0.011836275871189579,0.061826357204258414,0.0058520134893870262,0.035938636513919195,0.032566289757323286,0.81214044832374532,3.3062223103881503e-005,0.0009257422469086821,0.00039674667724657806,0,0.028433511869338093,0.021887191694769555,0.06447133505256894,0.013720822588110825,0.00095880447001256365,0.040567347748462608,0.73861006414071284,0,0.00042980890035045955,0.0017522978245057197,0,0.11505653640150763,0.024432982873768432,0.088474509025986914,0,0.024102360642729616,0.011505653640150763,0.85650995172915423,3.3062223103881503e-005,0.00059512001586986714,0,9.9186669311644515e-005,0.010480724723930437,0.0081994313297626131,0.13175295906896781,3.3062223103881503e-005,0.052039939165509488,0.023903987304106328,0.75315744230642068,0,0.00039674667724657806,0,0,0.004562586788335648,0.034153276466309591,0.107419162864511,9.9186669311644515e-005,0.014911062619850559,0.011042782516696423,0.83974740461548636,0,0.00013224889241552601,0,0,0.011737089201877934,0.014911062619850559,0.1017324604906434,0.0010910533624280897,0.013886133703630232,0.17916418699993389,0.69143027177147387,0,0.0011241155855319712,3.3062223103881503e-005,0,0.0081002446604509695,0.0034384712028036764,0.10441050056205779,0.00019837333862328903,0.011108906962904185,0.0219863783640812,0.85865899623090658,0,0.00013224889241552601,3.3062223103881503e-005,0,0.0017853600476096013,0.0016861733782979568,0.15430139522581499,3.3062223103881503e-005,0.019043840507835749,0.017754413806784369,0.78926138993585926,0,0.00039674667724657806,6.6124446207763005e-005,0,0.0021159822786484162,0.017027044898498975
476049592,0.10265820273755208,0,0.012464458110163328,3.3062223103881503e-005,0.88434834358262249,0,0,0,3.3062223103881503e-005,6.6124446207763005e-005,0.00039674667724657806,0.10609667394035575,0.00039674667724657806,0.055941281491767504,0.013324075910864246,0.74555313099252796,0,0.00095880447001256365,0.0004959333465582226,0.00023143556172717052,0.038980361039476295,0.038021556569463731,0.097764993718177609,0,0.0039013423262580175,0,0.89833366395556435,0,0,0,0,0,0,0.087152020101831651,6.6124446207763005e-005,0.088639820141506315,0.014514315942603981,0.75821596244131451,9.9186669311644515e-005,0.0046948356807511738,6.6124446207763005e-005,0.00026449778483105202,0.038252992131190898,0.0080341202142432053,0.10391456721549958,0.0009257422469086821,0.018250347153342592,0.11465978972426107,0.68729749388348871,6.6124446207763005e-005,0.0015208622627785491,0.00019837333862328903,0,0.045956490114395294,0.027210209614494479,0.068901672948489062,9.9186669311644515e-005,0.0059181379355947895,0.0095880447001256367,0.91155855319711698,0,3.3062223103881503e-005,6.6124446207763005e-005,0,0.0029425378562454542,0.00089268002380480066,0.03276466309594657,9.9186669311644515e-005,0.021027573894068636,0.0073728757521655756,0.92607286913972098,0.00023143556172717052,0.0021490445017522978,3.3062223103881503e-005,0.00016531111551940753,0.0044634001190240035,0.0056205779276598559,0.05213912583482113,0.00026449778483105202,0.10817959399590028,0.044336441182305099,0.72677378826952321,0.0022151689479600607,0.0090259869073596507,0.00029756000793493357,0.0012563644779474972,0.039608543278450044,0.015902929312967003,0.040501223302254842,0,0.0025127289558949943,0,0.95698604774185014,0,0,0,0,0,0
4854230969,0.22330225484361568,0,0,0.69662104079878329,0,0,0,0,0,0.080076704357601003,0,0.6581035508827614,0,0,0.29574158566422004,0,0,0,0,0,0.046154863453018578,0,0.48171659062355354,0,0,0.44620776300998477,0,0,0,0,0,0.072075646366461688,0,0.51464656483501947,0,0,0.34913707597698868,0,0,0,0,0,0.1362163591879918,0,0.51041460027772267,0,0,0.3256628975732328,0,0,0,0,0,0.1639225021490445,0,0.54152615221847522,0,0,0.38729088143886797,0,0,0,0,0,0.071182966342656875,0,0.62788467896581368,0,0,0.26644845599418104,0,0,0,0,0,0.10566686504000529,0,0.78836870991205443,0,0,0.18577663162071018,0,0,0,0,0,0.025854658467235336,0,0.56622363287707467,0,0,0.39515969053759176,0,0,0,0,0,0.038616676585333597,0
5045269213,0.0014878000396746677,0.92432057131521528,0.01689479600608345,0.051643192488262914,0.0054552668121404481,0,6.6124446207763005e-005,9.9186669311644515e-005,3.3062223103881503e-005,0,0,0.0097202935925411616,0.8359783111816439,0.034715334259075581,0.1065264828407062,0.012662831448786617,0,6.6124446207763005e-005,0.00016531111551940753,0,0.00016531111551940753,0,0,1,0,0,0,0,0,0,0,0,0,0.17132844012431395,0.24231303312834754,0.11429610527011837,0.28327712755405676,0.18832242279970907,0,0.00016531111551940753,9.9186669311644515e-005,0,0.00016531111551940753,3.3062223103881503e-005,0.060503868280103151,0.2815578919526549,0.14067975930701582,0.46178007009191296,0.054519605898300599,0,6.6124446207763005e-005,9.9186669311644515e-005,0,0.00066124446207763013,0.00013224889241552601,0.11062619850558751,0.59938504265026782,0.0091251735766712961,0.19123189843285063,0.088937380149441247,0,0.00033062223103881507,0.00016531111551940753,0,0.00016531111551940753,3.3062223103881503e-005,0.014514315942603981,0,0.0009257422469086821,0.98333663955564377,0.0012233022548436157,0,0,0,0,0,0,0.0077365602063082725,0,0.00046287112345434105,0.98981683528400455,0.0019837333862328904,0,0,0,0,0,0,0.11948687429742776,0.00013224889241552601,0.00072736890828539312,0.87661178337631418,0.0028433511869338096,0,0.00016531111551940753,3.3062223103881503e-005,0,0,0
5045271829,0.013059578126033195,0.80245321695430805,0.15112742180784236,0.016630298221252397,0.015704555974343715,0,0.00019837333862328903,0.00082655557759703767,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0.17149375123983338,0.3754215433445745,0.16412087548766779,0.11538715863254645,0.16848508893738015,0,0.00026449778483105202,0.0016531111551940753,9.9186669311644515e-005,0.0030747867486609799,0,0.033591218673543609,0.69103352509422733,0,0.10837796733452357,0.16574092441975799,0,0,0.00013224889241552601,0,0.0011241155855319712,0,0,1,0,0,0,0,0,0,0,0,0,0.23067513059578126,0.079018713218276804,0.078820339879653506,0.33220921774780138,0.27332539839978842,0.00023143556172717052,0.00016531111551940753,0.0010579911393242081,0,0.00072736890828539312,0.0037690934338424917,0.067579184024333799,0.27325927395358063,0.00029756000793493357,0.37608278780665211,0.27739205184156585,0,9.9186669311644515e-005,0.00013224889241552601,0,0.0051246445811016332,3.3062223103881503e-005,0.0024796667327911127,0.99322224426370431,0,0.00076043113138927457,0.003537657872115321,0,0,0,0,0,0
5045275027,0.076010050915823579,0.01560536930503207,0.44210804734510351,0.43215631819083516,0.033954903127686308,0,6.6124446207763005e-005,9.9186669311644515e-005,0,0,0,0.036897440983931759,0.0040666534417774253,0.44121536732129868,0.50614957349732193,0.011670964755670171,0,0,0,0,0,0,0.20696951663029822,0.00079349335449315612,0.313330688355485,0.4322885670832507,0.046617734576472919,0,0,0,0,0,0,0.038252992131190898,0.21745024135422866,0.13185214573827944,0.46647490577266415,0.1457052172188058,0,3.3062223103881503e-005,3.3062223103881503e-005,0,0.00016531111551940753,3.3062223103881503e-005,0.070025788534021027,0.18045361370098525,0.1758910269126496,0.45787872776565497,0.11568471864048138,0,0,3.3062223103881503e-005,0,0,3.3062223103881503e-005,0.16474905772664153,0.0027111022945182834,0.26138993585928716,0.53107848971764859,0.040071414401904384,0,0,0,0,0,0,0.15211928850095879,0.18422270713482775,0.088011637902532566,0.37661178337631424,0.19900152086226278,0,0,3.3062223103881503e-005,0,0,0,0.37697546783045693,0.074852873107187731,0.25507505124644581,0.19179395622561662,0.10130265159029293,0,0,0,0,0,0,0.17724657805990876,0.00016531111551940753,0.28671559875686042,0.43870263836540369,0.097169873702307744,0,0,0,0,0,0
5045296419,0.40150763737353701,0,0.32883687099120545,0.25877802023408053,0.010712160285657607,0,0.00016531111551940753,0,0,0,0,0.073464259736824702,3.3062223103881503e-005,0.33310189777160615,0.58268861998280763,0.010183164715995504,0,0.00039674667724657806,6.6124446207763005e-005,0,6.6124446207763005e-005,0,0.065893010646035838,0.57419162864511009,0.01253058255637109,0.26648151821728494,0.080010579911393237,0,0.00072736890828539312,0.00016531111551940753,0,0,0,0.96792964358923494,0,0.010513786947034318,6.6124446207763005e-005,0.02149044501752298,0,0,0,0,0,0,0.25097533558156448,0.16914633339945778,0.10622892283277127,0.24952059776499372,0.21315215235072407,0,0.00039674667724657806,0.00013224889241552601,0,0.010447662500826555,0,0.12256166104608873,0.49044501752297825,0.041790650003306222,0.18042055147788139,0.16316207101765523,0,0.00066124446207763013,0.00026449778483105202,0,0.00069430668518151157,0,0.92108047345103483,0.024201547312041261,0.00069430668518151157,0.026086094028962507,0.027573894068637174,0,3.3062223103881503e-005,0.00016531111551940753,6.6124446207763005e-005,9.9186669311644515e-005,0,0.26939099385042653,0.19318256959597963,0,0.27646630959465712,0.25414930899953714,0,0,0.00023143556172717052,0,0.0065793823976724192,0,0.12504132777887986,0.31442174171791309,0.072009521920253922,0.38421609469020696,0.093566091383984654,0,0.0044303378959201214,0.0025788534021027572,0.0015539244858824308,0.00046287112345434105,0.0017192356014018382
5045404057,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0.081134695496925216,0.45364676320835812,0.0099186669311644507,0.023441116180651988,0.4315281359518614,0,0,3.3062223103881503e-005,0,6.6124446207763005e-005,0.00023143556172717052,0.089268002380480063,0.21549957019109964,0.20561396548303909,0.15258215962441316,0.29336110560074058,0,0.010183164715995504,9.9186669311644515e-005,0,0.024895853997222772,0.0084969913376975476,0.040005289955696618,0.66931164451497716,0.0014878000396746677,0.033855716458374659,0.21407789459763274,0,3.3062223103881503e-005,9.9186669311644515e-005,0,0.041129405541228591,0,0.19989420088606757,0,0.0073398135290616943,0.014415129273292335,0.77811942074985119,0,0,0,0,0,0.00023143556172717052,0.15092904846921906,0,0.042088210011241155,0.016861733782979567,0.78995569662104081,0,0,0,0,0,0.00016531111551940753,0.10665873173312174,0,0.048535343516498047,0.024499107319976194,0.8200753818686769,0,0,0,0,0,0.00023143556172717052
5045881920,0,1,0,0,0,0,0,0,0,0,0,0.003008662302453217,0.93516498049328833,0.003537657872115321,0.054288170336573432,0.004000528995569662,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0.20683726773788269,0.416021953316141,0.013720822588110825,0.0030417245255570983,0.36008067182437348,0,0,0.00019837333862328903,0,0,9.9186669311644515e-005,0.030384183032467104,0.52168881835614622,0.12897573232824175,0.26492759373140251,0.053494676982080276,0,6.6124446207763005e-005,0,0,0.00023143556172717052,0.00023143556172717052,0,1,0,0,0,0,0,0,0,0,0,0.5772664153937711,0.0017522978245057197,0.0575613304238577,0.20280367651920916,0.1603517820538253,0,0,0.00026449778483105202,0,0,0,0.061528797196323481,0.054585730344508365,0.2034318587581829,0.54572505455266818,0.1335383191165774,0,0.00029756000793493357,3.3062223103881503e-005,0,0.00046287112345434105,0.00039674667724657806,0.29584077233353173,0.17427097798055941,0.026251405144481915,0.33779673345235733,0.16514580440388812,0,9.9186669311644515e-005,0.00036368445414269656,6.6124446207763005e-005,3.3062223103881503e-005,0.00013224889241552601
5045949546,0.0082324935528664944,0.54069959664087808,0.15731005752826821,0.25500892680023807,0.038418303246710306,0,0.00029756000793493357,0,0,0,3.3062223103881503e-005,0.034649209812867815,0.10024466045096872,0.58232493552866493,0.23837862857898565,0.024466045096872314,0,0.015406995966408781,0,0,0.0043972756728162402,0.00013224889241552601,0.0034384712028036764,0,0.44888580308139919,0.51818422270713482,0.023242742842028697,0,0.0054883290352443301,0.00013224889241552601,0,0.00062818223897374858,0,0.014778813727435032,0.54969252132513391,0.28033458969781128,0.13648085697282286,0.01844872049196588,0,0.00023143556172717052,3.3062223103881503e-005,0,0,0,0.15172254182371223,0.54840309462408254,0.11899094095086954,0.11151887852939231,0.04350988560470806,0,0.0171592937909145,0,0,0.008695364676320835,0,0.0011241155855319712,0,0.59349996693777685,0.38877868147854261,0.0084308668914897834,0,0.0057858890431792638,0,0,0.002281293394167824,9.9186669311644515e-005,0.04066653441777425,0.68290021821067248,0.11783376314223368,0.11452754083184553,0.043278450042980893,0,3.3062223103881503e-005,0.00052899556966210404,0,0,0.00023143556172717052,0.44548039410169937,0.34480592475038019,0.057230708192818884,0.067612246247437682,0.079448522118627254,0,0.0027111022945182834,3.3062223103881503e-005,0,0.0026780400714144018,0,0.0021159822786484162,0,0.29197249223037758,0.68161079150962112,0.022746809495470477,0,0.0011902400317397343,6.6124446207763005e-005,0,0.00029756000793493357,0
5045965102,0.25963763803478146,0,0.43681809164848245,0.28254975864577137,0.02046551610130265,0,0.00019837333862328903,0,0,0.00013224889241552601,0.00019837333862328903,0.0079679957680354428,0.48865965747536866,0.3348541955961119,0.1623355154400582,0.0061165112742180786,0,0,6.6124446207763005e-005,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0.11469285194736493,0,0.56037161938768765,0.30926403491370758,0.015274747073993256,3.3062223103881503e-005,0.00013224889241552601,0,0,6.6124446207763005e-005,0.00016531111551940753,0.056635588176949019,0.45493618990940948,0.30972690603716196,0.13135621239172121,0.043113138927461485,0,9.9186669311644515e-005,9.9186669311644515e-005,0,0.0040335912186735432,0,0.0048601467962705808,0.98770085300535604,0,0.0010910533624280897,0.0063479468359452489,0,0,0,0,0,0,0.11208093632215831,0.015208622627785492,0.54053428552535876,0.30238709250810025,0.029689876347285593,0,6.6124446207763005e-005,0,0,0,3.3062223103881503e-005,0.22581498379951068,0.4025986907359651,0.10222839383720161,0.1635588176949018,0.10249289162203266,3.3062223103881503e-005,0.00023143556172717052,9.9186669311644515e-005,0,0.0010910533624280897,0.0018514844938173642,0.0047940223500628184,0.99031276863056272,0,0.0012233022548436157,0.0036699067645308472,0,0,0,0,0,0
519956308,0,0.99850602409638556,0,0,0,0,0,0,0,0.0014939759036144578,0,0.048144578313253014,0.81233734939759039,0.0040963855421686747,0.12612048192771083,0.00024096385542168674,0,0.00038554216867469878,0.0063132530120481927,0,0.00236144578313253,0,0,0.99513253012048197,0,0,0,0,0,0.00062650602409638557,0,0.004240963855421687,0,0.072433734939759034,0.4777831325301205,0.027228915662650604,0.12597590361445782,0.28612048192771083,0,0.00043373493975903612,0.0019277108433734939,0,0.0079036144578313247,0.00019277108433734939,0.15513253012048192,0.14824096385542168,0.02983132530120482,0.21831325301204818,0.44009638554216868,0,0.0030361445783132529,0.0018313253012048193,0.00019277108433734939,0.0031325301204819275,0.00019277108433734939,0.070939759036144578,0.38467469879518074,0.019855421686746987,0.060963855421686745,0.45200000000000001,0,0.00053012048192771087,0.0020240963855421685,0,0.0090120481927710838,0,0.086361445783132526,0.027277108433734938,0.023036144578313253,0.33903614457831327,0.44886746987951809,0,0.015228915662650602,0.023421686746987951,0.00062650602409638557,0.035084337349397587,0.0010602409638554217,0.16525301204819276,0.026120481927710843,0.028192771084337348,0.45532530120481929,0.21204819277108433,0,0.066457831325301212,0.016192771084337348,0.0027469879518072287,0.02597590361445783,0.0016867469879518072,0.19802409638554216,0.0040481927710843369,0.061012048192771083,0.42655421686746986,0.18506024096385543,0.00033734939759036143,0.033253012048192768,0.038795180722891565,0.016481927710843374,0.035855421686746991,0.00057831325301204817
519956332,0.00081927710843373496,0.00072289156626506026,9.6385542168674694e-005,0.4126265060240964,0,0,0.00028915662650602408,0.003469879518072289,0,0.58197590361445783,0,0.033204819277108437,0.0036144578313253013,0.10428915662650602,0.83720481927710844,0.00024096385542168674,0,0.0027469879518072287,0.013879518072289156,0,0.0048192771084337354,0,0.033204819277108437,0.0027951807228915665,0.028433734939759037,0.71638554216867467,0,0,0.00057831325301204817,0.012096385542168674,0,0.20650602409638555,0,0.054506024096385546,0.0094939759036144575,0.00048192771084337347,0.76024096385542173,0,0,4.8192771084337347e-005,0.0027951807228915665,0,0.17243373493975903,0,0.37691566265060239,0.037301204819277109,0.011807228915662651,0.54033734939759037,0.00014457831325301204,0,4.8192771084337347e-005,0.01127710843373494,0,0.022168674698795181,0,0.069445783132530123,0.011421686746987951,0.0094939759036144575,0.84351807228915665,0,0,0.00038554216867469878,0.0080963855421686739,0,0.05763855421686747,0,0.24110843373493976,0.019132530120481928,0.027228915662650604,0.69893975903614458,0.00028915662650602408,0,0.0013012048192771084,0.0086265060240963854,0,0.0033734939759036144,0,0.28178313253012049,0.00048192771084337347,0.051277108433734939,0.65050602409638558,0.00014457831325301204,0,0.00043373493975903612,0.013927710843373494,0,0.0010120481927710842,0.00043373493975903612,0.36159036144578316,0.0095421686746987953,0.015325301204819277,0.60650602409638554,0.00019277108433734939,0,0,0.0045301204819277107,0,0.0023132530120481927,0
5481631209,0.60599748727104408,3.3062223103881503e-005,0.0611320505190769,0.0079018713218276804,0.32232361303974078,0.00056205779276598559,6.6124446207763005e-005,0.00059512001586986714,0.00036368445414269656,0.00039674667724657806,0.00062818223897374858,0.5232758050651326,6.6124446207763005e-005,0.11019638960523706,0.0066785690669840638,0.34576472922039275,0.0074390001983733389,3.3062223103881503e-005,0.0009918666931164452,0.0023804800634794686,0,0.0031739734179726245,0.49044501752297825,0,0.12900879455134565,0.018812404946108575,0.35389803610394766,0.0010579911393242081,3.3062223103881503e-005,0.0009918666931164452,0.0017853600476096013,6.6124446207763005e-005,0.0039013423262580175,0.10811346954969252,0.33277127554056735,0.0014547378165707862,0.53398796535079018,0.0066455068438801826,0,0,0.016266613767109701,0.00013224889241552601,0.00062818223897374858,0,0.03709581432255505,0.28430205647027706,0.0036037823183230839,0.53967466772465778,0.0087614891225285992,0,0.00082655557759703767,0.026548965152416847,0.0020498578324406533,0.097136811479203861,0,0.052800370296898762,0.05012233022548436,0.010447662500826555,0.26310917146068902,0.019076902730939628,0,0.010282351385307148,0.02304436950340541,0.0015208622627785491,0.56959597963367059,0,0.34318587581829002,0.24231303312834754,0.0144812537195001,0.38444753025193412,0.0074720624214772201,0,0,0.008001057991139324,9.9186669311644515e-005,0,0,0.34629372479005488,0.085928717846988037,0.010844409178073134,0.5006612444620776,0.0032400978641803873,0,9.9186669311644515e-005,0.03864973880843748,0.0064801957283607747,0.007802684652516035,0,0.33465582225748858,0.086292402301130722,0.010646035839449845,0.42911459366527804,0.0049262712424783441,0,0.0030747867486609799,0.018547907161277525,0.0020167956093367716,0.11072538517489916,0
5589732454,0.053186096233110713,0.58903656681875294,0.033304679406643306,0.10485133020344288,0.0025127289558949943,0,0.0002424563027617977,0.002027816350371399,0,0.21217130639864223,0.0026670193303797748,0.04350988560470806,0.54922965020167958,0.095902488483325624,0.098128678172320308,0.0062597809076682318,0,0.00028653926690030637,0.00059512001586986714,0,0.20057748683021445,0.005510370517313584,0.070863364852652697,0.29738367607837951,0.35612422579294234,0.055853115563490492,0.0098305010028874335,0.0002424563027617977,0.00041878815931583241,4.408296413850867e-005,0,0.17675064471335053,0.03248914457008089,0.070576825585752387,0.32006436112764225,0.21459586942626022,0.10017853600476095,0.053031805858625936,0,0.00030858074896956072,8.816592827701734e-005,0,0.23619652185412948,0.0049593334655822253,0.022812933941678239,0.29934536798254313,0.25493178161299568,0.088298177169432876,0.021181864268553417,0,0.0002424563027617977,6.6124446207763005e-005,0,0.30855870748749148,0.004562586788335648,0.11342546672838281,0.021468403535453724,0.35614626727501159,0.19601490004187883,0.029645793383147084,2.2041482069254335e-005,0.0029315171152108268,0.00083757631863166481,0.00035266371310806936,0.27379929026427735,0.0053560801428288035,0.20331063060680199,0.024377879168595296,0.41325574731644954,0.055390244440036145,0.083294760739712134,0,8.816592827701734e-005,0,0,0.21688818356146267,0.0033943882386651678,0.24302938129559831,0.019374462738874561,0.098371134475082098,0.15803742643655361,0.048403094624082522,0,0.00052899556966210404,2.2041482069254335e-005,0,0.43033789592012167,0.001895567457955873,0.28288038087681017,2.2041482069254335e-005,0.16158610504970355,0.22848200312989045,0.095968612929533376,0,0.0014988207807092948,4.408296413850867e-005,2.2041482069254335e-005,0.22332429632568493,0.0061716149793912146
5670494686,0.0088830344175363941,0,0.42483196541358464,0.0029047184787381361,0.0001013273887931908,0.018137602593981152,0.45387915020096598,0.00064174012902354176,0.082075184922484543,0.0066538318640861956,0.0018914445908062283,0.011618873914952544,0,0.32532846961867123,0.00064174012902354176,0.00013510318505758774,0.014962677745127842,0.57695815178842846,0.0002026547775863816,0.060154693146890939,0.0083763974735704388,0.0016212382206910528,0.010335393656905462,0,0.42543992974634376,0.00037153375890836628,0,0.018880670111797886,0.46434964704292903,0.0002026547775863816,0.078731381092309247,0.00057418853649474782,0.0011146012767250988,0.042760158070726514,0,0.59722362954706654,0.018711791130475899,0.0003039821663795724,0.0075657783632249133,0.3015165332522714,0.0027020637011517545,0.0057081095686830818,0.022156922349444389,0.0013510318505758772,0.021650285405478434,0,0.42223122910122607,0.016212382206910528,0,0,0.47519167764380044,0.001519910831897862,6.755159252879387e-005,0.060897760664707673,0.0022292025534501976,0.019454858648292633,0,0.63029013408991119,0.02026547775863816,0.0001013273887931908,0.0019589961833350223,0.29482892559192081,0.0029047184787381361,0.023068868848583106,0.0062147465126490354,0.00091194649913871719,0.012699699395413247,0,0.64886682203532953,0.011078461174722195,0.0001013273887931908,0.0080048637146620735,0.2665585841186206,0.0013172560543114804,0.012632147802884453,0.021008545276454894,0.01773229303880839,0.0058769885500050663,0,0.61370621812409232,0.010943357989664606,0,0.0039517681629344416,0.31783024284797512,0.00084439490660992336,6.755159252879387e-005,0.025027865031918128,0.021751612794271624,0.004086871347992029,0,0.71989732157935626,0.011753977100010133,0.0001013273887931908,0.0059107643462694634,0.20079710879183976,0.00077684331408112942,0.018340257371567536,0.017394535076164421,0.020940993683926098
5688075420,0.36343551505109084,0,0,0.44208168400380499,0,0,0,0,0,0.19448280094510417,0,0.69047838227622815,0,0,0.26079351928564853,0,0,0,0,0,0.048728098438123292,0,0.52164840897235265,0,0,0.43146460462119118,0,0,0,0,0,0.046886986406456166,0,0.11080425910583326,0,0,0.4164902267636319,0,0,0,0,0,0.47270551413053485,0,0.43757095952622049,0,0,0.50326797385620914,0,0,0,0,0,0.059161066617570347,0,0.16134278437509589,0,0,0.48942894841817791,0,0,0,0,0,0.34922826720672617,0,0.25091288471570161,0,0,0.45699469146030869,0,0,0,0,0,0.2920924238239897,0,0.58489060726011843,0,0,0.36610512749700819,0,0,0,0,0,0.049004265242873365,0,0.25935131486084262,0,0,0.5362238792230507,0,0,0,0,0,0.20442480591610665,0
5688076928,0.14461770623742454,0,0,0.44642857142857145,0,0,0,0,0,0.40895372233400401,0,0.28860663983903423,0,0,0.41025318578135478,0,0,0,0,0,0.30114017437961099,0,0.12629946344735077,0,0,0.42727196512407778,0,0,0,0,0,0.44642857142857145,0,0.23025653923541248,0,0,0.45430918846411805,0,0,0,0,0,0.3154342723004695,0,0.46093226022803485,0,0,0.31815895372233399,0,0,0,0,0,0.22090878604963113,0,0.25968309859154931,0,0,0.45757880617035546,0,0,0,0,0,0.28273809523809523,0,0.086435278336686794,0,0,0.47275318578135478,0,0,0,0,0,0.44081153588195843,0,0.28827129443326627,0,0,0.41834339369550638,0,0,0,0,0,0.29338531187122735,0,0.12005365526492287,0,0,0.53080985915492962,0,0,0,0,0,0.34913648558014754,0
5901842923,0.21447464127487934,0.54711366792303118,0.0020498578324406533,0.0067116312900879459,0.16074852873107187,0,0.00013224889241552601,0.040732658863982016,0,0.022746809495470477,0.0052899556966210411,0.023011307280301527,0.77441645176221652,0.00082655557759703767,0.012332209217747801,0.16111221318521457,0,6.6124446207763005e-005,0.012894267010513787,0,0.013059578126033195,0.002281293394167824,0.19235601401838259,0.10523705613965482,0.0026449778483105205,0.008926800238048007,0.68147854261720553,0,3.3062223103881503e-005,0.0051246445811016332,0,0.0026449778483105205,0.0015539244858824308,0.16395556437214839,0.13879521259009456,0.010546849170138201,0.027243271837598362,0.27421807842359319,0,0.0004959333465582226,0.010083978046683859,0,0.36543675196720227,0.0092243602459829398,0.082589433313495997,0.15185479071612776,0.052502810288963829,0.10685710507174502,0.4608543278450043,0,0.0080341202142432053,0.0012233022548436157,0,0.12900879455134565,0.0070753157442306419,0.33739998677511074,0.010679098062553726,0.0034054089796997952,0.0023474178403755869,0.64372148383257288,0,3.3062223103881503e-005,6.6124446207763005e-005,0,9.9186669311644515e-005,0.0022482311710639424,0.39863122396349931,0.026714276267936255,0.0031739734179726245,0.028896382992792437,0.53683131653772398,0,6.6124446207763005e-005,0.00039674667724657806,0,0.0048270845731666996,0.00046287112345434105,0.7148713879521259,0.0032400978641803873,0.0060834490511141965,0.14150631488461285,0.13343913244726574,0,3.3062223103881503e-005,0.00019837333862328903,0,0.00036368445414269656,0.00026449778483105202,0.58444091780731333,0,0.017225418237122266,0.16590623553527739,0.23209680618924816,0,3.3062223103881503e-005,9.9186669311644515e-005,0,6.6124446207763005e-005,0.00013224889241552601
5902424890,0.0035707200952192026,0.11713945645705218,0.013588573695695298,0.018415658268861997,0.0033392845334920319,3.3062223103881503e-005,0.0010249289162203266,0.00013224889241552601,3.3062223103881503e-005,0.83931759571513587,0.0034054089796997952,0.027970640745883752,0.15658268861998281,0.12527276334060702,0.089863122396349929,0.01186933809429346,6.6124446207763005e-005,0.028499636315545859,0.0016531111551940753,0,0.54526218342921373,0.012960391456721549,0.013489387026383654,0.27054817165906236,0.0010249289162203266,0.012233022548436157,0.14828407062090854,3.3062223103881503e-005,9.9186669311644515e-005,0.0065793823976724192,0,0.53977385439396941,0.0079349335449315616,0.013489387026383654,0.0037360312107386101,0.03709581432255505,0.08622627785492297,0.32100112411558551,3.3062223103881503e-005,0.0030747867486609799,0.00013224889241552601,3.3062223103881503e-005,0.50089268002380483,0.034285525358725123,0.049428023540302853,0.019605898300601731,0.16798915559082192,0.11667658533359783,0.51266283144878666,0.00013224889241552601,0.0079349335449315616,0.00085961780070091911,0,0.10470806056999273,0.020002644977848309,0.084209482245586192,0.1199497454208821,0.0049593334655822253,0.010480724723930437,0.73014613502611914,6.6124446207763005e-005,6.6124446207763005e-005,0.0019506711631290087,0,0.04453481452092839,0.0036368445414269655,0.12130529656814124,0.035244329828737687,0.0013555511472591417,0.32182767969318254,0.51669642266746019,0,0.00046287112345434105,3.3062223103881503e-005,0,0.00066124446207763013,0.0024135422865833498,0.33293658665608677,0.00046287112345434105,0.0097202935925411616,0.35059181379355947,0.29435297229385704,0,0.0026119156252066389,0.00039674667724657806,0,0.0011902400317397343,0.0077365602063082725,0.38024862791774117,9.9186669311644515e-005,0.0031078489717648616,0.12722343450373602,0.48363419956357867,0,0.0014878000396746677,0.00039674667724657806,3.3062223103881503e-005,0.0029425378562454542,0.00082655557759703767
5960578206,3.4776560598156845e-005,0,0.30342549121891843,0.00066075465136498002,0.061589288819335765,0.0070596418014258391,0.00055642496957050952,0,0,0.0017736045905059989,0.62490001738828027,0.00024343592418709791,0,0.51145887671709267,0.00041731872717788211,0.10718135976351939,0.0036863154234046251,0.00020865936358894105,0,3.4776560598156845e-005,0.0012171796209354895,0.37555207789949574,0.011441488436793601,0,0.55614675708572425,0.0014606155451225874,0.10885063467223091,0.0031646670144322726,0.00073030777256129372,0,0.0017040514693096853,0.0023648061206746653,0.31413667188315075,6.9553121196313689e-005,0,0.69128847157016171,0.00055642496957050952,0.22079638323769779,0,0.00020865936358894105,0,0,0.00045209528777603896,0.086628412450008699,0,0,0.73604590505998957,0.00034776560598156841,0.099600069553121201,0,0.00010432968179447053,0,0,0.00024343592418709791,0.16365849417492609,0.0011476264997391757,0,0.77676925752043124,0.00062597809076682311,0.19843505477308293,0,0.0001738828029907842,0,0,0.00041731872717788211,0.022430881585811163,0.012276125891149365,0,0.53997565640758127,0.00031298904538341156,0.072613458528951486,0.031750999826117197,0.00027821248478525476,0,0.0037210919840027822,0.0001738828029907842,0.33889758302903844,0.012728221178925404,0,0.54630499043644587,0.00062597809076682311,0.069101025908537644,0.030429490523387236,6.9553121196313689e-005,3.4776560598156845e-005,0.0036863154234046251,0.00024343592418709791,0.33677621283255088,0.0082768214223613284,0,0.57788210745957225,0.00069553121196313681,0.06764041036341506,0.038254216657972524,0.00031298904538341156,0,0.0047296122413493305,0.00024343592418709791,0.30196487567379587
5960628490,0.0046272840882223797,0,0.78369980072280199,0.011922856081332117,0.0061471949201202421,0,0.0047961630695443642,0,0,0.0030060458675313269,0.18580065525044753,0.048569595028202787,0,0.62539264363157365,0.077819434593170533,0.061336846016144829,0.00013510318505758774,0.0082750700847772484,3.3775796264396935e-005,0,0.01573952105920897,0.16269801060560002,0.15351099402168406,0,0.31232478805687847,0.23230992670652212,0.22261627317864019,0,0.0018914445908062283,0,0,0.017799844631337183,0.05954672881413179,0.41395615901644883,0,0.060593778498328095,0.22214341203093863,0.28297362110311752,0,0.00077684331408112942,0,0,0.0059783159387982576,0.013577870098287568,0.28165636504880603,0,0.33400884925862129,0.15401763096565002,0.14665450738001148,0,0.0031749248488533118,0,0,0.017326983483635625,0.063160739014422262,0.83885567602256228,0,0.002566960516094167,0.053568412875333538,0.10379302192049178,0,0,0,0,0.00081061911034552639,0.00040530955517276319,0.15243016854122335,0,0.38170027358394976,0.14253386023575507,0.086330935251798566,0.0082075184922484543,0.019893943999729793,0,0.0082750700847772484,0.0026007363123585637,0.19802749349815921,0.18924578646941601,0,0.28631742493329282,0.16077279021852942,0.11987030094234472,0.0058094369574762722,0.018407808964096328,0,0.0074982267706961191,0.0028371668862093424,0.20924105785793901,0.20765359543351233,0,0.27621846185023813,0.17110818387543486,0.13601513155672645,0,0.0075320025669605162,0,0,0.0011146012767250988,0.2003580234404026
6065212926,0.4290786384976526,0.058392018779342726,0.0011150234741784037,0.0041960093896713617,0.5056924882629108,0,0,0.00076291079812206572,0,0.00032276995305164318,0.00044014084507042255,0.14806338028169014,0.034771126760563383,0.013585680751173709,0.060387323943661975,0.5369131455399061,0,0.00082159624413145535,0.0006161971830985916,0.00017605633802816902,0.20140845070422536,0.0032570422535211268,0.056338028169014086,0.65997652582159627,0.00044014084507042255,0.0034624413145539906,0.27673122065727701,0,0,0.00014671361502347418,0,0.0018192488262910799,0.0010856807511737088,0.49923708920187793,0.00064553990610328636,0.029460093896713616,0.0059859154929577463,0.46179577464788735,0,0.0011150234741784037,0,0,0.00090962441314553996,0.00085093896713615022,0.29058098591549297,0.0043720657276995305,0.27676056338028171,0.11607981220657276,0.097799295774647882,0,0.015610328638497652,0.00020539906103286384,0.00064553990610328636,0.19574530516431926,0.0022007042253521128,0.2408744131455399,0.095980046948356809,0.043163145539906106,0.064524647887323941,0.426056338028169,0,0.0027582159624413146,0.0038732394366197184,0,0.12168427230046948,0.0010856807511737088,0.27731807511737089,0.0068661971830985919,0.19642018779342724,0.11103286384976525,0.36734154929577467,2.9342723004694835e-005,0.013585680751173709,0.0034917840375586853,0.00088028169014084509,0.019806338028169015,0.0032276995305164321,0.17937206572769954,0.010328638497652582,0.43849765258215961,0.2278755868544601,0.10519366197183098,0,0.019307511737089202,0.0012030516431924883,0.0020246478873239436,0.011561032863849765,0.0046361502347417836,0.33421361502347419,0.024677230046948356,0.1363556338028169,0.11666666666666667,0.17473591549295775,0.0026995305164319249,0.048092723004694839,0.022065727699530517,0.0034624413145539906,0.12086267605633803,0.016167840375586856
6135806257,0.0067116312900879459,0.45665542551081134,0.00076043113138927457,0.40560735303841833,0.11095682073662633,0,0,0,0,0.019308338292666798,0,0.02149044501752298,0.41764200224823117,0.00095880447001256365,0.36398201415063147,0.19410831184288832,0,0,0,0,0.0018184222707134828,0,0.033029160880777626,0.48257620842425447,0,0.30473451034847582,0.17952787145407656,0,0,0,0,0.00013224889241552601,0,0.0068108179593995904,0.098822984857501822,0.0027441645176221651,0.10050915823579977,0.77663162071017655,0,6.6124446207763005e-005,0.00013224889241552601,0,0.0014547378165707862,0.012828142564306024,0.034021027573894067,0.0026449778483105205,0.0029094756331415725,0.08520134893870264,0.87353699662765327,0,0,0,0,0,0.0016861733782979568,0.025028102889638301,0.0013555511472591417,0.0035707200952192026,0.01583680486675924,0.94144680288302585,0,0,0,0,0.00033062223103881507,0.012431395887059446,0.013555511472591417,0,0.0024466045096872314,0.00016531111551940753,0.9735171592937909,0,0,0,0,0,0.010315413608411029,0.0081994313297626131,0,0.0015869867089863122,0.00085961780070091911,0.97804668385902271,0,0,0,0,3.3062223103881503e-005,0.011274218078423593,0.017622164914368844,3.3062223103881503e-005,0.0043972756728162402,0.004529524565231766,0.96892151028235141,0,0,0,0,3.3062223103881503e-005,0.0044634001190240035
6136400056,0,0.38844805924750381,0,0.22621173047675724,0.0026119156252066389,0,0,0,0,0.38262910798122068,9.9186669311644515e-005,0.00039674667724657806,0.61161806519870399,0,0.19043840507835746,0.032169543080076704,0,0,0,0,0.16537723996561529,0,0.013588573695695298,0.72908814388679499,0.00033062223103881507,0.079977517688289354,0.12947166567479998,0,0,0,0,0.047543476823381607,0,0.16732791112874429,0.11604840309462408,0.00016531111551940753,0.26707663823315481,0.36500694306685183,0,3.3062223103881503e-005,0.00026449778483105202,0,0.084077233353170661,0,0.038914236593268529,0.091946042451894472,0.00036368445414269656,0.10282351385307148,0.68776036500694304,0,0,0,0,0.076307610923758512,0.0018845467169212459,0.056701712623156784,0.0014547378165707862,0.0010910533624280897,0.018051973814719301,0.91972492230377567,0,0,0,0,3.3062223103881503e-005,0.0029425378562454542,0.073001388613370369,0.0021490445017522978,9.9186669311644515e-005,0.26396878926138995,0.65906235535277391,0,0,6.6124446207763005e-005,0,0.0016531111551940753,0,0.0095880447001256367,0,0.0024796667327911127,0.00036368445414269656,0.97209548370032406,0,0,0,0,0,0.015473120412616545,0.037624809892217149,0,0.0029756000793493354,0.00059512001586986714,0.94670369635654306,0,0,0,0,0,0.012100773656020631
6147805524,0,0.026104618253254754,0,0.97163120567375882,0,0,0.00036626377651250293,0.0018313188825625146,0,6.6593413911364172e-005,0,0,0.046848466686644691,0,0.88166350347950584,0,0,0.04295275197282989,0.016348683115239904,0,0.012186594745779643,0,0,0.047447807411846968,6.6593413911364172e-005,0.9261812006792528,0,0,0.021609562814237673,0.0038624180068591216,0,0.00083241767389205209,0,0.010288682449305763,0.12612792594812372,0.1042519894782406,0.55086071987480434,0.044717477441481038,0,0.076316052342423335,0.002330769486897746,0,0.064861985149668691,0.020244397829054708,0.059934072520227748,0.26813838111410782,0.10874704491725769,0.28112409682682382,0.20264375853228117,0,0.019278793327339925,0.0033629674025238902,0,0.019645057103852431,0.037125828255585525,0.04934571970832085,0.15802617121166718,0.036226817167782109,0.64222688376119597,0.10784803382945427,0,0,0.00069923084606932377,0,6.6593413911364172e-005,0.0055605500615989074,0.21283255086071987,0,0.17350913994605932,0.017181100789131955,0.54213698265241572,0,9.9890120867046251e-005,0,0,0.0022308793660306995,0.052009456264775412,0.13088935504278626,0,0.11810341957180436,6.6593413911364172e-005,0.63024006925715048,0,0,3.3296706955682086e-005,0,0,0.12066726600739187,0.16265441347850698,0,0.13122232211234308,0,0.56571105117703857,0.00016648353477841042,0,0,3.3296706955682086e-005,0,0.14021243299037725
6148295824,0,0.78562454539443227,0,0,0,0,0.0027772267407260463,0.00085961780070091911,0,0.21073861006414071,0,0.005818951266283145,0.43433842491569136,0.003008662302453217,0.00036368445414269656,0.004000528995569662,0,0.00039674667724657806,0.00019837333862328903,0,0.54952721020961448,0.0023474178403755869,0,0.0075051246445811013,0,0,0,0,0,0,0,0.99249487535541892,0,0.066851815116048402,0.60004628711234542,0.038781987700853005,0.0050585201348938699,0.037624809892217149,0.00033062223103881507,9.9186669311644515e-005,0.00029756000793493357,3.3062223103881503e-005,0.18828936057660517,0.062586788335647695,0.3504265026780401,0.1163790253256629,0.25041327778879852,0.0036699067645308472,0.066223632877074654,0.0025788534021027572,0.00019837333862328903,0.0004959333465582226,0.00039674667724657806,0.090987237981881908,0.11823050981948026,0.015539244858824307,0.19906764530847054,0.26489453150829861,0.0036368445414269655,0.0076043113138927459,0.0033062223103881507,0.00019837333862328903,0.00013224889241552601,3.3062223103881503e-005,0.44845599418104876,0.057131521523507242,0.24776829994048799,0.29349335449315611,0.041327778879851881,0.019473649408186206,0.01735766712953779,0.0078357468756199162,0.00029756000793493357,0.00062818223897374858,0.00039674667724657806,0.34404549361899095,0.027375520730013887,0.19635654301395225,0.012993453679825431,0.15519407524961978,0.012001586986708987,0.012067711432916749,0.0439727567281624,6.6124446207763005e-005,0.00033062223103881507,0.00036368445414269656,0.023705613965483038,0.54294782781194206,0.096178007009191296,0.18359452489585401,0.135885736956953,0.0053891423659326856,0.0041989023341929511,0.016531111551940751,0.00026449778483105202,0.00046287112345434105,0.00013224889241552601,0.074356939760629501,0.48300601732460491
6148296840,0,1,0,0,0,0,0,0,0,0,0,0.0038682801031541363,0.98075778615354092,0.0081994313297626131,0.00089268002380480066,0.0051577068042055144,0,0,3.3062223103881503e-005,0,0.00066124446207763013,0.00042980890035045955,0,0.99428023540302846,0,0,0,0,0,3.3062223103881503e-005,0,0.0056867023738676192,0,0.015440058189512662,0.90309462408252328,0.024168485088937382,0.0012563644779474972,0.027077960722078954,0,0,0.00052899556966210404,0,0.014911062619850559,0.013522449249487535,0.14216755934669048,0.25424849566884877,0.49725583548237784,0.008001057991139324,0.059710374925609995,0,0,0.00072736890828539312,0,0.0030417245255570983,0.034847583151491106,0.005818951266283145,0.95424188322422798,0.028698009654169146,0.00062818223897374858,0.0019506711631290087,0,0,0,0,0.0069761290749189974,0.0016861733782979568,0.0033062223103881507,0.74350327316008724,0.076836606493420612,0.0019176089400251273,0.0033723467565959135,0.024366858427560669,0.00052899556966210404,0.00089268002380480066,0.00019837333862328903,0.10358394498446076,0.041493089995371289,0.1623024532169543,0.097798055941281492,0.31604179065000332,0.00042980890035045955,0.013158764795344838,0.14263043047014481,0.00013224889241552601,0.00026449778483105202,3.3062223103881503e-005,0.00023143556172717052,0.26697745156384317,0.021126760563380281,0.65800436421344977,0.24859485551808502,0.0017522978245057197,0.0023804800634794686,0.030780929709713682,0.00056205779276598559,0.0015869867089863122,0,0.00072736890828539312,0.034483898697348407
6149580290,0.26344354543335663,0.73056304731462063,0,0.0059601105450670933,0,0,0,3.3296706955682086e-005,0,0,0,0.49635401058835282,0.00043285719042386708,0.02447307961242633,0.47847367895315152,0,0,0,0.00026637365564545669,0,0,0,0.31928212299803549,0,0.54060533413245426,0.13088935504278626,0.0091565944128125729,0,3.3296706955682086e-005,3.3296706955682086e-005,0,0,0,0.73961975160656612,0.0077914294276296078,0.015915825924816034,0.23597376219491892,0,0,0,0.00069923084606932377,0,0,0,0.087437152465621157,0,0.53584390503779178,0.35670762161622216,0,0.010921319881463724,0.0090567042919455273,3.3296706955682086e-005,0,0,0,0.55562214896946693,0,0.37348916192188591,0.028701761395797956,0.004661538973795492,0.004661538973795492,0.03263077281656844,0.00023307694868977458,0,0,0,0.062065061765391401,0,0.55575533579728964,0.3645989411647188,0.000399560483468185,0.016881430426530817,6.6593413911364172e-005,0,0,0,0.00023307694868977458,0.048613192155295838,0,0.56517830386574763,0.0042952751972829889,0.00089901108780341625,0.20067925282189591,0.077880997569340388,0.00026637365564545669,0.00033296706955682085,0.018346485532580829,0.083508141044850659,0.84816701628208968,0,0.017014617254353544,0.021343189158592214,0.0054939566476875437,0.00069923084606932377,0.020377584656877435,0.00033296706955682085,3.3296706955682086e-005,0.084407152132654081,0.0021309892451636535
6177824636,0.27142208087233077,0.061790095411176735,0.072482205058306826,0.2525518703619567,0.12388308344691806,0,0.00066636377404210212,0.004755414205664092,0,0.20911706799939422,0.0033318188702105103,0.27011964258670301,0.091200969256398604,0.01935483870967742,0.31055580796607601,0.040496743904285933,0,0.00024231409965167348,0.0014841738603665001,0,0.26651522035438435,3.0289262456459185e-005,0.15829168559745571,0,0.31918824776616689,0.1340905648947448,0.2558836892321672,0.00012115704982583674,0.00063607451158564292,0.00012115704982583674,0.00012115704982583674,0.10237770710283205,0.029168559745570196,0.60278661214599427,0.011933969407844918,0.13839164016356201,0.12627593518097835,0.10237770710283205,0,0.00039376041193396941,0.0074511585642889596,0.00012115704982583674,0.006269877328487051,0.0039981826442526125,0.36338028169014086,0.28102377707102832,0.0054520672421626533,0.33212176283507494,0.013145539906103286,0,0,0.0043616537937301225,3.0289262456459185e-005,0.00048462819930334696,0,0.23665000757231561,0.10419506285021959,0.17325458125094653,0.22577616235044676,0.19621384219294261,0,0.00015144631228229593,0.00042404967439042861,0,0.062850219597152812,0.00048462819930334696,0.095199151900651216,0,0.46818112978948961,0.062698773284870515,0.2607602604876571,0.00045433893684688776,0.036074511585642892,0.0044828108435559597,0.031773436316825686,0,0.040375586854460091,0.15062850219597151,0.019233681659851582,0.32418597607148264,0.10686051794638801,0.22329244282901711,0.00033318188702105106,0.044343480236256248,0.010146902922913826,0.11010146902922914,9.0867787369377552e-005,0.01078297743449947,0.20630016659094352,0.0012721490231712858,0.22386793881568984,0.12003634711494775,0.40009086778736935,0,0.032318643041041949,0.0065121914281387246,0.0094805391488717253,0,0.00012115704982583674
6180453051,0.28773925604911521,0,0,0.63849765258215962,0,0,0,0,0,0.073763091368725178,0,0.2348320693391116,0,0,0.67750090285301556,0,0,0,0,0,0.087667027807872874,0,0.33739617190321414,0,0,0.59714698447092818,0,0,0,0,0,0.065456843625857714,0,0.28791982665222104,0,0,0.57629107981220662,0,0,0,0,0,0.13578909353557242,0,0.26525821596244131,0,0,0.61357890935355719,0,0,0,0,0,0.12116287468400144,0,0.35012639942217405,0,0,0.54947634525099309,0,0,0,0,0,0.10039725532683279,0,0.15799927771758757,0,0,0.66296496930299742,0,0,0,0,0,0.17903575297941496,0,0.22092813289996388,0,0,0.58450704225352113,0,0,0,0,0,0.19456482484651499,0,0.1884254243409173,0,0,0.59461899602744672,0,0,0,0,0,0.21695557963163598,0
6504105947,0.005091582357997752,0.94713350525689344,0,0.0004959333465582226,0.00013224889241552601,0,3.3062223103881503e-005,6.6124446207763005e-005,0,0.047047543476823384,0,0.34979832043906633,0.34361568471864046,0.0023474178403755869,0.096574753686437878,0.019010778284731866,0,0.00029756000793493357,0.0018514844938173642,0,0.18630562719037227,0.00019837333862328903,0.01253058255637109,0.037624809892217149,0,0.0048601467962705808,0.00046287112345434105,0,3.3062223103881503e-005,6.6124446207763005e-005,0,0.94442240296237523,0,0.47255835482377834,0.083845797791443494,0.00029756000793493357,0.04856840573960193,0.018944653838524103,0,0.00013224889241552601,0.0039344045493618987,0,0.37171857435693978,0,0.84586391588970444,0.013357138133968128,0.00026449778483105202,0.10203002049857833,0.03097930304833697,0,0,0.0059512001586986708,0,0.0014547378165707862,9.9186669311644515e-005,0.60953514514315943,0.015076373735369967,0.00023143556172717052,0.08622627785492297,0.01471268928122727,0,3.3062223103881503e-005,0.0062818223897374856,0,0.26790319381075184,0,0.80056867023738676,0.13195133240759108,0.00026449778483105202,0.013687760365006943,0.049560272432718377,0,0,0.0039013423262580175,3.3062223103881503e-005,3.3062223103881503e-005,0,0.87036302320968062,0.068637175163657999,0,0.011472591417046882,0.045129934536798255,0,0,0.0043972756728162402,0,0,0,0.81481848839515969,0.12523970111750313,0,0.011141969186008066,0.045890365668187529,0,0,0.0029094756331415725,0,0,0
6504109757,0.01074522250876149,0.98442769291807186,0,0.0024135422865833498,0.0004959333465582226,0,3.3062223103881503e-005,9.9186669311644515e-005,0,0.0017853600476096013,0,0.20630827216822059,0.77881372743503274,0,0.0009257422469086821,0.012695893671890498,0,0,9.9186669311644515e-005,0,0.0011571778086358526,0,0.070422535211267609,0.91337697546783048,0,0.0019837333862328904,0.012497520333267209,0,0,0.00019837333862328903,0,0.0015208622627785491,0,0.079911393242081602,0.9044171130066786,0,0.0027441645176221651,0.0081333068835548507,0,6.6124446207763005e-005,0.0009918666931164452,0,0.0037360312107386101,0,0.23239436619718309,0.72647622826158831,0,0.00023143556172717052,0.040005289955696618,0,0,0.00089268002380480066,0,0,0,0.076208424254446863,0.83353170667195664,0.00082655557759703767,0.014745751504331151,0.054585730344508365,0,0,0.00039674667724657806,0,0.017192356014018383,0.0025127289558949943,0.12920716788996892,0.86160153408715201,0,0.00029756000793493357,0.0063479468359452489,0,0,0.00076043113138927457,0,0.0017853600476096013,0,0.74727236659392982,0.22353369040534285,0,0.00036368445414269656,0.027606956291741057,0,0,0.0012233022548436157,0,0,0,0.074125504198902334,0.92035310454274943,0,0.00046287112345434105,0.0045956490114395293,0,0,0.00036368445414269656,0,9.9186669311644515e-005,0
6504111103,0.014448191496396218,0.9432321629306355,0.0049262712424783441,0.024763605104807247,0.007802684652516035,0,0.00016531111551940753,0.0010249289162203266,0,0.003273160087284269,0.00036368445414269656,0.007273689082853931,0.86037823183230844,0.026548965152416847,0.068802486279177413,0.015241684850889373,0,0.0037360312107386101,0.0010579911393242081,0.00029756000793493357,0.007802684652516035,0.0088606757918402428,0,1,0,0,0,0,0,0,0,0,0,0.2833101897771606,0.033723467565959134,0.20991205448654368,0.13872908814388679,0.25775309131786023,0.00039674667724657806,0.00095880447001256365,0.0041327778879851878,0.002281293394167824,0.0040335912186735432,0.064768895060503873,0.22607948158434174,0.031805858625934005,0.20733320108444092,0.12854592342789128,0.26215036699067645,0.00076043113138927457,0.004364213449712359,0.0015869867089863122,0.00029756000793493357,0.02175494280235403,0.11532103418633868,0.11462672750115718,0.544071943397474,0.089301064603583946,0.046617734576472919,0.11241155855319712,0.00085961780070091911,0.0004959333465582226,0.002810288963829928,0.00013224889241552601,0.0079018713218276804,0.080771011042782517,0.48429544402565627,0.047708787938901015,0.076803544270316743,0.037856245453944323,0.2939231633935066,0.00023143556172717052,0.00062818223897374858,0.0018514844938173642,0.00052899556966210404,0.0087614891225285992,0.047411227930966075,0.54579117899887586,0.062553726112543812,0.07521655756133043,0.068405739601930832,0.21063942339482908,9.9186669311644515e-005,0.00046287112345434105,0.002810288963829928,0.00013224889241552601,0.0053560801428288035,0.028532698538649738,0.24555313099252793,0.03097930304833697,0.23513853071480526,0.066190570653970771,0.28178932751438207,0.00079349335449315612,0.00039674667724657806,0.0031739734179726245,0.00029756000793493357,0.0041327778879851878,0.13155458573034451
6504114587,0,0.0032863849765258214,0,0.97978286384976521,0.0022007042253521128,0,0,0,0,0.014730046948356808,0,0.31176643192488263,0,0,0.66132629107981222,0.0010856807511737088,0,0,0,0,0.025821596244131457,0,0,0.075117370892018781,0,0.92411971830985917,0.00076291079812206572,0,0,0,0,0,0,0.035475352112676058,0,0.00032276995305164318,0.40234741784037559,0.035211267605633804,2.9342723004694835e-005,2.9342723004694835e-005,0,0,0.52658450704225357,0,0.64806338028169019,0,5.868544600938967e-005,0.047681924882629109,0.0029636150234741785,0,0,0,0,0.3012323943661972,0,0.00023474178403755868,0,0,0.87303403755868547,0.026203051643192487,0,0,0,0,0.10052816901408451,0,0.35422535211267608,0,0.15446009389671361,0.066226525821596244,0.032306338028169013,0,0.0018192488262910799,0.00017605633802816902,0,0.31194248826291082,0.078843896713615025,0.95020539906103285,0,0.00076291079812206572,0.0071302816901408451,0.00058685446009389673,0,5.868544600938967e-005,0,5.868544600938967e-005,0.040522300469483567,0.00067488262910798123,0.1789612676056338,0.019160798122065729,0.12899061032863851,0.32508802816901411,0.10745305164319249,0,0.00067488262910798123,2.9342723004694835e-005,0,0.17963615023474178,0.060005868544600938
6544673409,0.41294716656747998,0.57188829376887307,0,0.0049813749476514801,0.00088165928277017351,0,2.2041482069254335e-005,0.00030858074896956072,0,0.0089708832021865147,0,0.89279023121514689,0.019594877559567105,0.005201789768344023,0.0085300535608014288,0.025325662897573233,0,6.6124446207763005e-005,0.0012784059600167515,0,0.047212854592342791,0,0.43758954352090634,0.0060614075690449427,0.25532852829024222,0.13033128347550088,0.1603958650179638,0,2.2041482069254335e-005,0.0076924772421697639,0.0025568119200335029,0,2.2041482069254335e-005,0.066984064008463934,0.77995988450263398,4.408296413850867e-005,0.0059952831228371794,0.0024025215455487229,0,0.00015429037448478036,0.001432696334501532,4.408296413850867e-005,0.14298309418325289,0,0.21585223390420771,0.31834512552624039,0.0002424563027617977,0.063501509841521739,0.032423020123873131,0,0.0024466045096872314,0.023959091009279464,0.00013224889241552601,0.34305362692587449,4.408296413850867e-005,0.59941810487337166,0.030262954881086206,0.096431484052987723,0.092155436531552379,0.15468712116202693,0,0,0.022085565033392845,0.0049593334655822253,0,0,0.07595494721065045,0.10535828429103573,2.2041482069254335e-005,0.0027772267407260463,0.004783001609028191,0,0.0030858074896956073,0.018558927902312151,0,0.78945976327448253,0,0.05528003702968988,0.087063854173554625,0.0044523793779893761,0.041878815931583241,0.007273689082853931,0,0.025171372523088452,0.035376578721153212,0.0078467676166545444,0.73565650554343276,0,0.3010205206198065,0.3751019418545703,0.030990323789371596,0.011990566245674359,0.01331305516982962,4.408296413850867e-005,0.0050695408759284973,0.24827525402808084,0.0031739734179726245,0.01097665807048866,4.408296413850867e-005
6600409931,0.051976159557819729,0.65980754503379613,0.238271234974861,0.0050278027503079942,0.00086571438084773417,6.6593413911364172e-005,0,0,0.0080245063763193826,0.033063630006992306,0.0028968135051443411,0.50640961608896884,0.036826157892984386,0.0075250557719841512,0.12989045383411579,0.2553857423500816,0,0,0,0,0.063962974061865283,0,0.12020111211001232,0.023174508041154729,0.17374221689474911,0.2739320081243965,0.4088502647088203,0,3.3296706955682086e-005,0,0,0,6.6593413911364172e-005,0.072054073852096029,0.031298904538341159,0.55059434621915893,0.27902640428861586,0.0028635167981886592,0.0084906602736989304,0,3.3296706955682086e-005,0.0086571438084773415,0.0099890120867046246,0.036992641427762797,0.038357806412945762,0.024206705956780875,0.16292078713415242,0.56028368794326244,0.097093197482768956,0.069756601072153965,0.00033296706955682085,0,0.004095494955548896,0.022908134385509274,0.020044617587320613,0.010921319881463724,0,0.25069090666933042,0.59098325175640132,0.14414144441114773,0.0028635167981886592,0,0,0,0,0.000399560483468185,0,0,0.95951120434189063,0,0,0.019711650517763794,0,0,0,0,0.020777145140345621,0,0,0.68421403123231117,0,0,0.19338727399860153,0,0,0,0,0.12239869476908734,0,0,0.95894516032364396,0,0,0.02717011287583658,0,0,0,0,0.013884726800519429
6600410487,0.014783737888322844,0.22285485965438018,0.5190956614390837,0.23847101521659508,0.0047947258016182203,0,0,0,0,0,0,0.0010987913295375088,0.43898378450371256,0.11803682615789299,0.40289015416375318,0.019944727466453569,0,0,0,0,0.017946925049112643,0.0010987913295375088,0.057636599740285684,0.093996603735890527,0.24319914760430195,0.47324609596110945,0.13158858588885558,0,0,0,0,0,0.00033296706955682085,0.036692971065161659,0.45306829154596612,0.051909566143908369,0.37235707388539274,0.021143408916858123,0,6.6593413911364172e-005,6.6593413911364172e-005,0.00063263743215795961,0.064062864182732326,0,0.27233376619052374,0.11717111177704526,0.06020044617587321,0.27885992075383742,0.26673991942196917,0,3.3296706955682086e-005,0,0,0.004661538973795492,0,0.08860253720907002,0.0015649452269170579,0.48160356940698568,0.33103586055339129,0.090533746212499586,0.0064595611494023238,0.00016648353477841042,3.3296706955682086e-005,0,0,0,0.041254619918090103,0.082475943129224516,0.86724602936769557,0.0040621982485932141,0.00079912096693637001,0,0,0,0.0037625278859920756,3.3296706955682086e-005,0.00036626377651250293,0.13112243199147605,0.23930343289048714,0.49259148270236075,0.11657177105184298,0.014950221423101255,6.6593413911364172e-005,0,0,0.0044284620251057172,0.00073252755302500585,0.00023307694868977458,0.015449672027436486,0.00079912096693637001,0.91549295774647887,0.067425831585256224,0.00056604401824659545,0,0,9.9890120867046251e-005,0.00013318682782272834,3.3296706955682086e-005,0
6600410987,0.032597476109612757,0.86494855658775349,0,0.0013984616921386475,6.6593413911364172e-005,0,0,3.3296706955682086e-005,0,0.10095561548962807,0,0.020544068191655846,0.95145340125861555,0,0.0053274731129091335,0,0,0,0,0,0.022675057436819499,0,0.054673192821229982,0.93210801451736425,0,0.013085605833583059,0.00013318682782272834,0,0,0,0,0,0,0.025538574235008157,0.24523024672859856,0.01325208936836147,0.015449672027436486,9.9890120867046251e-005,0,0,0.00033296706955682085,0,0.70009656045017143,0,0.25964772084040888,0.70842073718909204,0.0017980221756068325,0.011154396830153498,0.00069923084606932377,0,0,0.00033296706955682085,0,0.017946925049112643,0,0.34671860952951755,0.1516332034761762,0.44454433456531151,0.020044617587320613,0.0020643958312522893,0.012053407917956914,0,0.00026637365564545669,0.022608464022908135,0,6.6593413911364172e-005,0.078813305364099487,0.12849199214197715,0.38930509772583494,0.050577697865681087,0.00013318682782272834,0.22774947557686545,0,0.00023307694868977458,0,0.1246961675490294,0,0.23517464122798254,0.12782605800286351,0.19685013152199249,0.0062930776146239136,0.00056604401824659545,0.3820464156094962,0,9.9890120867046251e-005,0.047880664602270834,0.0032630772816568442,0,0,0,0.94439449938401088,0,0,0.055006159890786804,0,0,0.00053274731129091338,0,6.6593413911364172e-005
6600411613,0,0.13548430060267039,0.00099890120867046259,0.065694402823560746,0.00023307694868977458,0,0.019445276862118336,0.00073252755302500585,0,0.77704525022475279,0.00036626377651250293,0.00033296706955682085,0.42353411247627609,0.033896047680884361,0.16635034795058767,0.00083241767389205209,0.00026637365564545669,0.064995171977491425,0.0017980221756068325,0,0.29803882396031034,0.0099557153797489428,0.0079912096693637007,0.43432224552991711,0.16328705091066492,0.14367529051376818,0.056704291945526585,0.099823527453134886,0.030766157227050245,0.00053274731129091338,0.0025305497286318385,0.033762860853061634,0.026604068857589983,0.002430659607764792,0.55891852295807942,0.016581760063929678,0.096227483101921224,0.041088136383311692,0.00053274731129091338,0.032430992574834346,0.0060932973728898216,3.3296706955682086e-005,0.2414011254286951,0.004261978490327307,0.089534845003829119,0.51483368294875642,0.031432091366163886,0.086138580894349545,0.095894516032364402,0.0038957147138148039,0.046648686444910596,0.0047947258016182203,0,0.10335297839043718,0.023474178403755867,0.019611760396896747,0.14537342256850797,0.024406486198514966,0.28422069057370225,0.44274631238970463,0.012319781573602371,0.013318682782272833,0.00059934072520227753,0.002330769486897746,0.02876835480970932,0.026304398494988845,0.054040555389072022,0.5331801684813372,9.9890120867046251e-005,0.012386374987513734,0.38830619651716447,0,0.00029967036260113877,6.6593413911364172e-005,0,0.011587254020577364,3.3296706955682086e-005,0.097259681017547367,0.10395231911563946,0.0047281323877068557,0.29840508773682284,0.48862917457463456,0,6.6593413911364172e-005,9.9890120867046251e-005,0,0.0018646155895181967,0.0049945060433523123,0.0033962641094795725,0.08300869044051544,0.02557187094196384,0.35943795158658809,0.01744747444477741,0.46731928212299806,0,6.6593413911364172e-005,0.030000332967069557,0.0056937368894216366,0.0080578030832750645
6600412219,0.00159824193387274,0.20057936270102886,0.00043285719042386708,0.022541870608996772,0.00066593413911364169,0,0,0.0001997802417340925,0,0.77398195318482998,0,0,0.21892584823360969,0,0.021210002330769487,6.6593413911364172e-005,0,0,0,0,0.75979755602170951,0,0,0.46279092997702526,0.010288682449305763,0.032963739886125262,0,0,0,0,0,0.49389005427363236,6.6593413911364172e-005,0.22025771651183698,0.053141544301268606,0.18895881197349582,0.27939266806512836,0.059068358139380016,0.0059268138381114105,0.0078913195484966534,0.0027636266773216128,0.0013318682782272834,0.1503679286118603,0.030899344054872973,0.11920221090134185,0.19728298871241634,0.17933606366330371,0.24453101588252921,0.027136816168880896,0.035327806079978687,0.018746046016049012,0.0010654946225818268,0.0048280225085739021,0.14910265374754436,0.023440881696800187,0.01678154030566377,0.27566343688609196,0.26803849099324079,0.3535111377484767,0.0080245063763193826,0.051376818832617452,0.0047614290946625375,3.3296706955682086e-005,0.0028635167981886592,0.0061265940798455034,0.012819232177937602,0.36969333732893817,0.19508540605334132,0.086305064429127956,0.17487430493124231,0.048912862517896977,0,9.9890120867046251e-005,0.00046615389737954916,3.3296706955682086e-005,0.11817001298571571,0.0063596710285352782,0.42816235474311592,0.064995171977491425,0.14803715912496254,0.14946891752405686,0.073951986148569904,0.028701761395797956,0.003596044351213665,0.00023307694868977458,0.00046615389737954916,0.053607698198648156,0.048779675690074249,0.36123597376219491,0.048979455931808344,0.25988079778909867,0.089934405487297309,0.092498251922884828,0.10338627509739287,0.0010987913295375088,0.00023307694868977458,0.0015316485199613759,0.012353078280558052,0.028868244930576367
6600412955,0.063996270768820959,0.68734392168614522,0.0095228581893250751,0.042153631005893519,0.0047947258016182203,0.00079912096693637001,6.6593413911364172e-005,9.9890120867046251e-005,0.00063263743215795961,0.19059035061432425,0,0.055572203909033398,0.34658542270169479,0,0.40638630839409984,0.0037958245929477575,0,0.00033296706955682085,0.00023307694868977458,0,0.18709419638397762,0,0.043518795991076484,0.39160257050577696,0.11673825458662139,0.29361036193520462,0.0082242866180534738,0.058968468018512972,3.3296706955682086e-005,0.0004994506043352313,0,0.086771218326507513,3.3296706955682086e-005,0.013784836679652383,0.33846102620450835,0.017780441514334232,0.28635167981886589,0.23740552059401326,0.0041620883694602605,0.0018313188825625146,0.00023307694868977458,0.00016648353477841042,0.083774514700496128,0.016049012752638765,0.072120667266007396,0.18606199846835147,0.0082908800319648392,0.18183331668497985,0.49582126327706189,0,0.00023307694868977458,0.00013318682782272834,0,0.032397695867878669,0.023107914627243365,0.15765990743515465,0.045483301701461726,0.034661871940865049,0.23244431125761661,0.49352379049711981,0,6.6593413911364172e-005,0,0,3.3296706955682086e-005,0.036126927046915058,0.020910331968168348,0.2557520061265941,0.19724969200546066,0.30712882495921151,0.19695002164285952,0.0015316485199613759,0.0004994506043352313,3.3296706955682086e-005,3.3296706955682086e-005,0,0.019911430759497886,0.18629507541704127,0.30369926414277626,0.18120067925282191,0.28591882262844204,0.037525388739053707,3.3296706955682086e-005,0.0012319781573602371,3.3296706955682086e-005,0.00036626377651250293,0.00023307694868977458,0.0034628575233909367,0.29803882396031034,0.08190989911097793,0.13994605933473178,0.25408717077880999,0.066992974394832344,0.12492924449771918,6.6593413911364172e-005,0.00033296706955682085,0.0055938467685545902,0.0032297805747011619,0.024872640095894516
6600413397,0,0.010155495621483036,0.037525388739053707,0.020111211001231977,0.23350980588019846,0.018413078946492193,6.6593413911364172e-005,0,0.00083241767389205209,0.34615256551127094,0.33323344321246628,6.6593413911364172e-005,0,0.23930343289048714,0.01325208936836147,0.0053940665268204973,0.1891585922152299,0.1300569373688942,0,0.056171544634235675,0,0.36659674358205974,0.011454067192754637,0.00023307694868977458,0.22062398028834948,0.53770852062731,0.001165384743448873,0.042453301368494657,0.18130056937368894,0,0.0049612093363966304,9.9890120867046251e-005,0,0.1210002330769487,0,0.1588585888855592,0.018313188825625146,0.039090333965970767,0.17271001897912297,0.14510704891286252,0.00036626377651250293,0.1462724336563114,0.004861319215529584,0.19342057070555721,0.33070289348383447,0.0074584623580727866,0.15582858855259216,0.34262311457396866,0.00073252755302500585,0.021076815502946759,0.11817001298571571,0,0.02330769486897746,9.9890120867046251e-005,0,0.058768687776778877,0.0094895614823693932,0.031398794659208203,0.34495388406086636,0.00099890120867046259,0.44021576266107282,0.023607365231578598,0.00033296706955682085,0.0012985715712716013,0.0061265940798455034,0.082808910198781338,0.23504145440015983,0.019578463689941063,0.079812206572769953,0.034095827922618456,3.3296706955682086e-005,0.26194519362035096,0.07984550327972563,0.00099890120867046259,0.0027969233842772951,0.025238903872407018,0.26061332534212367,0.15323144541004893,0.11071155062764293,0.035694069856491192,0.16045683081943196,0,0.48899543835114706,0.011687144141444412,0,0,0.01744747444477741,0.021776046349016084,0,0.00013318682782272834,0.0039623081277261676,0.0029967036260113876,0,0.87760130523091262,0,0,0,0,0.11530649618752706
6600414069,0.12016781540305664,0.084973196150900682,0.39519861485699065,0.0061598907868011853,0.00033296706955682085,0.047014950221423102,0,6.6593413911364172e-005,0.004261978490327307,0.34182399360703225,0,0.0090567042919455273,0,0.57193753537775116,9.9890120867046251e-005,0.026937035927146805,0.18276562447973896,0.0016648353477841042,0,0.010122198914527354,0.00319648386774548,0.19421969167249359,0.05973429227849366,0.0043618686111943526,0.40348949488895547,0.012752638764026238,0.045450004994506042,0.1973828788332834,0.0015316485199613759,0.0018313188825625146,0.028468684447108181,0,0.24499716977990876,0.18556254786401624,0,0.21003562747644258,0.00159824193387274,0.01904571637865015,0.30403223121233308,0.0028635167981886592,0.00016648353477841042,0.0081243964971864282,0.0093896713615023476,0.25918156694302935,0.038224619585123035,0,0.095528252255851903,0,0.040055938467685549,0.39466586754569971,0.00059934072520227753,0.00036626377651250293,0.031831651849632069,0.0042286817833716243,0.39449938401092133,0.46129257816401958,0.19485232910465156,0.11550627642926115,0.057003962308127723,0.023740552059401326,0.098558252588818965,0.0013651649851829655,0.0023973629008091101,0.023540771817667231,0.0015649452269170579,0.020177804415143344,0,0,0.14350880697898977,0.0085905503945659777,0.060566709952385708,0.11783704591615889,0.0021309892451636535,0,0.0047614290946625375,0.012286484866646689,0.65031798355142678,0.0124529684014251,0.00029967036260113877,0.23777178437052576,0.019145606499517197,0.031898245263543436,0.18363133886058669,0.0023640661938534278,0.0001997802417340925,0.0057603303033330003,0.0059268138381114105,0.50054939566476875,0.10175473645656445,0.23743881730096894,0.30519761595578199,0.060067259348050475,0.044284620251057172,0.22838211300902342,3.3296706955682086e-005,0.00026637365564545669,0.018979122964738786,0.0033296706955682084,0.00026637365564545669
6600415081,0.10269953051643192,0.4069158540989527,0.0013091368725171543,0.19718309859154928,0.001218851570964247,0,0.19140483929216323,0.0072228241242325748,0,0.091910436980859517,0.00013542795232936077,0.10315095702419647,0.56599855543517519,0.00040628385698808235,0.18833513903936439,0.0080353918382087396,0,0.0017605633802816902,0.00081256771397616469,0,0.1315005417118093,0,0.13321596244131456,0.19460996749729145,0.10802636330805344,0.018553629469122427,0.00022571325388226796,0.28593355001805704,0.0032954135066811125,0.0018057060310581437,0.017018779342723004,0.0054622607439508844,0.23185265438786565,0.09154929577464789,0.3684994582881907,0.0088479595521849044,0.28268327916215241,0.076742506319971107,9.0285301552907191e-005,0.059498013723365835,0.0060039725532683276,0.00049656915854098956,0.10482123510292525,0.00076742506319971105,0.038596966413867825,0.38777537016973634,0.065727699530516437,0.22995666305525461,0.14048392921632358,0.0014445648248465151,0.0071776814734561215,0.0038371253159985553,0.0023022751895991332,0.10594980137233659,0.016747923438064284,0.034669555796316358,0.016883351390393642,0.24593716143011918,0.011872517154207295,0.047309498013723368,0.39125135427952329,0.0026182737450343085,0.0015799927771758759,0.19343625857710364,0.00031599855543517513,0.054126038280967861,0.47038642109064643,0.21876128566269412,0.035301552907186708,0.035346695557963166,0.20648248465149874,0.00031599855543517513,0.00045142650776453593,0.0022119898880462261,0.01431022029613579,0.0061394005055976884,0.010292524377031419,0.35915492957746481,0.14486276634163958,0.16820151679306608,0.15330444203683641,0.071912242686890573,0.044916937522571324,0.0067262549656915858,0.0012639942217407005,0.0041079812206572773,0.011737089201877934,0.033811845431563743,0.5292524377031419,0.064734561213434447,0.18576200794510653,0.034714698447092816,0.043698085951607075,0.010834236186348862,0.00054171180931744309,0.02825929938605995,0.090014445648248467,0,0.01218851570964247
6600415555,0.10396352473817262,4.5142650776453595e-005,0.009254243409172986,0.0017605633802816902,0,0.77239075478512098,0,0,0,0,0.11258577103647527,0.099990971469844703,0.0023925604911520407,0.005055976886962802,0.0033856988082340196,0,0.18052546045503792,0,0,0,0,0.70864933188876855,0.10306067172264355,0,0.0050108342361863487,0.005055976886962802,0.0021217045864933191,0,0,4.5142650776453595e-005,0,0,0.88470566991693755,0.007087396171903214,0,0.16025641025641027,0,0.00090285301552907185,0.83125677139761645,0,0,0.00045142650776453593,0,4.5142650776453595e-005,0,0,0.09944925966052727,0,0,0.71551101480678947,0,0,0,0,0.18503972553268327,0,0,0.011285662694113399,0,0,0.34877211989888046,0,0,0,0,0.63994221740700619,0.66698266522210181,0.002437703141928494,0.29207295052365473,0.030245576020223909,0.0027537016973636693,0.001218851570964247,0,0.0034308414590104733,9.0285301552907191e-005,0,0.00076742506319971105,0.28159985554351752,0.0012639942217407005,0.66377753701697362,0.043020946189960274,0.0033856988082340196,0.0039274106175514623,0,0.0027988443481401226,0,0.00013542795232936077,9.0285301552907191e-005,0.22065727699530516,0.0020314192849404116,0.66964608161791261,0.043066088840736726,0.0034308414590104733,0.057556879739978334,0,0.0033856988082340196,0,0.00013542795232936077,9.0285301552907191e-005
6600416321,0.1048663777537017,0.89423076923076927,0,0.00090285301552907185,0,0,0,0,0,0,0,0.10969664138678223,0.87797941495124598,0.0022571325388226799,0.0073131094257854823,4.5142650776453595e-005,4.5142650776453595e-005,0.00090285301552907185,0.00076742506319971105,0,0.00072228241242325753,0.00027085590465872155,0.10527266161068978,0.8912062116287468,0,0.0032954135066811125,0,0,0,0.00022571325388226796,0,0,0,0.036294691224268691,0.37883712531599856,0.54884434814012284,0.02108161791260383,0.0063651137594799567,0.0014445648248465151,9.0285301552907191e-005,0.0017154207295052367,0.0050108342361863487,9.0285301552907191e-005,0.00022571325388226796,0.12138858793788371,0.18364030335861323,0.5531780426146623,0.027130733116648608,0.053855182376309138,0.0058234019501625135,0.022029613578909354,0.0043336944745395447,0.0060039725532683276,0.0024828457927049477,0.020133622246298302,0.19451968219573854,0.39775189599133259,0.3684994582881907,0.016567352834958467,0.017244492596605272,0.00027085590465872155,0,0.0012639942217407005,0.0022119898880462261,0,0.0016702780787287829,0.2821867100036114,0.088931022029613574,0.2474720115565186,0.055931744312026001,0.3170368364030336,0,0.0021217045864933191,0.0030697002527988442,0,0.0022571325388226799,0.00099313831708197913,0.23681834597327556,0.15407186710003612,0.25740339472733836,0.11714517876489708,0.20679848320693392,0,0.0013994221740700613,0.0063651137594799567,9.0285301552907191e-005,0.00072228241242325753,0.019185626579992777,0.32489165763813649,0.07308595160707837,0.19406825568797401,0.060581437342000721,0.3424070061394005,0,0.0012639942217407005,0.002437703141928494,0,0.0012639942217407005,0
6600416789,0.10382809678584326,0,0.0096153846153846159,0.0019411339833875045,0,0.17452148790176958,0,0,0,0,0.710093896713615,0.10206753340556157,0,0.0096153846153846159,0.0037016973636691945,0,0.14039364391477069,0,0,0,0,0.74422174070061398,0.10436980859516071,0,0.0096153846153846159,0.0013994221740700613,0,0.71420187793427226,0,0,0,0,0.17041350668111233,0.00081256771397616469,0,0.0037468400144456482,0,0,0.43856085229324665,0,0.00013542795232936077,0.5502437703141928,0,0.0065005417118093175,0.0015799927771758759,0,0.041621524015890213,0,0,0.45002708559046589,0,0.00027085590465872155,0.49760743950884795,0,0.0088931022029613577,0.018327916215240159,0,0.086132177681473451,0,0,0.45846876128566272,0,0.024286746117732034,0.41278439869989164,0,0,0.81256771397616467,0,0.030877573131094259,0.027537016973636693,0.0051462621885157095,0,0.005236547490068617,0.016206211628746841,0.10215781870711448,0.00027085590465872155,0,0.60725893824485377,0,0.052997472011556516,0.037829541350668114,0.0050108342361863487,0,0.0036565547128927412,0.054803178042614663,0.23844348140122787,0,0,0.56626941133983388,0,0.04672264355362947,0.033134705669916935,0.0070422535211267607,0,0.0046948356807511738,0.064599133261105099,0.27749187432286027,4.5142650776453595e-005,0
6600418021,0.12667027807872877,0,0.18007403394727339,0.0037016973636691945,0.00022571325388226796,0.47670639219934996,0,0.0023925604911520407,0.089924160346695564,0,0.12030516431924883,0.31775911881545682,0,0.43576200794510656,0.0081256771397616463,9.0285301552907191e-005,0.11479776092452149,9.0285301552907191e-005,0.016477067533405561,0.099313831708197908,0,0.0075839653304442039,0.17628205128205129,0,0.61118634886240519,0.0041079812206572773,0.0058685446009389668,0.050830624774286744,0.00045142650776453593,0.011105092091007584,0.073447092813289996,0,0.066720837847598413,0.021894185626579993,0,0.074124232574936805,0,0.0034308414590104733,0.55078548212351031,4.5142650776453595e-005,0.0010382809678584327,0.12788912964969304,0,0.22079270494763453,0.035978692668833516,0,0.3253882267966775,0.00027085590465872155,0.0062296858071505959,0.20679848320693392,0.002527988443481401,0.0060491152040447818,0.24331888768508486,0,0.17343806428313471,0.086493318887685092,0,0.52839472733838933,0.00099313831708197913,0.010066811123149151,0.09010473094980137,0.0020314192849404116,0.02035933550018057,0.11226977248104009,0,0.14928674611773204,0.36371433730588659,0.00031599855543517513,0.18828999638858793,0.03828096785843265,0.011150234741784037,0.23090465872156013,0.00027085590465872155,0.016206211628746841,0.10622065727699531,0,0.044646081617912607,0.36497833152762732,0.0026182737450343085,0.21099674972914409,0.050018057060310581,0.0083965330444203679,0.091413867822318529,0.0037016973636691945,0.035166124954857346,0.18616829180209463,0.00013542795232936077,0.046406644998194295,0.24891657638136511,0.00022571325388226796,0.18838028169014084,0.0571957385337667,0.014219934994582881,0.10843264716504153,0.0034759841097869266,0.036384976525821594,0.11199891657638136,0.00036114120621162876,0.23040808956301914
6600418967,0.10558866016612495,0.86073492235464066,0,0.0090285301552907194,0,0,0,0,0,0.02464788732394366,0,0.10509209100758396,0.88601480678945466,0,0.0071776814734561215,0,0,0,0,0,0.0017154207295052367,0,0.18585229324665944,0.76801191765980503,0.00045142650776453593,0.022661610689779704,0.00099313831708197913,0,0.00018057060310581438,0.001895991332611051,0,0.019953051643192488,0,0.076020223907547854,0.8699440231130372,0,0.021036475261827375,0.00013542795232936077,0,0,0.00090285301552907185,0,0.031960996749729145,0,0.055344889851932103,0.86461719032141571,0.00072228241242325753,0.042930660888407364,0.00022571325388226796,0,0.00018057060310581438,0.004559407728421813,0,0.031419284940411699,0,0.22318526543878656,0.73740520043336943,0.00018057060310581438,0.026498736005778258,9.0285301552907191e-005,0,9.0285301552907191e-005,0.0013542795232936078,0,0.01119537739256049,0,0.25334055615745754,0.64793246659443837,0.0055976886962802452,0.03345070422535211,0.0046045503791982663,0,0,0.0068616829180209466,0,0.048212351029252434,0,0.20327735644637054,0.73699891657638139,0.0039725532683279165,0.035391838208739618,0.0047399783315276271,0,0.00063199711087035025,0.0072679667750090281,0,0.0077193932827735647,0,0.24128746840014445,0.69763452509931378,0.0047851209823040813,0.042298663777537014,0.0065456843625857708,0,0,0.0070422535211267607,0,0.00040628385698808235,0
6600420203,0.10558866016612495,0.35495666305525458,0.0027085590465872156,0.07890935355724088,0.022571325388226798,4.5142650776453595e-005,0.021036475261827375,4.5142650776453595e-005,0,0.4140935355724088,4.5142650776453595e-005,0.099765258215962438,0.034488985193210545,0,0.016838208739617191,0.0013542795232936078,0,0.68458829902491869,0,0,0.16296496930299748,0,0.10184182015167931,0.018869628024557602,0,0.013768508486818347,0.00013542795232936077,0,0.49061032863849763,0,0,0.37477428674611774,0,0.134254243409173,0.61579089924160346,0.0037016973636691945,0.079405922715781868,0.16472553268327916,0,0.0015799927771758759,0.00027085590465872155,0,0,0.00027085590465872155,0.074620801733477793,0.49331888768508486,0.0075388226796677497,0.11087035030697003,0.11660346695557963,0.00022571325388226796,0.17230949801372336,0.0068165402672444924,0.00076742506319971105,0.016386782231852654,0.00054171180931744309,0.016612495485734922,0.47702239075478514,0.022571325388226798,0.15258215962441316,0.061078006500541709,0.0025731310942578548,0.20517334777898158,0.012414228963524739,0.0087576742506319978,0.038461538461538464,0.0027537016973636693,0.54189237992054895,0.19934994582881907,0.0017154207295052367,0.021984470928132899,0.2287829541350668,0,0,0.0061845431563741426,0,9.0285301552907191e-005,0,0.48582520765619358,0.26110509209100757,0.0036565547128927412,0.041395810762007948,0.20201336222462982,9.0285301552907191e-005,0.00036114120621162876,0.0048754062838569879,0,0.00058685446009389673,9.0285301552907191e-005,0.3232665222101842,0.23722462983026363,0.029523293607800649,0.067578548212351028,0.28986096063560851,0.0069068255687973999,0.0066359696641386783,0.013858793788371253,0.010563380281690141,0.0061394005055976884,0.0084416756951968212
6600421193,0.10396352473817262,0.83676417479234377,0,0.0097959552184904292,4.5142650776453595e-005,0,0,0,0,0.049431202600216682,0,0.10423438064283135,0.66156554712892746,0,0.0043336944745395447,0,0,0,0,0,0.2298663777537017,0,0.10288010111953774,0.33306247742867462,0,0.01218851570964247,4.5142650776453595e-005,0,0,0,0,0.55182376309136871,0,0.20860418923799207,0.14061935716865295,0.0091639581076200793,0.14156735283495847,0.034804983748645719,9.0285301552907191e-005,0.00094799566630552549,0.0087125315998555428,0.0032502708559046588,0.4481310942578548,0.0041079812206572773,0.26268508486818348,0.42298663777537016,0.013858793788371253,0.13831708197905382,0.075704225352112672,0.00018057060310581438,0.0023925604911520407,0.005913687251715421,0.0016251354279523294,0.073266522210184176,0.0030697002527988442,0.22571325388226796,0.48632177681473454,0.045684362585771035,0.11967316720837848,0.034759841097869268,0.001218851570964247,0.0037468400144456482,0.0055976886962802452,0.0089833875045142644,0.066359696641386787,0.0019411339833875045,0.70630191404839293,0.011962802455760202,0.069609967497291439,0.11687432286023836,0.051327193932827739,0.00076742506319971105,0.0017605633802816902,0.0043336944745395447,0.017289635247381727,0.00076742506319971105,0.019005055976886964,0.66517695919104369,0.017515348501263996,0.060175153485012643,0.21411159263271939,0.033495846876128568,4.5142650776453595e-005,0.0017605633802816902,0.002527988443481401,0.0013994221740700613,0.0029794149512459372,0.00081256771397616469,0.59416756951968219,0.029478150957024198,0.065095702419646087,0.20205850487540628,0.063876850848681832,0.0093896713615023476,0.0041531238714337306,0.0040176959191043698,0.0078548212351029247,0.0061394005055976884,0.013768508486818347
6600421937,0.10572408811845431,0.0044691224268689055,9.0285301552907191e-005,0.86854460093896713,0,0,0.010111953773925604,0.0059588299024918743,0,0.0051011195377392562,0,0.10558866016612495,0.073221379559407732,0,0.69745395449620806,0,0,0.067488262910798125,0.027988443481401226,0,0.02825929938605995,0,0.1055435175153485,0.12942397977609246,0.00027085590465872155,0.72332069339111593,0,0,0.031509570241964609,0.0055525460455037919,0,0.0043336944745395447,4.5142650776453595e-005,0.0029794149512459372,0.14946731672083785,0.090872156013001082,0.55403575297941499,0.016296496930299748,0,0.096785843264716509,0.0032954135066811125,0,0.07683279162152401,0.0094348140122788009,0.027221018418201518,0.32913506681112314,0.12594799566630552,0.29983748645720476,0.14955760202239077,0,0.016070783676417479,0.0043788371253159989,0,0.017018779342723004,0.030832430480317804,0.030697002527988442,0.13836222462983028,0.011917659804983749,0.78196099674972919,0.036068977970386419,0,0,0.00040628385698808235,0,4.5142650776453595e-005,0.00054171180931744309,0.3917479234380643,0.020043336944745395,0.2105001805706031,0.12536114120621164,0.21054532322137956,0,0.00063199711087035025,0.001218851570964247,0,0.014897074756229686,0.025054171180931745,0.38583423618634888,0.0013994221740700613,0.099990971469844703,0.050424340917298666,0.39382448537378117,0,0,0.0017605633802816902,0,0.00018057060310581438,0.066585409895269052,0.30128205128205127,0.0015348501263994221,0.12089201877934272,0.087576742506319971,0.44063741422896352,0,0,0.0014897074756229686,0,0.00022571325388226796,0.046361502347417843
6600423107,0.10455037919826653,0.3800559768869628,0,0.0069519682195738532,0,0,0,0,0,0.50844167569519683,0,0.10441495124593717,0.073898519321054526,0,0.010969664138678224,0,0,0,0,0,0.81071686529433007,0,0.10522751895991332,0.60594980137233656,0,0.0030245576020223909,4.5142650776453595e-005,0,0,0,0,0.28575297941495126,0,0.035527266161068979,0.21194474539544961,0.051146623329721919,0.10152582159624413,0.0088028169014084511,0.0042885518237630914,0.0067262549656915858,0.0054171180931744311,0.0021668472372697724,0.56965511014806791,0.0027988443481401226,0.031419284940411699,0.14450162513542794,0.035843264716504154,0.1394907908992416,0.014671361502347418,0.00054171180931744309,0.0067713976164680391,0.0040628385698808231,0.00072228241242325753,0.62098230408089561,0.00099313831708197913,0.057556879739978334,0.17280606717226435,0.0803539183820874,0.19822137955940772,0.015167930660888408,0.0037468400144456482,0.013678223185265438,0.012865655471289273,0.0029794149512459372,0.4242054893463344,0.018418201516793065,0.39540447815095703,0.0063651137594799567,0.27044962080173346,0.12721198988804622,0.022119898880462261,0.05981401227880101,0.016747923438064284,0.010834236186348862,0.010111953773925604,0.048392921632358255,0.032547851209823044,0.3557240881184543,0.0051914048392921628,0.27112676056338031,0.1710003611412062,0.034940411700975081,0.028394727338389311,0.022345612134344529,0.010743950884795956,0.014851932105453233,0.044646081617912607,0.041034669555796315,0.32109967497291442,0.020223907547851208,0.3138317081979054,0.088660166124954851,0.031013001083423617,0.12829541350668111,0.015483929216323583,0.011240520043336946,0.0138136511375948,0.021939328277356448,0.034398699891657641
6600423973,0.097733838931022027,0.89423076923076927,0.0080353918382087396,0,0,0,0,0,0,0,0,0.099494402311303715,0.88917479234380647,0.0062748284579270492,0.003882267966775009,0,0,9.0285301552907191e-005,0,0,0.0010834236186348862,0,0.10075839653304441,0.73234922354640664,0.0051462621885157095,0.064147706753340555,0.00076742506319971105,0,0.0075839653304442039,9.0285301552907191e-005,0,0.089111592632719394,4.5142650776453595e-005,0.036204405922715781,0.20869447453954496,0.22968580715059589,0.38141025641025639,0.021487901769591911,0.0045142650776453597,0.021126760563380281,0.0082611050920910079,0.00085771036475261833,0.037739256049115204,0.050018057060310581,0.02500902853015529,0.29767063921993497,0.15556157457565908,0.38037197544239798,0.019817623690863127,0.002437703141928494,0.026950162513542795,0.0075839653304442039,0.0025731310942578548,0.054171180931744313,0.027853015529071868,0.010518237630913687,0.4061032863849765,0.12211087035030697,0.28674611773203323,0.029703864210906466,0.0014897074756229686,0.018011917659804984,0.0014897074756229686,4.5142650776453595e-005,0.022390754785120981,0.10139039364391476,0.24756229685807152,0.67732033224990973,0.013091368725171542,0.033902130733116646,0.019591910436980858,0.0014445648248465151,0.00085771036475261833,0.00085771036475261833,0,0.00058685446009389673,0.0047851209823040813,0.21609786926688335,0.73040808956301917,0,0.045323221379559409,0.0072679667750090281,0,0,0.00085771036475261833,0,4.5142650776453595e-005,0,0.22133441675695198,0.67425063199711088,0.0035211267605633804,0.072995666305525467,0.0096605272661610692,0,0.0019411339833875045,0.00094799566630552549,0,0.014806789454676778,0.00054171180931744309
6600424745,0.10405381003972554,0.32547851209823042,0,0.062928855182376314,0.13326110509209102,0,0,0,0,0.37427771758757672,0,0.10265438786565548,0.59141386782231853,0.00022571325388226796,0.024963885879378839,0.064237992054893459,0,0,0,0,0.21650415312387145,0,0.10251895991332612,0.31970025279884434,0,0.054035752979414951,0.091504153123871432,0,0,0,0,0.43224088118454318,0,0.00013542795232936077,0.79464608161791261,0.066720837847598413,0.0084868183459732762,0.024196460816179127,0,0.00036114120621162876,0,0,0.019321054532322138,0.086132177681473451,0.00045142650776453593,0.80349404117009748,0.040583243048031778,0.0055976886962802452,0.056022029613578911,0,0.0010834236186348862,0.00022571325388226796,0,0.024241603466955579,0.068300830624774281,0.0023022751895991332,0.87296858071505956,0.0092091007583965327,0.0052816901408450703,0.078728782954135074,0,0.00027085590465872155,0,0,0.014084507042253521,0.017154207295052366,0.24467316720837848,0.025776453593355002,0.23280065005417119,0.062251715420729506,0.019772481040086675,0.0020314192849404116,0.030155290718670999,0.017154207295052366,0.012098230408089564,0.081527627302275196,0.27175875767425062,0.22548754062838569,0.036926688335139041,0.21564644275911882,0.11895088479595523,0.041666666666666664,0.0036565547128927412,0.035527266161068979,0.013452509931383172,0.010473094980137234,0.056924882629107984,0.24128746840014445,0.27040447815095703,0.027401589021307331,0.23537378114842902,0.12834055615745757,0.10608522932466595,0.00090285301552907185,0.02627302275189599,0.014897074756229686,0.016296496930299748,0.045955218490429758,0.12806970025279885
6600425525,0.10572408811845431,0.37676056338028169,0,0.51178223185265437,0,0,0.00027085590465872155,0.00049656915854098956,0,0.0049656915854098954,0,0.10166124954857349,0.58938244853737809,0.00022571325388226796,0.24191946551101481,4.5142650776453595e-005,0,0.0026182737450343085,0.00099313831708197913,0,0.063154568436258579,0,0.1023383893102203,0.21560130010834236,0.00018057060310581438,0.50668111231491508,0,0,0.01169194655110148,0.0017605633802816902,0,0.16174611773203323,0,0.061574575659082705,0.11172806067172264,0.032728421812928857,0.44731852654387866,0.28940953412784398,0.00067713976164680389,0.004559407728421813,0.00022571325388226796,4.5142650776453595e-005,0.048889490790899243,0.0028439869989165764,0.035436980859516069,0.071235102925243765,0.037152401589021306,0.38186168291802097,0.40578728782954138,0.0066811123149151316,0.0034759841097869266,0.00031599855543517513,0.00018057060310581438,0.023925604911520404,0.033947273383893105,0.16269411339833875,0.18287287829541352,0.038145539906103289,0.16377753701697365,0.43598772119898882,9.0285301552907191e-005,0,4.5142650776453595e-005,0.00013542795232936077,0,0.016251354279523293,0.24029433008306247,0.0069519682195738532,0.14942217407006139,0.5957475622968581,0.0049205489346334421,0,4.5142650776453595e-005,0.0015348501263994221,0,0.00036114120621162876,0.00072228241242325753,0.23650234741784038,0.005733116648609606,0.20661791260382809,0.48243950884795955,0.050288912964969304,0,0.00022571325388226796,0.001895991332611051,0,0.00022571325388226796,0.016070783676417479,0.22837667027807873,0.0065005417118093175,0.14278620440592271,0.514626218851571,0.077916215240158904,0,0,0.0020314192849404116,9.0285301552907191e-005,9.0285301552907191e-005,0.027582159624413145
6689149159,0.5367370892018779,0.090463615023474178,0.00041079812206572768,0.25137910798122065,0.053755868544600939,0,5.868544600938967e-005,0.00029342723004694836,0,0.066901408450704219,0,0.33371478873239435,0.15545774647887323,5.868544600938967e-005,0.3976232394366197,0.10487089201877935,0,0,0.00011737089201877934,0,0.0081572769953051644,0,0.80070422535211272,0.04932511737089202,0,0.083597417840375582,0.065962441314553991,0,0,0.00011737089201877934,0,0.00029342723004694836,0,0.70199530516431929,0.015962441314553991,0.00070422535211267609,0.14794600938967137,0.088262910798122068,0,0,0.00067488262910798123,0,0.044454225352112679,0,0.42482394366197185,0.034507042253521129,0.0078345070422535211,0.39310446009389671,0.11731220657276996,0,5.868544600938967e-005,0.0032863849765258214,0,0.019072769953051644,0,0.6817194835680751,0.047593896713615025,0.00026408450704225349,0.18301056338028168,0.085974178403755874,0,0,0.0011150234741784037,0,0.00032276995305164318,0,0.71933685446009388,0.048386150234741784,0,0.14052230046948358,0.086795774647887319,0,0,8.8028169014084512e-005,0,0.0048708920187793426,0,0.16628521126760562,0.068544600938967137,0.025381455399061031,0.5911384976525822,0.1471244131455399,0,0,0.00064553990610328636,0,0.00088028169014084509,0,0.4717136150234742,0.088028169014084501,0.048562206572769953,0.24556924882629108,0.14595070422535211,0,0,8.8028169014084512e-005,0,8.8028169014084512e-005,0
6707673057,0.19808210967935272,0.19005760330303334,0.25392068724403155,0.040721872606799187,0.24612925781640196,0.00086571438084773417,0.00063263743215795961,0.016548463356973995,0.0001997802417340925,0.051276928711750408,0.0015649452269170579,0.11404122132321114,0.15709386341690806,0.032264509040055941,0.04778077448140379,0.47074884293943331,0,0,0.0047614290946625375,3.3296706955682086e-005,0.17294309592781273,0.00033296706955682085,0.13598375120700562,0.431192355076083,0.12399693670296008,0.014517364232677387,0.16764891952185929,3.3296706955682086e-005,0.00013318682782272834,0.010788133053640995,9.9890120867046251e-005,0.11424100156494522,0.0013651649851829655,0.24339892784603603,0.00036626377651250293,0.41457729830519763,0.053208137715179966,0.25741684147437821,0.0053274731129091335,0.00059934072520227753,0.00066593413911364169,0.00029967036260113877,0.019944727466453569,0.0041953850764159424,0.19608430726201179,0.0018313188825625146,0.055538907202077714,0.15965770985249558,0.39316751573269404,0.0019312090034295608,0.00036626377651250293,0.00076582425998068793,0.00036626377651250293,0.18649485565877535,0.0037958245929477575,0.1761728765025139,0.022009123297705858,0.44494389504877968,0.056071654513368631,0.17121166716611727,0.013684946558785336,0.0019978024173409252,0.0066926380980920986,0.0012319781573602371,0.087470449172576833,0.018512969067359237,0.18276562447973896,0.00016648353477841042,0.53747544367862021,0.050577697865681087,0.21436419938068124,0.0045283521459727636,0.0012319781573602371,0.000399560483468185,0.0012319781573602371,0.0035294509373023008,0.0037292311790363933,0.21589584790064262,0.00046615389737954916,0.21569606765890853,0.13754869643392267,0.389504877967569,0.0089568141710784799,0.0039956048346818504,0.00089901108780341625,0.0011986814504045551,0.018812639429960375,0.0070256051676489198,0.13135550894016582,0.00043285719042386708,0.53487830053607699,0.042186927712849202,0.19858156028368795,0.04731462058402424,0.0043951653181500353,0.0031298904538341159,0.0040621982485932141,0.011254286951020544,0.022408683781174041
6707675265,0.12373056304731463,0.0086238471015216596,0.25971431425432023,0.071388139712982385,0.25432024772749973,0.00099890120867046259,0.019578463689941063,0.0061931874937568672,9.9890120867046251e-005,0.24293277394865648,0.012419671694469416,0.21539639729630738,0.037591982152965074,0.097193087603636,0.1157726500849066,0.42326773882063062,0.00016648353477841042,0.0032297805747011619,0.0043285719042386707,9.9890120867046251e-005,0.099157593314021242,0.0037958245929477575,0.16342023773848766,0.011454067192754637,0.14101155395731363,0.027902640428861585,0.20873705590517097,0.0010654946225818268,0.0099557153797489428,0.0082242866180534738,0,0.42060400226417605,0.0076249458928511968,0.1213332001465055,0.01055505610495122,0.009722638431059168,0.41291246295741352,0.26497519395331803,0,0.0023640661938534278,0.00159824193387274,9.9890120867046251e-005,0.17637265674424799,6.6593413911364172e-005,0.017547364565644458,0.0063929677354909601,0.0004994506043352313,0.27436486531482035,0.62344754103819133,0,0.00029967036260113877,0,0,0.077448140378916522,0,0.047547697532714012,0.03209802550527753,0.002031099124296607,0.30749508873572401,0.30749508873572401,0,0.0018646155895181967,0.0051942862850864052,0,0.29597442812905805,0.00029967036260113877,0.19312090034295609,0.00029967036260113877,0.11773715579529184,0.1754403489494889,0.49335730696234142,0.00046615389737954916,0.0018646155895181967,0.0004994506043352313,0.00056604401824659545,0.013751539972696701,0.0028968135051443411,0.17966903073286053,0.0016981320547397863,0.0020643958312522893,0.1568607864682183,0.647154796390637,0,0,3.3296706955682086e-005,0,0.012519561815336464,0,0.1966170545733027,0.0097892318449705317,0.03146538807311957,0.1390137515399727,0.47148137049245831,0.00023307694868977458,0.0053274731129091335,0.0067259348050477804,0.000399560483468185,0.13748210302001132,0.0014650551060500117
6707677571,0.22728332167948589,0.00086571438084773417,0.11737089201877934,0.075350447840708559,0.16964672193920022,0,0.013085605833583059,0.0013984616921386475,3.3296706955682086e-005,0.39493224120134518,3.3296706955682086e-005,0.19278793327339927,0.010788133053640995,0.13381946525488631,0.10002330769486897,0.27136816168880895,0,0.0055938467685545902,0.00029967036260113877,0,0.28525288848932839,6.6593413911364172e-005,0.17847034928245598,0.00053274731129091338,0.17950254719808212,0.25215596177538041,0.073785502613791493,9.9890120867046251e-005,0.025372090700229746,0.003695934472080711,0,0.28625178969799886,0.00013318682782272834,0.23277727832717343,0.00089901108780341625,0.050910664935237902,0.14300935637465453,0.18243265741018214,0,0.0083241767389205211,0.00093230779475909833,0,0.38068125062431324,3.3296706955682086e-005,0.12745979422635101,0.0015649452269170579,0.02560516764891952,0.15116704957879665,0.34112476276096293,0,0.0024639563147204743,0.00026637365564545669,0,0.35034795058768686,0,0.085206273099590446,0.00086571438084773417,0.053640994905603832,0.23956980654613258,0.050777478107415175,0,0.01631538640828422,0.0022308793660306995,0,0.55139346718609528,0,0.091299570472480274,0.00083241767389205209,0.041820663936336697,0.431192355076083,0.41351180368261581,0,0.0042952751972829889,0.00043285719042386708,0,0.016148902873505809,0.00046615389737954916,0.052409016748243602,0.0082908800319648392,0.0030632970399227517,0.4008923517464123,0.31209003429560817,0,0.00069923084606932377,0.00063263743215795961,0,0.22192255185962109,0,0.061865281523657313,0.00059934072520227753,0.054939566476875437,0.29367695534911598,0.055006159890786804,0,0.01678154030566377,0.0037958245929477575,0,0.51330203442879496,3.3296706955682086e-005
6719768167,0.25591848966137248,0.0026970332634102486,0.0075250557719841512,0.23663969633403256,0.1390137515399727,0.00016648353477841042,0.0019645057103852429,0.0035294509373023008,0,0.19148936170212766,0.16105617154463422,0.26064662204907935,0.0018313188825625146,0.08573902041088137,0.18802650417873673,0.36120267705523923,0,0.00029967036260113877,0.0046948356807511738,0.000399560483468185,0.08806978989777911,0.0090900009989012091,0.17787100855725368,6.6593413911364172e-005,0.0025971431425432026,0.18323177837711851,0.21689474910931308,0,0.00033296706955682085,0.0019645057103852429,0,0.41351180368261581,0.0035294509373023008,0.062065061765391401,0.00083241767389205209,0.0074584623580727866,0.062964072853194816,0.29467585655778644,0.00023307694868977458,0.0014317583990943296,0.0027969233842772951,0,0.32384377185096391,0.24369859820863718,0.26627376552458965,0.0042952751972829889,0.00093230779475909833,0.30163486831152397,0.27479772250524426,0,6.6593413911364172e-005,0.0001997802417340925,0,0.15179968701095461,0,0.187160789797889,0.0036626377651250291,0.011121100123197815,0.1237638597542703,0.51676489195218589,0,0.00079912096693637001,0.0040621982485932141,0,0.12492924449771918,0.027736156894083173,0.021875936469883128,0.00099890120867046259,0.0098225285519262153,0.017014617254353544,0.42186927712849198,0,0.0010654946225818268,0.0013318682782272834,0,0.049478906536143577,0.47654246994972199,0.24463090600339626,0.0096893417241034861,0.040289015416375321,0.17906969000765824,0.24036892751306896,0,6.6593413911364172e-005,0.00079912096693637001,0,0.2323111244297939,0.0527752805247561,0.4084840009323078,0.0028635167981886592,0.021210002330769487,0.039423301035527589,0.51899577131821661,0,0,0.00036626377651250293,0,0.0022974727799420637,0.0063596710285352782
6719769923,0.0012652748643159192,6.6593413911364172e-005,0.0012985715712716013,0.026703958978457031,0.014783737888322844,0,6.6593413911364172e-005,3.3296706955682086e-005,0,0.94878966470216097,0.0069923084606932371,0.024539673026337694,0.0016981320547397863,0.0019312090034295608,0.20554057203742551,0.12516232144640896,0,0.00026637365564545669,0.00036626377651250293,0,0.6359005094396164,0.0045949455598841274,0.058202643758532284,0,0.0093230779475909839,0.0095561548962807587,0.48589884460426863,0,0.00033296706955682085,6.6593413911364172e-005,0,0.38174674524689506,0.05487297306296407,0.14354210368594547,0.00026637365564545669,0.087537042586488201,0.073485832251190361,0.59997336263443546,0,0.0044950554390170809,0.0013318682782272834,0.00076582425998068793,0.039523191156394633,0.049079346052675388,0.12559517863683281,0.003596044351213665,0.21786035361102787,0.17737155795291845,0.43142543202477274,0,3.3296706955682086e-005,6.6593413911364172e-005,0,0.028235607498418407,0.01581593580394899,0.26307728165684413,6.6593413911364172e-005,0.057336929377684545,0.038457696533812806,0.60826424266640033,0,0,0.000399560483468185,0,0.0082908800319648392,0.024106815835913828,0.27929277794426133,0.0050610994572636769,0.38074784403822459,0.026271101788033165,0.27486431591915561,0,0.0097892318449705317,0.0045283521459727636,0,0.016881430426530817,0.0025638464355875203,0.020743848433389937,0.00069923084606932377,0.77331601904571634,0.15845902840209103,0.024806046681983152,0,0.0074917590650284685,0.0018646155895181967,0,0.012486265108380782,0.00013318682782272834,0.19681683481503678,0.00063263743215795961,0.31448739719641727,0.12139979356041687,0.28781673492491594,0,0.010488462691039856,0.00053274731129091338,0.00023307694868977458,0.063463523457530049,0.0041287916625045787
6719776777,0.03146538807311957,0.60686578097426169,0.0034628575233909367,0.024206705956780875,0.16202177604634901,0,0,0.00073252755302500585,0,0.16352012785935471,0.0077248360137182432,0.21806013385276196,0.1891585922152299,0.009889121965837579,0.087903306363000699,0.43778510305330803,0,3.3296706955682086e-005,0.00089901108780341625,0,0.036726267772117335,0.019545166982985383,0.24885958778676789,0.51856291412779276,0.00053274731129091338,0.10255385742350082,0.12406353011687145,0,0,0.0024972530216761562,0,0.0026970332634102486,0.00023307694868977458,0.00033296706955682085,0.50594346219158925,0.00013318682782272834,0.00069923084606932377,0.019312090034295609,0,0,0.011021210002330769,0,0.46095961109446276,0.00159824193387274,0.23457530050278028,0.00069923084606932377,0.019944727466453569,0.048480005327473111,0.51476708953484496,0,0,0.00069923084606932377,0,0.16075650118203311,0.020077914294276297,0.83295042120334295,0.0033629674025238902,0.0033629674025238902,0.02766956348017181,0.088436053674291609,0,0,0.0019645057103852429,0,0.041720773815469653,0.00053274731129091338,0,0.88076449239170251,3.3296706955682086e-005,9.9890120867046251e-005,0.00066593413911364169,0,0,0.00029967036260113877,0,0.11813671627876003,0,0.12143309026737256,0.54596610395231915,0.0098558252588818972,0.0034961542303466185,0.085905503945659781,0,0,0.0084573635667432485,0,0.22089035394399495,0.0039956048346818504,0.35111377484766759,0.25325475310491791,0.061665501281923218,0.024040222422002464,0.23257749808543934,0,3.3296706955682086e-005,0.0059601105450670933,0,0.070888689108647152,0.00046615389737954916
6719778633,0.041254619918090103,0.0010321979156261447,0.0009656045017147804,0.013984616921386474,0.85492624779409321,0,0.0001997802417340925,0.00029967036260113877,0,0.029600772483601372,0.057736489861152734,0.013385276196184197,0.021509672693370625,0.0001997802417340925,0.054373522458628844,0.15696067658908533,0,6.6593413911364172e-005,0.00036626377651250293,0,0.74584623580727871,0.0072919788232943764,0.13764858655478973,0.00063263743215795961,0.00043285719042386708,0.060666600073252752,0.45486631372157293,0,0.00029967036260113877,0.00023307694868977458,0,0.34505377418173344,0.00016648353477841042,0.17777111843638665,0.0013651649851829655,0.031831651849632069,0.019345386741251289,0.69147271334864979,0.0042952751972829889,0.0028635167981886592,0.0004994506043352313,0.009889121965837579,0.038624180068591217,0.022042420004661539,0.053607698198648156,0.0074251656511171047,0.075949788565910836,0.13804814703825791,0.59248160356940693,0.0030300003329670694,0.0092564845336796184,0.0029967036260113876,0.013285386075317152,0.034528685113042322,0.069390337295641466,0.25042453301368495,0.00076582425998068793,0.018479672360403557,0.018379782239536509,0.67565677754470088,0.0044284620251057172,0.0028302200912329769,0.00079912096693637001,0.010888023174508042,0.0072919788232943764,0.010055605500615988,0.0096560450171478043,0.0026970332634102486,0.070888689108647152,0.13019012419671694,0.48569906436253457,0.034062531215662772,0.034362201578263911,0.0029634069190557053,0.10441847301301901,0.10601671494689176,0.01904571637865015,0.026703958978457031,0.0044284620251057172,0.09502880165151667,0.14034561981819998,0.30652948423400928,0.041554290280691242,0.05167648919521859,0.011454067192754637,0.20540738520960278,0.075783305031132425,0.041088136383311692,0.010721539639729631,0.0031631871607897977,0.079246162554523353,0.13651649851829653,0.47700862384710152,0.029001431758399095,0.036992641427762797,0.0042286817833716243,0.099357373555755329,0.11117770452502247,0.012586155229247827
6719782663,0.69829853827456467,0.015283188492658075,0.024806046681983152,0.14494056537808411,0.076182865514600601,6.6593413911364172e-005,0.00053274731129091338,0.013951320214430792,0,0.021942529883794491,0.0039956048346818504,0.44597609296440582,0.0037958245929477575,0.052375720041287918,0.33529783904371857,0.085805613824792723,0,0.0034295608164352544,0.008357473445876203,0,0.054073852096027705,0.010888023174508042,0.80518096760230418,0.002330769486897746,0.041487696866779875,0.10478473678953151,0.018313188825625146,0,0.00023307694868977458,0.008757033929344387,0,0.015582858855259216,0.0033296706955682084,0.45017147804082175,0.0089901108780341618,0.01744747444477741,0.35111377484766759,0.16365331468717745,0,0,0.0049945060433523123,0,0.0034961542303466185,0.00013318682782272834,0.34522025771651182,0.0015649452269170579,0.08190989911097793,0.33856091632537544,0.11510671594579296,0,0.0017980221756068325,0.0025638464355875203,0,0.1074151766390304,0.0058602204242000468,0.5523923683947658,0.0034628575233909367,0.04285286185196284,0.28535277861019548,0.048979455931808344,0,0.00089901108780341625,0.0084240668597875667,0,0.050810774814370858,0.0068258249259148269,0.46275763327006958,0.0018979122964738787,0.037292311790363936,0.30203442879499215,0.18539606432923783,0,9.9890120867046251e-005,0.0028635167981886592,0,0.0056604401824659539,0.0019978024173409252,0.27679552492258513,0.01744747444477741,0.039356707621616221,0.43482169613425231,0.1280591349515533,0,0.00083241767389205209,0.007391868944161422,0,0.092464955215929151,0.0028302200912329769,0.21363167182765624,0.034062531215662772,0.013518463024006926,0.5071088469350381,0.13947990543735225,0,0.00016648353477841042,0.010255385742350081,0,0.079612426331035865,0.0021642859521193354
6719785241,0.15552891818999101,0,0.0017314287616954683,0.83334998168681118,0.00013318682782272834,0,0.00016648353477841042,0.0090567042919455273,0,3.3296706955682086e-005,0,0.0771151733093597,0.01118769353710918,0.003596044351213665,0.86178536942696371,0.0068591216328705087,0,0.00016648353477841042,0.020044617587320613,0,0.019178903206472881,6.6593413911364172e-005,0.21992474944228016,0.040855059434621914,0.0058935171311557287,0.63303699264142776,0.014850331302234209,0,0.0016315386408284221,0.054273632337761793,0,0.02876835480970932,0.00076582425998068793,0.058535610828089099,0.0072919788232943764,0.011254286951020544,0.80155162654413481,0.030799453934005926,0,9.9890120867046251e-005,0.010188792328438718,0,0.080245063763193819,3.3296706955682086e-005,0.075150667598974458,0.073718909199880125,0.003596044351213665,0.69410315319814875,0.012419671694469416,0,0.0009656045017147804,0.030533080278360471,0,0.10951286917723838,0,0.0884693503812473,0.01471714447441148,0.0075916491858955149,0.80145173642326772,0.01791362834215696,0,0.0047281323877068557,0.02111011220990244,0,0.043319015749342389,0.00069923084606932377,0.19884793393933339,0.087836712949089332,0.0035294509373023008,0.52022774947557682,0.037425498618186663,0,6.6593413911364172e-005,0.028402091033196818,0,0.12366396963340326,0,0.26031365497952252,0.065960776479206201,0.0033629674025238902,0.51410115539573131,0.030899344054872973,0,0.0010654946225818268,0.023807145473312689,0,0.10048946159224853,0,0.32534212366396964,0.049778576898744716,0.0023973629008091101,0.45463323677288314,0.05440681916558452,0,0.00029967036260113877,0.0239736290080911,0,0.089101987813405253,6.6593413911364172e-005
6898990697,0.21761555246974806,0.0025127289558949943,0,0.77947497189711035,0,0,0,0.00039674667724657806,0,0,0,0.084242544468690075,0.0011902400317397343,0.00013224889241552601,0.84880645374594987,0,0,0.0014547378165707862,0.010910533624280896,0,0.053263241420353102,0,0.30000661244462079,0.00019837333862328903,0,0.69582754744429021,0,0,0,0.0039674667724657808,0,0,0,0.23930437082589434,0,0.016332738213317464,0.69381075183495333,6.6124446207763005e-005,0,0.0014216755934669048,0.0020498578324406533,3.3062223103881503e-005,0.046981419030615618,0,0.33670568008992924,0,0.060834490511141967,0.48370032400978641,3.3062223103881503e-005,0,0.0037029689876347284,0.020498578324406533,0,0.094524895853997218,0,0.1751636580043642,0,0.014216755934669046,0.76172055809032602,0,0,0.0037690934338424917,0.0040666534417774253,0,0.041063281095020832,0,0.28998875884414466,0,0.0045956490114395293,0.68501620048932088,0,0,0.0013224889241552603,0.0027111022945182834,0,0.016365800436421343,0,0.18567744495139854,0,0.01074522250876149,0.74687561991668316,3.3062223103881503e-005,0,0.0048932090193744629,0.010612973616345963,0,0.041162467764332474,0,0.31984394630694968,0,0.013324075910864246,0.64861469285194739,3.3062223103881503e-005,0,0.0009257422469086821,0.0061826357204258411,0,0.011075844739800304,0
6901131177,0.1181631455399061,0,0,0.81605046948356808,0,0,0,0,0,0.065786384976525822,0,0.11710680751173709,0,0,0.34691901408450704,0,0,0,0,0,0.53597417840375583,0,0,0,0,0.97235915492957747,0,0,0,0,0,0.027640845070422537,0,0.4316607981220657,0,0,0.39055164319248825,0,0,0,0,0,0.17778755868544602,0,0.47649647887323943,0,0,0.42444248826291081,0,0,0,0,0,0.099061032863849763,0,0.064231220657276988,0,0,0.84812206572769955,0,0,0,0,0,0.087646713615023478,0,0.58697183098591554,0,0,0.35387323943661969,0,0,0,0,0,0.059154929577464786,0,0.49577464788732395,0,0,0.40466549295774645,0,0,0,0,0,0.099559859154929584,0,0.55771713615023477,0,0,0.35994718309859153,0,0,0,0,0,0.082335680751173715,0
6904786822,0,0,0,0,0,0,0.00020539906103286384,0,0,0.9997946009389671,0,0,0,0,0,0,0,0.00026408450704225349,0,0,0.99973591549295771,0,0,0,0,0,0,0,0.0012617370892018778,0,0,0.99873826291079815,0,0.10246478873239437,0.0095070422535211262,0.00023474178403755868,0.15666079812206574,0.12271126760563381,0,0.001056338028169014,0.00017605633802816902,0,0.60718896713615023,0,0.18726525821596243,0.0095363849765258222,0.0047535211267605631,0.14433685446009389,0.087558685446009393,0,0.0020246478873239436,0.00035211267605633805,0,0.56417253521126765,0,0.31088615023474181,0.0026115023474178405,0.010534037558685446,0.062793427230046953,0.079518779342723001,0,0.0030809859154929575,0.0011737089201877935,0.00026408450704225349,0.52907863849765258,5.868544600938967e-005,0.80765845070422537,0.00011737089201877934,0.059477699530516431,0.022681924882629108,0.076731220657276999,0,0.00710093896713615,0.022241784037558686,0.0023767605633802816,0.0016138497652582161,0,0.8266725352112676,0.00020539906103286384,0.051643192488262914,0.044072769953051642,0.036032863849765256,0,0.0087734741784037552,0.022975352112676057,0.0019953051643192489,0.0076291079812206572,0,0.86740023474178407,0.00032276995305164318,0.049823943661971834,0.044072769953051642,0.00806924882629108,0,0.0052523474178403752,0.021742957746478872,0.0015258215962441314,0.001789906103286385,0
6904789754,0,0.0026408450704225352,0,0.00044014084507042255,0,0,0.089524647887323949,5.868544600938967e-005,0,0.90733568075117366,0,0,0.00035211267605633805,0,0.0029636150234741785,0,0,0.084477699530516426,0.00046948356807511736,0,0.9117370892018779,0,0,0.0029636150234741785,0,0,0,0,0.090111502347417841,0,0,0.90692488262910798,0,0.16781103286384977,0.084330985915492956,0,0.39615610328638495,0,0,0.24533450704225351,0.00088028169014084509,0,0.10548708920187794,0,0.29407276995305165,0.074325117370892022,0,0.16285211267605634,0,0,0.18086854460093896,0.002112676056338028,0,0.28576877934272299,0,0.033802816901408447,0.035269953051643189,0,0.41050469483568075,0,0,0.20803990610328638,0.0054577464788732391,0,0.306924882629108,0,0.93923122065727704,0.0065434272300469486,0.0011443661971830986,0.047535211267605633,2.9342723004694835e-005,0,0,0.0055164319248826293,0,0,0,0.90539906103286383,0.015962441314553991,0.00011737089201877934,0.0681631455399061,0,0,0,0.010357981220657278,0,0,0,0.846537558685446,0.080927230046948351,0,0.068661971830985921,0,0,2.9342723004694835e-005,0.0038438967136150233,0,0,0
6904794166,0,0,0,0,0,0,0,0,0,1,0,0.38943661971830984,0.0014671361502347417,0.0096537558685446008,0.0061032863849765258,0.0015258215962441314,0,0.00011737089201877934,0.0032863849765258214,5.868544600938967e-005,0.5882629107981221,8.8028169014084512e-005,0.010064553990610329,0.00020539906103286384,2.9342723004694835e-005,0.00055751173708920186,5.868544600938967e-005,0,8.8028169014084512e-005,0.00023474178403755868,0,0.9887617370892019,0,0.081279342723004688,2.9342723004694835e-005,0.0037558685446009389,0.0054284037558685449,0.00052816901408450699,0,2.9342723004694835e-005,0.00070422535211267609,0,0.90824530516431923,0,0.89254694835680748,0,0.055487089201877934,0.01085680751173709,0.0054870892018779342,0,0.00017605633802816902,0.00055751173708920186,0,0.034888497652582159,0,0.23758802816901409,0.00090962441314553996,0.0065434272300469486,0.0028755868544600941,0.0014671361502347417,0,0.00073356807511737085,0.00032276995305164318,0.00017605633802816902,0.74938380281690142,0,0.49043427230046949,0.00041079812206572768,0.038145539906103289,0.014465962441314553,0.012852112676056338,0,0.0036091549295774648,0.0042840375586854461,0.00035211267605633805,0.43544600938967137,0,0.79445422535211263,0.00044014084507042255,0.076819248826291084,0.011825117370892018,0.018838028169014084,0,0.0019659624413145538,0.0024354460093896713,0.0025528169014084508,0.090669014084507046,0,0.60947769953051645,0.0018485915492957746,0.058861502347417841,0.0077464788732394367,0.024970657276995305,0,0.0034624413145539906,0.0029636150234741785,0.00079225352112676059,0.2897593896713615,0.00011737089201877934
6904797226,0.052200704225352113,8.8028169014084512e-005,0.57156690140845068,0.33750000000000002,0.012265258215962442,0,0.0074823943661971827,0.005223004694835681,0.00020539906103286384,0.01335093896713615,0.00011737089201877934,0.063732394366197181,0,0.83169014084507042,0.089553990610328635,0.011003521126760563,5.868544600938967e-005,0.0019953051643192489,0.00096830985915492959,5.868544600938967e-005,0.00038145539906103286,0.00055751173708920186,0.055516431924882627,0,0.8720950704225352,0.049970657276995303,0.017077464788732396,0,0.0019072769953051643,0.00046948356807511736,0.00023474178403755868,0.0010856807511737088,0.0016431924882629107,0.0035798122065727701,0,0.94489436619718314,0.02699530516431925,0.0015258215962441314,0,0.017400234741784038,0.00038145539906103286,0.00020539906103286384,0.0033744131455399062,0.0016431924882629107,0.0027288732394366196,0,0.95982981220657282,0.019982394366197184,2.9342723004694835e-005,0.00011737089201877934,0.013468309859154929,0.00041079812206572768,0.00014671361502347418,0.0029342723004694834,0.00035211267605633805,0.020217136150234741,0,0.88840962441314553,0.078080985915492951,0.002494131455399061,0,0.008303990610328639,0.00014671361502347418,8.8028169014084512e-005,0.0015845070422535212,0.00067488262910798123,0.11226525821596244,0,0.42585093896713616,0.23876173708920187,0.046156103286384975,0,0.12429577464788732,0.00079225352112676059,2.9342723004694835e-005,0.051672535211267606,0.00017605633802816902,0.098386150234741787,0,0.4915492957746479,0.23213028169014085,0.03265845070422535,2.9342723004694835e-005,0.099706572769953053,0.00049882629107981223,5.868544600938967e-005,0.04442488262910798,0.00055751173708920186,0.099061032863849763,0,0.54151995305164324,0.24636150234741783,0.027640845070422537,2.9342723004694835e-005,0.055105633802816904,0.00020539906103286384,0,0.029753521126760562,0.00032276995305164318
6904800462,0,0.0069835680751173706,0,0.41164906103286386,0,0,0.13230633802816902,0.012206572769953052,0,0.43685446009389672,0,0,0.066431924882629112,0,0.27690727699530515,0,0,0.17828638497652582,0.033626760563380279,0,0.44474765258215965,0,0,0.25707159624413145,0,0.35360915492957745,0,0,0.015786384976525823,0.083274647887323944,0,0.29025821596244133,0,0.0043133802816901412,0.03330399061032864,0.23785211267605633,0.64841549295774648,0.066373239436619713,2.9342723004694835e-005,0.0016725352112676056,0.0034917840375586853,0.00029342723004694836,0.00038145539906103286,0.0038732394366197184,0.0090962441314553985,0.04688967136150235,0.24988262910798123,0.64894366197183095,0.030985915492957747,0.00014671361502347418,0.0044894366197183099,0.0075997652582159621,5.868544600938967e-005,5.868544600938967e-005,0.0018485915492957746,0.021596244131455399,0.076525821596244131,0.3237676056338028,0.52602699530516428,0.025616197183098592,2.9342723004694835e-005,0.012059859154929577,0.01141431924882629,0.00029342723004694836,0.00099765258215962446,0.0016725352112676056,0,0,0.0073650234741784041,2.9342723004694835e-005,0.9912265258215962,0,0,0,0,0,0.0013791079812206573,0,0,0.0095070422535211262,0,0.9886443661971831,2.9342723004694835e-005,2.9342723004694835e-005,0,0,0,0.001789906103286385,0,0,0.012001173708920189,0,0.98682511737089207,0,2.9342723004694835e-005,0,0,0,0.0011443661971830986
6904803194,0,0.049031690140845068,0,0.096654929577464785,0.00017605633802816902,0,0.006367370892018779,0.0088028169014084511,0,0.83896713615023477,0,0,0.039289906103286386,5.868544600938967e-005,0.25401995305164321,0,0,0.0010856807511737088,0.0077758215962441318,0,0.69776995305164324,0,0,0.10472417840375586,0,0.12367957746478873,2.9342723004694835e-005,0,0.0044894366197183099,0.0079518779342722997,0,0.75912558685446008,0,0.051936619718309859,0.045950704225352114,0.077640845070422529,0.64137323943661972,0.11073943661971831,0.00038145539906103286,0.025352112676056339,0.015639671361502346,0.0066901408450704223,0.022623239436619719,0.0016725352112676056,0.040492957746478875,0.0013791079812206573,0.24460093896713614,0.6079225352112676,0.082922535211267606,2.9342723004694835e-005,0.0087441314553990609,0.0066021126760563379,0.00011737089201877934,0.0068075117370892018,0.00038145539906103286,0.24680164319248826,0.059507042253521124,0.069307511737089197,0.50357981220657277,0.063409624413145543,2.9342723004694835e-005,0.029107981220657279,0.020627934272300471,5.868544600938967e-005,0.0071596244131455402,0.00041079812206572768,0.033333333333333333,0.00041079812206572768,0.4231514084507042,0.10774647887323943,0.43122065727699532,0.00014671361502347418,0.00049882629107981223,0.0026701877934272302,0.00026408450704225349,8.8028169014084512e-005,0.00046948356807511736,0.045921361502347414,0.0020833333333333333,0.44151995305164321,0.25264084507042256,0.24988262910798123,0.00011737089201877934,0.0029342723004694834,0.0015551643192488263,0.00038145539906103286,0.0024647887323943664,0.00049882629107981223,0.12646713615023475,0.0016138497652582161,0.44193075117370895,0.25140845070422535,0.17629107981220657,0,0.00055751173708920186,0.0012617370892018778,0.00029342723004694836,0,0.00017605633802816902
6904806210,0.00064553990610328636,0,0.92159624413145536,0.002846244131455399,0.074413145539906106,0,0,0,0,0,0.00049882629107981223,0.05011737089201878,0.0019366197183098592,0.54732981220657273,0.36305751173708922,0.017811032863849767,0,0.0025528169014084508,0.011737089201877934,0,0.0053403755868544605,0.00011737089201877934,0.005663145539906103,0.0046068075117370894,0.8380868544600939,0.12758215962441313,0.014143192488262912,0,0.00055751173708920186,0.0036384976525821598,0,0.0051056338028169015,0.0006161971830985916,0.013204225352112676,0.00041079812206572768,0.91880868544600935,0.026173708920187794,0.0058685446009389668,0,0.0033744131455399062,0.0028755868544600941,0,0.027699530516431925,0.0015845070422535212,0.20011737089201878,0.0033450704225352111,0.00064553990610328636,0.72089201877934272,0.0010269953051643193,0,0.0032276995305164321,0.0044014084507042256,0,0.066343896713615028,0,0.030956572769953051,0.00032276995305164318,0.72479460093896708,0.22652582159624413,0.00046948356807511736,0,0.0030223004694835682,0.005927230046948357,0,0.0051056338028169015,0.0028755868544600941,0.082922535211267606,0.0010269953051643193,0.45531103286384977,0.43107394366197183,0.0033157276995305165,0,0.003433098591549296,0.0071302816901408451,0,0.015786384976525823,0,0.50378521126760567,0.0030809859154929575,0.00088028169014084509,0.47667253521126762,0.0030809859154929575,0,0.0013204225352112676,0.0091255868544600945,0,0.0020539906103286387,0,0.043691314553990612,0.00093896713615023472,0.6816607981220657,0.2528755868544601,0.0032863849765258214,0,0.0026995305164319249,0.0056044600938967137,0,0.0091549295774647887,8.8028169014084512e-005
6904809054,0.65258215962441313,0.00020539906103286384,0.23917253521126761,0.012998826291079813,0.07875586854460094,0,0.0014377934272300471,0.003785211267605634,0.00038145539906103286,0.010680751173708921,0,0.72315140845070425,0.00041079812206572768,0.1591255868544601,0.0061326291079812209,0.084536384976525825,0,0.0020246478873239436,0.0057805164319248824,0.00041079812206572768,0.018427230046948358,0,0.613849765258216,8.8028169014084512e-005,0.29345657276995307,0.0014377934272300471,0.083538732394366197,0,0.00046948356807511736,0.0016138497652582161,0.0012910798122065727,0.004254694835680751,0,0.52508802816901412,0.017693661971830987,0.27467723004694838,0.056983568075117369,0.021478873239436619,0,0.0036091549295774648,0.041725352112676056,0.0012030516431924883,0.057541079812206575,0,0.88870305164319252,0.028227699530516431,0.017224178403755869,0.025704225352112677,0.0046948356807511738,0,0,0.035416666666666666,2.9342723004694835e-005,0,0,0.47306338028169015,0.010886150234741784,0.33770539906103286,0.041872065727699533,0.078491784037558687,0,0.0031396713615023473,0.013615023474178404,0.00070422535211267609,0.040522300469483567,0,0.17749413145539905,0.009477699530516432,0.20698356807511736,0.26857394366197185,0.016960093896713616,0,0.017341549295774649,0.042341549295774647,0.00020539906103286384,0.26062206572769953,0,0.69559859154929582,0.033157276995305164,0.17206572769953052,0.037030516431924884,0.036883802816901408,0,5.868544600938967e-005,0.025205399061032863,0,0,0,0.35102699530516435,0.018397887323943662,0.23617957746478874,0.097535211267605629,0.057365023474178406,0,0.0099471830985915499,0.019542253521126762,0.00088028169014084509,0.20906690140845072,5.868544600938967e-005
6904818070,0.1210093896713615,0.0039612676056338027,0.0023474178403755869,0.0050762910798122065,0.002142018779342723,0,0.00017605633802816902,0.010827464788732394,0,0.85446009389671362,0,0.57482394366197187,0.0061619718309859151,0.024882629107981221,0.0070715962441314558,0.015375586854460093,0,0.00079225352112676059,0.023034037558685445,0.00017605633802816902,0.34765258215962441,2.9342723004694835e-005,0.1124413145539906,0.0023474178403755869,0.0031396713615023473,0.00096830985915492959,0.0044307511737089198,0,0.00017605633802816902,0.0044014084507042256,8.8028169014084512e-005,0.8720070422535211,0,0.36185446009389671,0.0020539906103286387,0.025381455399061031,0.07309272300469484,0.009712441314553991,0,0.0021713615023474177,0.074559859154929575,2.9342723004694835e-005,0.45114436619718312,0,0.79166666666666663,0.00070422535211267609,0.038438967136150234,0.021654929577464788,0.022681924882629108,0,0.0012910798122065727,0.022887323943661973,0.00017605633802816902,0.10049882629107981,0,0.4745892018779343,0.0035211267605633804,0.032834507042253519,0.009683098591549295,0.024677230046948356,0,0.0027875586854460093,0.011003521126760563,0.0011150234741784037,0.43978873239436622,0,0.70044014084507045,8.8028169014084512e-005,0.204518779342723,0.013204225352112676,0.070451877934272295,0,0,0.010680751173708921,0.0006161971830985916,0,0,0.5426056338028169,0,0.35962441314553989,0.0019953051643192489,0.087323943661971826,0,0,0.0062206572769953053,0.0022300469483568074,0,0,0.68230633802816898,2.9342723004694835e-005,0.22426643192488263,0.0012617370892018778,0.083978873239436619,0,0,0.0063086854460093897,0.0018485915492957746,0,0
6908517100,0.046749983468888451,0.11806519870396086,0.083548237783508561,0.023804800634794683,0.50403359121867353,0.014811875950538914,0.014216755934669046,0.0094227335846062289,0.0032400978641803873,0.045923427891291412,0.13618329696488793,0.024234609535145144,0.090888051312570259,0.040435098856047083,0.015406995966408781,0.68220591152549093,0.0038352178800502546,0.0093566091383984664,0.0086623024532169537,0.0013886133703630231,0.02456523176618396,0.099021358196125106,0.1767837069364544,0.053362428089664751,0.11003107848971765,0.015440058189512662,0.55276730807379493,0.010183164715995504,0.0077365602063082725,0.0072406268597500498,0.0074059379752694568,0.0075381868676849834,0.051510943595847382,0.13327382133174634,0.044832374528863322,0.19523242742842029,0.022019440587185083,0.45830853666600541,0.0068769424056073529,0.0079679957680354428,0.0061495734973219598,0.0054222045890365668,0.023143556172717055,0.096773127025061162,0.046981419030615618,0.0044303378959201214,0.30103154136084109,0.034880645374594989,0.45632480327977254,0.020068769424056075,0.028797196323480791,0.0070091912980228786,0.0093566091383984664,0.011803213648085698,0.079316273226211736,0.067777557362957083,0.022184751702704491,0.2865172254182371,0.030119685247636051,0.30734642597368245,0.054949414798651064,0.068802486279177413,0.016762547113667921,0.025325662897573233,0.045923427891291412,0.074290815314421735,0.59118561132050518,0.0024796667327911127,0.24942141109568208,0.0018845467169212459,0.13767109700456259,0.00042980890035045955,0.00023143556172717052,0.0022151689479600607,0.0059512001586986708,9.9186669311644515e-005,0.0084308668914897834,0.35720425841433578,0.0034715334259075581,0.48297295510150101,0.0094227335846062289,0.059181379355947895,0.026879587383455663,0.011604840309462409,0.012100773656020631,0.021292071678899689,0.0021490445017522978,0.013720822588110825,0.41228592210540238,0.011538715863254645,0.30463532367916418,0.019771209416121139,0.12633075447993122,0.030880116379025324,0.027011836275871188,0.025457911789988758,0.025127289558949942,0.0067116312900879459,0.010249289162203266
6908544750,0.15408366112591465,0.66941589476800745,0.076978386837541768,0.010573954235926067,0.084760817155183354,0,0.00025377490166222558,0.0027492281013407776,0,0.0005498456202681555,0.00063443725415556406,0.17616207757052826,0.48987015184198285,0.2119866345218458,0.086241170748212997,0.029903142579198919,8.4591633887408536e-005,0.0024954531996785518,0.00080362052193038108,8.4591633887408536e-005,0.0011419870574800152,0.0012265786913674237,0.0029607071860592985,0.992132978048471,0.0027915239182844816,0.0012688745083111281,0.00076132470498667686,0,0,8.4591633887408536e-005,0,0,0,0.28579283508860975,0.003003003003003003,0.31248149558008714,0.11622890496129933,0.24535803409042845,8.4591633887408536e-005,0.013492365605041662,0.00050754980332445116,8.4591633887408536e-005,0.013957619591422409,0.0090090090090090089,0.23914054899970394,0.037262614727403456,0.46922979317345515,0.15387218204119613,0.060609905680328216,0.00021147908471852133,0.020048217231315824,0.0012265786913674237,8.4591633887408536e-005,0.0090090090090090089,0.0093050797276149396,0.0088398257412341912,0.7595059848580975,0.10032567779046653,0.10717760013534662,0.020640358668527682,0,0.0019456075794103964,0,0,0.00084591633887408531,0.00071902888804297252,0.079346952586389199,0.00076132470498667686,0.25521295943831157,0.18360614135262024,0.44406378209195113,8.4591633887408536e-005,0.0086283466565156702,0.0015226494099733537,0.00016918326777481707,0.0081630926701349235,0.01844097618745506,0.10459755530178065,0.00046525398638074694,0.31599204838641459,0.07312946749566468,0.44080700418728586,0.00050754980332445116,0.0079093177684726977,0.00033836653554963415,0.00016918326777481707,0.0071479930634860212,0.048936260203865836,0.027830647548957407,0.16651863130736369,0.26887450831112802,0.2119866345218458,0.29653597259231063,4.2295816943704268e-005,0.0032567779046652288,0.00063443725415556406,8.4591633887408536e-005,0.0027069322843970732,0.021528570824345471
6986311622,0,0.023738262910798121,0,0,0,0,0,0,0,0.97626173708920183,0,0.065786384976525822,0.039289906103286386,0.0081866197183098587,0.037441314553990614,0.058186619718309858,0,2.9342723004694835e-005,8.8028169014084512e-005,0,0.79087441314553986,0.00011737089201877934,0.062294600938967139,0.37004107981220657,0.00011737089201877934,0.01663732394366197,0.088409624413145538,0,2.9342723004694835e-005,0.0017312206572769953,0,0.46073943661971833,0,0.057629107981220659,0.17684859154929577,5.868544600938967e-005,0.18594483568075118,0.18383215962441316,0,0,0.00046948356807511736,0,0.39518779342723004,2.9342723004694835e-005,0.31563967136150234,0.040346244131455399,0.079812206572769953,0.10126173708920187,0.29677230046948355,0,2.9342723004694835e-005,0.00017605633802816902,0,0.16493544600938967,0.0010269953051643193,0.11273474178403756,0.019219483568075117,0.00096830985915492959,0.15457746478873238,0.41332159624413145,0,5.868544600938967e-005,0.00064553990610328636,0,0.2984448356807512,2.9342723004694835e-005,0.11916079812206573,0.011707746478873239,0.0020246478873239436,0.16675469483568076,0.63113262910798118,0,2.9342723004694835e-005,0.0006161971830985916,0,0.066696009389671365,0.0018779342723004694,0.21332159624413147,8.8028169014084512e-005,0.14688967136150236,0.056924882629107984,0.56373239436619715,0,0,2.9342723004694835e-005,0,0.0026995305164319249,0.016314553990610329,0.22767018779342724,0.0012323943661971832,0.012500000000000001,0.073503521126760563,0.64515845070422539,0,5.868544600938967e-005,0.00032276995305164318,0,0.036502347417840378,0.0030516431924882629
7030808187,0.17415302626570231,0.47595482806750411,0.005836822738231189,0.23325085649029312,0.081112802943788864,0,9.5165588123334607e-005,0.00019033117624666921,0,0.029406166730110393,0,0.19908641035401597,0.31049359218373301,0.034703717802309353,0.35249333840883135,0.090185255678213422,0,0,3.1721862707778198e-005,0,0.013005963710189063,0,0.42535845704859787,0.32660829843928435,0.0021570866641289176,0.21117244004567948,0.034481664763354902,0,0,3.1721862707778198e-005,3.1721862707778198e-005,0.00015860931353889102,0,0.16374825529755108,0.53321279025504376,0.00031721862707778203,0.23524933384088315,0.039017891130567188,0,9.5165588123334607e-005,0.00088821215581778965,0,0.027471133104935923,0,0.431924882629108,0.065918030706763095,0.026868417713488135,0.37879076259357952,0.041333587108234995,0,0.0045679482299200609,0.01253013576957239,0,0.038066235249333842,0,0.6556591803070676,0.26674914350970691,0.023283847227509199,0.037971069661210506,0.00076132470498667686,0,0.00025377490166222558,0.012022585966247938,0.0028549676437000381,0.00044410607790889482,0,0.071374191092500955,0.21259992386752949,0.14455652835934527,0.39671361502347419,0.039049612993274967,0,0.028835173201370384,0.0057099352874000761,9.5165588123334607e-005,0.10100241086156579,6.3443725415556396e-005,0.13760944042634182,0.18300342596117244,0.052245907879710694,0.47027661464281184,0.019667554878822484,0,0.0034576830351478239,0.010468214693566806,0.00012688745083111279,0.12314427103159498,0,0.25285496764370002,0.21050628092881615,0.049517827686841771,0.33412637990102778,0.055354650425072961,0.00060271539144778584,0.0040286765638878315,0.022237025758152517,0.0069153660702956478,0.063856109630757524,0
7050882729,0.13808685446009389,0.002142018779342723,0.0032863849765258214,0.015551643192488264,0.0054870892018779342,0,0.0089201877934272297,0.0078345070422535211,0.00011737089201877934,0.81857394366197178,0,0.13711854460093897,0.00067488262910798123,0.0073943661971830983,0.057042253521126761,0.00046948356807511736,0,0.0070715962441314558,0.0057511737089201882,0,0.7843016431924883,0.00017605633802816902,0.35578051643192488,0.038174882629107981,0.0027582159624413146,0.20613262910798122,0.015316901408450705,0,0.027728873239436621,0.087734741784037562,0.0020246478873239436,0.2643485915492958,0,0.092664319248826288,0.0035798122065727701,0.0044014084507042256,0.085005868544600932,0.0060152582159624414,0,0.019278169014084506,0.011208920187793427,0.00029342723004694836,0.77755281690140843,0,0.61502347417840375,0.00017605633802816902,0.058127934272300466,0.036971830985915492,0.012030516431924883,0,0.0031103286384976526,0.001789906103286385,0,0.2727699530516432,0,0.4857100938967136,0.0068955399061032862,0.12916666666666668,0.13259976525821596,0.039084507042253525,0,0.022916666666666665,0.036032863849765256,0.0051643192488262908,0.14242957746478874,0,0.38145539906103287,0.00032276995305164318,0.34586267605633803,0.053667840375586855,0.023063380281690141,0,0.0053110328638497654,0.0020246478873239436,8.8028169014084512e-005,0.18820422535211268,0,0.50619131455399058,0,0.43940727699530518,0.00090962441314553996,0.051379107981220661,0,0,0.00079225352112676059,0.0013204225352112676,0,0,0.66117957746478873,0,0.26041666666666669,0.0014964788732394366,0.0738556338028169,0,0,0.00067488262910798123,0.0023767605633802816,0,0
7050901913,0,0,0,0,0,0,0,0,0,1,0,0,0.0026408450704225352,0,0.0047828638497652582,0,0,0.0014671361502347417,0.0006161971830985916,0,0.99049295774647883,0,0.76299882629107985,0.0035211267605633804,0.10754107981220658,0.0027582159624413146,0.054724178403755867,0,5.868544600938967e-005,0.0018485915492957746,0.00017605633802816902,0.066373239436619713,0,0,0.05759976525821596,0.0072769953051643197,0.75181924882629103,0.00011737089201877934,0,0.0048415492957746475,0.053814553990610331,0,0.12444248826291079,8.8028169014084512e-005,0,0.0092723004694835673,0.0048708920187793426,0.89967723004694833,5.868544600938967e-005,0,0.0088028169014084511,0.059213615023474178,0,0.018104460093896713,0,0.59621478873239442,0.017400234741784038,0.16329225352112675,0.1392899061032864,0.060328638497652583,0,0.00052816901408450699,0.012940140845070423,0.00020539906103286384,0.0098004694835680754,0,0.0012910798122065727,0.0014964788732394366,0.2755868544600939,0.62112676056338023,0.061883802816901409,0,0.016167840375586856,0.018955399061032864,8.8028169014084512e-005,0.0025821596244131454,0.00082159624413145535,0.22411971830985916,0.0061326291079812209,0.19421948356807511,0.47027582159624415,0.036355633802816902,0,0.027582159624413145,0.015580985915492958,5.868544600938967e-005,0.025381455399061031,0.00029342723004694836,0.69266431924882632,0,0.22048122065727699,0.018280516431924881,0.066901408450704219,0,0.00035211267605633805,0.00073356807511737085,0.00058685446009389673,0,0
7050905763,0.1625293427230047,0.1369718309859155,0.58767605633802822,0.055575117370892019,0.050146713615023472,2.9342723004694835e-005,2.9342723004694835e-005,0.0025234741784037557,0.0018485915492957746,0,0.0026701877934272302,0.11431924882629108,0.36807511737089205,0.12802230046948357,0.35052816901408451,0.021009389671361501,0,0,0.016872065727699531,0.00038145539906103286,0,0.00079225352112676059,0.4092429577464789,0.10666079812206573,0.38010563380281692,0.012177230046948357,0.089348591549295781,0,0,0.0010856807511737088,0.00073356807511737085,0,0.00064553990610328636,0.39231220657276994,0.0019072769953051643,0.50434272300469485,0.016167840375586856,0.080604460093896713,0,8.8028169014084512e-005,0.0020246478873239436,0.0018192488262910799,0,0.00073356807511737085,0.4147300469483568,0.018339201877934273,0.10528169014084507,0.4120892018779343,0.028139671361502347,0,0.00052816901408450699,0.020510563380281691,0.00020539906103286384,0.00017605633802816902,0,0.76370305164319252,0,0.17652582159624414,0.00082159624413145535,0.058333333333333334,0,0,0.00026408450704225349,0.00026408450704225349,0,8.8028169014084512e-005,0.38606220657276996,0,0.51478873239436618,0.00058685446009389673,0.095334507042253519,2.9342723004694835e-005,0,0.00044014084507042255,0.0016138497652582161,0,0.0011443661971830986,0.60759976525821591,0,0.26666666666666666,0.0067488262910798125,0.11461267605633803,0,2.9342723004694835e-005,0.003785211267605634,0.00038145539906103286,0,0.00017605633802816902,0.8380281690140845,0,0.11452464788732394,0.00038145539906103286,0.046830985915492958,0,0,5.868544600938967e-005,0.00017605633802816902,0,0
7054611783,0.28257180012784061,0.061627983865635123,0.041746567039167716,0.49743216733893186,0.081377151799687006,0,0.00066124446207763013,0.032246688267319093,0,0.00017633185655403468,0.0021600652427869252,0.075249619784434299,0.087107937137693145,0.044854416010932575,0.66375719103352504,0.1102955762745487,0,0.00072736890828539312,0.011351363265665984,0,0.00081553483656241041,0.0058409927483523989,0.048359011659944016,0.037316229143247594,0.072736890828539305,0.27677489034362668,0.044898498975071081,0.0021159822786484162,0.054684917013820007,0.0028433511869338096,0.00011020741034627169,0.44638409486653885,0.01377592629328396,0.25687143203509005,0.051003989508254535,0.024157464347902752,0.58916881571116841,0.059005047499393858,0,0,0.019506711631290089,0,0.00026449778483105202,2.2041482069254335e-005,0.13361546430381979,0.25138310299984573,0.0065022372104300294,0.52379377989376008,0.043818466353677622,0,0.012078732173951376,0.028124931120368533,4.408296413850867e-005,0.00035266371310806936,0.00028653926690030637,0.11534307566840794,0.24598293989287839,0.025854658467235336,0.54226454186779516,0.010359496572549538,2.2041482069254335e-005,0.011351363265665984,0.034142255725274968,0.00011020741034627169,0.014018382596045757,0.00055103705173135844,0.42855253587251207,0.06929841962573563,0.013687760365006943,0.34988648636734332,0.12127223434503737,0,8.816592827701734e-005,0.015076373735369967,0,0,0.0021380237607176705,0.3101897771606163,0.1123674755890586,0.008618219489078446,0.40468161079150961,0.14930899953712887,0,0,0.01229914699464392,0,0.00011020741034627169,0.0024245630276179772,0.18182018558927901,0.12925125085410744,0.0071414401904384053,0.52344111618065203,0.14155039784875134,0,0.00055103705173135844,0.0093896713615023476,2.2041482069254335e-005,0.0053560801428288035,0.0014767792986400405
7054650519,0,0.68695506371562709,0,0.045606975184439971,0,0,0.016431924882629109,0.067907444668008049,0,0.18309859154929578,0,0,0.4198524480214621,0,0.038397048960429239,0,0,0,0,0,0.54175050301810868,0,0,0.056505700871898053,0,0,0,0,0,0,0,0.9434942991281019,0,0.029510395707578806,0.087189805499664652,0.34775318578135478,0.40710932260228033,0.01358148893360161,0.00016767270288397049,0.04124748490945674,0.061368209255533199,0.0031857813547954395,0.0078806170355466137,0.001006036217303823,0.065057008718980555,0.51475519785378943,0.006371562709590879,0.35848423876592889,0.032025486250838363,0,0.0040241448692152921,0.015928906773977198,0,0.0033534540576794099,0,0.04007377598926895,0.70774647887323938,0.040744466800804832,0.13363514419852449,0.073775989268947018,0,0,0.00016767270288397049,0,0.0036887994634473508,0.00016767270288397049,0.11820925553319919,0.012407780013413815,0.78034875922199864,0.012407780013413815,0.023474178403755867,0.00016767270288397049,0.0098926894701542589,0.0065392354124748494,0.0015090543259557343,0.0093896713615023476,0.025653923541247486,0.20439302481556001,0.042588866532528503,0.34859154929577463,0.19869215291750503,0.16431924882629109,0.00033534540576794097,0.0068745808182427903,0.014252179745137492,0.0030181086519114686,0.001006036217303823,0.015928906773977198,0.43209255533199198,0.0078806170355466137,0.14218645204560698,0.03873239436619718,0.37843729040912139,0,0,0.00033534540576794097,0,0,0.00033534540576794097
7062104807,8.971023593792052e-005,2.9903411979306838e-005,0.0069674949911784937,0.25361083699650128,0.052450584611704196,0,0.00020932388385514787,0,0,0.68628330492509193,0.00035884094375168208,0,0,0,0.22245148171406356,0.017493496007894502,0,0,0,0,0.76005502227804189,0,0,0,0.0014054603630274214,0.21279267964474746,0.036512066026733653,0,5.9806823958613676e-005,0,0,0.74922998714153288,0,0.00014951705989653418,0,0.042313327950719175,0.5290511647378966,0.090368111001465273,0,0.00020932388385514787,0,0,0.33778894171825008,0.00011961364791722735,0,0,0.00011961364791722735,0.56176549744325832,0.028796985736072485,0,0,0,0,0.40931790317275202,0,5.9806823958613676e-005,0,0.017433689183935886,0.69860351066056636,0.11261624951406955,0,0.00047845459166890941,0,0,0.17077838581382135,2.9903411979306838e-005,0.090278400765527345,2.9903411979306838e-005,0.077569450674321944,0.45103316288388506,0.12275350617505458,0,0.0020035286026135581,8.971023593792052e-005,0,0.25522562124338388,0.0010167160072964325,0.11300499386980055,0,0.067282676953440382,0.56209443497503064,0.13728656439699768,0,0.00029903411979306837,2.9903411979306838e-005,0,0.11991268203702042,8.971023593792052e-005,0.22445501031667714,0.00017942047187584104,0.18892975688526062,0.29018270984719358,0.2361472444005861,0,0.00062797165156544359,5.9806823958613676e-005,2.9903411979306838e-005,0.059208755719027541,0.00017942047187584104
7068770997,0,0.99483901042186929,0,0.004261978490327307,0,0,3.3296706955682086e-005,9.9890120867046251e-005,0,0.00076582425998068793,0,0.018879232843871743,0.97908966803183162,0.00013318682782272834,0.0015649452269170579,0.00033296706955682085,0,0,0,0,0,0,0,0.99820197782439313,0,0,0,0,0,0,0,0.0017980221756068325,0,0.21686145240235741,0.50337961575600176,0.009722638431059168,0.21010222089035394,0.008757033929344387,0,0.00046615389737954916,0.0011986814504045551,0.0015649452269170579,0.047947258016182201,0,0.41464389171910898,0.4699497219724969,0.0001997802417340925,0.013884726800519429,0.001165384743448873,0,0,0.00016648353477841042,0,0.099990010987913297,0,0.11610561715446342,0.32664069523524125,3.3296706955682086e-005,0.090700229747277997,0.0080245063763193826,0,0.00029967036260113877,0.0004994506043352313,0,0.45769653381280589,0,0.4320580694569307,0.0019645057103852429,0.030499783571404787,0.52026104618253255,0.010088902207571672,9.9890120867046251e-005,0.00046615389737954916,0.002430659607764792,0.002031099124296607,3.3296706955682086e-005,6.6593413911364172e-005,0.58445709719308758,0.0021309892451636535,0.004461758732061399,0.40678586887756801,0.0011986814504045551,0,0.0001997802417340925,0.00063263743215795961,3.3296706955682086e-005,6.6593413911364172e-005,3.3296706955682086e-005,0.48809642726334368,0.0056604401824659539,0.0097559351380148499,0.45060433523124566,0.01678154030566377,0,0.0022974727799420637,0.004661538973795492,0.00026637365564545669,0.021809343055971764,6.6593413911364172e-005
7132396535,0.508656103286385,0.0059859154929577463,0.01176643192488263,0.1079518779342723,0.27417840375586855,0,0.00049882629107981223,0.0073943661971830983,2.9342723004694835e-005,0.082159624413145546,0.0013791079812206573,0.59025821596244132,0.00011737089201877934,0.0091255868544600945,0.026261737089201879,0.28529929577464791,0,8.8028169014084512e-005,0.0012617370892018778,0,0.087588028169014079,0,0.32285798122065729,0,0.026115023474178403,0.12743544600938966,0.10856807511737089,0,5.868544600938967e-005,0.00020539906103286384,0,0.4147593896713615,0,0.53174882629107978,0.0029342723004694834,0.0064847417840375584,0.083656103286384981,0.23779342723004696,0,2.9342723004694835e-005,0.0047241784037558689,0,0.13207159624413145,0.00055751173708920186,0.41261737089201878,0.00014671361502347418,0.014788732394366197,0.15196596244131455,0.27356220657276997,0,0.00026408450704225349,0.00052816901408450699,0,0.14583333333333334,0.00029342723004694836,0.35416666666666669,0.00023474178403755868,0.01335093896713615,0.14504107981220657,0.22943075117370892,0,0.00011737089201877934,0.00017605633802816902,0,0.25748239436619719,0,0.29495305164319247,0.00076291079812206572,0.0255575117370892,0.14019953051643191,0.5113262910798122,0,5.868544600938967e-005,0.0012030516431924883,0,0.025762910798122065,0.00017605633802816902,0.22276995305164318,0,0.012529342723004695,0.4061913145539906,0.35730633802816902,0,8.8028169014084512e-005,0,0,0.00073356807511737085,0.00038145539906103286,0.18955399061032863,0.0006161971830985916,0.18673708920187793,0.25624999999999998,0.33650234741784035,0,0.0014964788732394366,0.00026408450704225349,0,0.014642018779342724,0.013937793427230047
7132396883,0.47937206572769953,2.9342723004694835e-005,0.0015258215962441314,0.25231807511737087,0.26660798122065726,0,0,2.9342723004694835e-005,0,0.00011737089201877934,0,0.25143779342723005,0.0015551643192488263,0.04791666666666667,0.083245305164319244,0.60475352112676062,0,2.9342723004694835e-005,0.00014671361502347418,0,0.010915492957746478,0,0.28597417840375589,0.033626760563380279,0.001789906103286385,0.59225352112676055,0.052699530516431926,0,0.00099765258215962446,0.0056924882629107981,0,0.026965962441314554,0,0.41992370892018777,0.0042840375586854461,0.0025234741784037557,0.36126760563380284,0.15032276995305163,0,0.00023474178403755868,0.0029929577464788732,0,0.058362676056338027,8.8028169014084512e-005,0.25446009389671359,0.0048415492957746475,0.00082159624413145535,0.28852699530516435,0.2669600938967136,0,0,0.00011737089201877934,0,0.17925469483568074,0.0050176056338028172,0.31493544600938966,0.0096537558685446008,0.008303990610328639,0.54075704225352117,0.041696009389671364,0,0.00014671361502347418,0.0018485915492957746,0,0.082541079812206569,0.00011737089201877934,0.3948650234741784,0.0019366197183098592,0.0040199530516431929,0.47467723004694834,0.081426056338028172,0,8.8028169014084512e-005,0.0016138497652582161,0,0.041079812206572773,0.00029342723004694836,0.42385563380281688,0.0047535211267605631,0.0013791079812206573,0.44392605633802817,0.057159624413145538,0,0.00020539906103286384,0.0013791079812206573,0,0.066696009389671365,0.00064553990610328636,0.54105046948356805,0.0011150234741784037,0.002846244131455399,0.40029342723004696,0.038908450704225349,0,0.00011737089201877934,0.00049882629107981223,0,0.014788732394366197,0.00038145539906103286
7419955296,0.48100725565514296,0,0,0.35827464788732394,0,0,0,0,0,0.16071809645753307,0,0.48812953478446436,0,0,0.24301109688433631,0,0,0,0,0,0.26885936833119933,0,0.73196756295347842,0,0,0.24018352539479301,0,0,0,0,0,0.027848911651728554,0,0.18003094323516858,0,0,0.37665386256935551,0,0,0,0,0,0.44331519419547588,0,0.30796521553563805,0,0,0.41826717883055914,0,0,0,0,0,0.27376760563380281,0,0.60571382842509602,0,0,0.37427976952624842,0,0,0,0,0,0.020006402048655569,0,0.50632202304737517,0,0,0.37262590695689285,0,0,0,0,0,0.12105206999573197,0,0.52291399914639347,0,0,0.35029876227059326,0,0,0,0,0,0.12678723858301322,0,0.84395006402048656,0,0,0.099711907810499364,0,0,0,0,0,0.056338028169014086,0
8077535899,0.18192488262910797,0.44366197183098594,0.037001173708920185,0.030956572769953051,0.23386150234741784,0,0.0024647887323943664,0.0369424882629108,0.0022593896713615025,0.029841549295774646,0.0010856807511737088,0.061913145539906102,0.72077464788732393,0.0044014084507042256,0.031895539906103283,0.12150821596244131,0.00014671361502347418,5.868544600938967e-005,0.024794600938967137,0.00026408450704225349,0.032394366197183097,0.0018485915492957746,0.016725352112676055,0.95586854460093895,5.868544600938967e-005,2.9342723004694835e-005,0.019688967136150235,0,0,0.0076291079812206572,0,0,0,0.1062793427230047,0.23603286384976527,0.048327464788732392,0.20974178403755869,0.12860915492957747,0,0.029665492957746478,0.076584507042253516,0.0012323943661971832,0.1619424882629108,0.0015845070422535212,0.17253521126760563,0.68092723004694833,0.0015845070422535212,0.015815727699530515,0.024911971830985917,0,0,0.072740610328638503,0.00041079812206572768,0.031044600938967135,2.9342723004694835e-005,0.0022593896713615025,0.87579225352112677,0.00020539906103286384,0.010387323943661972,0.0017312206572769953,0,0.00046948356807511736,0.0044894366197183099,0,0.10466549295774648,0,0.034154929577464792,0.0082453051643192488,0.064642018779342725,0.099911971830985921,0.068397887323943668,0,0.10448943661971831,0.023474178403755867,0.00093896713615023472,0.57541079812206575,0.020334507042253522,0.065903755868544606,0.18902582159624412,0.012617370892018779,0.12294600938967136,0.047975352112676055,0,0.021126760563380281,0.04867957746478873,0.00014671361502347418,0.48928990610328638,0.0022887323943661972,0.12893192488262911,0.10757042253521126,0.036326291079812209,0.06147300469483568,0.28832159624413145,0.00023474178403755868,0.023268779342723006,0.071126760563380284,0.00073356807511737085,0.27027582159624414,0.011737089201877934
8097837787,0.0014547378165707862,0.00013224889241552601,0.027441645176221649,6.6124446207763005e-005,0,0.0037690934338424917,0.60166633604443565,0.009257422469086821,0.35621239172121932,0,0,0,0,0.014448191496396218,0.035872512067711436,0,3.3062223103881503e-005,0.84183032467103092,0.0018184222707134828,0.10599748727104411,0,0,0,0,0.019043840507835749,0.22029359254116246,0,0,0.61813132315016861,0.051213383587912449,0.091317860212920723,0,0,0.0081333068835548507,0.018018911591615422,0.046187925676122461,0,0,0.16653441777425115,0.22779871718574357,0.056668650400052901,0.47665807048865966,0,0,0,0,0.043542947827811943,0,0,0.022614560603054949,0.31984394630694968,0.0016861733782979568,0.61231237188388543,0,0,0,0,0.17255174237915757,0.0014216755934669048,0,0.00056205779276598559,0.23765125967070025,0.031971169741453413,0.55584209482245583,0,0,0.90669840640084642,0.0069430668518151162,0.00026449778483105202,0,0,0.0009918666931164452,0.0022482311710639424,0.05213912583482113,0.03071480526350592,0,0,0.59022680685049267,0.15304503074786749,0,0,0,0,0.041030218871916949,0.12500826555577596,0.090689677973946975,0,0,0.093301593599153604,0.65152416848508898,3.3062223103881503e-005,0,0,0,0.015473120412616545,0.0606030549494148,0.17906500033062223,0,0
8097838755,0,0.63013291013687756,0,0.36960259207829133,0,0,0,0.00026449778483105202,0,0,0,0,0.49130463532367918,0.0015869867089863122,0.50700919129802291,6.6124446207763005e-005,0,0,3.3062223103881503e-005,0,0,0,0.41569133108510214,0.54450175229782449,0,0.035442703167360971,0.0021490445017522978,0,0,0.0022151689479600607,0,0,0,0.13089334126826688,6.6124446207763005e-005,0.36044435627851618,0.25606691793956227,0.00039674667724657806,0.23279111287442969,0.0019176089400251273,0.0010249289162203266,0.0089598624611518882,0,0.0074390001983733389,0.17747801362163593,0.006546320174568538,0.30020498578324406,0.36821397870792832,0.0439727567281624,0.09025986907359651,0.0013224889241552603,0.00072736890828539312,0.0088937380149441241,0,0.0023804800634794686,0.6856113205051908,0.049163525755471796,0.057792765985584874,0.12530582556371089,0.077563975401706009,0.00036368445414269656,0.00013224889241552601,0.0020829200555445349,0,0,0.0019837333862328904,0.76082787806652119,0.0070753157442306419,0.0027441645176221651,0.011274218078423593,0.217351054684917,0,0,0.00072736890828539312,0,0,0,0.82579514646564833,0.010315413608411029,0.0024135422865833498,0.047146730146135025,0.11320505190769027,3.3062223103881503e-005,3.3062223103881503e-005,0.0009257422469086821,0.00013224889241552601,0,0,0.87578522779871715,0.02479666732791113,0,0.0071083779673345232,0.09207829134430999,0,0,0.00023143556172717052,0,0,0
8097846344,0,0.99996693777689616,0,0,0,0,0,0,0,3.3062223103881503e-005,0,0.41096343318124712,0.56460358394498444,0,0.013257951464656484,0.010216226939099385,0,0,0.00082655557759703767,0,0.00013224889241552601,0,0.72796402830126294,0.24671030880116379,0.00026449778483105202,0.0057528268200753817,0.013786947034318587,0,0,0.0055213912583482114,0,0,0,0,0.32434040864907754,0.019176089400251273,0.31141307941545987,0,0.027441645176221649,0.27606956291741058,0.0090590491304635319,0,0.03250016531111552,0,0.49712358658996231,0.18200753818686768,0.00016531111551940753,0.1610460887390068,0.022845996164782119,0,0.00069430668518151157,0.00013224889241552601,0,0.13598492362626463,0,0.75018184222707129,0.19552998743635522,0.0009257422469086821,0.012266084771540038,0.031012365271440853,0,0,0.0087945513456324804,0,0.0012894267010513786,0,0.32371222641010383,0.05931362824836342,0.050783574687561991,0.091582357997751773,0.021292071678899689,0.13357138133968127,0.092144415790517756,0.012993453679825431,0.0010910533624280897,0.10979964292799048,0.10371619387687628,0.77997090524366863,0.078853402102757389,0.012166898102228393,0.022151689479600608,0.065826886199828072,9.9186669311644515e-005,0.0077034979832043904,0.00029756000793493357,3.3062223103881503e-005,0.032896911988362094,0,0.83749917344442237,0.13747272366593929,0.00056205779276598559,0.0063148846128413677,0.017787476029888248,0,0,0.00036368445414269656,0,0,0
8097846576,6.6124446207763005e-005,0.50495933346558219,0,0.037426436553593866,0,0,0.052039939165509488,0.39545725054552666,0.010050915823579977,0,0,0.00046287112345434105,0.46144944786087416,0,0,0,0,0.065992197315347487,0.36034516960920454,0.11175031409111949,0,0,0.0026449778483105205,0.66960920452291217,0,0.0058850757124909083,0,0,0.062652912781855447,0.23325398399788402,0.025953845136546982,0,0,0.071116841896449123,0.076175362031342994,0.12193347880711498,0.044700125636447798,0,0.14101038153805462,0.10441050056205779,0.18977716061627983,0.25087614891225285,0,0,0.13836540368974409,0.00069430668518151157,0.1909012762018118,3.3062223103881503e-005,0,0.2703167360973352,0.074753686437876082,0.090722740197050844,0.23421278846789659,0,0,0.13333994577795411,0.044700125636447798,0.22227732592739535,0.050386828010315417,0.012332209217747801,0.086887522317000601,0.21695430800767043,0.041823712226410105,0.19129802287905839,0,0,0.91592276664682937,0.083482113337300795,0,0,0,0,0,0.00059512001586986714,0,0,0,0.99947100443033787,0.00033062223103881507,0,0,0,0,0,0.00019837333862328903,0,0,0,0.98750247966673277,0.012497520333267209,0,0,0,0,0,0,0,0,0
8100662876,0,0.99718971103617005,0,0.002810288963829928,0,0,0,0,0,0,0,0,0.75137208225881114,0.019738147193017259,0.19635654301395225,0,0,0.030318058586259342,0.0012563644779474972,0,0.00095880447001256365,0,3.3062223103881503e-005,0.61138662963697676,0.013390200357072009,0.3673543609072274,3.3062223103881503e-005,0,0.0066785690669840638,0.0011241155855319712,0,0,0,0.11426304304701448,0.20776300998479139,0.12755405673477485,0.45751504331151227,0.071579713019903457,0.0031739734179726245,0.0036037823183230839,0.0047609601269589371,0.00033062223103881507,0.00042980890035045955,0.0090259869073596507,0.086060966739403555,0.08106857105071745,0.14474641274879324,0.59624413145539901,0.062652912781855447,0.0029094756331415725,0.0062156979435297232,0.0065793823976724192,0.0021159822786484162,0.00046287112345434105,0.010943595847384777,0.051444819149639623,0.099451167096475571,0.18448720491965881,0.5857303445083647,0.047940223500628182,0.0066785690669840638,0.0038682801031541363,0.0061165112742180786,0.0032070356410765061,0.00062818223897374858,0.010447662500826555,0.70644052106063615,0.070124975203332676,0.10464193612378496,0.01253058255637109,0.060768366064934208,0.0053560801428288035,0.0017192356014018382,0.0073398135290616943,0.0040335912186735432,0.0009918666931164452,0.026053031805858627,0.52406929841962568,0.095219202539178732,0.15876479534483898,0.034450836474244531,0.093698340276400185,0.02043245387819877,0.0051907690273093965,0.018415658268861997,0.0040335912186735432,0.0021821067248561795,0.043542947827811943,0.55528003702968987,0.081795939959002847,0.15367321298684122,0.01163790253256629,0.084473980030417242,0.0094227335846062289,0.0012563644779474972,0.011604840309462409,0.0041327778879851878,0.0013224889241552603,0.085399722277325923
8100663294,0.00059512001586986714,0.84345037360312103,0.0021490445017522978,0.14358923494015738,0.0040997156648813066,0.002810288963829928,3.3062223103881503e-005,0.00046287112345434105,0.00089268002380480066,0.00039674667724657806,0.0015208622627785491,0,0.93437148713879525,0.0014216755934669048,0.061627983865635123,0.0023143556172717052,0,0,6.6124446207763005e-005,0,0.00016531111551940753,3.3062223103881503e-005,0,0.94095086953646767,0,0.057263770415922767,0.0017853600476096013,0,0,0,0,0,0,0.014349004827084573,0.0017192356014018382,0.057329894862130533,0.89945777954109629,0.0076043113138927459,0.0068769424056073529,0.00023143556172717052,0.00033062223103881507,0,0.00029756000793493357,0.011803213648085698,0.0033723467565959135,0.0065793823976724192,0.014844938173642797,0.95278714540765719,0.003537657872115321,0.0055875157045559747,0.00023143556172717052,0.00042980890035045955,3.3062223103881503e-005,0.00013224889241552601,0.012464458110163328,0,0.067248561793294984,0,0.93271837598360119,3.3062223103881503e-005,0,0,0,0,0,0,0.22879058387886,0.00052899556966210404,0.47136811479203861,0.0058850757124909083,0.17235336904053428,0.0013224889241552603,0,0.0025788534021027572,0.0013886133703630231,0,0.11578390530979303,0.12847979898168352,0.00029756000793493357,0.50089268002380483,0.10847715400383522,0.11201481187595054,0.0059181379355947895,3.3062223103881503e-005,0.0017192356014018382,0.0013224889241552603,0,0.14084507042253522,0.24948753554188985,0.012861204787409906,0.33902003570720096,0.27626793625603385,0.088838193480129599,0.0017192356014018382,9.9186669311644515e-005,0.0031078489717648616,0.00046287112345434105,0,0.02813595186140316
8183222831,0.069926601864709378,0.0068108179593995904,0.083085366660054227,0.086689148978377303,0.10642729617139457,0.0021159822786484162,0.12054486543675197,0.051808503603782322,0.0033723467565959135,0.46386299014745752,0.0053560801428288035,0.012629769225682735,0.051775441380678439,0.024598293989287839,0.10040997156648813,0.058487072670766381,3.3062223103881503e-005,0.05342855253587251,0.0031078489717648616,0.00016531111551940753,0.69219070290286322,0.0031739734179726245,0.00046287112345434105,3.3062223103881503e-005,0.012497520333267209,0.042947827811942077,0.016630298221252397,0,0.026284467367585797,0.00089268002380480066,3.3062223103881503e-005,0.89787079283211002,0.0023474178403755869,0.22389737485948555,6.6124446207763005e-005,0.48783310189777163,0.073398135290616937,0.14001851484493819,0.015440058189512662,0.0048601467962705808,0.0019837333862328904,0.00042980890035045955,0.011505653640150763,0.040567347748462608,0.22925345500231437,0.16954308007670435,0.17539509356609137,0.17175824902466441,0.22885670832506777,0.00023143556172717052,0.0013224889241552603,0.00066124446207763013,0.00016531111551940753,0.0076043113138927459,0.015208622627785492,0.065066455068438805,3.3062223103881503e-005,0.40692984196257359,0.25851352244924947,0.19374462738874562,0.0013886133703630231,0.013026515902929314,0.0015539244858824308,0.003273160087284269,0.040236725517423792,0.016233551544005818,0.25927395358063876,0.0024135422865833498,0.30823910599748727,0.040897969979501424,0.34305362692587449,0.0096541691463333992,0.00062818223897374858,0.0031409111948687428,0.00062818223897374858,0.00016531111551940753,0.031905045295245654,0.51891159161542022,0.0028433511869338096,0.056999272631091717,0.10371619387687628,0.29365866560867554,0,0.0037690934338424917,0.0029756000793493354,0.00019837333862328903,0.015307809297097137,0.0016200489320901937,0.15397077299477616,0.033525094227335843,0.25071083779673348,0.080771011042782517,0.45572968326390267,6.6124446207763005e-005,0.0017853600476096013,0.0049262712424783441,0.0019176089400251273,0.0073398135290616943,0.009257422469086821
8219154675,0.025722409574819811,0.107419162864511,0.048006347946835948,0.11224624743767771,0.072406268597500489,0,0.010877471401177015,0.058916881571116839,0.00013224889241552601,0.5642068372677379,6.6124446207763005e-005,0.025160351782053825,0.073861006414071284,0.048303907954770881,0.18551213383587911,0.069166170733320112,6.6124446207763005e-005,0.0097864180387489258,0.049824770217549427,0.00023143556172717052,0.53788930767704823,0.00019837333862328903,0.10758447398003042,0.076241486477550746,0.27183759836011373,0.16653441777425115,0.13651391919592673,9.9186669311644515e-005,0.009257422469086821,0.053924485882430734,0.0010249289162203266,0.16878264894531508,0.0081994313297626131,0.068703299609865764,0.0057197645969715005,0.48227864841631951,0.094028962507439001,0.23117106394233949,0.002545791178998876,0.0088937380149441241,0.014811875950538914,0.01382000925742247,0.028631885207961384,0.04939496131719897,0.043377636712292535,0.053395490312768627,0.59538451365469813,0.11042782516696423,0.08520134893870264,0.0016531111551940753,0.019506711631290089,0.0025127289558949943,0.021060636117172519,0.056602525953845136,0.010877471401177015,0.037558685446009391,0.011075844739800304,0.54582424122197981,0.085432784500429806,0.14144019043840508,0.0069430668518151162,0.014216755934669046,0.011571778086358528,0.02611915625206639,0.031706671956622363,0.088110824571844215,0.040831845533293658,0.0033723467565959135,0.39843285062487599,0.083085366660054227,0.33941678238444756,0.024730542881703364,0.0046617734576472926,0.026515902929312968,0.026383654036897439,0.008695364676320835,0.043873570058850758,0.046419361237849635,0.0032400978641803873,0.41423659326853135,0.20124975203332673,0.23798188190173908,0.015969053759174769,0.0047609601269589371,0.030318058586259342,0.02482972955101501,0.0012563644779474972,0.019738147193017259,0.023374991734444225,0.00019837333862328903,0.33217615552469748,0.51229914699464396,0.087152020101831651,0.0082324935528664944,0.007273689082853931,0.0044303378959201214,0.014745751504331151,0.00052899556966210404,0.0095880447001256367
8236684591,0.04424230568596766,0.1150886802295253,0.087115284298382889,0.23063380281690141,0.23382889932185708,0.0064880020865936356,0.081605372978612409,0.0054773082942097028,0.051773604590505999,0.14276864893062077,0.00097809076682316121,0.015160406885758999,0.061261085028690661,0.056794470526864892,0.2835811163275952,0.20644235785080856,0.0025104329681794471,0.15056077203964527,0.0020213875847678664,0.027451747522170056,0.19369457485654668,0.00052164840897235261,0.054707876890975483,0.05581637976004173,0.11600156494522691,0.23927360459050601,0.2927751695357329,0.0074334898278560248,0.093766301512780384,0.0044340114762649978,0.070520344287949926,0.064358372456964005,0.00091288471570161709,0.031298904538341159,0.14084507042253522,0.038047730829420971,0.24514214919144497,0.16151538862806469,0.0050208659363588943,0.13021648408972353,0.0032276995305164321,0.036221961398017734,0.2071922274387063,0.0012715179968701095,0.21446270213875848,0.052751695357329161,0.098167709963484617,0.1388888888888889,0.27115936358894105,0.0036515388628064684,0.053599374021909237,0.012258737610850287,0.090669014084507046,0.063412884715701612,0.00097809076682316121,0.027875586854460094,0.098461137193531556,0.069770474700052168,0.22245044340114761,0.2300795513823683,0.0086071987480438178,0.13872587376108503,0.0034233176838810641,0.0539906103286385,0.1454094940010433,0.0012063119457485655,0.099602243088158585,0.056696661450182574,0.08297470005216484,0.27816901408450706,0.31693401147626499,0.0057055294731351066,0.07312858633281169,0.0023800208659363587,0.03517866458007303,0.047959050599895671,0.0012715179968701095,0.21475612936880542,0.018779342723004695,0.11459963484611371,0.21270213875847679,0.3516562336984872,0.0025756390193009912,0.016953573291601461,0.0034559207094418364,0.03100547730829421,0.031885758998435057,0.0016301512780386019,0.10537297861241524,0.037623891497130933,0.17410015649452268,0.31191314553990612,0.26731220657276994,0.0053794992175273861,0.032407407407407406,0.0091288471570161716,0.051838810641627542,0.0048578508085550341,6.5206051121544076e-005
8354410375,0,0,0,0,0,0,0,0,0,1,0,0.087052833432520002,0.0049923956886861074,0.00036368445414269656,0.02149044501752298,0.002810288963829928,0,9.9186669311644515e-005,0.00016531111551940753,0,0.88302585465846728,0,0,0,0,0,0,0,0,0,0,1,0,0.17093169344706738,0.0039674667724657808,0.0010910533624280897,0.10745222508761489,0.10497255835482378,0,9.9186669311644515e-005,0.00059512001586986714,0,0.61089069629041859,0,0.36834622760034386,0.0068108179593995904,0.0018184222707134828,0.19490180519738148,0.035112080936322156,0,0.00029756000793493357,0.0009918666931164452,0,0.3916550948885803,6.6124446207763005e-005,0.20604377438338953,0.0034384712028036764,0.00059512001586986714,0.067347748462606633,0.27914434966607155,0,0.00016531111551940753,0.00023143556172717052,0,0.44303378959201217,0,0.37066058321761558,0.041460027772267406,0.0077696224294121537,0.4841301329101369,0.062256166104608872,0,0.0075051246445811013,0.0060834490511141965,0.013423262580175892,0.0066455068438801826,6.6124446207763005e-005,0.40726046419361239,0.0083316802221781398,0.0044634001190240035,0.56724856179329497,0.0084969913376975476,0,0.0009918666931164452,0.0015539244858824308,3.3062223103881503e-005,0.0016200489320901937,0,0.36527144085168289,0.022449249487535541,0.0097864180387489258,0.55481716590623553,0.037327249884282217,0,0.0015208622627785491,0.0029756000793493354,0.0012233022548436157,0.004562586788335648,6.6124446207763005e-005
|
CSV
|
name = "DeepCorrectionsExperiments"
uuid = "8f5237d0-3ae6-11e9-1c09-5bd42d403174"
repo = "https://github.com/MaximeBouton/DeepCorrectionsExperiments.jl"
[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
AutoUrban = "1385418a-9289-5a49-ab93-843b508de4cb"
AutoViz = "82aa6e0c-a491-5edf-8d4b-c16b98e4ea17"
AutomotiveDrivingModels = "99497e54-f3d6-53d3-a3a9-fa9315a7f1ba"
AutomotivePOMDPs = "dca8afc0-c686-11e8-0934-712707da73aa"
AutomotiveSensors = "9ec66b5e-c605-11e8-1454-ede748df6f96"
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
BeliefUpdaters = "8bb6e9a1-7d73-552c-a44a-e5dc5634aac4"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DeepCorrections = "658c41d1-afff-526d-a519-26c1370c8411"
DeepQLearning = "de0a67f4-c691-11e8-0034-5fc6e16e22d3"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
PGFPlots = "3b7a836e-365b-5785-a47d-02c71176b4aa"
POMDPPolicies = "182e52fb-cfd0-5e46-8c26-fd0667c990f4"
POMDPSimulators = "e0d0a172-29c6-5d4e-96d0-f262df5d01fd"
POMDPs = "a93abf59-7444-517b-a68a-c42f96afdd7d"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
RLInterface = "3065fe53-3878-5aed-aae7-ab641be43734"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Records = "5984c134-fa48-5ed5-a57f-fc2f6936871f"
StatPlots = "60ddc479-9b66-56df-82fc-76a74619b69c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Vec = "44eeaf0b-fee4-471f-9310-ed6585cb3142"
|
TOML
|
use super::Bencher;
use sqlx::*;
use std::collections::HashMap;
use tokio::runtime::Runtime;
#[derive(sqlx::FromRow)]
pub struct User {
#[cfg(not(feature = "sqlite"))]
pub id: i32,
#[cfg(feature = "sqlite")]
pub id: i64,
pub name: String,
pub hair_color: Option<String>,
}
#[derive(sqlx::FromRow)]
pub struct Post {
#[cfg(not(feature = "sqlite"))]
pub id: i32,
#[cfg(feature = "sqlite")]
pub id: i64,
#[cfg(not(feature = "sqlite"))]
pub user_id: i32,
#[cfg(feature = "sqlite")]
pub user_id: i64,
pub title: String,
pub body: Option<String>,
}
#[derive(sqlx::FromRow)]
pub struct UserWithPost {
#[cfg(not(feature = "sqlite"))]
pub myuser_id: i32,
#[cfg(feature = "sqlite")]
pub myuser_id: i64,
pub name: String,
pub hair_color: Option<String>,
#[cfg(not(feature = "sqlite"))]
pub post_id: Option<i32>,
#[cfg(feature = "sqlite")]
pub post_id: Option<i64>,
#[cfg(not(feature = "sqlite"))]
pub user_id: Option<i32>,
#[cfg(feature = "sqlite")]
pub user_id: Option<i64>,
pub title: Option<String>,
pub body: Option<String>,
}
#[derive(sqlx::FromRow)]
pub struct Comment {
pub id: i32,
#[cfg(feature = "sqlite")]
pub post_id: i64,
#[cfg(not(feature = "sqlite"))]
pub post_id: i32,
pub text: String,
}
#[cfg(feature = "sqlite")]
type Connection = sqlx::SqliteConnection;
#[cfg(feature = "mysql")]
type Connection = sqlx::MySqlConnection;
#[cfg(feature = "postgres")]
type Connection = sqlx::PgConnection;
#[cfg(feature = "postgres")]
fn connection() -> (Runtime, Connection) {
use sqlx::Connection;
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("Failed to create runtime");
dotenvy::dotenv().ok();
let connection_url = dotenvy::var("POSTGRES_DATABASE_URL")
.or_else(|_| dotenvy::var("DATABASE_URL"))
.expect("DATABASE_URL must be set in order to run tests");
let conn = runtime.block_on(async {
let mut conn = sqlx::PgConnection::connect(&connection_url).await.unwrap();
sqlx::query("TRUNCATE TABLE comments CASCADE;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("TRUNCATE TABLE posts CASCADE;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("TRUNCATE TABLE users CASCADE;")
.execute(&mut conn)
.await
.unwrap();
conn
});
(runtime, conn)
}
#[cfg(feature = "mysql")]
fn connection() -> (Runtime, Connection) {
use sqlx::Connection;
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("Failed to create runtime");
dotenvy::dotenv().ok();
let connection_url = dotenvy::var("MYSQL_DATABASE_URL")
.or_else(|_| dotenvy::var("DATABASE_URL"))
.expect("DATABASE_URL must be set in order to run tests");
let conn = runtime.block_on(async {
let mut conn = sqlx::MySqlConnection::connect(&connection_url)
.await
.unwrap();
sqlx::query("SET FOREIGN_KEY_CHECKS = 0;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("TRUNCATE TABLE comments;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("TRUNCATE TABLE posts;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("TRUNCATE TABLE users;")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("SET FOREIGN_KEY_CHECKS = 1;")
.execute(&mut conn)
.await
.unwrap();
conn
});
(runtime, conn)
}
#[cfg(feature = "sqlite")]
fn connection() -> (Runtime, Connection) {
use sqlx::Connection;
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("Failed to create runtime");
let conn = runtime.block_on(async {
let mut conn = sqlx::SqliteConnection::connect("sqlite::memory:")
.await
.unwrap();
for migration in super::SQLITE_MIGRATION_SQL {
let query = sqlx::query(migration);
query.execute(&mut conn).await.unwrap();
}
sqlx::query("DELETE FROM comments")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("DELETE FROM posts")
.execute(&mut conn)
.await
.unwrap();
sqlx::query("DELETE FROM users")
.execute(&mut conn)
.await
.unwrap();
conn
});
(runtime, conn)
}
async fn insert_users(
size: usize,
conn: &mut Connection,
hair_color_init: impl Fn(usize) -> Option<String>,
) {
if size == 0 {
return;
}
let mut query = String::from("INSERT INTO users (name, hair_color) VALUES");
for x in 0..size {
let (bind_a, bind_b) = if cfg!(any(feature = "mysql", feature = "sqlite")) {
("?".into(), "?".into())
} else {
(format!("${}", 2 * x + 1), format!("${}", 2 * x + 2))
};
query += &format!("{} ({}, {})", if x == 0 { "" } else { "," }, bind_a, bind_b);
}
let mut query = sqlx::query(&query);
for x in 0..size {
query = query.bind(format!("User {}", x)).bind(hair_color_init(x));
}
query.execute(conn).await.unwrap();
}
pub fn bench_trivial_query_query_as_macro(b: &mut Bencher, size: usize) {
let (rt, mut conn) = connection();
rt.block_on(insert_users(size, &mut conn, |_| None));
b.iter(|| {
rt.block_on(async {
sqlx::query_as!(User, "SELECT id, name, hair_color FROM users")
.fetch_all(&mut conn)
.await
.unwrap()
})
})
}
pub fn bench_trivial_query_from_row(b: &mut Bencher, size: usize) {
let (rt, mut conn) = connection();
rt.block_on(insert_users(size, &mut conn, |_| None));
b.iter(|| {
rt.block_on(async {
sqlx::query_as::<_, User>("SELECT id, name, hair_color FROM users")
.fetch_all(&mut conn)
.await
.unwrap()
})
})
}
// The query_as macro panics of sqlite
#[cfg(not(feature = "sqlite"))]
pub fn bench_medium_complex_query_query_as_macro(b: &mut Bencher, size: usize) {
let (rt, mut conn) = connection();
rt.block_on(insert_users(size, &mut conn, |i| {
Some(if i % 2 == 0 { "black" } else { "brown" }.into())
}));
b.iter(|| {
rt.block_on(async {
#[cfg(feature = "postgres")]
let res = sqlx::query_as!(UserWithPost,
"SELECT u.id as \"myuser_id!\", u.name as \"name!\", u.hair_color, p.id as \"post_id?\", p.user_id as \"user_id?\", p.title as \"title?\", p.body as \"body?\"\
FROM users as u LEFT JOIN posts as p on u.id = p.user_id WHERE u.hair_color = $1", "black"
)
.fetch_all(&mut conn)
.await
.unwrap();
#[cfg(any(feature = "sqlite", feature = "mysql"))]
let res = sqlx::query_as!(UserWithPost,
"SELECT u.id as \"myuser_id!\", u.name as \"name!\", u.hair_color, p.id as \"post_id?\", p.user_id as \"user_id?\", p.title as \"title?\", p.body as \"body?\"\
FROM users as u LEFT JOIN posts as p on u.id = p.user_id WHERE u.hair_color = ?", "black"
)
.fetch_all(&mut conn)
.await
.unwrap();
res.into_iter().map(|r| {
let user = User {
id: r.myuser_id,
name: r.name,
hair_color: r.hair_color,
};
let post = if let Some(id) = r.post_id {
Some(Post {
id,
title: r.title.unwrap(),
user_id: r.user_id.unwrap(),
body: r.body,
})
} else {
None
};
(user, post)
}).collect::<Vec<_>>()
})
})
}
pub fn bench_medium_complex_query_from_row(b: &mut Bencher, size: usize) {
let (rt, mut conn) = connection();
rt.block_on(insert_users(size, &mut conn, |i| {
Some(if i % 2 == 0 { "black" } else { "brown" }.into())
}));
#[cfg(feature = "postgres")]
let bind = "$1";
#[cfg(any(feature = "sqlite", feature = "mysql"))]
let bind = "?";
let query = format!(
"SELECT u.id as myuser_id, u.name, u.hair_color, p.id as post_id, p.user_id , p.title, p.body \
FROM users as u LEFT JOIN posts as p on u.id = p.user_id WHERE u.hair_color = {bind}"
);
let query = &query;
b.iter(move || {
rt.block_on(async {
let res = sqlx::query_as::<_, UserWithPost>(query)
.bind("black")
.persistent(true)
.fetch_all(&mut conn)
.await
.unwrap();
res.into_iter()
.map(|r| {
let user = User {
id: r.myuser_id,
name: r.name,
hair_color: r.hair_color,
};
let post = if let Some(id) = r.post_id {
Some(Post {
id,
title: r.title.unwrap(),
user_id: r.user_id.unwrap(),
body: r.body,
})
} else {
None
};
(user, post)
})
.collect::<Vec<_>>()
})
})
}
pub fn bench_insert(b: &mut Bencher, size: usize) {
let (rt, mut conn) = connection();
b.iter(|| {
rt.block_on(insert_users(size, &mut conn, |_| {
Some(String::from("hair_color"))
}))
})
}
pub fn loading_associations_sequentially(b: &mut Bencher) {
#[cfg(feature = "sqlite")]
const USER_NUMBER: usize = 9;
#[cfg(not(feature = "sqlite"))]
const USER_NUMBER: usize = 100;
use sqlx::Connection;
let (rt, mut conn) = connection();
rt.block_on(insert_users(USER_NUMBER, &mut conn, |i| {
Some(if i % 2 == 0 {
String::from("black")
} else {
String::from("brown")
})
}));
let user_ids = rt.block_on(async {
sqlx::query_as!(User, "SELECT id, name, hair_color FROM users")
.fetch_all(&mut conn)
.await
.unwrap()
});
if cfg!(any(feature = "postgres", feature = "mysql")) {
let data = user_ids
.iter()
.flat_map(|User { id: user_id, .. }| {
(0..10).map(move |i| {
(
format!("Post {} by user {}", i, user_id),
user_id,
None::<String>,
)
})
})
.collect::<Vec<_>>();
let mut insert_query = String::from("INSERT INTO posts(title, user_id, body) VALUES");
for x in 0..data.len() {
if cfg!(feature = "postgres") {
insert_query += &format!(
"{} (${}, ${}, ${})",
if x == 0 { "" } else { "," },
3 * x + 1,
3 * x + 2,
3 * x + 3
);
} else {
insert_query += &format!("{} (?, ?, ?)", if x == 0 { "" } else { "," },);
}
}
let mut insert_query = sqlx::query(&insert_query);
for (title, user_id, body) in data {
insert_query = insert_query.bind(title).bind(user_id).bind(body);
}
rt.block_on(async { insert_query.execute(&mut conn).await.unwrap() });
} else if cfg!(feature = "sqlite") {
rt.block_on(async {
let mut conn = Connection::begin(&mut conn).await.unwrap();
let insert_query = "INSERT INTO posts (title, user_id, body) VALUES (?, ?, ?)";
for user in user_ids {
for i in 0..10 {
let _: usize = i;
let insert_query = sqlx::query(insert_query)
.bind(format!("Post {} by user {}", i, user.id))
.bind(user.id)
.bind(None::<String>);
insert_query.execute(&mut *conn).await.unwrap();
}
}
conn.commit().await.unwrap();
});
}
let all_posts = rt.block_on(async {
sqlx::query_as!(Post, "SELECT id, title, user_id, body FROM posts")
.fetch_all(&mut conn)
.await
.unwrap()
});
if cfg!(any(feature = "postgres", feature = "mysql")) {
let data = all_posts
.iter()
.flat_map(|Post { id: post_id, .. }| {
(0..10).map(move |i| (format!("Comment {} on post {}", i, post_id), post_id))
})
.collect::<Vec<_>>();
let mut insert_query = String::from("INSERT INTO comments(text, post_id) VALUES");
for x in 0..data.len() {
if cfg!(feature = "postgres") {
insert_query += &format!(
"{} (${}, ${})",
if x == 0 { "" } else { "," },
2 * x + 1,
2 * x + 2,
);
} else {
insert_query += &format!("{} (?, ?)", if x == 0 { "" } else { "," },);
}
}
let mut insert_query = sqlx::query(&insert_query);
for (title, post_id) in data {
insert_query = insert_query.bind(title).bind(post_id);
}
rt.block_on(async {
insert_query.execute(&mut conn).await.unwrap();
});
} else if cfg!(feature = "sqlite") {
rt.block_on(async {
let mut conn = Connection::begin(&mut conn).await.unwrap();
let insert_query = "INSERT INTO comments (text, post_id) VALUES (?, ?)";
for post in all_posts {
for i in 0..10 {
let _: usize = i;
let insert_query = sqlx::query(insert_query)
.bind(format!("Comment {} on post {}", i, post.id))
.bind(post.id);
insert_query.execute(&mut *conn).await.unwrap();
}
}
conn.commit().await.unwrap();
});
}
b.iter(|| {
rt.block_on(async {
let users = sqlx::query_as!(User, "SELECT id, name, hair_color FROM users")
.fetch_all(&mut conn)
.await
.unwrap();
let mut posts_query =
String::from("SELECT id, title, user_id, body FROM posts WHERE user_id IN(");
for i in 0..users.len() {
if cfg!(feature = "postgres") {
posts_query += &format!("{}${}", if i == 0 { "" } else { "," }, i + 1);
} else if cfg!(not(feature = "postgres")) {
posts_query += &format!("{}?", if i == 0 { "" } else { "," });
}
}
posts_query += ")";
let mut posts_query = sqlx::query(&posts_query);
for user in &users {
posts_query = posts_query.bind(user.id);
}
let posts = posts_query
.fetch_all(&mut conn)
.await
.unwrap()
.into_iter()
.map(|row| Post::from_row(&row).unwrap())
.collect::<Vec<_>>();
let mut comments_query =
String::from("SELECT id, post_id, text FROM comments WHERE post_id IN(");
for i in 0..posts.len() {
if cfg!(feature = "postgres") {
comments_query += &format!("{}${}", if i == 0 { "" } else { "," }, i + 1);
} else if cfg!(not(feature = "postgres")) {
comments_query += &format!("{}?", if i == 0 { "" } else { "," });
}
}
comments_query += ")";
let mut comments_query = sqlx::query(&comments_query);
for post in &posts {
comments_query = comments_query.bind(post.id);
}
let comments = comments_query
.fetch_all(&mut conn)
.await
.unwrap()
.into_iter()
.map(|row| Comment::from_row(&row).unwrap())
.collect::<Vec<_>>();
let mut posts = posts
.into_iter()
.map(|p| (p.id, (p, Vec::new())))
.collect::<HashMap<_, _>>();
let mut users = users
.into_iter()
.map(|u| (u.id, (u, Vec::new())))
.collect::<HashMap<_, _>>();
for comment in comments {
posts.get_mut(&comment.post_id).unwrap().1.push(comment);
}
for (_, post_with_comments) in posts {
users
.get_mut(&post_with_comments.0.user_id)
.unwrap()
.1
.push(post_with_comments);
}
users
.into_iter()
.map(|(_, users_with_post_and_comment)| users_with_post_and_comment)
.collect::<Vec<(User, Vec<(Post, Vec<Comment>)>)>>()
})
})
}
|
RenderScript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.